1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-11 17:21:51 +00:00
tobspr_shapez.io/docs/ast/source/game/hud/parts/base_toolbar.js.json
2021-02-26 15:20:37 +01:00

44719 lines
1.2 MiB

{
"type": "File",
"start": 0,
"end": 8403,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 230,
"column": 1
}
},
"program": {
"type": "Program",
"start": 0,
"end": 8403,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 230,
"column": 1
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 72,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 72
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 30
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 30
},
"identifierName": "gMetaBuildingRegistry"
},
"name": "gMetaBuildingRegistry"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 30
},
"identifierName": "gMetaBuildingRegistry"
},
"name": "gMetaBuildingRegistry"
}
}
],
"source": {
"type": "StringLiteral",
"start": 38,
"end": 71,
"loc": {
"start": {
"line": 1,
"column": 38
},
"end": {
"line": 1,
"column": 71
}
},
"extra": {
"rawValue": "../../../core/global_registries",
"raw": "\"../../../core/global_registries\""
},
"value": "../../../core/global_registries"
}
},
{
"type": "ImportDeclaration",
"start": 74,
"end": 130,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 56
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 83,
"end": 99,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 25
}
},
"imported": {
"type": "Identifier",
"start": 83,
"end": 99,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 25
},
"identifierName": "STOP_PROPAGATION"
},
"name": "STOP_PROPAGATION"
},
"local": {
"type": "Identifier",
"start": 83,
"end": 99,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 25
},
"identifierName": "STOP_PROPAGATION"
},
"name": "STOP_PROPAGATION"
}
}
],
"source": {
"type": "StringLiteral",
"start": 107,
"end": 129,
"loc": {
"start": {
"line": 2,
"column": 33
},
"end": {
"line": 2,
"column": 55
}
},
"extra": {
"rawValue": "../../../core/signal",
"raw": "\"../../../core/signal\""
},
"value": "../../../core/signal"
}
},
{
"type": "ImportDeclaration",
"start": 132,
"end": 190,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 58
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 141,
"end": 148,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 16
}
},
"imported": {
"type": "Identifier",
"start": 141,
"end": 148,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 16
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
},
"local": {
"type": "Identifier",
"start": 141,
"end": 148,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 16
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
}
},
{
"type": "ImportSpecifier",
"start": 150,
"end": 160,
"loc": {
"start": {
"line": 3,
"column": 18
},
"end": {
"line": 3,
"column": 28
}
},
"imported": {
"type": "Identifier",
"start": 150,
"end": 160,
"loc": {
"start": {
"line": 3,
"column": 18
},
"end": {
"line": 3,
"column": 28
},
"identifierName": "safeModulo"
},
"name": "safeModulo"
},
"local": {
"type": "Identifier",
"start": 150,
"end": 160,
"loc": {
"start": {
"line": 3,
"column": 18
},
"end": {
"line": 3,
"column": 28
},
"identifierName": "safeModulo"
},
"name": "safeModulo"
}
}
],
"source": {
"type": "StringLiteral",
"start": 168,
"end": 189,
"loc": {
"start": {
"line": 3,
"column": 36
},
"end": {
"line": 3,
"column": 57
}
},
"extra": {
"rawValue": "../../../core/utils",
"raw": "\"../../../core/utils\""
},
"value": "../../../core/utils"
}
},
{
"type": "ImportDeclaration",
"start": 192,
"end": 246,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 54
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 201,
"end": 212,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 20
}
},
"imported": {
"type": "Identifier",
"start": 201,
"end": 212,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 20
},
"identifierName": "KEYMAPPINGS"
},
"name": "KEYMAPPINGS"
},
"local": {
"type": "Identifier",
"start": 201,
"end": 212,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 20
},
"identifierName": "KEYMAPPINGS"
},
"name": "KEYMAPPINGS"
}
}
],
"source": {
"type": "StringLiteral",
"start": 220,
"end": 245,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 53
}
},
"extra": {
"rawValue": "../../key_action_mapper",
"raw": "\"../../key_action_mapper\""
},
"value": "../../key_action_mapper"
}
},
{
"type": "ImportDeclaration",
"start": 248,
"end": 299,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 51
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 257,
"end": 269,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 257,
"end": 269,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 21
},
"identifierName": "MetaBuilding"
},
"name": "MetaBuilding"
},
"local": {
"type": "Identifier",
"start": 257,
"end": 269,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 21
},
"identifierName": "MetaBuilding"
},
"name": "MetaBuilding"
}
}
],
"source": {
"type": "StringLiteral",
"start": 277,
"end": 298,
"loc": {
"start": {
"line": 5,
"column": 29
},
"end": {
"line": 5,
"column": 50
}
},
"extra": {
"rawValue": "../../meta_building",
"raw": "\"../../meta_building\""
},
"value": "../../meta_building"
}
},
{
"type": "ImportDeclaration",
"start": 301,
"end": 339,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 38
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 310,
"end": 318,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 310,
"end": 318,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 17
},
"identifierName": "GameRoot"
},
"name": "GameRoot"
},
"local": {
"type": "Identifier",
"start": 310,
"end": 318,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 17
},
"identifierName": "GameRoot"
},
"name": "GameRoot"
}
}
],
"source": {
"type": "StringLiteral",
"start": 326,
"end": 338,
"loc": {
"start": {
"line": 6,
"column": 25
},
"end": {
"line": 6,
"column": 37
}
},
"extra": {
"rawValue": "../../root",
"raw": "\"../../root\""
},
"value": "../../root"
}
},
{
"type": "ImportDeclaration",
"start": 341,
"end": 388,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 47
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 350,
"end": 361,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 20
}
},
"imported": {
"type": "Identifier",
"start": 350,
"end": 361,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 20
},
"identifierName": "BaseHUDPart"
},
"name": "BaseHUDPart"
},
"local": {
"type": "Identifier",
"start": 350,
"end": 361,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 20
},
"identifierName": "BaseHUDPart"
},
"name": "BaseHUDPart"
}
}
],
"source": {
"type": "StringLiteral",
"start": 369,
"end": 387,
"loc": {
"start": {
"line": 7,
"column": 28
},
"end": {
"line": 7,
"column": 46
}
},
"extra": {
"rawValue": "../base_hud_part",
"raw": "\"../base_hud_part\""
},
"value": "../base_hud_part"
}
},
{
"type": "ImportDeclaration",
"start": 390,
"end": 447,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 57
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 399,
"end": 415,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 25
}
},
"imported": {
"type": "Identifier",
"start": 399,
"end": 415,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 25
},
"identifierName": "DynamicDomAttach"
},
"name": "DynamicDomAttach"
},
"local": {
"type": "Identifier",
"start": 399,
"end": 415,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 25
},
"identifierName": "DynamicDomAttach"
},
"name": "DynamicDomAttach"
}
}
],
"source": {
"type": "StringLiteral",
"start": 423,
"end": 446,
"loc": {
"start": {
"line": 8,
"column": 33
},
"end": {
"line": 8,
"column": 56
}
},
"extra": {
"rawValue": "../dynamic_dom_attach",
"raw": "\"../dynamic_dom_attach\""
},
"value": "../dynamic_dom_attach"
}
},
{
"type": "ExportNamedDeclaration",
"start": 451,
"end": 8403,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 230,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 458,
"end": 8403,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 230,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 464,
"end": 478,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 27
},
"identifierName": "HUDBaseToolbar"
},
"name": "HUDBaseToolbar"
},
"superClass": {
"type": "Identifier",
"start": 487,
"end": 498,
"loc": {
"start": {
"line": 10,
"column": 36
},
"end": {
"line": 10,
"column": 47
},
"identifierName": "BaseHUDPart"
},
"name": "BaseHUDPart"
},
"body": {
"type": "ClassBody",
"start": 499,
"end": 8403,
"loc": {
"start": {
"line": 10,
"column": 48
},
"end": {
"line": 230,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 860,
"end": 1522,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 39,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 860,
"end": 871,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor",
"leadingComments": null
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 882,
"end": 886,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 12
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "ObjectPattern",
"start": 888,
"end": 988,
"loc": {
"start": {
"line": 21,
"column": 14
},
"end": {
"line": 21,
"column": 114
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 890,
"end": 906,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 32
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 890,
"end": 906,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 32
},
"identifierName": "primaryBuildings"
},
"name": "primaryBuildings"
},
"value": {
"type": "Identifier",
"start": 890,
"end": 906,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 32
},
"identifierName": "primaryBuildings"
},
"name": "primaryBuildings"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 908,
"end": 931,
"loc": {
"start": {
"line": 21,
"column": 34
},
"end": {
"line": 21,
"column": 57
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 908,
"end": 926,
"loc": {
"start": {
"line": 21,
"column": 34
},
"end": {
"line": 21,
"column": 52
},
"identifierName": "secondaryBuildings"
},
"name": "secondaryBuildings"
},
"value": {
"type": "AssignmentPattern",
"start": 908,
"end": 931,
"loc": {
"start": {
"line": 21,
"column": 34
},
"end": {
"line": 21,
"column": 57
}
},
"left": {
"type": "Identifier",
"start": 908,
"end": 926,
"loc": {
"start": {
"line": 21,
"column": 34
},
"end": {
"line": 21,
"column": 52
},
"identifierName": "secondaryBuildings"
},
"name": "secondaryBuildings"
},
"right": {
"type": "ArrayExpression",
"start": 929,
"end": 931,
"loc": {
"start": {
"line": 21,
"column": 55
},
"end": {
"line": 21,
"column": 57
}
},
"elements": []
}
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 933,
"end": 952,
"loc": {
"start": {
"line": 21,
"column": 59
},
"end": {
"line": 21,
"column": 78
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 933,
"end": 952,
"loc": {
"start": {
"line": 21,
"column": 59
},
"end": {
"line": 21,
"column": 78
},
"identifierName": "visibilityCondition"
},
"name": "visibilityCondition"
},
"value": {
"type": "Identifier",
"start": 933,
"end": 952,
"loc": {
"start": {
"line": 21,
"column": 59
},
"end": {
"line": 21,
"column": 78
},
"identifierName": "visibilityCondition"
},
"name": "visibilityCondition"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 954,
"end": 967,
"loc": {
"start": {
"line": 21,
"column": 80
},
"end": {
"line": 21,
"column": 93
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 954,
"end": 967,
"loc": {
"start": {
"line": 21,
"column": 80
},
"end": {
"line": 21,
"column": 93
},
"identifierName": "htmlElementId"
},
"name": "htmlElementId"
},
"value": {
"type": "Identifier",
"start": 954,
"end": 967,
"loc": {
"start": {
"line": 21,
"column": 80
},
"end": {
"line": 21,
"column": 93
},
"identifierName": "htmlElementId"
},
"name": "htmlElementId"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 969,
"end": 986,
"loc": {
"start": {
"line": 21,
"column": 95
},
"end": {
"line": 21,
"column": 112
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 969,
"end": 974,
"loc": {
"start": {
"line": 21,
"column": 95
},
"end": {
"line": 21,
"column": 100
},
"identifierName": "layer"
},
"name": "layer"
},
"value": {
"type": "AssignmentPattern",
"start": 969,
"end": 986,
"loc": {
"start": {
"line": 21,
"column": 95
},
"end": {
"line": 21,
"column": 112
}
},
"left": {
"type": "Identifier",
"start": 969,
"end": 974,
"loc": {
"start": {
"line": 21,
"column": 95
},
"end": {
"line": 21,
"column": 100
},
"identifierName": "layer"
},
"name": "layer"
},
"right": {
"type": "StringLiteral",
"start": 977,
"end": 986,
"loc": {
"start": {
"line": 21,
"column": 103
},
"end": {
"line": 21,
"column": 112
}
},
"extra": {
"rawValue": "regular",
"raw": "\"regular\""
},
"value": "regular"
}
},
"extra": {
"shorthand": true
}
}
]
}
],
"body": {
"type": "BlockStatement",
"start": 996,
"end": 1522,
"loc": {
"start": {
"line": 22,
"column": 6
},
"end": {
"line": 39,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1007,
"end": 1019,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 20
}
},
"expression": {
"type": "CallExpression",
"start": 1007,
"end": 1018,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 19
}
},
"callee": {
"type": "Super",
"start": 1007,
"end": 1012,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 1013,
"end": 1017,
"loc": {
"start": {
"line": 23,
"column": 14
},
"end": {
"line": 23,
"column": 18
},
"identifierName": "root"
},
"name": "root"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1031,
"end": 1072,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 49
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1031,
"end": 1071,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 48
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1031,
"end": 1052,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 1031,
"end": 1035,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1036,
"end": 1052,
"loc": {
"start": {
"line": 25,
"column": 13
},
"end": {
"line": 25,
"column": 29
},
"identifierName": "primaryBuildings"
},
"name": "primaryBuildings"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1055,
"end": 1071,
"loc": {
"start": {
"line": 25,
"column": 32
},
"end": {
"line": 25,
"column": 48
},
"identifierName": "primaryBuildings"
},
"name": "primaryBuildings"
}
}
},
{
"type": "ExpressionStatement",
"start": 1082,
"end": 1127,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 53
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1082,
"end": 1126,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 52
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1082,
"end": 1105,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1082,
"end": 1086,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1087,
"end": 1105,
"loc": {
"start": {
"line": 26,
"column": 13
},
"end": {
"line": 26,
"column": 31
},
"identifierName": "secondaryBuildings"
},
"name": "secondaryBuildings"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1108,
"end": 1126,
"loc": {
"start": {
"line": 26,
"column": 34
},
"end": {
"line": 26,
"column": 52
},
"identifierName": "secondaryBuildings"
},
"name": "secondaryBuildings"
}
}
},
{
"type": "ExpressionStatement",
"start": 1137,
"end": 1184,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 55
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1137,
"end": 1183,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 54
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1137,
"end": 1161,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 1137,
"end": 1141,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1142,
"end": 1161,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 32
},
"identifierName": "visibilityCondition"
},
"name": "visibilityCondition"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1164,
"end": 1183,
"loc": {
"start": {
"line": 27,
"column": 35
},
"end": {
"line": 27,
"column": 54
},
"identifierName": "visibilityCondition"
},
"name": "visibilityCondition"
}
}
},
{
"type": "ExpressionStatement",
"start": 1194,
"end": 1229,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1194,
"end": 1228,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1194,
"end": 1212,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1194,
"end": 1198,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1199,
"end": 1212,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 26
},
"identifierName": "htmlElementId"
},
"name": "htmlElementId"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1215,
"end": 1228,
"loc": {
"start": {
"line": 28,
"column": 29
},
"end": {
"line": 28,
"column": 42
},
"identifierName": "htmlElementId"
},
"name": "htmlElementId"
}
}
},
{
"type": "ExpressionStatement",
"start": 1239,
"end": 1258,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 27
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1239,
"end": 1257,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 26
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1239,
"end": 1249,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 1239,
"end": 1243,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1244,
"end": 1249,
"loc": {
"start": {
"line": 29,
"column": 13
},
"end": {
"line": 29,
"column": 18
},
"identifierName": "layer"
},
"name": "layer"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1252,
"end": 1257,
"loc": {
"start": {
"line": 29,
"column": 21
},
"end": {
"line": 29,
"column": 26
},
"identifierName": "layer"
},
"name": "layer"
}
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @type {Object.<string, {\r\n * metaBuilding: MetaBuilding,\r\n * unlocked: boolean,\r\n * selected: boolean,\r\n * element: HTMLElement,\r\n * index: number\r\n * }>} ",
"start": 1270,
"end": 1479,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 37,
"column": 17
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1489,
"end": 1515,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 34
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1489,
"end": 1514,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 33
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1489,
"end": 1509,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 1489,
"end": 1493,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1494,
"end": 1509,
"loc": {
"start": {
"line": 38,
"column": 13
},
"end": {
"line": 38,
"column": 28
},
"identifierName": "buildingHandles"
},
"name": "buildingHandles"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "ObjectExpression",
"start": 1512,
"end": 1514,
"loc": {
"start": {
"line": 38,
"column": 31
},
"end": {
"line": 38,
"column": 33
}
},
"properties": []
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {Object.<string, {\r\n * metaBuilding: MetaBuilding,\r\n * unlocked: boolean,\r\n * selected: boolean,\r\n * element: HTMLElement,\r\n * index: number\r\n * }>} ",
"start": 1270,
"end": 1479,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 37,
"column": 17
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n * @param {object} param0\r\n * @param {Array<typeof MetaBuilding>} param0.primaryBuildings\r\n * @param {Array<typeof MetaBuilding>=} param0.secondaryBuildings\r\n * @param {function} param0.visibilityCondition\r\n * @param {string} param0.htmlElementId\r\n * @param {Layer=} param0.layer\r\n ",
"start": 506,
"end": 854,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 19,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Should create all require elements\r\n * @param {HTMLElement} parent\r\n ",
"start": 1530,
"end": 1621,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 44,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1627,
"end": 1752,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 47,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1627,
"end": 1641,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 18
},
"identifierName": "createElements"
},
"name": "createElements",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1642,
"end": 1648,
"loc": {
"start": {
"line": 45,
"column": 19
},
"end": {
"line": 45,
"column": 25
},
"identifierName": "parent"
},
"name": "parent"
}
],
"body": {
"type": "BlockStatement",
"start": 1650,
"end": 1752,
"loc": {
"start": {
"line": 45,
"column": 27
},
"end": {
"line": 47,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1661,
"end": 1745,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 92
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1661,
"end": 1744,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 91
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1661,
"end": 1673,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 1661,
"end": 1665,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1666,
"end": 1673,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 20
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1676,
"end": 1744,
"loc": {
"start": {
"line": 46,
"column": 23
},
"end": {
"line": 46,
"column": 91
}
},
"callee": {
"type": "Identifier",
"start": 1676,
"end": 1683,
"loc": {
"start": {
"line": 46,
"column": 23
},
"end": {
"line": 46,
"column": 30
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
},
"arguments": [
{
"type": "Identifier",
"start": 1684,
"end": 1690,
"loc": {
"start": {
"line": 46,
"column": 31
},
"end": {
"line": 46,
"column": 37
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "MemberExpression",
"start": 1692,
"end": 1710,
"loc": {
"start": {
"line": 46,
"column": 39
},
"end": {
"line": 46,
"column": 57
}
},
"object": {
"type": "ThisExpression",
"start": 1692,
"end": 1696,
"loc": {
"start": {
"line": 46,
"column": 39
},
"end": {
"line": 46,
"column": 43
}
}
},
"property": {
"type": "Identifier",
"start": 1697,
"end": 1710,
"loc": {
"start": {
"line": 46,
"column": 44
},
"end": {
"line": 46,
"column": 57
},
"identifierName": "htmlElementId"
},
"name": "htmlElementId"
},
"computed": false
},
{
"type": "ArrayExpression",
"start": 1712,
"end": 1739,
"loc": {
"start": {
"line": 46,
"column": 59
},
"end": {
"line": 46,
"column": 86
}
},
"elements": [
{
"type": "StringLiteral",
"start": 1713,
"end": 1738,
"loc": {
"start": {
"line": 46,
"column": 60
},
"end": {
"line": 46,
"column": 85
}
},
"extra": {
"rawValue": "ingame_buildingsToolbar",
"raw": "\"ingame_buildingsToolbar\""
},
"value": "ingame_buildingsToolbar"
}
]
},
{
"type": "StringLiteral",
"start": 1741,
"end": 1743,
"loc": {
"start": {
"line": 46,
"column": 88
},
"end": {
"line": 46,
"column": 90
}
},
"extra": {
"rawValue": "",
"raw": "\"\""
},
"value": ""
}
]
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Should create all require elements\r\n * @param {HTMLElement} parent\r\n ",
"start": 1530,
"end": 1621,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 44,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns all buildings\r\n * @returns {Array<typeof MetaBuilding>}\r\n ",
"start": 1760,
"end": 1848,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 52,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1854,
"end": 1953,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 55,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1858,
"end": 1870,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 20
},
"identifierName": "allBuildings"
},
"name": "allBuildings"
},
"kind": "get",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1873,
"end": 1953,
"loc": {
"start": {
"line": 53,
"column": 23
},
"end": {
"line": 55,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1884,
"end": 1946,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 70
}
},
"argument": {
"type": "ArrayExpression",
"start": 1891,
"end": 1945,
"loc": {
"start": {
"line": 54,
"column": 15
},
"end": {
"line": 54,
"column": 69
}
},
"elements": [
{
"type": "SpreadElement",
"start": 1892,
"end": 1916,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 40
}
},
"argument": {
"type": "MemberExpression",
"start": 1895,
"end": 1916,
"loc": {
"start": {
"line": 54,
"column": 19
},
"end": {
"line": 54,
"column": 40
}
},
"object": {
"type": "ThisExpression",
"start": 1895,
"end": 1899,
"loc": {
"start": {
"line": 54,
"column": 19
},
"end": {
"line": 54,
"column": 23
}
}
},
"property": {
"type": "Identifier",
"start": 1900,
"end": 1916,
"loc": {
"start": {
"line": 54,
"column": 24
},
"end": {
"line": 54,
"column": 40
},
"identifierName": "primaryBuildings"
},
"name": "primaryBuildings"
},
"computed": false
}
},
{
"type": "SpreadElement",
"start": 1918,
"end": 1944,
"loc": {
"start": {
"line": 54,
"column": 42
},
"end": {
"line": 54,
"column": 68
}
},
"argument": {
"type": "MemberExpression",
"start": 1921,
"end": 1944,
"loc": {
"start": {
"line": 54,
"column": 45
},
"end": {
"line": 54,
"column": 68
}
},
"object": {
"type": "ThisExpression",
"start": 1921,
"end": 1925,
"loc": {
"start": {
"line": 54,
"column": 45
},
"end": {
"line": 54,
"column": 49
}
}
},
"property": {
"type": "Identifier",
"start": 1926,
"end": 1944,
"loc": {
"start": {
"line": 54,
"column": 50
},
"end": {
"line": 54,
"column": 68
},
"identifierName": "secondaryBuildings"
},
"name": "secondaryBuildings"
},
"computed": false
}
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns all buildings\r\n * @returns {Array<typeof MetaBuilding>}\r\n ",
"start": 1760,
"end": 1848,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 52,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1961,
"end": 4237,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 115,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1961,
"end": 1971,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 57,
"column": 14
},
"identifierName": "initialize"
},
"name": "initialize"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1974,
"end": 4237,
"loc": {
"start": {
"line": 57,
"column": 17
},
"end": {
"line": 115,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1985,
"end": 2026,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 49
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1991,
"end": 2025,
"loc": {
"start": {
"line": 58,
"column": 14
},
"end": {
"line": 58,
"column": 48
}
},
"id": {
"type": "Identifier",
"start": 1991,
"end": 2003,
"loc": {
"start": {
"line": 58,
"column": 14
},
"end": {
"line": 58,
"column": 26
},
"identifierName": "actionMapper"
},
"name": "actionMapper"
},
"init": {
"type": "MemberExpression",
"start": 2006,
"end": 2025,
"loc": {
"start": {
"line": 58,
"column": 29
},
"end": {
"line": 58,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 2006,
"end": 2015,
"loc": {
"start": {
"line": 58,
"column": 29
},
"end": {
"line": 58,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 2006,
"end": 2010,
"loc": {
"start": {
"line": 58,
"column": 29
},
"end": {
"line": 58,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 2011,
"end": 2015,
"loc": {
"start": {
"line": 58,
"column": 34
},
"end": {
"line": 58,
"column": 38
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2016,
"end": 2025,
"loc": {
"start": {
"line": 58,
"column": 39
},
"end": {
"line": 58,
"column": 48
},
"identifierName": "keyMapper"
},
"name": "keyMapper"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2036,
"end": 2053,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 25
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2040,
"end": 2052,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 24
}
},
"id": {
"type": "Identifier",
"start": 2040,
"end": 2052,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 24
},
"identifierName": "rowSecondary"
},
"name": "rowSecondary"
},
"init": null
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 2063,
"end": 2347,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 66,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 2067,
"end": 2101,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 60,
"column": 46
}
},
"left": {
"type": "MemberExpression",
"start": 2067,
"end": 2097,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 60,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 2067,
"end": 2090,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 60,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 2067,
"end": 2071,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 60,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2072,
"end": 2090,
"loc": {
"start": {
"line": 60,
"column": 17
},
"end": {
"line": 60,
"column": 35
},
"identifierName": "secondaryBuildings"
},
"name": "secondaryBuildings"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2091,
"end": 2097,
"loc": {
"start": {
"line": 60,
"column": 36
},
"end": {
"line": 60,
"column": 42
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 2100,
"end": 2101,
"loc": {
"start": {
"line": 60,
"column": 45
},
"end": {
"line": 60,
"column": 46
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
"consequent": {
"type": "BlockStatement",
"start": 2103,
"end": 2347,
"loc": {
"start": {
"line": 60,
"column": 48
},
"end": {
"line": 66,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2118,
"end": 2189,
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"column": 83
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2118,
"end": 2188,
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"column": 82
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2118,
"end": 2130,
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"column": 24
},
"identifierName": "rowSecondary"
},
"name": "rowSecondary"
},
"right": {
"type": "CallExpression",
"start": 2133,
"end": 2188,
"loc": {
"start": {
"line": 61,
"column": 27
},
"end": {
"line": 61,
"column": 82
}
},
"callee": {
"type": "Identifier",
"start": 2133,
"end": 2140,
"loc": {
"start": {
"line": 61,
"column": 27
},
"end": {
"line": 61,
"column": 34
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
},
"arguments": [
{
"type": "MemberExpression",
"start": 2141,
"end": 2153,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 2141,
"end": 2145,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 39
}
}
},
"property": {
"type": "Identifier",
"start": 2146,
"end": 2153,
"loc": {
"start": {
"line": 61,
"column": 40
},
"end": {
"line": 61,
"column": 47
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
{
"type": "NullLiteral",
"start": 2155,
"end": 2159,
"loc": {
"start": {
"line": 61,
"column": 49
},
"end": {
"line": 61,
"column": 53
}
}
},
{
"type": "ArrayExpression",
"start": 2161,
"end": 2187,
"loc": {
"start": {
"line": 61,
"column": 55
},
"end": {
"line": 61,
"column": 81
}
},
"elements": [
{
"type": "StringLiteral",
"start": 2162,
"end": 2173,
"loc": {
"start": {
"line": 61,
"column": 56
},
"end": {
"line": 61,
"column": 67
}
},
"extra": {
"rawValue": "buildings",
"raw": "\"buildings\""
},
"value": "buildings"
},
{
"type": "StringLiteral",
"start": 2175,
"end": 2186,
"loc": {
"start": {
"line": 61,
"column": 69
},
"end": {
"line": 61,
"column": 80
}
},
"extra": {
"rawValue": "secondary",
"raw": "\"secondary\""
},
"value": "secondary"
}
]
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 2205,
"end": 2336,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 65,
"column": 15
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2205,
"end": 2335,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 65,
"column": 14
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2205,
"end": 2228,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 2205,
"end": 2209,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2210,
"end": 2228,
"loc": {
"start": {
"line": 63,
"column": 17
},
"end": {
"line": 63,
"column": 35
},
"identifierName": "secondaryDomAttach"
},
"name": "secondaryDomAttach"
},
"computed": false
},
"right": {
"type": "NewExpression",
"start": 2231,
"end": 2335,
"loc": {
"start": {
"line": 63,
"column": 38
},
"end": {
"line": 65,
"column": 14
}
},
"callee": {
"type": "Identifier",
"start": 2235,
"end": 2251,
"loc": {
"start": {
"line": 63,
"column": 42
},
"end": {
"line": 63,
"column": 58
},
"identifierName": "DynamicDomAttach"
},
"name": "DynamicDomAttach"
},
"arguments": [
{
"type": "MemberExpression",
"start": 2252,
"end": 2261,
"loc": {
"start": {
"line": 63,
"column": 59
},
"end": {
"line": 63,
"column": 68
}
},
"object": {
"type": "ThisExpression",
"start": 2252,
"end": 2256,
"loc": {
"start": {
"line": 63,
"column": 59
},
"end": {
"line": 63,
"column": 63
}
}
},
"property": {
"type": "Identifier",
"start": 2257,
"end": 2261,
"loc": {
"start": {
"line": 63,
"column": 64
},
"end": {
"line": 63,
"column": 68
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
{
"type": "Identifier",
"start": 2263,
"end": 2275,
"loc": {
"start": {
"line": 63,
"column": 70
},
"end": {
"line": 63,
"column": 82
},
"identifierName": "rowSecondary"
},
"name": "rowSecondary"
},
{
"type": "ObjectExpression",
"start": 2277,
"end": 2334,
"loc": {
"start": {
"line": 63,
"column": 84
},
"end": {
"line": 65,
"column": 13
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2296,
"end": 2318,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 38
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2296,
"end": 2307,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 27
},
"identifierName": "attachClass"
},
"name": "attachClass"
},
"value": {
"type": "StringLiteral",
"start": 2309,
"end": 2318,
"loc": {
"start": {
"line": 64,
"column": 29
},
"end": {
"line": 64,
"column": 38
}
},
"extra": {
"rawValue": "visible",
"raw": "\"visible\""
},
"value": "visible"
}
}
]
}
]
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 2359,
"end": 2432,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 81
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2365,
"end": 2431,
"loc": {
"start": {
"line": 68,
"column": 14
},
"end": {
"line": 68,
"column": 80
}
},
"id": {
"type": "Identifier",
"start": 2365,
"end": 2375,
"loc": {
"start": {
"line": 68,
"column": 14
},
"end": {
"line": 68,
"column": 24
},
"identifierName": "rowPrimary"
},
"name": "rowPrimary"
},
"init": {
"type": "CallExpression",
"start": 2378,
"end": 2431,
"loc": {
"start": {
"line": 68,
"column": 27
},
"end": {
"line": 68,
"column": 80
}
},
"callee": {
"type": "Identifier",
"start": 2378,
"end": 2385,
"loc": {
"start": {
"line": 68,
"column": 27
},
"end": {
"line": 68,
"column": 34
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
},
"arguments": [
{
"type": "MemberExpression",
"start": 2386,
"end": 2398,
"loc": {
"start": {
"line": 68,
"column": 35
},
"end": {
"line": 68,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 2386,
"end": 2390,
"loc": {
"start": {
"line": 68,
"column": 35
},
"end": {
"line": 68,
"column": 39
}
}
},
"property": {
"type": "Identifier",
"start": 2391,
"end": 2398,
"loc": {
"start": {
"line": 68,
"column": 40
},
"end": {
"line": 68,
"column": 47
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
{
"type": "NullLiteral",
"start": 2400,
"end": 2404,
"loc": {
"start": {
"line": 68,
"column": 49
},
"end": {
"line": 68,
"column": 53
}
}
},
{
"type": "ArrayExpression",
"start": 2406,
"end": 2430,
"loc": {
"start": {
"line": 68,
"column": 55
},
"end": {
"line": 68,
"column": 79
}
},
"elements": [
{
"type": "StringLiteral",
"start": 2407,
"end": 2418,
"loc": {
"start": {
"line": 68,
"column": 56
},
"end": {
"line": 68,
"column": 67
}
},
"extra": {
"rawValue": "buildings",
"raw": "\"buildings\""
},
"value": "buildings"
},
{
"type": "StringLiteral",
"start": 2420,
"end": 2429,
"loc": {
"start": {
"line": 68,
"column": 69
},
"end": {
"line": 68,
"column": 78
}
},
"extra": {
"rawValue": "primary",
"raw": "\"primary\""
},
"value": "primary"
}
]
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2444,
"end": 2483,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 47
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2450,
"end": 2482,
"loc": {
"start": {
"line": 70,
"column": 14
},
"end": {
"line": 70,
"column": 46
}
},
"id": {
"type": "Identifier",
"start": 2450,
"end": 2462,
"loc": {
"start": {
"line": 70,
"column": 14
},
"end": {
"line": 70,
"column": 26
},
"identifierName": "allBuildings"
},
"name": "allBuildings"
},
"init": {
"type": "MemberExpression",
"start": 2465,
"end": 2482,
"loc": {
"start": {
"line": 70,
"column": 29
},
"end": {
"line": 70,
"column": 46
}
},
"object": {
"type": "ThisExpression",
"start": 2465,
"end": 2469,
"loc": {
"start": {
"line": 70,
"column": 29
},
"end": {
"line": 70,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 2470,
"end": 2482,
"loc": {
"start": {
"line": 70,
"column": 34
},
"end": {
"line": 70,
"column": 46
},
"identifierName": "allBuildings"
},
"name": "allBuildings"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ForStatement",
"start": 2495,
"end": 3771,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 102,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 2500,
"end": 2509,
"loc": {
"start": {
"line": 72,
"column": 13
},
"end": {
"line": 72,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2504,
"end": 2509,
"loc": {
"start": {
"line": 72,
"column": 17
},
"end": {
"line": 72,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 2504,
"end": 2505,
"loc": {
"start": {
"line": 72,
"column": 17
},
"end": {
"line": 72,
"column": 18
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 2508,
"end": 2509,
"loc": {
"start": {
"line": 72,
"column": 21
},
"end": {
"line": 72,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 2511,
"end": 2534,
"loc": {
"start": {
"line": 72,
"column": 24
},
"end": {
"line": 72,
"column": 47
}
},
"left": {
"type": "Identifier",
"start": 2511,
"end": 2512,
"loc": {
"start": {
"line": 72,
"column": 24
},
"end": {
"line": 72,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 2515,
"end": 2534,
"loc": {
"start": {
"line": 72,
"column": 28
},
"end": {
"line": 72,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 2515,
"end": 2527,
"loc": {
"start": {
"line": 72,
"column": 28
},
"end": {
"line": 72,
"column": 40
},
"identifierName": "allBuildings"
},
"name": "allBuildings"
},
"property": {
"type": "Identifier",
"start": 2528,
"end": 2534,
"loc": {
"start": {
"line": 72,
"column": 41
},
"end": {
"line": 72,
"column": 47
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 2536,
"end": 2539,
"loc": {
"start": {
"line": 72,
"column": 49
},
"end": {
"line": 72,
"column": 52
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2538,
"end": 2539,
"loc": {
"start": {
"line": 72,
"column": 51
},
"end": {
"line": 72,
"column": 52
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 2541,
"end": 3771,
"loc": {
"start": {
"line": 72,
"column": 54
},
"end": {
"line": 102,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2556,
"end": 2628,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 84
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2562,
"end": 2627,
"loc": {
"start": {
"line": 73,
"column": 18
},
"end": {
"line": 73,
"column": 83
}
},
"id": {
"type": "Identifier",
"start": 2562,
"end": 2574,
"loc": {
"start": {
"line": 73,
"column": 18
},
"end": {
"line": 73,
"column": 30
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"init": {
"type": "CallExpression",
"start": 2577,
"end": 2627,
"loc": {
"start": {
"line": 73,
"column": 33
},
"end": {
"line": 73,
"column": 83
}
},
"callee": {
"type": "MemberExpression",
"start": 2577,
"end": 2610,
"loc": {
"start": {
"line": 73,
"column": 33
},
"end": {
"line": 73,
"column": 66
}
},
"object": {
"type": "Identifier",
"start": 2577,
"end": 2598,
"loc": {
"start": {
"line": 73,
"column": 33
},
"end": {
"line": 73,
"column": 54
},
"identifierName": "gMetaBuildingRegistry"
},
"name": "gMetaBuildingRegistry"
},
"property": {
"type": "Identifier",
"start": 2599,
"end": 2610,
"loc": {
"start": {
"line": 73,
"column": 55
},
"end": {
"line": 73,
"column": 66
},
"identifierName": "findByClass"
},
"name": "findByClass"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2611,
"end": 2626,
"loc": {
"start": {
"line": 73,
"column": 67
},
"end": {
"line": 73,
"column": 82
}
},
"object": {
"type": "Identifier",
"start": 2611,
"end": 2623,
"loc": {
"start": {
"line": 73,
"column": 67
},
"end": {
"line": 73,
"column": 79
},
"identifierName": "allBuildings"
},
"name": "allBuildings"
},
"property": {
"type": "Identifier",
"start": 2624,
"end": 2625,
"loc": {
"start": {
"line": 73,
"column": 80
},
"end": {
"line": 73,
"column": 81
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2644,
"end": 2724,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 92
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2648,
"end": 2723,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 91
}
},
"id": {
"type": "Identifier",
"start": 2648,
"end": 2658,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 26
},
"identifierName": "rawBinding"
},
"name": "rawBinding"
},
"init": {
"type": "MemberExpression",
"start": 2661,
"end": 2723,
"loc": {
"start": {
"line": 75,
"column": 29
},
"end": {
"line": 75,
"column": 91
}
},
"object": {
"type": "MemberExpression",
"start": 2661,
"end": 2682,
"loc": {
"start": {
"line": 75,
"column": 29
},
"end": {
"line": 75,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 2661,
"end": 2672,
"loc": {
"start": {
"line": 75,
"column": 29
},
"end": {
"line": 75,
"column": 40
},
"identifierName": "KEYMAPPINGS"
},
"name": "KEYMAPPINGS"
},
"property": {
"type": "Identifier",
"start": 2673,
"end": 2682,
"loc": {
"start": {
"line": 75,
"column": 41
},
"end": {
"line": 75,
"column": 50
},
"identifierName": "buildings"
},
"name": "buildings"
},
"computed": false
},
"property": {
"type": "BinaryExpression",
"start": 2683,
"end": 2722,
"loc": {
"start": {
"line": 75,
"column": 51
},
"end": {
"line": 75,
"column": 90
}
},
"left": {
"type": "BinaryExpression",
"start": 2683,
"end": 2709,
"loc": {
"start": {
"line": 75,
"column": 51
},
"end": {
"line": 75,
"column": 77
}
},
"left": {
"type": "CallExpression",
"start": 2683,
"end": 2703,
"loc": {
"start": {
"line": 75,
"column": 51
},
"end": {
"line": 75,
"column": 71
}
},
"callee": {
"type": "MemberExpression",
"start": 2683,
"end": 2701,
"loc": {
"start": {
"line": 75,
"column": 51
},
"end": {
"line": 75,
"column": 69
}
},
"object": {
"type": "Identifier",
"start": 2683,
"end": 2695,
"loc": {
"start": {
"line": 75,
"column": 51
},
"end": {
"line": 75,
"column": 63
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"property": {
"type": "Identifier",
"start": 2696,
"end": 2701,
"loc": {
"start": {
"line": 75,
"column": 64
},
"end": {
"line": 75,
"column": 69
},
"identifierName": "getId"
},
"name": "getId"
},
"computed": false
},
"arguments": []
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 2706,
"end": 2709,
"loc": {
"start": {
"line": 75,
"column": 74
},
"end": {
"line": 75,
"column": 77
}
},
"extra": {
"rawValue": "_",
"raw": "\"_\""
},
"value": "_"
}
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 2712,
"end": 2722,
"loc": {
"start": {
"line": 75,
"column": 80
},
"end": {
"line": 75,
"column": 90
}
},
"object": {
"type": "ThisExpression",
"start": 2712,
"end": 2716,
"loc": {
"start": {
"line": 75,
"column": 80
},
"end": {
"line": 75,
"column": 84
}
}
},
"property": {
"type": "Identifier",
"start": 2717,
"end": 2722,
"loc": {
"start": {
"line": 75,
"column": 85
},
"end": {
"line": 75,
"column": 90
},
"identifierName": "layer"
},
"name": "layer"
},
"computed": false
}
},
"computed": true
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 2738,
"end": 2846,
"loc": {
"start": {
"line": 76,
"column": 12
},
"end": {
"line": 78,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 2742,
"end": 2753,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 27
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2743,
"end": 2753,
"loc": {
"start": {
"line": 76,
"column": 17
},
"end": {
"line": 76,
"column": 27
},
"identifierName": "rawBinding"
},
"name": "rawBinding"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2755,
"end": 2846,
"loc": {
"start": {
"line": 76,
"column": 29
},
"end": {
"line": 78,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2774,
"end": 2831,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 73
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2774,
"end": 2830,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 72
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2774,
"end": 2784,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 26
},
"identifierName": "rawBinding"
},
"name": "rawBinding"
},
"right": {
"type": "MemberExpression",
"start": 2787,
"end": 2830,
"loc": {
"start": {
"line": 77,
"column": 29
},
"end": {
"line": 77,
"column": 72
}
},
"object": {
"type": "MemberExpression",
"start": 2787,
"end": 2808,
"loc": {
"start": {
"line": 77,
"column": 29
},
"end": {
"line": 77,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 2787,
"end": 2798,
"loc": {
"start": {
"line": 77,
"column": 29
},
"end": {
"line": 77,
"column": 40
},
"identifierName": "KEYMAPPINGS"
},
"name": "KEYMAPPINGS"
},
"property": {
"type": "Identifier",
"start": 2799,
"end": 2808,
"loc": {
"start": {
"line": 77,
"column": 41
},
"end": {
"line": 77,
"column": 50
},
"identifierName": "buildings"
},
"name": "buildings"
},
"computed": false
},
"property": {
"type": "CallExpression",
"start": 2809,
"end": 2829,
"loc": {
"start": {
"line": 77,
"column": 51
},
"end": {
"line": 77,
"column": 71
}
},
"callee": {
"type": "MemberExpression",
"start": 2809,
"end": 2827,
"loc": {
"start": {
"line": 77,
"column": 51
},
"end": {
"line": 77,
"column": 69
}
},
"object": {
"type": "Identifier",
"start": 2809,
"end": 2821,
"loc": {
"start": {
"line": 77,
"column": 51
},
"end": {
"line": 77,
"column": 63
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"property": {
"type": "Identifier",
"start": 2822,
"end": 2827,
"loc": {
"start": {
"line": 77,
"column": 64
},
"end": {
"line": 77,
"column": 69
},
"identifierName": "getId"
},
"name": "getId"
},
"computed": false
},
"arguments": []
},
"computed": true
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 2862,
"end": 2914,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"column": 64
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2868,
"end": 2913,
"loc": {
"start": {
"line": 80,
"column": 18
},
"end": {
"line": 80,
"column": 63
}
},
"id": {
"type": "Identifier",
"start": 2868,
"end": 2875,
"loc": {
"start": {
"line": 80,
"column": 18
},
"end": {
"line": 80,
"column": 25
},
"identifierName": "binding"
},
"name": "binding"
},
"init": {
"type": "CallExpression",
"start": 2878,
"end": 2913,
"loc": {
"start": {
"line": 80,
"column": 28
},
"end": {
"line": 80,
"column": 63
}
},
"callee": {
"type": "MemberExpression",
"start": 2878,
"end": 2901,
"loc": {
"start": {
"line": 80,
"column": 28
},
"end": {
"line": 80,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 2878,
"end": 2890,
"loc": {
"start": {
"line": 80,
"column": 28
},
"end": {
"line": 80,
"column": 40
},
"identifierName": "actionMapper"
},
"name": "actionMapper"
},
"property": {
"type": "Identifier",
"start": 2891,
"end": 2901,
"loc": {
"start": {
"line": 80,
"column": 41
},
"end": {
"line": 80,
"column": 51
},
"identifierName": "getBinding"
},
"name": "getBinding"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2902,
"end": 2912,
"loc": {
"start": {
"line": 80,
"column": 52
},
"end": {
"line": 80,
"column": 62
},
"identifierName": "rawBinding"
},
"name": "rawBinding"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2930,
"end": 3106,
"loc": {
"start": {
"line": 82,
"column": 12
},
"end": {
"line": 85,
"column": 14
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2936,
"end": 3105,
"loc": {
"start": {
"line": 82,
"column": 18
},
"end": {
"line": 85,
"column": 13
}
},
"id": {
"type": "Identifier",
"start": 2936,
"end": 2949,
"loc": {
"start": {
"line": 82,
"column": 18
},
"end": {
"line": 82,
"column": 31
},
"identifierName": "itemContainer"
},
"name": "itemContainer"
},
"init": {
"type": "CallExpression",
"start": 2952,
"end": 3105,
"loc": {
"start": {
"line": 82,
"column": 34
},
"end": {
"line": 85,
"column": 13
}
},
"callee": {
"type": "Identifier",
"start": 2952,
"end": 2959,
"loc": {
"start": {
"line": 82,
"column": 34
},
"end": {
"line": 82,
"column": 41
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
},
"arguments": [
{
"type": "ConditionalExpression",
"start": 2978,
"end": 3053,
"loc": {
"start": {
"line": 83,
"column": 16
},
"end": {
"line": 83,
"column": 91
}
},
"test": {
"type": "CallExpression",
"start": 2978,
"end": 3025,
"loc": {
"start": {
"line": 83,
"column": 16
},
"end": {
"line": 83,
"column": 63
}
},
"callee": {
"type": "MemberExpression",
"start": 2978,
"end": 3008,
"loc": {
"start": {
"line": 83,
"column": 16
},
"end": {
"line": 83,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 2978,
"end": 2999,
"loc": {
"start": {
"line": 83,
"column": 16
},
"end": {
"line": 83,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 2978,
"end": 2982,
"loc": {
"start": {
"line": 83,
"column": 16
},
"end": {
"line": 83,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 2983,
"end": 2999,
"loc": {
"start": {
"line": 83,
"column": 21
},
"end": {
"line": 83,
"column": 37
},
"identifierName": "primaryBuildings"
},
"name": "primaryBuildings"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3000,
"end": 3008,
"loc": {
"start": {
"line": 83,
"column": 38
},
"end": {
"line": 83,
"column": 46
},
"identifierName": "includes"
},
"name": "includes"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3009,
"end": 3024,
"loc": {
"start": {
"line": 83,
"column": 47
},
"end": {
"line": 83,
"column": 62
}
},
"object": {
"type": "Identifier",
"start": 3009,
"end": 3021,
"loc": {
"start": {
"line": 83,
"column": 47
},
"end": {
"line": 83,
"column": 59
},
"identifierName": "allBuildings"
},
"name": "allBuildings"
},
"property": {
"type": "Identifier",
"start": 3022,
"end": 3023,
"loc": {
"start": {
"line": 83,
"column": 60
},
"end": {
"line": 83,
"column": 61
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
]
},
"consequent": {
"type": "Identifier",
"start": 3028,
"end": 3038,
"loc": {
"start": {
"line": 83,
"column": 66
},
"end": {
"line": 83,
"column": 76
},
"identifierName": "rowPrimary"
},
"name": "rowPrimary"
},
"alternate": {
"type": "Identifier",
"start": 3041,
"end": 3053,
"loc": {
"start": {
"line": 83,
"column": 79
},
"end": {
"line": 83,
"column": 91
},
"identifierName": "rowSecondary"
},
"name": "rowSecondary"
}
},
{
"type": "NullLiteral",
"start": 3072,
"end": 3076,
"loc": {
"start": {
"line": 84,
"column": 16
},
"end": {
"line": 84,
"column": 20
}
}
},
{
"type": "ArrayExpression",
"start": 3078,
"end": 3090,
"loc": {
"start": {
"line": 84,
"column": 22
},
"end": {
"line": 84,
"column": 34
}
},
"elements": [
{
"type": "StringLiteral",
"start": 3079,
"end": 3089,
"loc": {
"start": {
"line": 84,
"column": 23
},
"end": {
"line": 84,
"column": 33
}
},
"extra": {
"rawValue": "building",
"raw": "\"building\""
},
"value": "building"
}
]
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 3120,
"end": 3211,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 103
}
},
"expression": {
"type": "CallExpression",
"start": 3120,
"end": 3210,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 102
}
},
"callee": {
"type": "MemberExpression",
"start": 3120,
"end": 3146,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 3120,
"end": 3133,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 25
},
"identifierName": "itemContainer"
},
"name": "itemContainer"
},
"property": {
"type": "Identifier",
"start": 3134,
"end": 3146,
"loc": {
"start": {
"line": 86,
"column": 26
},
"end": {
"line": 86,
"column": 38
},
"identifierName": "setAttribute"
},
"name": "setAttribute"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 3147,
"end": 3158,
"loc": {
"start": {
"line": 86,
"column": 39
},
"end": {
"line": 86,
"column": 50
}
},
"extra": {
"rawValue": "data-icon",
"raw": "\"data-icon\""
},
"value": "data-icon"
},
{
"type": "BinaryExpression",
"start": 3160,
"end": 3209,
"loc": {
"start": {
"line": 86,
"column": 52
},
"end": {
"line": 86,
"column": 101
}
},
"left": {
"type": "BinaryExpression",
"start": 3160,
"end": 3200,
"loc": {
"start": {
"line": 86,
"column": 52
},
"end": {
"line": 86,
"column": 92
}
},
"left": {
"type": "StringLiteral",
"start": 3160,
"end": 3177,
"loc": {
"start": {
"line": 86,
"column": 52
},
"end": {
"line": 86,
"column": 69
}
},
"extra": {
"rawValue": "building_icons/",
"raw": "\"building_icons/\""
},
"value": "building_icons/"
},
"operator": "+",
"right": {
"type": "CallExpression",
"start": 3180,
"end": 3200,
"loc": {
"start": {
"line": 86,
"column": 72
},
"end": {
"line": 86,
"column": 92
}
},
"callee": {
"type": "MemberExpression",
"start": 3180,
"end": 3198,
"loc": {
"start": {
"line": 86,
"column": 72
},
"end": {
"line": 86,
"column": 90
}
},
"object": {
"type": "Identifier",
"start": 3180,
"end": 3192,
"loc": {
"start": {
"line": 86,
"column": 72
},
"end": {
"line": 86,
"column": 84
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"property": {
"type": "Identifier",
"start": 3193,
"end": 3198,
"loc": {
"start": {
"line": 86,
"column": 85
},
"end": {
"line": 86,
"column": 90
},
"identifierName": "getId"
},
"name": "getId"
},
"computed": false
},
"arguments": []
}
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 3203,
"end": 3209,
"loc": {
"start": {
"line": 86,
"column": 95
},
"end": {
"line": 86,
"column": 101
}
},
"extra": {
"rawValue": ".png",
"raw": "\".png\""
},
"value": ".png"
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 3225,
"end": 3285,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 72
}
},
"expression": {
"type": "CallExpression",
"start": 3225,
"end": 3284,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 71
}
},
"callee": {
"type": "MemberExpression",
"start": 3225,
"end": 3251,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 3225,
"end": 3238,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 25
},
"identifierName": "itemContainer"
},
"name": "itemContainer"
},
"property": {
"type": "Identifier",
"start": 3239,
"end": 3251,
"loc": {
"start": {
"line": 87,
"column": 26
},
"end": {
"line": 87,
"column": 38
},
"identifierName": "setAttribute"
},
"name": "setAttribute"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 3252,
"end": 3261,
"loc": {
"start": {
"line": 87,
"column": 39
},
"end": {
"line": 87,
"column": 48
}
},
"extra": {
"rawValue": "data-id",
"raw": "\"data-id\""
},
"value": "data-id"
},
{
"type": "CallExpression",
"start": 3263,
"end": 3283,
"loc": {
"start": {
"line": 87,
"column": 50
},
"end": {
"line": 87,
"column": 70
}
},
"callee": {
"type": "MemberExpression",
"start": 3263,
"end": 3281,
"loc": {
"start": {
"line": 87,
"column": 50
},
"end": {
"line": 87,
"column": 68
}
},
"object": {
"type": "Identifier",
"start": 3263,
"end": 3275,
"loc": {
"start": {
"line": 87,
"column": 50
},
"end": {
"line": 87,
"column": 62
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"property": {
"type": "Identifier",
"start": 3276,
"end": 3281,
"loc": {
"start": {
"line": 87,
"column": 63
},
"end": {
"line": 87,
"column": 68
},
"identifierName": "getId"
},
"name": "getId"
},
"computed": false
},
"arguments": []
}
]
}
},
{
"type": "ExpressionStatement",
"start": 3301,
"end": 3366,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 77
}
},
"expression": {
"type": "CallExpression",
"start": 3301,
"end": 3365,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 76
}
},
"callee": {
"type": "MemberExpression",
"start": 3301,
"end": 3312,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 3301,
"end": 3308,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 19
},
"identifierName": "binding"
},
"name": "binding"
},
"property": {
"type": "Identifier",
"start": 3309,
"end": 3312,
"loc": {
"start": {
"line": 89,
"column": 20
},
"end": {
"line": 89,
"column": 23
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 3313,
"end": 3364,
"loc": {
"start": {
"line": 89,
"column": 24
},
"end": {
"line": 89,
"column": 75
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "CallExpression",
"start": 3319,
"end": 3364,
"loc": {
"start": {
"line": 89,
"column": 30
},
"end": {
"line": 89,
"column": 75
}
},
"callee": {
"type": "MemberExpression",
"start": 3319,
"end": 3350,
"loc": {
"start": {
"line": 89,
"column": 30
},
"end": {
"line": 89,
"column": 61
}
},
"object": {
"type": "ThisExpression",
"start": 3319,
"end": 3323,
"loc": {
"start": {
"line": 89,
"column": 30
},
"end": {
"line": 89,
"column": 34
}
}
},
"property": {
"type": "Identifier",
"start": 3324,
"end": 3350,
"loc": {
"start": {
"line": 89,
"column": 35
},
"end": {
"line": 89,
"column": 61
},
"identifierName": "selectBuildingForPlacement"
},
"name": "selectBuildingForPlacement"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3351,
"end": 3363,
"loc": {
"start": {
"line": 89,
"column": 62
},
"end": {
"line": 89,
"column": 74
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
}
]
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 3382,
"end": 3520,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 93,
"column": 15
}
},
"expression": {
"type": "CallExpression",
"start": 3382,
"end": 3519,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 93,
"column": 14
}
},
"callee": {
"type": "MemberExpression",
"start": 3382,
"end": 3398,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 3382,
"end": 3386,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 3387,
"end": 3398,
"loc": {
"start": {
"line": 91,
"column": 17
},
"end": {
"line": 91,
"column": 28
},
"identifierName": "trackClicks"
},
"name": "trackClicks"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3399,
"end": 3412,
"loc": {
"start": {
"line": 91,
"column": 29
},
"end": {
"line": 91,
"column": 42
},
"identifierName": "itemContainer"
},
"name": "itemContainer"
},
{
"type": "ArrowFunctionExpression",
"start": 3414,
"end": 3465,
"loc": {
"start": {
"line": 91,
"column": 44
},
"end": {
"line": 91,
"column": 95
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "CallExpression",
"start": 3420,
"end": 3465,
"loc": {
"start": {
"line": 91,
"column": 50
},
"end": {
"line": 91,
"column": 95
}
},
"callee": {
"type": "MemberExpression",
"start": 3420,
"end": 3451,
"loc": {
"start": {
"line": 91,
"column": 50
},
"end": {
"line": 91,
"column": 81
}
},
"object": {
"type": "ThisExpression",
"start": 3420,
"end": 3424,
"loc": {
"start": {
"line": 91,
"column": 50
},
"end": {
"line": 91,
"column": 54
}
}
},
"property": {
"type": "Identifier",
"start": 3425,
"end": 3451,
"loc": {
"start": {
"line": 91,
"column": 55
},
"end": {
"line": 91,
"column": 81
},
"identifierName": "selectBuildingForPlacement"
},
"name": "selectBuildingForPlacement"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3452,
"end": 3464,
"loc": {
"start": {
"line": 91,
"column": 82
},
"end": {
"line": 91,
"column": 94
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
}
]
}
},
{
"type": "ObjectExpression",
"start": 3467,
"end": 3518,
"loc": {
"start": {
"line": 91,
"column": 97
},
"end": {
"line": 93,
"column": 13
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3486,
"end": 3502,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 32
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3486,
"end": 3496,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 26
},
"identifierName": "clickSound"
},
"name": "clickSound"
},
"value": {
"type": "NullLiteral",
"start": 3498,
"end": 3502,
"loc": {
"start": {
"line": 92,
"column": 28
},
"end": {
"line": 92,
"column": 32
}
}
}
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 3536,
"end": 3760,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 101,
"column": 14
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3536,
"end": 3759,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 101,
"column": 13
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3536,
"end": 3573,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 3536,
"end": 3556,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 3536,
"end": 3540,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 3541,
"end": 3556,
"loc": {
"start": {
"line": 95,
"column": 17
},
"end": {
"line": 95,
"column": 32
},
"identifierName": "buildingHandles"
},
"name": "buildingHandles"
},
"computed": false
},
"property": {
"type": "MemberExpression",
"start": 3557,
"end": 3572,
"loc": {
"start": {
"line": 95,
"column": 33
},
"end": {
"line": 95,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 3557,
"end": 3569,
"loc": {
"start": {
"line": 95,
"column": 33
},
"end": {
"line": 95,
"column": 45
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"property": {
"type": "Identifier",
"start": 3570,
"end": 3572,
"loc": {
"start": {
"line": 95,
"column": 46
},
"end": {
"line": 95,
"column": 48
},
"identifierName": "id"
},
"name": "id"
},
"computed": false
},
"computed": true
},
"right": {
"type": "ObjectExpression",
"start": 3576,
"end": 3759,
"loc": {
"start": {
"line": 95,
"column": 52
},
"end": {
"line": 101,
"column": 13
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3595,
"end": 3607,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 28
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 3595,
"end": 3607,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 28
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"value": {
"type": "Identifier",
"start": 3595,
"end": 3607,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 28
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 3626,
"end": 3648,
"loc": {
"start": {
"line": 97,
"column": 16
},
"end": {
"line": 97,
"column": 38
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3626,
"end": 3633,
"loc": {
"start": {
"line": 97,
"column": 16
},
"end": {
"line": 97,
"column": 23
},
"identifierName": "element"
},
"name": "element"
},
"value": {
"type": "Identifier",
"start": 3635,
"end": 3648,
"loc": {
"start": {
"line": 97,
"column": 25
},
"end": {
"line": 97,
"column": 38
},
"identifierName": "itemContainer"
},
"name": "itemContainer"
}
},
{
"type": "ObjectProperty",
"start": 3667,
"end": 3682,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 31
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3667,
"end": 3675,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 24
},
"identifierName": "unlocked"
},
"name": "unlocked"
},
"value": {
"type": "BooleanLiteral",
"start": 3677,
"end": 3682,
"loc": {
"start": {
"line": 98,
"column": 26
},
"end": {
"line": 98,
"column": 31
}
},
"value": false
}
},
{
"type": "ObjectProperty",
"start": 3701,
"end": 3716,
"loc": {
"start": {
"line": 99,
"column": 16
},
"end": {
"line": 99,
"column": 31
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3701,
"end": 3709,
"loc": {
"start": {
"line": 99,
"column": 16
},
"end": {
"line": 99,
"column": 24
},
"identifierName": "selected"
},
"name": "selected"
},
"value": {
"type": "BooleanLiteral",
"start": 3711,
"end": 3716,
"loc": {
"start": {
"line": 99,
"column": 26
},
"end": {
"line": 99,
"column": 31
}
},
"value": false
}
},
{
"type": "ObjectProperty",
"start": 3735,
"end": 3743,
"loc": {
"start": {
"line": 100,
"column": 16
},
"end": {
"line": 100,
"column": 24
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3735,
"end": 3740,
"loc": {
"start": {
"line": 100,
"column": 16
},
"end": {
"line": 100,
"column": 21
},
"identifierName": "index"
},
"name": "index"
},
"value": {
"type": "Identifier",
"start": 3742,
"end": 3743,
"loc": {
"start": {
"line": 100,
"column": 23
},
"end": {
"line": 100,
"column": 24
},
"identifierName": "i"
},
"name": "i"
}
}
]
}
}
}
],
"directives": []
}
},
{
"type": "ExpressionStatement",
"start": 3783,
"end": 3926,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 107,
"column": 10
}
},
"expression": {
"type": "CallExpression",
"start": 3783,
"end": 3925,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 107,
"column": 9
}
},
"callee": {
"type": "MemberExpression",
"start": 3783,
"end": 3841,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 66
}
},
"object": {
"type": "MemberExpression",
"start": 3783,
"end": 3837,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 3783,
"end": 3804,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 29
}
},
"object": {
"type": "MemberExpression",
"start": 3783,
"end": 3796,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 21
}
},
"object": {
"type": "MemberExpression",
"start": 3783,
"end": 3792,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 3783,
"end": 3787,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3788,
"end": 3792,
"loc": {
"start": {
"line": 104,
"column": 13
},
"end": {
"line": 104,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3793,
"end": 3796,
"loc": {
"start": {
"line": 104,
"column": 18
},
"end": {
"line": 104,
"column": 21
},
"identifierName": "hud"
},
"name": "hud"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3797,
"end": 3804,
"loc": {
"start": {
"line": 104,
"column": 22
},
"end": {
"line": 104,
"column": 29
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3805,
"end": 3837,
"loc": {
"start": {
"line": 104,
"column": 30
},
"end": {
"line": 104,
"column": 62
},
"identifierName": "selectedPlacementBuildingChanged"
},
"name": "selectedPlacementBuildingChanged"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3838,
"end": 3841,
"loc": {
"start": {
"line": 104,
"column": 63
},
"end": {
"line": 104,
"column": 66
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3856,
"end": 3895,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 51
}
},
"object": {
"type": "ThisExpression",
"start": 3856,
"end": 3860,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 3861,
"end": 3895,
"loc": {
"start": {
"line": 105,
"column": 17
},
"end": {
"line": 105,
"column": 51
},
"identifierName": "onSelectedPlacementBuildingChanged"
},
"name": "onSelectedPlacementBuildingChanged"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 3910,
"end": 3914,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 16
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 3938,
"end": 4090,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 112,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3938,
"end": 4089,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 112,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3938,
"end": 3952,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 3938,
"end": 3942,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3943,
"end": 3952,
"loc": {
"start": {
"line": 109,
"column": 13
},
"end": {
"line": 109,
"column": 22
},
"identifierName": "domAttach"
},
"name": "domAttach"
},
"computed": false
},
"right": {
"type": "NewExpression",
"start": 3955,
"end": 4089,
"loc": {
"start": {
"line": 109,
"column": 25
},
"end": {
"line": 112,
"column": 10
}
},
"callee": {
"type": "Identifier",
"start": 3959,
"end": 3975,
"loc": {
"start": {
"line": 109,
"column": 29
},
"end": {
"line": 109,
"column": 45
},
"identifierName": "DynamicDomAttach"
},
"name": "DynamicDomAttach"
},
"arguments": [
{
"type": "MemberExpression",
"start": 3976,
"end": 3985,
"loc": {
"start": {
"line": 109,
"column": 46
},
"end": {
"line": 109,
"column": 55
}
},
"object": {
"type": "ThisExpression",
"start": 3976,
"end": 3980,
"loc": {
"start": {
"line": 109,
"column": 46
},
"end": {
"line": 109,
"column": 50
}
}
},
"property": {
"type": "Identifier",
"start": 3981,
"end": 3985,
"loc": {
"start": {
"line": 109,
"column": 51
},
"end": {
"line": 109,
"column": 55
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 3987,
"end": 3999,
"loc": {
"start": {
"line": 109,
"column": 57
},
"end": {
"line": 109,
"column": 69
}
},
"object": {
"type": "ThisExpression",
"start": 3987,
"end": 3991,
"loc": {
"start": {
"line": 109,
"column": 57
},
"end": {
"line": 109,
"column": 61
}
}
},
"property": {
"type": "Identifier",
"start": 3992,
"end": 3999,
"loc": {
"start": {
"line": 109,
"column": 62
},
"end": {
"line": 109,
"column": 69
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
{
"type": "ObjectExpression",
"start": 4001,
"end": 4088,
"loc": {
"start": {
"line": 109,
"column": 71
},
"end": {
"line": 112,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 4016,
"end": 4039,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 35
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4016,
"end": 4033,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 29
},
"identifierName": "timeToKeepSeconds"
},
"name": "timeToKeepSeconds"
},
"value": {
"type": "NumericLiteral",
"start": 4035,
"end": 4039,
"loc": {
"start": {
"line": 110,
"column": 31
},
"end": {
"line": 110,
"column": 35
}
},
"extra": {
"rawValue": 0.12,
"raw": "0.12"
},
"value": 0.12
}
},
{
"type": "ObjectProperty",
"start": 4054,
"end": 4076,
"loc": {
"start": {
"line": 111,
"column": 12
},
"end": {
"line": 111,
"column": 34
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4054,
"end": 4065,
"loc": {
"start": {
"line": 111,
"column": 12
},
"end": {
"line": 111,
"column": 23
},
"identifierName": "attachClass"
},
"name": "attachClass"
},
"value": {
"type": "StringLiteral",
"start": 4067,
"end": 4076,
"loc": {
"start": {
"line": 111,
"column": 25
},
"end": {
"line": 111,
"column": 34
}
},
"extra": {
"rawValue": "visible",
"raw": "\"visible\""
},
"value": "visible"
}
}
]
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 4100,
"end": 4127,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4100,
"end": 4126,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 34
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4100,
"end": 4122,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 4100,
"end": 4104,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 4105,
"end": 4122,
"loc": {
"start": {
"line": 113,
"column": 13
},
"end": {
"line": 113,
"column": 30
},
"identifierName": "lastSelectedIndex"
},
"name": "lastSelectedIndex"
},
"computed": false
},
"right": {
"type": "NumericLiteral",
"start": 4125,
"end": 4126,
"loc": {
"start": {
"line": 113,
"column": 33
},
"end": {
"line": 113,
"column": 34
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
},
{
"type": "ExpressionStatement",
"start": 4137,
"end": 4230,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 101
}
},
"expression": {
"type": "CallExpression",
"start": 4137,
"end": 4229,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 100
}
},
"callee": {
"type": "MemberExpression",
"start": 4137,
"end": 4202,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 73
}
},
"object": {
"type": "CallExpression",
"start": 4137,
"end": 4198,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 69
}
},
"callee": {
"type": "MemberExpression",
"start": 4137,
"end": 4160,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 4137,
"end": 4149,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 20
},
"identifierName": "actionMapper"
},
"name": "actionMapper"
},
"property": {
"type": "Identifier",
"start": 4150,
"end": 4160,
"loc": {
"start": {
"line": 114,
"column": 21
},
"end": {
"line": 114,
"column": 31
},
"identifierName": "getBinding"
},
"name": "getBinding"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4161,
"end": 4197,
"loc": {
"start": {
"line": 114,
"column": 32
},
"end": {
"line": 114,
"column": 68
}
},
"object": {
"type": "MemberExpression",
"start": 4161,
"end": 4182,
"loc": {
"start": {
"line": 114,
"column": 32
},
"end": {
"line": 114,
"column": 53
}
},
"object": {
"type": "Identifier",
"start": 4161,
"end": 4172,
"loc": {
"start": {
"line": 114,
"column": 32
},
"end": {
"line": 114,
"column": 43
},
"identifierName": "KEYMAPPINGS"
},
"name": "KEYMAPPINGS"
},
"property": {
"type": "Identifier",
"start": 4173,
"end": 4182,
"loc": {
"start": {
"line": 114,
"column": 44
},
"end": {
"line": 114,
"column": 53
},
"identifierName": "placement"
},
"name": "placement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4183,
"end": 4197,
"loc": {
"start": {
"line": 114,
"column": 54
},
"end": {
"line": 114,
"column": 68
},
"identifierName": "cycleBuildings"
},
"name": "cycleBuildings"
},
"computed": false
}
]
},
"property": {
"type": "Identifier",
"start": 4199,
"end": 4202,
"loc": {
"start": {
"line": 114,
"column": 70
},
"end": {
"line": 114,
"column": 73
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4203,
"end": 4222,
"loc": {
"start": {
"line": 114,
"column": 74
},
"end": {
"line": 114,
"column": 93
}
},
"object": {
"type": "ThisExpression",
"start": 4203,
"end": 4207,
"loc": {
"start": {
"line": 114,
"column": 74
},
"end": {
"line": 114,
"column": 78
}
}
},
"property": {
"type": "Identifier",
"start": 4208,
"end": 4222,
"loc": {
"start": {
"line": 114,
"column": 79
},
"end": {
"line": 114,
"column": 93
},
"identifierName": "cycleBuildings"
},
"name": "cycleBuildings"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 4224,
"end": 4228,
"loc": {
"start": {
"line": 114,
"column": 95
},
"end": {
"line": 114,
"column": 99
}
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Updates the toolbar\r\n ",
"start": 4245,
"end": 4285,
"loc": {
"start": {
"line": 117,
"column": 4
},
"end": {
"line": 119,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4291,
"end": 5556,
"loc": {
"start": {
"line": 120,
"column": 4
},
"end": {
"line": 149,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4291,
"end": 4297,
"loc": {
"start": {
"line": 120,
"column": 4
},
"end": {
"line": 120,
"column": 10
},
"identifierName": "update"
},
"name": "update",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 4300,
"end": 5556,
"loc": {
"start": {
"line": 120,
"column": 13
},
"end": {
"line": 149,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4311,
"end": 4354,
"loc": {
"start": {
"line": 121,
"column": 8
},
"end": {
"line": 121,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4317,
"end": 4353,
"loc": {
"start": {
"line": 121,
"column": 14
},
"end": {
"line": 121,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 4317,
"end": 4324,
"loc": {
"start": {
"line": 121,
"column": 14
},
"end": {
"line": 121,
"column": 21
},
"identifierName": "visible"
},
"name": "visible"
},
"init": {
"type": "CallExpression",
"start": 4327,
"end": 4353,
"loc": {
"start": {
"line": 121,
"column": 24
},
"end": {
"line": 121,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 4327,
"end": 4351,
"loc": {
"start": {
"line": 121,
"column": 24
},
"end": {
"line": 121,
"column": 48
}
},
"object": {
"type": "ThisExpression",
"start": 4327,
"end": 4331,
"loc": {
"start": {
"line": 121,
"column": 24
},
"end": {
"line": 121,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"start": 4332,
"end": 4351,
"loc": {
"start": {
"line": 121,
"column": 29
},
"end": {
"line": 121,
"column": 48
},
"identifierName": "visibilityCondition"
},
"name": "visibilityCondition"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 4364,
"end": 4395,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 39
}
},
"expression": {
"type": "CallExpression",
"start": 4364,
"end": 4394,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 4364,
"end": 4385,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 29
}
},
"object": {
"type": "MemberExpression",
"start": 4364,
"end": 4378,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 4364,
"end": 4368,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 4369,
"end": 4378,
"loc": {
"start": {
"line": 122,
"column": 13
},
"end": {
"line": 122,
"column": 22
},
"identifierName": "domAttach"
},
"name": "domAttach"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4379,
"end": 4385,
"loc": {
"start": {
"line": 122,
"column": 23
},
"end": {
"line": 122,
"column": 29
},
"identifierName": "update"
},
"name": "update"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 4386,
"end": 4393,
"loc": {
"start": {
"line": 122,
"column": 30
},
"end": {
"line": 122,
"column": 37
},
"identifierName": "visible"
},
"name": "visible"
}
]
}
},
{
"type": "IfStatement",
"start": 4407,
"end": 5549,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 148,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 4411,
"end": 4418,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 124,
"column": 19
},
"identifierName": "visible"
},
"name": "visible"
},
"consequent": {
"type": "BlockStatement",
"start": 4420,
"end": 5549,
"loc": {
"start": {
"line": 124,
"column": 21
},
"end": {
"line": 148,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4435,
"end": 4483,
"loc": {
"start": {
"line": 125,
"column": 12
},
"end": {
"line": 125,
"column": 60
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4439,
"end": 4482,
"loc": {
"start": {
"line": 125,
"column": 16
},
"end": {
"line": 125,
"column": 59
}
},
"id": {
"type": "Identifier",
"start": 4439,
"end": 4474,
"loc": {
"start": {
"line": 125,
"column": 16
},
"end": {
"line": 125,
"column": 51
},
"identifierName": "recomputeSecondaryToolbarVisibility"
},
"name": "recomputeSecondaryToolbarVisibility"
},
"init": {
"type": "BooleanLiteral",
"start": 4477,
"end": 4482,
"loc": {
"start": {
"line": 125,
"column": 54
},
"end": {
"line": 125,
"column": 59
}
},
"value": false
}
}
],
"kind": "let"
},
{
"type": "ForInStatement",
"start": 4497,
"end": 4972,
"loc": {
"start": {
"line": 126,
"column": 12
},
"end": {
"line": 134,
"column": 13
}
},
"left": {
"type": "VariableDeclaration",
"start": 4502,
"end": 4518,
"loc": {
"start": {
"line": 126,
"column": 17
},
"end": {
"line": 126,
"column": 33
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4508,
"end": 4518,
"loc": {
"start": {
"line": 126,
"column": 23
},
"end": {
"line": 126,
"column": 33
}
},
"id": {
"type": "Identifier",
"start": 4508,
"end": 4518,
"loc": {
"start": {
"line": 126,
"column": 23
},
"end": {
"line": 126,
"column": 33
},
"identifierName": "buildingId"
},
"name": "buildingId"
},
"init": null
}
],
"kind": "const"
},
"right": {
"type": "MemberExpression",
"start": 4522,
"end": 4542,
"loc": {
"start": {
"line": 126,
"column": 37
},
"end": {
"line": 126,
"column": 57
}
},
"object": {
"type": "ThisExpression",
"start": 4522,
"end": 4526,
"loc": {
"start": {
"line": 126,
"column": 37
},
"end": {
"line": 126,
"column": 41
}
}
},
"property": {
"type": "Identifier",
"start": 4527,
"end": 4542,
"loc": {
"start": {
"line": 126,
"column": 42
},
"end": {
"line": 126,
"column": 57
},
"identifierName": "buildingHandles"
},
"name": "buildingHandles"
},
"computed": false
},
"body": {
"type": "BlockStatement",
"start": 4544,
"end": 4972,
"loc": {
"start": {
"line": 126,
"column": 59
},
"end": {
"line": 134,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4563,
"end": 4611,
"loc": {
"start": {
"line": 127,
"column": 16
},
"end": {
"line": 127,
"column": 64
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4569,
"end": 4610,
"loc": {
"start": {
"line": 127,
"column": 22
},
"end": {
"line": 127,
"column": 63
}
},
"id": {
"type": "Identifier",
"start": 4569,
"end": 4575,
"loc": {
"start": {
"line": 127,
"column": 22
},
"end": {
"line": 127,
"column": 28
},
"identifierName": "handle"
},
"name": "handle"
},
"init": {
"type": "MemberExpression",
"start": 4578,
"end": 4610,
"loc": {
"start": {
"line": 127,
"column": 31
},
"end": {
"line": 127,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 4578,
"end": 4598,
"loc": {
"start": {
"line": 127,
"column": 31
},
"end": {
"line": 127,
"column": 51
}
},
"object": {
"type": "ThisExpression",
"start": 4578,
"end": 4582,
"loc": {
"start": {
"line": 127,
"column": 31
},
"end": {
"line": 127,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 4583,
"end": 4598,
"loc": {
"start": {
"line": 127,
"column": 36
},
"end": {
"line": 127,
"column": 51
},
"identifierName": "buildingHandles"
},
"name": "buildingHandles"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4599,
"end": 4609,
"loc": {
"start": {
"line": 127,
"column": 52
},
"end": {
"line": 127,
"column": 62
},
"identifierName": "buildingId"
},
"name": "buildingId"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 4629,
"end": 4692,
"loc": {
"start": {
"line": 128,
"column": 16
},
"end": {
"line": 128,
"column": 79
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4635,
"end": 4691,
"loc": {
"start": {
"line": 128,
"column": 22
},
"end": {
"line": 128,
"column": 78
}
},
"id": {
"type": "Identifier",
"start": 4635,
"end": 4644,
"loc": {
"start": {
"line": 128,
"column": 22
},
"end": {
"line": 128,
"column": 31
},
"identifierName": "newStatus"
},
"name": "newStatus"
},
"init": {
"type": "CallExpression",
"start": 4647,
"end": 4691,
"loc": {
"start": {
"line": 128,
"column": 34
},
"end": {
"line": 128,
"column": 78
}
},
"callee": {
"type": "MemberExpression",
"start": 4647,
"end": 4680,
"loc": {
"start": {
"line": 128,
"column": 34
},
"end": {
"line": 128,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 4647,
"end": 4666,
"loc": {
"start": {
"line": 128,
"column": 34
},
"end": {
"line": 128,
"column": 53
}
},
"object": {
"type": "Identifier",
"start": 4647,
"end": 4653,
"loc": {
"start": {
"line": 128,
"column": 34
},
"end": {
"line": 128,
"column": 40
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 4654,
"end": 4666,
"loc": {
"start": {
"line": 128,
"column": 41
},
"end": {
"line": 128,
"column": 53
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4667,
"end": 4680,
"loc": {
"start": {
"line": 128,
"column": 54
},
"end": {
"line": 128,
"column": 67
},
"identifierName": "getIsUnlocked"
},
"name": "getIsUnlocked"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4681,
"end": 4690,
"loc": {
"start": {
"line": 128,
"column": 68
},
"end": {
"line": 128,
"column": 77
}
},
"object": {
"type": "ThisExpression",
"start": 4681,
"end": 4685,
"loc": {
"start": {
"line": 128,
"column": 68
},
"end": {
"line": 128,
"column": 72
}
}
},
"property": {
"type": "Identifier",
"start": 4686,
"end": 4690,
"loc": {
"start": {
"line": 128,
"column": 73
},
"end": {
"line": 128,
"column": 77
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 4710,
"end": 4957,
"loc": {
"start": {
"line": 129,
"column": 16
},
"end": {
"line": 133,
"column": 17
}
},
"test": {
"type": "BinaryExpression",
"start": 4714,
"end": 4743,
"loc": {
"start": {
"line": 129,
"column": 20
},
"end": {
"line": 129,
"column": 49
}
},
"left": {
"type": "MemberExpression",
"start": 4714,
"end": 4729,
"loc": {
"start": {
"line": 129,
"column": 20
},
"end": {
"line": 129,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 4714,
"end": 4720,
"loc": {
"start": {
"line": 129,
"column": 20
},
"end": {
"line": 129,
"column": 26
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 4721,
"end": 4729,
"loc": {
"start": {
"line": 129,
"column": 27
},
"end": {
"line": 129,
"column": 35
},
"identifierName": "unlocked"
},
"name": "unlocked"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 4734,
"end": 4743,
"loc": {
"start": {
"line": 129,
"column": 40
},
"end": {
"line": 129,
"column": 49
},
"identifierName": "newStatus"
},
"name": "newStatus"
}
},
"consequent": {
"type": "BlockStatement",
"start": 4745,
"end": 4957,
"loc": {
"start": {
"line": 129,
"column": 51
},
"end": {
"line": 133,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4768,
"end": 4796,
"loc": {
"start": {
"line": 130,
"column": 20
},
"end": {
"line": 130,
"column": 48
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4768,
"end": 4795,
"loc": {
"start": {
"line": 130,
"column": 20
},
"end": {
"line": 130,
"column": 47
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4768,
"end": 4783,
"loc": {
"start": {
"line": 130,
"column": 20
},
"end": {
"line": 130,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 4768,
"end": 4774,
"loc": {
"start": {
"line": 130,
"column": 20
},
"end": {
"line": 130,
"column": 26
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 4775,
"end": 4783,
"loc": {
"start": {
"line": 130,
"column": 27
},
"end": {
"line": 130,
"column": 35
},
"identifierName": "unlocked"
},
"name": "unlocked"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 4786,
"end": 4795,
"loc": {
"start": {
"line": 130,
"column": 38
},
"end": {
"line": 130,
"column": 47
},
"identifierName": "newStatus"
},
"name": "newStatus"
}
}
},
{
"type": "ExpressionStatement",
"start": 4818,
"end": 4873,
"loc": {
"start": {
"line": 131,
"column": 20
},
"end": {
"line": 131,
"column": 75
}
},
"expression": {
"type": "CallExpression",
"start": 4818,
"end": 4872,
"loc": {
"start": {
"line": 131,
"column": 20
},
"end": {
"line": 131,
"column": 74
}
},
"callee": {
"type": "MemberExpression",
"start": 4818,
"end": 4849,
"loc": {
"start": {
"line": 131,
"column": 20
},
"end": {
"line": 131,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 4818,
"end": 4842,
"loc": {
"start": {
"line": 131,
"column": 20
},
"end": {
"line": 131,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 4818,
"end": 4832,
"loc": {
"start": {
"line": 131,
"column": 20
},
"end": {
"line": 131,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 4818,
"end": 4824,
"loc": {
"start": {
"line": 131,
"column": 20
},
"end": {
"line": 131,
"column": 26
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 4825,
"end": 4832,
"loc": {
"start": {
"line": 131,
"column": 27
},
"end": {
"line": 131,
"column": 34
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4833,
"end": 4842,
"loc": {
"start": {
"line": 131,
"column": 35
},
"end": {
"line": 131,
"column": 44
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4843,
"end": 4849,
"loc": {
"start": {
"line": 131,
"column": 45
},
"end": {
"line": 131,
"column": 51
},
"identifierName": "toggle"
},
"name": "toggle"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 4850,
"end": 4860,
"loc": {
"start": {
"line": 131,
"column": 52
},
"end": {
"line": 131,
"column": 62
}
},
"extra": {
"rawValue": "unlocked",
"raw": "\"unlocked\""
},
"value": "unlocked"
},
{
"type": "Identifier",
"start": 4862,
"end": 4871,
"loc": {
"start": {
"line": 131,
"column": 64
},
"end": {
"line": 131,
"column": 73
},
"identifierName": "newStatus"
},
"name": "newStatus"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 4895,
"end": 4938,
"loc": {
"start": {
"line": 132,
"column": 20
},
"end": {
"line": 132,
"column": 63
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4895,
"end": 4937,
"loc": {
"start": {
"line": 132,
"column": 20
},
"end": {
"line": 132,
"column": 62
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 4895,
"end": 4930,
"loc": {
"start": {
"line": 132,
"column": 20
},
"end": {
"line": 132,
"column": 55
},
"identifierName": "recomputeSecondaryToolbarVisibility"
},
"name": "recomputeSecondaryToolbarVisibility"
},
"right": {
"type": "BooleanLiteral",
"start": 4933,
"end": 4937,
"loc": {
"start": {
"line": 132,
"column": 58
},
"end": {
"line": 132,
"column": 62
}
},
"value": true
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
},
{
"type": "IfStatement",
"start": 4988,
"end": 5538,
"loc": {
"start": {
"line": 136,
"column": 12
},
"end": {
"line": 147,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 4992,
"end": 5054,
"loc": {
"start": {
"line": 136,
"column": 16
},
"end": {
"line": 136,
"column": 78
}
},
"left": {
"type": "Identifier",
"start": 4992,
"end": 5027,
"loc": {
"start": {
"line": 136,
"column": 16
},
"end": {
"line": 136,
"column": 51
},
"identifierName": "recomputeSecondaryToolbarVisibility"
},
"name": "recomputeSecondaryToolbarVisibility"
},
"operator": "&&",
"right": {
"type": "MemberExpression",
"start": 5031,
"end": 5054,
"loc": {
"start": {
"line": 136,
"column": 55
},
"end": {
"line": 136,
"column": 78
}
},
"object": {
"type": "ThisExpression",
"start": 5031,
"end": 5035,
"loc": {
"start": {
"line": 136,
"column": 55
},
"end": {
"line": 136,
"column": 59
}
}
},
"property": {
"type": "Identifier",
"start": 5036,
"end": 5054,
"loc": {
"start": {
"line": 136,
"column": 60
},
"end": {
"line": 136,
"column": 78
},
"identifierName": "secondaryDomAttach"
},
"name": "secondaryDomAttach"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 5056,
"end": 5538,
"loc": {
"start": {
"line": 136,
"column": 80
},
"end": {
"line": 147,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 5075,
"end": 5099,
"loc": {
"start": {
"line": 137,
"column": 16
},
"end": {
"line": 137,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5079,
"end": 5098,
"loc": {
"start": {
"line": 137,
"column": 20
},
"end": {
"line": 137,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 5079,
"end": 5090,
"loc": {
"start": {
"line": 137,
"column": 20
},
"end": {
"line": 137,
"column": 31
},
"identifierName": "anyUnlocked"
},
"name": "anyUnlocked"
},
"init": {
"type": "BooleanLiteral",
"start": 5093,
"end": 5098,
"loc": {
"start": {
"line": 137,
"column": 34
},
"end": {
"line": 137,
"column": 39
}
},
"value": false
}
}
],
"kind": "let"
},
{
"type": "ForStatement",
"start": 5117,
"end": 5459,
"loc": {
"start": {
"line": 138,
"column": 16
},
"end": {
"line": 144,
"column": 17
}
},
"init": {
"type": "VariableDeclaration",
"start": 5122,
"end": 5131,
"loc": {
"start": {
"line": 138,
"column": 21
},
"end": {
"line": 138,
"column": 30
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5126,
"end": 5131,
"loc": {
"start": {
"line": 138,
"column": 25
},
"end": {
"line": 138,
"column": 30
}
},
"id": {
"type": "Identifier",
"start": 5126,
"end": 5127,
"loc": {
"start": {
"line": 138,
"column": 25
},
"end": {
"line": 138,
"column": 26
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 5130,
"end": 5131,
"loc": {
"start": {
"line": 138,
"column": 29
},
"end": {
"line": 138,
"column": 30
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 5133,
"end": 5167,
"loc": {
"start": {
"line": 138,
"column": 32
},
"end": {
"line": 138,
"column": 66
}
},
"left": {
"type": "Identifier",
"start": 5133,
"end": 5134,
"loc": {
"start": {
"line": 138,
"column": 32
},
"end": {
"line": 138,
"column": 33
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 5137,
"end": 5167,
"loc": {
"start": {
"line": 138,
"column": 36
},
"end": {
"line": 138,
"column": 66
}
},
"object": {
"type": "MemberExpression",
"start": 5137,
"end": 5160,
"loc": {
"start": {
"line": 138,
"column": 36
},
"end": {
"line": 138,
"column": 59
}
},
"object": {
"type": "ThisExpression",
"start": 5137,
"end": 5141,
"loc": {
"start": {
"line": 138,
"column": 36
},
"end": {
"line": 138,
"column": 40
}
}
},
"property": {
"type": "Identifier",
"start": 5142,
"end": 5160,
"loc": {
"start": {
"line": 138,
"column": 41
},
"end": {
"line": 138,
"column": 59
},
"identifierName": "secondaryBuildings"
},
"name": "secondaryBuildings"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5161,
"end": 5167,
"loc": {
"start": {
"line": 138,
"column": 60
},
"end": {
"line": 138,
"column": 66
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 5169,
"end": 5172,
"loc": {
"start": {
"line": 138,
"column": 68
},
"end": {
"line": 138,
"column": 71
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 5171,
"end": 5172,
"loc": {
"start": {
"line": 138,
"column": 70
},
"end": {
"line": 138,
"column": 71
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 5174,
"end": 5459,
"loc": {
"start": {
"line": 138,
"column": 73
},
"end": {
"line": 144,
"column": 17
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 5197,
"end": 5277,
"loc": {
"start": {
"line": 139,
"column": 20
},
"end": {
"line": 139,
"column": 100
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5203,
"end": 5276,
"loc": {
"start": {
"line": 139,
"column": 26
},
"end": {
"line": 139,
"column": 99
}
},
"id": {
"type": "Identifier",
"start": 5203,
"end": 5212,
"loc": {
"start": {
"line": 139,
"column": 26
},
"end": {
"line": 139,
"column": 35
},
"identifierName": "metaClass"
},
"name": "metaClass"
},
"init": {
"type": "CallExpression",
"start": 5215,
"end": 5276,
"loc": {
"start": {
"line": 139,
"column": 38
},
"end": {
"line": 139,
"column": 99
}
},
"callee": {
"type": "MemberExpression",
"start": 5215,
"end": 5248,
"loc": {
"start": {
"line": 139,
"column": 38
},
"end": {
"line": 139,
"column": 71
}
},
"object": {
"type": "Identifier",
"start": 5215,
"end": 5236,
"loc": {
"start": {
"line": 139,
"column": 38
},
"end": {
"line": 139,
"column": 59
},
"identifierName": "gMetaBuildingRegistry"
},
"name": "gMetaBuildingRegistry"
},
"property": {
"type": "Identifier",
"start": 5237,
"end": 5248,
"loc": {
"start": {
"line": 139,
"column": 60
},
"end": {
"line": 139,
"column": 71
},
"identifierName": "findByClass"
},
"name": "findByClass"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5249,
"end": 5275,
"loc": {
"start": {
"line": 139,
"column": 72
},
"end": {
"line": 139,
"column": 98
}
},
"object": {
"type": "MemberExpression",
"start": 5249,
"end": 5272,
"loc": {
"start": {
"line": 139,
"column": 72
},
"end": {
"line": 139,
"column": 95
}
},
"object": {
"type": "ThisExpression",
"start": 5249,
"end": 5253,
"loc": {
"start": {
"line": 139,
"column": 72
},
"end": {
"line": 139,
"column": 76
}
}
},
"property": {
"type": "Identifier",
"start": 5254,
"end": 5272,
"loc": {
"start": {
"line": 139,
"column": 77
},
"end": {
"line": 139,
"column": 95
},
"identifierName": "secondaryBuildings"
},
"name": "secondaryBuildings"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5273,
"end": 5274,
"loc": {
"start": {
"line": 139,
"column": 96
},
"end": {
"line": 139,
"column": 97
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 5299,
"end": 5440,
"loc": {
"start": {
"line": 140,
"column": 20
},
"end": {
"line": 143,
"column": 21
}
},
"test": {
"type": "CallExpression",
"start": 5303,
"end": 5337,
"loc": {
"start": {
"line": 140,
"column": 24
},
"end": {
"line": 140,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 5303,
"end": 5326,
"loc": {
"start": {
"line": 140,
"column": 24
},
"end": {
"line": 140,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 5303,
"end": 5312,
"loc": {
"start": {
"line": 140,
"column": 24
},
"end": {
"line": 140,
"column": 33
},
"identifierName": "metaClass"
},
"name": "metaClass"
},
"property": {
"type": "Identifier",
"start": 5313,
"end": 5326,
"loc": {
"start": {
"line": 140,
"column": 34
},
"end": {
"line": 140,
"column": 47
},
"identifierName": "getIsUnlocked"
},
"name": "getIsUnlocked"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5327,
"end": 5336,
"loc": {
"start": {
"line": 140,
"column": 48
},
"end": {
"line": 140,
"column": 57
}
},
"object": {
"type": "ThisExpression",
"start": 5327,
"end": 5331,
"loc": {
"start": {
"line": 140,
"column": 48
},
"end": {
"line": 140,
"column": 52
}
}
},
"property": {
"type": "Identifier",
"start": 5332,
"end": 5336,
"loc": {
"start": {
"line": 140,
"column": 53
},
"end": {
"line": 140,
"column": 57
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 5339,
"end": 5440,
"loc": {
"start": {
"line": 140,
"column": 60
},
"end": {
"line": 143,
"column": 21
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5366,
"end": 5385,
"loc": {
"start": {
"line": 141,
"column": 24
},
"end": {
"line": 141,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5366,
"end": 5384,
"loc": {
"start": {
"line": 141,
"column": 24
},
"end": {
"line": 141,
"column": 42
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 5366,
"end": 5377,
"loc": {
"start": {
"line": 141,
"column": 24
},
"end": {
"line": 141,
"column": 35
},
"identifierName": "anyUnlocked"
},
"name": "anyUnlocked"
},
"right": {
"type": "BooleanLiteral",
"start": 5380,
"end": 5384,
"loc": {
"start": {
"line": 141,
"column": 38
},
"end": {
"line": 141,
"column": 42
}
},
"value": true
}
}
},
{
"type": "BreakStatement",
"start": 5411,
"end": 5417,
"loc": {
"start": {
"line": 142,
"column": 24
},
"end": {
"line": 142,
"column": 30
}
},
"label": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
},
{
"type": "ExpressionStatement",
"start": 5479,
"end": 5523,
"loc": {
"start": {
"line": 146,
"column": 16
},
"end": {
"line": 146,
"column": 60
}
},
"expression": {
"type": "CallExpression",
"start": 5479,
"end": 5522,
"loc": {
"start": {
"line": 146,
"column": 16
},
"end": {
"line": 146,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 5479,
"end": 5509,
"loc": {
"start": {
"line": 146,
"column": 16
},
"end": {
"line": 146,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 5479,
"end": 5502,
"loc": {
"start": {
"line": 146,
"column": 16
},
"end": {
"line": 146,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 5479,
"end": 5483,
"loc": {
"start": {
"line": 146,
"column": 16
},
"end": {
"line": 146,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 5484,
"end": 5502,
"loc": {
"start": {
"line": 146,
"column": 21
},
"end": {
"line": 146,
"column": 39
},
"identifierName": "secondaryDomAttach"
},
"name": "secondaryDomAttach"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5503,
"end": 5509,
"loc": {
"start": {
"line": 146,
"column": 40
},
"end": {
"line": 146,
"column": 46
},
"identifierName": "update"
},
"name": "update"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5510,
"end": 5521,
"loc": {
"start": {
"line": 146,
"column": 47
},
"end": {
"line": 146,
"column": 58
},
"identifierName": "anyUnlocked"
},
"name": "anyUnlocked"
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Updates the toolbar\r\n ",
"start": 4245,
"end": 4285,
"loc": {
"start": {
"line": 117,
"column": 4
},
"end": {
"line": 119,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Cycles through all buildings\r\n ",
"start": 5564,
"end": 5613,
"loc": {
"start": {
"line": 151,
"column": 4
},
"end": {
"line": 153,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5619,
"end": 6738,
"loc": {
"start": {
"line": 154,
"column": 4
},
"end": {
"line": 181,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5619,
"end": 5633,
"loc": {
"start": {
"line": 154,
"column": 4
},
"end": {
"line": 154,
"column": 18
},
"identifierName": "cycleBuildings"
},
"name": "cycleBuildings",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 5636,
"end": 6738,
"loc": {
"start": {
"line": 154,
"column": 21
},
"end": {
"line": 181,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 5647,
"end": 5690,
"loc": {
"start": {
"line": 155,
"column": 8
},
"end": {
"line": 155,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5653,
"end": 5689,
"loc": {
"start": {
"line": 155,
"column": 14
},
"end": {
"line": 155,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 5653,
"end": 5660,
"loc": {
"start": {
"line": 155,
"column": 14
},
"end": {
"line": 155,
"column": 21
},
"identifierName": "visible"
},
"name": "visible"
},
"init": {
"type": "CallExpression",
"start": 5663,
"end": 5689,
"loc": {
"start": {
"line": 155,
"column": 24
},
"end": {
"line": 155,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 5663,
"end": 5687,
"loc": {
"start": {
"line": 155,
"column": 24
},
"end": {
"line": 155,
"column": 48
}
},
"object": {
"type": "ThisExpression",
"start": 5663,
"end": 5667,
"loc": {
"start": {
"line": 155,
"column": 24
},
"end": {
"line": 155,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"start": 5668,
"end": 5687,
"loc": {
"start": {
"line": 155,
"column": 29
},
"end": {
"line": 155,
"column": 48
},
"identifierName": "visibilityCondition"
},
"name": "visibilityCondition"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 5700,
"end": 5747,
"loc": {
"start": {
"line": 156,
"column": 8
},
"end": {
"line": 158,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 5704,
"end": 5712,
"loc": {
"start": {
"line": 156,
"column": 12
},
"end": {
"line": 156,
"column": 20
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 5705,
"end": 5712,
"loc": {
"start": {
"line": 156,
"column": 13
},
"end": {
"line": 156,
"column": 20
},
"identifierName": "visible"
},
"name": "visible"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 5714,
"end": 5747,
"loc": {
"start": {
"line": 156,
"column": 22
},
"end": {
"line": 158,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5729,
"end": 5736,
"loc": {
"start": {
"line": 157,
"column": 12
},
"end": {
"line": 157,
"column": 19
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 5759,
"end": 5788,
"loc": {
"start": {
"line": 160,
"column": 8
},
"end": {
"line": 160,
"column": 37
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5763,
"end": 5787,
"loc": {
"start": {
"line": 160,
"column": 12
},
"end": {
"line": 160,
"column": 36
}
},
"id": {
"type": "Identifier",
"start": 5763,
"end": 5779,
"loc": {
"start": {
"line": 160,
"column": 12
},
"end": {
"line": 160,
"column": 28
},
"identifierName": "newBuildingFound"
},
"name": "newBuildingFound"
},
"init": {
"type": "BooleanLiteral",
"start": 5782,
"end": 5787,
"loc": {
"start": {
"line": 160,
"column": 31
},
"end": {
"line": 160,
"column": 36
}
},
"value": false
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 5798,
"end": 5836,
"loc": {
"start": {
"line": 161,
"column": 8
},
"end": {
"line": 161,
"column": 46
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5802,
"end": 5835,
"loc": {
"start": {
"line": 161,
"column": 12
},
"end": {
"line": 161,
"column": 45
}
},
"id": {
"type": "Identifier",
"start": 5802,
"end": 5810,
"loc": {
"start": {
"line": 161,
"column": 12
},
"end": {
"line": 161,
"column": 20
},
"identifierName": "newIndex"
},
"name": "newIndex"
},
"init": {
"type": "MemberExpression",
"start": 5813,
"end": 5835,
"loc": {
"start": {
"line": 161,
"column": 23
},
"end": {
"line": 161,
"column": 45
}
},
"object": {
"type": "ThisExpression",
"start": 5813,
"end": 5817,
"loc": {
"start": {
"line": 161,
"column": 23
},
"end": {
"line": 161,
"column": 27
}
}
},
"property": {
"type": "Identifier",
"start": 5818,
"end": 5835,
"loc": {
"start": {
"line": 161,
"column": 28
},
"end": {
"line": 161,
"column": 45
},
"identifierName": "lastSelectedIndex"
},
"name": "lastSelectedIndex"
},
"computed": false
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 5846,
"end": 5983,
"loc": {
"start": {
"line": 162,
"column": 8
},
"end": {
"line": 164,
"column": 14
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5852,
"end": 5982,
"loc": {
"start": {
"line": 162,
"column": 14
},
"end": {
"line": 164,
"column": 13
}
},
"id": {
"type": "Identifier",
"start": 5852,
"end": 5861,
"loc": {
"start": {
"line": 162,
"column": 14
},
"end": {
"line": 162,
"column": 23
},
"identifierName": "direction"
},
"name": "direction"
},
"init": {
"type": "ConditionalExpression",
"start": 5864,
"end": 5982,
"loc": {
"start": {
"line": 162,
"column": 26
},
"end": {
"line": 164,
"column": 13
}
},
"test": {
"type": "MemberExpression",
"start": 5864,
"end": 5947,
"loc": {
"start": {
"line": 162,
"column": 26
},
"end": {
"line": 162,
"column": 109
}
},
"object": {
"type": "CallExpression",
"start": 5864,
"end": 5939,
"loc": {
"start": {
"line": 162,
"column": 26
},
"end": {
"line": 162,
"column": 101
}
},
"callee": {
"type": "MemberExpression",
"start": 5864,
"end": 5894,
"loc": {
"start": {
"line": 162,
"column": 26
},
"end": {
"line": 162,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 5864,
"end": 5883,
"loc": {
"start": {
"line": 162,
"column": 26
},
"end": {
"line": 162,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 5864,
"end": 5873,
"loc": {
"start": {
"line": 162,
"column": 26
},
"end": {
"line": 162,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 5864,
"end": 5868,
"loc": {
"start": {
"line": 162,
"column": 26
},
"end": {
"line": 162,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 5869,
"end": 5873,
"loc": {
"start": {
"line": 162,
"column": 31
},
"end": {
"line": 162,
"column": 35
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5874,
"end": 5883,
"loc": {
"start": {
"line": 162,
"column": 36
},
"end": {
"line": 162,
"column": 45
},
"identifierName": "keyMapper"
},
"name": "keyMapper"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5884,
"end": 5894,
"loc": {
"start": {
"line": 162,
"column": 46
},
"end": {
"line": 162,
"column": 56
},
"identifierName": "getBinding"
},
"name": "getBinding"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5895,
"end": 5938,
"loc": {
"start": {
"line": 162,
"column": 57
},
"end": {
"line": 162,
"column": 100
}
},
"object": {
"type": "MemberExpression",
"start": 5895,
"end": 5916,
"loc": {
"start": {
"line": 162,
"column": 57
},
"end": {
"line": 162,
"column": 78
}
},
"object": {
"type": "Identifier",
"start": 5895,
"end": 5906,
"loc": {
"start": {
"line": 162,
"column": 57
},
"end": {
"line": 162,
"column": 68
},
"identifierName": "KEYMAPPINGS"
},
"name": "KEYMAPPINGS"
},
"property": {
"type": "Identifier",
"start": 5907,
"end": 5916,
"loc": {
"start": {
"line": 162,
"column": 69
},
"end": {
"line": 162,
"column": 78
},
"identifierName": "placement"
},
"name": "placement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5917,
"end": 5938,
"loc": {
"start": {
"line": 162,
"column": 79
},
"end": {
"line": 162,
"column": 100
},
"identifierName": "rotateInverseModifier"
},
"name": "rotateInverseModifier"
},
"computed": false
}
]
},
"property": {
"type": "Identifier",
"start": 5940,
"end": 5947,
"loc": {
"start": {
"line": 162,
"column": 102
},
"end": {
"line": 162,
"column": 109
},
"identifierName": "pressed"
},
"name": "pressed"
},
"computed": false
},
"consequent": {
"type": "UnaryExpression",
"start": 5963,
"end": 5965,
"loc": {
"start": {
"line": 163,
"column": 12
},
"end": {
"line": 163,
"column": 14
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 5964,
"end": 5965,
"loc": {
"start": {
"line": 163,
"column": 13
},
"end": {
"line": 163,
"column": 14
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"extra": {
"parenthesizedArgument": false
}
},
"alternate": {
"type": "NumericLiteral",
"start": 5981,
"end": 5982,
"loc": {
"start": {
"line": 164,
"column": 12
},
"end": {
"line": 164,
"column": 13
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
}
],
"kind": "const"
},
{
"type": "ForStatement",
"start": 5995,
"end": 6457,
"loc": {
"start": {
"line": 166,
"column": 8
},
"end": {
"line": 174,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 6000,
"end": 6009,
"loc": {
"start": {
"line": 166,
"column": 13
},
"end": {
"line": 166,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6004,
"end": 6009,
"loc": {
"start": {
"line": 166,
"column": 17
},
"end": {
"line": 166,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 6004,
"end": 6005,
"loc": {
"start": {
"line": 166,
"column": 17
},
"end": {
"line": 166,
"column": 18
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 6008,
"end": 6009,
"loc": {
"start": {
"line": 166,
"column": 21
},
"end": {
"line": 166,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 6011,
"end": 6044,
"loc": {
"start": {
"line": 166,
"column": 24
},
"end": {
"line": 166,
"column": 57
}
},
"left": {
"type": "Identifier",
"start": 6011,
"end": 6012,
"loc": {
"start": {
"line": 166,
"column": 24
},
"end": {
"line": 166,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<=",
"right": {
"type": "MemberExpression",
"start": 6016,
"end": 6044,
"loc": {
"start": {
"line": 166,
"column": 29
},
"end": {
"line": 166,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 6016,
"end": 6037,
"loc": {
"start": {
"line": 166,
"column": 29
},
"end": {
"line": 166,
"column": 50
}
},
"object": {
"type": "ThisExpression",
"start": 6016,
"end": 6020,
"loc": {
"start": {
"line": 166,
"column": 29
},
"end": {
"line": 166,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 6021,
"end": 6037,
"loc": {
"start": {
"line": 166,
"column": 34
},
"end": {
"line": 166,
"column": 50
},
"identifierName": "primaryBuildings"
},
"name": "primaryBuildings"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6038,
"end": 6044,
"loc": {
"start": {
"line": 166,
"column": 51
},
"end": {
"line": 166,
"column": 57
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 6046,
"end": 6049,
"loc": {
"start": {
"line": 166,
"column": 59
},
"end": {
"line": 166,
"column": 62
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 6048,
"end": 6049,
"loc": {
"start": {
"line": 166,
"column": 61
},
"end": {
"line": 166,
"column": 62
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 6051,
"end": 6457,
"loc": {
"start": {
"line": 166,
"column": 64
},
"end": {
"line": 174,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6066,
"end": 6140,
"loc": {
"start": {
"line": 167,
"column": 12
},
"end": {
"line": 167,
"column": 86
}
},
"expression": {
"type": "AssignmentExpression",
"start": 6066,
"end": 6139,
"loc": {
"start": {
"line": 167,
"column": 12
},
"end": {
"line": 167,
"column": 85
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 6066,
"end": 6074,
"loc": {
"start": {
"line": 167,
"column": 12
},
"end": {
"line": 167,
"column": 20
},
"identifierName": "newIndex"
},
"name": "newIndex"
},
"right": {
"type": "CallExpression",
"start": 6077,
"end": 6139,
"loc": {
"start": {
"line": 167,
"column": 23
},
"end": {
"line": 167,
"column": 85
}
},
"callee": {
"type": "Identifier",
"start": 6077,
"end": 6087,
"loc": {
"start": {
"line": 167,
"column": 23
},
"end": {
"line": 167,
"column": 33
},
"identifierName": "safeModulo"
},
"name": "safeModulo"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 6088,
"end": 6108,
"loc": {
"start": {
"line": 167,
"column": 34
},
"end": {
"line": 167,
"column": 54
}
},
"left": {
"type": "Identifier",
"start": 6088,
"end": 6096,
"loc": {
"start": {
"line": 167,
"column": 34
},
"end": {
"line": 167,
"column": 42
},
"identifierName": "newIndex"
},
"name": "newIndex"
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 6099,
"end": 6108,
"loc": {
"start": {
"line": 167,
"column": 45
},
"end": {
"line": 167,
"column": 54
},
"identifierName": "direction"
},
"name": "direction"
}
},
{
"type": "MemberExpression",
"start": 6110,
"end": 6138,
"loc": {
"start": {
"line": 167,
"column": 56
},
"end": {
"line": 167,
"column": 84
}
},
"object": {
"type": "MemberExpression",
"start": 6110,
"end": 6131,
"loc": {
"start": {
"line": 167,
"column": 56
},
"end": {
"line": 167,
"column": 77
}
},
"object": {
"type": "ThisExpression",
"start": 6110,
"end": 6114,
"loc": {
"start": {
"line": 167,
"column": 56
},
"end": {
"line": 167,
"column": 60
}
}
},
"property": {
"type": "Identifier",
"start": 6115,
"end": 6131,
"loc": {
"start": {
"line": 167,
"column": 61
},
"end": {
"line": 167,
"column": 77
},
"identifierName": "primaryBuildings"
},
"name": "primaryBuildings"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6132,
"end": 6138,
"loc": {
"start": {
"line": 167,
"column": 78
},
"end": {
"line": 167,
"column": 84
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
]
}
}
},
{
"type": "VariableDeclaration",
"start": 6154,
"end": 6242,
"loc": {
"start": {
"line": 168,
"column": 12
},
"end": {
"line": 168,
"column": 100
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6160,
"end": 6241,
"loc": {
"start": {
"line": 168,
"column": 18
},
"end": {
"line": 168,
"column": 99
}
},
"id": {
"type": "Identifier",
"start": 6160,
"end": 6172,
"loc": {
"start": {
"line": 168,
"column": 18
},
"end": {
"line": 168,
"column": 30
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"init": {
"type": "CallExpression",
"start": 6175,
"end": 6241,
"loc": {
"start": {
"line": 168,
"column": 33
},
"end": {
"line": 168,
"column": 99
}
},
"callee": {
"type": "MemberExpression",
"start": 6175,
"end": 6208,
"loc": {
"start": {
"line": 168,
"column": 33
},
"end": {
"line": 168,
"column": 66
}
},
"object": {
"type": "Identifier",
"start": 6175,
"end": 6196,
"loc": {
"start": {
"line": 168,
"column": 33
},
"end": {
"line": 168,
"column": 54
},
"identifierName": "gMetaBuildingRegistry"
},
"name": "gMetaBuildingRegistry"
},
"property": {
"type": "Identifier",
"start": 6197,
"end": 6208,
"loc": {
"start": {
"line": 168,
"column": 55
},
"end": {
"line": 168,
"column": 66
},
"identifierName": "findByClass"
},
"name": "findByClass"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 6209,
"end": 6240,
"loc": {
"start": {
"line": 168,
"column": 67
},
"end": {
"line": 168,
"column": 98
}
},
"object": {
"type": "MemberExpression",
"start": 6209,
"end": 6230,
"loc": {
"start": {
"line": 168,
"column": 67
},
"end": {
"line": 168,
"column": 88
}
},
"object": {
"type": "ThisExpression",
"start": 6209,
"end": 6213,
"loc": {
"start": {
"line": 168,
"column": 67
},
"end": {
"line": 168,
"column": 71
}
}
},
"property": {
"type": "Identifier",
"start": 6214,
"end": 6230,
"loc": {
"start": {
"line": 168,
"column": 72
},
"end": {
"line": 168,
"column": 88
},
"identifierName": "primaryBuildings"
},
"name": "primaryBuildings"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6231,
"end": 6239,
"loc": {
"start": {
"line": 168,
"column": 89
},
"end": {
"line": 168,
"column": 97
},
"identifierName": "newIndex"
},
"name": "newIndex"
},
"computed": true
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6256,
"end": 6309,
"loc": {
"start": {
"line": 169,
"column": 12
},
"end": {
"line": 169,
"column": 65
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6262,
"end": 6308,
"loc": {
"start": {
"line": 169,
"column": 18
},
"end": {
"line": 169,
"column": 64
}
},
"id": {
"type": "Identifier",
"start": 6262,
"end": 6268,
"loc": {
"start": {
"line": 169,
"column": 18
},
"end": {
"line": 169,
"column": 24
},
"identifierName": "handle"
},
"name": "handle"
},
"init": {
"type": "MemberExpression",
"start": 6271,
"end": 6308,
"loc": {
"start": {
"line": 169,
"column": 27
},
"end": {
"line": 169,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 6271,
"end": 6291,
"loc": {
"start": {
"line": 169,
"column": 27
},
"end": {
"line": 169,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 6271,
"end": 6275,
"loc": {
"start": {
"line": 169,
"column": 27
},
"end": {
"line": 169,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 6276,
"end": 6291,
"loc": {
"start": {
"line": 169,
"column": 32
},
"end": {
"line": 169,
"column": 47
},
"identifierName": "buildingHandles"
},
"name": "buildingHandles"
},
"computed": false
},
"property": {
"type": "MemberExpression",
"start": 6292,
"end": 6307,
"loc": {
"start": {
"line": 169,
"column": 48
},
"end": {
"line": 169,
"column": 63
}
},
"object": {
"type": "Identifier",
"start": 6292,
"end": 6304,
"loc": {
"start": {
"line": 169,
"column": 48
},
"end": {
"line": 169,
"column": 60
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"property": {
"type": "Identifier",
"start": 6305,
"end": 6307,
"loc": {
"start": {
"line": 169,
"column": 61
},
"end": {
"line": 169,
"column": 63
},
"identifierName": "id"
},
"name": "id"
},
"computed": false
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 6323,
"end": 6446,
"loc": {
"start": {
"line": 170,
"column": 12
},
"end": {
"line": 173,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 6327,
"end": 6362,
"loc": {
"start": {
"line": 170,
"column": 16
},
"end": {
"line": 170,
"column": 51
}
},
"left": {
"type": "UnaryExpression",
"start": 6327,
"end": 6343,
"loc": {
"start": {
"line": 170,
"column": 16
},
"end": {
"line": 170,
"column": 32
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 6328,
"end": 6343,
"loc": {
"start": {
"line": 170,
"column": 17
},
"end": {
"line": 170,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 6328,
"end": 6334,
"loc": {
"start": {
"line": 170,
"column": 17
},
"end": {
"line": 170,
"column": 23
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 6335,
"end": 6343,
"loc": {
"start": {
"line": 170,
"column": 24
},
"end": {
"line": 170,
"column": 32
},
"identifierName": "selected"
},
"name": "selected"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "&&",
"right": {
"type": "MemberExpression",
"start": 6347,
"end": 6362,
"loc": {
"start": {
"line": 170,
"column": 36
},
"end": {
"line": 170,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 6347,
"end": 6353,
"loc": {
"start": {
"line": 170,
"column": 36
},
"end": {
"line": 170,
"column": 42
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 6354,
"end": 6362,
"loc": {
"start": {
"line": 170,
"column": 43
},
"end": {
"line": 170,
"column": 51
},
"identifierName": "unlocked"
},
"name": "unlocked"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 6364,
"end": 6446,
"loc": {
"start": {
"line": 170,
"column": 53
},
"end": {
"line": 173,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6383,
"end": 6407,
"loc": {
"start": {
"line": 171,
"column": 16
},
"end": {
"line": 171,
"column": 40
}
},
"expression": {
"type": "AssignmentExpression",
"start": 6383,
"end": 6406,
"loc": {
"start": {
"line": 171,
"column": 16
},
"end": {
"line": 171,
"column": 39
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 6383,
"end": 6399,
"loc": {
"start": {
"line": 171,
"column": 16
},
"end": {
"line": 171,
"column": 32
},
"identifierName": "newBuildingFound"
},
"name": "newBuildingFound"
},
"right": {
"type": "BooleanLiteral",
"start": 6402,
"end": 6406,
"loc": {
"start": {
"line": 171,
"column": 35
},
"end": {
"line": 171,
"column": 39
}
},
"value": true
}
}
},
{
"type": "BreakStatement",
"start": 6425,
"end": 6431,
"loc": {
"start": {
"line": 172,
"column": 16
},
"end": {
"line": 172,
"column": 22
}
},
"label": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
},
{
"type": "IfStatement",
"start": 6467,
"end": 6523,
"loc": {
"start": {
"line": 175,
"column": 8
},
"end": {
"line": 177,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 6471,
"end": 6488,
"loc": {
"start": {
"line": 175,
"column": 12
},
"end": {
"line": 175,
"column": 29
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 6472,
"end": 6488,
"loc": {
"start": {
"line": 175,
"column": 13
},
"end": {
"line": 175,
"column": 29
},
"identifierName": "newBuildingFound"
},
"name": "newBuildingFound"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 6490,
"end": 6523,
"loc": {
"start": {
"line": 175,
"column": 31
},
"end": {
"line": 177,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 6505,
"end": 6512,
"loc": {
"start": {
"line": 176,
"column": 12
},
"end": {
"line": 176,
"column": 19
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 6533,
"end": 6591,
"loc": {
"start": {
"line": 178,
"column": 8
},
"end": {
"line": 178,
"column": 66
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6539,
"end": 6590,
"loc": {
"start": {
"line": 178,
"column": 14
},
"end": {
"line": 178,
"column": 65
}
},
"id": {
"type": "Identifier",
"start": 6539,
"end": 6556,
"loc": {
"start": {
"line": 178,
"column": 14
},
"end": {
"line": 178,
"column": 31
},
"identifierName": "metaBuildingClass"
},
"name": "metaBuildingClass"
},
"init": {
"type": "MemberExpression",
"start": 6559,
"end": 6590,
"loc": {
"start": {
"line": 178,
"column": 34
},
"end": {
"line": 178,
"column": 65
}
},
"object": {
"type": "MemberExpression",
"start": 6559,
"end": 6580,
"loc": {
"start": {
"line": 178,
"column": 34
},
"end": {
"line": 178,
"column": 55
}
},
"object": {
"type": "ThisExpression",
"start": 6559,
"end": 6563,
"loc": {
"start": {
"line": 178,
"column": 34
},
"end": {
"line": 178,
"column": 38
}
}
},
"property": {
"type": "Identifier",
"start": 6564,
"end": 6580,
"loc": {
"start": {
"line": 178,
"column": 39
},
"end": {
"line": 178,
"column": 55
},
"identifierName": "primaryBuildings"
},
"name": "primaryBuildings"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6581,
"end": 6589,
"loc": {
"start": {
"line": 178,
"column": 56
},
"end": {
"line": 178,
"column": 64
},
"identifierName": "newIndex"
},
"name": "newIndex"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6601,
"end": 6675,
"loc": {
"start": {
"line": 179,
"column": 8
},
"end": {
"line": 179,
"column": 82
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6607,
"end": 6674,
"loc": {
"start": {
"line": 179,
"column": 14
},
"end": {
"line": 179,
"column": 81
}
},
"id": {
"type": "Identifier",
"start": 6607,
"end": 6619,
"loc": {
"start": {
"line": 179,
"column": 14
},
"end": {
"line": 179,
"column": 26
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"init": {
"type": "CallExpression",
"start": 6622,
"end": 6674,
"loc": {
"start": {
"line": 179,
"column": 29
},
"end": {
"line": 179,
"column": 81
}
},
"callee": {
"type": "MemberExpression",
"start": 6622,
"end": 6655,
"loc": {
"start": {
"line": 179,
"column": 29
},
"end": {
"line": 179,
"column": 62
}
},
"object": {
"type": "Identifier",
"start": 6622,
"end": 6643,
"loc": {
"start": {
"line": 179,
"column": 29
},
"end": {
"line": 179,
"column": 50
},
"identifierName": "gMetaBuildingRegistry"
},
"name": "gMetaBuildingRegistry"
},
"property": {
"type": "Identifier",
"start": 6644,
"end": 6655,
"loc": {
"start": {
"line": 179,
"column": 51
},
"end": {
"line": 179,
"column": 62
},
"identifierName": "findByClass"
},
"name": "findByClass"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 6656,
"end": 6673,
"loc": {
"start": {
"line": 179,
"column": 63
},
"end": {
"line": 179,
"column": 80
},
"identifierName": "metaBuildingClass"
},
"name": "metaBuildingClass"
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 6685,
"end": 6731,
"loc": {
"start": {
"line": 180,
"column": 8
},
"end": {
"line": 180,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 6685,
"end": 6730,
"loc": {
"start": {
"line": 180,
"column": 8
},
"end": {
"line": 180,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 6685,
"end": 6716,
"loc": {
"start": {
"line": 180,
"column": 8
},
"end": {
"line": 180,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 6685,
"end": 6689,
"loc": {
"start": {
"line": 180,
"column": 8
},
"end": {
"line": 180,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 6690,
"end": 6716,
"loc": {
"start": {
"line": 180,
"column": 13
},
"end": {
"line": 180,
"column": 39
},
"identifierName": "selectBuildingForPlacement"
},
"name": "selectBuildingForPlacement"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 6717,
"end": 6729,
"loc": {
"start": {
"line": 180,
"column": 40
},
"end": {
"line": 180,
"column": 52
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Cycles through all buildings\r\n ",
"start": 5564,
"end": 5613,
"loc": {
"start": {
"line": 151,
"column": 4
},
"end": {
"line": 153,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Called when the selected building got changed\r\n * @param {MetaBuilding} metaBuilding\r\n ",
"start": 6746,
"end": 6855,
"loc": {
"start": {
"line": 183,
"column": 4
},
"end": {
"line": 186,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 6861,
"end": 7487,
"loc": {
"start": {
"line": 187,
"column": 4
},
"end": {
"line": 201,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6861,
"end": 6895,
"loc": {
"start": {
"line": 187,
"column": 4
},
"end": {
"line": 187,
"column": 38
},
"identifierName": "onSelectedPlacementBuildingChanged"
},
"name": "onSelectedPlacementBuildingChanged",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6896,
"end": 6908,
"loc": {
"start": {
"line": 187,
"column": 39
},
"end": {
"line": 187,
"column": 51
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
}
],
"body": {
"type": "BlockStatement",
"start": 6910,
"end": 7487,
"loc": {
"start": {
"line": 187,
"column": 53
},
"end": {
"line": 201,
"column": 5
}
},
"body": [
{
"type": "ForInStatement",
"start": 6921,
"end": 7402,
"loc": {
"start": {
"line": 188,
"column": 8
},
"end": {
"line": 198,
"column": 9
}
},
"left": {
"type": "VariableDeclaration",
"start": 6926,
"end": 6942,
"loc": {
"start": {
"line": 188,
"column": 13
},
"end": {
"line": 188,
"column": 29
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6932,
"end": 6942,
"loc": {
"start": {
"line": 188,
"column": 19
},
"end": {
"line": 188,
"column": 29
}
},
"id": {
"type": "Identifier",
"start": 6932,
"end": 6942,
"loc": {
"start": {
"line": 188,
"column": 19
},
"end": {
"line": 188,
"column": 29
},
"identifierName": "buildingId"
},
"name": "buildingId"
},
"init": null
}
],
"kind": "const"
},
"right": {
"type": "MemberExpression",
"start": 6946,
"end": 6966,
"loc": {
"start": {
"line": 188,
"column": 33
},
"end": {
"line": 188,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 6946,
"end": 6950,
"loc": {
"start": {
"line": 188,
"column": 33
},
"end": {
"line": 188,
"column": 37
}
}
},
"property": {
"type": "Identifier",
"start": 6951,
"end": 6966,
"loc": {
"start": {
"line": 188,
"column": 38
},
"end": {
"line": 188,
"column": 53
},
"identifierName": "buildingHandles"
},
"name": "buildingHandles"
},
"computed": false
},
"body": {
"type": "BlockStatement",
"start": 6968,
"end": 7402,
"loc": {
"start": {
"line": 188,
"column": 55
},
"end": {
"line": 198,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 6983,
"end": 7031,
"loc": {
"start": {
"line": 189,
"column": 12
},
"end": {
"line": 189,
"column": 60
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6989,
"end": 7030,
"loc": {
"start": {
"line": 189,
"column": 18
},
"end": {
"line": 189,
"column": 59
}
},
"id": {
"type": "Identifier",
"start": 6989,
"end": 6995,
"loc": {
"start": {
"line": 189,
"column": 18
},
"end": {
"line": 189,
"column": 24
},
"identifierName": "handle"
},
"name": "handle"
},
"init": {
"type": "MemberExpression",
"start": 6998,
"end": 7030,
"loc": {
"start": {
"line": 189,
"column": 27
},
"end": {
"line": 189,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 6998,
"end": 7018,
"loc": {
"start": {
"line": 189,
"column": 27
},
"end": {
"line": 189,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 6998,
"end": 7002,
"loc": {
"start": {
"line": 189,
"column": 27
},
"end": {
"line": 189,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 7003,
"end": 7018,
"loc": {
"start": {
"line": 189,
"column": 32
},
"end": {
"line": 189,
"column": 47
},
"identifierName": "buildingHandles"
},
"name": "buildingHandles"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7019,
"end": 7029,
"loc": {
"start": {
"line": 189,
"column": 48
},
"end": {
"line": 189,
"column": 58
},
"identifierName": "buildingId"
},
"name": "buildingId"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 7045,
"end": 7100,
"loc": {
"start": {
"line": 190,
"column": 12
},
"end": {
"line": 190,
"column": 67
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7051,
"end": 7099,
"loc": {
"start": {
"line": 190,
"column": 18
},
"end": {
"line": 190,
"column": 66
}
},
"id": {
"type": "Identifier",
"start": 7051,
"end": 7060,
"loc": {
"start": {
"line": 190,
"column": 18
},
"end": {
"line": 190,
"column": 27
},
"identifierName": "newStatus"
},
"name": "newStatus"
},
"init": {
"type": "BinaryExpression",
"start": 7063,
"end": 7099,
"loc": {
"start": {
"line": 190,
"column": 30
},
"end": {
"line": 190,
"column": 66
}
},
"left": {
"type": "MemberExpression",
"start": 7063,
"end": 7082,
"loc": {
"start": {
"line": 190,
"column": 30
},
"end": {
"line": 190,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 7063,
"end": 7069,
"loc": {
"start": {
"line": 190,
"column": 30
},
"end": {
"line": 190,
"column": 36
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 7070,
"end": 7082,
"loc": {
"start": {
"line": 190,
"column": 37
},
"end": {
"line": 190,
"column": 49
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 7087,
"end": 7099,
"loc": {
"start": {
"line": 190,
"column": 54
},
"end": {
"line": 190,
"column": 66
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
}
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 7114,
"end": 7284,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 194,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 7118,
"end": 7147,
"loc": {
"start": {
"line": 191,
"column": 16
},
"end": {
"line": 191,
"column": 45
}
},
"left": {
"type": "MemberExpression",
"start": 7118,
"end": 7133,
"loc": {
"start": {
"line": 191,
"column": 16
},
"end": {
"line": 191,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 7118,
"end": 7124,
"loc": {
"start": {
"line": 191,
"column": 16
},
"end": {
"line": 191,
"column": 22
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 7125,
"end": 7133,
"loc": {
"start": {
"line": 191,
"column": 23
},
"end": {
"line": 191,
"column": 31
},
"identifierName": "selected"
},
"name": "selected"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 7138,
"end": 7147,
"loc": {
"start": {
"line": 191,
"column": 36
},
"end": {
"line": 191,
"column": 45
},
"identifierName": "newStatus"
},
"name": "newStatus"
}
},
"consequent": {
"type": "BlockStatement",
"start": 7149,
"end": 7284,
"loc": {
"start": {
"line": 191,
"column": 47
},
"end": {
"line": 194,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 7168,
"end": 7196,
"loc": {
"start": {
"line": 192,
"column": 16
},
"end": {
"line": 192,
"column": 44
}
},
"expression": {
"type": "AssignmentExpression",
"start": 7168,
"end": 7195,
"loc": {
"start": {
"line": 192,
"column": 16
},
"end": {
"line": 192,
"column": 43
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 7168,
"end": 7183,
"loc": {
"start": {
"line": 192,
"column": 16
},
"end": {
"line": 192,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 7168,
"end": 7174,
"loc": {
"start": {
"line": 192,
"column": 16
},
"end": {
"line": 192,
"column": 22
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 7175,
"end": 7183,
"loc": {
"start": {
"line": 192,
"column": 23
},
"end": {
"line": 192,
"column": 31
},
"identifierName": "selected"
},
"name": "selected"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 7186,
"end": 7195,
"loc": {
"start": {
"line": 192,
"column": 34
},
"end": {
"line": 192,
"column": 43
},
"identifierName": "newStatus"
},
"name": "newStatus"
}
}
},
{
"type": "ExpressionStatement",
"start": 7214,
"end": 7269,
"loc": {
"start": {
"line": 193,
"column": 16
},
"end": {
"line": 193,
"column": 71
}
},
"expression": {
"type": "CallExpression",
"start": 7214,
"end": 7268,
"loc": {
"start": {
"line": 193,
"column": 16
},
"end": {
"line": 193,
"column": 70
}
},
"callee": {
"type": "MemberExpression",
"start": 7214,
"end": 7245,
"loc": {
"start": {
"line": 193,
"column": 16
},
"end": {
"line": 193,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 7214,
"end": 7238,
"loc": {
"start": {
"line": 193,
"column": 16
},
"end": {
"line": 193,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 7214,
"end": 7228,
"loc": {
"start": {
"line": 193,
"column": 16
},
"end": {
"line": 193,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 7214,
"end": 7220,
"loc": {
"start": {
"line": 193,
"column": 16
},
"end": {
"line": 193,
"column": 22
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 7221,
"end": 7228,
"loc": {
"start": {
"line": 193,
"column": 23
},
"end": {
"line": 193,
"column": 30
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7229,
"end": 7238,
"loc": {
"start": {
"line": 193,
"column": 31
},
"end": {
"line": 193,
"column": 40
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7239,
"end": 7245,
"loc": {
"start": {
"line": 193,
"column": 41
},
"end": {
"line": 193,
"column": 47
},
"identifierName": "toggle"
},
"name": "toggle"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 7246,
"end": 7256,
"loc": {
"start": {
"line": 193,
"column": 48
},
"end": {
"line": 193,
"column": 58
}
},
"extra": {
"rawValue": "selected",
"raw": "\"selected\""
},
"value": "selected"
},
{
"type": "Identifier",
"start": 7258,
"end": 7267,
"loc": {
"start": {
"line": 193,
"column": 60
},
"end": {
"line": 193,
"column": 69
},
"identifierName": "newStatus"
},
"name": "newStatus"
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 7298,
"end": 7391,
"loc": {
"start": {
"line": 195,
"column": 12
},
"end": {
"line": 197,
"column": 13
}
},
"test": {
"type": "MemberExpression",
"start": 7302,
"end": 7317,
"loc": {
"start": {
"line": 195,
"column": 16
},
"end": {
"line": 195,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 7302,
"end": 7308,
"loc": {
"start": {
"line": 195,
"column": 16
},
"end": {
"line": 195,
"column": 22
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 7309,
"end": 7317,
"loc": {
"start": {
"line": 195,
"column": 23
},
"end": {
"line": 195,
"column": 31
},
"identifierName": "selected"
},
"name": "selected"
},
"computed": false
},
"consequent": {
"type": "BlockStatement",
"start": 7319,
"end": 7391,
"loc": {
"start": {
"line": 195,
"column": 33
},
"end": {
"line": 197,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 7338,
"end": 7376,
"loc": {
"start": {
"line": 196,
"column": 16
},
"end": {
"line": 196,
"column": 54
}
},
"expression": {
"type": "AssignmentExpression",
"start": 7338,
"end": 7375,
"loc": {
"start": {
"line": 196,
"column": 16
},
"end": {
"line": 196,
"column": 53
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 7338,
"end": 7360,
"loc": {
"start": {
"line": 196,
"column": 16
},
"end": {
"line": 196,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 7338,
"end": 7342,
"loc": {
"start": {
"line": 196,
"column": 16
},
"end": {
"line": 196,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 7343,
"end": 7360,
"loc": {
"start": {
"line": 196,
"column": 21
},
"end": {
"line": 196,
"column": 38
},
"identifierName": "lastSelectedIndex"
},
"name": "lastSelectedIndex"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 7363,
"end": 7375,
"loc": {
"start": {
"line": 196,
"column": 41
},
"end": {
"line": 196,
"column": 53
}
},
"object": {
"type": "Identifier",
"start": 7363,
"end": 7369,
"loc": {
"start": {
"line": 196,
"column": 41
},
"end": {
"line": 196,
"column": 47
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 7370,
"end": 7375,
"loc": {
"start": {
"line": 196,
"column": 48
},
"end": {
"line": 196,
"column": 53
},
"identifierName": "index"
},
"name": "index"
},
"computed": false
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
},
{
"type": "ExpressionStatement",
"start": 7414,
"end": 7480,
"loc": {
"start": {
"line": 200,
"column": 8
},
"end": {
"line": 200,
"column": 74
}
},
"expression": {
"type": "CallExpression",
"start": 7414,
"end": 7479,
"loc": {
"start": {
"line": 200,
"column": 8
},
"end": {
"line": 200,
"column": 73
}
},
"callee": {
"type": "MemberExpression",
"start": 7414,
"end": 7443,
"loc": {
"start": {
"line": 200,
"column": 8
},
"end": {
"line": 200,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 7414,
"end": 7436,
"loc": {
"start": {
"line": 200,
"column": 8
},
"end": {
"line": 200,
"column": 30
}
},
"object": {
"type": "MemberExpression",
"start": 7414,
"end": 7426,
"loc": {
"start": {
"line": 200,
"column": 8
},
"end": {
"line": 200,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 7414,
"end": 7418,
"loc": {
"start": {
"line": 200,
"column": 8
},
"end": {
"line": 200,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 7419,
"end": 7426,
"loc": {
"start": {
"line": 200,
"column": 13
},
"end": {
"line": 200,
"column": 20
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7427,
"end": 7436,
"loc": {
"start": {
"line": 200,
"column": 21
},
"end": {
"line": 200,
"column": 30
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7437,
"end": 7443,
"loc": {
"start": {
"line": 200,
"column": 31
},
"end": {
"line": 200,
"column": 37
},
"identifierName": "toggle"
},
"name": "toggle"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 7444,
"end": 7462,
"loc": {
"start": {
"line": 200,
"column": 38
},
"end": {
"line": 200,
"column": 56
}
},
"extra": {
"rawValue": "buildingSelected",
"raw": "\"buildingSelected\""
},
"value": "buildingSelected"
},
{
"type": "UnaryExpression",
"start": 7464,
"end": 7478,
"loc": {
"start": {
"line": 200,
"column": 58
},
"end": {
"line": 200,
"column": 72
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "UnaryExpression",
"start": 7465,
"end": 7478,
"loc": {
"start": {
"line": 200,
"column": 59
},
"end": {
"line": 200,
"column": 72
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 7466,
"end": 7478,
"loc": {
"start": {
"line": 200,
"column": 60
},
"end": {
"line": 200,
"column": 72
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"extra": {
"parenthesizedArgument": false
}
},
"extra": {
"parenthesizedArgument": false
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Called when the selected building got changed\r\n * @param {MetaBuilding} metaBuilding\r\n ",
"start": 6746,
"end": 6855,
"loc": {
"start": {
"line": 183,
"column": 4
},
"end": {
"line": 186,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {MetaBuilding} metaBuilding\r\n ",
"start": 7495,
"end": 7550,
"loc": {
"start": {
"line": 203,
"column": 4
},
"end": {
"line": 205,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 7556,
"end": 8400,
"loc": {
"start": {
"line": 206,
"column": 4
},
"end": {
"line": 229,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7556,
"end": 7582,
"loc": {
"start": {
"line": 206,
"column": 4
},
"end": {
"line": 206,
"column": 30
},
"identifierName": "selectBuildingForPlacement"
},
"name": "selectBuildingForPlacement",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 7583,
"end": 7595,
"loc": {
"start": {
"line": 206,
"column": 31
},
"end": {
"line": 206,
"column": 43
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
}
],
"body": {
"type": "BlockStatement",
"start": 7597,
"end": 8400,
"loc": {
"start": {
"line": 206,
"column": 45
},
"end": {
"line": 229,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 7608,
"end": 7701,
"loc": {
"start": {
"line": 207,
"column": 8
},
"end": {
"line": 210,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 7612,
"end": 7639,
"loc": {
"start": {
"line": 207,
"column": 12
},
"end": {
"line": 207,
"column": 39
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 7613,
"end": 7639,
"loc": {
"start": {
"line": 207,
"column": 13
},
"end": {
"line": 207,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 7613,
"end": 7637,
"loc": {
"start": {
"line": 207,
"column": 13
},
"end": {
"line": 207,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 7613,
"end": 7617,
"loc": {
"start": {
"line": 207,
"column": 13
},
"end": {
"line": 207,
"column": 17
}
}
},
"property": {
"type": "Identifier",
"start": 7618,
"end": 7637,
"loc": {
"start": {
"line": 207,
"column": 18
},
"end": {
"line": 207,
"column": 37
},
"identifierName": "visibilityCondition"
},
"name": "visibilityCondition"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 7641,
"end": 7701,
"loc": {
"start": {
"line": 207,
"column": 41
},
"end": {
"line": 210,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 7683,
"end": 7690,
"loc": {
"start": {
"line": 209,
"column": 12
},
"end": {
"line": 209,
"column": 19
}
},
"argument": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Not active",
"start": 7656,
"end": 7669,
"loc": {
"start": {
"line": 208,
"column": 12
},
"end": {
"line": 208,
"column": 25
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 7713,
"end": 7856,
"loc": {
"start": {
"line": 212,
"column": 8
},
"end": {
"line": 215,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 7717,
"end": 7755,
"loc": {
"start": {
"line": 212,
"column": 12
},
"end": {
"line": 212,
"column": 50
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 7718,
"end": 7755,
"loc": {
"start": {
"line": 212,
"column": 13
},
"end": {
"line": 212,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 7718,
"end": 7744,
"loc": {
"start": {
"line": 212,
"column": 13
},
"end": {
"line": 212,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 7718,
"end": 7730,
"loc": {
"start": {
"line": 212,
"column": 13
},
"end": {
"line": 212,
"column": 25
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"property": {
"type": "Identifier",
"start": 7731,
"end": 7744,
"loc": {
"start": {
"line": 212,
"column": 26
},
"end": {
"line": 212,
"column": 39
},
"identifierName": "getIsUnlocked"
},
"name": "getIsUnlocked"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 7745,
"end": 7754,
"loc": {
"start": {
"line": 212,
"column": 40
},
"end": {
"line": 212,
"column": 49
}
},
"object": {
"type": "ThisExpression",
"start": 7745,
"end": 7749,
"loc": {
"start": {
"line": 212,
"column": 40
},
"end": {
"line": 212,
"column": 44
}
}
},
"property": {
"type": "Identifier",
"start": 7750,
"end": 7754,
"loc": {
"start": {
"line": 212,
"column": 45
},
"end": {
"line": 212,
"column": 49
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 7757,
"end": 7856,
"loc": {
"start": {
"line": 212,
"column": 52
},
"end": {
"line": 215,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 7772,
"end": 7807,
"loc": {
"start": {
"line": 213,
"column": 12
},
"end": {
"line": 213,
"column": 47
}
},
"expression": {
"type": "CallExpression",
"start": 7772,
"end": 7806,
"loc": {
"start": {
"line": 213,
"column": 12
},
"end": {
"line": 213,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 7772,
"end": 7804,
"loc": {
"start": {
"line": 213,
"column": 12
},
"end": {
"line": 213,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 7772,
"end": 7792,
"loc": {
"start": {
"line": 213,
"column": 12
},
"end": {
"line": 213,
"column": 32
}
},
"object": {
"type": "MemberExpression",
"start": 7772,
"end": 7781,
"loc": {
"start": {
"line": 213,
"column": 12
},
"end": {
"line": 213,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 7772,
"end": 7776,
"loc": {
"start": {
"line": 213,
"column": 12
},
"end": {
"line": 213,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 7777,
"end": 7781,
"loc": {
"start": {
"line": 213,
"column": 17
},
"end": {
"line": 213,
"column": 21
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7782,
"end": 7792,
"loc": {
"start": {
"line": 213,
"column": 22
},
"end": {
"line": 213,
"column": 32
},
"identifierName": "soundProxy"
},
"name": "soundProxy"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7793,
"end": 7804,
"loc": {
"start": {
"line": 213,
"column": 33
},
"end": {
"line": 213,
"column": 44
},
"identifierName": "playUiError"
},
"name": "playUiError"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ReturnStatement",
"start": 7821,
"end": 7845,
"loc": {
"start": {
"line": 214,
"column": 12
},
"end": {
"line": 214,
"column": 36
}
},
"argument": {
"type": "Identifier",
"start": 7828,
"end": 7844,
"loc": {
"start": {
"line": 214,
"column": 19
},
"end": {
"line": 214,
"column": 35
},
"identifierName": "STOP_PROPAGATION"
},
"name": "STOP_PROPAGATION"
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Allow clicking an item again to deselect it",
"start": 7868,
"end": 7914,
"loc": {
"start": {
"line": 217,
"column": 8
},
"end": {
"line": 217,
"column": 54
}
}
}
]
},
{
"type": "ForInStatement",
"start": 7924,
"end": 8198,
"loc": {
"start": {
"line": 218,
"column": 8
},
"end": {
"line": 224,
"column": 9
}
},
"left": {
"type": "VariableDeclaration",
"start": 7929,
"end": 7945,
"loc": {
"start": {
"line": 218,
"column": 13
},
"end": {
"line": 218,
"column": 29
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7935,
"end": 7945,
"loc": {
"start": {
"line": 218,
"column": 19
},
"end": {
"line": 218,
"column": 29
}
},
"id": {
"type": "Identifier",
"start": 7935,
"end": 7945,
"loc": {
"start": {
"line": 218,
"column": 19
},
"end": {
"line": 218,
"column": 29
},
"identifierName": "buildingId"
},
"name": "buildingId",
"leadingComments": null
},
"init": null,
"leadingComments": null
}
],
"kind": "const",
"leadingComments": null
},
"right": {
"type": "MemberExpression",
"start": 7949,
"end": 7969,
"loc": {
"start": {
"line": 218,
"column": 33
},
"end": {
"line": 218,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 7949,
"end": 7953,
"loc": {
"start": {
"line": 218,
"column": 33
},
"end": {
"line": 218,
"column": 37
}
}
},
"property": {
"type": "Identifier",
"start": 7954,
"end": 7969,
"loc": {
"start": {
"line": 218,
"column": 38
},
"end": {
"line": 218,
"column": 53
},
"identifierName": "buildingHandles"
},
"name": "buildingHandles"
},
"computed": false
},
"body": {
"type": "BlockStatement",
"start": 7971,
"end": 8198,
"loc": {
"start": {
"line": 218,
"column": 55
},
"end": {
"line": 224,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 7986,
"end": 8034,
"loc": {
"start": {
"line": 219,
"column": 12
},
"end": {
"line": 219,
"column": 60
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7992,
"end": 8033,
"loc": {
"start": {
"line": 219,
"column": 18
},
"end": {
"line": 219,
"column": 59
}
},
"id": {
"type": "Identifier",
"start": 7992,
"end": 7998,
"loc": {
"start": {
"line": 219,
"column": 18
},
"end": {
"line": 219,
"column": 24
},
"identifierName": "handle"
},
"name": "handle"
},
"init": {
"type": "MemberExpression",
"start": 8001,
"end": 8033,
"loc": {
"start": {
"line": 219,
"column": 27
},
"end": {
"line": 219,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 8001,
"end": 8021,
"loc": {
"start": {
"line": 219,
"column": 27
},
"end": {
"line": 219,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 8001,
"end": 8005,
"loc": {
"start": {
"line": 219,
"column": 27
},
"end": {
"line": 219,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 8006,
"end": 8021,
"loc": {
"start": {
"line": 219,
"column": 32
},
"end": {
"line": 219,
"column": 47
},
"identifierName": "buildingHandles"
},
"name": "buildingHandles"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8022,
"end": 8032,
"loc": {
"start": {
"line": 219,
"column": 48
},
"end": {
"line": 219,
"column": 58
},
"identifierName": "buildingId"
},
"name": "buildingId"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 8048,
"end": 8187,
"loc": {
"start": {
"line": 220,
"column": 12
},
"end": {
"line": 223,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 8052,
"end": 8107,
"loc": {
"start": {
"line": 220,
"column": 16
},
"end": {
"line": 220,
"column": 71
}
},
"left": {
"type": "MemberExpression",
"start": 8052,
"end": 8067,
"loc": {
"start": {
"line": 220,
"column": 16
},
"end": {
"line": 220,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 8052,
"end": 8058,
"loc": {
"start": {
"line": 220,
"column": 16
},
"end": {
"line": 220,
"column": 22
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 8059,
"end": 8067,
"loc": {
"start": {
"line": 220,
"column": 23
},
"end": {
"line": 220,
"column": 31
},
"identifierName": "selected"
},
"name": "selected"
},
"computed": false
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 8071,
"end": 8107,
"loc": {
"start": {
"line": 220,
"column": 35
},
"end": {
"line": 220,
"column": 71
}
},
"left": {
"type": "MemberExpression",
"start": 8071,
"end": 8090,
"loc": {
"start": {
"line": 220,
"column": 35
},
"end": {
"line": 220,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 8071,
"end": 8077,
"loc": {
"start": {
"line": 220,
"column": 35
},
"end": {
"line": 220,
"column": 41
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 8078,
"end": 8090,
"loc": {
"start": {
"line": 220,
"column": 42
},
"end": {
"line": 220,
"column": 54
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 8095,
"end": 8107,
"loc": {
"start": {
"line": 220,
"column": 59
},
"end": {
"line": 220,
"column": 71
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 8109,
"end": 8187,
"loc": {
"start": {
"line": 220,
"column": 73
},
"end": {
"line": 223,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 8128,
"end": 8148,
"loc": {
"start": {
"line": 221,
"column": 16
},
"end": {
"line": 221,
"column": 36
}
},
"expression": {
"type": "AssignmentExpression",
"start": 8128,
"end": 8147,
"loc": {
"start": {
"line": 221,
"column": 16
},
"end": {
"line": 221,
"column": 35
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 8128,
"end": 8140,
"loc": {
"start": {
"line": 221,
"column": 16
},
"end": {
"line": 221,
"column": 28
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"right": {
"type": "NullLiteral",
"start": 8143,
"end": 8147,
"loc": {
"start": {
"line": 221,
"column": 31
},
"end": {
"line": 221,
"column": 35
}
}
}
}
},
{
"type": "BreakStatement",
"start": 8166,
"end": 8172,
"loc": {
"start": {
"line": 222,
"column": 16
},
"end": {
"line": 222,
"column": 22
}
},
"label": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Allow clicking an item again to deselect it",
"start": 7868,
"end": 7914,
"loc": {
"start": {
"line": 217,
"column": 8
},
"end": {
"line": 217,
"column": 54
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 8210,
"end": 8245,
"loc": {
"start": {
"line": 226,
"column": 8
},
"end": {
"line": 226,
"column": 43
}
},
"expression": {
"type": "CallExpression",
"start": 8210,
"end": 8244,
"loc": {
"start": {
"line": 226,
"column": 8
},
"end": {
"line": 226,
"column": 42
}
},
"callee": {
"type": "MemberExpression",
"start": 8210,
"end": 8242,
"loc": {
"start": {
"line": 226,
"column": 8
},
"end": {
"line": 226,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 8210,
"end": 8230,
"loc": {
"start": {
"line": 226,
"column": 8
},
"end": {
"line": 226,
"column": 28
}
},
"object": {
"type": "MemberExpression",
"start": 8210,
"end": 8219,
"loc": {
"start": {
"line": 226,
"column": 8
},
"end": {
"line": 226,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 8210,
"end": 8214,
"loc": {
"start": {
"line": 226,
"column": 8
},
"end": {
"line": 226,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 8215,
"end": 8219,
"loc": {
"start": {
"line": 226,
"column": 13
},
"end": {
"line": 226,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8220,
"end": 8230,
"loc": {
"start": {
"line": 226,
"column": 18
},
"end": {
"line": 226,
"column": 28
},
"identifierName": "soundProxy"
},
"name": "soundProxy"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8231,
"end": 8242,
"loc": {
"start": {
"line": 226,
"column": 29
},
"end": {
"line": 226,
"column": 40
},
"identifierName": "playUiClick"
},
"name": "playUiClick"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 8255,
"end": 8329,
"loc": {
"start": {
"line": 227,
"column": 8
},
"end": {
"line": 227,
"column": 82
}
},
"expression": {
"type": "CallExpression",
"start": 8255,
"end": 8328,
"loc": {
"start": {
"line": 227,
"column": 8
},
"end": {
"line": 227,
"column": 81
}
},
"callee": {
"type": "MemberExpression",
"start": 8255,
"end": 8314,
"loc": {
"start": {
"line": 227,
"column": 8
},
"end": {
"line": 227,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 8255,
"end": 8305,
"loc": {
"start": {
"line": 227,
"column": 8
},
"end": {
"line": 227,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 8255,
"end": 8276,
"loc": {
"start": {
"line": 227,
"column": 8
},
"end": {
"line": 227,
"column": 29
}
},
"object": {
"type": "MemberExpression",
"start": 8255,
"end": 8268,
"loc": {
"start": {
"line": 227,
"column": 8
},
"end": {
"line": 227,
"column": 21
}
},
"object": {
"type": "MemberExpression",
"start": 8255,
"end": 8264,
"loc": {
"start": {
"line": 227,
"column": 8
},
"end": {
"line": 227,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 8255,
"end": 8259,
"loc": {
"start": {
"line": 227,
"column": 8
},
"end": {
"line": 227,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 8260,
"end": 8264,
"loc": {
"start": {
"line": 227,
"column": 13
},
"end": {
"line": 227,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8265,
"end": 8268,
"loc": {
"start": {
"line": 227,
"column": 18
},
"end": {
"line": 227,
"column": 21
},
"identifierName": "hud"
},
"name": "hud"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8269,
"end": 8276,
"loc": {
"start": {
"line": 227,
"column": 22
},
"end": {
"line": 227,
"column": 29
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8277,
"end": 8305,
"loc": {
"start": {
"line": 227,
"column": 30
},
"end": {
"line": 227,
"column": 58
},
"identifierName": "buildingSelectedForPlacement"
},
"name": "buildingSelectedForPlacement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8306,
"end": 8314,
"loc": {
"start": {
"line": 227,
"column": 59
},
"end": {
"line": 227,
"column": 67
},
"identifierName": "dispatch"
},
"name": "dispatch"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 8315,
"end": 8327,
"loc": {
"start": {
"line": 227,
"column": 68
},
"end": {
"line": 227,
"column": 80
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 8339,
"end": 8393,
"loc": {
"start": {
"line": 228,
"column": 8
},
"end": {
"line": 228,
"column": 62
}
},
"expression": {
"type": "CallExpression",
"start": 8339,
"end": 8392,
"loc": {
"start": {
"line": 228,
"column": 8
},
"end": {
"line": 228,
"column": 61
}
},
"callee": {
"type": "MemberExpression",
"start": 8339,
"end": 8378,
"loc": {
"start": {
"line": 228,
"column": 8
},
"end": {
"line": 228,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 8339,
"end": 8343,
"loc": {
"start": {
"line": 228,
"column": 8
},
"end": {
"line": 228,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 8344,
"end": 8378,
"loc": {
"start": {
"line": 228,
"column": 13
},
"end": {
"line": 228,
"column": 47
},
"identifierName": "onSelectedPlacementBuildingChanged"
},
"name": "onSelectedPlacementBuildingChanged"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 8379,
"end": 8391,
"loc": {
"start": {
"line": 228,
"column": 48
},
"end": {
"line": 228,
"column": 60
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {MetaBuilding} metaBuilding\r\n ",
"start": 7495,
"end": 7550,
"loc": {
"start": {
"line": 203,
"column": 4
},
"end": {
"line": 205,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n * @param {object} param0\r\n * @param {Array<typeof MetaBuilding>} param0.primaryBuildings\r\n * @param {Array<typeof MetaBuilding>=} param0.secondaryBuildings\r\n * @param {function} param0.visibilityCondition\r\n * @param {string} param0.htmlElementId\r\n * @param {Layer=} param0.layer\r\n ",
"start": 506,
"end": 854,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 19,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Object.<string, {\r\n * metaBuilding: MetaBuilding,\r\n * unlocked: boolean,\r\n * selected: boolean,\r\n * element: HTMLElement,\r\n * index: number\r\n * }>} ",
"start": 1270,
"end": 1479,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 37,
"column": 17
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Should create all require elements\r\n * @param {HTMLElement} parent\r\n ",
"start": 1530,
"end": 1621,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 44,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns all buildings\r\n * @returns {Array<typeof MetaBuilding>}\r\n ",
"start": 1760,
"end": 1848,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 52,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Updates the toolbar\r\n ",
"start": 4245,
"end": 4285,
"loc": {
"start": {
"line": 117,
"column": 4
},
"end": {
"line": 119,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Cycles through all buildings\r\n ",
"start": 5564,
"end": 5613,
"loc": {
"start": {
"line": 151,
"column": 4
},
"end": {
"line": 153,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Called when the selected building got changed\r\n * @param {MetaBuilding} metaBuilding\r\n ",
"start": 6746,
"end": 6855,
"loc": {
"start": {
"line": 183,
"column": 4
},
"end": {
"line": 186,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {MetaBuilding} metaBuilding\r\n ",
"start": 7495,
"end": 7550,
"loc": {
"start": {
"line": 203,
"column": 4
},
"end": {
"line": 205,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Not active",
"start": 7656,
"end": 7669,
"loc": {
"start": {
"line": 208,
"column": 12
},
"end": {
"line": 208,
"column": 25
}
}
},
{
"type": "CommentLine",
"value": " Allow clicking an item again to deselect it",
"start": 7868,
"end": 7914,
"loc": {
"start": {
"line": 217,
"column": 8
},
"end": {
"line": 217,
"column": 54
}
}
}
],
"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": "gMetaBuildingRegistry",
"start": 9,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 31,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 31
},
"end": {
"line": 1,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 33,
"end": 37,
"loc": {
"start": {
"line": 1,
"column": 33
},
"end": {
"line": 1,
"column": 37
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../../core/global_registries",
"start": 38,
"end": 71,
"loc": {
"start": {
"line": 1,
"column": 38
},
"end": {
"line": 1,
"column": 71
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 71,
"end": 72,
"loc": {
"start": {
"line": 1,
"column": 71
},
"end": {
"line": 1,
"column": 72
}
}
},
{
"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": 74,
"end": 80,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 81,
"end": 82,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "STOP_PROPAGATION",
"start": 83,
"end": 99,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 100,
"end": 101,
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 102,
"end": 106,
"loc": {
"start": {
"line": 2,
"column": 28
},
"end": {
"line": 2,
"column": 32
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../../core/signal",
"start": 107,
"end": 129,
"loc": {
"start": {
"line": 2,
"column": 33
},
"end": {
"line": 2,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 129,
"end": 130,
"loc": {
"start": {
"line": 2,
"column": 55
},
"end": {
"line": 2,
"column": 56
}
}
},
{
"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": 132,
"end": 138,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 139,
"end": 140,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeDiv",
"start": 141,
"end": 148,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 148,
"end": 149,
"loc": {
"start": {
"line": 3,
"column": 16
},
"end": {
"line": 3,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "safeModulo",
"start": 150,
"end": 160,
"loc": {
"start": {
"line": 3,
"column": 18
},
"end": {
"line": 3,
"column": 28
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 161,
"end": 162,
"loc": {
"start": {
"line": 3,
"column": 29
},
"end": {
"line": 3,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 163,
"end": 167,
"loc": {
"start": {
"line": 3,
"column": 31
},
"end": {
"line": 3,
"column": 35
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../../core/utils",
"start": 168,
"end": 189,
"loc": {
"start": {
"line": 3,
"column": 36
},
"end": {
"line": 3,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 189,
"end": 190,
"loc": {
"start": {
"line": 3,
"column": 57
},
"end": {
"line": 3,
"column": 58
}
}
},
{
"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": 192,
"end": 198,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 199,
"end": 200,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "KEYMAPPINGS",
"start": 201,
"end": 212,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 213,
"end": 214,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 215,
"end": 219,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../key_action_mapper",
"start": 220,
"end": 245,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 245,
"end": 246,
"loc": {
"start": {
"line": 4,
"column": 53
},
"end": {
"line": 4,
"column": 54
}
}
},
{
"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": 248,
"end": 254,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 255,
"end": 256,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBuilding",
"start": 257,
"end": 269,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 270,
"end": 271,
"loc": {
"start": {
"line": 5,
"column": 22
},
"end": {
"line": 5,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 272,
"end": 276,
"loc": {
"start": {
"line": 5,
"column": 24
},
"end": {
"line": 5,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../meta_building",
"start": 277,
"end": 298,
"loc": {
"start": {
"line": 5,
"column": 29
},
"end": {
"line": 5,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 298,
"end": 299,
"loc": {
"start": {
"line": 5,
"column": 50
},
"end": {
"line": 5,
"column": 51
}
}
},
{
"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": 301,
"end": 307,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 308,
"end": 309,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameRoot",
"start": 310,
"end": 318,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 319,
"end": 320,
"loc": {
"start": {
"line": 6,
"column": 18
},
"end": {
"line": 6,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 321,
"end": 325,
"loc": {
"start": {
"line": 6,
"column": 20
},
"end": {
"line": 6,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../root",
"start": 326,
"end": 338,
"loc": {
"start": {
"line": 6,
"column": 25
},
"end": {
"line": 6,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 338,
"end": 339,
"loc": {
"start": {
"line": 6,
"column": 37
},
"end": {
"line": 6,
"column": 38
}
}
},
{
"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": 341,
"end": 347,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 348,
"end": 349,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BaseHUDPart",
"start": 350,
"end": 361,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 362,
"end": 363,
"loc": {
"start": {
"line": 7,
"column": 21
},
"end": {
"line": 7,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 364,
"end": 368,
"loc": {
"start": {
"line": 7,
"column": 23
},
"end": {
"line": 7,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../base_hud_part",
"start": 369,
"end": 387,
"loc": {
"start": {
"line": 7,
"column": 28
},
"end": {
"line": 7,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 387,
"end": 388,
"loc": {
"start": {
"line": 7,
"column": 46
},
"end": {
"line": 7,
"column": 47
}
}
},
{
"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": 390,
"end": 396,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 397,
"end": 398,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "DynamicDomAttach",
"start": 399,
"end": 415,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 416,
"end": 417,
"loc": {
"start": {
"line": 8,
"column": 26
},
"end": {
"line": 8,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 418,
"end": 422,
"loc": {
"start": {
"line": 8,
"column": 28
},
"end": {
"line": 8,
"column": 32
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../dynamic_dom_attach",
"start": 423,
"end": 446,
"loc": {
"start": {
"line": 8,
"column": 33
},
"end": {
"line": 8,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 446,
"end": 447,
"loc": {
"start": {
"line": 8,
"column": 56
},
"end": {
"line": 8,
"column": 57
}
}
},
{
"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": 451,
"end": 457,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 6
}
}
},
{
"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": 458,
"end": 463,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HUDBaseToolbar",
"start": 464,
"end": 478,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 27
}
}
},
{
"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": 479,
"end": 486,
"loc": {
"start": {
"line": 10,
"column": 28
},
"end": {
"line": 10,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BaseHUDPart",
"start": 487,
"end": 498,
"loc": {
"start": {
"line": 10,
"column": 36
},
"end": {
"line": 10,
"column": 47
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 499,
"end": 500,
"loc": {
"start": {
"line": 10,
"column": 48
},
"end": {
"line": 10,
"column": 49
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n * @param {object} param0\r\n * @param {Array<typeof MetaBuilding>} param0.primaryBuildings\r\n * @param {Array<typeof MetaBuilding>=} param0.secondaryBuildings\r\n * @param {function} param0.visibilityCondition\r\n * @param {string} param0.htmlElementId\r\n * @param {Layer=} param0.layer\r\n ",
"start": 506,
"end": 854,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 19,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 860,
"end": 871,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 871,
"end": 872,
"loc": {
"start": {
"line": 20,
"column": 15
},
"end": {
"line": 20,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 882,
"end": 886,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 12
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 886,
"end": 887,
"loc": {
"start": {
"line": 21,
"column": 12
},
"end": {
"line": 21,
"column": 13
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 888,
"end": 889,
"loc": {
"start": {
"line": 21,
"column": 14
},
"end": {
"line": 21,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "primaryBuildings",
"start": 890,
"end": 906,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 906,
"end": 907,
"loc": {
"start": {
"line": 21,
"column": 32
},
"end": {
"line": 21,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "secondaryBuildings",
"start": 908,
"end": 926,
"loc": {
"start": {
"line": 21,
"column": 34
},
"end": {
"line": 21,
"column": 52
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 927,
"end": 928,
"loc": {
"start": {
"line": 21,
"column": 53
},
"end": {
"line": 21,
"column": 54
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 929,
"end": 930,
"loc": {
"start": {
"line": 21,
"column": 55
},
"end": {
"line": 21,
"column": 56
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 930,
"end": 931,
"loc": {
"start": {
"line": 21,
"column": 56
},
"end": {
"line": 21,
"column": 57
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 931,
"end": 932,
"loc": {
"start": {
"line": 21,
"column": 57
},
"end": {
"line": 21,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibilityCondition",
"start": 933,
"end": 952,
"loc": {
"start": {
"line": 21,
"column": 59
},
"end": {
"line": 21,
"column": 78
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 952,
"end": 953,
"loc": {
"start": {
"line": 21,
"column": 78
},
"end": {
"line": 21,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "htmlElementId",
"start": 954,
"end": 967,
"loc": {
"start": {
"line": 21,
"column": 80
},
"end": {
"line": 21,
"column": 93
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 967,
"end": 968,
"loc": {
"start": {
"line": 21,
"column": 93
},
"end": {
"line": 21,
"column": 94
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layer",
"start": 969,
"end": 974,
"loc": {
"start": {
"line": 21,
"column": 95
},
"end": {
"line": 21,
"column": 100
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 975,
"end": 976,
"loc": {
"start": {
"line": 21,
"column": 101
},
"end": {
"line": 21,
"column": 102
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "regular",
"start": 977,
"end": 986,
"loc": {
"start": {
"line": 21,
"column": 103
},
"end": {
"line": 21,
"column": 112
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 987,
"end": 988,
"loc": {
"start": {
"line": 21,
"column": 113
},
"end": {
"line": 21,
"column": 114
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 994,
"end": 995,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 5
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 996,
"end": 997,
"loc": {
"start": {
"line": 22,
"column": 6
},
"end": {
"line": 22,
"column": 7
}
}
},
{
"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": 1007,
"end": 1012,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1012,
"end": 1013,
"loc": {
"start": {
"line": 23,
"column": 13
},
"end": {
"line": 23,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1013,
"end": 1017,
"loc": {
"start": {
"line": 23,
"column": 14
},
"end": {
"line": 23,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1017,
"end": 1018,
"loc": {
"start": {
"line": 23,
"column": 18
},
"end": {
"line": 23,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1018,
"end": 1019,
"loc": {
"start": {
"line": 23,
"column": 19
},
"end": {
"line": 23,
"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": 1031,
"end": 1035,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1035,
"end": 1036,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "primaryBuildings",
"start": 1036,
"end": 1052,
"loc": {
"start": {
"line": 25,
"column": 13
},
"end": {
"line": 25,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1053,
"end": 1054,
"loc": {
"start": {
"line": 25,
"column": 30
},
"end": {
"line": 25,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "primaryBuildings",
"start": 1055,
"end": 1071,
"loc": {
"start": {
"line": 25,
"column": 32
},
"end": {
"line": 25,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1071,
"end": 1072,
"loc": {
"start": {
"line": 25,
"column": 48
},
"end": {
"line": 25,
"column": 49
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1082,
"end": 1086,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1086,
"end": 1087,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "secondaryBuildings",
"start": 1087,
"end": 1105,
"loc": {
"start": {
"line": 26,
"column": 13
},
"end": {
"line": 26,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1106,
"end": 1107,
"loc": {
"start": {
"line": 26,
"column": 32
},
"end": {
"line": 26,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "secondaryBuildings",
"start": 1108,
"end": 1126,
"loc": {
"start": {
"line": 26,
"column": 34
},
"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": 1126,
"end": 1127,
"loc": {
"start": {
"line": 26,
"column": 52
},
"end": {
"line": 26,
"column": 53
}
}
},
{
"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": 1137,
"end": 1141,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1141,
"end": 1142,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibilityCondition",
"start": 1142,
"end": 1161,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1162,
"end": 1163,
"loc": {
"start": {
"line": 27,
"column": 33
},
"end": {
"line": 27,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibilityCondition",
"start": 1164,
"end": 1183,
"loc": {
"start": {
"line": 27,
"column": 35
},
"end": {
"line": 27,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1183,
"end": 1184,
"loc": {
"start": {
"line": 27,
"column": 54
},
"end": {
"line": 27,
"column": 55
}
}
},
{
"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": 1194,
"end": 1198,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1198,
"end": 1199,
"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": "htmlElementId",
"start": 1199,
"end": 1212,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1213,
"end": 1214,
"loc": {
"start": {
"line": 28,
"column": 27
},
"end": {
"line": 28,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "htmlElementId",
"start": 1215,
"end": 1228,
"loc": {
"start": {
"line": 28,
"column": 29
},
"end": {
"line": 28,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1228,
"end": 1229,
"loc": {
"start": {
"line": 28,
"column": 42
},
"end": {
"line": 28,
"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": 1239,
"end": 1243,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1243,
"end": 1244,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layer",
"start": 1244,
"end": 1249,
"loc": {
"start": {
"line": 29,
"column": 13
},
"end": {
"line": 29,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1250,
"end": 1251,
"loc": {
"start": {
"line": 29,
"column": 19
},
"end": {
"line": 29,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layer",
"start": 1252,
"end": 1257,
"loc": {
"start": {
"line": 29,
"column": 21
},
"end": {
"line": 29,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1257,
"end": 1258,
"loc": {
"start": {
"line": 29,
"column": 26
},
"end": {
"line": 29,
"column": 27
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Object.<string, {\r\n * metaBuilding: MetaBuilding,\r\n * unlocked: boolean,\r\n * selected: boolean,\r\n * element: HTMLElement,\r\n * index: number\r\n * }>} ",
"start": 1270,
"end": 1479,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 37,
"column": 17
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1489,
"end": 1493,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1493,
"end": 1494,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildingHandles",
"start": 1494,
"end": 1509,
"loc": {
"start": {
"line": 38,
"column": 13
},
"end": {
"line": 38,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1510,
"end": 1511,
"loc": {
"start": {
"line": 38,
"column": 29
},
"end": {
"line": 38,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1512,
"end": 1513,
"loc": {
"start": {
"line": 38,
"column": 31
},
"end": {
"line": 38,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1513,
"end": 1514,
"loc": {
"start": {
"line": 38,
"column": 32
},
"end": {
"line": 38,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1514,
"end": 1515,
"loc": {
"start": {
"line": 38,
"column": 33
},
"end": {
"line": 38,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1521,
"end": 1522,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Should create all require elements\r\n * @param {HTMLElement} parent\r\n ",
"start": 1530,
"end": 1621,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 44,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createElements",
"start": 1627,
"end": 1641,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1641,
"end": 1642,
"loc": {
"start": {
"line": 45,
"column": 18
},
"end": {
"line": 45,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 1642,
"end": 1648,
"loc": {
"start": {
"line": 45,
"column": 19
},
"end": {
"line": 45,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1648,
"end": 1649,
"loc": {
"start": {
"line": 45,
"column": 25
},
"end": {
"line": 45,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1650,
"end": 1651,
"loc": {
"start": {
"line": 45,
"column": 27
},
"end": {
"line": 45,
"column": 28
}
}
},
{
"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": 1661,
"end": 1665,
"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": 1665,
"end": 1666,
"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": "element",
"start": 1666,
"end": 1673,
"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": 1674,
"end": 1675,
"loc": {
"start": {
"line": 46,
"column": 21
},
"end": {
"line": 46,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeDiv",
"start": 1676,
"end": 1683,
"loc": {
"start": {
"line": 46,
"column": 23
},
"end": {
"line": 46,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1683,
"end": 1684,
"loc": {
"start": {
"line": 46,
"column": 30
},
"end": {
"line": 46,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 1684,
"end": 1690,
"loc": {
"start": {
"line": 46,
"column": 31
},
"end": {
"line": 46,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1690,
"end": 1691,
"loc": {
"start": {
"line": 46,
"column": 37
},
"end": {
"line": 46,
"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": 1692,
"end": 1696,
"loc": {
"start": {
"line": 46,
"column": 39
},
"end": {
"line": 46,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1696,
"end": 1697,
"loc": {
"start": {
"line": 46,
"column": 43
},
"end": {
"line": 46,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "htmlElementId",
"start": 1697,
"end": 1710,
"loc": {
"start": {
"line": 46,
"column": 44
},
"end": {
"line": 46,
"column": 57
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1710,
"end": 1711,
"loc": {
"start": {
"line": 46,
"column": 57
},
"end": {
"line": 46,
"column": 58
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1712,
"end": 1713,
"loc": {
"start": {
"line": 46,
"column": 59
},
"end": {
"line": 46,
"column": 60
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "ingame_buildingsToolbar",
"start": 1713,
"end": 1738,
"loc": {
"start": {
"line": 46,
"column": 60
},
"end": {
"line": 46,
"column": 85
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1738,
"end": 1739,
"loc": {
"start": {
"line": 46,
"column": 85
},
"end": {
"line": 46,
"column": 86
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1739,
"end": 1740,
"loc": {
"start": {
"line": 46,
"column": 86
},
"end": {
"line": 46,
"column": 87
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 1741,
"end": 1743,
"loc": {
"start": {
"line": 46,
"column": 88
},
"end": {
"line": 46,
"column": 90
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1743,
"end": 1744,
"loc": {
"start": {
"line": 46,
"column": 90
},
"end": {
"line": 46,
"column": 91
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1744,
"end": 1745,
"loc": {
"start": {
"line": 46,
"column": 91
},
"end": {
"line": 46,
"column": 92
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1751,
"end": 1752,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns all buildings\r\n * @returns {Array<typeof MetaBuilding>}\r\n ",
"start": 1760,
"end": 1848,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 52,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 1854,
"end": 1857,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allBuildings",
"start": 1858,
"end": 1870,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1870,
"end": 1871,
"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": 1871,
"end": 1872,
"loc": {
"start": {
"line": 53,
"column": 21
},
"end": {
"line": 53,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1873,
"end": 1874,
"loc": {
"start": {
"line": 53,
"column": 23
},
"end": {
"line": 53,
"column": 24
}
}
},
{
"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": 1884,
"end": 1890,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 14
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1891,
"end": 1892,
"loc": {
"start": {
"line": 54,
"column": 15
},
"end": {
"line": 54,
"column": 16
}
}
},
{
"type": {
"label": "...",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1892,
"end": 1895,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"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": 1895,
"end": 1899,
"loc": {
"start": {
"line": 54,
"column": 19
},
"end": {
"line": 54,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1899,
"end": 1900,
"loc": {
"start": {
"line": 54,
"column": 23
},
"end": {
"line": 54,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "primaryBuildings",
"start": 1900,
"end": 1916,
"loc": {
"start": {
"line": 54,
"column": 24
},
"end": {
"line": 54,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1916,
"end": 1917,
"loc": {
"start": {
"line": 54,
"column": 40
},
"end": {
"line": 54,
"column": 41
}
}
},
{
"type": {
"label": "...",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1918,
"end": 1921,
"loc": {
"start": {
"line": 54,
"column": 42
},
"end": {
"line": 54,
"column": 45
}
}
},
{
"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": 1921,
"end": 1925,
"loc": {
"start": {
"line": 54,
"column": 45
},
"end": {
"line": 54,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1925,
"end": 1926,
"loc": {
"start": {
"line": 54,
"column": 49
},
"end": {
"line": 54,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "secondaryBuildings",
"start": 1926,
"end": 1944,
"loc": {
"start": {
"line": 54,
"column": 50
},
"end": {
"line": 54,
"column": 68
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1944,
"end": 1945,
"loc": {
"start": {
"line": 54,
"column": 68
},
"end": {
"line": 54,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1945,
"end": 1946,
"loc": {
"start": {
"line": 54,
"column": 69
},
"end": {
"line": 54,
"column": 70
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1952,
"end": 1953,
"loc": {
"start": {
"line": 55,
"column": 4
},
"end": {
"line": 55,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "initialize",
"start": 1961,
"end": 1971,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 57,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1971,
"end": 1972,
"loc": {
"start": {
"line": 57,
"column": 14
},
"end": {
"line": 57,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1972,
"end": 1973,
"loc": {
"start": {
"line": 57,
"column": 15
},
"end": {
"line": 57,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1974,
"end": 1975,
"loc": {
"start": {
"line": 57,
"column": 17
},
"end": {
"line": 57,
"column": 18
}
}
},
{
"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": 1985,
"end": 1990,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "actionMapper",
"start": 1991,
"end": 2003,
"loc": {
"start": {
"line": 58,
"column": 14
},
"end": {
"line": 58,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2004,
"end": 2005,
"loc": {
"start": {
"line": 58,
"column": 27
},
"end": {
"line": 58,
"column": 28
}
}
},
{
"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": 2006,
"end": 2010,
"loc": {
"start": {
"line": 58,
"column": 29
},
"end": {
"line": 58,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2010,
"end": 2011,
"loc": {
"start": {
"line": 58,
"column": 33
},
"end": {
"line": 58,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2011,
"end": 2015,
"loc": {
"start": {
"line": 58,
"column": 34
},
"end": {
"line": 58,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2015,
"end": 2016,
"loc": {
"start": {
"line": 58,
"column": 38
},
"end": {
"line": 58,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "keyMapper",
"start": 2016,
"end": 2025,
"loc": {
"start": {
"line": 58,
"column": 39
},
"end": {
"line": 58,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2025,
"end": 2026,
"loc": {
"start": {
"line": 58,
"column": 48
},
"end": {
"line": 58,
"column": 49
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 2036,
"end": 2039,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rowSecondary",
"start": 2040,
"end": 2052,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2052,
"end": 2053,
"loc": {
"start": {
"line": 59,
"column": 24
},
"end": {
"line": 59,
"column": 25
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2063,
"end": 2065,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2066,
"end": 2067,
"loc": {
"start": {
"line": 60,
"column": 11
},
"end": {
"line": 60,
"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": 2067,
"end": 2071,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 60,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2071,
"end": 2072,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "secondaryBuildings",
"start": 2072,
"end": 2090,
"loc": {
"start": {
"line": 60,
"column": 17
},
"end": {
"line": 60,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2090,
"end": 2091,
"loc": {
"start": {
"line": 60,
"column": 35
},
"end": {
"line": 60,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 2091,
"end": 2097,
"loc": {
"start": {
"line": 60,
"column": 36
},
"end": {
"line": 60,
"column": 42
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 2098,
"end": 2099,
"loc": {
"start": {
"line": 60,
"column": 43
},
"end": {
"line": 60,
"column": 44
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2100,
"end": 2101,
"loc": {
"start": {
"line": 60,
"column": 45
},
"end": {
"line": 60,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2101,
"end": 2102,
"loc": {
"start": {
"line": 60,
"column": 46
},
"end": {
"line": 60,
"column": 47
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2103,
"end": 2104,
"loc": {
"start": {
"line": 60,
"column": 48
},
"end": {
"line": 60,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rowSecondary",
"start": 2118,
"end": 2130,
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2131,
"end": 2132,
"loc": {
"start": {
"line": 61,
"column": 25
},
"end": {
"line": 61,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeDiv",
"start": 2133,
"end": 2140,
"loc": {
"start": {
"line": 61,
"column": 27
},
"end": {
"line": 61,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2140,
"end": 2141,
"loc": {
"start": {
"line": 61,
"column": 34
},
"end": {
"line": 61,
"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": 2141,
"end": 2145,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2145,
"end": 2146,
"loc": {
"start": {
"line": 61,
"column": 39
},
"end": {
"line": 61,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 2146,
"end": 2153,
"loc": {
"start": {
"line": 61,
"column": 40
},
"end": {
"line": 61,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2153,
"end": 2154,
"loc": {
"start": {
"line": 61,
"column": 47
},
"end": {
"line": 61,
"column": 48
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 2155,
"end": 2159,
"loc": {
"start": {
"line": 61,
"column": 49
},
"end": {
"line": 61,
"column": 53
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2159,
"end": 2160,
"loc": {
"start": {
"line": 61,
"column": 53
},
"end": {
"line": 61,
"column": 54
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2161,
"end": 2162,
"loc": {
"start": {
"line": 61,
"column": 55
},
"end": {
"line": 61,
"column": 56
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "buildings",
"start": 2162,
"end": 2173,
"loc": {
"start": {
"line": 61,
"column": 56
},
"end": {
"line": 61,
"column": 67
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2173,
"end": 2174,
"loc": {
"start": {
"line": 61,
"column": 67
},
"end": {
"line": 61,
"column": 68
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "secondary",
"start": 2175,
"end": 2186,
"loc": {
"start": {
"line": 61,
"column": 69
},
"end": {
"line": 61,
"column": 80
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2186,
"end": 2187,
"loc": {
"start": {
"line": 61,
"column": 80
},
"end": {
"line": 61,
"column": 81
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2187,
"end": 2188,
"loc": {
"start": {
"line": 61,
"column": 81
},
"end": {
"line": 61,
"column": 82
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2188,
"end": 2189,
"loc": {
"start": {
"line": 61,
"column": 82
},
"end": {
"line": 61,
"column": 83
}
}
},
{
"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": 2205,
"end": 2209,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2209,
"end": 2210,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "secondaryDomAttach",
"start": 2210,
"end": 2228,
"loc": {
"start": {
"line": 63,
"column": 17
},
"end": {
"line": 63,
"column": 35
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2229,
"end": 2230,
"loc": {
"start": {
"line": 63,
"column": 36
},
"end": {
"line": 63,
"column": 37
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 2231,
"end": 2234,
"loc": {
"start": {
"line": 63,
"column": 38
},
"end": {
"line": 63,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "DynamicDomAttach",
"start": 2235,
"end": 2251,
"loc": {
"start": {
"line": 63,
"column": 42
},
"end": {
"line": 63,
"column": 58
}
}
},
{
"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": 63,
"column": 58
},
"end": {
"line": 63,
"column": 59
}
}
},
{
"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": 2252,
"end": 2256,
"loc": {
"start": {
"line": 63,
"column": 59
},
"end": {
"line": 63,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2256,
"end": 2257,
"loc": {
"start": {
"line": 63,
"column": 63
},
"end": {
"line": 63,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2257,
"end": 2261,
"loc": {
"start": {
"line": 63,
"column": 64
},
"end": {
"line": 63,
"column": 68
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2261,
"end": 2262,
"loc": {
"start": {
"line": 63,
"column": 68
},
"end": {
"line": 63,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rowSecondary",
"start": 2263,
"end": 2275,
"loc": {
"start": {
"line": 63,
"column": 70
},
"end": {
"line": 63,
"column": 82
}
}
},
{
"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": 63,
"column": 82
},
"end": {
"line": 63,
"column": 83
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2277,
"end": 2278,
"loc": {
"start": {
"line": 63,
"column": 84
},
"end": {
"line": 63,
"column": 85
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "attachClass",
"start": 2296,
"end": 2307,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 27
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2307,
"end": 2308,
"loc": {
"start": {
"line": 64,
"column": 27
},
"end": {
"line": 64,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "visible",
"start": 2309,
"end": 2318,
"loc": {
"start": {
"line": 64,
"column": 29
},
"end": {
"line": 64,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2318,
"end": 2319,
"loc": {
"start": {
"line": 64,
"column": 38
},
"end": {
"line": 64,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2333,
"end": 2334,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 13
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2334,
"end": 2335,
"loc": {
"start": {
"line": 65,
"column": 13
},
"end": {
"line": 65,
"column": 14
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2335,
"end": 2336,
"loc": {
"start": {
"line": 65,
"column": 14
},
"end": {
"line": 65,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2346,
"end": 2347,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2359,
"end": 2364,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rowPrimary",
"start": 2365,
"end": 2375,
"loc": {
"start": {
"line": 68,
"column": 14
},
"end": {
"line": 68,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2376,
"end": 2377,
"loc": {
"start": {
"line": 68,
"column": 25
},
"end": {
"line": 68,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeDiv",
"start": 2378,
"end": 2385,
"loc": {
"start": {
"line": 68,
"column": 27
},
"end": {
"line": 68,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2385,
"end": 2386,
"loc": {
"start": {
"line": 68,
"column": 34
},
"end": {
"line": 68,
"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": 2386,
"end": 2390,
"loc": {
"start": {
"line": 68,
"column": 35
},
"end": {
"line": 68,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2390,
"end": 2391,
"loc": {
"start": {
"line": 68,
"column": 39
},
"end": {
"line": 68,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 2391,
"end": 2398,
"loc": {
"start": {
"line": 68,
"column": 40
},
"end": {
"line": 68,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2398,
"end": 2399,
"loc": {
"start": {
"line": 68,
"column": 47
},
"end": {
"line": 68,
"column": 48
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 2400,
"end": 2404,
"loc": {
"start": {
"line": 68,
"column": 49
},
"end": {
"line": 68,
"column": 53
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2404,
"end": 2405,
"loc": {
"start": {
"line": 68,
"column": 53
},
"end": {
"line": 68,
"column": 54
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2406,
"end": 2407,
"loc": {
"start": {
"line": 68,
"column": 55
},
"end": {
"line": 68,
"column": 56
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "buildings",
"start": 2407,
"end": 2418,
"loc": {
"start": {
"line": 68,
"column": 56
},
"end": {
"line": 68,
"column": 67
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2418,
"end": 2419,
"loc": {
"start": {
"line": 68,
"column": 67
},
"end": {
"line": 68,
"column": 68
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "primary",
"start": 2420,
"end": 2429,
"loc": {
"start": {
"line": 68,
"column": 69
},
"end": {
"line": 68,
"column": 78
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2429,
"end": 2430,
"loc": {
"start": {
"line": 68,
"column": 78
},
"end": {
"line": 68,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2430,
"end": 2431,
"loc": {
"start": {
"line": 68,
"column": 79
},
"end": {
"line": 68,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2431,
"end": 2432,
"loc": {
"start": {
"line": 68,
"column": 80
},
"end": {
"line": 68,
"column": 81
}
}
},
{
"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": 2444,
"end": 2449,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allBuildings",
"start": 2450,
"end": 2462,
"loc": {
"start": {
"line": 70,
"column": 14
},
"end": {
"line": 70,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2463,
"end": 2464,
"loc": {
"start": {
"line": 70,
"column": 27
},
"end": {
"line": 70,
"column": 28
}
}
},
{
"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": 2465,
"end": 2469,
"loc": {
"start": {
"line": 70,
"column": 29
},
"end": {
"line": 70,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2469,
"end": 2470,
"loc": {
"start": {
"line": 70,
"column": 33
},
"end": {
"line": 70,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allBuildings",
"start": 2470,
"end": 2482,
"loc": {
"start": {
"line": 70,
"column": 34
},
"end": {
"line": 70,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2482,
"end": 2483,
"loc": {
"start": {
"line": 70,
"column": 46
},
"end": {
"line": 70,
"column": 47
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 2495,
"end": 2498,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2499,
"end": 2500,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 13
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 2500,
"end": 2503,
"loc": {
"start": {
"line": 72,
"column": 13
},
"end": {
"line": 72,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2504,
"end": 2505,
"loc": {
"start": {
"line": 72,
"column": 17
},
"end": {
"line": 72,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2506,
"end": 2507,
"loc": {
"start": {
"line": 72,
"column": 19
},
"end": {
"line": 72,
"column": 20
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2508,
"end": 2509,
"loc": {
"start": {
"line": 72,
"column": 21
},
"end": {
"line": 72,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2509,
"end": 2510,
"loc": {
"start": {
"line": 72,
"column": 22
},
"end": {
"line": 72,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2511,
"end": 2512,
"loc": {
"start": {
"line": 72,
"column": 24
},
"end": {
"line": 72,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 2513,
"end": 2514,
"loc": {
"start": {
"line": 72,
"column": 26
},
"end": {
"line": 72,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allBuildings",
"start": 2515,
"end": 2527,
"loc": {
"start": {
"line": 72,
"column": 28
},
"end": {
"line": 72,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2527,
"end": 2528,
"loc": {
"start": {
"line": 72,
"column": 40
},
"end": {
"line": 72,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 2528,
"end": 2534,
"loc": {
"start": {
"line": 72,
"column": 41
},
"end": {
"line": 72,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2534,
"end": 2535,
"loc": {
"start": {
"line": 72,
"column": 47
},
"end": {
"line": 72,
"column": 48
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 2536,
"end": 2538,
"loc": {
"start": {
"line": 72,
"column": 49
},
"end": {
"line": 72,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2538,
"end": 2539,
"loc": {
"start": {
"line": 72,
"column": 51
},
"end": {
"line": 72,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2539,
"end": 2540,
"loc": {
"start": {
"line": 72,
"column": 52
},
"end": {
"line": 72,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2541,
"end": 2542,
"loc": {
"start": {
"line": 72,
"column": 54
},
"end": {
"line": 72,
"column": 55
}
}
},
{
"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": 2556,
"end": 2561,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 2562,
"end": 2574,
"loc": {
"start": {
"line": 73,
"column": 18
},
"end": {
"line": 73,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2575,
"end": 2576,
"loc": {
"start": {
"line": 73,
"column": 31
},
"end": {
"line": 73,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gMetaBuildingRegistry",
"start": 2577,
"end": 2598,
"loc": {
"start": {
"line": 73,
"column": 33
},
"end": {
"line": 73,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2598,
"end": 2599,
"loc": {
"start": {
"line": 73,
"column": 54
},
"end": {
"line": 73,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findByClass",
"start": 2599,
"end": 2610,
"loc": {
"start": {
"line": 73,
"column": 55
},
"end": {
"line": 73,
"column": 66
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2610,
"end": 2611,
"loc": {
"start": {
"line": 73,
"column": 66
},
"end": {
"line": 73,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allBuildings",
"start": 2611,
"end": 2623,
"loc": {
"start": {
"line": 73,
"column": 67
},
"end": {
"line": 73,
"column": 79
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2623,
"end": 2624,
"loc": {
"start": {
"line": 73,
"column": 79
},
"end": {
"line": 73,
"column": 80
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2624,
"end": 2625,
"loc": {
"start": {
"line": 73,
"column": 80
},
"end": {
"line": 73,
"column": 81
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2625,
"end": 2626,
"loc": {
"start": {
"line": 73,
"column": 81
},
"end": {
"line": 73,
"column": 82
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2626,
"end": 2627,
"loc": {
"start": {
"line": 73,
"column": 82
},
"end": {
"line": 73,
"column": 83
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2627,
"end": 2628,
"loc": {
"start": {
"line": 73,
"column": 83
},
"end": {
"line": 73,
"column": 84
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 2644,
"end": 2647,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rawBinding",
"start": 2648,
"end": 2658,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2659,
"end": 2660,
"loc": {
"start": {
"line": 75,
"column": 27
},
"end": {
"line": 75,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "KEYMAPPINGS",
"start": 2661,
"end": 2672,
"loc": {
"start": {
"line": 75,
"column": 29
},
"end": {
"line": 75,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2672,
"end": 2673,
"loc": {
"start": {
"line": 75,
"column": 40
},
"end": {
"line": 75,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildings",
"start": 2673,
"end": 2682,
"loc": {
"start": {
"line": 75,
"column": 41
},
"end": {
"line": 75,
"column": 50
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2682,
"end": 2683,
"loc": {
"start": {
"line": 75,
"column": 50
},
"end": {
"line": 75,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 2683,
"end": 2695,
"loc": {
"start": {
"line": 75,
"column": 51
},
"end": {
"line": 75,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2695,
"end": 2696,
"loc": {
"start": {
"line": 75,
"column": 63
},
"end": {
"line": 75,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 2696,
"end": 2701,
"loc": {
"start": {
"line": 75,
"column": 64
},
"end": {
"line": 75,
"column": 69
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2701,
"end": 2702,
"loc": {
"start": {
"line": 75,
"column": 69
},
"end": {
"line": 75,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2702,
"end": 2703,
"loc": {
"start": {
"line": 75,
"column": 70
},
"end": {
"line": 75,
"column": 71
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2704,
"end": 2705,
"loc": {
"start": {
"line": 75,
"column": 72
},
"end": {
"line": 75,
"column": 73
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "_",
"start": 2706,
"end": 2709,
"loc": {
"start": {
"line": 75,
"column": 74
},
"end": {
"line": 75,
"column": 77
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2710,
"end": 2711,
"loc": {
"start": {
"line": 75,
"column": 78
},
"end": {
"line": 75,
"column": 79
}
}
},
{
"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": 2712,
"end": 2716,
"loc": {
"start": {
"line": 75,
"column": 80
},
"end": {
"line": 75,
"column": 84
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2716,
"end": 2717,
"loc": {
"start": {
"line": 75,
"column": 84
},
"end": {
"line": 75,
"column": 85
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layer",
"start": 2717,
"end": 2722,
"loc": {
"start": {
"line": 75,
"column": 85
},
"end": {
"line": 75,
"column": 90
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2722,
"end": 2723,
"loc": {
"start": {
"line": 75,
"column": 90
},
"end": {
"line": 75,
"column": 91
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2723,
"end": 2724,
"loc": {
"start": {
"line": 75,
"column": 91
},
"end": {
"line": 75,
"column": 92
}
}
},
{
"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": 2738,
"end": 2740,
"loc": {
"start": {
"line": 76,
"column": 12
},
"end": {
"line": 76,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2741,
"end": 2742,
"loc": {
"start": {
"line": 76,
"column": 15
},
"end": {
"line": 76,
"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": 2742,
"end": 2743,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rawBinding",
"start": 2743,
"end": 2753,
"loc": {
"start": {
"line": 76,
"column": 17
},
"end": {
"line": 76,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2753,
"end": 2754,
"loc": {
"start": {
"line": 76,
"column": 27
},
"end": {
"line": 76,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2755,
"end": 2756,
"loc": {
"start": {
"line": 76,
"column": 29
},
"end": {
"line": 76,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rawBinding",
"start": 2774,
"end": 2784,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2785,
"end": 2786,
"loc": {
"start": {
"line": 77,
"column": 27
},
"end": {
"line": 77,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "KEYMAPPINGS",
"start": 2787,
"end": 2798,
"loc": {
"start": {
"line": 77,
"column": 29
},
"end": {
"line": 77,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2798,
"end": 2799,
"loc": {
"start": {
"line": 77,
"column": 40
},
"end": {
"line": 77,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildings",
"start": 2799,
"end": 2808,
"loc": {
"start": {
"line": 77,
"column": 41
},
"end": {
"line": 77,
"column": 50
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2808,
"end": 2809,
"loc": {
"start": {
"line": 77,
"column": 50
},
"end": {
"line": 77,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 2809,
"end": 2821,
"loc": {
"start": {
"line": 77,
"column": 51
},
"end": {
"line": 77,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2821,
"end": 2822,
"loc": {
"start": {
"line": 77,
"column": 63
},
"end": {
"line": 77,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 2822,
"end": 2827,
"loc": {
"start": {
"line": 77,
"column": 64
},
"end": {
"line": 77,
"column": 69
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2827,
"end": 2828,
"loc": {
"start": {
"line": 77,
"column": 69
},
"end": {
"line": 77,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2828,
"end": 2829,
"loc": {
"start": {
"line": 77,
"column": 70
},
"end": {
"line": 77,
"column": 71
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2829,
"end": 2830,
"loc": {
"start": {
"line": 77,
"column": 71
},
"end": {
"line": 77,
"column": 72
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2830,
"end": 2831,
"loc": {
"start": {
"line": 77,
"column": 72
},
"end": {
"line": 77,
"column": 73
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2845,
"end": 2846,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 13
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2862,
"end": 2867,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "binding",
"start": 2868,
"end": 2875,
"loc": {
"start": {
"line": 80,
"column": 18
},
"end": {
"line": 80,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2876,
"end": 2877,
"loc": {
"start": {
"line": 80,
"column": 26
},
"end": {
"line": 80,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "actionMapper",
"start": 2878,
"end": 2890,
"loc": {
"start": {
"line": 80,
"column": 28
},
"end": {
"line": 80,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2890,
"end": 2891,
"loc": {
"start": {
"line": 80,
"column": 40
},
"end": {
"line": 80,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBinding",
"start": 2891,
"end": 2901,
"loc": {
"start": {
"line": 80,
"column": 41
},
"end": {
"line": 80,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2901,
"end": 2902,
"loc": {
"start": {
"line": 80,
"column": 51
},
"end": {
"line": 80,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rawBinding",
"start": 2902,
"end": 2912,
"loc": {
"start": {
"line": 80,
"column": 52
},
"end": {
"line": 80,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2912,
"end": 2913,
"loc": {
"start": {
"line": 80,
"column": 62
},
"end": {
"line": 80,
"column": 63
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2913,
"end": 2914,
"loc": {
"start": {
"line": 80,
"column": 63
},
"end": {
"line": 80,
"column": 64
}
}
},
{
"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": 2930,
"end": 2935,
"loc": {
"start": {
"line": 82,
"column": 12
},
"end": {
"line": 82,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemContainer",
"start": 2936,
"end": 2949,
"loc": {
"start": {
"line": 82,
"column": 18
},
"end": {
"line": 82,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2950,
"end": 2951,
"loc": {
"start": {
"line": 82,
"column": 32
},
"end": {
"line": 82,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeDiv",
"start": 2952,
"end": 2959,
"loc": {
"start": {
"line": 82,
"column": 34
},
"end": {
"line": 82,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2959,
"end": 2960,
"loc": {
"start": {
"line": 82,
"column": 41
},
"end": {
"line": 82,
"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": 2978,
"end": 2982,
"loc": {
"start": {
"line": 83,
"column": 16
},
"end": {
"line": 83,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2982,
"end": 2983,
"loc": {
"start": {
"line": 83,
"column": 20
},
"end": {
"line": 83,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "primaryBuildings",
"start": 2983,
"end": 2999,
"loc": {
"start": {
"line": 83,
"column": 21
},
"end": {
"line": 83,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2999,
"end": 3000,
"loc": {
"start": {
"line": 83,
"column": 37
},
"end": {
"line": 83,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "includes",
"start": 3000,
"end": 3008,
"loc": {
"start": {
"line": 83,
"column": 38
},
"end": {
"line": 83,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3008,
"end": 3009,
"loc": {
"start": {
"line": 83,
"column": 46
},
"end": {
"line": 83,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allBuildings",
"start": 3009,
"end": 3021,
"loc": {
"start": {
"line": 83,
"column": 47
},
"end": {
"line": 83,
"column": 59
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3021,
"end": 3022,
"loc": {
"start": {
"line": 83,
"column": 59
},
"end": {
"line": 83,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 3022,
"end": 3023,
"loc": {
"start": {
"line": 83,
"column": 60
},
"end": {
"line": 83,
"column": 61
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3023,
"end": 3024,
"loc": {
"start": {
"line": 83,
"column": 61
},
"end": {
"line": 83,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3024,
"end": 3025,
"loc": {
"start": {
"line": 83,
"column": 62
},
"end": {
"line": 83,
"column": 63
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3026,
"end": 3027,
"loc": {
"start": {
"line": 83,
"column": 64
},
"end": {
"line": 83,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rowPrimary",
"start": 3028,
"end": 3038,
"loc": {
"start": {
"line": 83,
"column": 66
},
"end": {
"line": 83,
"column": 76
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3039,
"end": 3040,
"loc": {
"start": {
"line": 83,
"column": 77
},
"end": {
"line": 83,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rowSecondary",
"start": 3041,
"end": 3053,
"loc": {
"start": {
"line": 83,
"column": 79
},
"end": {
"line": 83,
"column": 91
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3053,
"end": 3054,
"loc": {
"start": {
"line": 83,
"column": 91
},
"end": {
"line": 83,
"column": 92
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 3072,
"end": 3076,
"loc": {
"start": {
"line": 84,
"column": 16
},
"end": {
"line": 84,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3076,
"end": 3077,
"loc": {
"start": {
"line": 84,
"column": 20
},
"end": {
"line": 84,
"column": 21
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3078,
"end": 3079,
"loc": {
"start": {
"line": 84,
"column": 22
},
"end": {
"line": 84,
"column": 23
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "building",
"start": 3079,
"end": 3089,
"loc": {
"start": {
"line": 84,
"column": 23
},
"end": {
"line": 84,
"column": 33
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3089,
"end": 3090,
"loc": {
"start": {
"line": 84,
"column": 33
},
"end": {
"line": 84,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3104,
"end": 3105,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3105,
"end": 3106,
"loc": {
"start": {
"line": 85,
"column": 13
},
"end": {
"line": 85,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemContainer",
"start": 3120,
"end": 3133,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3133,
"end": 3134,
"loc": {
"start": {
"line": 86,
"column": 25
},
"end": {
"line": 86,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setAttribute",
"start": 3134,
"end": 3146,
"loc": {
"start": {
"line": 86,
"column": 26
},
"end": {
"line": 86,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3146,
"end": 3147,
"loc": {
"start": {
"line": 86,
"column": 38
},
"end": {
"line": 86,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "data-icon",
"start": 3147,
"end": 3158,
"loc": {
"start": {
"line": 86,
"column": 39
},
"end": {
"line": 86,
"column": 50
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3158,
"end": 3159,
"loc": {
"start": {
"line": 86,
"column": 50
},
"end": {
"line": 86,
"column": 51
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "building_icons/",
"start": 3160,
"end": 3177,
"loc": {
"start": {
"line": 86,
"column": 52
},
"end": {
"line": 86,
"column": 69
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3178,
"end": 3179,
"loc": {
"start": {
"line": 86,
"column": 70
},
"end": {
"line": 86,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 3180,
"end": 3192,
"loc": {
"start": {
"line": 86,
"column": 72
},
"end": {
"line": 86,
"column": 84
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3192,
"end": 3193,
"loc": {
"start": {
"line": 86,
"column": 84
},
"end": {
"line": 86,
"column": 85
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 3193,
"end": 3198,
"loc": {
"start": {
"line": 86,
"column": 85
},
"end": {
"line": 86,
"column": 90
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3198,
"end": 3199,
"loc": {
"start": {
"line": 86,
"column": 90
},
"end": {
"line": 86,
"column": 91
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3199,
"end": 3200,
"loc": {
"start": {
"line": 86,
"column": 91
},
"end": {
"line": 86,
"column": 92
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3201,
"end": 3202,
"loc": {
"start": {
"line": 86,
"column": 93
},
"end": {
"line": 86,
"column": 94
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ".png",
"start": 3203,
"end": 3209,
"loc": {
"start": {
"line": 86,
"column": 95
},
"end": {
"line": 86,
"column": 101
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3209,
"end": 3210,
"loc": {
"start": {
"line": 86,
"column": 101
},
"end": {
"line": 86,
"column": 102
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3210,
"end": 3211,
"loc": {
"start": {
"line": 86,
"column": 102
},
"end": {
"line": 86,
"column": 103
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemContainer",
"start": 3225,
"end": 3238,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3238,
"end": 3239,
"loc": {
"start": {
"line": 87,
"column": 25
},
"end": {
"line": 87,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setAttribute",
"start": 3239,
"end": 3251,
"loc": {
"start": {
"line": 87,
"column": 26
},
"end": {
"line": 87,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3251,
"end": 3252,
"loc": {
"start": {
"line": 87,
"column": 38
},
"end": {
"line": 87,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "data-id",
"start": 3252,
"end": 3261,
"loc": {
"start": {
"line": 87,
"column": 39
},
"end": {
"line": 87,
"column": 48
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3261,
"end": 3262,
"loc": {
"start": {
"line": 87,
"column": 48
},
"end": {
"line": 87,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 3263,
"end": 3275,
"loc": {
"start": {
"line": 87,
"column": 50
},
"end": {
"line": 87,
"column": 62
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3275,
"end": 3276,
"loc": {
"start": {
"line": 87,
"column": 62
},
"end": {
"line": 87,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 3276,
"end": 3281,
"loc": {
"start": {
"line": 87,
"column": 63
},
"end": {
"line": 87,
"column": 68
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3281,
"end": 3282,
"loc": {
"start": {
"line": 87,
"column": 68
},
"end": {
"line": 87,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3282,
"end": 3283,
"loc": {
"start": {
"line": 87,
"column": 69
},
"end": {
"line": 87,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3283,
"end": 3284,
"loc": {
"start": {
"line": 87,
"column": 70
},
"end": {
"line": 87,
"column": 71
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3284,
"end": 3285,
"loc": {
"start": {
"line": 87,
"column": 71
},
"end": {
"line": 87,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "binding",
"start": 3301,
"end": 3308,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3308,
"end": 3309,
"loc": {
"start": {
"line": 89,
"column": 19
},
"end": {
"line": 89,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 3309,
"end": 3312,
"loc": {
"start": {
"line": 89,
"column": 20
},
"end": {
"line": 89,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3312,
"end": 3313,
"loc": {
"start": {
"line": 89,
"column": 23
},
"end": {
"line": 89,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3313,
"end": 3314,
"loc": {
"start": {
"line": 89,
"column": 24
},
"end": {
"line": 89,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3314,
"end": 3315,
"loc": {
"start": {
"line": 89,
"column": 25
},
"end": {
"line": 89,
"column": 26
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3316,
"end": 3318,
"loc": {
"start": {
"line": 89,
"column": 27
},
"end": {
"line": 89,
"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": 3319,
"end": 3323,
"loc": {
"start": {
"line": 89,
"column": 30
},
"end": {
"line": 89,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3323,
"end": 3324,
"loc": {
"start": {
"line": 89,
"column": 34
},
"end": {
"line": 89,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selectBuildingForPlacement",
"start": 3324,
"end": 3350,
"loc": {
"start": {
"line": 89,
"column": 35
},
"end": {
"line": 89,
"column": 61
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3350,
"end": 3351,
"loc": {
"start": {
"line": 89,
"column": 61
},
"end": {
"line": 89,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 3351,
"end": 3363,
"loc": {
"start": {
"line": 89,
"column": 62
},
"end": {
"line": 89,
"column": 74
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3363,
"end": 3364,
"loc": {
"start": {
"line": 89,
"column": 74
},
"end": {
"line": 89,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3364,
"end": 3365,
"loc": {
"start": {
"line": 89,
"column": 75
},
"end": {
"line": 89,
"column": 76
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3365,
"end": 3366,
"loc": {
"start": {
"line": 89,
"column": 76
},
"end": {
"line": 89,
"column": 77
}
}
},
{
"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": 3382,
"end": 3386,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3386,
"end": 3387,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "trackClicks",
"start": 3387,
"end": 3398,
"loc": {
"start": {
"line": 91,
"column": 17
},
"end": {
"line": 91,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3398,
"end": 3399,
"loc": {
"start": {
"line": 91,
"column": 28
},
"end": {
"line": 91,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemContainer",
"start": 3399,
"end": 3412,
"loc": {
"start": {
"line": 91,
"column": 29
},
"end": {
"line": 91,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3412,
"end": 3413,
"loc": {
"start": {
"line": 91,
"column": 42
},
"end": {
"line": 91,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3414,
"end": 3415,
"loc": {
"start": {
"line": 91,
"column": 44
},
"end": {
"line": 91,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3415,
"end": 3416,
"loc": {
"start": {
"line": 91,
"column": 45
},
"end": {
"line": 91,
"column": 46
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3417,
"end": 3419,
"loc": {
"start": {
"line": 91,
"column": 47
},
"end": {
"line": 91,
"column": 49
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3420,
"end": 3424,
"loc": {
"start": {
"line": 91,
"column": 50
},
"end": {
"line": 91,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3424,
"end": 3425,
"loc": {
"start": {
"line": 91,
"column": 54
},
"end": {
"line": 91,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selectBuildingForPlacement",
"start": 3425,
"end": 3451,
"loc": {
"start": {
"line": 91,
"column": 55
},
"end": {
"line": 91,
"column": 81
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3451,
"end": 3452,
"loc": {
"start": {
"line": 91,
"column": 81
},
"end": {
"line": 91,
"column": 82
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 3452,
"end": 3464,
"loc": {
"start": {
"line": 91,
"column": 82
},
"end": {
"line": 91,
"column": 94
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3464,
"end": 3465,
"loc": {
"start": {
"line": 91,
"column": 94
},
"end": {
"line": 91,
"column": 95
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3465,
"end": 3466,
"loc": {
"start": {
"line": 91,
"column": 95
},
"end": {
"line": 91,
"column": 96
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3467,
"end": 3468,
"loc": {
"start": {
"line": 91,
"column": 97
},
"end": {
"line": 91,
"column": 98
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clickSound",
"start": 3486,
"end": 3496,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 26
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3496,
"end": 3497,
"loc": {
"start": {
"line": 92,
"column": 26
},
"end": {
"line": 92,
"column": 27
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 3498,
"end": 3502,
"loc": {
"start": {
"line": 92,
"column": 28
},
"end": {
"line": 92,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3502,
"end": 3503,
"loc": {
"start": {
"line": 92,
"column": 32
},
"end": {
"line": 92,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3517,
"end": 3518,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 13
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3518,
"end": 3519,
"loc": {
"start": {
"line": 93,
"column": 13
},
"end": {
"line": 93,
"column": 14
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3519,
"end": 3520,
"loc": {
"start": {
"line": 93,
"column": 14
},
"end": {
"line": 93,
"column": 15
}
}
},
{
"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": 3536,
"end": 3540,
"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": 3540,
"end": 3541,
"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": "buildingHandles",
"start": 3541,
"end": 3556,
"loc": {
"start": {
"line": 95,
"column": 17
},
"end": {
"line": 95,
"column": 32
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3556,
"end": 3557,
"loc": {
"start": {
"line": 95,
"column": 32
},
"end": {
"line": 95,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 3557,
"end": 3569,
"loc": {
"start": {
"line": 95,
"column": 33
},
"end": {
"line": 95,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3569,
"end": 3570,
"loc": {
"start": {
"line": 95,
"column": 45
},
"end": {
"line": 95,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 3570,
"end": 3572,
"loc": {
"start": {
"line": 95,
"column": 46
},
"end": {
"line": 95,
"column": 48
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3572,
"end": 3573,
"loc": {
"start": {
"line": 95,
"column": 48
},
"end": {
"line": 95,
"column": 49
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3574,
"end": 3575,
"loc": {
"start": {
"line": 95,
"column": 50
},
"end": {
"line": 95,
"column": 51
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3576,
"end": 3577,
"loc": {
"start": {
"line": 95,
"column": 52
},
"end": {
"line": 95,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 3595,
"end": 3607,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 28
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3607,
"end": 3608,
"loc": {
"start": {
"line": 96,
"column": 28
},
"end": {
"line": 96,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 3626,
"end": 3633,
"loc": {
"start": {
"line": 97,
"column": 16
},
"end": {
"line": 97,
"column": 23
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3633,
"end": 3634,
"loc": {
"start": {
"line": 97,
"column": 23
},
"end": {
"line": 97,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemContainer",
"start": 3635,
"end": 3648,
"loc": {
"start": {
"line": 97,
"column": 25
},
"end": {
"line": 97,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3648,
"end": 3649,
"loc": {
"start": {
"line": 97,
"column": 38
},
"end": {
"line": 97,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unlocked",
"start": 3667,
"end": 3675,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 24
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3675,
"end": 3676,
"loc": {
"start": {
"line": 98,
"column": 24
},
"end": {
"line": 98,
"column": 25
}
}
},
{
"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": 3677,
"end": 3682,
"loc": {
"start": {
"line": 98,
"column": 26
},
"end": {
"line": 98,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3682,
"end": 3683,
"loc": {
"start": {
"line": 98,
"column": 31
},
"end": {
"line": 98,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selected",
"start": 3701,
"end": 3709,
"loc": {
"start": {
"line": 99,
"column": 16
},
"end": {
"line": 99,
"column": 24
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3709,
"end": 3710,
"loc": {
"start": {
"line": 99,
"column": 24
},
"end": {
"line": 99,
"column": 25
}
}
},
{
"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": 3711,
"end": 3716,
"loc": {
"start": {
"line": 99,
"column": 26
},
"end": {
"line": 99,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3716,
"end": 3717,
"loc": {
"start": {
"line": 99,
"column": 31
},
"end": {
"line": 99,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "index",
"start": 3735,
"end": 3740,
"loc": {
"start": {
"line": 100,
"column": 16
},
"end": {
"line": 100,
"column": 21
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3740,
"end": 3741,
"loc": {
"start": {
"line": 100,
"column": 21
},
"end": {
"line": 100,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 3742,
"end": 3743,
"loc": {
"start": {
"line": 100,
"column": 23
},
"end": {
"line": 100,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3743,
"end": 3744,
"loc": {
"start": {
"line": 100,
"column": 24
},
"end": {
"line": 100,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3758,
"end": 3759,
"loc": {
"start": {
"line": 101,
"column": 12
},
"end": {
"line": 101,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3759,
"end": 3760,
"loc": {
"start": {
"line": 101,
"column": 13
},
"end": {
"line": 101,
"column": 14
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3770,
"end": 3771,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"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": 3783,
"end": 3787,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3787,
"end": 3788,
"loc": {
"start": {
"line": 104,
"column": 12
},
"end": {
"line": 104,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3788,
"end": 3792,
"loc": {
"start": {
"line": 104,
"column": 13
},
"end": {
"line": 104,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3792,
"end": 3793,
"loc": {
"start": {
"line": 104,
"column": 17
},
"end": {
"line": 104,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hud",
"start": 3793,
"end": 3796,
"loc": {
"start": {
"line": 104,
"column": 18
},
"end": {
"line": 104,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3796,
"end": 3797,
"loc": {
"start": {
"line": 104,
"column": 21
},
"end": {
"line": 104,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 3797,
"end": 3804,
"loc": {
"start": {
"line": 104,
"column": 22
},
"end": {
"line": 104,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3804,
"end": 3805,
"loc": {
"start": {
"line": 104,
"column": 29
},
"end": {
"line": 104,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selectedPlacementBuildingChanged",
"start": 3805,
"end": 3837,
"loc": {
"start": {
"line": 104,
"column": 30
},
"end": {
"line": 104,
"column": 62
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3837,
"end": 3838,
"loc": {
"start": {
"line": 104,
"column": 62
},
"end": {
"line": 104,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 3838,
"end": 3841,
"loc": {
"start": {
"line": 104,
"column": 63
},
"end": {
"line": 104,
"column": 66
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3841,
"end": 3842,
"loc": {
"start": {
"line": 104,
"column": 66
},
"end": {
"line": 104,
"column": 67
}
}
},
{
"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": 3856,
"end": 3860,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3860,
"end": 3861,
"loc": {
"start": {
"line": 105,
"column": 16
},
"end": {
"line": 105,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onSelectedPlacementBuildingChanged",
"start": 3861,
"end": 3895,
"loc": {
"start": {
"line": 105,
"column": 17
},
"end": {
"line": 105,
"column": 51
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3895,
"end": 3896,
"loc": {
"start": {
"line": 105,
"column": 51
},
"end": {
"line": 105,
"column": 52
}
}
},
{
"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": 3910,
"end": 3914,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3924,
"end": 3925,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 107,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3925,
"end": 3926,
"loc": {
"start": {
"line": 107,
"column": 9
},
"end": {
"line": 107,
"column": 10
}
}
},
{
"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": 3938,
"end": 3942,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3942,
"end": 3943,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "domAttach",
"start": 3943,
"end": 3952,
"loc": {
"start": {
"line": 109,
"column": 13
},
"end": {
"line": 109,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3953,
"end": 3954,
"loc": {
"start": {
"line": 109,
"column": 23
},
"end": {
"line": 109,
"column": 24
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 3955,
"end": 3958,
"loc": {
"start": {
"line": 109,
"column": 25
},
"end": {
"line": 109,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "DynamicDomAttach",
"start": 3959,
"end": 3975,
"loc": {
"start": {
"line": 109,
"column": 29
},
"end": {
"line": 109,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3975,
"end": 3976,
"loc": {
"start": {
"line": 109,
"column": 45
},
"end": {
"line": 109,
"column": 46
}
}
},
{
"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": 3976,
"end": 3980,
"loc": {
"start": {
"line": 109,
"column": 46
},
"end": {
"line": 109,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3980,
"end": 3981,
"loc": {
"start": {
"line": 109,
"column": 50
},
"end": {
"line": 109,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3981,
"end": 3985,
"loc": {
"start": {
"line": 109,
"column": 51
},
"end": {
"line": 109,
"column": 55
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3985,
"end": 3986,
"loc": {
"start": {
"line": 109,
"column": 55
},
"end": {
"line": 109,
"column": 56
}
}
},
{
"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": 3987,
"end": 3991,
"loc": {
"start": {
"line": 109,
"column": 57
},
"end": {
"line": 109,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3991,
"end": 3992,
"loc": {
"start": {
"line": 109,
"column": 61
},
"end": {
"line": 109,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 3992,
"end": 3999,
"loc": {
"start": {
"line": 109,
"column": 62
},
"end": {
"line": 109,
"column": 69
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3999,
"end": 4000,
"loc": {
"start": {
"line": 109,
"column": 69
},
"end": {
"line": 109,
"column": 70
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4001,
"end": 4002,
"loc": {
"start": {
"line": 109,
"column": 71
},
"end": {
"line": 109,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "timeToKeepSeconds",
"start": 4016,
"end": 4033,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 29
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4033,
"end": 4034,
"loc": {
"start": {
"line": 110,
"column": 29
},
"end": {
"line": 110,
"column": 30
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.12,
"start": 4035,
"end": 4039,
"loc": {
"start": {
"line": 110,
"column": 31
},
"end": {
"line": 110,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4039,
"end": 4040,
"loc": {
"start": {
"line": 110,
"column": 35
},
"end": {
"line": 110,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "attachClass",
"start": 4054,
"end": 4065,
"loc": {
"start": {
"line": 111,
"column": 12
},
"end": {
"line": 111,
"column": 23
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4065,
"end": 4066,
"loc": {
"start": {
"line": 111,
"column": 23
},
"end": {
"line": 111,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "visible",
"start": 4067,
"end": 4076,
"loc": {
"start": {
"line": 111,
"column": 25
},
"end": {
"line": 111,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4076,
"end": 4077,
"loc": {
"start": {
"line": 111,
"column": 34
},
"end": {
"line": 111,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4087,
"end": 4088,
"loc": {
"start": {
"line": 112,
"column": 8
},
"end": {
"line": 112,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4088,
"end": 4089,
"loc": {
"start": {
"line": 112,
"column": 9
},
"end": {
"line": 112,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4089,
"end": 4090,
"loc": {
"start": {
"line": 112,
"column": 10
},
"end": {
"line": 112,
"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": 4100,
"end": 4104,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4104,
"end": 4105,
"loc": {
"start": {
"line": 113,
"column": 12
},
"end": {
"line": 113,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastSelectedIndex",
"start": 4105,
"end": 4122,
"loc": {
"start": {
"line": 113,
"column": 13
},
"end": {
"line": 113,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4123,
"end": 4124,
"loc": {
"start": {
"line": 113,
"column": 31
},
"end": {
"line": 113,
"column": 32
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4125,
"end": 4126,
"loc": {
"start": {
"line": 113,
"column": 33
},
"end": {
"line": 113,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4126,
"end": 4127,
"loc": {
"start": {
"line": 113,
"column": 34
},
"end": {
"line": 113,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "actionMapper",
"start": 4137,
"end": 4149,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4149,
"end": 4150,
"loc": {
"start": {
"line": 114,
"column": 20
},
"end": {
"line": 114,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBinding",
"start": 4150,
"end": 4160,
"loc": {
"start": {
"line": 114,
"column": 21
},
"end": {
"line": 114,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4160,
"end": 4161,
"loc": {
"start": {
"line": 114,
"column": 31
},
"end": {
"line": 114,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "KEYMAPPINGS",
"start": 4161,
"end": 4172,
"loc": {
"start": {
"line": 114,
"column": 32
},
"end": {
"line": 114,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4172,
"end": 4173,
"loc": {
"start": {
"line": 114,
"column": 43
},
"end": {
"line": 114,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "placement",
"start": 4173,
"end": 4182,
"loc": {
"start": {
"line": 114,
"column": 44
},
"end": {
"line": 114,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4182,
"end": 4183,
"loc": {
"start": {
"line": 114,
"column": 53
},
"end": {
"line": 114,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cycleBuildings",
"start": 4183,
"end": 4197,
"loc": {
"start": {
"line": 114,
"column": 54
},
"end": {
"line": 114,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4197,
"end": 4198,
"loc": {
"start": {
"line": 114,
"column": 68
},
"end": {
"line": 114,
"column": 69
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4198,
"end": 4199,
"loc": {
"start": {
"line": 114,
"column": 69
},
"end": {
"line": 114,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 4199,
"end": 4202,
"loc": {
"start": {
"line": 114,
"column": 70
},
"end": {
"line": 114,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4202,
"end": 4203,
"loc": {
"start": {
"line": 114,
"column": 73
},
"end": {
"line": 114,
"column": 74
}
}
},
{
"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": 4203,
"end": 4207,
"loc": {
"start": {
"line": 114,
"column": 74
},
"end": {
"line": 114,
"column": 78
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4207,
"end": 4208,
"loc": {
"start": {
"line": 114,
"column": 78
},
"end": {
"line": 114,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cycleBuildings",
"start": 4208,
"end": 4222,
"loc": {
"start": {
"line": 114,
"column": 79
},
"end": {
"line": 114,
"column": 93
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4222,
"end": 4223,
"loc": {
"start": {
"line": 114,
"column": 93
},
"end": {
"line": 114,
"column": 94
}
}
},
{
"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": 4224,
"end": 4228,
"loc": {
"start": {
"line": 114,
"column": 95
},
"end": {
"line": 114,
"column": 99
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4228,
"end": 4229,
"loc": {
"start": {
"line": 114,
"column": 99
},
"end": {
"line": 114,
"column": 100
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4229,
"end": 4230,
"loc": {
"start": {
"line": 114,
"column": 100
},
"end": {
"line": 114,
"column": 101
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4236,
"end": 4237,
"loc": {
"start": {
"line": 115,
"column": 4
},
"end": {
"line": 115,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Updates the toolbar\r\n ",
"start": 4245,
"end": 4285,
"loc": {
"start": {
"line": 117,
"column": 4
},
"end": {
"line": 119,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "update",
"start": 4291,
"end": 4297,
"loc": {
"start": {
"line": 120,
"column": 4
},
"end": {
"line": 120,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4297,
"end": 4298,
"loc": {
"start": {
"line": 120,
"column": 10
},
"end": {
"line": 120,
"column": 11
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4298,
"end": 4299,
"loc": {
"start": {
"line": 120,
"column": 11
},
"end": {
"line": 120,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4300,
"end": 4301,
"loc": {
"start": {
"line": 120,
"column": 13
},
"end": {
"line": 120,
"column": 14
}
}
},
{
"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": 4311,
"end": 4316,
"loc": {
"start": {
"line": 121,
"column": 8
},
"end": {
"line": 121,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visible",
"start": 4317,
"end": 4324,
"loc": {
"start": {
"line": 121,
"column": 14
},
"end": {
"line": 121,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4325,
"end": 4326,
"loc": {
"start": {
"line": 121,
"column": 22
},
"end": {
"line": 121,
"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": 4327,
"end": 4331,
"loc": {
"start": {
"line": 121,
"column": 24
},
"end": {
"line": 121,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4331,
"end": 4332,
"loc": {
"start": {
"line": 121,
"column": 28
},
"end": {
"line": 121,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibilityCondition",
"start": 4332,
"end": 4351,
"loc": {
"start": {
"line": 121,
"column": 29
},
"end": {
"line": 121,
"column": 48
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4351,
"end": 4352,
"loc": {
"start": {
"line": 121,
"column": 48
},
"end": {
"line": 121,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4352,
"end": 4353,
"loc": {
"start": {
"line": 121,
"column": 49
},
"end": {
"line": 121,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4353,
"end": 4354,
"loc": {
"start": {
"line": 121,
"column": 50
},
"end": {
"line": 121,
"column": 51
}
}
},
{
"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": 4364,
"end": 4368,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4368,
"end": 4369,
"loc": {
"start": {
"line": 122,
"column": 12
},
"end": {
"line": 122,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "domAttach",
"start": 4369,
"end": 4378,
"loc": {
"start": {
"line": 122,
"column": 13
},
"end": {
"line": 122,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4378,
"end": 4379,
"loc": {
"start": {
"line": 122,
"column": 22
},
"end": {
"line": 122,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "update",
"start": 4379,
"end": 4385,
"loc": {
"start": {
"line": 122,
"column": 23
},
"end": {
"line": 122,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4385,
"end": 4386,
"loc": {
"start": {
"line": 122,
"column": 29
},
"end": {
"line": 122,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visible",
"start": 4386,
"end": 4393,
"loc": {
"start": {
"line": 122,
"column": 30
},
"end": {
"line": 122,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4393,
"end": 4394,
"loc": {
"start": {
"line": 122,
"column": 37
},
"end": {
"line": 122,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4394,
"end": 4395,
"loc": {
"start": {
"line": 122,
"column": 38
},
"end": {
"line": 122,
"column": 39
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 4407,
"end": 4409,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4410,
"end": 4411,
"loc": {
"start": {
"line": 124,
"column": 11
},
"end": {
"line": 124,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visible",
"start": 4411,
"end": 4418,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 124,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4418,
"end": 4419,
"loc": {
"start": {
"line": 124,
"column": 19
},
"end": {
"line": 124,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4420,
"end": 4421,
"loc": {
"start": {
"line": 124,
"column": 21
},
"end": {
"line": 124,
"column": 22
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 4435,
"end": 4438,
"loc": {
"start": {
"line": 125,
"column": 12
},
"end": {
"line": 125,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "recomputeSecondaryToolbarVisibility",
"start": 4439,
"end": 4474,
"loc": {
"start": {
"line": 125,
"column": 16
},
"end": {
"line": 125,
"column": 51
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4475,
"end": 4476,
"loc": {
"start": {
"line": 125,
"column": 52
},
"end": {
"line": 125,
"column": 53
}
}
},
{
"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": 4477,
"end": 4482,
"loc": {
"start": {
"line": 125,
"column": 54
},
"end": {
"line": 125,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4482,
"end": 4483,
"loc": {
"start": {
"line": 125,
"column": 59
},
"end": {
"line": 125,
"column": 60
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 4497,
"end": 4500,
"loc": {
"start": {
"line": 126,
"column": 12
},
"end": {
"line": 126,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4501,
"end": 4502,
"loc": {
"start": {
"line": 126,
"column": 16
},
"end": {
"line": 126,
"column": 17
}
}
},
{
"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": 4502,
"end": 4507,
"loc": {
"start": {
"line": 126,
"column": 17
},
"end": {
"line": 126,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildingId",
"start": 4508,
"end": 4518,
"loc": {
"start": {
"line": 126,
"column": 23
},
"end": {
"line": 126,
"column": 33
}
}
},
{
"type": {
"label": "in",
"keyword": "in",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "in",
"start": 4519,
"end": 4521,
"loc": {
"start": {
"line": 126,
"column": 34
},
"end": {
"line": 126,
"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": 4522,
"end": 4526,
"loc": {
"start": {
"line": 126,
"column": 37
},
"end": {
"line": 126,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4526,
"end": 4527,
"loc": {
"start": {
"line": 126,
"column": 41
},
"end": {
"line": 126,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildingHandles",
"start": 4527,
"end": 4542,
"loc": {
"start": {
"line": 126,
"column": 42
},
"end": {
"line": 126,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4542,
"end": 4543,
"loc": {
"start": {
"line": 126,
"column": 57
},
"end": {
"line": 126,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4544,
"end": 4545,
"loc": {
"start": {
"line": 126,
"column": 59
},
"end": {
"line": 126,
"column": 60
}
}
},
{
"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": 4563,
"end": 4568,
"loc": {
"start": {
"line": 127,
"column": 16
},
"end": {
"line": 127,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 4569,
"end": 4575,
"loc": {
"start": {
"line": 127,
"column": 22
},
"end": {
"line": 127,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4576,
"end": 4577,
"loc": {
"start": {
"line": 127,
"column": 29
},
"end": {
"line": 127,
"column": 30
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4578,
"end": 4582,
"loc": {
"start": {
"line": 127,
"column": 31
},
"end": {
"line": 127,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4582,
"end": 4583,
"loc": {
"start": {
"line": 127,
"column": 35
},
"end": {
"line": 127,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildingHandles",
"start": 4583,
"end": 4598,
"loc": {
"start": {
"line": 127,
"column": 36
},
"end": {
"line": 127,
"column": 51
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4598,
"end": 4599,
"loc": {
"start": {
"line": 127,
"column": 51
},
"end": {
"line": 127,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildingId",
"start": 4599,
"end": 4609,
"loc": {
"start": {
"line": 127,
"column": 52
},
"end": {
"line": 127,
"column": 62
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4609,
"end": 4610,
"loc": {
"start": {
"line": 127,
"column": 62
},
"end": {
"line": 127,
"column": 63
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4610,
"end": 4611,
"loc": {
"start": {
"line": 127,
"column": 63
},
"end": {
"line": 127,
"column": 64
}
}
},
{
"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": 4629,
"end": 4634,
"loc": {
"start": {
"line": 128,
"column": 16
},
"end": {
"line": 128,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newStatus",
"start": 4635,
"end": 4644,
"loc": {
"start": {
"line": 128,
"column": 22
},
"end": {
"line": 128,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4645,
"end": 4646,
"loc": {
"start": {
"line": 128,
"column": 32
},
"end": {
"line": 128,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 4647,
"end": 4653,
"loc": {
"start": {
"line": 128,
"column": 34
},
"end": {
"line": 128,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4653,
"end": 4654,
"loc": {
"start": {
"line": 128,
"column": 40
},
"end": {
"line": 128,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 4654,
"end": 4666,
"loc": {
"start": {
"line": 128,
"column": 41
},
"end": {
"line": 128,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4666,
"end": 4667,
"loc": {
"start": {
"line": 128,
"column": 53
},
"end": {
"line": 128,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getIsUnlocked",
"start": 4667,
"end": 4680,
"loc": {
"start": {
"line": 128,
"column": 54
},
"end": {
"line": 128,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4680,
"end": 4681,
"loc": {
"start": {
"line": 128,
"column": 67
},
"end": {
"line": 128,
"column": 68
}
}
},
{
"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": 4681,
"end": 4685,
"loc": {
"start": {
"line": 128,
"column": 68
},
"end": {
"line": 128,
"column": 72
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4685,
"end": 4686,
"loc": {
"start": {
"line": 128,
"column": 72
},
"end": {
"line": 128,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4686,
"end": 4690,
"loc": {
"start": {
"line": 128,
"column": 73
},
"end": {
"line": 128,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4690,
"end": 4691,
"loc": {
"start": {
"line": 128,
"column": 77
},
"end": {
"line": 128,
"column": 78
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4691,
"end": 4692,
"loc": {
"start": {
"line": 128,
"column": 78
},
"end": {
"line": 128,
"column": 79
}
}
},
{
"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": 4710,
"end": 4712,
"loc": {
"start": {
"line": 129,
"column": 16
},
"end": {
"line": 129,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4713,
"end": 4714,
"loc": {
"start": {
"line": 129,
"column": 19
},
"end": {
"line": 129,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 4714,
"end": 4720,
"loc": {
"start": {
"line": 129,
"column": 20
},
"end": {
"line": 129,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4720,
"end": 4721,
"loc": {
"start": {
"line": 129,
"column": 26
},
"end": {
"line": 129,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unlocked",
"start": 4721,
"end": 4729,
"loc": {
"start": {
"line": 129,
"column": 27
},
"end": {
"line": 129,
"column": 35
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 4730,
"end": 4733,
"loc": {
"start": {
"line": 129,
"column": 36
},
"end": {
"line": 129,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newStatus",
"start": 4734,
"end": 4743,
"loc": {
"start": {
"line": 129,
"column": 40
},
"end": {
"line": 129,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4743,
"end": 4744,
"loc": {
"start": {
"line": 129,
"column": 49
},
"end": {
"line": 129,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4745,
"end": 4746,
"loc": {
"start": {
"line": 129,
"column": 51
},
"end": {
"line": 129,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 4768,
"end": 4774,
"loc": {
"start": {
"line": 130,
"column": 20
},
"end": {
"line": 130,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4774,
"end": 4775,
"loc": {
"start": {
"line": 130,
"column": 26
},
"end": {
"line": 130,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unlocked",
"start": 4775,
"end": 4783,
"loc": {
"start": {
"line": 130,
"column": 27
},
"end": {
"line": 130,
"column": 35
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4784,
"end": 4785,
"loc": {
"start": {
"line": 130,
"column": 36
},
"end": {
"line": 130,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newStatus",
"start": 4786,
"end": 4795,
"loc": {
"start": {
"line": 130,
"column": 38
},
"end": {
"line": 130,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4795,
"end": 4796,
"loc": {
"start": {
"line": 130,
"column": 47
},
"end": {
"line": 130,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 4818,
"end": 4824,
"loc": {
"start": {
"line": 131,
"column": 20
},
"end": {
"line": 131,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4824,
"end": 4825,
"loc": {
"start": {
"line": 131,
"column": 26
},
"end": {
"line": 131,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 4825,
"end": 4832,
"loc": {
"start": {
"line": 131,
"column": 27
},
"end": {
"line": 131,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4832,
"end": 4833,
"loc": {
"start": {
"line": 131,
"column": 34
},
"end": {
"line": 131,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 4833,
"end": 4842,
"loc": {
"start": {
"line": 131,
"column": 35
},
"end": {
"line": 131,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4842,
"end": 4843,
"loc": {
"start": {
"line": 131,
"column": 44
},
"end": {
"line": 131,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toggle",
"start": 4843,
"end": 4849,
"loc": {
"start": {
"line": 131,
"column": 45
},
"end": {
"line": 131,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4849,
"end": 4850,
"loc": {
"start": {
"line": 131,
"column": 51
},
"end": {
"line": 131,
"column": 52
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "unlocked",
"start": 4850,
"end": 4860,
"loc": {
"start": {
"line": 131,
"column": 52
},
"end": {
"line": 131,
"column": 62
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4860,
"end": 4861,
"loc": {
"start": {
"line": 131,
"column": 62
},
"end": {
"line": 131,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newStatus",
"start": 4862,
"end": 4871,
"loc": {
"start": {
"line": 131,
"column": 64
},
"end": {
"line": 131,
"column": 73
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4871,
"end": 4872,
"loc": {
"start": {
"line": 131,
"column": 73
},
"end": {
"line": 131,
"column": 74
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4872,
"end": 4873,
"loc": {
"start": {
"line": 131,
"column": 74
},
"end": {
"line": 131,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "recomputeSecondaryToolbarVisibility",
"start": 4895,
"end": 4930,
"loc": {
"start": {
"line": 132,
"column": 20
},
"end": {
"line": 132,
"column": 55
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4931,
"end": 4932,
"loc": {
"start": {
"line": 132,
"column": 56
},
"end": {
"line": 132,
"column": 57
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 4933,
"end": 4937,
"loc": {
"start": {
"line": 132,
"column": 58
},
"end": {
"line": 132,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4937,
"end": 4938,
"loc": {
"start": {
"line": 132,
"column": 62
},
"end": {
"line": 132,
"column": 63
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4956,
"end": 4957,
"loc": {
"start": {
"line": 133,
"column": 16
},
"end": {
"line": 133,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4971,
"end": 4972,
"loc": {
"start": {
"line": 134,
"column": 12
},
"end": {
"line": 134,
"column": 13
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 4988,
"end": 4990,
"loc": {
"start": {
"line": 136,
"column": 12
},
"end": {
"line": 136,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4991,
"end": 4992,
"loc": {
"start": {
"line": 136,
"column": 15
},
"end": {
"line": 136,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "recomputeSecondaryToolbarVisibility",
"start": 4992,
"end": 5027,
"loc": {
"start": {
"line": 136,
"column": 16
},
"end": {
"line": 136,
"column": 51
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 5028,
"end": 5030,
"loc": {
"start": {
"line": 136,
"column": 52
},
"end": {
"line": 136,
"column": 54
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5031,
"end": 5035,
"loc": {
"start": {
"line": 136,
"column": 55
},
"end": {
"line": 136,
"column": 59
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5035,
"end": 5036,
"loc": {
"start": {
"line": 136,
"column": 59
},
"end": {
"line": 136,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "secondaryDomAttach",
"start": 5036,
"end": 5054,
"loc": {
"start": {
"line": 136,
"column": 60
},
"end": {
"line": 136,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5054,
"end": 5055,
"loc": {
"start": {
"line": 136,
"column": 78
},
"end": {
"line": 136,
"column": 79
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5056,
"end": 5057,
"loc": {
"start": {
"line": 136,
"column": 80
},
"end": {
"line": 136,
"column": 81
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 5075,
"end": 5078,
"loc": {
"start": {
"line": 137,
"column": 16
},
"end": {
"line": 137,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "anyUnlocked",
"start": 5079,
"end": 5090,
"loc": {
"start": {
"line": 137,
"column": 20
},
"end": {
"line": 137,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5091,
"end": 5092,
"loc": {
"start": {
"line": 137,
"column": 32
},
"end": {
"line": 137,
"column": 33
}
}
},
{
"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": 5093,
"end": 5098,
"loc": {
"start": {
"line": 137,
"column": 34
},
"end": {
"line": 137,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5098,
"end": 5099,
"loc": {
"start": {
"line": 137,
"column": 39
},
"end": {
"line": 137,
"column": 40
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 5117,
"end": 5120,
"loc": {
"start": {
"line": 138,
"column": 16
},
"end": {
"line": 138,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5121,
"end": 5122,
"loc": {
"start": {
"line": 138,
"column": 20
},
"end": {
"line": 138,
"column": 21
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 5122,
"end": 5125,
"loc": {
"start": {
"line": 138,
"column": 21
},
"end": {
"line": 138,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 5126,
"end": 5127,
"loc": {
"start": {
"line": 138,
"column": 25
},
"end": {
"line": 138,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5128,
"end": 5129,
"loc": {
"start": {
"line": 138,
"column": 27
},
"end": {
"line": 138,
"column": 28
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 5130,
"end": 5131,
"loc": {
"start": {
"line": 138,
"column": 29
},
"end": {
"line": 138,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5131,
"end": 5132,
"loc": {
"start": {
"line": 138,
"column": 30
},
"end": {
"line": 138,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 5133,
"end": 5134,
"loc": {
"start": {
"line": 138,
"column": 32
},
"end": {
"line": 138,
"column": 33
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 5135,
"end": 5136,
"loc": {
"start": {
"line": 138,
"column": 34
},
"end": {
"line": 138,
"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": 5137,
"end": 5141,
"loc": {
"start": {
"line": 138,
"column": 36
},
"end": {
"line": 138,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5141,
"end": 5142,
"loc": {
"start": {
"line": 138,
"column": 40
},
"end": {
"line": 138,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "secondaryBuildings",
"start": 5142,
"end": 5160,
"loc": {
"start": {
"line": 138,
"column": 41
},
"end": {
"line": 138,
"column": 59
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5160,
"end": 5161,
"loc": {
"start": {
"line": 138,
"column": 59
},
"end": {
"line": 138,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 5161,
"end": 5167,
"loc": {
"start": {
"line": 138,
"column": 60
},
"end": {
"line": 138,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5167,
"end": 5168,
"loc": {
"start": {
"line": 138,
"column": 66
},
"end": {
"line": 138,
"column": 67
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 5169,
"end": 5171,
"loc": {
"start": {
"line": 138,
"column": 68
},
"end": {
"line": 138,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 5171,
"end": 5172,
"loc": {
"start": {
"line": 138,
"column": 70
},
"end": {
"line": 138,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5172,
"end": 5173,
"loc": {
"start": {
"line": 138,
"column": 71
},
"end": {
"line": 138,
"column": 72
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5174,
"end": 5175,
"loc": {
"start": {
"line": 138,
"column": 73
},
"end": {
"line": 138,
"column": 74
}
}
},
{
"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": 5197,
"end": 5202,
"loc": {
"start": {
"line": 139,
"column": 20
},
"end": {
"line": 139,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaClass",
"start": 5203,
"end": 5212,
"loc": {
"start": {
"line": 139,
"column": 26
},
"end": {
"line": 139,
"column": 35
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5213,
"end": 5214,
"loc": {
"start": {
"line": 139,
"column": 36
},
"end": {
"line": 139,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gMetaBuildingRegistry",
"start": 5215,
"end": 5236,
"loc": {
"start": {
"line": 139,
"column": 38
},
"end": {
"line": 139,
"column": 59
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5236,
"end": 5237,
"loc": {
"start": {
"line": 139,
"column": 59
},
"end": {
"line": 139,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findByClass",
"start": 5237,
"end": 5248,
"loc": {
"start": {
"line": 139,
"column": 60
},
"end": {
"line": 139,
"column": 71
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5248,
"end": 5249,
"loc": {
"start": {
"line": 139,
"column": 71
},
"end": {
"line": 139,
"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": 5249,
"end": 5253,
"loc": {
"start": {
"line": 139,
"column": 72
},
"end": {
"line": 139,
"column": 76
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5253,
"end": 5254,
"loc": {
"start": {
"line": 139,
"column": 76
},
"end": {
"line": 139,
"column": 77
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "secondaryBuildings",
"start": 5254,
"end": 5272,
"loc": {
"start": {
"line": 139,
"column": 77
},
"end": {
"line": 139,
"column": 95
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5272,
"end": 5273,
"loc": {
"start": {
"line": 139,
"column": 95
},
"end": {
"line": 139,
"column": 96
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 5273,
"end": 5274,
"loc": {
"start": {
"line": 139,
"column": 96
},
"end": {
"line": 139,
"column": 97
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5274,
"end": 5275,
"loc": {
"start": {
"line": 139,
"column": 97
},
"end": {
"line": 139,
"column": 98
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5275,
"end": 5276,
"loc": {
"start": {
"line": 139,
"column": 98
},
"end": {
"line": 139,
"column": 99
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5276,
"end": 5277,
"loc": {
"start": {
"line": 139,
"column": 99
},
"end": {
"line": 139,
"column": 100
}
}
},
{
"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": 5299,
"end": 5301,
"loc": {
"start": {
"line": 140,
"column": 20
},
"end": {
"line": 140,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5302,
"end": 5303,
"loc": {
"start": {
"line": 140,
"column": 23
},
"end": {
"line": 140,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaClass",
"start": 5303,
"end": 5312,
"loc": {
"start": {
"line": 140,
"column": 24
},
"end": {
"line": 140,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5312,
"end": 5313,
"loc": {
"start": {
"line": 140,
"column": 33
},
"end": {
"line": 140,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getIsUnlocked",
"start": 5313,
"end": 5326,
"loc": {
"start": {
"line": 140,
"column": 34
},
"end": {
"line": 140,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5326,
"end": 5327,
"loc": {
"start": {
"line": 140,
"column": 47
},
"end": {
"line": 140,
"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": 5327,
"end": 5331,
"loc": {
"start": {
"line": 140,
"column": 48
},
"end": {
"line": 140,
"column": 52
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5331,
"end": 5332,
"loc": {
"start": {
"line": 140,
"column": 52
},
"end": {
"line": 140,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5332,
"end": 5336,
"loc": {
"start": {
"line": 140,
"column": 53
},
"end": {
"line": 140,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5336,
"end": 5337,
"loc": {
"start": {
"line": 140,
"column": 57
},
"end": {
"line": 140,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5337,
"end": 5338,
"loc": {
"start": {
"line": 140,
"column": 58
},
"end": {
"line": 140,
"column": 59
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5339,
"end": 5340,
"loc": {
"start": {
"line": 140,
"column": 60
},
"end": {
"line": 140,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "anyUnlocked",
"start": 5366,
"end": 5377,
"loc": {
"start": {
"line": 141,
"column": 24
},
"end": {
"line": 141,
"column": 35
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5378,
"end": 5379,
"loc": {
"start": {
"line": 141,
"column": 36
},
"end": {
"line": 141,
"column": 37
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 5380,
"end": 5384,
"loc": {
"start": {
"line": 141,
"column": 38
},
"end": {
"line": 141,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5384,
"end": 5385,
"loc": {
"start": {
"line": 141,
"column": 42
},
"end": {
"line": 141,
"column": 43
}
}
},
{
"type": {
"label": "break",
"keyword": "break",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "break",
"start": 5411,
"end": 5416,
"loc": {
"start": {
"line": 142,
"column": 24
},
"end": {
"line": 142,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5416,
"end": 5417,
"loc": {
"start": {
"line": 142,
"column": 29
},
"end": {
"line": 142,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5439,
"end": 5440,
"loc": {
"start": {
"line": 143,
"column": 20
},
"end": {
"line": 143,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5458,
"end": 5459,
"loc": {
"start": {
"line": 144,
"column": 16
},
"end": {
"line": 144,
"column": 17
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5479,
"end": 5483,
"loc": {
"start": {
"line": 146,
"column": 16
},
"end": {
"line": 146,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5483,
"end": 5484,
"loc": {
"start": {
"line": 146,
"column": 20
},
"end": {
"line": 146,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "secondaryDomAttach",
"start": 5484,
"end": 5502,
"loc": {
"start": {
"line": 146,
"column": 21
},
"end": {
"line": 146,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5502,
"end": 5503,
"loc": {
"start": {
"line": 146,
"column": 39
},
"end": {
"line": 146,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "update",
"start": 5503,
"end": 5509,
"loc": {
"start": {
"line": 146,
"column": 40
},
"end": {
"line": 146,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5509,
"end": 5510,
"loc": {
"start": {
"line": 146,
"column": 46
},
"end": {
"line": 146,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "anyUnlocked",
"start": 5510,
"end": 5521,
"loc": {
"start": {
"line": 146,
"column": 47
},
"end": {
"line": 146,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5521,
"end": 5522,
"loc": {
"start": {
"line": 146,
"column": 58
},
"end": {
"line": 146,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5522,
"end": 5523,
"loc": {
"start": {
"line": 146,
"column": 59
},
"end": {
"line": 146,
"column": 60
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5537,
"end": 5538,
"loc": {
"start": {
"line": 147,
"column": 12
},
"end": {
"line": 147,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5548,
"end": 5549,
"loc": {
"start": {
"line": 148,
"column": 8
},
"end": {
"line": 148,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5555,
"end": 5556,
"loc": {
"start": {
"line": 149,
"column": 4
},
"end": {
"line": 149,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Cycles through all buildings\r\n ",
"start": 5564,
"end": 5613,
"loc": {
"start": {
"line": 151,
"column": 4
},
"end": {
"line": 153,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cycleBuildings",
"start": 5619,
"end": 5633,
"loc": {
"start": {
"line": 154,
"column": 4
},
"end": {
"line": 154,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5633,
"end": 5634,
"loc": {
"start": {
"line": 154,
"column": 18
},
"end": {
"line": 154,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5634,
"end": 5635,
"loc": {
"start": {
"line": 154,
"column": 19
},
"end": {
"line": 154,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5636,
"end": 5637,
"loc": {
"start": {
"line": 154,
"column": 21
},
"end": {
"line": 154,
"column": 22
}
}
},
{
"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": 5647,
"end": 5652,
"loc": {
"start": {
"line": 155,
"column": 8
},
"end": {
"line": 155,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visible",
"start": 5653,
"end": 5660,
"loc": {
"start": {
"line": 155,
"column": 14
},
"end": {
"line": 155,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5661,
"end": 5662,
"loc": {
"start": {
"line": 155,
"column": 22
},
"end": {
"line": 155,
"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": 5663,
"end": 5667,
"loc": {
"start": {
"line": 155,
"column": 24
},
"end": {
"line": 155,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5667,
"end": 5668,
"loc": {
"start": {
"line": 155,
"column": 28
},
"end": {
"line": 155,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibilityCondition",
"start": 5668,
"end": 5687,
"loc": {
"start": {
"line": 155,
"column": 29
},
"end": {
"line": 155,
"column": 48
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5687,
"end": 5688,
"loc": {
"start": {
"line": 155,
"column": 48
},
"end": {
"line": 155,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5688,
"end": 5689,
"loc": {
"start": {
"line": 155,
"column": 49
},
"end": {
"line": 155,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5689,
"end": 5690,
"loc": {
"start": {
"line": 155,
"column": 50
},
"end": {
"line": 155,
"column": 51
}
}
},
{
"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": 5700,
"end": 5702,
"loc": {
"start": {
"line": 156,
"column": 8
},
"end": {
"line": 156,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5703,
"end": 5704,
"loc": {
"start": {
"line": 156,
"column": 11
},
"end": {
"line": 156,
"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": 5704,
"end": 5705,
"loc": {
"start": {
"line": 156,
"column": 12
},
"end": {
"line": 156,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visible",
"start": 5705,
"end": 5712,
"loc": {
"start": {
"line": 156,
"column": 13
},
"end": {
"line": 156,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5712,
"end": 5713,
"loc": {
"start": {
"line": 156,
"column": 20
},
"end": {
"line": 156,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5714,
"end": 5715,
"loc": {
"start": {
"line": 156,
"column": 22
},
"end": {
"line": 156,
"column": 23
}
}
},
{
"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": 5729,
"end": 5735,
"loc": {
"start": {
"line": 157,
"column": 12
},
"end": {
"line": 157,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5735,
"end": 5736,
"loc": {
"start": {
"line": 157,
"column": 18
},
"end": {
"line": 157,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5746,
"end": 5747,
"loc": {
"start": {
"line": 158,
"column": 8
},
"end": {
"line": 158,
"column": 9
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 5759,
"end": 5762,
"loc": {
"start": {
"line": 160,
"column": 8
},
"end": {
"line": 160,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newBuildingFound",
"start": 5763,
"end": 5779,
"loc": {
"start": {
"line": 160,
"column": 12
},
"end": {
"line": 160,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5780,
"end": 5781,
"loc": {
"start": {
"line": 160,
"column": 29
},
"end": {
"line": 160,
"column": 30
}
}
},
{
"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": 5782,
"end": 5787,
"loc": {
"start": {
"line": 160,
"column": 31
},
"end": {
"line": 160,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5787,
"end": 5788,
"loc": {
"start": {
"line": 160,
"column": 36
},
"end": {
"line": 160,
"column": 37
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 5798,
"end": 5801,
"loc": {
"start": {
"line": 161,
"column": 8
},
"end": {
"line": 161,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newIndex",
"start": 5802,
"end": 5810,
"loc": {
"start": {
"line": 161,
"column": 12
},
"end": {
"line": 161,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5811,
"end": 5812,
"loc": {
"start": {
"line": 161,
"column": 21
},
"end": {
"line": 161,
"column": 22
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5813,
"end": 5817,
"loc": {
"start": {
"line": 161,
"column": 23
},
"end": {
"line": 161,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5817,
"end": 5818,
"loc": {
"start": {
"line": 161,
"column": 27
},
"end": {
"line": 161,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastSelectedIndex",
"start": 5818,
"end": 5835,
"loc": {
"start": {
"line": 161,
"column": 28
},
"end": {
"line": 161,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5835,
"end": 5836,
"loc": {
"start": {
"line": 161,
"column": 45
},
"end": {
"line": 161,
"column": 46
}
}
},
{
"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": 5846,
"end": 5851,
"loc": {
"start": {
"line": 162,
"column": 8
},
"end": {
"line": 162,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "direction",
"start": 5852,
"end": 5861,
"loc": {
"start": {
"line": 162,
"column": 14
},
"end": {
"line": 162,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5862,
"end": 5863,
"loc": {
"start": {
"line": 162,
"column": 24
},
"end": {
"line": 162,
"column": 25
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5864,
"end": 5868,
"loc": {
"start": {
"line": 162,
"column": 26
},
"end": {
"line": 162,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5868,
"end": 5869,
"loc": {
"start": {
"line": 162,
"column": 30
},
"end": {
"line": 162,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5869,
"end": 5873,
"loc": {
"start": {
"line": 162,
"column": 31
},
"end": {
"line": 162,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5873,
"end": 5874,
"loc": {
"start": {
"line": 162,
"column": 35
},
"end": {
"line": 162,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "keyMapper",
"start": 5874,
"end": 5883,
"loc": {
"start": {
"line": 162,
"column": 36
},
"end": {
"line": 162,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5883,
"end": 5884,
"loc": {
"start": {
"line": 162,
"column": 45
},
"end": {
"line": 162,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBinding",
"start": 5884,
"end": 5894,
"loc": {
"start": {
"line": 162,
"column": 46
},
"end": {
"line": 162,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5894,
"end": 5895,
"loc": {
"start": {
"line": 162,
"column": 56
},
"end": {
"line": 162,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "KEYMAPPINGS",
"start": 5895,
"end": 5906,
"loc": {
"start": {
"line": 162,
"column": 57
},
"end": {
"line": 162,
"column": 68
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5906,
"end": 5907,
"loc": {
"start": {
"line": 162,
"column": 68
},
"end": {
"line": 162,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "placement",
"start": 5907,
"end": 5916,
"loc": {
"start": {
"line": 162,
"column": 69
},
"end": {
"line": 162,
"column": 78
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5916,
"end": 5917,
"loc": {
"start": {
"line": 162,
"column": 78
},
"end": {
"line": 162,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotateInverseModifier",
"start": 5917,
"end": 5938,
"loc": {
"start": {
"line": 162,
"column": 79
},
"end": {
"line": 162,
"column": 100
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5938,
"end": 5939,
"loc": {
"start": {
"line": 162,
"column": 100
},
"end": {
"line": 162,
"column": 101
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5939,
"end": 5940,
"loc": {
"start": {
"line": 162,
"column": 101
},
"end": {
"line": 162,
"column": 102
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pressed",
"start": 5940,
"end": 5947,
"loc": {
"start": {
"line": 162,
"column": 102
},
"end": {
"line": 162,
"column": 109
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5948,
"end": 5949,
"loc": {
"start": {
"line": 162,
"column": 110
},
"end": {
"line": 162,
"column": 111
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 5963,
"end": 5964,
"loc": {
"start": {
"line": 163,
"column": 12
},
"end": {
"line": 163,
"column": 13
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 5964,
"end": 5965,
"loc": {
"start": {
"line": 163,
"column": 13
},
"end": {
"line": 163,
"column": 14
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5966,
"end": 5967,
"loc": {
"start": {
"line": 163,
"column": 15
},
"end": {
"line": 163,
"column": 16
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 5981,
"end": 5982,
"loc": {
"start": {
"line": 164,
"column": 12
},
"end": {
"line": 164,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5982,
"end": 5983,
"loc": {
"start": {
"line": 164,
"column": 13
},
"end": {
"line": 164,
"column": 14
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 5995,
"end": 5998,
"loc": {
"start": {
"line": 166,
"column": 8
},
"end": {
"line": 166,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5999,
"end": 6000,
"loc": {
"start": {
"line": 166,
"column": 12
},
"end": {
"line": 166,
"column": 13
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 6000,
"end": 6003,
"loc": {
"start": {
"line": 166,
"column": 13
},
"end": {
"line": 166,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 6004,
"end": 6005,
"loc": {
"start": {
"line": 166,
"column": 17
},
"end": {
"line": 166,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6006,
"end": 6007,
"loc": {
"start": {
"line": 166,
"column": 19
},
"end": {
"line": 166,
"column": 20
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 6008,
"end": 6009,
"loc": {
"start": {
"line": 166,
"column": 21
},
"end": {
"line": 166,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6009,
"end": 6010,
"loc": {
"start": {
"line": 166,
"column": 22
},
"end": {
"line": 166,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 6011,
"end": 6012,
"loc": {
"start": {
"line": 166,
"column": 24
},
"end": {
"line": 166,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<=",
"start": 6013,
"end": 6015,
"loc": {
"start": {
"line": 166,
"column": 26
},
"end": {
"line": 166,
"column": 28
}
}
},
{
"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": 6016,
"end": 6020,
"loc": {
"start": {
"line": 166,
"column": 29
},
"end": {
"line": 166,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6020,
"end": 6021,
"loc": {
"start": {
"line": 166,
"column": 33
},
"end": {
"line": 166,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "primaryBuildings",
"start": 6021,
"end": 6037,
"loc": {
"start": {
"line": 166,
"column": 34
},
"end": {
"line": 166,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6037,
"end": 6038,
"loc": {
"start": {
"line": 166,
"column": 50
},
"end": {
"line": 166,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 6038,
"end": 6044,
"loc": {
"start": {
"line": 166,
"column": 51
},
"end": {
"line": 166,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6044,
"end": 6045,
"loc": {
"start": {
"line": 166,
"column": 57
},
"end": {
"line": 166,
"column": 58
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 6046,
"end": 6048,
"loc": {
"start": {
"line": 166,
"column": 59
},
"end": {
"line": 166,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 6048,
"end": 6049,
"loc": {
"start": {
"line": 166,
"column": 61
},
"end": {
"line": 166,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6049,
"end": 6050,
"loc": {
"start": {
"line": 166,
"column": 62
},
"end": {
"line": 166,
"column": 63
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6051,
"end": 6052,
"loc": {
"start": {
"line": 166,
"column": 64
},
"end": {
"line": 166,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newIndex",
"start": 6066,
"end": 6074,
"loc": {
"start": {
"line": 167,
"column": 12
},
"end": {
"line": 167,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6075,
"end": 6076,
"loc": {
"start": {
"line": 167,
"column": 21
},
"end": {
"line": 167,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "safeModulo",
"start": 6077,
"end": 6087,
"loc": {
"start": {
"line": 167,
"column": 23
},
"end": {
"line": 167,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6087,
"end": 6088,
"loc": {
"start": {
"line": 167,
"column": 33
},
"end": {
"line": 167,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newIndex",
"start": 6088,
"end": 6096,
"loc": {
"start": {
"line": 167,
"column": 34
},
"end": {
"line": 167,
"column": 42
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6097,
"end": 6098,
"loc": {
"start": {
"line": 167,
"column": 43
},
"end": {
"line": 167,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "direction",
"start": 6099,
"end": 6108,
"loc": {
"start": {
"line": 167,
"column": 45
},
"end": {
"line": 167,
"column": 54
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6108,
"end": 6109,
"loc": {
"start": {
"line": 167,
"column": 54
},
"end": {
"line": 167,
"column": 55
}
}
},
{
"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": 6110,
"end": 6114,
"loc": {
"start": {
"line": 167,
"column": 56
},
"end": {
"line": 167,
"column": 60
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6114,
"end": 6115,
"loc": {
"start": {
"line": 167,
"column": 60
},
"end": {
"line": 167,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "primaryBuildings",
"start": 6115,
"end": 6131,
"loc": {
"start": {
"line": 167,
"column": 61
},
"end": {
"line": 167,
"column": 77
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6131,
"end": 6132,
"loc": {
"start": {
"line": 167,
"column": 77
},
"end": {
"line": 167,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 6132,
"end": 6138,
"loc": {
"start": {
"line": 167,
"column": 78
},
"end": {
"line": 167,
"column": 84
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6138,
"end": 6139,
"loc": {
"start": {
"line": 167,
"column": 84
},
"end": {
"line": 167,
"column": 85
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6139,
"end": 6140,
"loc": {
"start": {
"line": 167,
"column": 85
},
"end": {
"line": 167,
"column": 86
}
}
},
{
"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": 6154,
"end": 6159,
"loc": {
"start": {
"line": 168,
"column": 12
},
"end": {
"line": 168,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 6160,
"end": 6172,
"loc": {
"start": {
"line": 168,
"column": 18
},
"end": {
"line": 168,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6173,
"end": 6174,
"loc": {
"start": {
"line": 168,
"column": 31
},
"end": {
"line": 168,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gMetaBuildingRegistry",
"start": 6175,
"end": 6196,
"loc": {
"start": {
"line": 168,
"column": 33
},
"end": {
"line": 168,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6196,
"end": 6197,
"loc": {
"start": {
"line": 168,
"column": 54
},
"end": {
"line": 168,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findByClass",
"start": 6197,
"end": 6208,
"loc": {
"start": {
"line": 168,
"column": 55
},
"end": {
"line": 168,
"column": 66
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6208,
"end": 6209,
"loc": {
"start": {
"line": 168,
"column": 66
},
"end": {
"line": 168,
"column": 67
}
}
},
{
"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": 6209,
"end": 6213,
"loc": {
"start": {
"line": 168,
"column": 67
},
"end": {
"line": 168,
"column": 71
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6213,
"end": 6214,
"loc": {
"start": {
"line": 168,
"column": 71
},
"end": {
"line": 168,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "primaryBuildings",
"start": 6214,
"end": 6230,
"loc": {
"start": {
"line": 168,
"column": 72
},
"end": {
"line": 168,
"column": 88
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6230,
"end": 6231,
"loc": {
"start": {
"line": 168,
"column": 88
},
"end": {
"line": 168,
"column": 89
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newIndex",
"start": 6231,
"end": 6239,
"loc": {
"start": {
"line": 168,
"column": 89
},
"end": {
"line": 168,
"column": 97
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6239,
"end": 6240,
"loc": {
"start": {
"line": 168,
"column": 97
},
"end": {
"line": 168,
"column": 98
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6240,
"end": 6241,
"loc": {
"start": {
"line": 168,
"column": 98
},
"end": {
"line": 168,
"column": 99
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6241,
"end": 6242,
"loc": {
"start": {
"line": 168,
"column": 99
},
"end": {
"line": 168,
"column": 100
}
}
},
{
"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": 6256,
"end": 6261,
"loc": {
"start": {
"line": 169,
"column": 12
},
"end": {
"line": 169,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 6262,
"end": 6268,
"loc": {
"start": {
"line": 169,
"column": 18
},
"end": {
"line": 169,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6269,
"end": 6270,
"loc": {
"start": {
"line": 169,
"column": 25
},
"end": {
"line": 169,
"column": 26
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6271,
"end": 6275,
"loc": {
"start": {
"line": 169,
"column": 27
},
"end": {
"line": 169,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6275,
"end": 6276,
"loc": {
"start": {
"line": 169,
"column": 31
},
"end": {
"line": 169,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildingHandles",
"start": 6276,
"end": 6291,
"loc": {
"start": {
"line": 169,
"column": 32
},
"end": {
"line": 169,
"column": 47
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6291,
"end": 6292,
"loc": {
"start": {
"line": 169,
"column": 47
},
"end": {
"line": 169,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 6292,
"end": 6304,
"loc": {
"start": {
"line": 169,
"column": 48
},
"end": {
"line": 169,
"column": 60
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6304,
"end": 6305,
"loc": {
"start": {
"line": 169,
"column": 60
},
"end": {
"line": 169,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 6305,
"end": 6307,
"loc": {
"start": {
"line": 169,
"column": 61
},
"end": {
"line": 169,
"column": 63
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6307,
"end": 6308,
"loc": {
"start": {
"line": 169,
"column": 63
},
"end": {
"line": 169,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6308,
"end": 6309,
"loc": {
"start": {
"line": 169,
"column": 64
},
"end": {
"line": 169,
"column": 65
}
}
},
{
"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": 6323,
"end": 6325,
"loc": {
"start": {
"line": 170,
"column": 12
},
"end": {
"line": 170,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6326,
"end": 6327,
"loc": {
"start": {
"line": 170,
"column": 15
},
"end": {
"line": 170,
"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": 6327,
"end": 6328,
"loc": {
"start": {
"line": 170,
"column": 16
},
"end": {
"line": 170,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 6328,
"end": 6334,
"loc": {
"start": {
"line": 170,
"column": 17
},
"end": {
"line": 170,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6334,
"end": 6335,
"loc": {
"start": {
"line": 170,
"column": 23
},
"end": {
"line": 170,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selected",
"start": 6335,
"end": 6343,
"loc": {
"start": {
"line": 170,
"column": 24
},
"end": {
"line": 170,
"column": 32
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 6344,
"end": 6346,
"loc": {
"start": {
"line": 170,
"column": 33
},
"end": {
"line": 170,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 6347,
"end": 6353,
"loc": {
"start": {
"line": 170,
"column": 36
},
"end": {
"line": 170,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6353,
"end": 6354,
"loc": {
"start": {
"line": 170,
"column": 42
},
"end": {
"line": 170,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unlocked",
"start": 6354,
"end": 6362,
"loc": {
"start": {
"line": 170,
"column": 43
},
"end": {
"line": 170,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6362,
"end": 6363,
"loc": {
"start": {
"line": 170,
"column": 51
},
"end": {
"line": 170,
"column": 52
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6364,
"end": 6365,
"loc": {
"start": {
"line": 170,
"column": 53
},
"end": {
"line": 170,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newBuildingFound",
"start": 6383,
"end": 6399,
"loc": {
"start": {
"line": 171,
"column": 16
},
"end": {
"line": 171,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6400,
"end": 6401,
"loc": {
"start": {
"line": 171,
"column": 33
},
"end": {
"line": 171,
"column": 34
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 6402,
"end": 6406,
"loc": {
"start": {
"line": 171,
"column": 35
},
"end": {
"line": 171,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6406,
"end": 6407,
"loc": {
"start": {
"line": 171,
"column": 39
},
"end": {
"line": 171,
"column": 40
}
}
},
{
"type": {
"label": "break",
"keyword": "break",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "break",
"start": 6425,
"end": 6430,
"loc": {
"start": {
"line": 172,
"column": 16
},
"end": {
"line": 172,
"column": 21
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6430,
"end": 6431,
"loc": {
"start": {
"line": 172,
"column": 21
},
"end": {
"line": 172,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6445,
"end": 6446,
"loc": {
"start": {
"line": 173,
"column": 12
},
"end": {
"line": 173,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6456,
"end": 6457,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 174,
"column": 9
}
}
},
{
"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": 6467,
"end": 6469,
"loc": {
"start": {
"line": 175,
"column": 8
},
"end": {
"line": 175,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6470,
"end": 6471,
"loc": {
"start": {
"line": 175,
"column": 11
},
"end": {
"line": 175,
"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": 6471,
"end": 6472,
"loc": {
"start": {
"line": 175,
"column": 12
},
"end": {
"line": 175,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newBuildingFound",
"start": 6472,
"end": 6488,
"loc": {
"start": {
"line": 175,
"column": 13
},
"end": {
"line": 175,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6488,
"end": 6489,
"loc": {
"start": {
"line": 175,
"column": 29
},
"end": {
"line": 175,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6490,
"end": 6491,
"loc": {
"start": {
"line": 175,
"column": 31
},
"end": {
"line": 175,
"column": 32
}
}
},
{
"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": 6505,
"end": 6511,
"loc": {
"start": {
"line": 176,
"column": 12
},
"end": {
"line": 176,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6511,
"end": 6512,
"loc": {
"start": {
"line": 176,
"column": 18
},
"end": {
"line": 176,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6522,
"end": 6523,
"loc": {
"start": {
"line": 177,
"column": 8
},
"end": {
"line": 177,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6533,
"end": 6538,
"loc": {
"start": {
"line": 178,
"column": 8
},
"end": {
"line": 178,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuildingClass",
"start": 6539,
"end": 6556,
"loc": {
"start": {
"line": 178,
"column": 14
},
"end": {
"line": 178,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6557,
"end": 6558,
"loc": {
"start": {
"line": 178,
"column": 32
},
"end": {
"line": 178,
"column": 33
}
}
},
{
"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": 6559,
"end": 6563,
"loc": {
"start": {
"line": 178,
"column": 34
},
"end": {
"line": 178,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6563,
"end": 6564,
"loc": {
"start": {
"line": 178,
"column": 38
},
"end": {
"line": 178,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "primaryBuildings",
"start": 6564,
"end": 6580,
"loc": {
"start": {
"line": 178,
"column": 39
},
"end": {
"line": 178,
"column": 55
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6580,
"end": 6581,
"loc": {
"start": {
"line": 178,
"column": 55
},
"end": {
"line": 178,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newIndex",
"start": 6581,
"end": 6589,
"loc": {
"start": {
"line": 178,
"column": 56
},
"end": {
"line": 178,
"column": 64
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6589,
"end": 6590,
"loc": {
"start": {
"line": 178,
"column": 64
},
"end": {
"line": 178,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6590,
"end": 6591,
"loc": {
"start": {
"line": 178,
"column": 65
},
"end": {
"line": 178,
"column": 66
}
}
},
{
"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": 6601,
"end": 6606,
"loc": {
"start": {
"line": 179,
"column": 8
},
"end": {
"line": 179,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 6607,
"end": 6619,
"loc": {
"start": {
"line": 179,
"column": 14
},
"end": {
"line": 179,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6620,
"end": 6621,
"loc": {
"start": {
"line": 179,
"column": 27
},
"end": {
"line": 179,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gMetaBuildingRegistry",
"start": 6622,
"end": 6643,
"loc": {
"start": {
"line": 179,
"column": 29
},
"end": {
"line": 179,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6643,
"end": 6644,
"loc": {
"start": {
"line": 179,
"column": 50
},
"end": {
"line": 179,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findByClass",
"start": 6644,
"end": 6655,
"loc": {
"start": {
"line": 179,
"column": 51
},
"end": {
"line": 179,
"column": 62
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6655,
"end": 6656,
"loc": {
"start": {
"line": 179,
"column": 62
},
"end": {
"line": 179,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuildingClass",
"start": 6656,
"end": 6673,
"loc": {
"start": {
"line": 179,
"column": 63
},
"end": {
"line": 179,
"column": 80
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6673,
"end": 6674,
"loc": {
"start": {
"line": 179,
"column": 80
},
"end": {
"line": 179,
"column": 81
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6674,
"end": 6675,
"loc": {
"start": {
"line": 179,
"column": 81
},
"end": {
"line": 179,
"column": 82
}
}
},
{
"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": 6685,
"end": 6689,
"loc": {
"start": {
"line": 180,
"column": 8
},
"end": {
"line": 180,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6689,
"end": 6690,
"loc": {
"start": {
"line": 180,
"column": 12
},
"end": {
"line": 180,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selectBuildingForPlacement",
"start": 6690,
"end": 6716,
"loc": {
"start": {
"line": 180,
"column": 13
},
"end": {
"line": 180,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6716,
"end": 6717,
"loc": {
"start": {
"line": 180,
"column": 39
},
"end": {
"line": 180,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 6717,
"end": 6729,
"loc": {
"start": {
"line": 180,
"column": 40
},
"end": {
"line": 180,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6729,
"end": 6730,
"loc": {
"start": {
"line": 180,
"column": 52
},
"end": {
"line": 180,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6730,
"end": 6731,
"loc": {
"start": {
"line": 180,
"column": 53
},
"end": {
"line": 180,
"column": 54
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6737,
"end": 6738,
"loc": {
"start": {
"line": 181,
"column": 4
},
"end": {
"line": 181,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Called when the selected building got changed\r\n * @param {MetaBuilding} metaBuilding\r\n ",
"start": 6746,
"end": 6855,
"loc": {
"start": {
"line": 183,
"column": 4
},
"end": {
"line": 186,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onSelectedPlacementBuildingChanged",
"start": 6861,
"end": 6895,
"loc": {
"start": {
"line": 187,
"column": 4
},
"end": {
"line": 187,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6895,
"end": 6896,
"loc": {
"start": {
"line": 187,
"column": 38
},
"end": {
"line": 187,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 6896,
"end": 6908,
"loc": {
"start": {
"line": 187,
"column": 39
},
"end": {
"line": 187,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6908,
"end": 6909,
"loc": {
"start": {
"line": 187,
"column": 51
},
"end": {
"line": 187,
"column": 52
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6910,
"end": 6911,
"loc": {
"start": {
"line": 187,
"column": 53
},
"end": {
"line": 187,
"column": 54
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 6921,
"end": 6924,
"loc": {
"start": {
"line": 188,
"column": 8
},
"end": {
"line": 188,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6925,
"end": 6926,
"loc": {
"start": {
"line": 188,
"column": 12
},
"end": {
"line": 188,
"column": 13
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6926,
"end": 6931,
"loc": {
"start": {
"line": 188,
"column": 13
},
"end": {
"line": 188,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildingId",
"start": 6932,
"end": 6942,
"loc": {
"start": {
"line": 188,
"column": 19
},
"end": {
"line": 188,
"column": 29
}
}
},
{
"type": {
"label": "in",
"keyword": "in",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "in",
"start": 6943,
"end": 6945,
"loc": {
"start": {
"line": 188,
"column": 30
},
"end": {
"line": 188,
"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": 6946,
"end": 6950,
"loc": {
"start": {
"line": 188,
"column": 33
},
"end": {
"line": 188,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6950,
"end": 6951,
"loc": {
"start": {
"line": 188,
"column": 37
},
"end": {
"line": 188,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildingHandles",
"start": 6951,
"end": 6966,
"loc": {
"start": {
"line": 188,
"column": 38
},
"end": {
"line": 188,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6966,
"end": 6967,
"loc": {
"start": {
"line": 188,
"column": 53
},
"end": {
"line": 188,
"column": 54
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6968,
"end": 6969,
"loc": {
"start": {
"line": 188,
"column": 55
},
"end": {
"line": 188,
"column": 56
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6983,
"end": 6988,
"loc": {
"start": {
"line": 189,
"column": 12
},
"end": {
"line": 189,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 6989,
"end": 6995,
"loc": {
"start": {
"line": 189,
"column": 18
},
"end": {
"line": 189,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6996,
"end": 6997,
"loc": {
"start": {
"line": 189,
"column": 25
},
"end": {
"line": 189,
"column": 26
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6998,
"end": 7002,
"loc": {
"start": {
"line": 189,
"column": 27
},
"end": {
"line": 189,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7002,
"end": 7003,
"loc": {
"start": {
"line": 189,
"column": 31
},
"end": {
"line": 189,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildingHandles",
"start": 7003,
"end": 7018,
"loc": {
"start": {
"line": 189,
"column": 32
},
"end": {
"line": 189,
"column": 47
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7018,
"end": 7019,
"loc": {
"start": {
"line": 189,
"column": 47
},
"end": {
"line": 189,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildingId",
"start": 7019,
"end": 7029,
"loc": {
"start": {
"line": 189,
"column": 48
},
"end": {
"line": 189,
"column": 58
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7029,
"end": 7030,
"loc": {
"start": {
"line": 189,
"column": 58
},
"end": {
"line": 189,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7030,
"end": 7031,
"loc": {
"start": {
"line": 189,
"column": 59
},
"end": {
"line": 189,
"column": 60
}
}
},
{
"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": 7045,
"end": 7050,
"loc": {
"start": {
"line": 190,
"column": 12
},
"end": {
"line": 190,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newStatus",
"start": 7051,
"end": 7060,
"loc": {
"start": {
"line": 190,
"column": 18
},
"end": {
"line": 190,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7061,
"end": 7062,
"loc": {
"start": {
"line": 190,
"column": 28
},
"end": {
"line": 190,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 7063,
"end": 7069,
"loc": {
"start": {
"line": 190,
"column": 30
},
"end": {
"line": 190,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7069,
"end": 7070,
"loc": {
"start": {
"line": 190,
"column": 36
},
"end": {
"line": 190,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 7070,
"end": 7082,
"loc": {
"start": {
"line": 190,
"column": 37
},
"end": {
"line": 190,
"column": 49
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 7083,
"end": 7086,
"loc": {
"start": {
"line": 190,
"column": 50
},
"end": {
"line": 190,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 7087,
"end": 7099,
"loc": {
"start": {
"line": 190,
"column": 54
},
"end": {
"line": 190,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7099,
"end": 7100,
"loc": {
"start": {
"line": 190,
"column": 66
},
"end": {
"line": 190,
"column": 67
}
}
},
{
"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": 7114,
"end": 7116,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7117,
"end": 7118,
"loc": {
"start": {
"line": 191,
"column": 15
},
"end": {
"line": 191,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 7118,
"end": 7124,
"loc": {
"start": {
"line": 191,
"column": 16
},
"end": {
"line": 191,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7124,
"end": 7125,
"loc": {
"start": {
"line": 191,
"column": 22
},
"end": {
"line": 191,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selected",
"start": 7125,
"end": 7133,
"loc": {
"start": {
"line": 191,
"column": 23
},
"end": {
"line": 191,
"column": 31
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 7134,
"end": 7137,
"loc": {
"start": {
"line": 191,
"column": 32
},
"end": {
"line": 191,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newStatus",
"start": 7138,
"end": 7147,
"loc": {
"start": {
"line": 191,
"column": 36
},
"end": {
"line": 191,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7147,
"end": 7148,
"loc": {
"start": {
"line": 191,
"column": 45
},
"end": {
"line": 191,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7149,
"end": 7150,
"loc": {
"start": {
"line": 191,
"column": 47
},
"end": {
"line": 191,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 7168,
"end": 7174,
"loc": {
"start": {
"line": 192,
"column": 16
},
"end": {
"line": 192,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7174,
"end": 7175,
"loc": {
"start": {
"line": 192,
"column": 22
},
"end": {
"line": 192,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selected",
"start": 7175,
"end": 7183,
"loc": {
"start": {
"line": 192,
"column": 23
},
"end": {
"line": 192,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7184,
"end": 7185,
"loc": {
"start": {
"line": 192,
"column": 32
},
"end": {
"line": 192,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newStatus",
"start": 7186,
"end": 7195,
"loc": {
"start": {
"line": 192,
"column": 34
},
"end": {
"line": 192,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7195,
"end": 7196,
"loc": {
"start": {
"line": 192,
"column": 43
},
"end": {
"line": 192,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 7214,
"end": 7220,
"loc": {
"start": {
"line": 193,
"column": 16
},
"end": {
"line": 193,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7220,
"end": 7221,
"loc": {
"start": {
"line": 193,
"column": 22
},
"end": {
"line": 193,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 7221,
"end": 7228,
"loc": {
"start": {
"line": 193,
"column": 23
},
"end": {
"line": 193,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7228,
"end": 7229,
"loc": {
"start": {
"line": 193,
"column": 30
},
"end": {
"line": 193,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 7229,
"end": 7238,
"loc": {
"start": {
"line": 193,
"column": 31
},
"end": {
"line": 193,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7238,
"end": 7239,
"loc": {
"start": {
"line": 193,
"column": 40
},
"end": {
"line": 193,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toggle",
"start": 7239,
"end": 7245,
"loc": {
"start": {
"line": 193,
"column": 41
},
"end": {
"line": 193,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7245,
"end": 7246,
"loc": {
"start": {
"line": 193,
"column": 47
},
"end": {
"line": 193,
"column": 48
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "selected",
"start": 7246,
"end": 7256,
"loc": {
"start": {
"line": 193,
"column": 48
},
"end": {
"line": 193,
"column": 58
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7256,
"end": 7257,
"loc": {
"start": {
"line": 193,
"column": 58
},
"end": {
"line": 193,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newStatus",
"start": 7258,
"end": 7267,
"loc": {
"start": {
"line": 193,
"column": 60
},
"end": {
"line": 193,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7267,
"end": 7268,
"loc": {
"start": {
"line": 193,
"column": 69
},
"end": {
"line": 193,
"column": 70
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7268,
"end": 7269,
"loc": {
"start": {
"line": 193,
"column": 70
},
"end": {
"line": 193,
"column": 71
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7283,
"end": 7284,
"loc": {
"start": {
"line": 194,
"column": 12
},
"end": {
"line": 194,
"column": 13
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 7298,
"end": 7300,
"loc": {
"start": {
"line": 195,
"column": 12
},
"end": {
"line": 195,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7301,
"end": 7302,
"loc": {
"start": {
"line": 195,
"column": 15
},
"end": {
"line": 195,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 7302,
"end": 7308,
"loc": {
"start": {
"line": 195,
"column": 16
},
"end": {
"line": 195,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7308,
"end": 7309,
"loc": {
"start": {
"line": 195,
"column": 22
},
"end": {
"line": 195,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selected",
"start": 7309,
"end": 7317,
"loc": {
"start": {
"line": 195,
"column": 23
},
"end": {
"line": 195,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7317,
"end": 7318,
"loc": {
"start": {
"line": 195,
"column": 31
},
"end": {
"line": 195,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7319,
"end": 7320,
"loc": {
"start": {
"line": 195,
"column": 33
},
"end": {
"line": 195,
"column": 34
}
}
},
{
"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": 7338,
"end": 7342,
"loc": {
"start": {
"line": 196,
"column": 16
},
"end": {
"line": 196,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7342,
"end": 7343,
"loc": {
"start": {
"line": 196,
"column": 20
},
"end": {
"line": 196,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastSelectedIndex",
"start": 7343,
"end": 7360,
"loc": {
"start": {
"line": 196,
"column": 21
},
"end": {
"line": 196,
"column": 38
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7361,
"end": 7362,
"loc": {
"start": {
"line": 196,
"column": 39
},
"end": {
"line": 196,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 7363,
"end": 7369,
"loc": {
"start": {
"line": 196,
"column": 41
},
"end": {
"line": 196,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7369,
"end": 7370,
"loc": {
"start": {
"line": 196,
"column": 47
},
"end": {
"line": 196,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "index",
"start": 7370,
"end": 7375,
"loc": {
"start": {
"line": 196,
"column": 48
},
"end": {
"line": 196,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7375,
"end": 7376,
"loc": {
"start": {
"line": 196,
"column": 53
},
"end": {
"line": 196,
"column": 54
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7390,
"end": 7391,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 197,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7401,
"end": 7402,
"loc": {
"start": {
"line": 198,
"column": 8
},
"end": {
"line": 198,
"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": 7414,
"end": 7418,
"loc": {
"start": {
"line": 200,
"column": 8
},
"end": {
"line": 200,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7418,
"end": 7419,
"loc": {
"start": {
"line": 200,
"column": 12
},
"end": {
"line": 200,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 7419,
"end": 7426,
"loc": {
"start": {
"line": 200,
"column": 13
},
"end": {
"line": 200,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7426,
"end": 7427,
"loc": {
"start": {
"line": 200,
"column": 20
},
"end": {
"line": 200,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 7427,
"end": 7436,
"loc": {
"start": {
"line": 200,
"column": 21
},
"end": {
"line": 200,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7436,
"end": 7437,
"loc": {
"start": {
"line": 200,
"column": 30
},
"end": {
"line": 200,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toggle",
"start": 7437,
"end": 7443,
"loc": {
"start": {
"line": 200,
"column": 31
},
"end": {
"line": 200,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7443,
"end": 7444,
"loc": {
"start": {
"line": 200,
"column": 37
},
"end": {
"line": 200,
"column": 38
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "buildingSelected",
"start": 7444,
"end": 7462,
"loc": {
"start": {
"line": 200,
"column": 38
},
"end": {
"line": 200,
"column": 56
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7462,
"end": 7463,
"loc": {
"start": {
"line": 200,
"column": 56
},
"end": {
"line": 200,
"column": 57
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 7464,
"end": 7465,
"loc": {
"start": {
"line": 200,
"column": 58
},
"end": {
"line": 200,
"column": 59
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 7465,
"end": 7466,
"loc": {
"start": {
"line": 200,
"column": 59
},
"end": {
"line": 200,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 7466,
"end": 7478,
"loc": {
"start": {
"line": 200,
"column": 60
},
"end": {
"line": 200,
"column": 72
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7478,
"end": 7479,
"loc": {
"start": {
"line": 200,
"column": 72
},
"end": {
"line": 200,
"column": 73
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7479,
"end": 7480,
"loc": {
"start": {
"line": 200,
"column": 73
},
"end": {
"line": 200,
"column": 74
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7486,
"end": 7487,
"loc": {
"start": {
"line": 201,
"column": 4
},
"end": {
"line": 201,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {MetaBuilding} metaBuilding\r\n ",
"start": 7495,
"end": 7550,
"loc": {
"start": {
"line": 203,
"column": 4
},
"end": {
"line": 205,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selectBuildingForPlacement",
"start": 7556,
"end": 7582,
"loc": {
"start": {
"line": 206,
"column": 4
},
"end": {
"line": 206,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7582,
"end": 7583,
"loc": {
"start": {
"line": 206,
"column": 30
},
"end": {
"line": 206,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 7583,
"end": 7595,
"loc": {
"start": {
"line": 206,
"column": 31
},
"end": {
"line": 206,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7595,
"end": 7596,
"loc": {
"start": {
"line": 206,
"column": 43
},
"end": {
"line": 206,
"column": 44
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7597,
"end": 7598,
"loc": {
"start": {
"line": 206,
"column": 45
},
"end": {
"line": 206,
"column": 46
}
}
},
{
"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": 7608,
"end": 7610,
"loc": {
"start": {
"line": 207,
"column": 8
},
"end": {
"line": 207,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7611,
"end": 7612,
"loc": {
"start": {
"line": 207,
"column": 11
},
"end": {
"line": 207,
"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": 7612,
"end": 7613,
"loc": {
"start": {
"line": 207,
"column": 12
},
"end": {
"line": 207,
"column": 13
}
}
},
{
"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": 7613,
"end": 7617,
"loc": {
"start": {
"line": 207,
"column": 13
},
"end": {
"line": 207,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7617,
"end": 7618,
"loc": {
"start": {
"line": 207,
"column": 17
},
"end": {
"line": 207,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibilityCondition",
"start": 7618,
"end": 7637,
"loc": {
"start": {
"line": 207,
"column": 18
},
"end": {
"line": 207,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7637,
"end": 7638,
"loc": {
"start": {
"line": 207,
"column": 37
},
"end": {
"line": 207,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7638,
"end": 7639,
"loc": {
"start": {
"line": 207,
"column": 38
},
"end": {
"line": 207,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7639,
"end": 7640,
"loc": {
"start": {
"line": 207,
"column": 39
},
"end": {
"line": 207,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7641,
"end": 7642,
"loc": {
"start": {
"line": 207,
"column": 41
},
"end": {
"line": 207,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " Not active",
"start": 7656,
"end": 7669,
"loc": {
"start": {
"line": 208,
"column": 12
},
"end": {
"line": 208,
"column": 25
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 7683,
"end": 7689,
"loc": {
"start": {
"line": 209,
"column": 12
},
"end": {
"line": 209,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7689,
"end": 7690,
"loc": {
"start": {
"line": 209,
"column": 18
},
"end": {
"line": 209,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7700,
"end": 7701,
"loc": {
"start": {
"line": 210,
"column": 8
},
"end": {
"line": 210,
"column": 9
}
}
},
{
"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": 7713,
"end": 7715,
"loc": {
"start": {
"line": 212,
"column": 8
},
"end": {
"line": 212,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7716,
"end": 7717,
"loc": {
"start": {
"line": 212,
"column": 11
},
"end": {
"line": 212,
"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": 7717,
"end": 7718,
"loc": {
"start": {
"line": 212,
"column": 12
},
"end": {
"line": 212,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 7718,
"end": 7730,
"loc": {
"start": {
"line": 212,
"column": 13
},
"end": {
"line": 212,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7730,
"end": 7731,
"loc": {
"start": {
"line": 212,
"column": 25
},
"end": {
"line": 212,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getIsUnlocked",
"start": 7731,
"end": 7744,
"loc": {
"start": {
"line": 212,
"column": 26
},
"end": {
"line": 212,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7744,
"end": 7745,
"loc": {
"start": {
"line": 212,
"column": 39
},
"end": {
"line": 212,
"column": 40
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 7745,
"end": 7749,
"loc": {
"start": {
"line": 212,
"column": 40
},
"end": {
"line": 212,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7749,
"end": 7750,
"loc": {
"start": {
"line": 212,
"column": 44
},
"end": {
"line": 212,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 7750,
"end": 7754,
"loc": {
"start": {
"line": 212,
"column": 45
},
"end": {
"line": 212,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7754,
"end": 7755,
"loc": {
"start": {
"line": 212,
"column": 49
},
"end": {
"line": 212,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7755,
"end": 7756,
"loc": {
"start": {
"line": 212,
"column": 50
},
"end": {
"line": 212,
"column": 51
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7757,
"end": 7758,
"loc": {
"start": {
"line": 212,
"column": 52
},
"end": {
"line": 212,
"column": 53
}
}
},
{
"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": 7772,
"end": 7776,
"loc": {
"start": {
"line": 213,
"column": 12
},
"end": {
"line": 213,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7776,
"end": 7777,
"loc": {
"start": {
"line": 213,
"column": 16
},
"end": {
"line": 213,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 7777,
"end": 7781,
"loc": {
"start": {
"line": 213,
"column": 17
},
"end": {
"line": 213,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7781,
"end": 7782,
"loc": {
"start": {
"line": 213,
"column": 21
},
"end": {
"line": 213,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "soundProxy",
"start": 7782,
"end": 7792,
"loc": {
"start": {
"line": 213,
"column": 22
},
"end": {
"line": 213,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7792,
"end": 7793,
"loc": {
"start": {
"line": 213,
"column": 32
},
"end": {
"line": 213,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "playUiError",
"start": 7793,
"end": 7804,
"loc": {
"start": {
"line": 213,
"column": 33
},
"end": {
"line": 213,
"column": 44
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7804,
"end": 7805,
"loc": {
"start": {
"line": 213,
"column": 44
},
"end": {
"line": 213,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7805,
"end": 7806,
"loc": {
"start": {
"line": 213,
"column": 45
},
"end": {
"line": 213,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7806,
"end": 7807,
"loc": {
"start": {
"line": 213,
"column": 46
},
"end": {
"line": 213,
"column": 47
}
}
},
{
"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": 7821,
"end": 7827,
"loc": {
"start": {
"line": 214,
"column": 12
},
"end": {
"line": 214,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "STOP_PROPAGATION",
"start": 7828,
"end": 7844,
"loc": {
"start": {
"line": 214,
"column": 19
},
"end": {
"line": 214,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7844,
"end": 7845,
"loc": {
"start": {
"line": 214,
"column": 35
},
"end": {
"line": 214,
"column": 36
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7855,
"end": 7856,
"loc": {
"start": {
"line": 215,
"column": 8
},
"end": {
"line": 215,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Allow clicking an item again to deselect it",
"start": 7868,
"end": 7914,
"loc": {
"start": {
"line": 217,
"column": 8
},
"end": {
"line": 217,
"column": 54
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 7924,
"end": 7927,
"loc": {
"start": {
"line": 218,
"column": 8
},
"end": {
"line": 218,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7928,
"end": 7929,
"loc": {
"start": {
"line": 218,
"column": 12
},
"end": {
"line": 218,
"column": 13
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 7929,
"end": 7934,
"loc": {
"start": {
"line": 218,
"column": 13
},
"end": {
"line": 218,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildingId",
"start": 7935,
"end": 7945,
"loc": {
"start": {
"line": 218,
"column": 19
},
"end": {
"line": 218,
"column": 29
}
}
},
{
"type": {
"label": "in",
"keyword": "in",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "in",
"start": 7946,
"end": 7948,
"loc": {
"start": {
"line": 218,
"column": 30
},
"end": {
"line": 218,
"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": 7949,
"end": 7953,
"loc": {
"start": {
"line": 218,
"column": 33
},
"end": {
"line": 218,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7953,
"end": 7954,
"loc": {
"start": {
"line": 218,
"column": 37
},
"end": {
"line": 218,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildingHandles",
"start": 7954,
"end": 7969,
"loc": {
"start": {
"line": 218,
"column": 38
},
"end": {
"line": 218,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7969,
"end": 7970,
"loc": {
"start": {
"line": 218,
"column": 53
},
"end": {
"line": 218,
"column": 54
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7971,
"end": 7972,
"loc": {
"start": {
"line": 218,
"column": 55
},
"end": {
"line": 218,
"column": 56
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 7986,
"end": 7991,
"loc": {
"start": {
"line": 219,
"column": 12
},
"end": {
"line": 219,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 7992,
"end": 7998,
"loc": {
"start": {
"line": 219,
"column": 18
},
"end": {
"line": 219,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7999,
"end": 8000,
"loc": {
"start": {
"line": 219,
"column": 25
},
"end": {
"line": 219,
"column": 26
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 8001,
"end": 8005,
"loc": {
"start": {
"line": 219,
"column": 27
},
"end": {
"line": 219,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8005,
"end": 8006,
"loc": {
"start": {
"line": 219,
"column": 31
},
"end": {
"line": 219,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildingHandles",
"start": 8006,
"end": 8021,
"loc": {
"start": {
"line": 219,
"column": 32
},
"end": {
"line": 219,
"column": 47
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8021,
"end": 8022,
"loc": {
"start": {
"line": 219,
"column": 47
},
"end": {
"line": 219,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildingId",
"start": 8022,
"end": 8032,
"loc": {
"start": {
"line": 219,
"column": 48
},
"end": {
"line": 219,
"column": 58
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8032,
"end": 8033,
"loc": {
"start": {
"line": 219,
"column": 58
},
"end": {
"line": 219,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8033,
"end": 8034,
"loc": {
"start": {
"line": 219,
"column": 59
},
"end": {
"line": 219,
"column": 60
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 8048,
"end": 8050,
"loc": {
"start": {
"line": 220,
"column": 12
},
"end": {
"line": 220,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8051,
"end": 8052,
"loc": {
"start": {
"line": 220,
"column": 15
},
"end": {
"line": 220,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 8052,
"end": 8058,
"loc": {
"start": {
"line": 220,
"column": 16
},
"end": {
"line": 220,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8058,
"end": 8059,
"loc": {
"start": {
"line": 220,
"column": 22
},
"end": {
"line": 220,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selected",
"start": 8059,
"end": 8067,
"loc": {
"start": {
"line": 220,
"column": 23
},
"end": {
"line": 220,
"column": 31
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 8068,
"end": 8070,
"loc": {
"start": {
"line": 220,
"column": 32
},
"end": {
"line": 220,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 8071,
"end": 8077,
"loc": {
"start": {
"line": 220,
"column": 35
},
"end": {
"line": 220,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8077,
"end": 8078,
"loc": {
"start": {
"line": 220,
"column": 41
},
"end": {
"line": 220,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 8078,
"end": 8090,
"loc": {
"start": {
"line": 220,
"column": 42
},
"end": {
"line": 220,
"column": 54
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 8091,
"end": 8094,
"loc": {
"start": {
"line": 220,
"column": 55
},
"end": {
"line": 220,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 8095,
"end": 8107,
"loc": {
"start": {
"line": 220,
"column": 59
},
"end": {
"line": 220,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8107,
"end": 8108,
"loc": {
"start": {
"line": 220,
"column": 71
},
"end": {
"line": 220,
"column": 72
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8109,
"end": 8110,
"loc": {
"start": {
"line": 220,
"column": 73
},
"end": {
"line": 220,
"column": 74
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 8128,
"end": 8140,
"loc": {
"start": {
"line": 221,
"column": 16
},
"end": {
"line": 221,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8141,
"end": 8142,
"loc": {
"start": {
"line": 221,
"column": 29
},
"end": {
"line": 221,
"column": 30
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 8143,
"end": 8147,
"loc": {
"start": {
"line": 221,
"column": 31
},
"end": {
"line": 221,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8147,
"end": 8148,
"loc": {
"start": {
"line": 221,
"column": 35
},
"end": {
"line": 221,
"column": 36
}
}
},
{
"type": {
"label": "break",
"keyword": "break",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "break",
"start": 8166,
"end": 8171,
"loc": {
"start": {
"line": 222,
"column": 16
},
"end": {
"line": 222,
"column": 21
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8171,
"end": 8172,
"loc": {
"start": {
"line": 222,
"column": 21
},
"end": {
"line": 222,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8186,
"end": 8187,
"loc": {
"start": {
"line": 223,
"column": 12
},
"end": {
"line": 223,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8197,
"end": 8198,
"loc": {
"start": {
"line": 224,
"column": 8
},
"end": {
"line": 224,
"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": 8210,
"end": 8214,
"loc": {
"start": {
"line": 226,
"column": 8
},
"end": {
"line": 226,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8214,
"end": 8215,
"loc": {
"start": {
"line": 226,
"column": 12
},
"end": {
"line": 226,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 8215,
"end": 8219,
"loc": {
"start": {
"line": 226,
"column": 13
},
"end": {
"line": 226,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8219,
"end": 8220,
"loc": {
"start": {
"line": 226,
"column": 17
},
"end": {
"line": 226,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "soundProxy",
"start": 8220,
"end": 8230,
"loc": {
"start": {
"line": 226,
"column": 18
},
"end": {
"line": 226,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8230,
"end": 8231,
"loc": {
"start": {
"line": 226,
"column": 28
},
"end": {
"line": 226,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "playUiClick",
"start": 8231,
"end": 8242,
"loc": {
"start": {
"line": 226,
"column": 29
},
"end": {
"line": 226,
"column": 40
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8242,
"end": 8243,
"loc": {
"start": {
"line": 226,
"column": 40
},
"end": {
"line": 226,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8243,
"end": 8244,
"loc": {
"start": {
"line": 226,
"column": 41
},
"end": {
"line": 226,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8244,
"end": 8245,
"loc": {
"start": {
"line": 226,
"column": 42
},
"end": {
"line": 226,
"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": 8255,
"end": 8259,
"loc": {
"start": {
"line": 227,
"column": 8
},
"end": {
"line": 227,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8259,
"end": 8260,
"loc": {
"start": {
"line": 227,
"column": 12
},
"end": {
"line": 227,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 8260,
"end": 8264,
"loc": {
"start": {
"line": 227,
"column": 13
},
"end": {
"line": 227,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8264,
"end": 8265,
"loc": {
"start": {
"line": 227,
"column": 17
},
"end": {
"line": 227,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hud",
"start": 8265,
"end": 8268,
"loc": {
"start": {
"line": 227,
"column": 18
},
"end": {
"line": 227,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8268,
"end": 8269,
"loc": {
"start": {
"line": 227,
"column": 21
},
"end": {
"line": 227,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 8269,
"end": 8276,
"loc": {
"start": {
"line": 227,
"column": 22
},
"end": {
"line": 227,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8276,
"end": 8277,
"loc": {
"start": {
"line": 227,
"column": 29
},
"end": {
"line": 227,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildingSelectedForPlacement",
"start": 8277,
"end": 8305,
"loc": {
"start": {
"line": 227,
"column": 30
},
"end": {
"line": 227,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8305,
"end": 8306,
"loc": {
"start": {
"line": 227,
"column": 58
},
"end": {
"line": 227,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dispatch",
"start": 8306,
"end": 8314,
"loc": {
"start": {
"line": 227,
"column": 59
},
"end": {
"line": 227,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8314,
"end": 8315,
"loc": {
"start": {
"line": 227,
"column": 67
},
"end": {
"line": 227,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 8315,
"end": 8327,
"loc": {
"start": {
"line": 227,
"column": 68
},
"end": {
"line": 227,
"column": 80
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8327,
"end": 8328,
"loc": {
"start": {
"line": 227,
"column": 80
},
"end": {
"line": 227,
"column": 81
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8328,
"end": 8329,
"loc": {
"start": {
"line": 227,
"column": 81
},
"end": {
"line": 227,
"column": 82
}
}
},
{
"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": 8339,
"end": 8343,
"loc": {
"start": {
"line": 228,
"column": 8
},
"end": {
"line": 228,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8343,
"end": 8344,
"loc": {
"start": {
"line": 228,
"column": 12
},
"end": {
"line": 228,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onSelectedPlacementBuildingChanged",
"start": 8344,
"end": 8378,
"loc": {
"start": {
"line": 228,
"column": 13
},
"end": {
"line": 228,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8378,
"end": 8379,
"loc": {
"start": {
"line": 228,
"column": 47
},
"end": {
"line": 228,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 8379,
"end": 8391,
"loc": {
"start": {
"line": 228,
"column": 48
},
"end": {
"line": 228,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8391,
"end": 8392,
"loc": {
"start": {
"line": 228,
"column": 60
},
"end": {
"line": 228,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8392,
"end": 8393,
"loc": {
"start": {
"line": 228,
"column": 61
},
"end": {
"line": 228,
"column": 62
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8399,
"end": 8400,
"loc": {
"start": {
"line": 229,
"column": 4
},
"end": {
"line": 229,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8402,
"end": 8403,
"loc": {
"start": {
"line": 230,
"column": 0
},
"end": {
"line": 230,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8403,
"end": 8403,
"loc": {
"start": {
"line": 230,
"column": 1
},
"end": {
"line": 230,
"column": 1
}
}
}
]
}