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/pinned_shapes.js.json
2021-02-26 15:20:37 +01:00

58072 lines
1.5 MiB

{
"type": "File",
"start": 0,
"end": 10861,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 330,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 10861,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 330,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 61,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 61
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 22
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 22
},
"identifierName": "ClickDetector"
},
"name": "ClickDetector"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 22
},
"identifierName": "ClickDetector"
},
"name": "ClickDetector"
}
}
],
"source": {
"type": "StringLiteral",
"start": 30,
"end": 60,
"loc": {
"start": {
"line": 1,
"column": 30
},
"end": {
"line": 1,
"column": 60
}
},
"extra": {
"rawValue": "../../../core/click_detector",
"raw": "\"../../../core/click_detector\""
},
"value": "../../../core/click_detector"
}
},
{
"type": "ImportDeclaration",
"start": 63,
"end": 115,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 52
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 72,
"end": 84,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 72,
"end": 84,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"local": {
"type": "Identifier",
"start": 72,
"end": 84,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
}
}
],
"source": {
"type": "StringLiteral",
"start": 92,
"end": 114,
"loc": {
"start": {
"line": 2,
"column": 29
},
"end": {
"line": 2,
"column": 51
}
},
"extra": {
"rawValue": "../../../core/config",
"raw": "\"../../../core/config\""
},
"value": "../../../core/config"
}
},
{
"type": "ImportDeclaration",
"start": 117,
"end": 198,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 81
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 126,
"end": 142,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 25
}
},
"imported": {
"type": "Identifier",
"start": 126,
"end": 142,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 25
},
"identifierName": "arrayDeleteValue"
},
"name": "arrayDeleteValue"
},
"local": {
"type": "Identifier",
"start": 126,
"end": 142,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 25
},
"identifierName": "arrayDeleteValue"
},
"name": "arrayDeleteValue"
}
},
{
"type": "ImportSpecifier",
"start": 144,
"end": 159,
"loc": {
"start": {
"line": 3,
"column": 27
},
"end": {
"line": 3,
"column": 42
}
},
"imported": {
"type": "Identifier",
"start": 144,
"end": 159,
"loc": {
"start": {
"line": 3,
"column": 27
},
"end": {
"line": 3,
"column": 42
},
"identifierName": "formatBigNumber"
},
"name": "formatBigNumber"
},
"local": {
"type": "Identifier",
"start": 144,
"end": 159,
"loc": {
"start": {
"line": 3,
"column": 27
},
"end": {
"line": 3,
"column": 42
},
"identifierName": "formatBigNumber"
},
"name": "formatBigNumber"
}
},
{
"type": "ImportSpecifier",
"start": 161,
"end": 168,
"loc": {
"start": {
"line": 3,
"column": 44
},
"end": {
"line": 3,
"column": 51
}
},
"imported": {
"type": "Identifier",
"start": 161,
"end": 168,
"loc": {
"start": {
"line": 3,
"column": 44
},
"end": {
"line": 3,
"column": 51
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
},
"local": {
"type": "Identifier",
"start": 161,
"end": 168,
"loc": {
"start": {
"line": 3,
"column": 44
},
"end": {
"line": 3,
"column": 51
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
}
}
],
"source": {
"type": "StringLiteral",
"start": 176,
"end": 197,
"loc": {
"start": {
"line": 3,
"column": 59
},
"end": {
"line": 3,
"column": 80
}
},
"extra": {
"rawValue": "../../../core/utils",
"raw": "\"../../../core/utils\""
},
"value": "../../../core/utils"
}
},
{
"type": "ImportDeclaration",
"start": 200,
"end": 242,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 42
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 209,
"end": 210,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 10
}
},
"imported": {
"type": "Identifier",
"start": 209,
"end": 210,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 10
},
"identifierName": "T"
},
"name": "T"
},
"local": {
"type": "Identifier",
"start": 209,
"end": 210,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 10
},
"identifierName": "T"
},
"name": "T"
}
}
],
"source": {
"type": "StringLiteral",
"start": 218,
"end": 241,
"loc": {
"start": {
"line": 4,
"column": 18
},
"end": {
"line": 4,
"column": 41
}
},
"extra": {
"rawValue": "../../../translations",
"raw": "\"../../../translations\""
},
"value": "../../../translations"
}
},
{
"type": "ImportDeclaration",
"start": 244,
"end": 313,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 69
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 253,
"end": 276,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 32
}
},
"imported": {
"type": "Identifier",
"start": 253,
"end": 276,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 32
},
"identifierName": "enumAnalyticsDataSource"
},
"name": "enumAnalyticsDataSource"
},
"local": {
"type": "Identifier",
"start": 253,
"end": 276,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 32
},
"identifierName": "enumAnalyticsDataSource"
},
"name": "enumAnalyticsDataSource"
}
}
],
"source": {
"type": "StringLiteral",
"start": 284,
"end": 312,
"loc": {
"start": {
"line": 5,
"column": 40
},
"end": {
"line": 5,
"column": 68
}
},
"extra": {
"rawValue": "../../production_analytics",
"raw": "\"../../production_analytics\""
},
"value": "../../production_analytics"
}
},
{
"type": "ImportDeclaration",
"start": 315,
"end": 372,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 57
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 324,
"end": 339,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 324,
"end": 339,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 24
},
"identifierName": "ShapeDefinition"
},
"name": "ShapeDefinition"
},
"local": {
"type": "Identifier",
"start": 324,
"end": 339,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 24
},
"identifierName": "ShapeDefinition"
},
"name": "ShapeDefinition"
}
}
],
"source": {
"type": "StringLiteral",
"start": 347,
"end": 371,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 56
}
},
"extra": {
"rawValue": "../../shape_definition",
"raw": "\"../../shape_definition\""
},
"value": "../../shape_definition"
}
},
{
"type": "ImportDeclaration",
"start": 374,
"end": 432,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 58
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 383,
"end": 401,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 27
}
},
"imported": {
"type": "Identifier",
"start": 383,
"end": 401,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 27
},
"identifierName": "enumHubGoalRewards"
},
"name": "enumHubGoalRewards"
},
"local": {
"type": "Identifier",
"start": 383,
"end": 401,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 27
},
"identifierName": "enumHubGoalRewards"
},
"name": "enumHubGoalRewards"
}
}
],
"source": {
"type": "StringLiteral",
"start": 409,
"end": 431,
"loc": {
"start": {
"line": 7,
"column": 35
},
"end": {
"line": 7,
"column": 57
}
},
"extra": {
"rawValue": "../../tutorial_goals",
"raw": "\"../../tutorial_goals\""
},
"value": "../../tutorial_goals"
}
},
{
"type": "ImportDeclaration",
"start": 434,
"end": 481,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 47
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 443,
"end": 454,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 20
}
},
"imported": {
"type": "Identifier",
"start": 443,
"end": 454,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 20
},
"identifierName": "BaseHUDPart"
},
"name": "BaseHUDPart"
},
"local": {
"type": "Identifier",
"start": 443,
"end": 454,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 20
},
"identifierName": "BaseHUDPart"
},
"name": "BaseHUDPart"
}
}
],
"source": {
"type": "StringLiteral",
"start": 462,
"end": 480,
"loc": {
"start": {
"line": 8,
"column": 28
},
"end": {
"line": 8,
"column": 46
}
},
"extra": {
"rawValue": "../base_hud_part",
"raw": "\"../base_hud_part\""
},
"value": "../base_hud_part"
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Manages the pinned shapes on the left side of the screen\r\n ",
"start": 485,
"end": 554,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 12,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 556,
"end": 10859,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 329,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 563,
"end": 10859,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 329,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 569,
"end": 584,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 28
},
"identifierName": "HUDPinnedShapes"
},
"name": "HUDPinnedShapes",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 593,
"end": 604,
"loc": {
"start": {
"line": 13,
"column": 37
},
"end": {
"line": 13,
"column": 48
},
"identifierName": "BaseHUDPart"
},
"name": "BaseHUDPart"
},
"body": {
"type": "ClassBody",
"start": 605,
"end": 10859,
"loc": {
"start": {
"line": 13,
"column": 49
},
"end": {
"line": 329,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 612,
"end": 1346,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 37,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 612,
"end": 623,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 624,
"end": 628,
"loc": {
"start": {
"line": 14,
"column": 16
},
"end": {
"line": 14,
"column": 20
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "BlockStatement",
"start": 630,
"end": 1346,
"loc": {
"start": {
"line": 14,
"column": 22
},
"end": {
"line": 37,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 641,
"end": 653,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 20
}
},
"expression": {
"type": "CallExpression",
"start": 641,
"end": 652,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 19
}
},
"callee": {
"type": "Super",
"start": 641,
"end": 646,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 647,
"end": 651,
"loc": {
"start": {
"line": 15,
"column": 14
},
"end": {
"line": 15,
"column": 18
},
"identifierName": "root"
},
"name": "root"
}
]
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Store a list of pinned shapes\r\n * @type {Array<string>}\r\n ",
"start": 663,
"end": 755,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 19,
"column": 11
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 765,
"end": 788,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 31
}
},
"expression": {
"type": "AssignmentExpression",
"start": 765,
"end": 787,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 30
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 765,
"end": 782,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 765,
"end": 769,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 770,
"end": 782,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 25
},
"identifierName": "pinnedShapes"
},
"name": "pinnedShapes"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "ArrayExpression",
"start": 785,
"end": 787,
"loc": {
"start": {
"line": 20,
"column": 28
},
"end": {
"line": 20,
"column": 30
}
},
"elements": []
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Store a list of pinned shapes\r\n * @type {Array<string>}\r\n ",
"start": 663,
"end": 755,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 19,
"column": 11
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Store handles to the currently rendered elements, so we can update them more\r\n * convenient. Also allows for cleaning up handles.\r\n * @type {Array<{\r\n * key: string,\r\n * definition: ShapeDefinition,\r\n * amountLabel: HTMLElement,\r\n * lastRenderedValue: string,\r\n * element: HTMLElement,\r\n * detector?: ClickDetector,\r\n * infoDetector?: ClickDetector,\r\n * throughputOnly?: boolean\r\n * }>}\r\n ",
"start": 800,
"end": 1311,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 35,
"column": 11
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1321,
"end": 1339,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 26
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1321,
"end": 1338,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 25
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1321,
"end": 1333,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 1321,
"end": 1325,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1326,
"end": 1333,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 36,
"column": 20
},
"identifierName": "handles"
},
"name": "handles"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "ArrayExpression",
"start": 1336,
"end": 1338,
"loc": {
"start": {
"line": 36,
"column": 23
},
"end": {
"line": 36,
"column": 25
}
},
"elements": []
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Store handles to the currently rendered elements, so we can update them more\r\n * convenient. Also allows for cleaning up handles.\r\n * @type {Array<{\r\n * key: string,\r\n * definition: ShapeDefinition,\r\n * amountLabel: HTMLElement,\r\n * lastRenderedValue: string,\r\n * element: HTMLElement,\r\n * detector?: ClickDetector,\r\n * infoDetector?: ClickDetector,\r\n * throughputOnly?: boolean\r\n * }>}\r\n ",
"start": 800,
"end": 1311,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 35,
"column": 11
}
}
}
]
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1354,
"end": 1457,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 41,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1354,
"end": 1368,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 18
},
"identifierName": "createElements"
},
"name": "createElements"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1369,
"end": 1375,
"loc": {
"start": {
"line": 39,
"column": 19
},
"end": {
"line": 39,
"column": 25
},
"identifierName": "parent"
},
"name": "parent"
}
],
"body": {
"type": "BlockStatement",
"start": 1377,
"end": 1457,
"loc": {
"start": {
"line": 39,
"column": 27
},
"end": {
"line": 41,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1388,
"end": 1450,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 70
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1388,
"end": 1449,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 69
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1388,
"end": 1400,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 1388,
"end": 1392,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1393,
"end": 1400,
"loc": {
"start": {
"line": 40,
"column": 13
},
"end": {
"line": 40,
"column": 20
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1403,
"end": 1449,
"loc": {
"start": {
"line": 40,
"column": 23
},
"end": {
"line": 40,
"column": 69
}
},
"callee": {
"type": "Identifier",
"start": 1403,
"end": 1410,
"loc": {
"start": {
"line": 40,
"column": 23
},
"end": {
"line": 40,
"column": 30
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
},
"arguments": [
{
"type": "Identifier",
"start": 1411,
"end": 1417,
"loc": {
"start": {
"line": 40,
"column": 31
},
"end": {
"line": 40,
"column": 37
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "StringLiteral",
"start": 1419,
"end": 1444,
"loc": {
"start": {
"line": 40,
"column": 39
},
"end": {
"line": 40,
"column": 64
}
},
"extra": {
"rawValue": "ingame_HUD_PinnedShapes",
"raw": "\"ingame_HUD_PinnedShapes\""
},
"value": "ingame_HUD_PinnedShapes"
},
{
"type": "ArrayExpression",
"start": 1446,
"end": 1448,
"loc": {
"start": {
"line": 40,
"column": 66
},
"end": {
"line": 40,
"column": 68
}
},
"elements": []
}
]
}
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Serializes the pinned shapes\r\n ",
"start": 1465,
"end": 1514,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 45,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1520,
"end": 1610,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 50,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1520,
"end": 1529,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 13
},
"identifierName": "serialize"
},
"name": "serialize",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1532,
"end": 1610,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 50,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1543,
"end": 1603,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 49,
"column": 10
}
},
"argument": {
"type": "ObjectExpression",
"start": 1550,
"end": 1602,
"loc": {
"start": {
"line": 47,
"column": 15
},
"end": {
"line": 49,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1565,
"end": 1590,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 37
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1565,
"end": 1571,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 18
},
"identifierName": "shapes"
},
"name": "shapes"
},
"value": {
"type": "MemberExpression",
"start": 1573,
"end": 1590,
"loc": {
"start": {
"line": 48,
"column": 20
},
"end": {
"line": 48,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 1573,
"end": 1577,
"loc": {
"start": {
"line": 48,
"column": 20
},
"end": {
"line": 48,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1578,
"end": 1590,
"loc": {
"start": {
"line": 48,
"column": 25
},
"end": {
"line": 48,
"column": 37
},
"identifierName": "pinnedShapes"
},
"name": "pinnedShapes"
},
"computed": false
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Serializes the pinned shapes\r\n ",
"start": 1465,
"end": 1514,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 45,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Deserializes the pinned shapes\r\n * @param {{ shapes: Array<string>}} data\r\n ",
"start": 1618,
"end": 1716,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 55,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1722,
"end": 1920,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 61,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1722,
"end": 1733,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 56,
"column": 15
},
"identifierName": "deserialize"
},
"name": "deserialize",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1734,
"end": 1738,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 20
},
"identifierName": "data"
},
"name": "data"
}
],
"body": {
"type": "BlockStatement",
"start": 1740,
"end": 1920,
"loc": {
"start": {
"line": 56,
"column": 22
},
"end": {
"line": 61,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 1751,
"end": 1871,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 59,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 1755,
"end": 1807,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 64
}
},
"left": {
"type": "LogicalExpression",
"start": 1755,
"end": 1776,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 33
}
},
"left": {
"type": "UnaryExpression",
"start": 1755,
"end": 1760,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 17
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1756,
"end": 1760,
"loc": {
"start": {
"line": 57,
"column": 13
},
"end": {
"line": 57,
"column": 17
},
"identifierName": "data"
},
"name": "data"
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 1764,
"end": 1776,
"loc": {
"start": {
"line": 57,
"column": 21
},
"end": {
"line": 57,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 1765,
"end": 1776,
"loc": {
"start": {
"line": 57,
"column": 22
},
"end": {
"line": 57,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 1765,
"end": 1769,
"loc": {
"start": {
"line": 57,
"column": 22
},
"end": {
"line": 57,
"column": 26
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 1770,
"end": 1776,
"loc": {
"start": {
"line": 57,
"column": 27
},
"end": {
"line": 57,
"column": 33
},
"identifierName": "shapes"
},
"name": "shapes"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 1780,
"end": 1807,
"loc": {
"start": {
"line": 57,
"column": 37
},
"end": {
"line": 57,
"column": 64
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1781,
"end": 1807,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 1781,
"end": 1794,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 1781,
"end": 1786,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 43
},
"identifierName": "Array"
},
"name": "Array"
},
"property": {
"type": "Identifier",
"start": 1787,
"end": 1794,
"loc": {
"start": {
"line": 57,
"column": 44
},
"end": {
"line": 57,
"column": 51
},
"identifierName": "isArray"
},
"name": "isArray"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1795,
"end": 1806,
"loc": {
"start": {
"line": 57,
"column": 52
},
"end": {
"line": 57,
"column": 63
}
},
"object": {
"type": "Identifier",
"start": 1795,
"end": 1799,
"loc": {
"start": {
"line": 57,
"column": 52
},
"end": {
"line": 57,
"column": 56
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 1800,
"end": 1806,
"loc": {
"start": {
"line": 57,
"column": 57
},
"end": {
"line": 57,
"column": 63
},
"identifierName": "shapes"
},
"name": "shapes"
},
"computed": false
}
]
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1809,
"end": 1871,
"loc": {
"start": {
"line": 57,
"column": 66
},
"end": {
"line": 59,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1824,
"end": 1860,
"loc": {
"start": {
"line": 58,
"column": 12
},
"end": {
"line": 58,
"column": 48
}
},
"argument": {
"type": "StringLiteral",
"start": 1831,
"end": 1859,
"loc": {
"start": {
"line": 58,
"column": 19
},
"end": {
"line": 58,
"column": 47
}
},
"extra": {
"rawValue": "Invalid pinned shapes data",
"raw": "\"Invalid pinned shapes data\""
},
"value": "Invalid pinned shapes data"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1881,
"end": 1913,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 40
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1881,
"end": 1912,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 39
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1881,
"end": 1898,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 1881,
"end": 1885,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1886,
"end": 1898,
"loc": {
"start": {
"line": 60,
"column": 13
},
"end": {
"line": 60,
"column": 25
},
"identifierName": "pinnedShapes"
},
"name": "pinnedShapes"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 1901,
"end": 1912,
"loc": {
"start": {
"line": 60,
"column": 28
},
"end": {
"line": 60,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 1901,
"end": 1905,
"loc": {
"start": {
"line": 60,
"column": 28
},
"end": {
"line": 60,
"column": 32
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 1906,
"end": 1912,
"loc": {
"start": {
"line": 60,
"column": 33
},
"end": {
"line": 60,
"column": 39
},
"identifierName": "shapes"
},
"name": "shapes"
},
"computed": false
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Deserializes the pinned shapes\r\n * @param {{ shapes: Array<string>}} data\r\n ",
"start": 1618,
"end": 1716,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 55,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Initializes the hud component\r\n ",
"start": 1928,
"end": 1978,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 65,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1984,
"end": 2517,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 76,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1984,
"end": 1994,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 66,
"column": 14
},
"identifierName": "initialize"
},
"name": "initialize",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1997,
"end": 2517,
"loc": {
"start": {
"line": 66,
"column": 17
},
"end": {
"line": 76,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2052,
"end": 2118,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 74
}
},
"expression": {
"type": "CallExpression",
"start": 2052,
"end": 2117,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 73
}
},
"callee": {
"type": "MemberExpression",
"start": 2052,
"end": 2092,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 2052,
"end": 2088,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 2052,
"end": 2069,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 2052,
"end": 2061,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 2052,
"end": 2056,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2057,
"end": 2061,
"loc": {
"start": {
"line": 68,
"column": 13
},
"end": {
"line": 68,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2062,
"end": 2069,
"loc": {
"start": {
"line": 68,
"column": 18
},
"end": {
"line": 68,
"column": 25
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2070,
"end": 2088,
"loc": {
"start": {
"line": 68,
"column": 26
},
"end": {
"line": 68,
"column": 44
},
"identifierName": "storyGoalCompleted"
},
"name": "storyGoalCompleted"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2089,
"end": 2092,
"loc": {
"start": {
"line": 68,
"column": 45
},
"end": {
"line": 68,
"column": 48
},
"identifierName": "add"
},
"name": "add"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "MemberExpression",
"start": 2093,
"end": 2110,
"loc": {
"start": {
"line": 68,
"column": 49
},
"end": {
"line": 68,
"column": 66
}
},
"object": {
"type": "ThisExpression",
"start": 2093,
"end": 2097,
"loc": {
"start": {
"line": 68,
"column": 49
},
"end": {
"line": 68,
"column": 53
}
}
},
"property": {
"type": "Identifier",
"start": 2098,
"end": 2110,
"loc": {
"start": {
"line": 68,
"column": 54
},
"end": {
"line": 68,
"column": 66
},
"identifierName": "rerenderFull"
},
"name": "rerenderFull"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 2112,
"end": 2116,
"loc": {
"start": {
"line": 68,
"column": 68
},
"end": {
"line": 68,
"column": 72
}
}
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Connect to any relevant signals",
"start": 2008,
"end": 2042,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 42
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 2128,
"end": 2204,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 84
}
},
"expression": {
"type": "CallExpression",
"start": 2128,
"end": 2203,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 83
}
},
"callee": {
"type": "MemberExpression",
"start": 2128,
"end": 2166,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 2128,
"end": 2162,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 2128,
"end": 2145,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 2128,
"end": 2137,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 2128,
"end": 2132,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2133,
"end": 2137,
"loc": {
"start": {
"line": 69,
"column": 13
},
"end": {
"line": 69,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2138,
"end": 2145,
"loc": {
"start": {
"line": 69,
"column": 18
},
"end": {
"line": 69,
"column": 25
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2146,
"end": 2162,
"loc": {
"start": {
"line": 69,
"column": 26
},
"end": {
"line": 69,
"column": 42
},
"identifierName": "upgradePurchased"
},
"name": "upgradePurchased"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2163,
"end": 2166,
"loc": {
"start": {
"line": 69,
"column": 43
},
"end": {
"line": 69,
"column": 46
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2167,
"end": 2196,
"loc": {
"start": {
"line": 69,
"column": 47
},
"end": {
"line": 69,
"column": 76
}
},
"object": {
"type": "ThisExpression",
"start": 2167,
"end": 2171,
"loc": {
"start": {
"line": 69,
"column": 47
},
"end": {
"line": 69,
"column": 51
}
}
},
"property": {
"type": "Identifier",
"start": 2172,
"end": 2196,
"loc": {
"start": {
"line": 69,
"column": 52
},
"end": {
"line": 69,
"column": 76
},
"identifierName": "updateShapesAfterUpgrade"
},
"name": "updateShapesAfterUpgrade"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 2198,
"end": 2202,
"loc": {
"start": {
"line": 69,
"column": 78
},
"end": {
"line": 69,
"column": 82
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2214,
"end": 2274,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 68
}
},
"expression": {
"type": "CallExpression",
"start": 2214,
"end": 2273,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 67
}
},
"callee": {
"type": "MemberExpression",
"start": 2214,
"end": 2248,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 2214,
"end": 2244,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 2214,
"end": 2231,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 2214,
"end": 2223,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 2214,
"end": 2218,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2219,
"end": 2223,
"loc": {
"start": {
"line": 70,
"column": 13
},
"end": {
"line": 70,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2224,
"end": 2231,
"loc": {
"start": {
"line": 70,
"column": 18
},
"end": {
"line": 70,
"column": 25
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2232,
"end": 2244,
"loc": {
"start": {
"line": 70,
"column": 26
},
"end": {
"line": 70,
"column": 38
},
"identifierName": "postLoadHook"
},
"name": "postLoadHook"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2245,
"end": 2248,
"loc": {
"start": {
"line": 70,
"column": 39
},
"end": {
"line": 70,
"column": 42
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2249,
"end": 2266,
"loc": {
"start": {
"line": 70,
"column": 43
},
"end": {
"line": 70,
"column": 60
}
},
"object": {
"type": "ThisExpression",
"start": 2249,
"end": 2253,
"loc": {
"start": {
"line": 70,
"column": 43
},
"end": {
"line": 70,
"column": 47
}
}
},
"property": {
"type": "Identifier",
"start": 2254,
"end": 2266,
"loc": {
"start": {
"line": 70,
"column": 48
},
"end": {
"line": 70,
"column": 60
},
"identifierName": "rerenderFull"
},
"name": "rerenderFull"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 2268,
"end": 2272,
"loc": {
"start": {
"line": 70,
"column": 62
},
"end": {
"line": 70,
"column": 66
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2284,
"end": 2352,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 71,
"column": 76
}
},
"expression": {
"type": "CallExpression",
"start": 2284,
"end": 2351,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 71,
"column": 75
}
},
"callee": {
"type": "MemberExpression",
"start": 2284,
"end": 2327,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 71,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 2284,
"end": 2323,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 71,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 2284,
"end": 2305,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 71,
"column": 29
}
},
"object": {
"type": "MemberExpression",
"start": 2284,
"end": 2297,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 71,
"column": 21
}
},
"object": {
"type": "MemberExpression",
"start": 2284,
"end": 2293,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 71,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 2284,
"end": 2288,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 71,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2289,
"end": 2293,
"loc": {
"start": {
"line": 71,
"column": 13
},
"end": {
"line": 71,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2294,
"end": 2297,
"loc": {
"start": {
"line": 71,
"column": 18
},
"end": {
"line": 71,
"column": 21
},
"identifierName": "hud"
},
"name": "hud"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2298,
"end": 2305,
"loc": {
"start": {
"line": 71,
"column": 22
},
"end": {
"line": 71,
"column": 29
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2306,
"end": 2323,
"loc": {
"start": {
"line": 71,
"column": 30
},
"end": {
"line": 71,
"column": 47
},
"identifierName": "shapePinRequested"
},
"name": "shapePinRequested"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2324,
"end": 2327,
"loc": {
"start": {
"line": 71,
"column": 48
},
"end": {
"line": 71,
"column": 51
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2328,
"end": 2344,
"loc": {
"start": {
"line": 71,
"column": 52
},
"end": {
"line": 71,
"column": 68
}
},
"object": {
"type": "ThisExpression",
"start": 2328,
"end": 2332,
"loc": {
"start": {
"line": 71,
"column": 52
},
"end": {
"line": 71,
"column": 56
}
}
},
"property": {
"type": "Identifier",
"start": 2333,
"end": 2344,
"loc": {
"start": {
"line": 71,
"column": 57
},
"end": {
"line": 71,
"column": 68
},
"identifierName": "pinNewShape"
},
"name": "pinNewShape"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 2346,
"end": 2350,
"loc": {
"start": {
"line": 71,
"column": 70
},
"end": {
"line": 71,
"column": 74
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2362,
"end": 2431,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 77
}
},
"expression": {
"type": "CallExpression",
"start": 2362,
"end": 2430,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 76
}
},
"callee": {
"type": "MemberExpression",
"start": 2362,
"end": 2407,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 2362,
"end": 2403,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 2362,
"end": 2383,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 29
}
},
"object": {
"type": "MemberExpression",
"start": 2362,
"end": 2375,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 21
}
},
"object": {
"type": "MemberExpression",
"start": 2362,
"end": 2371,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 2362,
"end": 2366,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2367,
"end": 2371,
"loc": {
"start": {
"line": 72,
"column": 13
},
"end": {
"line": 72,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2372,
"end": 2375,
"loc": {
"start": {
"line": 72,
"column": 18
},
"end": {
"line": 72,
"column": 21
},
"identifierName": "hud"
},
"name": "hud"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2376,
"end": 2383,
"loc": {
"start": {
"line": 72,
"column": 22
},
"end": {
"line": 72,
"column": 29
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2384,
"end": 2403,
"loc": {
"start": {
"line": 72,
"column": 30
},
"end": {
"line": 72,
"column": 49
},
"identifierName": "shapeUnpinRequested"
},
"name": "shapeUnpinRequested"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2404,
"end": 2407,
"loc": {
"start": {
"line": 72,
"column": 50
},
"end": {
"line": 72,
"column": 53
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2408,
"end": 2423,
"loc": {
"start": {
"line": 72,
"column": 54
},
"end": {
"line": 72,
"column": 69
}
},
"object": {
"type": "ThisExpression",
"start": 2408,
"end": 2412,
"loc": {
"start": {
"line": 72,
"column": 54
},
"end": {
"line": 72,
"column": 58
}
}
},
"property": {
"type": "Identifier",
"start": 2413,
"end": 2423,
"loc": {
"start": {
"line": 72,
"column": 59
},
"end": {
"line": 72,
"column": 69
},
"identifierName": "unpinShape"
},
"name": "unpinShape"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 2425,
"end": 2429,
"loc": {
"start": {
"line": 72,
"column": 71
},
"end": {
"line": 72,
"column": 75
}
}
}
]
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Perform initial render",
"start": 2443,
"end": 2468,
"loc": {
"start": {
"line": 74,
"column": 8
},
"end": {
"line": 74,
"column": 33
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 2478,
"end": 2510,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 40
}
},
"expression": {
"type": "CallExpression",
"start": 2478,
"end": 2509,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 2478,
"end": 2507,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 2478,
"end": 2482,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2483,
"end": 2507,
"loc": {
"start": {
"line": 75,
"column": 13
},
"end": {
"line": 75,
"column": 37
},
"identifierName": "updateShapesAfterUpgrade"
},
"name": "updateShapesAfterUpgrade"
},
"computed": false,
"leadingComments": null
},
"arguments": [],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Perform initial render",
"start": 2443,
"end": 2468,
"loc": {
"start": {
"line": 74,
"column": 8
},
"end": {
"line": 74,
"column": 33
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Initializes the hud component\r\n ",
"start": 1928,
"end": 1978,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 65,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Updates all shapes after an upgrade has been purchased and removes the unused ones\r\n ",
"start": 2525,
"end": 2628,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 80,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2634,
"end": 3194,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 97,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2634,
"end": 2658,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 81,
"column": 28
},
"identifierName": "updateShapesAfterUpgrade"
},
"name": "updateShapesAfterUpgrade",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2661,
"end": 3194,
"loc": {
"start": {
"line": 81,
"column": 31
},
"end": {
"line": 97,
"column": 5
}
},
"body": [
{
"type": "ForStatement",
"start": 2672,
"end": 3155,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 94,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 2677,
"end": 2686,
"loc": {
"start": {
"line": 82,
"column": 13
},
"end": {
"line": 82,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2681,
"end": 2686,
"loc": {
"start": {
"line": 82,
"column": 17
},
"end": {
"line": 82,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 2681,
"end": 2682,
"loc": {
"start": {
"line": 82,
"column": 17
},
"end": {
"line": 82,
"column": 18
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 2685,
"end": 2686,
"loc": {
"start": {
"line": 82,
"column": 21
},
"end": {
"line": 82,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 2688,
"end": 2716,
"loc": {
"start": {
"line": 82,
"column": 24
},
"end": {
"line": 82,
"column": 52
}
},
"left": {
"type": "Identifier",
"start": 2688,
"end": 2689,
"loc": {
"start": {
"line": 82,
"column": 24
},
"end": {
"line": 82,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 2692,
"end": 2716,
"loc": {
"start": {
"line": 82,
"column": 28
},
"end": {
"line": 82,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 2692,
"end": 2709,
"loc": {
"start": {
"line": 82,
"column": 28
},
"end": {
"line": 82,
"column": 45
}
},
"object": {
"type": "ThisExpression",
"start": 2692,
"end": 2696,
"loc": {
"start": {
"line": 82,
"column": 28
},
"end": {
"line": 82,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 2697,
"end": 2709,
"loc": {
"start": {
"line": 82,
"column": 33
},
"end": {
"line": 82,
"column": 45
},
"identifierName": "pinnedShapes"
},
"name": "pinnedShapes"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2710,
"end": 2716,
"loc": {
"start": {
"line": 82,
"column": 46
},
"end": {
"line": 82,
"column": 52
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 2718,
"end": 2721,
"loc": {
"start": {
"line": 82,
"column": 54
},
"end": {
"line": 82,
"column": 57
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2720,
"end": 2721,
"loc": {
"start": {
"line": 82,
"column": 56
},
"end": {
"line": 82,
"column": 57
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 2723,
"end": 3155,
"loc": {
"start": {
"line": 82,
"column": 59
},
"end": {
"line": 94,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2738,
"end": 2771,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 45
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2744,
"end": 2770,
"loc": {
"start": {
"line": 83,
"column": 18
},
"end": {
"line": 83,
"column": 44
}
},
"id": {
"type": "Identifier",
"start": 2744,
"end": 2747,
"loc": {
"start": {
"line": 83,
"column": 18
},
"end": {
"line": 83,
"column": 21
},
"identifierName": "key"
},
"name": "key"
},
"init": {
"type": "MemberExpression",
"start": 2750,
"end": 2770,
"loc": {
"start": {
"line": 83,
"column": 24
},
"end": {
"line": 83,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 2750,
"end": 2767,
"loc": {
"start": {
"line": 83,
"column": 24
},
"end": {
"line": 83,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 2750,
"end": 2754,
"loc": {
"start": {
"line": 83,
"column": 24
},
"end": {
"line": 83,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"start": 2755,
"end": 2767,
"loc": {
"start": {
"line": 83,
"column": 29
},
"end": {
"line": 83,
"column": 41
},
"identifierName": "pinnedShapes"
},
"name": "pinnedShapes"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2768,
"end": 2769,
"loc": {
"start": {
"line": 83,
"column": 42
},
"end": {
"line": 83,
"column": 43
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 2785,
"end": 2927,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 87,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 2789,
"end": 2838,
"loc": {
"start": {
"line": 84,
"column": 16
},
"end": {
"line": 84,
"column": 65
}
},
"left": {
"type": "Identifier",
"start": 2789,
"end": 2792,
"loc": {
"start": {
"line": 84,
"column": 16
},
"end": {
"line": 84,
"column": 19
},
"identifierName": "key"
},
"name": "key"
},
"operator": "===",
"right": {
"type": "CallExpression",
"start": 2797,
"end": 2838,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 2797,
"end": 2836,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 2797,
"end": 2815,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 2797,
"end": 2806,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 2797,
"end": 2801,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"start": 2802,
"end": 2806,
"loc": {
"start": {
"line": 84,
"column": 29
},
"end": {
"line": 84,
"column": 33
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2807,
"end": 2815,
"loc": {
"start": {
"line": 84,
"column": 34
},
"end": {
"line": 84,
"column": 42
},
"identifierName": "gameMode"
},
"name": "gameMode"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2816,
"end": 2836,
"loc": {
"start": {
"line": 84,
"column": 43
},
"end": {
"line": 84,
"column": 63
},
"identifierName": "getBlueprintShapeKey"
},
"name": "getBlueprintShapeKey"
},
"computed": false
},
"arguments": []
}
},
"consequent": {
"type": "BlockStatement",
"start": 2840,
"end": 2927,
"loc": {
"start": {
"line": 84,
"column": 67
},
"end": {
"line": 87,
"column": 13
}
},
"body": [
{
"type": "ContinueStatement",
"start": 2903,
"end": 2912,
"loc": {
"start": {
"line": 86,
"column": 16
},
"end": {
"line": 86,
"column": 25
}
},
"label": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Ignore blueprint shapes",
"start": 2859,
"end": 2885,
"loc": {
"start": {
"line": 85,
"column": 16
},
"end": {
"line": 85,
"column": 42
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 2941,
"end": 2984,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 88,
"column": 55
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2945,
"end": 2983,
"loc": {
"start": {
"line": 88,
"column": 16
},
"end": {
"line": 88,
"column": 54
}
},
"id": {
"type": "Identifier",
"start": 2945,
"end": 2949,
"loc": {
"start": {
"line": 88,
"column": 16
},
"end": {
"line": 88,
"column": 20
},
"identifierName": "goal"
},
"name": "goal"
},
"init": {
"type": "CallExpression",
"start": 2952,
"end": 2983,
"loc": {
"start": {
"line": 88,
"column": 23
},
"end": {
"line": 88,
"column": 54
}
},
"callee": {
"type": "MemberExpression",
"start": 2952,
"end": 2978,
"loc": {
"start": {
"line": 88,
"column": 23
},
"end": {
"line": 88,
"column": 49
}
},
"object": {
"type": "ThisExpression",
"start": 2952,
"end": 2956,
"loc": {
"start": {
"line": 88,
"column": 23
},
"end": {
"line": 88,
"column": 27
}
}
},
"property": {
"type": "Identifier",
"start": 2957,
"end": 2978,
"loc": {
"start": {
"line": 88,
"column": 28
},
"end": {
"line": 88,
"column": 49
},
"identifierName": "findGoalValueForShape"
},
"name": "findGoalValueForShape"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2979,
"end": 2982,
"loc": {
"start": {
"line": 88,
"column": 50
},
"end": {
"line": 88,
"column": 53
},
"identifierName": "key"
},
"name": "key"
}
]
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 2998,
"end": 3144,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 93,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 3002,
"end": 3007,
"loc": {
"start": {
"line": 89,
"column": 16
},
"end": {
"line": 89,
"column": 21
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 3003,
"end": 3007,
"loc": {
"start": {
"line": 89,
"column": 17
},
"end": {
"line": 89,
"column": 21
},
"identifierName": "goal"
},
"name": "goal"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 3009,
"end": 3144,
"loc": {
"start": {
"line": 89,
"column": 23
},
"end": {
"line": 93,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3073,
"end": 3104,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 47
}
},
"expression": {
"type": "CallExpression",
"start": 3073,
"end": 3103,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 3073,
"end": 3097,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 3073,
"end": 3090,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 3073,
"end": 3077,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 20
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3078,
"end": 3090,
"loc": {
"start": {
"line": 91,
"column": 21
},
"end": {
"line": 91,
"column": 33
},
"identifierName": "pinnedShapes"
},
"name": "pinnedShapes"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3091,
"end": 3097,
"loc": {
"start": {
"line": 91,
"column": 34
},
"end": {
"line": 91,
"column": 40
},
"identifierName": "splice"
},
"name": "splice"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 3098,
"end": 3099,
"loc": {
"start": {
"line": 91,
"column": 41
},
"end": {
"line": 91,
"column": 42
},
"identifierName": "i"
},
"name": "i"
},
{
"type": "NumericLiteral",
"start": 3101,
"end": 3102,
"loc": {
"start": {
"line": 91,
"column": 44
},
"end": {
"line": 91,
"column": 45
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Seems no longer relevant",
"start": 3028,
"end": 3055,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 43
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 3122,
"end": 3129,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 23
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3122,
"end": 3128,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 22
}
},
"operator": "-=",
"left": {
"type": "Identifier",
"start": 3122,
"end": 3123,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 17
},
"identifierName": "i"
},
"name": "i"
},
"right": {
"type": "NumericLiteral",
"start": 3127,
"end": 3128,
"loc": {
"start": {
"line": 92,
"column": 21
},
"end": {
"line": 92,
"column": 22
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
},
{
"type": "ExpressionStatement",
"start": 3167,
"end": 3187,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 28
}
},
"expression": {
"type": "CallExpression",
"start": 3167,
"end": 3186,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 27
}
},
"callee": {
"type": "MemberExpression",
"start": 3167,
"end": 3184,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 3167,
"end": 3171,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3172,
"end": 3184,
"loc": {
"start": {
"line": 96,
"column": 13
},
"end": {
"line": 96,
"column": 25
},
"identifierName": "rerenderFull"
},
"name": "rerenderFull"
},
"computed": false
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Updates all shapes after an upgrade has been purchased and removes the unused ones\r\n ",
"start": 2525,
"end": 2628,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 80,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Finds the current goal for the given key. If the key is the story goal, returns\r\n * the story goal. If its the blueprint shape, no goal is returned. Otherwise\r\n * it's searched for upgrades.\r\n * @param {string} key\r\n ",
"start": 3202,
"end": 3449,
"loc": {
"start": {
"line": 99,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3455,
"end": 4488,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 134,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3455,
"end": 3476,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 105,
"column": 25
},
"identifierName": "findGoalValueForShape"
},
"name": "findGoalValueForShape",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3477,
"end": 3480,
"loc": {
"start": {
"line": 105,
"column": 26
},
"end": {
"line": 105,
"column": 29
},
"identifierName": "key"
},
"name": "key"
}
],
"body": {
"type": "BlockStatement",
"start": 3482,
"end": 4488,
"loc": {
"start": {
"line": 105,
"column": 31
},
"end": {
"line": 134,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 3493,
"end": 3631,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 108,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 3497,
"end": 3556,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 71
}
},
"left": {
"type": "Identifier",
"start": 3497,
"end": 3500,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 15
},
"identifierName": "key"
},
"name": "key"
},
"operator": "===",
"right": {
"type": "CallExpression",
"start": 3505,
"end": 3556,
"loc": {
"start": {
"line": 106,
"column": 20
},
"end": {
"line": 106,
"column": 71
}
},
"callee": {
"type": "MemberExpression",
"start": 3505,
"end": 3554,
"loc": {
"start": {
"line": 106,
"column": 20
},
"end": {
"line": 106,
"column": 69
}
},
"object": {
"type": "MemberExpression",
"start": 3505,
"end": 3546,
"loc": {
"start": {
"line": 106,
"column": 20
},
"end": {
"line": 106,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 3505,
"end": 3535,
"loc": {
"start": {
"line": 106,
"column": 20
},
"end": {
"line": 106,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 3505,
"end": 3523,
"loc": {
"start": {
"line": 106,
"column": 20
},
"end": {
"line": 106,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 3505,
"end": 3514,
"loc": {
"start": {
"line": 106,
"column": 20
},
"end": {
"line": 106,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 3505,
"end": 3509,
"loc": {
"start": {
"line": 106,
"column": 20
},
"end": {
"line": 106,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 3510,
"end": 3514,
"loc": {
"start": {
"line": 106,
"column": 25
},
"end": {
"line": 106,
"column": 29
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3515,
"end": 3523,
"loc": {
"start": {
"line": 106,
"column": 30
},
"end": {
"line": 106,
"column": 38
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3524,
"end": 3535,
"loc": {
"start": {
"line": 106,
"column": 39
},
"end": {
"line": 106,
"column": 50
},
"identifierName": "currentGoal"
},
"name": "currentGoal"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3536,
"end": 3546,
"loc": {
"start": {
"line": 106,
"column": 51
},
"end": {
"line": 106,
"column": 61
},
"identifierName": "definition"
},
"name": "definition"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3547,
"end": 3554,
"loc": {
"start": {
"line": 106,
"column": 62
},
"end": {
"line": 106,
"column": 69
},
"identifierName": "getHash"
},
"name": "getHash"
},
"computed": false
},
"arguments": []
}
},
"consequent": {
"type": "BlockStatement",
"start": 3558,
"end": 3631,
"loc": {
"start": {
"line": 106,
"column": 73
},
"end": {
"line": 108,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3573,
"end": 3620,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 107,
"column": 59
}
},
"argument": {
"type": "MemberExpression",
"start": 3580,
"end": 3619,
"loc": {
"start": {
"line": 107,
"column": 19
},
"end": {
"line": 107,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 3580,
"end": 3610,
"loc": {
"start": {
"line": 107,
"column": 19
},
"end": {
"line": 107,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 3580,
"end": 3598,
"loc": {
"start": {
"line": 107,
"column": 19
},
"end": {
"line": 107,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 3580,
"end": 3589,
"loc": {
"start": {
"line": 107,
"column": 19
},
"end": {
"line": 107,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 3580,
"end": 3584,
"loc": {
"start": {
"line": 107,
"column": 19
},
"end": {
"line": 107,
"column": 23
}
}
},
"property": {
"type": "Identifier",
"start": 3585,
"end": 3589,
"loc": {
"start": {
"line": 107,
"column": 24
},
"end": {
"line": 107,
"column": 28
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3590,
"end": 3598,
"loc": {
"start": {
"line": 107,
"column": 29
},
"end": {
"line": 107,
"column": 37
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3599,
"end": 3610,
"loc": {
"start": {
"line": 107,
"column": 38
},
"end": {
"line": 107,
"column": 49
},
"identifierName": "currentGoal"
},
"name": "currentGoal"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3611,
"end": 3619,
"loc": {
"start": {
"line": 107,
"column": 50
},
"end": {
"line": 107,
"column": 58
},
"identifierName": "required"
},
"name": "required"
},
"computed": false
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 3641,
"end": 3734,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 111,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 3645,
"end": 3694,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 61
}
},
"left": {
"type": "Identifier",
"start": 3645,
"end": 3648,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 15
},
"identifierName": "key"
},
"name": "key"
},
"operator": "===",
"right": {
"type": "CallExpression",
"start": 3653,
"end": 3694,
"loc": {
"start": {
"line": 109,
"column": 20
},
"end": {
"line": 109,
"column": 61
}
},
"callee": {
"type": "MemberExpression",
"start": 3653,
"end": 3692,
"loc": {
"start": {
"line": 109,
"column": 20
},
"end": {
"line": 109,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 3653,
"end": 3671,
"loc": {
"start": {
"line": 109,
"column": 20
},
"end": {
"line": 109,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 3653,
"end": 3662,
"loc": {
"start": {
"line": 109,
"column": 20
},
"end": {
"line": 109,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 3653,
"end": 3657,
"loc": {
"start": {
"line": 109,
"column": 20
},
"end": {
"line": 109,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 3658,
"end": 3662,
"loc": {
"start": {
"line": 109,
"column": 25
},
"end": {
"line": 109,
"column": 29
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3663,
"end": 3671,
"loc": {
"start": {
"line": 109,
"column": 30
},
"end": {
"line": 109,
"column": 38
},
"identifierName": "gameMode"
},
"name": "gameMode"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3672,
"end": 3692,
"loc": {
"start": {
"line": 109,
"column": 39
},
"end": {
"line": 109,
"column": 59
},
"identifierName": "getBlueprintShapeKey"
},
"name": "getBlueprintShapeKey"
},
"computed": false
},
"arguments": []
}
},
"consequent": {
"type": "BlockStatement",
"start": 3696,
"end": 3734,
"loc": {
"start": {
"line": 109,
"column": 63
},
"end": {
"line": 111,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3711,
"end": 3723,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 24
}
},
"argument": {
"type": "NullLiteral",
"start": 3718,
"end": 3722,
"loc": {
"start": {
"line": 110,
"column": 19
},
"end": {
"line": 110,
"column": 23
}
}
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Check if this shape is required for any upgrade",
"start": 3746,
"end": 3796,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 58
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 3806,
"end": 3856,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 58
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3812,
"end": 3855,
"loc": {
"start": {
"line": 114,
"column": 14
},
"end": {
"line": 114,
"column": 57
}
},
"id": {
"type": "Identifier",
"start": 3812,
"end": 3820,
"loc": {
"start": {
"line": 114,
"column": 14
},
"end": {
"line": 114,
"column": 22
},
"identifierName": "upgrades"
},
"name": "upgrades",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 3823,
"end": 3855,
"loc": {
"start": {
"line": 114,
"column": 25
},
"end": {
"line": 114,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 3823,
"end": 3853,
"loc": {
"start": {
"line": 114,
"column": 25
},
"end": {
"line": 114,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 3823,
"end": 3841,
"loc": {
"start": {
"line": 114,
"column": 25
},
"end": {
"line": 114,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 3823,
"end": 3832,
"loc": {
"start": {
"line": 114,
"column": 25
},
"end": {
"line": 114,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 3823,
"end": 3827,
"loc": {
"start": {
"line": 114,
"column": 25
},
"end": {
"line": 114,
"column": 29
}
}
},
"property": {
"type": "Identifier",
"start": 3828,
"end": 3832,
"loc": {
"start": {
"line": 114,
"column": 30
},
"end": {
"line": 114,
"column": 34
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3833,
"end": 3841,
"loc": {
"start": {
"line": 114,
"column": 35
},
"end": {
"line": 114,
"column": 43
},
"identifierName": "gameMode"
},
"name": "gameMode"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3842,
"end": 3853,
"loc": {
"start": {
"line": 114,
"column": 44
},
"end": {
"line": 114,
"column": 55
},
"identifierName": "getUpgrades"
},
"name": "getUpgrades"
},
"computed": false
},
"arguments": []
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Check if this shape is required for any upgrade",
"start": 3746,
"end": 3796,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 58
}
}
}
]
},
{
"type": "ForInStatement",
"start": 3866,
"end": 4457,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 131,
"column": 9
}
},
"left": {
"type": "VariableDeclaration",
"start": 3871,
"end": 3886,
"loc": {
"start": {
"line": 115,
"column": 13
},
"end": {
"line": 115,
"column": 28
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3877,
"end": 3886,
"loc": {
"start": {
"line": 115,
"column": 19
},
"end": {
"line": 115,
"column": 28
}
},
"id": {
"type": "Identifier",
"start": 3877,
"end": 3886,
"loc": {
"start": {
"line": 115,
"column": 19
},
"end": {
"line": 115,
"column": 28
},
"identifierName": "upgradeId"
},
"name": "upgradeId"
},
"init": null
}
],
"kind": "const"
},
"right": {
"type": "Identifier",
"start": 3890,
"end": 3898,
"loc": {
"start": {
"line": 115,
"column": 32
},
"end": {
"line": 115,
"column": 40
},
"identifierName": "upgrades"
},
"name": "upgrades"
},
"body": {
"type": "BlockStatement",
"start": 3900,
"end": 4457,
"loc": {
"start": {
"line": 115,
"column": 42
},
"end": {
"line": 131,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3915,
"end": 3956,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 116,
"column": 53
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3921,
"end": 3955,
"loc": {
"start": {
"line": 116,
"column": 18
},
"end": {
"line": 116,
"column": 52
}
},
"id": {
"type": "Identifier",
"start": 3921,
"end": 3933,
"loc": {
"start": {
"line": 116,
"column": 18
},
"end": {
"line": 116,
"column": 30
},
"identifierName": "upgradeTiers"
},
"name": "upgradeTiers"
},
"init": {
"type": "MemberExpression",
"start": 3936,
"end": 3955,
"loc": {
"start": {
"line": 116,
"column": 33
},
"end": {
"line": 116,
"column": 52
}
},
"object": {
"type": "Identifier",
"start": 3936,
"end": 3944,
"loc": {
"start": {
"line": 116,
"column": 33
},
"end": {
"line": 116,
"column": 41
},
"identifierName": "upgrades"
},
"name": "upgrades"
},
"property": {
"type": "Identifier",
"start": 3945,
"end": 3954,
"loc": {
"start": {
"line": 116,
"column": 42
},
"end": {
"line": 116,
"column": 51
},
"identifierName": "upgradeId"
},
"name": "upgradeId"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3970,
"end": 4036,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 117,
"column": 78
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3976,
"end": 4035,
"loc": {
"start": {
"line": 117,
"column": 18
},
"end": {
"line": 117,
"column": 77
}
},
"id": {
"type": "Identifier",
"start": 3976,
"end": 3987,
"loc": {
"start": {
"line": 117,
"column": 18
},
"end": {
"line": 117,
"column": 29
},
"identifierName": "currentTier"
},
"name": "currentTier"
},
"init": {
"type": "CallExpression",
"start": 3990,
"end": 4035,
"loc": {
"start": {
"line": 117,
"column": 32
},
"end": {
"line": 117,
"column": 77
}
},
"callee": {
"type": "MemberExpression",
"start": 3990,
"end": 4024,
"loc": {
"start": {
"line": 117,
"column": 32
},
"end": {
"line": 117,
"column": 66
}
},
"object": {
"type": "MemberExpression",
"start": 3990,
"end": 4008,
"loc": {
"start": {
"line": 117,
"column": 32
},
"end": {
"line": 117,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 3990,
"end": 3999,
"loc": {
"start": {
"line": 117,
"column": 32
},
"end": {
"line": 117,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 3990,
"end": 3994,
"loc": {
"start": {
"line": 117,
"column": 32
},
"end": {
"line": 117,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 3995,
"end": 3999,
"loc": {
"start": {
"line": 117,
"column": 37
},
"end": {
"line": 117,
"column": 41
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4000,
"end": 4008,
"loc": {
"start": {
"line": 117,
"column": 42
},
"end": {
"line": 117,
"column": 50
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4009,
"end": 4024,
"loc": {
"start": {
"line": 117,
"column": 51
},
"end": {
"line": 117,
"column": 66
},
"identifierName": "getUpgradeLevel"
},
"name": "getUpgradeLevel"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 4025,
"end": 4034,
"loc": {
"start": {
"line": 117,
"column": 67
},
"end": {
"line": 117,
"column": 76
},
"identifierName": "upgradeId"
},
"name": "upgradeId"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 4050,
"end": 4095,
"loc": {
"start": {
"line": 118,
"column": 12
},
"end": {
"line": 118,
"column": 57
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4056,
"end": 4094,
"loc": {
"start": {
"line": 118,
"column": 18
},
"end": {
"line": 118,
"column": 56
}
},
"id": {
"type": "Identifier",
"start": 4056,
"end": 4066,
"loc": {
"start": {
"line": 118,
"column": 18
},
"end": {
"line": 118,
"column": 28
},
"identifierName": "tierHandle"
},
"name": "tierHandle"
},
"init": {
"type": "MemberExpression",
"start": 4069,
"end": 4094,
"loc": {
"start": {
"line": 118,
"column": 31
},
"end": {
"line": 118,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 4069,
"end": 4081,
"loc": {
"start": {
"line": 118,
"column": 31
},
"end": {
"line": 118,
"column": 43
},
"identifierName": "upgradeTiers"
},
"name": "upgradeTiers"
},
"property": {
"type": "Identifier",
"start": 4082,
"end": 4093,
"loc": {
"start": {
"line": 118,
"column": 44
},
"end": {
"line": 118,
"column": 55
},
"identifierName": "currentTier"
},
"name": "currentTier"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 4111,
"end": 4201,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 123,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 4115,
"end": 4126,
"loc": {
"start": {
"line": 120,
"column": 16
},
"end": {
"line": 120,
"column": 27
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 4116,
"end": 4126,
"loc": {
"start": {
"line": 120,
"column": 17
},
"end": {
"line": 120,
"column": 27
},
"identifierName": "tierHandle"
},
"name": "tierHandle"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 4128,
"end": 4201,
"loc": {
"start": {
"line": 120,
"column": 29
},
"end": {
"line": 123,
"column": 13
}
},
"body": [
{
"type": "ContinueStatement",
"start": 4177,
"end": 4186,
"loc": {
"start": {
"line": 122,
"column": 16
},
"end": {
"line": 122,
"column": 25
}
},
"label": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Max level",
"start": 4147,
"end": 4159,
"loc": {
"start": {
"line": 121,
"column": 16
},
"end": {
"line": 121,
"column": 28
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "ForStatement",
"start": 4217,
"end": 4446,
"loc": {
"start": {
"line": 125,
"column": 12
},
"end": {
"line": 130,
"column": 13
}
},
"init": {
"type": "VariableDeclaration",
"start": 4222,
"end": 4231,
"loc": {
"start": {
"line": 125,
"column": 17
},
"end": {
"line": 125,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4226,
"end": 4231,
"loc": {
"start": {
"line": 125,
"column": 21
},
"end": {
"line": 125,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 4226,
"end": 4227,
"loc": {
"start": {
"line": 125,
"column": 21
},
"end": {
"line": 125,
"column": 22
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 4230,
"end": 4231,
"loc": {
"start": {
"line": 125,
"column": 25
},
"end": {
"line": 125,
"column": 26
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 4233,
"end": 4263,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 58
}
},
"left": {
"type": "Identifier",
"start": 4233,
"end": 4234,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 29
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 4237,
"end": 4263,
"loc": {
"start": {
"line": 125,
"column": 32
},
"end": {
"line": 125,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 4237,
"end": 4256,
"loc": {
"start": {
"line": 125,
"column": 32
},
"end": {
"line": 125,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 4237,
"end": 4247,
"loc": {
"start": {
"line": 125,
"column": 32
},
"end": {
"line": 125,
"column": 42
},
"identifierName": "tierHandle"
},
"name": "tierHandle"
},
"property": {
"type": "Identifier",
"start": 4248,
"end": 4256,
"loc": {
"start": {
"line": 125,
"column": 43
},
"end": {
"line": 125,
"column": 51
},
"identifierName": "required"
},
"name": "required"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4257,
"end": 4263,
"loc": {
"start": {
"line": 125,
"column": 52
},
"end": {
"line": 125,
"column": 58
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 4265,
"end": 4268,
"loc": {
"start": {
"line": 125,
"column": 60
},
"end": {
"line": 125,
"column": 63
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 4267,
"end": 4268,
"loc": {
"start": {
"line": 125,
"column": 62
},
"end": {
"line": 125,
"column": 63
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 4270,
"end": 4446,
"loc": {
"start": {
"line": 125,
"column": 65
},
"end": {
"line": 130,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4289,
"end": 4338,
"loc": {
"start": {
"line": 126,
"column": 16
},
"end": {
"line": 126,
"column": 65
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4295,
"end": 4337,
"loc": {
"start": {
"line": 126,
"column": 22
},
"end": {
"line": 126,
"column": 64
}
},
"id": {
"type": "ObjectPattern",
"start": 4295,
"end": 4312,
"loc": {
"start": {
"line": 126,
"column": 22
},
"end": {
"line": 126,
"column": 39
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 4297,
"end": 4302,
"loc": {
"start": {
"line": 126,
"column": 24
},
"end": {
"line": 126,
"column": 29
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 4297,
"end": 4302,
"loc": {
"start": {
"line": 126,
"column": 24
},
"end": {
"line": 126,
"column": 29
},
"identifierName": "shape"
},
"name": "shape"
},
"value": {
"type": "Identifier",
"start": 4297,
"end": 4302,
"loc": {
"start": {
"line": 126,
"column": 24
},
"end": {
"line": 126,
"column": 29
},
"identifierName": "shape"
},
"name": "shape"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 4304,
"end": 4310,
"loc": {
"start": {
"line": 126,
"column": 31
},
"end": {
"line": 126,
"column": 37
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 4304,
"end": 4310,
"loc": {
"start": {
"line": 126,
"column": 31
},
"end": {
"line": 126,
"column": 37
},
"identifierName": "amount"
},
"name": "amount"
},
"value": {
"type": "Identifier",
"start": 4304,
"end": 4310,
"loc": {
"start": {
"line": 126,
"column": 31
},
"end": {
"line": 126,
"column": 37
},
"identifierName": "amount"
},
"name": "amount"
},
"extra": {
"shorthand": true
}
}
]
},
"init": {
"type": "MemberExpression",
"start": 4315,
"end": 4337,
"loc": {
"start": {
"line": 126,
"column": 42
},
"end": {
"line": 126,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 4315,
"end": 4334,
"loc": {
"start": {
"line": 126,
"column": 42
},
"end": {
"line": 126,
"column": 61
}
},
"object": {
"type": "Identifier",
"start": 4315,
"end": 4325,
"loc": {
"start": {
"line": 126,
"column": 42
},
"end": {
"line": 126,
"column": 52
},
"identifierName": "tierHandle"
},
"name": "tierHandle"
},
"property": {
"type": "Identifier",
"start": 4326,
"end": 4334,
"loc": {
"start": {
"line": 126,
"column": 53
},
"end": {
"line": 126,
"column": 61
},
"identifierName": "required"
},
"name": "required"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4335,
"end": 4336,
"loc": {
"start": {
"line": 126,
"column": 62
},
"end": {
"line": 126,
"column": 63
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 4356,
"end": 4431,
"loc": {
"start": {
"line": 127,
"column": 16
},
"end": {
"line": 129,
"column": 17
}
},
"test": {
"type": "BinaryExpression",
"start": 4360,
"end": 4373,
"loc": {
"start": {
"line": 127,
"column": 20
},
"end": {
"line": 127,
"column": 33
}
},
"left": {
"type": "Identifier",
"start": 4360,
"end": 4365,
"loc": {
"start": {
"line": 127,
"column": 20
},
"end": {
"line": 127,
"column": 25
},
"identifierName": "shape"
},
"name": "shape"
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 4370,
"end": 4373,
"loc": {
"start": {
"line": 127,
"column": 30
},
"end": {
"line": 127,
"column": 33
},
"identifierName": "key"
},
"name": "key"
}
},
"consequent": {
"type": "BlockStatement",
"start": 4375,
"end": 4431,
"loc": {
"start": {
"line": 127,
"column": 35
},
"end": {
"line": 129,
"column": 17
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4398,
"end": 4412,
"loc": {
"start": {
"line": 128,
"column": 20
},
"end": {
"line": 128,
"column": 34
}
},
"argument": {
"type": "Identifier",
"start": 4405,
"end": 4411,
"loc": {
"start": {
"line": 128,
"column": 27
},
"end": {
"line": 128,
"column": 33
},
"identifierName": "amount"
},
"name": "amount"
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
],
"directives": []
}
},
{
"type": "ReturnStatement",
"start": 4469,
"end": 4481,
"loc": {
"start": {
"line": 133,
"column": 8
},
"end": {
"line": 133,
"column": 20
}
},
"argument": {
"type": "NullLiteral",
"start": 4476,
"end": 4480,
"loc": {
"start": {
"line": 133,
"column": 15
},
"end": {
"line": 133,
"column": 19
}
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Finds the current goal for the given key. If the key is the story goal, returns\r\n * the story goal. If its the blueprint shape, no goal is returned. Otherwise\r\n * it's searched for upgrades.\r\n * @param {string} key\r\n ",
"start": 3202,
"end": 3449,
"loc": {
"start": {
"line": 99,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns whether a given shape is currently pinned\r\n * @param {string} key\r\n ",
"start": 4496,
"end": 4594,
"loc": {
"start": {
"line": 136,
"column": 4
},
"end": {
"line": 139,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4600,
"end": 4950,
"loc": {
"start": {
"line": 140,
"column": 4
},
"end": {
"line": 150,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4600,
"end": 4613,
"loc": {
"start": {
"line": 140,
"column": 4
},
"end": {
"line": 140,
"column": 17
},
"identifierName": "isShapePinned"
},
"name": "isShapePinned",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4614,
"end": 4617,
"loc": {
"start": {
"line": 140,
"column": 18
},
"end": {
"line": 140,
"column": 21
},
"identifierName": "key"
},
"name": "key"
}
],
"body": {
"type": "BlockStatement",
"start": 4619,
"end": 4950,
"loc": {
"start": {
"line": 140,
"column": 23
},
"end": {
"line": 150,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 4630,
"end": 4888,
"loc": {
"start": {
"line": 141,
"column": 8
},
"end": {
"line": 147,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 4648,
"end": 4773,
"loc": {
"start": {
"line": 142,
"column": 12
},
"end": {
"line": 143,
"column": 61
}
},
"left": {
"type": "BinaryExpression",
"start": 4648,
"end": 4707,
"loc": {
"start": {
"line": 142,
"column": 12
},
"end": {
"line": 142,
"column": 71
}
},
"left": {
"type": "Identifier",
"start": 4648,
"end": 4651,
"loc": {
"start": {
"line": 142,
"column": 12
},
"end": {
"line": 142,
"column": 15
},
"identifierName": "key"
},
"name": "key"
},
"operator": "===",
"right": {
"type": "CallExpression",
"start": 4656,
"end": 4707,
"loc": {
"start": {
"line": 142,
"column": 20
},
"end": {
"line": 142,
"column": 71
}
},
"callee": {
"type": "MemberExpression",
"start": 4656,
"end": 4705,
"loc": {
"start": {
"line": 142,
"column": 20
},
"end": {
"line": 142,
"column": 69
}
},
"object": {
"type": "MemberExpression",
"start": 4656,
"end": 4697,
"loc": {
"start": {
"line": 142,
"column": 20
},
"end": {
"line": 142,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 4656,
"end": 4686,
"loc": {
"start": {
"line": 142,
"column": 20
},
"end": {
"line": 142,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 4656,
"end": 4674,
"loc": {
"start": {
"line": 142,
"column": 20
},
"end": {
"line": 142,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 4656,
"end": 4665,
"loc": {
"start": {
"line": 142,
"column": 20
},
"end": {
"line": 142,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 4656,
"end": 4660,
"loc": {
"start": {
"line": 142,
"column": 20
},
"end": {
"line": 142,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 4661,
"end": 4665,
"loc": {
"start": {
"line": 142,
"column": 25
},
"end": {
"line": 142,
"column": 29
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4666,
"end": 4674,
"loc": {
"start": {
"line": 142,
"column": 30
},
"end": {
"line": 142,
"column": 38
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4675,
"end": 4686,
"loc": {
"start": {
"line": 142,
"column": 39
},
"end": {
"line": 142,
"column": 50
},
"identifierName": "currentGoal"
},
"name": "currentGoal"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4687,
"end": 4697,
"loc": {
"start": {
"line": 142,
"column": 51
},
"end": {
"line": 142,
"column": 61
},
"identifierName": "definition"
},
"name": "definition"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4698,
"end": 4705,
"loc": {
"start": {
"line": 142,
"column": 62
},
"end": {
"line": 142,
"column": 69
},
"identifierName": "getHash"
},
"name": "getHash"
},
"computed": false
},
"arguments": []
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 4724,
"end": 4773,
"loc": {
"start": {
"line": 143,
"column": 12
},
"end": {
"line": 143,
"column": 61
}
},
"left": {
"type": "Identifier",
"start": 4724,
"end": 4727,
"loc": {
"start": {
"line": 143,
"column": 12
},
"end": {
"line": 143,
"column": 15
},
"identifierName": "key"
},
"name": "key"
},
"operator": "===",
"right": {
"type": "CallExpression",
"start": 4732,
"end": 4773,
"loc": {
"start": {
"line": 143,
"column": 20
},
"end": {
"line": 143,
"column": 61
}
},
"callee": {
"type": "MemberExpression",
"start": 4732,
"end": 4771,
"loc": {
"start": {
"line": 143,
"column": 20
},
"end": {
"line": 143,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 4732,
"end": 4750,
"loc": {
"start": {
"line": 143,
"column": 20
},
"end": {
"line": 143,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 4732,
"end": 4741,
"loc": {
"start": {
"line": 143,
"column": 20
},
"end": {
"line": 143,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 4732,
"end": 4736,
"loc": {
"start": {
"line": 143,
"column": 20
},
"end": {
"line": 143,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 4737,
"end": 4741,
"loc": {
"start": {
"line": 143,
"column": 25
},
"end": {
"line": 143,
"column": 29
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4742,
"end": 4750,
"loc": {
"start": {
"line": 143,
"column": 30
},
"end": {
"line": 143,
"column": 38
},
"identifierName": "gameMode"
},
"name": "gameMode"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4751,
"end": 4771,
"loc": {
"start": {
"line": 143,
"column": 39
},
"end": {
"line": 143,
"column": 59
},
"identifierName": "getBlueprintShapeKey"
},
"name": "getBlueprintShapeKey"
},
"computed": false
},
"arguments": []
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 4785,
"end": 4888,
"loc": {
"start": {
"line": 144,
"column": 10
},
"end": {
"line": 147,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4865,
"end": 4877,
"loc": {
"start": {
"line": 146,
"column": 12
},
"end": {
"line": 146,
"column": 24
}
},
"argument": {
"type": "BooleanLiteral",
"start": 4872,
"end": 4876,
"loc": {
"start": {
"line": 146,
"column": 19
},
"end": {
"line": 146,
"column": 23
}
},
"value": true,
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " This is a \"special\" shape which is always pinned",
"start": 4800,
"end": 4851,
"loc": {
"start": {
"line": 145,
"column": 12
},
"end": {
"line": 145,
"column": 63
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "ReturnStatement",
"start": 4900,
"end": 4943,
"loc": {
"start": {
"line": 149,
"column": 8
},
"end": {
"line": 149,
"column": 51
}
},
"argument": {
"type": "BinaryExpression",
"start": 4907,
"end": 4942,
"loc": {
"start": {
"line": 149,
"column": 15
},
"end": {
"line": 149,
"column": 50
}
},
"left": {
"type": "CallExpression",
"start": 4907,
"end": 4937,
"loc": {
"start": {
"line": 149,
"column": 15
},
"end": {
"line": 149,
"column": 45
}
},
"callee": {
"type": "MemberExpression",
"start": 4907,
"end": 4932,
"loc": {
"start": {
"line": 149,
"column": 15
},
"end": {
"line": 149,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 4907,
"end": 4924,
"loc": {
"start": {
"line": 149,
"column": 15
},
"end": {
"line": 149,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 4907,
"end": 4911,
"loc": {
"start": {
"line": 149,
"column": 15
},
"end": {
"line": 149,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 4912,
"end": 4924,
"loc": {
"start": {
"line": 149,
"column": 20
},
"end": {
"line": 149,
"column": 32
},
"identifierName": "pinnedShapes"
},
"name": "pinnedShapes"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4925,
"end": 4932,
"loc": {
"start": {
"line": 149,
"column": 33
},
"end": {
"line": 149,
"column": 40
},
"identifierName": "indexOf"
},
"name": "indexOf"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 4933,
"end": 4936,
"loc": {
"start": {
"line": 149,
"column": 41
},
"end": {
"line": 149,
"column": 44
},
"identifierName": "key"
},
"name": "key"
}
]
},
"operator": ">=",
"right": {
"type": "NumericLiteral",
"start": 4941,
"end": 4942,
"loc": {
"start": {
"line": 149,
"column": 49
},
"end": {
"line": 149,
"column": 50
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns whether a given shape is currently pinned\r\n * @param {string} key\r\n ",
"start": 4496,
"end": 4594,
"loc": {
"start": {
"line": 136,
"column": 4
},
"end": {
"line": 139,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Rerenders the whole component\r\n ",
"start": 4958,
"end": 5008,
"loc": {
"start": {
"line": 152,
"column": 4
},
"end": {
"line": 154,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5014,
"end": 6461,
"loc": {
"start": {
"line": 155,
"column": 4
},
"end": {
"line": 197,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5014,
"end": 5026,
"loc": {
"start": {
"line": 155,
"column": 4
},
"end": {
"line": 155,
"column": 16
},
"identifierName": "rerenderFull"
},
"name": "rerenderFull",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 5029,
"end": 6461,
"loc": {
"start": {
"line": 155,
"column": 19
},
"end": {
"line": 197,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 5040,
"end": 5091,
"loc": {
"start": {
"line": 156,
"column": 8
},
"end": {
"line": 156,
"column": 59
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5046,
"end": 5090,
"loc": {
"start": {
"line": 156,
"column": 14
},
"end": {
"line": 156,
"column": 58
}
},
"id": {
"type": "Identifier",
"start": 5046,
"end": 5057,
"loc": {
"start": {
"line": 156,
"column": 14
},
"end": {
"line": 156,
"column": 25
},
"identifierName": "currentGoal"
},
"name": "currentGoal"
},
"init": {
"type": "MemberExpression",
"start": 5060,
"end": 5090,
"loc": {
"start": {
"line": 156,
"column": 28
},
"end": {
"line": 156,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 5060,
"end": 5078,
"loc": {
"start": {
"line": 156,
"column": 28
},
"end": {
"line": 156,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 5060,
"end": 5069,
"loc": {
"start": {
"line": 156,
"column": 28
},
"end": {
"line": 156,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 5060,
"end": 5064,
"loc": {
"start": {
"line": 156,
"column": 28
},
"end": {
"line": 156,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 5065,
"end": 5069,
"loc": {
"start": {
"line": 156,
"column": 33
},
"end": {
"line": 156,
"column": 37
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5070,
"end": 5078,
"loc": {
"start": {
"line": 156,
"column": 38
},
"end": {
"line": 156,
"column": 46
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5079,
"end": 5090,
"loc": {
"start": {
"line": 156,
"column": 47
},
"end": {
"line": 156,
"column": 58
},
"identifierName": "currentGoal"
},
"name": "currentGoal"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 5101,
"end": 5153,
"loc": {
"start": {
"line": 157,
"column": 8
},
"end": {
"line": 157,
"column": 60
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5107,
"end": 5152,
"loc": {
"start": {
"line": 157,
"column": 14
},
"end": {
"line": 157,
"column": 59
}
},
"id": {
"type": "Identifier",
"start": 5107,
"end": 5117,
"loc": {
"start": {
"line": 157,
"column": 14
},
"end": {
"line": 157,
"column": 24
},
"identifierName": "currentKey"
},
"name": "currentKey"
},
"init": {
"type": "CallExpression",
"start": 5120,
"end": 5152,
"loc": {
"start": {
"line": 157,
"column": 27
},
"end": {
"line": 157,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 5120,
"end": 5150,
"loc": {
"start": {
"line": 157,
"column": 27
},
"end": {
"line": 157,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 5120,
"end": 5142,
"loc": {
"start": {
"line": 157,
"column": 27
},
"end": {
"line": 157,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 5120,
"end": 5131,
"loc": {
"start": {
"line": 157,
"column": 27
},
"end": {
"line": 157,
"column": 38
},
"identifierName": "currentGoal"
},
"name": "currentGoal"
},
"property": {
"type": "Identifier",
"start": 5132,
"end": 5142,
"loc": {
"start": {
"line": 157,
"column": 39
},
"end": {
"line": 157,
"column": 49
},
"identifierName": "definition"
},
"name": "definition"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5143,
"end": 5150,
"loc": {
"start": {
"line": 157,
"column": 50
},
"end": {
"line": 157,
"column": 57
},
"identifierName": "getHash"
},
"name": "getHash"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " First, remove all old shapes",
"start": 5165,
"end": 5196,
"loc": {
"start": {
"line": 159,
"column": 8
},
"end": {
"line": 159,
"column": 39
}
}
}
]
},
{
"type": "ForStatement",
"start": 5206,
"end": 5601,
"loc": {
"start": {
"line": 160,
"column": 8
},
"end": {
"line": 170,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 5211,
"end": 5220,
"loc": {
"start": {
"line": 160,
"column": 13
},
"end": {
"line": 160,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5215,
"end": 5220,
"loc": {
"start": {
"line": 160,
"column": 17
},
"end": {
"line": 160,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 5215,
"end": 5216,
"loc": {
"start": {
"line": 160,
"column": 17
},
"end": {
"line": 160,
"column": 18
},
"identifierName": "i"
},
"name": "i",
"leadingComments": null
},
"init": {
"type": "NumericLiteral",
"start": 5219,
"end": 5220,
"loc": {
"start": {
"line": 160,
"column": 21
},
"end": {
"line": 160,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": null
},
"test": {
"type": "BinaryExpression",
"start": 5222,
"end": 5245,
"loc": {
"start": {
"line": 160,
"column": 24
},
"end": {
"line": 160,
"column": 47
}
},
"left": {
"type": "Identifier",
"start": 5222,
"end": 5223,
"loc": {
"start": {
"line": 160,
"column": 24
},
"end": {
"line": 160,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 5226,
"end": 5245,
"loc": {
"start": {
"line": 160,
"column": 28
},
"end": {
"line": 160,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 5226,
"end": 5238,
"loc": {
"start": {
"line": 160,
"column": 28
},
"end": {
"line": 160,
"column": 40
}
},
"object": {
"type": "ThisExpression",
"start": 5226,
"end": 5230,
"loc": {
"start": {
"line": 160,
"column": 28
},
"end": {
"line": 160,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 5231,
"end": 5238,
"loc": {
"start": {
"line": 160,
"column": 33
},
"end": {
"line": 160,
"column": 40
},
"identifierName": "handles"
},
"name": "handles"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5239,
"end": 5245,
"loc": {
"start": {
"line": 160,
"column": 41
},
"end": {
"line": 160,
"column": 47
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 5247,
"end": 5250,
"loc": {
"start": {
"line": 160,
"column": 49
},
"end": {
"line": 160,
"column": 52
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 5249,
"end": 5250,
"loc": {
"start": {
"line": 160,
"column": 51
},
"end": {
"line": 160,
"column": 52
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 5252,
"end": 5601,
"loc": {
"start": {
"line": 160,
"column": 54
},
"end": {
"line": 170,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5267,
"end": 5300,
"loc": {
"start": {
"line": 161,
"column": 12
},
"end": {
"line": 161,
"column": 45
}
},
"expression": {
"type": "CallExpression",
"start": 5267,
"end": 5299,
"loc": {
"start": {
"line": 161,
"column": 12
},
"end": {
"line": 161,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 5267,
"end": 5297,
"loc": {
"start": {
"line": 161,
"column": 12
},
"end": {
"line": 161,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 5267,
"end": 5290,
"loc": {
"start": {
"line": 161,
"column": 12
},
"end": {
"line": 161,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 5267,
"end": 5282,
"loc": {
"start": {
"line": 161,
"column": 12
},
"end": {
"line": 161,
"column": 27
}
},
"object": {
"type": "MemberExpression",
"start": 5267,
"end": 5279,
"loc": {
"start": {
"line": 161,
"column": 12
},
"end": {
"line": 161,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 5267,
"end": 5271,
"loc": {
"start": {
"line": 161,
"column": 12
},
"end": {
"line": 161,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 5272,
"end": 5279,
"loc": {
"start": {
"line": 161,
"column": 17
},
"end": {
"line": 161,
"column": 24
},
"identifierName": "handles"
},
"name": "handles"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5280,
"end": 5281,
"loc": {
"start": {
"line": 161,
"column": 25
},
"end": {
"line": 161,
"column": 26
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 5283,
"end": 5290,
"loc": {
"start": {
"line": 161,
"column": 28
},
"end": {
"line": 161,
"column": 35
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5291,
"end": 5297,
"loc": {
"start": {
"line": 161,
"column": 36
},
"end": {
"line": 161,
"column": 42
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": []
}
},
{
"type": "VariableDeclaration",
"start": 5314,
"end": 5356,
"loc": {
"start": {
"line": 162,
"column": 12
},
"end": {
"line": 162,
"column": 54
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5320,
"end": 5355,
"loc": {
"start": {
"line": 162,
"column": 18
},
"end": {
"line": 162,
"column": 53
}
},
"id": {
"type": "Identifier",
"start": 5320,
"end": 5328,
"loc": {
"start": {
"line": 162,
"column": 18
},
"end": {
"line": 162,
"column": 26
},
"identifierName": "detector"
},
"name": "detector"
},
"init": {
"type": "MemberExpression",
"start": 5331,
"end": 5355,
"loc": {
"start": {
"line": 162,
"column": 29
},
"end": {
"line": 162,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 5331,
"end": 5346,
"loc": {
"start": {
"line": 162,
"column": 29
},
"end": {
"line": 162,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 5331,
"end": 5343,
"loc": {
"start": {
"line": 162,
"column": 29
},
"end": {
"line": 162,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 5331,
"end": 5335,
"loc": {
"start": {
"line": 162,
"column": 29
},
"end": {
"line": 162,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 5336,
"end": 5343,
"loc": {
"start": {
"line": 162,
"column": 34
},
"end": {
"line": 162,
"column": 41
},
"identifierName": "handles"
},
"name": "handles"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5344,
"end": 5345,
"loc": {
"start": {
"line": 162,
"column": 42
},
"end": {
"line": 162,
"column": 43
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 5347,
"end": 5355,
"loc": {
"start": {
"line": 162,
"column": 45
},
"end": {
"line": 162,
"column": 53
},
"identifierName": "detector"
},
"name": "detector"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 5370,
"end": 5437,
"loc": {
"start": {
"line": 163,
"column": 12
},
"end": {
"line": 165,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 5374,
"end": 5382,
"loc": {
"start": {
"line": 163,
"column": 16
},
"end": {
"line": 163,
"column": 24
},
"identifierName": "detector"
},
"name": "detector"
},
"consequent": {
"type": "BlockStatement",
"start": 5384,
"end": 5437,
"loc": {
"start": {
"line": 163,
"column": 26
},
"end": {
"line": 165,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5403,
"end": 5422,
"loc": {
"start": {
"line": 164,
"column": 16
},
"end": {
"line": 164,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 5403,
"end": 5421,
"loc": {
"start": {
"line": 164,
"column": 16
},
"end": {
"line": 164,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 5403,
"end": 5419,
"loc": {
"start": {
"line": 164,
"column": 16
},
"end": {
"line": 164,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 5403,
"end": 5411,
"loc": {
"start": {
"line": 164,
"column": 16
},
"end": {
"line": 164,
"column": 24
},
"identifierName": "detector"
},
"name": "detector"
},
"property": {
"type": "Identifier",
"start": 5412,
"end": 5419,
"loc": {
"start": {
"line": 164,
"column": 25
},
"end": {
"line": 164,
"column": 32
},
"identifierName": "cleanup"
},
"name": "cleanup"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 5451,
"end": 5501,
"loc": {
"start": {
"line": 166,
"column": 12
},
"end": {
"line": 166,
"column": 62
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5457,
"end": 5500,
"loc": {
"start": {
"line": 166,
"column": 18
},
"end": {
"line": 166,
"column": 61
}
},
"id": {
"type": "Identifier",
"start": 5457,
"end": 5469,
"loc": {
"start": {
"line": 166,
"column": 18
},
"end": {
"line": 166,
"column": 30
},
"identifierName": "infoDetector"
},
"name": "infoDetector"
},
"init": {
"type": "MemberExpression",
"start": 5472,
"end": 5500,
"loc": {
"start": {
"line": 166,
"column": 33
},
"end": {
"line": 166,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 5472,
"end": 5487,
"loc": {
"start": {
"line": 166,
"column": 33
},
"end": {
"line": 166,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 5472,
"end": 5484,
"loc": {
"start": {
"line": 166,
"column": 33
},
"end": {
"line": 166,
"column": 45
}
},
"object": {
"type": "ThisExpression",
"start": 5472,
"end": 5476,
"loc": {
"start": {
"line": 166,
"column": 33
},
"end": {
"line": 166,
"column": 37
}
}
},
"property": {
"type": "Identifier",
"start": 5477,
"end": 5484,
"loc": {
"start": {
"line": 166,
"column": 38
},
"end": {
"line": 166,
"column": 45
},
"identifierName": "handles"
},
"name": "handles"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5485,
"end": 5486,
"loc": {
"start": {
"line": 166,
"column": 46
},
"end": {
"line": 166,
"column": 47
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 5488,
"end": 5500,
"loc": {
"start": {
"line": 166,
"column": 49
},
"end": {
"line": 166,
"column": 61
},
"identifierName": "infoDetector"
},
"name": "infoDetector"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 5515,
"end": 5590,
"loc": {
"start": {
"line": 167,
"column": 12
},
"end": {
"line": 169,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 5519,
"end": 5531,
"loc": {
"start": {
"line": 167,
"column": 16
},
"end": {
"line": 167,
"column": 28
},
"identifierName": "infoDetector"
},
"name": "infoDetector"
},
"consequent": {
"type": "BlockStatement",
"start": 5533,
"end": 5590,
"loc": {
"start": {
"line": 167,
"column": 30
},
"end": {
"line": 169,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5552,
"end": 5575,
"loc": {
"start": {
"line": 168,
"column": 16
},
"end": {
"line": 168,
"column": 39
}
},
"expression": {
"type": "CallExpression",
"start": 5552,
"end": 5574,
"loc": {
"start": {
"line": 168,
"column": 16
},
"end": {
"line": 168,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 5552,
"end": 5572,
"loc": {
"start": {
"line": 168,
"column": 16
},
"end": {
"line": 168,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 5552,
"end": 5564,
"loc": {
"start": {
"line": 168,
"column": 16
},
"end": {
"line": 168,
"column": 28
},
"identifierName": "infoDetector"
},
"name": "infoDetector"
},
"property": {
"type": "Identifier",
"start": 5565,
"end": 5572,
"loc": {
"start": {
"line": 168,
"column": 29
},
"end": {
"line": 168,
"column": 36
},
"identifierName": "cleanup"
},
"name": "cleanup"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " First, remove all old shapes",
"start": 5165,
"end": 5196,
"loc": {
"start": {
"line": 159,
"column": 8
},
"end": {
"line": 159,
"column": 39
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 5611,
"end": 5629,
"loc": {
"start": {
"line": 171,
"column": 8
},
"end": {
"line": 171,
"column": 26
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5611,
"end": 5628,
"loc": {
"start": {
"line": 171,
"column": 8
},
"end": {
"line": 171,
"column": 25
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 5611,
"end": 5623,
"loc": {
"start": {
"line": 171,
"column": 8
},
"end": {
"line": 171,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 5611,
"end": 5615,
"loc": {
"start": {
"line": 171,
"column": 8
},
"end": {
"line": 171,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 5616,
"end": 5623,
"loc": {
"start": {
"line": 171,
"column": 13
},
"end": {
"line": 171,
"column": 20
},
"identifierName": "handles"
},
"name": "handles"
},
"computed": false
},
"right": {
"type": "ArrayExpression",
"start": 5626,
"end": 5628,
"loc": {
"start": {
"line": 171,
"column": 23
},
"end": {
"line": 171,
"column": 25
}
},
"elements": []
}
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Pin story goal",
"start": 5641,
"end": 5658,
"loc": {
"start": {
"line": 173,
"column": 8
},
"end": {
"line": 173,
"column": 25
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 5668,
"end": 5853,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 179,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 5668,
"end": 5852,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 179,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 5668,
"end": 5689,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 174,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 5668,
"end": 5672,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 174,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 5673,
"end": 5689,
"loc": {
"start": {
"line": 174,
"column": 13
},
"end": {
"line": 174,
"column": 29
},
"identifierName": "internalPinShape"
},
"name": "internalPinShape"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "ObjectExpression",
"start": 5690,
"end": 5851,
"loc": {
"start": {
"line": 174,
"column": 30
},
"end": {
"line": 179,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 5705,
"end": 5720,
"loc": {
"start": {
"line": 175,
"column": 12
},
"end": {
"line": 175,
"column": 27
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5705,
"end": 5708,
"loc": {
"start": {
"line": 175,
"column": 12
},
"end": {
"line": 175,
"column": 15
},
"identifierName": "key"
},
"name": "key"
},
"value": {
"type": "Identifier",
"start": 5710,
"end": 5720,
"loc": {
"start": {
"line": 175,
"column": 17
},
"end": {
"line": 175,
"column": 27
},
"identifierName": "currentKey"
},
"name": "currentKey"
}
},
{
"type": "ObjectProperty",
"start": 5735,
"end": 5750,
"loc": {
"start": {
"line": 176,
"column": 12
},
"end": {
"line": 176,
"column": 27
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5735,
"end": 5743,
"loc": {
"start": {
"line": 176,
"column": 12
},
"end": {
"line": 176,
"column": 20
},
"identifierName": "canUnpin"
},
"name": "canUnpin"
},
"value": {
"type": "BooleanLiteral",
"start": 5745,
"end": 5750,
"loc": {
"start": {
"line": 176,
"column": 22
},
"end": {
"line": 176,
"column": 27
}
},
"value": false
}
},
{
"type": "ObjectProperty",
"start": 5765,
"end": 5782,
"loc": {
"start": {
"line": 177,
"column": 12
},
"end": {
"line": 177,
"column": 29
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5765,
"end": 5774,
"loc": {
"start": {
"line": 177,
"column": 12
},
"end": {
"line": 177,
"column": 21
},
"identifierName": "className"
},
"name": "className"
},
"value": {
"type": "StringLiteral",
"start": 5776,
"end": 5782,
"loc": {
"start": {
"line": 177,
"column": 23
},
"end": {
"line": 177,
"column": 29
}
},
"extra": {
"rawValue": "goal",
"raw": "\"goal\""
},
"value": "goal"
}
},
{
"type": "ObjectProperty",
"start": 5797,
"end": 5839,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 54
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5797,
"end": 5811,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 26
},
"identifierName": "throughputOnly"
},
"name": "throughputOnly"
},
"value": {
"type": "MemberExpression",
"start": 5813,
"end": 5839,
"loc": {
"start": {
"line": 178,
"column": 28
},
"end": {
"line": 178,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 5813,
"end": 5824,
"loc": {
"start": {
"line": 178,
"column": 28
},
"end": {
"line": 178,
"column": 39
},
"identifierName": "currentGoal"
},
"name": "currentGoal"
},
"property": {
"type": "Identifier",
"start": 5825,
"end": 5839,
"loc": {
"start": {
"line": 178,
"column": 40
},
"end": {
"line": 178,
"column": 54
},
"identifierName": "throughputOnly"
},
"name": "throughputOnly"
},
"computed": false
}
}
]
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Pin story goal",
"start": 5641,
"end": 5658,
"loc": {
"start": {
"line": 173,
"column": 8
},
"end": {
"line": 173,
"column": 25
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Pin blueprint shape as well",
"start": 5865,
"end": 5895,
"loc": {
"start": {
"line": 181,
"column": 8
},
"end": {
"line": 181,
"column": 38
}
}
}
]
},
{
"type": "IfStatement",
"start": 5905,
"end": 6190,
"loc": {
"start": {
"line": 182,
"column": 8
},
"end": {
"line": 188,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 5909,
"end": 5982,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 85
}
},
"callee": {
"type": "MemberExpression",
"start": 5909,
"end": 5944,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 5909,
"end": 5927,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 30
}
},
"object": {
"type": "MemberExpression",
"start": 5909,
"end": 5918,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 5909,
"end": 5913,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 16
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 5914,
"end": 5918,
"loc": {
"start": {
"line": 182,
"column": 17
},
"end": {
"line": 182,
"column": 21
},
"identifierName": "root"
},
"name": "root"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 5919,
"end": 5927,
"loc": {
"start": {
"line": 182,
"column": 22
},
"end": {
"line": 182,
"column": 30
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 5928,
"end": 5944,
"loc": {
"start": {
"line": 182,
"column": 31
},
"end": {
"line": 182,
"column": 47
},
"identifierName": "isRewardUnlocked"
},
"name": "isRewardUnlocked"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "MemberExpression",
"start": 5945,
"end": 5981,
"loc": {
"start": {
"line": 182,
"column": 48
},
"end": {
"line": 182,
"column": 84
}
},
"object": {
"type": "Identifier",
"start": 5945,
"end": 5963,
"loc": {
"start": {
"line": 182,
"column": 48
},
"end": {
"line": 182,
"column": 66
},
"identifierName": "enumHubGoalRewards"
},
"name": "enumHubGoalRewards"
},
"property": {
"type": "Identifier",
"start": 5964,
"end": 5981,
"loc": {
"start": {
"line": 182,
"column": 67
},
"end": {
"line": 182,
"column": 84
},
"identifierName": "reward_blueprints"
},
"name": "reward_blueprints"
},
"computed": false
}
],
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 5984,
"end": 6190,
"loc": {
"start": {
"line": 182,
"column": 87
},
"end": {
"line": 188,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5999,
"end": 6179,
"loc": {
"start": {
"line": 183,
"column": 12
},
"end": {
"line": 187,
"column": 15
}
},
"expression": {
"type": "CallExpression",
"start": 5999,
"end": 6178,
"loc": {
"start": {
"line": 183,
"column": 12
},
"end": {
"line": 187,
"column": 14
}
},
"callee": {
"type": "MemberExpression",
"start": 5999,
"end": 6020,
"loc": {
"start": {
"line": 183,
"column": 12
},
"end": {
"line": 183,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 5999,
"end": 6003,
"loc": {
"start": {
"line": 183,
"column": 12
},
"end": {
"line": 183,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 6004,
"end": 6020,
"loc": {
"start": {
"line": 183,
"column": 17
},
"end": {
"line": 183,
"column": 33
},
"identifierName": "internalPinShape"
},
"name": "internalPinShape"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 6021,
"end": 6177,
"loc": {
"start": {
"line": 183,
"column": 34
},
"end": {
"line": 187,
"column": 13
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 6040,
"end": 6086,
"loc": {
"start": {
"line": 184,
"column": 16
},
"end": {
"line": 184,
"column": 62
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6040,
"end": 6043,
"loc": {
"start": {
"line": 184,
"column": 16
},
"end": {
"line": 184,
"column": 19
},
"identifierName": "key"
},
"name": "key"
},
"value": {
"type": "CallExpression",
"start": 6045,
"end": 6086,
"loc": {
"start": {
"line": 184,
"column": 21
},
"end": {
"line": 184,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 6045,
"end": 6084,
"loc": {
"start": {
"line": 184,
"column": 21
},
"end": {
"line": 184,
"column": 60
}
},
"object": {
"type": "MemberExpression",
"start": 6045,
"end": 6063,
"loc": {
"start": {
"line": 184,
"column": 21
},
"end": {
"line": 184,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 6045,
"end": 6054,
"loc": {
"start": {
"line": 184,
"column": 21
},
"end": {
"line": 184,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 6045,
"end": 6049,
"loc": {
"start": {
"line": 184,
"column": 21
},
"end": {
"line": 184,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 6050,
"end": 6054,
"loc": {
"start": {
"line": 184,
"column": 26
},
"end": {
"line": 184,
"column": 30
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6055,
"end": 6063,
"loc": {
"start": {
"line": 184,
"column": 31
},
"end": {
"line": 184,
"column": 39
},
"identifierName": "gameMode"
},
"name": "gameMode"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6064,
"end": 6084,
"loc": {
"start": {
"line": 184,
"column": 40
},
"end": {
"line": 184,
"column": 60
},
"identifierName": "getBlueprintShapeKey"
},
"name": "getBlueprintShapeKey"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ObjectProperty",
"start": 6105,
"end": 6120,
"loc": {
"start": {
"line": 185,
"column": 16
},
"end": {
"line": 185,
"column": 31
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6105,
"end": 6113,
"loc": {
"start": {
"line": 185,
"column": 16
},
"end": {
"line": 185,
"column": 24
},
"identifierName": "canUnpin"
},
"name": "canUnpin"
},
"value": {
"type": "BooleanLiteral",
"start": 6115,
"end": 6120,
"loc": {
"start": {
"line": 185,
"column": 26
},
"end": {
"line": 185,
"column": 31
}
},
"value": false
}
},
{
"type": "ObjectProperty",
"start": 6139,
"end": 6161,
"loc": {
"start": {
"line": 186,
"column": 16
},
"end": {
"line": 186,
"column": 38
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6139,
"end": 6148,
"loc": {
"start": {
"line": 186,
"column": 16
},
"end": {
"line": 186,
"column": 25
},
"identifierName": "className"
},
"name": "className"
},
"value": {
"type": "StringLiteral",
"start": 6150,
"end": 6161,
"loc": {
"start": {
"line": 186,
"column": 27
},
"end": {
"line": 186,
"column": 38
}
},
"extra": {
"rawValue": "blueprint",
"raw": "\"blueprint\""
},
"value": "blueprint"
}
}
]
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Pin blueprint shape as well",
"start": 5865,
"end": 5895,
"loc": {
"start": {
"line": 181,
"column": 8
},
"end": {
"line": 181,
"column": 38
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Pin manually pinned shapes",
"start": 6202,
"end": 6231,
"loc": {
"start": {
"line": 190,
"column": 8
},
"end": {
"line": 190,
"column": 37
}
}
}
]
},
{
"type": "ForStatement",
"start": 6241,
"end": 6454,
"loc": {
"start": {
"line": 191,
"column": 8
},
"end": {
"line": 196,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 6246,
"end": 6255,
"loc": {
"start": {
"line": 191,
"column": 13
},
"end": {
"line": 191,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6250,
"end": 6255,
"loc": {
"start": {
"line": 191,
"column": 17
},
"end": {
"line": 191,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 6250,
"end": 6251,
"loc": {
"start": {
"line": 191,
"column": 17
},
"end": {
"line": 191,
"column": 18
},
"identifierName": "i"
},
"name": "i",
"leadingComments": null
},
"init": {
"type": "NumericLiteral",
"start": 6254,
"end": 6255,
"loc": {
"start": {
"line": 191,
"column": 21
},
"end": {
"line": 191,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": null
},
"test": {
"type": "BinaryExpression",
"start": 6257,
"end": 6285,
"loc": {
"start": {
"line": 191,
"column": 24
},
"end": {
"line": 191,
"column": 52
}
},
"left": {
"type": "Identifier",
"start": 6257,
"end": 6258,
"loc": {
"start": {
"line": 191,
"column": 24
},
"end": {
"line": 191,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 6261,
"end": 6285,
"loc": {
"start": {
"line": 191,
"column": 28
},
"end": {
"line": 191,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 6261,
"end": 6278,
"loc": {
"start": {
"line": 191,
"column": 28
},
"end": {
"line": 191,
"column": 45
}
},
"object": {
"type": "ThisExpression",
"start": 6261,
"end": 6265,
"loc": {
"start": {
"line": 191,
"column": 28
},
"end": {
"line": 191,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 6266,
"end": 6278,
"loc": {
"start": {
"line": 191,
"column": 33
},
"end": {
"line": 191,
"column": 45
},
"identifierName": "pinnedShapes"
},
"name": "pinnedShapes"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6279,
"end": 6285,
"loc": {
"start": {
"line": 191,
"column": 46
},
"end": {
"line": 191,
"column": 52
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 6287,
"end": 6290,
"loc": {
"start": {
"line": 191,
"column": 54
},
"end": {
"line": 191,
"column": 57
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 6289,
"end": 6290,
"loc": {
"start": {
"line": 191,
"column": 56
},
"end": {
"line": 191,
"column": 57
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 6292,
"end": 6454,
"loc": {
"start": {
"line": 191,
"column": 59
},
"end": {
"line": 196,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 6307,
"end": 6340,
"loc": {
"start": {
"line": 192,
"column": 12
},
"end": {
"line": 192,
"column": 45
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6313,
"end": 6339,
"loc": {
"start": {
"line": 192,
"column": 18
},
"end": {
"line": 192,
"column": 44
}
},
"id": {
"type": "Identifier",
"start": 6313,
"end": 6316,
"loc": {
"start": {
"line": 192,
"column": 18
},
"end": {
"line": 192,
"column": 21
},
"identifierName": "key"
},
"name": "key"
},
"init": {
"type": "MemberExpression",
"start": 6319,
"end": 6339,
"loc": {
"start": {
"line": 192,
"column": 24
},
"end": {
"line": 192,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 6319,
"end": 6336,
"loc": {
"start": {
"line": 192,
"column": 24
},
"end": {
"line": 192,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 6319,
"end": 6323,
"loc": {
"start": {
"line": 192,
"column": 24
},
"end": {
"line": 192,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"start": 6324,
"end": 6336,
"loc": {
"start": {
"line": 192,
"column": 29
},
"end": {
"line": 192,
"column": 41
},
"identifierName": "pinnedShapes"
},
"name": "pinnedShapes"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6337,
"end": 6338,
"loc": {
"start": {
"line": 192,
"column": 42
},
"end": {
"line": 192,
"column": 43
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 6354,
"end": 6443,
"loc": {
"start": {
"line": 193,
"column": 12
},
"end": {
"line": 195,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 6358,
"end": 6376,
"loc": {
"start": {
"line": 193,
"column": 16
},
"end": {
"line": 193,
"column": 34
}
},
"left": {
"type": "Identifier",
"start": 6358,
"end": 6361,
"loc": {
"start": {
"line": 193,
"column": 16
},
"end": {
"line": 193,
"column": 19
},
"identifierName": "key"
},
"name": "key"
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 6366,
"end": 6376,
"loc": {
"start": {
"line": 193,
"column": 24
},
"end": {
"line": 193,
"column": 34
},
"identifierName": "currentKey"
},
"name": "currentKey"
}
},
"consequent": {
"type": "BlockStatement",
"start": 6378,
"end": 6443,
"loc": {
"start": {
"line": 193,
"column": 36
},
"end": {
"line": 195,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6397,
"end": 6428,
"loc": {
"start": {
"line": 194,
"column": 16
},
"end": {
"line": 194,
"column": 47
}
},
"expression": {
"type": "CallExpression",
"start": 6397,
"end": 6427,
"loc": {
"start": {
"line": 194,
"column": 16
},
"end": {
"line": 194,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 6397,
"end": 6418,
"loc": {
"start": {
"line": 194,
"column": 16
},
"end": {
"line": 194,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 6397,
"end": 6401,
"loc": {
"start": {
"line": 194,
"column": 16
},
"end": {
"line": 194,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 6402,
"end": 6418,
"loc": {
"start": {
"line": 194,
"column": 21
},
"end": {
"line": 194,
"column": 37
},
"identifierName": "internalPinShape"
},
"name": "internalPinShape"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 6419,
"end": 6426,
"loc": {
"start": {
"line": 194,
"column": 38
},
"end": {
"line": 194,
"column": 45
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 6421,
"end": 6424,
"loc": {
"start": {
"line": 194,
"column": 40
},
"end": {
"line": 194,
"column": 43
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 6421,
"end": 6424,
"loc": {
"start": {
"line": 194,
"column": 40
},
"end": {
"line": 194,
"column": 43
},
"identifierName": "key"
},
"name": "key"
},
"value": {
"type": "Identifier",
"start": 6421,
"end": 6424,
"loc": {
"start": {
"line": 194,
"column": 40
},
"end": {
"line": 194,
"column": 43
},
"identifierName": "key"
},
"name": "key"
},
"extra": {
"shorthand": true
}
}
]
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Pin manually pinned shapes",
"start": 6202,
"end": 6231,
"loc": {
"start": {
"line": 190,
"column": 8
},
"end": {
"line": 190,
"column": 37
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Rerenders the whole component\r\n ",
"start": 4958,
"end": 5008,
"loc": {
"start": {
"line": 152,
"column": 4
},
"end": {
"line": 154,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Pins a new shape\r\n * @param {object} param0\r\n * @param {string} param0.key\r\n * @param {boolean=} param0.canUnpin\r\n * @param {string=} param0.className\r\n * @param {boolean=} param0.throughputOnly\r\n ",
"start": 6469,
"end": 6704,
"loc": {
"start": {
"line": 199,
"column": 4
},
"end": {
"line": 206,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 6710,
"end": 8701,
"loc": {
"start": {
"line": 207,
"column": 4
},
"end": {
"line": 262,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6710,
"end": 6726,
"loc": {
"start": {
"line": 207,
"column": 4
},
"end": {
"line": 207,
"column": 20
},
"identifierName": "internalPinShape"
},
"name": "internalPinShape",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "ObjectPattern",
"start": 6727,
"end": 6793,
"loc": {
"start": {
"line": 207,
"column": 21
},
"end": {
"line": 207,
"column": 87
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 6729,
"end": 6732,
"loc": {
"start": {
"line": 207,
"column": 23
},
"end": {
"line": 207,
"column": 26
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 6729,
"end": 6732,
"loc": {
"start": {
"line": 207,
"column": 23
},
"end": {
"line": 207,
"column": 26
},
"identifierName": "key"
},
"name": "key"
},
"value": {
"type": "Identifier",
"start": 6729,
"end": 6732,
"loc": {
"start": {
"line": 207,
"column": 23
},
"end": {
"line": 207,
"column": 26
},
"identifierName": "key"
},
"name": "key"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 6734,
"end": 6749,
"loc": {
"start": {
"line": 207,
"column": 28
},
"end": {
"line": 207,
"column": 43
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 6734,
"end": 6742,
"loc": {
"start": {
"line": 207,
"column": 28
},
"end": {
"line": 207,
"column": 36
},
"identifierName": "canUnpin"
},
"name": "canUnpin"
},
"value": {
"type": "AssignmentPattern",
"start": 6734,
"end": 6749,
"loc": {
"start": {
"line": 207,
"column": 28
},
"end": {
"line": 207,
"column": 43
}
},
"left": {
"type": "Identifier",
"start": 6734,
"end": 6742,
"loc": {
"start": {
"line": 207,
"column": 28
},
"end": {
"line": 207,
"column": 36
},
"identifierName": "canUnpin"
},
"name": "canUnpin"
},
"right": {
"type": "BooleanLiteral",
"start": 6745,
"end": 6749,
"loc": {
"start": {
"line": 207,
"column": 39
},
"end": {
"line": 207,
"column": 43
}
},
"value": true
}
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 6751,
"end": 6767,
"loc": {
"start": {
"line": 207,
"column": 45
},
"end": {
"line": 207,
"column": 61
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 6751,
"end": 6760,
"loc": {
"start": {
"line": 207,
"column": 45
},
"end": {
"line": 207,
"column": 54
},
"identifierName": "className"
},
"name": "className"
},
"value": {
"type": "AssignmentPattern",
"start": 6751,
"end": 6767,
"loc": {
"start": {
"line": 207,
"column": 45
},
"end": {
"line": 207,
"column": 61
}
},
"left": {
"type": "Identifier",
"start": 6751,
"end": 6760,
"loc": {
"start": {
"line": 207,
"column": 45
},
"end": {
"line": 207,
"column": 54
},
"identifierName": "className"
},
"name": "className"
},
"right": {
"type": "NullLiteral",
"start": 6763,
"end": 6767,
"loc": {
"start": {
"line": 207,
"column": 57
},
"end": {
"line": 207,
"column": 61
}
}
}
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 6769,
"end": 6791,
"loc": {
"start": {
"line": 207,
"column": 63
},
"end": {
"line": 207,
"column": 85
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 6769,
"end": 6783,
"loc": {
"start": {
"line": 207,
"column": 63
},
"end": {
"line": 207,
"column": 77
},
"identifierName": "throughputOnly"
},
"name": "throughputOnly"
},
"value": {
"type": "AssignmentPattern",
"start": 6769,
"end": 6791,
"loc": {
"start": {
"line": 207,
"column": 63
},
"end": {
"line": 207,
"column": 85
}
},
"left": {
"type": "Identifier",
"start": 6769,
"end": 6783,
"loc": {
"start": {
"line": 207,
"column": 63
},
"end": {
"line": 207,
"column": 77
},
"identifierName": "throughputOnly"
},
"name": "throughputOnly"
},
"right": {
"type": "BooleanLiteral",
"start": 6786,
"end": 6791,
"loc": {
"start": {
"line": 207,
"column": 80
},
"end": {
"line": 207,
"column": 85
}
},
"value": false
}
},
"extra": {
"shorthand": true
}
}
]
}
],
"body": {
"type": "BlockStatement",
"start": 6795,
"end": 8701,
"loc": {
"start": {
"line": 207,
"column": 89
},
"end": {
"line": 262,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 6806,
"end": 6880,
"loc": {
"start": {
"line": 208,
"column": 8
},
"end": {
"line": 208,
"column": 82
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6812,
"end": 6879,
"loc": {
"start": {
"line": 208,
"column": 14
},
"end": {
"line": 208,
"column": 81
}
},
"id": {
"type": "Identifier",
"start": 6812,
"end": 6822,
"loc": {
"start": {
"line": 208,
"column": 14
},
"end": {
"line": 208,
"column": 24
},
"identifierName": "definition"
},
"name": "definition"
},
"init": {
"type": "CallExpression",
"start": 6825,
"end": 6879,
"loc": {
"start": {
"line": 208,
"column": 27
},
"end": {
"line": 208,
"column": 81
}
},
"callee": {
"type": "MemberExpression",
"start": 6825,
"end": 6874,
"loc": {
"start": {
"line": 208,
"column": 27
},
"end": {
"line": 208,
"column": 76
}
},
"object": {
"type": "MemberExpression",
"start": 6825,
"end": 6853,
"loc": {
"start": {
"line": 208,
"column": 27
},
"end": {
"line": 208,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 6825,
"end": 6834,
"loc": {
"start": {
"line": 208,
"column": 27
},
"end": {
"line": 208,
"column": 36
}
},
"object": {
"type": "ThisExpression",
"start": 6825,
"end": 6829,
"loc": {
"start": {
"line": 208,
"column": 27
},
"end": {
"line": 208,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 6830,
"end": 6834,
"loc": {
"start": {
"line": 208,
"column": 32
},
"end": {
"line": 208,
"column": 36
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6835,
"end": 6853,
"loc": {
"start": {
"line": 208,
"column": 37
},
"end": {
"line": 208,
"column": 55
},
"identifierName": "shapeDefinitionMgr"
},
"name": "shapeDefinitionMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6854,
"end": 6874,
"loc": {
"start": {
"line": 208,
"column": 56
},
"end": {
"line": 208,
"column": 76
},
"identifierName": "getShapeFromShortKey"
},
"name": "getShapeFromShortKey"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 6875,
"end": 6878,
"loc": {
"start": {
"line": 208,
"column": 77
},
"end": {
"line": 208,
"column": 80
},
"identifierName": "key"
},
"name": "key"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6892,
"end": 6947,
"loc": {
"start": {
"line": 210,
"column": 8
},
"end": {
"line": 210,
"column": 63
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6898,
"end": 6946,
"loc": {
"start": {
"line": 210,
"column": 14
},
"end": {
"line": 210,
"column": 62
}
},
"id": {
"type": "Identifier",
"start": 6898,
"end": 6905,
"loc": {
"start": {
"line": 210,
"column": 14
},
"end": {
"line": 210,
"column": 21
},
"identifierName": "element"
},
"name": "element"
},
"init": {
"type": "CallExpression",
"start": 6908,
"end": 6946,
"loc": {
"start": {
"line": 210,
"column": 24
},
"end": {
"line": 210,
"column": 62
}
},
"callee": {
"type": "Identifier",
"start": 6908,
"end": 6915,
"loc": {
"start": {
"line": 210,
"column": 24
},
"end": {
"line": 210,
"column": 31
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
},
"arguments": [
{
"type": "MemberExpression",
"start": 6916,
"end": 6928,
"loc": {
"start": {
"line": 210,
"column": 32
},
"end": {
"line": 210,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 6916,
"end": 6920,
"loc": {
"start": {
"line": 210,
"column": 32
},
"end": {
"line": 210,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 6921,
"end": 6928,
"loc": {
"start": {
"line": 210,
"column": 37
},
"end": {
"line": 210,
"column": 44
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
{
"type": "NullLiteral",
"start": 6930,
"end": 6934,
"loc": {
"start": {
"line": 210,
"column": 46
},
"end": {
"line": 210,
"column": 50
}
}
},
{
"type": "ArrayExpression",
"start": 6936,
"end": 6945,
"loc": {
"start": {
"line": 210,
"column": 52
},
"end": {
"line": 210,
"column": 61
}
},
"elements": [
{
"type": "StringLiteral",
"start": 6937,
"end": 6944,
"loc": {
"start": {
"line": 210,
"column": 53
},
"end": {
"line": 210,
"column": 60
}
},
"extra": {
"rawValue": "shape",
"raw": "\"shape\""
},
"value": "shape"
}
]
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6957,
"end": 7005,
"loc": {
"start": {
"line": 211,
"column": 8
},
"end": {
"line": 211,
"column": 56
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6963,
"end": 7004,
"loc": {
"start": {
"line": 211,
"column": 14
},
"end": {
"line": 211,
"column": 55
}
},
"id": {
"type": "Identifier",
"start": 6963,
"end": 6969,
"loc": {
"start": {
"line": 211,
"column": 14
},
"end": {
"line": 211,
"column": 20
},
"identifierName": "canvas"
},
"name": "canvas"
},
"init": {
"type": "CallExpression",
"start": 6972,
"end": 7004,
"loc": {
"start": {
"line": 211,
"column": 23
},
"end": {
"line": 211,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 6972,
"end": 6999,
"loc": {
"start": {
"line": 211,
"column": 23
},
"end": {
"line": 211,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 6972,
"end": 6982,
"loc": {
"start": {
"line": 211,
"column": 23
},
"end": {
"line": 211,
"column": 33
},
"identifierName": "definition"
},
"name": "definition"
},
"property": {
"type": "Identifier",
"start": 6983,
"end": 6999,
"loc": {
"start": {
"line": 211,
"column": 34
},
"end": {
"line": 211,
"column": 50
},
"identifierName": "generateAsCanvas"
},
"name": "generateAsCanvas"
},
"computed": false
},
"arguments": [
{
"type": "NumericLiteral",
"start": 7000,
"end": 7003,
"loc": {
"start": {
"line": 211,
"column": 51
},
"end": {
"line": 211,
"column": 54
}
},
"extra": {
"rawValue": 120,
"raw": "120"
},
"value": 120
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 7015,
"end": 7043,
"loc": {
"start": {
"line": 212,
"column": 8
},
"end": {
"line": 212,
"column": 36
}
},
"expression": {
"type": "CallExpression",
"start": 7015,
"end": 7042,
"loc": {
"start": {
"line": 212,
"column": 8
},
"end": {
"line": 212,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 7015,
"end": 7034,
"loc": {
"start": {
"line": 212,
"column": 8
},
"end": {
"line": 212,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 7015,
"end": 7022,
"loc": {
"start": {
"line": 212,
"column": 8
},
"end": {
"line": 212,
"column": 15
},
"identifierName": "element"
},
"name": "element"
},
"property": {
"type": "Identifier",
"start": 7023,
"end": 7034,
"loc": {
"start": {
"line": 212,
"column": 16
},
"end": {
"line": 212,
"column": 27
},
"identifierName": "appendChild"
},
"name": "appendChild"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 7035,
"end": 7041,
"loc": {
"start": {
"line": 212,
"column": 28
},
"end": {
"line": 212,
"column": 34
},
"identifierName": "canvas"
},
"name": "canvas"
}
]
}
},
{
"type": "IfStatement",
"start": 7055,
"end": 7129,
"loc": {
"start": {
"line": 214,
"column": 8
},
"end": {
"line": 216,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 7059,
"end": 7068,
"loc": {
"start": {
"line": 214,
"column": 12
},
"end": {
"line": 214,
"column": 21
},
"identifierName": "className"
},
"name": "className"
},
"consequent": {
"type": "BlockStatement",
"start": 7070,
"end": 7129,
"loc": {
"start": {
"line": 214,
"column": 23
},
"end": {
"line": 216,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 7085,
"end": 7118,
"loc": {
"start": {
"line": 215,
"column": 12
},
"end": {
"line": 215,
"column": 45
}
},
"expression": {
"type": "CallExpression",
"start": 7085,
"end": 7117,
"loc": {
"start": {
"line": 215,
"column": 12
},
"end": {
"line": 215,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 7085,
"end": 7106,
"loc": {
"start": {
"line": 215,
"column": 12
},
"end": {
"line": 215,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 7085,
"end": 7102,
"loc": {
"start": {
"line": 215,
"column": 12
},
"end": {
"line": 215,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 7085,
"end": 7092,
"loc": {
"start": {
"line": 215,
"column": 12
},
"end": {
"line": 215,
"column": 19
},
"identifierName": "element"
},
"name": "element"
},
"property": {
"type": "Identifier",
"start": 7093,
"end": 7102,
"loc": {
"start": {
"line": 215,
"column": 20
},
"end": {
"line": 215,
"column": 29
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7103,
"end": 7106,
"loc": {
"start": {
"line": 215,
"column": 30
},
"end": {
"line": 215,
"column": 33
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 7107,
"end": 7116,
"loc": {
"start": {
"line": 215,
"column": 34
},
"end": {
"line": 215,
"column": 43
},
"identifierName": "className"
},
"name": "className"
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 7141,
"end": 7161,
"loc": {
"start": {
"line": 218,
"column": 8
},
"end": {
"line": 218,
"column": 28
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7145,
"end": 7160,
"loc": {
"start": {
"line": 218,
"column": 12
},
"end": {
"line": 218,
"column": 27
}
},
"id": {
"type": "Identifier",
"start": 7145,
"end": 7153,
"loc": {
"start": {
"line": 218,
"column": 12
},
"end": {
"line": 218,
"column": 20
},
"identifierName": "detector"
},
"name": "detector"
},
"init": {
"type": "NullLiteral",
"start": 7156,
"end": 7160,
"loc": {
"start": {
"line": 218,
"column": 23
},
"end": {
"line": 218,
"column": 27
}
}
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 7171,
"end": 7726,
"loc": {
"start": {
"line": 219,
"column": 8
},
"end": {
"line": 232,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 7175,
"end": 7183,
"loc": {
"start": {
"line": 219,
"column": 12
},
"end": {
"line": 219,
"column": 20
},
"identifierName": "canUnpin"
},
"name": "canUnpin"
},
"consequent": {
"type": "BlockStatement",
"start": 7185,
"end": 7662,
"loc": {
"start": {
"line": 219,
"column": 22
},
"end": {
"line": 230,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 7200,
"end": 7253,
"loc": {
"start": {
"line": 220,
"column": 12
},
"end": {
"line": 220,
"column": 65
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7206,
"end": 7252,
"loc": {
"start": {
"line": 220,
"column": 18
},
"end": {
"line": 220,
"column": 64
}
},
"id": {
"type": "Identifier",
"start": 7206,
"end": 7217,
"loc": {
"start": {
"line": 220,
"column": 18
},
"end": {
"line": 220,
"column": 29
},
"identifierName": "unpinButton"
},
"name": "unpinButton"
},
"init": {
"type": "CallExpression",
"start": 7220,
"end": 7252,
"loc": {
"start": {
"line": 220,
"column": 32
},
"end": {
"line": 220,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 7220,
"end": 7242,
"loc": {
"start": {
"line": 220,
"column": 32
},
"end": {
"line": 220,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 7220,
"end": 7228,
"loc": {
"start": {
"line": 220,
"column": 32
},
"end": {
"line": 220,
"column": 40
},
"identifierName": "document"
},
"name": "document"
},
"property": {
"type": "Identifier",
"start": 7229,
"end": 7242,
"loc": {
"start": {
"line": 220,
"column": 41
},
"end": {
"line": 220,
"column": 54
},
"identifierName": "createElement"
},
"name": "createElement"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 7243,
"end": 7251,
"loc": {
"start": {
"line": 220,
"column": 55
},
"end": {
"line": 220,
"column": 63
}
},
"extra": {
"rawValue": "button",
"raw": "\"button\""
},
"value": "button"
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 7267,
"end": 7308,
"loc": {
"start": {
"line": 221,
"column": 12
},
"end": {
"line": 221,
"column": 53
}
},
"expression": {
"type": "CallExpression",
"start": 7267,
"end": 7307,
"loc": {
"start": {
"line": 221,
"column": 12
},
"end": {
"line": 221,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 7267,
"end": 7292,
"loc": {
"start": {
"line": 221,
"column": 12
},
"end": {
"line": 221,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 7267,
"end": 7288,
"loc": {
"start": {
"line": 221,
"column": 12
},
"end": {
"line": 221,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 7267,
"end": 7278,
"loc": {
"start": {
"line": 221,
"column": 12
},
"end": {
"line": 221,
"column": 23
},
"identifierName": "unpinButton"
},
"name": "unpinButton"
},
"property": {
"type": "Identifier",
"start": 7279,
"end": 7288,
"loc": {
"start": {
"line": 221,
"column": 24
},
"end": {
"line": 221,
"column": 33
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7289,
"end": 7292,
"loc": {
"start": {
"line": 221,
"column": 34
},
"end": {
"line": 221,
"column": 37
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 7293,
"end": 7306,
"loc": {
"start": {
"line": 221,
"column": 38
},
"end": {
"line": 221,
"column": 51
}
},
"extra": {
"rawValue": "unpinButton",
"raw": "\"unpinButton\""
},
"value": "unpinButton"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 7322,
"end": 7355,
"loc": {
"start": {
"line": 222,
"column": 12
},
"end": {
"line": 222,
"column": 45
}
},
"expression": {
"type": "CallExpression",
"start": 7322,
"end": 7354,
"loc": {
"start": {
"line": 222,
"column": 12
},
"end": {
"line": 222,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 7322,
"end": 7341,
"loc": {
"start": {
"line": 222,
"column": 12
},
"end": {
"line": 222,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 7322,
"end": 7329,
"loc": {
"start": {
"line": 222,
"column": 12
},
"end": {
"line": 222,
"column": 19
},
"identifierName": "element"
},
"name": "element"
},
"property": {
"type": "Identifier",
"start": 7330,
"end": 7341,
"loc": {
"start": {
"line": 222,
"column": 20
},
"end": {
"line": 222,
"column": 31
},
"identifierName": "appendChild"
},
"name": "appendChild"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 7342,
"end": 7353,
"loc": {
"start": {
"line": 222,
"column": 32
},
"end": {
"line": 222,
"column": 43
},
"identifierName": "unpinButton"
},
"name": "unpinButton"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 7369,
"end": 7404,
"loc": {
"start": {
"line": 223,
"column": 12
},
"end": {
"line": 223,
"column": 47
}
},
"expression": {
"type": "CallExpression",
"start": 7369,
"end": 7403,
"loc": {
"start": {
"line": 223,
"column": 12
},
"end": {
"line": 223,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 7369,
"end": 7390,
"loc": {
"start": {
"line": 223,
"column": 12
},
"end": {
"line": 223,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 7369,
"end": 7386,
"loc": {
"start": {
"line": 223,
"column": 12
},
"end": {
"line": 223,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 7369,
"end": 7376,
"loc": {
"start": {
"line": 223,
"column": 12
},
"end": {
"line": 223,
"column": 19
},
"identifierName": "element"
},
"name": "element"
},
"property": {
"type": "Identifier",
"start": 7377,
"end": 7386,
"loc": {
"start": {
"line": 223,
"column": 20
},
"end": {
"line": 223,
"column": 29
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7387,
"end": 7390,
"loc": {
"start": {
"line": 223,
"column": 30
},
"end": {
"line": 223,
"column": 33
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 7391,
"end": 7402,
"loc": {
"start": {
"line": 223,
"column": 34
},
"end": {
"line": 223,
"column": 45
}
},
"extra": {
"rawValue": "removable",
"raw": "\"removable\""
},
"value": "removable"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 7418,
"end": 7590,
"loc": {
"start": {
"line": 224,
"column": 12
},
"end": {
"line": 228,
"column": 15
}
},
"expression": {
"type": "AssignmentExpression",
"start": 7418,
"end": 7589,
"loc": {
"start": {
"line": 224,
"column": 12
},
"end": {
"line": 228,
"column": 14
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 7418,
"end": 7426,
"loc": {
"start": {
"line": 224,
"column": 12
},
"end": {
"line": 224,
"column": 20
},
"identifierName": "detector"
},
"name": "detector"
},
"right": {
"type": "NewExpression",
"start": 7429,
"end": 7589,
"loc": {
"start": {
"line": 224,
"column": 23
},
"end": {
"line": 228,
"column": 14
}
},
"callee": {
"type": "Identifier",
"start": 7433,
"end": 7446,
"loc": {
"start": {
"line": 224,
"column": 27
},
"end": {
"line": 224,
"column": 40
},
"identifierName": "ClickDetector"
},
"name": "ClickDetector"
},
"arguments": [
{
"type": "Identifier",
"start": 7447,
"end": 7458,
"loc": {
"start": {
"line": 224,
"column": 41
},
"end": {
"line": 224,
"column": 52
},
"identifierName": "unpinButton"
},
"name": "unpinButton"
},
{
"type": "ObjectExpression",
"start": 7460,
"end": 7588,
"loc": {
"start": {
"line": 224,
"column": 54
},
"end": {
"line": 228,
"column": 13
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 7479,
"end": 7498,
"loc": {
"start": {
"line": 225,
"column": 16
},
"end": {
"line": 225,
"column": 35
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7479,
"end": 7492,
"loc": {
"start": {
"line": 225,
"column": 16
},
"end": {
"line": 225,
"column": 29
},
"identifierName": "consumeEvents"
},
"name": "consumeEvents"
},
"value": {
"type": "BooleanLiteral",
"start": 7494,
"end": 7498,
"loc": {
"start": {
"line": 225,
"column": 31
},
"end": {
"line": 225,
"column": 35
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 7517,
"end": 7537,
"loc": {
"start": {
"line": 226,
"column": 16
},
"end": {
"line": 226,
"column": 36
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7517,
"end": 7531,
"loc": {
"start": {
"line": 226,
"column": 16
},
"end": {
"line": 226,
"column": 30
},
"identifierName": "preventDefault"
},
"name": "preventDefault"
},
"value": {
"type": "BooleanLiteral",
"start": 7533,
"end": 7537,
"loc": {
"start": {
"line": 226,
"column": 32
},
"end": {
"line": 226,
"column": 36
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 7556,
"end": 7572,
"loc": {
"start": {
"line": 227,
"column": 16
},
"end": {
"line": 227,
"column": 32
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7556,
"end": 7566,
"loc": {
"start": {
"line": 227,
"column": 16
},
"end": {
"line": 227,
"column": 26
},
"identifierName": "targetOnly"
},
"name": "targetOnly"
},
"value": {
"type": "BooleanLiteral",
"start": 7568,
"end": 7572,
"loc": {
"start": {
"line": 227,
"column": 28
},
"end": {
"line": 227,
"column": 32
}
},
"value": true
}
}
]
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 7604,
"end": 7651,
"loc": {
"start": {
"line": 229,
"column": 12
},
"end": {
"line": 229,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 7604,
"end": 7650,
"loc": {
"start": {
"line": 229,
"column": 12
},
"end": {
"line": 229,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 7604,
"end": 7622,
"loc": {
"start": {
"line": 229,
"column": 12
},
"end": {
"line": 229,
"column": 30
}
},
"object": {
"type": "MemberExpression",
"start": 7604,
"end": 7618,
"loc": {
"start": {
"line": 229,
"column": 12
},
"end": {
"line": 229,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 7604,
"end": 7612,
"loc": {
"start": {
"line": 229,
"column": 12
},
"end": {
"line": 229,
"column": 20
},
"identifierName": "detector"
},
"name": "detector"
},
"property": {
"type": "Identifier",
"start": 7613,
"end": 7618,
"loc": {
"start": {
"line": 229,
"column": 21
},
"end": {
"line": 229,
"column": 26
},
"identifierName": "click"
},
"name": "click"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7619,
"end": 7622,
"loc": {
"start": {
"line": 229,
"column": 27
},
"end": {
"line": 229,
"column": 30
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 7623,
"end": 7649,
"loc": {
"start": {
"line": 229,
"column": 31
},
"end": {
"line": 229,
"column": 57
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "CallExpression",
"start": 7629,
"end": 7649,
"loc": {
"start": {
"line": 229,
"column": 37
},
"end": {
"line": 229,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 7629,
"end": 7644,
"loc": {
"start": {
"line": 229,
"column": 37
},
"end": {
"line": 229,
"column": 52
}
},
"object": {
"type": "ThisExpression",
"start": 7629,
"end": 7633,
"loc": {
"start": {
"line": 229,
"column": 37
},
"end": {
"line": 229,
"column": 41
}
}
},
"property": {
"type": "Identifier",
"start": 7634,
"end": 7644,
"loc": {
"start": {
"line": 229,
"column": 42
},
"end": {
"line": 229,
"column": 52
},
"identifierName": "unpinShape"
},
"name": "unpinShape"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 7645,
"end": 7648,
"loc": {
"start": {
"line": 229,
"column": 53
},
"end": {
"line": 229,
"column": 56
},
"identifierName": "key"
},
"name": "key"
}
]
}
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 7668,
"end": 7726,
"loc": {
"start": {
"line": 230,
"column": 15
},
"end": {
"line": 232,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 7683,
"end": 7715,
"loc": {
"start": {
"line": 231,
"column": 12
},
"end": {
"line": 231,
"column": 44
}
},
"expression": {
"type": "CallExpression",
"start": 7683,
"end": 7714,
"loc": {
"start": {
"line": 231,
"column": 12
},
"end": {
"line": 231,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 7683,
"end": 7704,
"loc": {
"start": {
"line": 231,
"column": 12
},
"end": {
"line": 231,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 7683,
"end": 7700,
"loc": {
"start": {
"line": 231,
"column": 12
},
"end": {
"line": 231,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 7683,
"end": 7690,
"loc": {
"start": {
"line": 231,
"column": 12
},
"end": {
"line": 231,
"column": 19
},
"identifierName": "element"
},
"name": "element"
},
"property": {
"type": "Identifier",
"start": 7691,
"end": 7700,
"loc": {
"start": {
"line": 231,
"column": 20
},
"end": {
"line": 231,
"column": 29
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7701,
"end": 7704,
"loc": {
"start": {
"line": 231,
"column": 30
},
"end": {
"line": 231,
"column": 33
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 7705,
"end": 7713,
"loc": {
"start": {
"line": 231,
"column": 34
},
"end": {
"line": 231,
"column": 42
}
},
"extra": {
"rawValue": "marked",
"raw": "\"marked\""
},
"value": "marked"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Show small info icon",
"start": 7738,
"end": 7761,
"loc": {
"start": {
"line": 234,
"column": 8
},
"end": {
"line": 234,
"column": 31
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 7771,
"end": 7823,
"loc": {
"start": {
"line": 235,
"column": 8
},
"end": {
"line": 235,
"column": 60
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7777,
"end": 7822,
"loc": {
"start": {
"line": 235,
"column": 14
},
"end": {
"line": 235,
"column": 59
}
},
"id": {
"type": "Identifier",
"start": 7777,
"end": 7787,
"loc": {
"start": {
"line": 235,
"column": 14
},
"end": {
"line": 235,
"column": 24
},
"identifierName": "infoButton"
},
"name": "infoButton",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 7790,
"end": 7822,
"loc": {
"start": {
"line": 235,
"column": 27
},
"end": {
"line": 235,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 7790,
"end": 7812,
"loc": {
"start": {
"line": 235,
"column": 27
},
"end": {
"line": 235,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 7790,
"end": 7798,
"loc": {
"start": {
"line": 235,
"column": 27
},
"end": {
"line": 235,
"column": 35
},
"identifierName": "document"
},
"name": "document"
},
"property": {
"type": "Identifier",
"start": 7799,
"end": 7812,
"loc": {
"start": {
"line": 235,
"column": 36
},
"end": {
"line": 235,
"column": 49
},
"identifierName": "createElement"
},
"name": "createElement"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 7813,
"end": 7821,
"loc": {
"start": {
"line": 235,
"column": 50
},
"end": {
"line": 235,
"column": 58
}
},
"extra": {
"rawValue": "button",
"raw": "\"button\""
},
"value": "button"
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Show small info icon",
"start": 7738,
"end": 7761,
"loc": {
"start": {
"line": 234,
"column": 8
},
"end": {
"line": 234,
"column": 31
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 7833,
"end": 7872,
"loc": {
"start": {
"line": 236,
"column": 8
},
"end": {
"line": 236,
"column": 47
}
},
"expression": {
"type": "CallExpression",
"start": 7833,
"end": 7871,
"loc": {
"start": {
"line": 236,
"column": 8
},
"end": {
"line": 236,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 7833,
"end": 7857,
"loc": {
"start": {
"line": 236,
"column": 8
},
"end": {
"line": 236,
"column": 32
}
},
"object": {
"type": "MemberExpression",
"start": 7833,
"end": 7853,
"loc": {
"start": {
"line": 236,
"column": 8
},
"end": {
"line": 236,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 7833,
"end": 7843,
"loc": {
"start": {
"line": 236,
"column": 8
},
"end": {
"line": 236,
"column": 18
},
"identifierName": "infoButton"
},
"name": "infoButton"
},
"property": {
"type": "Identifier",
"start": 7844,
"end": 7853,
"loc": {
"start": {
"line": 236,
"column": 19
},
"end": {
"line": 236,
"column": 28
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7854,
"end": 7857,
"loc": {
"start": {
"line": 236,
"column": 29
},
"end": {
"line": 236,
"column": 32
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 7858,
"end": 7870,
"loc": {
"start": {
"line": 236,
"column": 33
},
"end": {
"line": 236,
"column": 45
}
},
"extra": {
"rawValue": "infoButton",
"raw": "\"infoButton\""
},
"value": "infoButton"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 7882,
"end": 7914,
"loc": {
"start": {
"line": 237,
"column": 8
},
"end": {
"line": 237,
"column": 40
}
},
"expression": {
"type": "CallExpression",
"start": 7882,
"end": 7913,
"loc": {
"start": {
"line": 237,
"column": 8
},
"end": {
"line": 237,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 7882,
"end": 7901,
"loc": {
"start": {
"line": 237,
"column": 8
},
"end": {
"line": 237,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 7882,
"end": 7889,
"loc": {
"start": {
"line": 237,
"column": 8
},
"end": {
"line": 237,
"column": 15
},
"identifierName": "element"
},
"name": "element"
},
"property": {
"type": "Identifier",
"start": 7890,
"end": 7901,
"loc": {
"start": {
"line": 237,
"column": 16
},
"end": {
"line": 237,
"column": 27
},
"identifierName": "appendChild"
},
"name": "appendChild"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 7902,
"end": 7912,
"loc": {
"start": {
"line": 237,
"column": 28
},
"end": {
"line": 237,
"column": 38
},
"identifierName": "infoButton"
},
"name": "infoButton"
}
]
}
},
{
"type": "VariableDeclaration",
"start": 7924,
"end": 8089,
"loc": {
"start": {
"line": 238,
"column": 8
},
"end": {
"line": 242,
"column": 11
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7930,
"end": 8088,
"loc": {
"start": {
"line": 238,
"column": 14
},
"end": {
"line": 242,
"column": 10
}
},
"id": {
"type": "Identifier",
"start": 7930,
"end": 7942,
"loc": {
"start": {
"line": 238,
"column": 14
},
"end": {
"line": 238,
"column": 26
},
"identifierName": "infoDetector"
},
"name": "infoDetector"
},
"init": {
"type": "NewExpression",
"start": 7945,
"end": 8088,
"loc": {
"start": {
"line": 238,
"column": 29
},
"end": {
"line": 242,
"column": 10
}
},
"callee": {
"type": "Identifier",
"start": 7949,
"end": 7962,
"loc": {
"start": {
"line": 238,
"column": 33
},
"end": {
"line": 238,
"column": 46
},
"identifierName": "ClickDetector"
},
"name": "ClickDetector"
},
"arguments": [
{
"type": "Identifier",
"start": 7963,
"end": 7973,
"loc": {
"start": {
"line": 238,
"column": 47
},
"end": {
"line": 238,
"column": 57
},
"identifierName": "infoButton"
},
"name": "infoButton"
},
{
"type": "ObjectExpression",
"start": 7975,
"end": 8087,
"loc": {
"start": {
"line": 238,
"column": 59
},
"end": {
"line": 242,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 7990,
"end": 8009,
"loc": {
"start": {
"line": 239,
"column": 12
},
"end": {
"line": 239,
"column": 31
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7990,
"end": 8003,
"loc": {
"start": {
"line": 239,
"column": 12
},
"end": {
"line": 239,
"column": 25
},
"identifierName": "consumeEvents"
},
"name": "consumeEvents"
},
"value": {
"type": "BooleanLiteral",
"start": 8005,
"end": 8009,
"loc": {
"start": {
"line": 239,
"column": 27
},
"end": {
"line": 239,
"column": 31
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 8024,
"end": 8044,
"loc": {
"start": {
"line": 240,
"column": 12
},
"end": {
"line": 240,
"column": 32
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8024,
"end": 8038,
"loc": {
"start": {
"line": 240,
"column": 12
},
"end": {
"line": 240,
"column": 26
},
"identifierName": "preventDefault"
},
"name": "preventDefault"
},
"value": {
"type": "BooleanLiteral",
"start": 8040,
"end": 8044,
"loc": {
"start": {
"line": 240,
"column": 28
},
"end": {
"line": 240,
"column": 32
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 8059,
"end": 8075,
"loc": {
"start": {
"line": 241,
"column": 12
},
"end": {
"line": 241,
"column": 28
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8059,
"end": 8069,
"loc": {
"start": {
"line": 241,
"column": 12
},
"end": {
"line": 241,
"column": 22
},
"identifierName": "targetOnly"
},
"name": "targetOnly"
},
"value": {
"type": "BooleanLiteral",
"start": 8071,
"end": 8075,
"loc": {
"start": {
"line": 241,
"column": 24
},
"end": {
"line": 241,
"column": 28
}
},
"value": true
}
}
]
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 8099,
"end": 8198,
"loc": {
"start": {
"line": 243,
"column": 8
},
"end": {
"line": 243,
"column": 107
}
},
"expression": {
"type": "CallExpression",
"start": 8099,
"end": 8197,
"loc": {
"start": {
"line": 243,
"column": 8
},
"end": {
"line": 243,
"column": 106
}
},
"callee": {
"type": "MemberExpression",
"start": 8099,
"end": 8121,
"loc": {
"start": {
"line": 243,
"column": 8
},
"end": {
"line": 243,
"column": 30
}
},
"object": {
"type": "MemberExpression",
"start": 8099,
"end": 8117,
"loc": {
"start": {
"line": 243,
"column": 8
},
"end": {
"line": 243,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 8099,
"end": 8111,
"loc": {
"start": {
"line": 243,
"column": 8
},
"end": {
"line": 243,
"column": 20
},
"identifierName": "infoDetector"
},
"name": "infoDetector"
},
"property": {
"type": "Identifier",
"start": 8112,
"end": 8117,
"loc": {
"start": {
"line": 243,
"column": 21
},
"end": {
"line": 243,
"column": 26
},
"identifierName": "click"
},
"name": "click"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8118,
"end": 8121,
"loc": {
"start": {
"line": 243,
"column": 27
},
"end": {
"line": 243,
"column": 30
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 8122,
"end": 8196,
"loc": {
"start": {
"line": 243,
"column": 31
},
"end": {
"line": 243,
"column": 105
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "CallExpression",
"start": 8128,
"end": 8196,
"loc": {
"start": {
"line": 243,
"column": 37
},
"end": {
"line": 243,
"column": 105
}
},
"callee": {
"type": "MemberExpression",
"start": 8128,
"end": 8184,
"loc": {
"start": {
"line": 243,
"column": 37
},
"end": {
"line": 243,
"column": 93
}
},
"object": {
"type": "MemberExpression",
"start": 8128,
"end": 8175,
"loc": {
"start": {
"line": 243,
"column": 37
},
"end": {
"line": 243,
"column": 84
}
},
"object": {
"type": "MemberExpression",
"start": 8128,
"end": 8149,
"loc": {
"start": {
"line": 243,
"column": 37
},
"end": {
"line": 243,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 8128,
"end": 8141,
"loc": {
"start": {
"line": 243,
"column": 37
},
"end": {
"line": 243,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 8128,
"end": 8137,
"loc": {
"start": {
"line": 243,
"column": 37
},
"end": {
"line": 243,
"column": 46
}
},
"object": {
"type": "ThisExpression",
"start": 8128,
"end": 8132,
"loc": {
"start": {
"line": 243,
"column": 37
},
"end": {
"line": 243,
"column": 41
}
}
},
"property": {
"type": "Identifier",
"start": 8133,
"end": 8137,
"loc": {
"start": {
"line": 243,
"column": 42
},
"end": {
"line": 243,
"column": 46
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8138,
"end": 8141,
"loc": {
"start": {
"line": 243,
"column": 47
},
"end": {
"line": 243,
"column": 50
},
"identifierName": "hud"
},
"name": "hud"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8142,
"end": 8149,
"loc": {
"start": {
"line": 243,
"column": 51
},
"end": {
"line": 243,
"column": 58
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8150,
"end": 8175,
"loc": {
"start": {
"line": 243,
"column": 59
},
"end": {
"line": 243,
"column": 84
},
"identifierName": "viewShapeDetailsRequested"
},
"name": "viewShapeDetailsRequested"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8176,
"end": 8184,
"loc": {
"start": {
"line": 243,
"column": 85
},
"end": {
"line": 243,
"column": 93
},
"identifierName": "dispatch"
},
"name": "dispatch"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 8185,
"end": 8195,
"loc": {
"start": {
"line": 243,
"column": 94
},
"end": {
"line": 243,
"column": 104
},
"identifierName": "definition"
},
"name": "definition"
}
]
}
}
]
}
},
{
"type": "VariableDeclaration",
"start": 8210,
"end": 8274,
"loc": {
"start": {
"line": 245,
"column": 8
},
"end": {
"line": 245,
"column": 72
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8216,
"end": 8273,
"loc": {
"start": {
"line": 245,
"column": 14
},
"end": {
"line": 245,
"column": 71
}
},
"id": {
"type": "Identifier",
"start": 8216,
"end": 8227,
"loc": {
"start": {
"line": 245,
"column": 14
},
"end": {
"line": 245,
"column": 25
},
"identifierName": "amountLabel"
},
"name": "amountLabel"
},
"init": {
"type": "CallExpression",
"start": 8230,
"end": 8273,
"loc": {
"start": {
"line": 245,
"column": 28
},
"end": {
"line": 245,
"column": 71
}
},
"callee": {
"type": "Identifier",
"start": 8230,
"end": 8237,
"loc": {
"start": {
"line": 245,
"column": 28
},
"end": {
"line": 245,
"column": 35
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
},
"arguments": [
{
"type": "Identifier",
"start": 8238,
"end": 8245,
"loc": {
"start": {
"line": 245,
"column": 36
},
"end": {
"line": 245,
"column": 43
},
"identifierName": "element"
},
"name": "element"
},
{
"type": "NullLiteral",
"start": 8247,
"end": 8251,
"loc": {
"start": {
"line": 245,
"column": 45
},
"end": {
"line": 245,
"column": 49
}
}
},
{
"type": "ArrayExpression",
"start": 8253,
"end": 8268,
"loc": {
"start": {
"line": 245,
"column": 51
},
"end": {
"line": 245,
"column": 66
}
},
"elements": [
{
"type": "StringLiteral",
"start": 8254,
"end": 8267,
"loc": {
"start": {
"line": 245,
"column": 52
},
"end": {
"line": 245,
"column": 65
}
},
"extra": {
"rawValue": "amountLabel",
"raw": "\"amountLabel\""
},
"value": "amountLabel"
}
]
},
{
"type": "StringLiteral",
"start": 8270,
"end": 8272,
"loc": {
"start": {
"line": 245,
"column": 68
},
"end": {
"line": 245,
"column": 70
}
},
"extra": {
"rawValue": "",
"raw": "\"\""
},
"value": ""
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 8286,
"end": 8331,
"loc": {
"start": {
"line": 247,
"column": 8
},
"end": {
"line": 247,
"column": 53
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8292,
"end": 8330,
"loc": {
"start": {
"line": 247,
"column": 14
},
"end": {
"line": 247,
"column": 52
}
},
"id": {
"type": "Identifier",
"start": 8292,
"end": 8296,
"loc": {
"start": {
"line": 247,
"column": 14
},
"end": {
"line": 247,
"column": 18
},
"identifierName": "goal"
},
"name": "goal"
},
"init": {
"type": "CallExpression",
"start": 8299,
"end": 8330,
"loc": {
"start": {
"line": 247,
"column": 21
},
"end": {
"line": 247,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 8299,
"end": 8325,
"loc": {
"start": {
"line": 247,
"column": 21
},
"end": {
"line": 247,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 8299,
"end": 8303,
"loc": {
"start": {
"line": 247,
"column": 21
},
"end": {
"line": 247,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 8304,
"end": 8325,
"loc": {
"start": {
"line": 247,
"column": 26
},
"end": {
"line": 247,
"column": 47
},
"identifierName": "findGoalValueForShape"
},
"name": "findGoalValueForShape"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 8326,
"end": 8329,
"loc": {
"start": {
"line": 247,
"column": 48
},
"end": {
"line": 247,
"column": 51
},
"identifierName": "key"
},
"name": "key"
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 8341,
"end": 8444,
"loc": {
"start": {
"line": 248,
"column": 8
},
"end": {
"line": 250,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 8345,
"end": 8349,
"loc": {
"start": {
"line": 248,
"column": 12
},
"end": {
"line": 248,
"column": 16
},
"identifierName": "goal"
},
"name": "goal"
},
"consequent": {
"type": "BlockStatement",
"start": 8351,
"end": 8444,
"loc": {
"start": {
"line": 248,
"column": 18
},
"end": {
"line": 250,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 8366,
"end": 8433,
"loc": {
"start": {
"line": 249,
"column": 12
},
"end": {
"line": 249,
"column": 79
}
},
"expression": {
"type": "CallExpression",
"start": 8366,
"end": 8432,
"loc": {
"start": {
"line": 249,
"column": 12
},
"end": {
"line": 249,
"column": 78
}
},
"callee": {
"type": "Identifier",
"start": 8366,
"end": 8373,
"loc": {
"start": {
"line": 249,
"column": 12
},
"end": {
"line": 249,
"column": 19
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
},
"arguments": [
{
"type": "Identifier",
"start": 8374,
"end": 8381,
"loc": {
"start": {
"line": 249,
"column": 20
},
"end": {
"line": 249,
"column": 27
},
"identifierName": "element"
},
"name": "element"
},
{
"type": "NullLiteral",
"start": 8383,
"end": 8387,
"loc": {
"start": {
"line": 249,
"column": 29
},
"end": {
"line": 249,
"column": 33
}
}
},
{
"type": "ArrayExpression",
"start": 8389,
"end": 8402,
"loc": {
"start": {
"line": 249,
"column": 35
},
"end": {
"line": 249,
"column": 48
}
},
"elements": [
{
"type": "StringLiteral",
"start": 8390,
"end": 8401,
"loc": {
"start": {
"line": 249,
"column": 36
},
"end": {
"line": 249,
"column": 47
}
},
"extra": {
"rawValue": "goalLabel",
"raw": "\"goalLabel\""
},
"value": "goalLabel"
}
]
},
{
"type": "BinaryExpression",
"start": 8404,
"end": 8431,
"loc": {
"start": {
"line": 249,
"column": 50
},
"end": {
"line": 249,
"column": 77
}
},
"left": {
"type": "StringLiteral",
"start": 8404,
"end": 8407,
"loc": {
"start": {
"line": 249,
"column": 50
},
"end": {
"line": 249,
"column": 53
}
},
"extra": {
"rawValue": "/",
"raw": "\"/\""
},
"value": "/"
},
"operator": "+",
"right": {
"type": "CallExpression",
"start": 8410,
"end": 8431,
"loc": {
"start": {
"line": 249,
"column": 56
},
"end": {
"line": 249,
"column": 77
}
},
"callee": {
"type": "Identifier",
"start": 8410,
"end": 8425,
"loc": {
"start": {
"line": 249,
"column": 56
},
"end": {
"line": 249,
"column": 71
},
"identifierName": "formatBigNumber"
},
"name": "formatBigNumber"
},
"arguments": [
{
"type": "Identifier",
"start": 8426,
"end": 8430,
"loc": {
"start": {
"line": 249,
"column": 72
},
"end": {
"line": 249,
"column": 76
},
"identifierName": "goal"
},
"name": "goal"
}
]
}
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 8456,
"end": 8694,
"loc": {
"start": {
"line": 252,
"column": 8
},
"end": {
"line": 261,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 8456,
"end": 8693,
"loc": {
"start": {
"line": 252,
"column": 8
},
"end": {
"line": 261,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 8456,
"end": 8473,
"loc": {
"start": {
"line": 252,
"column": 8
},
"end": {
"line": 252,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 8456,
"end": 8468,
"loc": {
"start": {
"line": 252,
"column": 8
},
"end": {
"line": 252,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 8456,
"end": 8460,
"loc": {
"start": {
"line": 252,
"column": 8
},
"end": {
"line": 252,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 8461,
"end": 8468,
"loc": {
"start": {
"line": 252,
"column": 13
},
"end": {
"line": 252,
"column": 20
},
"identifierName": "handles"
},
"name": "handles"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8469,
"end": 8473,
"loc": {
"start": {
"line": 252,
"column": 21
},
"end": {
"line": 252,
"column": 25
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 8474,
"end": 8692,
"loc": {
"start": {
"line": 252,
"column": 26
},
"end": {
"line": 261,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 8489,
"end": 8492,
"loc": {
"start": {
"line": 253,
"column": 12
},
"end": {
"line": 253,
"column": 15
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 8489,
"end": 8492,
"loc": {
"start": {
"line": 253,
"column": 12
},
"end": {
"line": 253,
"column": 15
},
"identifierName": "key"
},
"name": "key"
},
"value": {
"type": "Identifier",
"start": 8489,
"end": 8492,
"loc": {
"start": {
"line": 253,
"column": 12
},
"end": {
"line": 253,
"column": 15
},
"identifierName": "key"
},
"name": "key"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 8507,
"end": 8517,
"loc": {
"start": {
"line": 254,
"column": 12
},
"end": {
"line": 254,
"column": 22
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 8507,
"end": 8517,
"loc": {
"start": {
"line": 254,
"column": 12
},
"end": {
"line": 254,
"column": 22
},
"identifierName": "definition"
},
"name": "definition"
},
"value": {
"type": "Identifier",
"start": 8507,
"end": 8517,
"loc": {
"start": {
"line": 254,
"column": 12
},
"end": {
"line": 254,
"column": 22
},
"identifierName": "definition"
},
"name": "definition"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 8532,
"end": 8539,
"loc": {
"start": {
"line": 255,
"column": 12
},
"end": {
"line": 255,
"column": 19
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 8532,
"end": 8539,
"loc": {
"start": {
"line": 255,
"column": 12
},
"end": {
"line": 255,
"column": 19
},
"identifierName": "element"
},
"name": "element"
},
"value": {
"type": "Identifier",
"start": 8532,
"end": 8539,
"loc": {
"start": {
"line": 255,
"column": 12
},
"end": {
"line": 255,
"column": 19
},
"identifierName": "element"
},
"name": "element"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 8554,
"end": 8565,
"loc": {
"start": {
"line": 256,
"column": 12
},
"end": {
"line": 256,
"column": 23
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 8554,
"end": 8565,
"loc": {
"start": {
"line": 256,
"column": 12
},
"end": {
"line": 256,
"column": 23
},
"identifierName": "amountLabel"
},
"name": "amountLabel"
},
"value": {
"type": "Identifier",
"start": 8554,
"end": 8565,
"loc": {
"start": {
"line": 256,
"column": 12
},
"end": {
"line": 256,
"column": 23
},
"identifierName": "amountLabel"
},
"name": "amountLabel"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 8580,
"end": 8601,
"loc": {
"start": {
"line": 257,
"column": 12
},
"end": {
"line": 257,
"column": 33
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8580,
"end": 8597,
"loc": {
"start": {
"line": 257,
"column": 12
},
"end": {
"line": 257,
"column": 29
},
"identifierName": "lastRenderedValue"
},
"name": "lastRenderedValue"
},
"value": {
"type": "StringLiteral",
"start": 8599,
"end": 8601,
"loc": {
"start": {
"line": 257,
"column": 31
},
"end": {
"line": 257,
"column": 33
}
},
"extra": {
"rawValue": "",
"raw": "\"\""
},
"value": ""
}
},
{
"type": "ObjectProperty",
"start": 8616,
"end": 8624,
"loc": {
"start": {
"line": 258,
"column": 12
},
"end": {
"line": 258,
"column": 20
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 8616,
"end": 8624,
"loc": {
"start": {
"line": 258,
"column": 12
},
"end": {
"line": 258,
"column": 20
},
"identifierName": "detector"
},
"name": "detector"
},
"value": {
"type": "Identifier",
"start": 8616,
"end": 8624,
"loc": {
"start": {
"line": 258,
"column": 12
},
"end": {
"line": 258,
"column": 20
},
"identifierName": "detector"
},
"name": "detector"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 8639,
"end": 8651,
"loc": {
"start": {
"line": 259,
"column": 12
},
"end": {
"line": 259,
"column": 24
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 8639,
"end": 8651,
"loc": {
"start": {
"line": 259,
"column": 12
},
"end": {
"line": 259,
"column": 24
},
"identifierName": "infoDetector"
},
"name": "infoDetector"
},
"value": {
"type": "Identifier",
"start": 8639,
"end": 8651,
"loc": {
"start": {
"line": 259,
"column": 12
},
"end": {
"line": 259,
"column": 24
},
"identifierName": "infoDetector"
},
"name": "infoDetector"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 8666,
"end": 8680,
"loc": {
"start": {
"line": 260,
"column": 12
},
"end": {
"line": 260,
"column": 26
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 8666,
"end": 8680,
"loc": {
"start": {
"line": 260,
"column": 12
},
"end": {
"line": 260,
"column": 26
},
"identifierName": "throughputOnly"
},
"name": "throughputOnly"
},
"value": {
"type": "Identifier",
"start": 8666,
"end": 8680,
"loc": {
"start": {
"line": 260,
"column": 12
},
"end": {
"line": 260,
"column": 26
},
"identifierName": "throughputOnly"
},
"name": "throughputOnly"
},
"extra": {
"shorthand": true
}
}
]
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Pins a new shape\r\n * @param {object} param0\r\n * @param {string} param0.key\r\n * @param {boolean=} param0.canUnpin\r\n * @param {string=} param0.className\r\n * @param {boolean=} param0.throughputOnly\r\n ",
"start": 6469,
"end": 6704,
"loc": {
"start": {
"line": 199,
"column": 4
},
"end": {
"line": 206,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Updates all amount labels\r\n ",
"start": 8709,
"end": 8755,
"loc": {
"start": {
"line": 264,
"column": 4
},
"end": {
"line": 266,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 8761,
"end": 9964,
"loc": {
"start": {
"line": 267,
"column": 4
},
"end": {
"line": 293,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8761,
"end": 8767,
"loc": {
"start": {
"line": 267,
"column": 4
},
"end": {
"line": 267,
"column": 10
},
"identifierName": "update"
},
"name": "update",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 8770,
"end": 9964,
"loc": {
"start": {
"line": 267,
"column": 13
},
"end": {
"line": 293,
"column": 5
}
},
"body": [
{
"type": "ForStatement",
"start": 8781,
"end": 9957,
"loc": {
"start": {
"line": 268,
"column": 8
},
"end": {
"line": 292,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 8786,
"end": 8795,
"loc": {
"start": {
"line": 268,
"column": 13
},
"end": {
"line": 268,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8790,
"end": 8795,
"loc": {
"start": {
"line": 268,
"column": 17
},
"end": {
"line": 268,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 8790,
"end": 8791,
"loc": {
"start": {
"line": 268,
"column": 17
},
"end": {
"line": 268,
"column": 18
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 8794,
"end": 8795,
"loc": {
"start": {
"line": 268,
"column": 21
},
"end": {
"line": 268,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 8797,
"end": 8820,
"loc": {
"start": {
"line": 268,
"column": 24
},
"end": {
"line": 268,
"column": 47
}
},
"left": {
"type": "Identifier",
"start": 8797,
"end": 8798,
"loc": {
"start": {
"line": 268,
"column": 24
},
"end": {
"line": 268,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 8801,
"end": 8820,
"loc": {
"start": {
"line": 268,
"column": 28
},
"end": {
"line": 268,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 8801,
"end": 8813,
"loc": {
"start": {
"line": 268,
"column": 28
},
"end": {
"line": 268,
"column": 40
}
},
"object": {
"type": "ThisExpression",
"start": 8801,
"end": 8805,
"loc": {
"start": {
"line": 268,
"column": 28
},
"end": {
"line": 268,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 8806,
"end": 8813,
"loc": {
"start": {
"line": 268,
"column": 33
},
"end": {
"line": 268,
"column": 40
},
"identifierName": "handles"
},
"name": "handles"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8814,
"end": 8820,
"loc": {
"start": {
"line": 268,
"column": 41
},
"end": {
"line": 268,
"column": 47
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 8822,
"end": 8825,
"loc": {
"start": {
"line": 268,
"column": 49
},
"end": {
"line": 268,
"column": 52
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 8824,
"end": 8825,
"loc": {
"start": {
"line": 268,
"column": 51
},
"end": {
"line": 268,
"column": 52
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 8827,
"end": 9957,
"loc": {
"start": {
"line": 268,
"column": 54
},
"end": {
"line": 292,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 8842,
"end": 8873,
"loc": {
"start": {
"line": 269,
"column": 12
},
"end": {
"line": 269,
"column": 43
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8848,
"end": 8872,
"loc": {
"start": {
"line": 269,
"column": 18
},
"end": {
"line": 269,
"column": 42
}
},
"id": {
"type": "Identifier",
"start": 8848,
"end": 8854,
"loc": {
"start": {
"line": 269,
"column": 18
},
"end": {
"line": 269,
"column": 24
},
"identifierName": "handle"
},
"name": "handle"
},
"init": {
"type": "MemberExpression",
"start": 8857,
"end": 8872,
"loc": {
"start": {
"line": 269,
"column": 27
},
"end": {
"line": 269,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 8857,
"end": 8869,
"loc": {
"start": {
"line": 269,
"column": 27
},
"end": {
"line": 269,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 8857,
"end": 8861,
"loc": {
"start": {
"line": 269,
"column": 27
},
"end": {
"line": 269,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 8862,
"end": 8869,
"loc": {
"start": {
"line": 269,
"column": 32
},
"end": {
"line": 269,
"column": 39
},
"identifierName": "handles"
},
"name": "handles"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8870,
"end": 8871,
"loc": {
"start": {
"line": 269,
"column": 40
},
"end": {
"line": 269,
"column": 41
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 8889,
"end": 8960,
"loc": {
"start": {
"line": 271,
"column": 12
},
"end": {
"line": 271,
"column": 83
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8893,
"end": 8959,
"loc": {
"start": {
"line": 271,
"column": 16
},
"end": {
"line": 271,
"column": 82
}
},
"id": {
"type": "Identifier",
"start": 8893,
"end": 8905,
"loc": {
"start": {
"line": 271,
"column": 16
},
"end": {
"line": 271,
"column": 28
},
"identifierName": "currentValue"
},
"name": "currentValue"
},
"init": {
"type": "CallExpression",
"start": 8908,
"end": 8959,
"loc": {
"start": {
"line": 271,
"column": 31
},
"end": {
"line": 271,
"column": 82
}
},
"callee": {
"type": "MemberExpression",
"start": 8908,
"end": 8947,
"loc": {
"start": {
"line": 271,
"column": 31
},
"end": {
"line": 271,
"column": 70
}
},
"object": {
"type": "MemberExpression",
"start": 8908,
"end": 8926,
"loc": {
"start": {
"line": 271,
"column": 31
},
"end": {
"line": 271,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 8908,
"end": 8917,
"loc": {
"start": {
"line": 271,
"column": 31
},
"end": {
"line": 271,
"column": 40
}
},
"object": {
"type": "ThisExpression",
"start": 8908,
"end": 8912,
"loc": {
"start": {
"line": 271,
"column": 31
},
"end": {
"line": 271,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 8913,
"end": 8917,
"loc": {
"start": {
"line": 271,
"column": 36
},
"end": {
"line": 271,
"column": 40
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8918,
"end": 8926,
"loc": {
"start": {
"line": 271,
"column": 41
},
"end": {
"line": 271,
"column": 49
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8927,
"end": 8947,
"loc": {
"start": {
"line": 271,
"column": 50
},
"end": {
"line": 271,
"column": 70
},
"identifierName": "getShapesStoredByKey"
},
"name": "getShapesStoredByKey"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 8948,
"end": 8958,
"loc": {
"start": {
"line": 271,
"column": 71
},
"end": {
"line": 271,
"column": 81
}
},
"object": {
"type": "Identifier",
"start": 8948,
"end": 8954,
"loc": {
"start": {
"line": 271,
"column": 71
},
"end": {
"line": 271,
"column": 77
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 8955,
"end": 8958,
"loc": {
"start": {
"line": 271,
"column": 78
},
"end": {
"line": 271,
"column": 81
},
"identifierName": "key"
},
"name": "key"
},
"computed": false
}
]
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 8974,
"end": 9032,
"loc": {
"start": {
"line": 272,
"column": 12
},
"end": {
"line": 272,
"column": 70
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8978,
"end": 9031,
"loc": {
"start": {
"line": 272,
"column": 16
},
"end": {
"line": 272,
"column": 69
}
},
"id": {
"type": "Identifier",
"start": 8978,
"end": 8999,
"loc": {
"start": {
"line": 272,
"column": 16
},
"end": {
"line": 272,
"column": 37
},
"identifierName": "currentValueFormatted"
},
"name": "currentValueFormatted"
},
"init": {
"type": "CallExpression",
"start": 9002,
"end": 9031,
"loc": {
"start": {
"line": 272,
"column": 40
},
"end": {
"line": 272,
"column": 69
}
},
"callee": {
"type": "Identifier",
"start": 9002,
"end": 9017,
"loc": {
"start": {
"line": 272,
"column": 40
},
"end": {
"line": 272,
"column": 55
},
"identifierName": "formatBigNumber"
},
"name": "formatBigNumber"
},
"arguments": [
{
"type": "Identifier",
"start": 9018,
"end": 9030,
"loc": {
"start": {
"line": 272,
"column": 56
},
"end": {
"line": 272,
"column": 68
},
"identifierName": "currentValue"
},
"name": "currentValue"
}
]
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 9048,
"end": 9558,
"loc": {
"start": {
"line": 274,
"column": 12
},
"end": {
"line": 284,
"column": 13
}
},
"test": {
"type": "MemberExpression",
"start": 9052,
"end": 9073,
"loc": {
"start": {
"line": 274,
"column": 16
},
"end": {
"line": 274,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 9052,
"end": 9058,
"loc": {
"start": {
"line": 274,
"column": 16
},
"end": {
"line": 274,
"column": 22
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 9059,
"end": 9073,
"loc": {
"start": {
"line": 274,
"column": 23
},
"end": {
"line": 274,
"column": 37
},
"identifierName": "throughputOnly"
},
"name": "throughputOnly"
},
"computed": false
},
"consequent": {
"type": "BlockStatement",
"start": 9075,
"end": 9558,
"loc": {
"start": {
"line": 274,
"column": 39
},
"end": {
"line": 284,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 9094,
"end": 9352,
"loc": {
"start": {
"line": 275,
"column": 16
},
"end": {
"line": 279,
"column": 67
}
},
"expression": {
"type": "AssignmentExpression",
"start": 9094,
"end": 9351,
"loc": {
"start": {
"line": 275,
"column": 16
},
"end": {
"line": 279,
"column": 66
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 9094,
"end": 9106,
"loc": {
"start": {
"line": 275,
"column": 16
},
"end": {
"line": 275,
"column": 28
},
"identifierName": "currentValue"
},
"name": "currentValue"
},
"right": {
"type": "BinaryExpression",
"start": 9130,
"end": 9351,
"loc": {
"start": {
"line": 276,
"column": 20
},
"end": {
"line": 279,
"column": 66
}
},
"left": {
"type": "CallExpression",
"start": 9130,
"end": 9306,
"loc": {
"start": {
"line": 276,
"column": 20
},
"end": {
"line": 279,
"column": 21
}
},
"callee": {
"type": "MemberExpression",
"start": 9130,
"end": 9179,
"loc": {
"start": {
"line": 276,
"column": 20
},
"end": {
"line": 276,
"column": 69
}
},
"object": {
"type": "MemberExpression",
"start": 9130,
"end": 9159,
"loc": {
"start": {
"line": 276,
"column": 20
},
"end": {
"line": 276,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 9130,
"end": 9139,
"loc": {
"start": {
"line": 276,
"column": 20
},
"end": {
"line": 276,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 9130,
"end": 9134,
"loc": {
"start": {
"line": 276,
"column": 20
},
"end": {
"line": 276,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 9135,
"end": 9139,
"loc": {
"start": {
"line": 276,
"column": 25
},
"end": {
"line": 276,
"column": 29
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9140,
"end": 9159,
"loc": {
"start": {
"line": 276,
"column": 30
},
"end": {
"line": 276,
"column": 49
},
"identifierName": "productionAnalytics"
},
"name": "productionAnalytics"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9160,
"end": 9179,
"loc": {
"start": {
"line": 276,
"column": 50
},
"end": {
"line": 276,
"column": 69
},
"identifierName": "getCurrentShapeRate"
},
"name": "getCurrentShapeRate"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 9206,
"end": 9239,
"loc": {
"start": {
"line": 277,
"column": 24
},
"end": {
"line": 277,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 9206,
"end": 9229,
"loc": {
"start": {
"line": 277,
"column": 24
},
"end": {
"line": 277,
"column": 47
},
"identifierName": "enumAnalyticsDataSource"
},
"name": "enumAnalyticsDataSource"
},
"property": {
"type": "Identifier",
"start": 9230,
"end": 9239,
"loc": {
"start": {
"line": 277,
"column": 48
},
"end": {
"line": 277,
"column": 57
},
"identifierName": "delivered"
},
"name": "delivered"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 9266,
"end": 9283,
"loc": {
"start": {
"line": 278,
"column": 24
},
"end": {
"line": 278,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 9266,
"end": 9272,
"loc": {
"start": {
"line": 278,
"column": 24
},
"end": {
"line": 278,
"column": 30
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 9273,
"end": 9283,
"loc": {
"start": {
"line": 278,
"column": 31
},
"end": {
"line": 278,
"column": 41
},
"identifierName": "definition"
},
"name": "definition"
},
"computed": false
}
]
},
"operator": "/",
"right": {
"type": "MemberExpression",
"start": 9309,
"end": 9351,
"loc": {
"start": {
"line": 279,
"column": 24
},
"end": {
"line": 279,
"column": 66
}
},
"object": {
"type": "Identifier",
"start": 9309,
"end": 9321,
"loc": {
"start": {
"line": 279,
"column": 24
},
"end": {
"line": 279,
"column": 36
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 9322,
"end": 9351,
"loc": {
"start": {
"line": 279,
"column": 37
},
"end": {
"line": 279,
"column": 66
},
"identifierName": "analyticsSliceDurationSeconds"
},
"name": "analyticsSliceDurationSeconds"
},
"computed": false
}
}
}
},
{
"type": "ExpressionStatement",
"start": 9370,
"end": 9543,
"loc": {
"start": {
"line": 280,
"column": 16
},
"end": {
"line": 283,
"column": 18
}
},
"expression": {
"type": "AssignmentExpression",
"start": 9370,
"end": 9542,
"loc": {
"start": {
"line": 280,
"column": 16
},
"end": {
"line": 283,
"column": 17
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 9370,
"end": 9391,
"loc": {
"start": {
"line": 280,
"column": 16
},
"end": {
"line": 280,
"column": 37
},
"identifierName": "currentValueFormatted"
},
"name": "currentValueFormatted"
},
"right": {
"type": "CallExpression",
"start": 9394,
"end": 9542,
"loc": {
"start": {
"line": 280,
"column": 40
},
"end": {
"line": 283,
"column": 17
}
},
"callee": {
"type": "MemberExpression",
"start": 9394,
"end": 9447,
"loc": {
"start": {
"line": 280,
"column": 40
},
"end": {
"line": 280,
"column": 93
}
},
"object": {
"type": "MemberExpression",
"start": 9394,
"end": 9439,
"loc": {
"start": {
"line": 280,
"column": 40
},
"end": {
"line": 280,
"column": 85
}
},
"object": {
"type": "MemberExpression",
"start": 9394,
"end": 9432,
"loc": {
"start": {
"line": 280,
"column": 40
},
"end": {
"line": 280,
"column": 78
}
},
"object": {
"type": "MemberExpression",
"start": 9394,
"end": 9413,
"loc": {
"start": {
"line": 280,
"column": 40
},
"end": {
"line": 280,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 9394,
"end": 9402,
"loc": {
"start": {
"line": 280,
"column": 40
},
"end": {
"line": 280,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 9394,
"end": 9395,
"loc": {
"start": {
"line": 280,
"column": 40
},
"end": {
"line": 280,
"column": 41
},
"identifierName": "T"
},
"name": "T"
},
"property": {
"type": "Identifier",
"start": 9396,
"end": 9402,
"loc": {
"start": {
"line": 280,
"column": 42
},
"end": {
"line": 280,
"column": 48
},
"identifierName": "ingame"
},
"name": "ingame"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9403,
"end": 9413,
"loc": {
"start": {
"line": 280,
"column": 49
},
"end": {
"line": 280,
"column": 59
},
"identifierName": "statistics"
},
"name": "statistics"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9414,
"end": 9432,
"loc": {
"start": {
"line": 280,
"column": 60
},
"end": {
"line": 280,
"column": 78
},
"identifierName": "shapesDisplayUnits"
},
"name": "shapesDisplayUnits"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9433,
"end": 9439,
"loc": {
"start": {
"line": 280,
"column": 79
},
"end": {
"line": 280,
"column": 85
},
"identifierName": "second"
},
"name": "second"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9440,
"end": 9447,
"loc": {
"start": {
"line": 280,
"column": 86
},
"end": {
"line": 280,
"column": 93
},
"identifierName": "replace"
},
"name": "replace"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 9470,
"end": 9480,
"loc": {
"start": {
"line": 281,
"column": 20
},
"end": {
"line": 281,
"column": 30
}
},
"extra": {
"rawValue": "<shapes>",
"raw": "\"<shapes>\""
},
"value": "<shapes>"
},
{
"type": "CallExpression",
"start": 9503,
"end": 9523,
"loc": {
"start": {
"line": 282,
"column": 20
},
"end": {
"line": 282,
"column": 40
}
},
"callee": {
"type": "Identifier",
"start": 9503,
"end": 9509,
"loc": {
"start": {
"line": 282,
"column": 20
},
"end": {
"line": 282,
"column": 26
},
"identifierName": "String"
},
"name": "String"
},
"arguments": [
{
"type": "Identifier",
"start": 9510,
"end": 9522,
"loc": {
"start": {
"line": 282,
"column": 27
},
"end": {
"line": 282,
"column": 39
},
"identifierName": "currentValue"
},
"name": "currentValue"
}
]
}
]
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 9574,
"end": 9946,
"loc": {
"start": {
"line": 286,
"column": 12
},
"end": {
"line": 291,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 9578,
"end": 9628,
"loc": {
"start": {
"line": 286,
"column": 16
},
"end": {
"line": 286,
"column": 66
}
},
"left": {
"type": "Identifier",
"start": 9578,
"end": 9599,
"loc": {
"start": {
"line": 286,
"column": 16
},
"end": {
"line": 286,
"column": 37
},
"identifierName": "currentValueFormatted"
},
"name": "currentValueFormatted"
},
"operator": "!==",
"right": {
"type": "MemberExpression",
"start": 9604,
"end": 9628,
"loc": {
"start": {
"line": 286,
"column": 42
},
"end": {
"line": 286,
"column": 66
}
},
"object": {
"type": "Identifier",
"start": 9604,
"end": 9610,
"loc": {
"start": {
"line": 286,
"column": 42
},
"end": {
"line": 286,
"column": 48
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 9611,
"end": 9628,
"loc": {
"start": {
"line": 286,
"column": 49
},
"end": {
"line": 286,
"column": 66
},
"identifierName": "lastRenderedValue"
},
"name": "lastRenderedValue"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 9630,
"end": 9946,
"loc": {
"start": {
"line": 286,
"column": 68
},
"end": {
"line": 291,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 9649,
"end": 9698,
"loc": {
"start": {
"line": 287,
"column": 16
},
"end": {
"line": 287,
"column": 65
}
},
"expression": {
"type": "AssignmentExpression",
"start": 9649,
"end": 9697,
"loc": {
"start": {
"line": 287,
"column": 16
},
"end": {
"line": 287,
"column": 64
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 9649,
"end": 9673,
"loc": {
"start": {
"line": 287,
"column": 16
},
"end": {
"line": 287,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 9649,
"end": 9655,
"loc": {
"start": {
"line": 287,
"column": 16
},
"end": {
"line": 287,
"column": 22
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 9656,
"end": 9673,
"loc": {
"start": {
"line": 287,
"column": 23
},
"end": {
"line": 287,
"column": 40
},
"identifierName": "lastRenderedValue"
},
"name": "lastRenderedValue"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 9676,
"end": 9697,
"loc": {
"start": {
"line": 287,
"column": 43
},
"end": {
"line": 287,
"column": 64
},
"identifierName": "currentValueFormatted"
},
"name": "currentValueFormatted"
}
}
},
{
"type": "ExpressionStatement",
"start": 9716,
"end": 9769,
"loc": {
"start": {
"line": 288,
"column": 16
},
"end": {
"line": 288,
"column": 69
}
},
"expression": {
"type": "AssignmentExpression",
"start": 9716,
"end": 9768,
"loc": {
"start": {
"line": 288,
"column": 16
},
"end": {
"line": 288,
"column": 68
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 9716,
"end": 9744,
"loc": {
"start": {
"line": 288,
"column": 16
},
"end": {
"line": 288,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 9716,
"end": 9734,
"loc": {
"start": {
"line": 288,
"column": 16
},
"end": {
"line": 288,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 9716,
"end": 9722,
"loc": {
"start": {
"line": 288,
"column": 16
},
"end": {
"line": 288,
"column": 22
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 9723,
"end": 9734,
"loc": {
"start": {
"line": 288,
"column": 23
},
"end": {
"line": 288,
"column": 34
},
"identifierName": "amountLabel"
},
"name": "amountLabel"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9735,
"end": 9744,
"loc": {
"start": {
"line": 288,
"column": 35
},
"end": {
"line": 288,
"column": 44
},
"identifierName": "innerText"
},
"name": "innerText"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 9747,
"end": 9768,
"loc": {
"start": {
"line": 288,
"column": 47
},
"end": {
"line": 288,
"column": 68
},
"identifierName": "currentValueFormatted"
},
"name": "currentValueFormatted"
}
}
},
{
"type": "VariableDeclaration",
"start": 9787,
"end": 9839,
"loc": {
"start": {
"line": 289,
"column": 16
},
"end": {
"line": 289,
"column": 68
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9793,
"end": 9838,
"loc": {
"start": {
"line": 289,
"column": 22
},
"end": {
"line": 289,
"column": 67
}
},
"id": {
"type": "Identifier",
"start": 9793,
"end": 9797,
"loc": {
"start": {
"line": 289,
"column": 22
},
"end": {
"line": 289,
"column": 26
},
"identifierName": "goal"
},
"name": "goal"
},
"init": {
"type": "CallExpression",
"start": 9800,
"end": 9838,
"loc": {
"start": {
"line": 289,
"column": 29
},
"end": {
"line": 289,
"column": 67
}
},
"callee": {
"type": "MemberExpression",
"start": 9800,
"end": 9826,
"loc": {
"start": {
"line": 289,
"column": 29
},
"end": {
"line": 289,
"column": 55
}
},
"object": {
"type": "ThisExpression",
"start": 9800,
"end": 9804,
"loc": {
"start": {
"line": 289,
"column": 29
},
"end": {
"line": 289,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 9805,
"end": 9826,
"loc": {
"start": {
"line": 289,
"column": 34
},
"end": {
"line": 289,
"column": 55
},
"identifierName": "findGoalValueForShape"
},
"name": "findGoalValueForShape"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 9827,
"end": 9837,
"loc": {
"start": {
"line": 289,
"column": 56
},
"end": {
"line": 289,
"column": 66
}
},
"object": {
"type": "Identifier",
"start": 9827,
"end": 9833,
"loc": {
"start": {
"line": 289,
"column": 56
},
"end": {
"line": 289,
"column": 62
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 9834,
"end": 9837,
"loc": {
"start": {
"line": 289,
"column": 63
},
"end": {
"line": 289,
"column": 66
},
"identifierName": "key"
},
"name": "key"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 9857,
"end": 9931,
"loc": {
"start": {
"line": 290,
"column": 16
},
"end": {
"line": 290,
"column": 90
}
},
"expression": {
"type": "CallExpression",
"start": 9857,
"end": 9930,
"loc": {
"start": {
"line": 290,
"column": 16
},
"end": {
"line": 290,
"column": 89
}
},
"callee": {
"type": "MemberExpression",
"start": 9857,
"end": 9888,
"loc": {
"start": {
"line": 290,
"column": 16
},
"end": {
"line": 290,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 9857,
"end": 9881,
"loc": {
"start": {
"line": 290,
"column": 16
},
"end": {
"line": 290,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 9857,
"end": 9871,
"loc": {
"start": {
"line": 290,
"column": 16
},
"end": {
"line": 290,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 9857,
"end": 9863,
"loc": {
"start": {
"line": 290,
"column": 16
},
"end": {
"line": 290,
"column": 22
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 9864,
"end": 9871,
"loc": {
"start": {
"line": 290,
"column": 23
},
"end": {
"line": 290,
"column": 30
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9872,
"end": 9881,
"loc": {
"start": {
"line": 290,
"column": 31
},
"end": {
"line": 290,
"column": 40
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9882,
"end": 9888,
"loc": {
"start": {
"line": 290,
"column": 41
},
"end": {
"line": 290,
"column": 47
},
"identifierName": "toggle"
},
"name": "toggle"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 9889,
"end": 9900,
"loc": {
"start": {
"line": 290,
"column": 48
},
"end": {
"line": 290,
"column": 59
}
},
"extra": {
"rawValue": "completed",
"raw": "\"completed\""
},
"value": "completed"
},
{
"type": "LogicalExpression",
"start": 9902,
"end": 9929,
"loc": {
"start": {
"line": 290,
"column": 61
},
"end": {
"line": 290,
"column": 88
}
},
"left": {
"type": "Identifier",
"start": 9902,
"end": 9906,
"loc": {
"start": {
"line": 290,
"column": 61
},
"end": {
"line": 290,
"column": 65
},
"identifierName": "goal"
},
"name": "goal"
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 9910,
"end": 9929,
"loc": {
"start": {
"line": 290,
"column": 69
},
"end": {
"line": 290,
"column": 88
}
},
"left": {
"type": "Identifier",
"start": 9910,
"end": 9922,
"loc": {
"start": {
"line": 290,
"column": 69
},
"end": {
"line": 290,
"column": 81
},
"identifierName": "currentValue"
},
"name": "currentValue"
},
"operator": ">",
"right": {
"type": "Identifier",
"start": 9925,
"end": 9929,
"loc": {
"start": {
"line": 290,
"column": 84
},
"end": {
"line": 290,
"column": 88
},
"identifierName": "goal"
},
"name": "goal"
}
}
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Updates all amount labels\r\n ",
"start": 8709,
"end": 8755,
"loc": {
"start": {
"line": 264,
"column": 4
},
"end": {
"line": 266,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Unpins a shape\r\n * @param {string} key\r\n ",
"start": 9972,
"end": 10035,
"loc": {
"start": {
"line": 295,
"column": 4
},
"end": {
"line": 298,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 10041,
"end": 10182,
"loc": {
"start": {
"line": 299,
"column": 4
},
"end": {
"line": 303,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 10041,
"end": 10051,
"loc": {
"start": {
"line": 299,
"column": 4
},
"end": {
"line": 299,
"column": 14
},
"identifierName": "unpinShape"
},
"name": "unpinShape",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 10052,
"end": 10055,
"loc": {
"start": {
"line": 299,
"column": 15
},
"end": {
"line": 299,
"column": 18
},
"identifierName": "key"
},
"name": "key"
}
],
"body": {
"type": "BlockStatement",
"start": 10057,
"end": 10182,
"loc": {
"start": {
"line": 299,
"column": 20
},
"end": {
"line": 303,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 10068,
"end": 10094,
"loc": {
"start": {
"line": 300,
"column": 8
},
"end": {
"line": 300,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 10068,
"end": 10093,
"loc": {
"start": {
"line": 300,
"column": 8
},
"end": {
"line": 300,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 10068,
"end": 10079,
"loc": {
"start": {
"line": 300,
"column": 8
},
"end": {
"line": 300,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 10068,
"end": 10075,
"loc": {
"start": {
"line": 300,
"column": 8
},
"end": {
"line": 300,
"column": 15
},
"identifierName": "console"
},
"name": "console"
},
"property": {
"type": "Identifier",
"start": 10076,
"end": 10079,
"loc": {
"start": {
"line": 300,
"column": 16
},
"end": {
"line": 300,
"column": 19
},
"identifierName": "log"
},
"name": "log"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 10080,
"end": 10087,
"loc": {
"start": {
"line": 300,
"column": 20
},
"end": {
"line": 300,
"column": 27
}
},
"extra": {
"rawValue": "unpin",
"raw": "\"unpin\""
},
"value": "unpin"
},
{
"type": "Identifier",
"start": 10089,
"end": 10092,
"loc": {
"start": {
"line": 300,
"column": 29
},
"end": {
"line": 300,
"column": 32
},
"identifierName": "key"
},
"name": "key"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 10104,
"end": 10145,
"loc": {
"start": {
"line": 301,
"column": 8
},
"end": {
"line": 301,
"column": 49
}
},
"expression": {
"type": "CallExpression",
"start": 10104,
"end": 10144,
"loc": {
"start": {
"line": 301,
"column": 8
},
"end": {
"line": 301,
"column": 48
}
},
"callee": {
"type": "Identifier",
"start": 10104,
"end": 10120,
"loc": {
"start": {
"line": 301,
"column": 8
},
"end": {
"line": 301,
"column": 24
},
"identifierName": "arrayDeleteValue"
},
"name": "arrayDeleteValue"
},
"arguments": [
{
"type": "MemberExpression",
"start": 10121,
"end": 10138,
"loc": {
"start": {
"line": 301,
"column": 25
},
"end": {
"line": 301,
"column": 42
}
},
"object": {
"type": "ThisExpression",
"start": 10121,
"end": 10125,
"loc": {
"start": {
"line": 301,
"column": 25
},
"end": {
"line": 301,
"column": 29
}
}
},
"property": {
"type": "Identifier",
"start": 10126,
"end": 10138,
"loc": {
"start": {
"line": 301,
"column": 30
},
"end": {
"line": 301,
"column": 42
},
"identifierName": "pinnedShapes"
},
"name": "pinnedShapes"
},
"computed": false
},
{
"type": "Identifier",
"start": 10140,
"end": 10143,
"loc": {
"start": {
"line": 301,
"column": 44
},
"end": {
"line": 301,
"column": 47
},
"identifierName": "key"
},
"name": "key"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 10155,
"end": 10175,
"loc": {
"start": {
"line": 302,
"column": 8
},
"end": {
"line": 302,
"column": 28
}
},
"expression": {
"type": "CallExpression",
"start": 10155,
"end": 10174,
"loc": {
"start": {
"line": 302,
"column": 8
},
"end": {
"line": 302,
"column": 27
}
},
"callee": {
"type": "MemberExpression",
"start": 10155,
"end": 10172,
"loc": {
"start": {
"line": 302,
"column": 8
},
"end": {
"line": 302,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 10155,
"end": 10159,
"loc": {
"start": {
"line": 302,
"column": 8
},
"end": {
"line": 302,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 10160,
"end": 10172,
"loc": {
"start": {
"line": 302,
"column": 13
},
"end": {
"line": 302,
"column": 25
},
"identifierName": "rerenderFull"
},
"name": "rerenderFull"
},
"computed": false
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Unpins a shape\r\n * @param {string} key\r\n ",
"start": 9972,
"end": 10035,
"loc": {
"start": {
"line": 295,
"column": 4
},
"end": {
"line": 298,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Requests to pin a new shape\r\n * @param {ShapeDefinition} definition\r\n ",
"start": 10190,
"end": 10282,
"loc": {
"start": {
"line": 305,
"column": 4
},
"end": {
"line": 308,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 10288,
"end": 10856,
"loc": {
"start": {
"line": 309,
"column": 4
},
"end": {
"line": 328,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 10288,
"end": 10299,
"loc": {
"start": {
"line": 309,
"column": 4
},
"end": {
"line": 309,
"column": 15
},
"identifierName": "pinNewShape"
},
"name": "pinNewShape",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 10300,
"end": 10310,
"loc": {
"start": {
"line": 309,
"column": 16
},
"end": {
"line": 309,
"column": 26
},
"identifierName": "definition"
},
"name": "definition"
}
],
"body": {
"type": "BlockStatement",
"start": 10312,
"end": 10856,
"loc": {
"start": {
"line": 309,
"column": 28
},
"end": {
"line": 328,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 10323,
"end": 10356,
"loc": {
"start": {
"line": 310,
"column": 8
},
"end": {
"line": 310,
"column": 41
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 10329,
"end": 10355,
"loc": {
"start": {
"line": 310,
"column": 14
},
"end": {
"line": 310,
"column": 40
}
},
"id": {
"type": "Identifier",
"start": 10329,
"end": 10332,
"loc": {
"start": {
"line": 310,
"column": 14
},
"end": {
"line": 310,
"column": 17
},
"identifierName": "key"
},
"name": "key"
},
"init": {
"type": "CallExpression",
"start": 10335,
"end": 10355,
"loc": {
"start": {
"line": 310,
"column": 20
},
"end": {
"line": 310,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 10335,
"end": 10353,
"loc": {
"start": {
"line": 310,
"column": 20
},
"end": {
"line": 310,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 10335,
"end": 10345,
"loc": {
"start": {
"line": 310,
"column": 20
},
"end": {
"line": 310,
"column": 30
},
"identifierName": "definition"
},
"name": "definition"
},
"property": {
"type": "Identifier",
"start": 10346,
"end": 10353,
"loc": {
"start": {
"line": 310,
"column": 31
},
"end": {
"line": 310,
"column": 38
},
"identifierName": "getHash"
},
"name": "getHash"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 10366,
"end": 10505,
"loc": {
"start": {
"line": 311,
"column": 8
},
"end": {
"line": 314,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 10370,
"end": 10429,
"loc": {
"start": {
"line": 311,
"column": 12
},
"end": {
"line": 311,
"column": 71
}
},
"left": {
"type": "Identifier",
"start": 10370,
"end": 10373,
"loc": {
"start": {
"line": 311,
"column": 12
},
"end": {
"line": 311,
"column": 15
},
"identifierName": "key"
},
"name": "key"
},
"operator": "===",
"right": {
"type": "CallExpression",
"start": 10378,
"end": 10429,
"loc": {
"start": {
"line": 311,
"column": 20
},
"end": {
"line": 311,
"column": 71
}
},
"callee": {
"type": "MemberExpression",
"start": 10378,
"end": 10427,
"loc": {
"start": {
"line": 311,
"column": 20
},
"end": {
"line": 311,
"column": 69
}
},
"object": {
"type": "MemberExpression",
"start": 10378,
"end": 10419,
"loc": {
"start": {
"line": 311,
"column": 20
},
"end": {
"line": 311,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 10378,
"end": 10408,
"loc": {
"start": {
"line": 311,
"column": 20
},
"end": {
"line": 311,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 10378,
"end": 10396,
"loc": {
"start": {
"line": 311,
"column": 20
},
"end": {
"line": 311,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 10378,
"end": 10387,
"loc": {
"start": {
"line": 311,
"column": 20
},
"end": {
"line": 311,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 10378,
"end": 10382,
"loc": {
"start": {
"line": 311,
"column": 20
},
"end": {
"line": 311,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 10383,
"end": 10387,
"loc": {
"start": {
"line": 311,
"column": 25
},
"end": {
"line": 311,
"column": 29
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10388,
"end": 10396,
"loc": {
"start": {
"line": 311,
"column": 30
},
"end": {
"line": 311,
"column": 38
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10397,
"end": 10408,
"loc": {
"start": {
"line": 311,
"column": 39
},
"end": {
"line": 311,
"column": 50
},
"identifierName": "currentGoal"
},
"name": "currentGoal"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10409,
"end": 10419,
"loc": {
"start": {
"line": 311,
"column": 51
},
"end": {
"line": 311,
"column": 61
},
"identifierName": "definition"
},
"name": "definition"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10420,
"end": 10427,
"loc": {
"start": {
"line": 311,
"column": 62
},
"end": {
"line": 311,
"column": 69
},
"identifierName": "getHash"
},
"name": "getHash"
},
"computed": false
},
"arguments": []
}
},
"consequent": {
"type": "BlockStatement",
"start": 10431,
"end": 10505,
"loc": {
"start": {
"line": 311,
"column": 73
},
"end": {
"line": 314,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 10487,
"end": 10494,
"loc": {
"start": {
"line": 313,
"column": 12
},
"end": {
"line": 313,
"column": 19
}
},
"argument": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Can not pin current goal",
"start": 10446,
"end": 10473,
"loc": {
"start": {
"line": 312,
"column": 12
},
"end": {
"line": 312,
"column": 39
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 10517,
"end": 10653,
"loc": {
"start": {
"line": 316,
"column": 8
},
"end": {
"line": 319,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 10521,
"end": 10570,
"loc": {
"start": {
"line": 316,
"column": 12
},
"end": {
"line": 316,
"column": 61
}
},
"left": {
"type": "Identifier",
"start": 10521,
"end": 10524,
"loc": {
"start": {
"line": 316,
"column": 12
},
"end": {
"line": 316,
"column": 15
},
"identifierName": "key"
},
"name": "key"
},
"operator": "===",
"right": {
"type": "CallExpression",
"start": 10529,
"end": 10570,
"loc": {
"start": {
"line": 316,
"column": 20
},
"end": {
"line": 316,
"column": 61
}
},
"callee": {
"type": "MemberExpression",
"start": 10529,
"end": 10568,
"loc": {
"start": {
"line": 316,
"column": 20
},
"end": {
"line": 316,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 10529,
"end": 10547,
"loc": {
"start": {
"line": 316,
"column": 20
},
"end": {
"line": 316,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 10529,
"end": 10538,
"loc": {
"start": {
"line": 316,
"column": 20
},
"end": {
"line": 316,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 10529,
"end": 10533,
"loc": {
"start": {
"line": 316,
"column": 20
},
"end": {
"line": 316,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 10534,
"end": 10538,
"loc": {
"start": {
"line": 316,
"column": 25
},
"end": {
"line": 316,
"column": 29
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10539,
"end": 10547,
"loc": {
"start": {
"line": 316,
"column": 30
},
"end": {
"line": 316,
"column": 38
},
"identifierName": "gameMode"
},
"name": "gameMode"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10548,
"end": 10568,
"loc": {
"start": {
"line": 316,
"column": 39
},
"end": {
"line": 316,
"column": 59
},
"identifierName": "getBlueprintShapeKey"
},
"name": "getBlueprintShapeKey"
},
"computed": false
},
"arguments": []
}
},
"consequent": {
"type": "BlockStatement",
"start": 10572,
"end": 10653,
"loc": {
"start": {
"line": 316,
"column": 63
},
"end": {
"line": 319,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 10635,
"end": 10642,
"loc": {
"start": {
"line": 318,
"column": 12
},
"end": {
"line": 318,
"column": 19
}
},
"argument": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Can not pin the blueprint shape",
"start": 10587,
"end": 10621,
"loc": {
"start": {
"line": 317,
"column": 12
},
"end": {
"line": 317,
"column": 46
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Check if its already pinned",
"start": 10665,
"end": 10695,
"loc": {
"start": {
"line": 321,
"column": 8
},
"end": {
"line": 321,
"column": 38
}
}
}
]
},
{
"type": "IfStatement",
"start": 10705,
"end": 10779,
"loc": {
"start": {
"line": 322,
"column": 8
},
"end": {
"line": 324,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 10709,
"end": 10744,
"loc": {
"start": {
"line": 322,
"column": 12
},
"end": {
"line": 322,
"column": 47
}
},
"left": {
"type": "CallExpression",
"start": 10709,
"end": 10739,
"loc": {
"start": {
"line": 322,
"column": 12
},
"end": {
"line": 322,
"column": 42
}
},
"callee": {
"type": "MemberExpression",
"start": 10709,
"end": 10734,
"loc": {
"start": {
"line": 322,
"column": 12
},
"end": {
"line": 322,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 10709,
"end": 10726,
"loc": {
"start": {
"line": 322,
"column": 12
},
"end": {
"line": 322,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 10709,
"end": 10713,
"loc": {
"start": {
"line": 322,
"column": 12
},
"end": {
"line": 322,
"column": 16
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 10714,
"end": 10726,
"loc": {
"start": {
"line": 322,
"column": 17
},
"end": {
"line": 322,
"column": 29
},
"identifierName": "pinnedShapes"
},
"name": "pinnedShapes"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 10727,
"end": 10734,
"loc": {
"start": {
"line": 322,
"column": 30
},
"end": {
"line": 322,
"column": 37
},
"identifierName": "indexOf"
},
"name": "indexOf"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 10735,
"end": 10738,
"loc": {
"start": {
"line": 322,
"column": 38
},
"end": {
"line": 322,
"column": 41
},
"identifierName": "key"
},
"name": "key"
}
],
"leadingComments": null
},
"operator": ">=",
"right": {
"type": "NumericLiteral",
"start": 10743,
"end": 10744,
"loc": {
"start": {
"line": 322,
"column": 46
},
"end": {
"line": 322,
"column": 47
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 10746,
"end": 10779,
"loc": {
"start": {
"line": 322,
"column": 49
},
"end": {
"line": 324,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 10761,
"end": 10768,
"loc": {
"start": {
"line": 323,
"column": 12
},
"end": {
"line": 323,
"column": 19
}
},
"argument": null
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Check if its already pinned",
"start": 10665,
"end": 10695,
"loc": {
"start": {
"line": 321,
"column": 8
},
"end": {
"line": 321,
"column": 38
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 10791,
"end": 10819,
"loc": {
"start": {
"line": 326,
"column": 8
},
"end": {
"line": 326,
"column": 36
}
},
"expression": {
"type": "CallExpression",
"start": 10791,
"end": 10818,
"loc": {
"start": {
"line": 326,
"column": 8
},
"end": {
"line": 326,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 10791,
"end": 10813,
"loc": {
"start": {
"line": 326,
"column": 8
},
"end": {
"line": 326,
"column": 30
}
},
"object": {
"type": "MemberExpression",
"start": 10791,
"end": 10808,
"loc": {
"start": {
"line": 326,
"column": 8
},
"end": {
"line": 326,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 10791,
"end": 10795,
"loc": {
"start": {
"line": 326,
"column": 8
},
"end": {
"line": 326,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 10796,
"end": 10808,
"loc": {
"start": {
"line": 326,
"column": 13
},
"end": {
"line": 326,
"column": 25
},
"identifierName": "pinnedShapes"
},
"name": "pinnedShapes"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10809,
"end": 10813,
"loc": {
"start": {
"line": 326,
"column": 26
},
"end": {
"line": 326,
"column": 30
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 10814,
"end": 10817,
"loc": {
"start": {
"line": 326,
"column": 31
},
"end": {
"line": 326,
"column": 34
},
"identifierName": "key"
},
"name": "key"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 10829,
"end": 10849,
"loc": {
"start": {
"line": 327,
"column": 8
},
"end": {
"line": 327,
"column": 28
}
},
"expression": {
"type": "CallExpression",
"start": 10829,
"end": 10848,
"loc": {
"start": {
"line": 327,
"column": 8
},
"end": {
"line": 327,
"column": 27
}
},
"callee": {
"type": "MemberExpression",
"start": 10829,
"end": 10846,
"loc": {
"start": {
"line": 327,
"column": 8
},
"end": {
"line": 327,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 10829,
"end": 10833,
"loc": {
"start": {
"line": 327,
"column": 8
},
"end": {
"line": 327,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 10834,
"end": 10846,
"loc": {
"start": {
"line": 327,
"column": 13
},
"end": {
"line": 327,
"column": 25
},
"identifierName": "rerenderFull"
},
"name": "rerenderFull"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Requests to pin a new shape\r\n * @param {ShapeDefinition} definition\r\n ",
"start": 10190,
"end": 10282,
"loc": {
"start": {
"line": 305,
"column": 4
},
"end": {
"line": 308,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Manages the pinned shapes on the left side of the screen\r\n ",
"start": 485,
"end": 554,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 12,
"column": 3
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Manages the pinned shapes on the left side of the screen\r\n ",
"start": 485,
"end": 554,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 12,
"column": 3
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\r\n * Manages the pinned shapes on the left side of the screen\r\n ",
"start": 485,
"end": 554,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 12,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Store a list of pinned shapes\r\n * @type {Array<string>}\r\n ",
"start": 663,
"end": 755,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 19,
"column": 11
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Store handles to the currently rendered elements, so we can update them more\r\n * convenient. Also allows for cleaning up handles.\r\n * @type {Array<{\r\n * key: string,\r\n * definition: ShapeDefinition,\r\n * amountLabel: HTMLElement,\r\n * lastRenderedValue: string,\r\n * element: HTMLElement,\r\n * detector?: ClickDetector,\r\n * infoDetector?: ClickDetector,\r\n * throughputOnly?: boolean\r\n * }>}\r\n ",
"start": 800,
"end": 1311,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 35,
"column": 11
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Serializes the pinned shapes\r\n ",
"start": 1465,
"end": 1514,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 45,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Deserializes the pinned shapes\r\n * @param {{ shapes: Array<string>}} data\r\n ",
"start": 1618,
"end": 1716,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 55,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Initializes the hud component\r\n ",
"start": 1928,
"end": 1978,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 65,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Connect to any relevant signals",
"start": 2008,
"end": 2042,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " Perform initial render",
"start": 2443,
"end": 2468,
"loc": {
"start": {
"line": 74,
"column": 8
},
"end": {
"line": 74,
"column": 33
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Updates all shapes after an upgrade has been purchased and removes the unused ones\r\n ",
"start": 2525,
"end": 2628,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 80,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Ignore blueprint shapes",
"start": 2859,
"end": 2885,
"loc": {
"start": {
"line": 85,
"column": 16
},
"end": {
"line": 85,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " Seems no longer relevant",
"start": 3028,
"end": 3055,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 43
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Finds the current goal for the given key. If the key is the story goal, returns\r\n * the story goal. If its the blueprint shape, no goal is returned. Otherwise\r\n * it's searched for upgrades.\r\n * @param {string} key\r\n ",
"start": 3202,
"end": 3449,
"loc": {
"start": {
"line": 99,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Check if this shape is required for any upgrade",
"start": 3746,
"end": 3796,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 58
}
}
},
{
"type": "CommentLine",
"value": " Max level",
"start": 4147,
"end": 4159,
"loc": {
"start": {
"line": 121,
"column": 16
},
"end": {
"line": 121,
"column": 28
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns whether a given shape is currently pinned\r\n * @param {string} key\r\n ",
"start": 4496,
"end": 4594,
"loc": {
"start": {
"line": 136,
"column": 4
},
"end": {
"line": 139,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " This is a \"special\" shape which is always pinned",
"start": 4800,
"end": 4851,
"loc": {
"start": {
"line": 145,
"column": 12
},
"end": {
"line": 145,
"column": 63
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Rerenders the whole component\r\n ",
"start": 4958,
"end": 5008,
"loc": {
"start": {
"line": 152,
"column": 4
},
"end": {
"line": 154,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " First, remove all old shapes",
"start": 5165,
"end": 5196,
"loc": {
"start": {
"line": 159,
"column": 8
},
"end": {
"line": 159,
"column": 39
}
}
},
{
"type": "CommentLine",
"value": " Pin story goal",
"start": 5641,
"end": 5658,
"loc": {
"start": {
"line": 173,
"column": 8
},
"end": {
"line": 173,
"column": 25
}
}
},
{
"type": "CommentLine",
"value": " Pin blueprint shape as well",
"start": 5865,
"end": 5895,
"loc": {
"start": {
"line": 181,
"column": 8
},
"end": {
"line": 181,
"column": 38
}
}
},
{
"type": "CommentLine",
"value": " Pin manually pinned shapes",
"start": 6202,
"end": 6231,
"loc": {
"start": {
"line": 190,
"column": 8
},
"end": {
"line": 190,
"column": 37
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Pins a new shape\r\n * @param {object} param0\r\n * @param {string} param0.key\r\n * @param {boolean=} param0.canUnpin\r\n * @param {string=} param0.className\r\n * @param {boolean=} param0.throughputOnly\r\n ",
"start": 6469,
"end": 6704,
"loc": {
"start": {
"line": 199,
"column": 4
},
"end": {
"line": 206,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Show small info icon",
"start": 7738,
"end": 7761,
"loc": {
"start": {
"line": 234,
"column": 8
},
"end": {
"line": 234,
"column": 31
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Updates all amount labels\r\n ",
"start": 8709,
"end": 8755,
"loc": {
"start": {
"line": 264,
"column": 4
},
"end": {
"line": 266,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Unpins a shape\r\n * @param {string} key\r\n ",
"start": 9972,
"end": 10035,
"loc": {
"start": {
"line": 295,
"column": 4
},
"end": {
"line": 298,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Requests to pin a new shape\r\n * @param {ShapeDefinition} definition\r\n ",
"start": 10190,
"end": 10282,
"loc": {
"start": {
"line": 305,
"column": 4
},
"end": {
"line": 308,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Can not pin current goal",
"start": 10446,
"end": 10473,
"loc": {
"start": {
"line": 312,
"column": 12
},
"end": {
"line": 312,
"column": 39
}
}
},
{
"type": "CommentLine",
"value": " Can not pin the blueprint shape",
"start": 10587,
"end": 10621,
"loc": {
"start": {
"line": 317,
"column": 12
},
"end": {
"line": 317,
"column": 46
}
}
},
{
"type": "CommentLine",
"value": " Check if its already pinned",
"start": 10665,
"end": 10695,
"loc": {
"start": {
"line": 321,
"column": 8
},
"end": {
"line": 321,
"column": 38
}
}
}
],
"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": "ClickDetector",
"start": 9,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 23,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 23
},
"end": {
"line": 1,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 25,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 29
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../../core/click_detector",
"start": 30,
"end": 60,
"loc": {
"start": {
"line": 1,
"column": 30
},
"end": {
"line": 1,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 60,
"end": 61,
"loc": {
"start": {
"line": 1,
"column": 60
},
"end": {
"line": 1,
"column": 61
}
}
},
{
"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": 63,
"end": 69,
"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": 70,
"end": 71,
"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": "globalConfig",
"start": 72,
"end": 84,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 85,
"end": 86,
"loc": {
"start": {
"line": 2,
"column": 22
},
"end": {
"line": 2,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 87,
"end": 91,
"loc": {
"start": {
"line": 2,
"column": 24
},
"end": {
"line": 2,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../../core/config",
"start": 92,
"end": 114,
"loc": {
"start": {
"line": 2,
"column": 29
},
"end": {
"line": 2,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 114,
"end": 115,
"loc": {
"start": {
"line": 2,
"column": 51
},
"end": {
"line": 2,
"column": 52
}
}
},
{
"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": 117,
"end": 123,
"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": 124,
"end": 125,
"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": "arrayDeleteValue",
"start": 126,
"end": 142,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 142,
"end": 143,
"loc": {
"start": {
"line": 3,
"column": 25
},
"end": {
"line": 3,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "formatBigNumber",
"start": 144,
"end": 159,
"loc": {
"start": {
"line": 3,
"column": 27
},
"end": {
"line": 3,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 159,
"end": 160,
"loc": {
"start": {
"line": 3,
"column": 42
},
"end": {
"line": 3,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeDiv",
"start": 161,
"end": 168,
"loc": {
"start": {
"line": 3,
"column": 44
},
"end": {
"line": 3,
"column": 51
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 169,
"end": 170,
"loc": {
"start": {
"line": 3,
"column": 52
},
"end": {
"line": 3,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 171,
"end": 175,
"loc": {
"start": {
"line": 3,
"column": 54
},
"end": {
"line": 3,
"column": 58
}
}
},
{
"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": 176,
"end": 197,
"loc": {
"start": {
"line": 3,
"column": 59
},
"end": {
"line": 3,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 197,
"end": 198,
"loc": {
"start": {
"line": 3,
"column": 80
},
"end": {
"line": 3,
"column": 81
}
}
},
{
"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": 200,
"end": 206,
"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": 207,
"end": 208,
"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": "T",
"start": 209,
"end": 210,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 211,
"end": 212,
"loc": {
"start": {
"line": 4,
"column": 11
},
"end": {
"line": 4,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 213,
"end": 217,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 17
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../../translations",
"start": 218,
"end": 241,
"loc": {
"start": {
"line": 4,
"column": 18
},
"end": {
"line": 4,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 241,
"end": 242,
"loc": {
"start": {
"line": 4,
"column": 41
},
"end": {
"line": 4,
"column": 42
}
}
},
{
"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": 244,
"end": 250,
"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": 251,
"end": 252,
"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": "enumAnalyticsDataSource",
"start": 253,
"end": 276,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 277,
"end": 278,
"loc": {
"start": {
"line": 5,
"column": 33
},
"end": {
"line": 5,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 279,
"end": 283,
"loc": {
"start": {
"line": 5,
"column": 35
},
"end": {
"line": 5,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../production_analytics",
"start": 284,
"end": 312,
"loc": {
"start": {
"line": 5,
"column": 40
},
"end": {
"line": 5,
"column": 68
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 312,
"end": 313,
"loc": {
"start": {
"line": 5,
"column": 68
},
"end": {
"line": 5,
"column": 69
}
}
},
{
"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": 315,
"end": 321,
"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": 322,
"end": 323,
"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": "ShapeDefinition",
"start": 324,
"end": 339,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 340,
"end": 341,
"loc": {
"start": {
"line": 6,
"column": 25
},
"end": {
"line": 6,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 342,
"end": 346,
"loc": {
"start": {
"line": 6,
"column": 27
},
"end": {
"line": 6,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../shape_definition",
"start": 347,
"end": 371,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 371,
"end": 372,
"loc": {
"start": {
"line": 6,
"column": 56
},
"end": {
"line": 6,
"column": 57
}
}
},
{
"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": 374,
"end": 380,
"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": 381,
"end": 382,
"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": "enumHubGoalRewards",
"start": 383,
"end": 401,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 402,
"end": 403,
"loc": {
"start": {
"line": 7,
"column": 28
},
"end": {
"line": 7,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 404,
"end": 408,
"loc": {
"start": {
"line": 7,
"column": 30
},
"end": {
"line": 7,
"column": 34
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../tutorial_goals",
"start": 409,
"end": 431,
"loc": {
"start": {
"line": 7,
"column": 35
},
"end": {
"line": 7,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 431,
"end": 432,
"loc": {
"start": {
"line": 7,
"column": 57
},
"end": {
"line": 7,
"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": 434,
"end": 440,
"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": 441,
"end": 442,
"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": "BaseHUDPart",
"start": 443,
"end": 454,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 455,
"end": 456,
"loc": {
"start": {
"line": 8,
"column": 21
},
"end": {
"line": 8,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 457,
"end": 461,
"loc": {
"start": {
"line": 8,
"column": 23
},
"end": {
"line": 8,
"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": 462,
"end": 480,
"loc": {
"start": {
"line": 8,
"column": 28
},
"end": {
"line": 8,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 480,
"end": 481,
"loc": {
"start": {
"line": 8,
"column": 46
},
"end": {
"line": 8,
"column": 47
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Manages the pinned shapes on the left side of the screen\r\n ",
"start": 485,
"end": 554,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 12,
"column": 3
}
}
},
{
"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": 556,
"end": 562,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"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": 563,
"end": 568,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 13,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HUDPinnedShapes",
"start": 569,
"end": 584,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 28
}
}
},
{
"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": 585,
"end": 592,
"loc": {
"start": {
"line": 13,
"column": 29
},
"end": {
"line": 13,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BaseHUDPart",
"start": 593,
"end": 604,
"loc": {
"start": {
"line": 13,
"column": 37
},
"end": {
"line": 13,
"column": 48
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 605,
"end": 606,
"loc": {
"start": {
"line": 13,
"column": 49
},
"end": {
"line": 13,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 612,
"end": 623,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 623,
"end": 624,
"loc": {
"start": {
"line": 14,
"column": 15
},
"end": {
"line": 14,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 624,
"end": 628,
"loc": {
"start": {
"line": 14,
"column": 16
},
"end": {
"line": 14,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 628,
"end": 629,
"loc": {
"start": {
"line": 14,
"column": 20
},
"end": {
"line": 14,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 630,
"end": 631,
"loc": {
"start": {
"line": 14,
"column": 22
},
"end": {
"line": 14,
"column": 23
}
}
},
{
"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": 641,
"end": 646,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 646,
"end": 647,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 647,
"end": 651,
"loc": {
"start": {
"line": 15,
"column": 14
},
"end": {
"line": 15,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 651,
"end": 652,
"loc": {
"start": {
"line": 15,
"column": 18
},
"end": {
"line": 15,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 652,
"end": 653,
"loc": {
"start": {
"line": 15,
"column": 19
},
"end": {
"line": 15,
"column": 20
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Store a list of pinned shapes\r\n * @type {Array<string>}\r\n ",
"start": 663,
"end": 755,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 19,
"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": 765,
"end": 769,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 769,
"end": 770,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 20,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinnedShapes",
"start": 770,
"end": 782,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 783,
"end": 784,
"loc": {
"start": {
"line": 20,
"column": 26
},
"end": {
"line": 20,
"column": 27
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 785,
"end": 786,
"loc": {
"start": {
"line": 20,
"column": 28
},
"end": {
"line": 20,
"column": 29
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 786,
"end": 787,
"loc": {
"start": {
"line": 20,
"column": 29
},
"end": {
"line": 20,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 787,
"end": 788,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 31
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Store handles to the currently rendered elements, so we can update them more\r\n * convenient. Also allows for cleaning up handles.\r\n * @type {Array<{\r\n * key: string,\r\n * definition: ShapeDefinition,\r\n * amountLabel: HTMLElement,\r\n * lastRenderedValue: string,\r\n * element: HTMLElement,\r\n * detector?: ClickDetector,\r\n * infoDetector?: ClickDetector,\r\n * throughputOnly?: boolean\r\n * }>}\r\n ",
"start": 800,
"end": 1311,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 35,
"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": 1321,
"end": 1325,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1325,
"end": 1326,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 36,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handles",
"start": 1326,
"end": 1333,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 36,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1334,
"end": 1335,
"loc": {
"start": {
"line": 36,
"column": 21
},
"end": {
"line": 36,
"column": 22
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1336,
"end": 1337,
"loc": {
"start": {
"line": 36,
"column": 23
},
"end": {
"line": 36,
"column": 24
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1337,
"end": 1338,
"loc": {
"start": {
"line": 36,
"column": 24
},
"end": {
"line": 36,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1338,
"end": 1339,
"loc": {
"start": {
"line": 36,
"column": 25
},
"end": {
"line": 36,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1345,
"end": 1346,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createElements",
"start": 1354,
"end": 1368,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1368,
"end": 1369,
"loc": {
"start": {
"line": 39,
"column": 18
},
"end": {
"line": 39,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 1369,
"end": 1375,
"loc": {
"start": {
"line": 39,
"column": 19
},
"end": {
"line": 39,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1375,
"end": 1376,
"loc": {
"start": {
"line": 39,
"column": 25
},
"end": {
"line": 39,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1377,
"end": 1378,
"loc": {
"start": {
"line": 39,
"column": 27
},
"end": {
"line": 39,
"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": 1388,
"end": 1392,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1392,
"end": 1393,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 1393,
"end": 1400,
"loc": {
"start": {
"line": 40,
"column": 13
},
"end": {
"line": 40,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1401,
"end": 1402,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 40,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeDiv",
"start": 1403,
"end": 1410,
"loc": {
"start": {
"line": 40,
"column": 23
},
"end": {
"line": 40,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1410,
"end": 1411,
"loc": {
"start": {
"line": 40,
"column": 30
},
"end": {
"line": 40,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 1411,
"end": 1417,
"loc": {
"start": {
"line": 40,
"column": 31
},
"end": {
"line": 40,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1417,
"end": 1418,
"loc": {
"start": {
"line": 40,
"column": 37
},
"end": {
"line": 40,
"column": 38
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "ingame_HUD_PinnedShapes",
"start": 1419,
"end": 1444,
"loc": {
"start": {
"line": 40,
"column": 39
},
"end": {
"line": 40,
"column": 64
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1444,
"end": 1445,
"loc": {
"start": {
"line": 40,
"column": 64
},
"end": {
"line": 40,
"column": 65
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1446,
"end": 1447,
"loc": {
"start": {
"line": 40,
"column": 66
},
"end": {
"line": 40,
"column": 67
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1447,
"end": 1448,
"loc": {
"start": {
"line": 40,
"column": 67
},
"end": {
"line": 40,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1448,
"end": 1449,
"loc": {
"start": {
"line": 40,
"column": 68
},
"end": {
"line": 40,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1449,
"end": 1450,
"loc": {
"start": {
"line": 40,
"column": 69
},
"end": {
"line": 40,
"column": 70
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1456,
"end": 1457,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Serializes the pinned shapes\r\n ",
"start": 1465,
"end": 1514,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 45,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serialize",
"start": 1520,
"end": 1529,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1529,
"end": 1530,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1530,
"end": 1531,
"loc": {
"start": {
"line": 46,
"column": 14
},
"end": {
"line": 46,
"column": 15
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1532,
"end": 1533,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 17
}
}
},
{
"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": 1543,
"end": 1549,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1550,
"end": 1551,
"loc": {
"start": {
"line": 47,
"column": 15
},
"end": {
"line": 47,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapes",
"start": 1565,
"end": 1571,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 18
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1571,
"end": 1572,
"loc": {
"start": {
"line": 48,
"column": 18
},
"end": {
"line": 48,
"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": 1573,
"end": 1577,
"loc": {
"start": {
"line": 48,
"column": 20
},
"end": {
"line": 48,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1577,
"end": 1578,
"loc": {
"start": {
"line": 48,
"column": 24
},
"end": {
"line": 48,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinnedShapes",
"start": 1578,
"end": 1590,
"loc": {
"start": {
"line": 48,
"column": 25
},
"end": {
"line": 48,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1590,
"end": 1591,
"loc": {
"start": {
"line": 48,
"column": 37
},
"end": {
"line": 48,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1601,
"end": 1602,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1602,
"end": 1603,
"loc": {
"start": {
"line": 49,
"column": 9
},
"end": {
"line": 49,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1609,
"end": 1610,
"loc": {
"start": {
"line": 50,
"column": 4
},
"end": {
"line": 50,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Deserializes the pinned shapes\r\n * @param {{ shapes: Array<string>}} data\r\n ",
"start": 1618,
"end": 1716,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 55,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserialize",
"start": 1722,
"end": 1733,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 56,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1733,
"end": 1734,
"loc": {
"start": {
"line": 56,
"column": 15
},
"end": {
"line": 56,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 1734,
"end": 1738,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1738,
"end": 1739,
"loc": {
"start": {
"line": 56,
"column": 20
},
"end": {
"line": 56,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1740,
"end": 1741,
"loc": {
"start": {
"line": 56,
"column": 22
},
"end": {
"line": 56,
"column": 23
}
}
},
{
"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": 1751,
"end": 1753,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1754,
"end": 1755,
"loc": {
"start": {
"line": 57,
"column": 11
},
"end": {
"line": 57,
"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": 1755,
"end": 1756,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 1756,
"end": 1760,
"loc": {
"start": {
"line": 57,
"column": 13
},
"end": {
"line": 57,
"column": 17
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1761,
"end": 1763,
"loc": {
"start": {
"line": 57,
"column": 18
},
"end": {
"line": 57,
"column": 20
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 1764,
"end": 1765,
"loc": {
"start": {
"line": 57,
"column": 21
},
"end": {
"line": 57,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 1765,
"end": 1769,
"loc": {
"start": {
"line": 57,
"column": 22
},
"end": {
"line": 57,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1769,
"end": 1770,
"loc": {
"start": {
"line": 57,
"column": 26
},
"end": {
"line": 57,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapes",
"start": 1770,
"end": 1776,
"loc": {
"start": {
"line": 57,
"column": 27
},
"end": {
"line": 57,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1777,
"end": 1779,
"loc": {
"start": {
"line": 57,
"column": 34
},
"end": {
"line": 57,
"column": 36
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 1780,
"end": 1781,
"loc": {
"start": {
"line": 57,
"column": 37
},
"end": {
"line": 57,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Array",
"start": 1781,
"end": 1786,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1786,
"end": 1787,
"loc": {
"start": {
"line": 57,
"column": 43
},
"end": {
"line": 57,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isArray",
"start": 1787,
"end": 1794,
"loc": {
"start": {
"line": 57,
"column": 44
},
"end": {
"line": 57,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1794,
"end": 1795,
"loc": {
"start": {
"line": 57,
"column": 51
},
"end": {
"line": 57,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 1795,
"end": 1799,
"loc": {
"start": {
"line": 57,
"column": 52
},
"end": {
"line": 57,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1799,
"end": 1800,
"loc": {
"start": {
"line": 57,
"column": 56
},
"end": {
"line": 57,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapes",
"start": 1800,
"end": 1806,
"loc": {
"start": {
"line": 57,
"column": 57
},
"end": {
"line": 57,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1806,
"end": 1807,
"loc": {
"start": {
"line": 57,
"column": 63
},
"end": {
"line": 57,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1807,
"end": 1808,
"loc": {
"start": {
"line": 57,
"column": 64
},
"end": {
"line": 57,
"column": 65
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1809,
"end": 1810,
"loc": {
"start": {
"line": 57,
"column": 66
},
"end": {
"line": 57,
"column": 67
}
}
},
{
"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": 1824,
"end": 1830,
"loc": {
"start": {
"line": 58,
"column": 12
},
"end": {
"line": 58,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Invalid pinned shapes data",
"start": 1831,
"end": 1859,
"loc": {
"start": {
"line": 58,
"column": 19
},
"end": {
"line": 58,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1859,
"end": 1860,
"loc": {
"start": {
"line": 58,
"column": 47
},
"end": {
"line": 58,
"column": 48
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1870,
"end": 1871,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"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": 1881,
"end": 1885,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1885,
"end": 1886,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 60,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinnedShapes",
"start": 1886,
"end": 1898,
"loc": {
"start": {
"line": 60,
"column": 13
},
"end": {
"line": 60,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1899,
"end": 1900,
"loc": {
"start": {
"line": 60,
"column": 26
},
"end": {
"line": 60,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 1901,
"end": 1905,
"loc": {
"start": {
"line": 60,
"column": 28
},
"end": {
"line": 60,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1905,
"end": 1906,
"loc": {
"start": {
"line": 60,
"column": 32
},
"end": {
"line": 60,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapes",
"start": 1906,
"end": 1912,
"loc": {
"start": {
"line": 60,
"column": 33
},
"end": {
"line": 60,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1912,
"end": 1913,
"loc": {
"start": {
"line": 60,
"column": 39
},
"end": {
"line": 60,
"column": 40
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1919,
"end": 1920,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Initializes the hud component\r\n ",
"start": 1928,
"end": 1978,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 65,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "initialize",
"start": 1984,
"end": 1994,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 66,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1994,
"end": 1995,
"loc": {
"start": {
"line": 66,
"column": 14
},
"end": {
"line": 66,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1995,
"end": 1996,
"loc": {
"start": {
"line": 66,
"column": 15
},
"end": {
"line": 66,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1997,
"end": 1998,
"loc": {
"start": {
"line": 66,
"column": 17
},
"end": {
"line": 66,
"column": 18
}
}
},
{
"type": "CommentLine",
"value": " Connect to any relevant signals",
"start": 2008,
"end": 2042,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"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": 2052,
"end": 2056,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2056,
"end": 2057,
"loc": {
"start": {
"line": 68,
"column": 12
},
"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": "root",
"start": 2057,
"end": 2061,
"loc": {
"start": {
"line": 68,
"column": 13
},
"end": {
"line": 68,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2061,
"end": 2062,
"loc": {
"start": {
"line": 68,
"column": 17
},
"end": {
"line": 68,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 2062,
"end": 2069,
"loc": {
"start": {
"line": 68,
"column": 18
},
"end": {
"line": 68,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2069,
"end": 2070,
"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": "storyGoalCompleted",
"start": 2070,
"end": 2088,
"loc": {
"start": {
"line": 68,
"column": 26
},
"end": {
"line": 68,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2088,
"end": 2089,
"loc": {
"start": {
"line": 68,
"column": 44
},
"end": {
"line": 68,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 2089,
"end": 2092,
"loc": {
"start": {
"line": 68,
"column": 45
},
"end": {
"line": 68,
"column": 48
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2092,
"end": 2093,
"loc": {
"start": {
"line": 68,
"column": 48
},
"end": {
"line": 68,
"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": 2093,
"end": 2097,
"loc": {
"start": {
"line": 68,
"column": 49
},
"end": {
"line": 68,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2097,
"end": 2098,
"loc": {
"start": {
"line": 68,
"column": 53
},
"end": {
"line": 68,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rerenderFull",
"start": 2098,
"end": 2110,
"loc": {
"start": {
"line": 68,
"column": 54
},
"end": {
"line": 68,
"column": 66
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2110,
"end": 2111,
"loc": {
"start": {
"line": 68,
"column": 66
},
"end": {
"line": 68,
"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": 2112,
"end": 2116,
"loc": {
"start": {
"line": 68,
"column": 68
},
"end": {
"line": 68,
"column": 72
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2116,
"end": 2117,
"loc": {
"start": {
"line": 68,
"column": 72
},
"end": {
"line": 68,
"column": 73
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2117,
"end": 2118,
"loc": {
"start": {
"line": 68,
"column": 73
},
"end": {
"line": 68,
"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": 2128,
"end": 2132,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2132,
"end": 2133,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2133,
"end": 2137,
"loc": {
"start": {
"line": 69,
"column": 13
},
"end": {
"line": 69,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2137,
"end": 2138,
"loc": {
"start": {
"line": 69,
"column": 17
},
"end": {
"line": 69,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 2138,
"end": 2145,
"loc": {
"start": {
"line": 69,
"column": 18
},
"end": {
"line": 69,
"column": 25
}
}
},
{
"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": 69,
"column": 25
},
"end": {
"line": 69,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "upgradePurchased",
"start": 2146,
"end": 2162,
"loc": {
"start": {
"line": 69,
"column": 26
},
"end": {
"line": 69,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2162,
"end": 2163,
"loc": {
"start": {
"line": 69,
"column": 42
},
"end": {
"line": 69,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 2163,
"end": 2166,
"loc": {
"start": {
"line": 69,
"column": 43
},
"end": {
"line": 69,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2166,
"end": 2167,
"loc": {
"start": {
"line": 69,
"column": 46
},
"end": {
"line": 69,
"column": 47
}
}
},
{
"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": 2167,
"end": 2171,
"loc": {
"start": {
"line": 69,
"column": 47
},
"end": {
"line": 69,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2171,
"end": 2172,
"loc": {
"start": {
"line": 69,
"column": 51
},
"end": {
"line": 69,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updateShapesAfterUpgrade",
"start": 2172,
"end": 2196,
"loc": {
"start": {
"line": 69,
"column": 52
},
"end": {
"line": 69,
"column": 76
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2196,
"end": 2197,
"loc": {
"start": {
"line": 69,
"column": 76
},
"end": {
"line": 69,
"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": 2198,
"end": 2202,
"loc": {
"start": {
"line": 69,
"column": 78
},
"end": {
"line": 69,
"column": 82
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2202,
"end": 2203,
"loc": {
"start": {
"line": 69,
"column": 82
},
"end": {
"line": 69,
"column": 83
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2203,
"end": 2204,
"loc": {
"start": {
"line": 69,
"column": 83
},
"end": {
"line": 69,
"column": 84
}
}
},
{
"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": 2214,
"end": 2218,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2218,
"end": 2219,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2219,
"end": 2223,
"loc": {
"start": {
"line": 70,
"column": 13
},
"end": {
"line": 70,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2223,
"end": 2224,
"loc": {
"start": {
"line": 70,
"column": 17
},
"end": {
"line": 70,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 2224,
"end": 2231,
"loc": {
"start": {
"line": 70,
"column": 18
},
"end": {
"line": 70,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2231,
"end": 2232,
"loc": {
"start": {
"line": 70,
"column": 25
},
"end": {
"line": 70,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "postLoadHook",
"start": 2232,
"end": 2244,
"loc": {
"start": {
"line": 70,
"column": 26
},
"end": {
"line": 70,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2244,
"end": 2245,
"loc": {
"start": {
"line": 70,
"column": 38
},
"end": {
"line": 70,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 2245,
"end": 2248,
"loc": {
"start": {
"line": 70,
"column": 39
},
"end": {
"line": 70,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2248,
"end": 2249,
"loc": {
"start": {
"line": 70,
"column": 42
},
"end": {
"line": 70,
"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": 2249,
"end": 2253,
"loc": {
"start": {
"line": 70,
"column": 43
},
"end": {
"line": 70,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2253,
"end": 2254,
"loc": {
"start": {
"line": 70,
"column": 47
},
"end": {
"line": 70,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rerenderFull",
"start": 2254,
"end": 2266,
"loc": {
"start": {
"line": 70,
"column": 48
},
"end": {
"line": 70,
"column": 60
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2266,
"end": 2267,
"loc": {
"start": {
"line": 70,
"column": 60
},
"end": {
"line": 70,
"column": 61
}
}
},
{
"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": 2268,
"end": 2272,
"loc": {
"start": {
"line": 70,
"column": 62
},
"end": {
"line": 70,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2272,
"end": 2273,
"loc": {
"start": {
"line": 70,
"column": 66
},
"end": {
"line": 70,
"column": 67
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2273,
"end": 2274,
"loc": {
"start": {
"line": 70,
"column": 67
},
"end": {
"line": 70,
"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": 2284,
"end": 2288,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 71,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2288,
"end": 2289,
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 71,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2289,
"end": 2293,
"loc": {
"start": {
"line": 71,
"column": 13
},
"end": {
"line": 71,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2293,
"end": 2294,
"loc": {
"start": {
"line": 71,
"column": 17
},
"end": {
"line": 71,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hud",
"start": 2294,
"end": 2297,
"loc": {
"start": {
"line": 71,
"column": 18
},
"end": {
"line": 71,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2297,
"end": 2298,
"loc": {
"start": {
"line": 71,
"column": 21
},
"end": {
"line": 71,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 2298,
"end": 2305,
"loc": {
"start": {
"line": 71,
"column": 22
},
"end": {
"line": 71,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2305,
"end": 2306,
"loc": {
"start": {
"line": 71,
"column": 29
},
"end": {
"line": 71,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapePinRequested",
"start": 2306,
"end": 2323,
"loc": {
"start": {
"line": 71,
"column": 30
},
"end": {
"line": 71,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2323,
"end": 2324,
"loc": {
"start": {
"line": 71,
"column": 47
},
"end": {
"line": 71,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 2324,
"end": 2327,
"loc": {
"start": {
"line": 71,
"column": 48
},
"end": {
"line": 71,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2327,
"end": 2328,
"loc": {
"start": {
"line": 71,
"column": 51
},
"end": {
"line": 71,
"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": 2328,
"end": 2332,
"loc": {
"start": {
"line": 71,
"column": 52
},
"end": {
"line": 71,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2332,
"end": 2333,
"loc": {
"start": {
"line": 71,
"column": 56
},
"end": {
"line": 71,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinNewShape",
"start": 2333,
"end": 2344,
"loc": {
"start": {
"line": 71,
"column": 57
},
"end": {
"line": 71,
"column": 68
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2344,
"end": 2345,
"loc": {
"start": {
"line": 71,
"column": 68
},
"end": {
"line": 71,
"column": 69
}
}
},
{
"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": 2346,
"end": 2350,
"loc": {
"start": {
"line": 71,
"column": 70
},
"end": {
"line": 71,
"column": 74
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2350,
"end": 2351,
"loc": {
"start": {
"line": 71,
"column": 74
},
"end": {
"line": 71,
"column": 75
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2351,
"end": 2352,
"loc": {
"start": {
"line": 71,
"column": 75
},
"end": {
"line": 71,
"column": 76
}
}
},
{
"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": 2362,
"end": 2366,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2366,
"end": 2367,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2367,
"end": 2371,
"loc": {
"start": {
"line": 72,
"column": 13
},
"end": {
"line": 72,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2371,
"end": 2372,
"loc": {
"start": {
"line": 72,
"column": 17
},
"end": {
"line": 72,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hud",
"start": 2372,
"end": 2375,
"loc": {
"start": {
"line": 72,
"column": 18
},
"end": {
"line": 72,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2375,
"end": 2376,
"loc": {
"start": {
"line": 72,
"column": 21
},
"end": {
"line": 72,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 2376,
"end": 2383,
"loc": {
"start": {
"line": 72,
"column": 22
},
"end": {
"line": 72,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2383,
"end": 2384,
"loc": {
"start": {
"line": 72,
"column": 29
},
"end": {
"line": 72,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeUnpinRequested",
"start": 2384,
"end": 2403,
"loc": {
"start": {
"line": 72,
"column": 30
},
"end": {
"line": 72,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2403,
"end": 2404,
"loc": {
"start": {
"line": 72,
"column": 49
},
"end": {
"line": 72,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 2404,
"end": 2407,
"loc": {
"start": {
"line": 72,
"column": 50
},
"end": {
"line": 72,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2407,
"end": 2408,
"loc": {
"start": {
"line": 72,
"column": 53
},
"end": {
"line": 72,
"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": 2408,
"end": 2412,
"loc": {
"start": {
"line": 72,
"column": 54
},
"end": {
"line": 72,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2412,
"end": 2413,
"loc": {
"start": {
"line": 72,
"column": 58
},
"end": {
"line": 72,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unpinShape",
"start": 2413,
"end": 2423,
"loc": {
"start": {
"line": 72,
"column": 59
},
"end": {
"line": 72,
"column": 69
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2423,
"end": 2424,
"loc": {
"start": {
"line": 72,
"column": 69
},
"end": {
"line": 72,
"column": 70
}
}
},
{
"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": 2425,
"end": 2429,
"loc": {
"start": {
"line": 72,
"column": 71
},
"end": {
"line": 72,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2429,
"end": 2430,
"loc": {
"start": {
"line": 72,
"column": 75
},
"end": {
"line": 72,
"column": 76
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2430,
"end": 2431,
"loc": {
"start": {
"line": 72,
"column": 76
},
"end": {
"line": 72,
"column": 77
}
}
},
{
"type": "CommentLine",
"value": " Perform initial render",
"start": 2443,
"end": 2468,
"loc": {
"start": {
"line": 74,
"column": 8
},
"end": {
"line": 74,
"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": 2478,
"end": 2482,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2482,
"end": 2483,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updateShapesAfterUpgrade",
"start": 2483,
"end": 2507,
"loc": {
"start": {
"line": 75,
"column": 13
},
"end": {
"line": 75,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2507,
"end": 2508,
"loc": {
"start": {
"line": 75,
"column": 37
},
"end": {
"line": 75,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2508,
"end": 2509,
"loc": {
"start": {
"line": 75,
"column": 38
},
"end": {
"line": 75,
"column": 39
}
}
},
{
"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": 75,
"column": 39
},
"end": {
"line": 75,
"column": 40
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2516,
"end": 2517,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Updates all shapes after an upgrade has been purchased and removes the unused ones\r\n ",
"start": 2525,
"end": 2628,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 80,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updateShapesAfterUpgrade",
"start": 2634,
"end": 2658,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 81,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2658,
"end": 2659,
"loc": {
"start": {
"line": 81,
"column": 28
},
"end": {
"line": 81,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2659,
"end": 2660,
"loc": {
"start": {
"line": 81,
"column": 29
},
"end": {
"line": 81,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2661,
"end": 2662,
"loc": {
"start": {
"line": 81,
"column": 31
},
"end": {
"line": 81,
"column": 32
}
}
},
{
"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": 2672,
"end": 2675,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 82,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2676,
"end": 2677,
"loc": {
"start": {
"line": 82,
"column": 12
},
"end": {
"line": 82,
"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": 2677,
"end": 2680,
"loc": {
"start": {
"line": 82,
"column": 13
},
"end": {
"line": 82,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2681,
"end": 2682,
"loc": {
"start": {
"line": 82,
"column": 17
},
"end": {
"line": 82,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2683,
"end": 2684,
"loc": {
"start": {
"line": 82,
"column": 19
},
"end": {
"line": 82,
"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": 2685,
"end": 2686,
"loc": {
"start": {
"line": 82,
"column": 21
},
"end": {
"line": 82,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2686,
"end": 2687,
"loc": {
"start": {
"line": 82,
"column": 22
},
"end": {
"line": 82,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2688,
"end": 2689,
"loc": {
"start": {
"line": 82,
"column": 24
},
"end": {
"line": 82,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 2690,
"end": 2691,
"loc": {
"start": {
"line": 82,
"column": 26
},
"end": {
"line": 82,
"column": 27
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2692,
"end": 2696,
"loc": {
"start": {
"line": 82,
"column": 28
},
"end": {
"line": 82,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2696,
"end": 2697,
"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": "pinnedShapes",
"start": 2697,
"end": 2709,
"loc": {
"start": {
"line": 82,
"column": 33
},
"end": {
"line": 82,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2709,
"end": 2710,
"loc": {
"start": {
"line": 82,
"column": 45
},
"end": {
"line": 82,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 2710,
"end": 2716,
"loc": {
"start": {
"line": 82,
"column": 46
},
"end": {
"line": 82,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2716,
"end": 2717,
"loc": {
"start": {
"line": 82,
"column": 52
},
"end": {
"line": 82,
"column": 53
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 2718,
"end": 2720,
"loc": {
"start": {
"line": 82,
"column": 54
},
"end": {
"line": 82,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2720,
"end": 2721,
"loc": {
"start": {
"line": 82,
"column": 56
},
"end": {
"line": 82,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2721,
"end": 2722,
"loc": {
"start": {
"line": 82,
"column": 57
},
"end": {
"line": 82,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2723,
"end": 2724,
"loc": {
"start": {
"line": 82,
"column": 59
},
"end": {
"line": 82,
"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": 2738,
"end": 2743,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 2744,
"end": 2747,
"loc": {
"start": {
"line": 83,
"column": 18
},
"end": {
"line": 83,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2748,
"end": 2749,
"loc": {
"start": {
"line": 83,
"column": 22
},
"end": {
"line": 83,
"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": 2750,
"end": 2754,
"loc": {
"start": {
"line": 83,
"column": 24
},
"end": {
"line": 83,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2754,
"end": 2755,
"loc": {
"start": {
"line": 83,
"column": 28
},
"end": {
"line": 83,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinnedShapes",
"start": 2755,
"end": 2767,
"loc": {
"start": {
"line": 83,
"column": 29
},
"end": {
"line": 83,
"column": 41
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2767,
"end": 2768,
"loc": {
"start": {
"line": 83,
"column": 41
},
"end": {
"line": 83,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2768,
"end": 2769,
"loc": {
"start": {
"line": 83,
"column": 42
},
"end": {
"line": 83,
"column": 43
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2769,
"end": 2770,
"loc": {
"start": {
"line": 83,
"column": 43
},
"end": {
"line": 83,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2770,
"end": 2771,
"loc": {
"start": {
"line": 83,
"column": 44
},
"end": {
"line": 83,
"column": 45
}
}
},
{
"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": 2785,
"end": 2787,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2788,
"end": 2789,
"loc": {
"start": {
"line": 84,
"column": 15
},
"end": {
"line": 84,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 2789,
"end": 2792,
"loc": {
"start": {
"line": 84,
"column": 16
},
"end": {
"line": 84,
"column": 19
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 2793,
"end": 2796,
"loc": {
"start": {
"line": 84,
"column": 20
},
"end": {
"line": 84,
"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": 2797,
"end": 2801,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2801,
"end": 2802,
"loc": {
"start": {
"line": 84,
"column": 28
},
"end": {
"line": 84,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2802,
"end": 2806,
"loc": {
"start": {
"line": 84,
"column": 29
},
"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": 2806,
"end": 2807,
"loc": {
"start": {
"line": 84,
"column": 33
},
"end": {
"line": 84,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gameMode",
"start": 2807,
"end": 2815,
"loc": {
"start": {
"line": 84,
"column": 34
},
"end": {
"line": 84,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2815,
"end": 2816,
"loc": {
"start": {
"line": 84,
"column": 42
},
"end": {
"line": 84,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBlueprintShapeKey",
"start": 2816,
"end": 2836,
"loc": {
"start": {
"line": 84,
"column": 43
},
"end": {
"line": 84,
"column": 63
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2836,
"end": 2837,
"loc": {
"start": {
"line": 84,
"column": 63
},
"end": {
"line": 84,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2837,
"end": 2838,
"loc": {
"start": {
"line": 84,
"column": 64
},
"end": {
"line": 84,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2838,
"end": 2839,
"loc": {
"start": {
"line": 84,
"column": 65
},
"end": {
"line": 84,
"column": 66
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2840,
"end": 2841,
"loc": {
"start": {
"line": 84,
"column": 67
},
"end": {
"line": 84,
"column": 68
}
}
},
{
"type": "CommentLine",
"value": " Ignore blueprint shapes",
"start": 2859,
"end": 2885,
"loc": {
"start": {
"line": 85,
"column": 16
},
"end": {
"line": 85,
"column": 42
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 2903,
"end": 2911,
"loc": {
"start": {
"line": 86,
"column": 16
},
"end": {
"line": 86,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2911,
"end": 2912,
"loc": {
"start": {
"line": 86,
"column": 24
},
"end": {
"line": 86,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2926,
"end": 2927,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"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": 2941,
"end": 2944,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 88,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "goal",
"start": 2945,
"end": 2949,
"loc": {
"start": {
"line": 88,
"column": 16
},
"end": {
"line": 88,
"column": 20
}
}
},
{
"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": 88,
"column": 21
},
"end": {
"line": 88,
"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": 2952,
"end": 2956,
"loc": {
"start": {
"line": 88,
"column": 23
},
"end": {
"line": 88,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2956,
"end": 2957,
"loc": {
"start": {
"line": 88,
"column": 27
},
"end": {
"line": 88,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findGoalValueForShape",
"start": 2957,
"end": 2978,
"loc": {
"start": {
"line": 88,
"column": 28
},
"end": {
"line": 88,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2978,
"end": 2979,
"loc": {
"start": {
"line": 88,
"column": 49
},
"end": {
"line": 88,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 2979,
"end": 2982,
"loc": {
"start": {
"line": 88,
"column": 50
},
"end": {
"line": 88,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2982,
"end": 2983,
"loc": {
"start": {
"line": 88,
"column": 53
},
"end": {
"line": 88,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2983,
"end": 2984,
"loc": {
"start": {
"line": 88,
"column": 54
},
"end": {
"line": 88,
"column": 55
}
}
},
{
"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": 2998,
"end": 3000,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3001,
"end": 3002,
"loc": {
"start": {
"line": 89,
"column": 15
},
"end": {
"line": 89,
"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": 3002,
"end": 3003,
"loc": {
"start": {
"line": 89,
"column": 16
},
"end": {
"line": 89,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "goal",
"start": 3003,
"end": 3007,
"loc": {
"start": {
"line": 89,
"column": 17
},
"end": {
"line": 89,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3007,
"end": 3008,
"loc": {
"start": {
"line": 89,
"column": 21
},
"end": {
"line": 89,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3009,
"end": 3010,
"loc": {
"start": {
"line": 89,
"column": 23
},
"end": {
"line": 89,
"column": 24
}
}
},
{
"type": "CommentLine",
"value": " Seems no longer relevant",
"start": 3028,
"end": 3055,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"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": 3073,
"end": 3077,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3077,
"end": 3078,
"loc": {
"start": {
"line": 91,
"column": 20
},
"end": {
"line": 91,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinnedShapes",
"start": 3078,
"end": 3090,
"loc": {
"start": {
"line": 91,
"column": 21
},
"end": {
"line": 91,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3090,
"end": 3091,
"loc": {
"start": {
"line": 91,
"column": 33
},
"end": {
"line": 91,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "splice",
"start": 3091,
"end": 3097,
"loc": {
"start": {
"line": 91,
"column": 34
},
"end": {
"line": 91,
"column": 40
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3097,
"end": 3098,
"loc": {
"start": {
"line": 91,
"column": 40
},
"end": {
"line": 91,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 3098,
"end": 3099,
"loc": {
"start": {
"line": 91,
"column": 41
},
"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": 3099,
"end": 3100,
"loc": {
"start": {
"line": 91,
"column": 42
},
"end": {
"line": 91,
"column": 43
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3101,
"end": 3102,
"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": 3102,
"end": 3103,
"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": 3103,
"end": 3104,
"loc": {
"start": {
"line": 91,
"column": 46
},
"end": {
"line": 91,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 3122,
"end": 3123,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 17
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "-=",
"start": 3124,
"end": 3126,
"loc": {
"start": {
"line": 92,
"column": 18
},
"end": {
"line": 92,
"column": 20
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3127,
"end": 3128,
"loc": {
"start": {
"line": 92,
"column": 21
},
"end": {
"line": 92,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3128,
"end": 3129,
"loc": {
"start": {
"line": 92,
"column": 22
},
"end": {
"line": 92,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3143,
"end": 3144,
"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": 3154,
"end": 3155,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"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": 3167,
"end": 3171,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3171,
"end": 3172,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rerenderFull",
"start": 3172,
"end": 3184,
"loc": {
"start": {
"line": 96,
"column": 13
},
"end": {
"line": 96,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3184,
"end": 3185,
"loc": {
"start": {
"line": 96,
"column": 25
},
"end": {
"line": 96,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3185,
"end": 3186,
"loc": {
"start": {
"line": 96,
"column": 26
},
"end": {
"line": 96,
"column": 27
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3186,
"end": 3187,
"loc": {
"start": {
"line": 96,
"column": 27
},
"end": {
"line": 96,
"column": 28
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3193,
"end": 3194,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 97,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Finds the current goal for the given key. If the key is the story goal, returns\r\n * the story goal. If its the blueprint shape, no goal is returned. Otherwise\r\n * it's searched for upgrades.\r\n * @param {string} key\r\n ",
"start": 3202,
"end": 3449,
"loc": {
"start": {
"line": 99,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findGoalValueForShape",
"start": 3455,
"end": 3476,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 105,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3476,
"end": 3477,
"loc": {
"start": {
"line": 105,
"column": 25
},
"end": {
"line": 105,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 3477,
"end": 3480,
"loc": {
"start": {
"line": 105,
"column": 26
},
"end": {
"line": 105,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3480,
"end": 3481,
"loc": {
"start": {
"line": 105,
"column": 29
},
"end": {
"line": 105,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3482,
"end": 3483,
"loc": {
"start": {
"line": 105,
"column": 31
},
"end": {
"line": 105,
"column": 32
}
}
},
{
"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": 3493,
"end": 3495,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3496,
"end": 3497,
"loc": {
"start": {
"line": 106,
"column": 11
},
"end": {
"line": 106,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 3497,
"end": 3500,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 15
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 3501,
"end": 3504,
"loc": {
"start": {
"line": 106,
"column": 16
},
"end": {
"line": 106,
"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": 3505,
"end": 3509,
"loc": {
"start": {
"line": 106,
"column": 20
},
"end": {
"line": 106,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3509,
"end": 3510,
"loc": {
"start": {
"line": 106,
"column": 24
},
"end": {
"line": 106,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3510,
"end": 3514,
"loc": {
"start": {
"line": 106,
"column": 25
},
"end": {
"line": 106,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3514,
"end": 3515,
"loc": {
"start": {
"line": 106,
"column": 29
},
"end": {
"line": 106,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 3515,
"end": 3523,
"loc": {
"start": {
"line": 106,
"column": 30
},
"end": {
"line": 106,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3523,
"end": 3524,
"loc": {
"start": {
"line": 106,
"column": 38
},
"end": {
"line": 106,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentGoal",
"start": 3524,
"end": 3535,
"loc": {
"start": {
"line": 106,
"column": 39
},
"end": {
"line": 106,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3535,
"end": 3536,
"loc": {
"start": {
"line": 106,
"column": 50
},
"end": {
"line": 106,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 3536,
"end": 3546,
"loc": {
"start": {
"line": 106,
"column": 51
},
"end": {
"line": 106,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3546,
"end": 3547,
"loc": {
"start": {
"line": 106,
"column": 61
},
"end": {
"line": 106,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getHash",
"start": 3547,
"end": 3554,
"loc": {
"start": {
"line": 106,
"column": 62
},
"end": {
"line": 106,
"column": 69
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3554,
"end": 3555,
"loc": {
"start": {
"line": 106,
"column": 69
},
"end": {
"line": 106,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3555,
"end": 3556,
"loc": {
"start": {
"line": 106,
"column": 70
},
"end": {
"line": 106,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3556,
"end": 3557,
"loc": {
"start": {
"line": 106,
"column": 71
},
"end": {
"line": 106,
"column": 72
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3558,
"end": 3559,
"loc": {
"start": {
"line": 106,
"column": 73
},
"end": {
"line": 106,
"column": 74
}
}
},
{
"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": 3573,
"end": 3579,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 107,
"column": 18
}
}
},
{
"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": 3580,
"end": 3584,
"loc": {
"start": {
"line": 107,
"column": 19
},
"end": {
"line": 107,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3584,
"end": 3585,
"loc": {
"start": {
"line": 107,
"column": 23
},
"end": {
"line": 107,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3585,
"end": 3589,
"loc": {
"start": {
"line": 107,
"column": 24
},
"end": {
"line": 107,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3589,
"end": 3590,
"loc": {
"start": {
"line": 107,
"column": 28
},
"end": {
"line": 107,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 3590,
"end": 3598,
"loc": {
"start": {
"line": 107,
"column": 29
},
"end": {
"line": 107,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3598,
"end": 3599,
"loc": {
"start": {
"line": 107,
"column": 37
},
"end": {
"line": 107,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentGoal",
"start": 3599,
"end": 3610,
"loc": {
"start": {
"line": 107,
"column": 38
},
"end": {
"line": 107,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3610,
"end": 3611,
"loc": {
"start": {
"line": 107,
"column": 49
},
"end": {
"line": 107,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "required",
"start": 3611,
"end": 3619,
"loc": {
"start": {
"line": 107,
"column": 50
},
"end": {
"line": 107,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3619,
"end": 3620,
"loc": {
"start": {
"line": 107,
"column": 58
},
"end": {
"line": 107,
"column": 59
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3630,
"end": 3631,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"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": 3641,
"end": 3643,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3644,
"end": 3645,
"loc": {
"start": {
"line": 109,
"column": 11
},
"end": {
"line": 109,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 3645,
"end": 3648,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 15
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 3649,
"end": 3652,
"loc": {
"start": {
"line": 109,
"column": 16
},
"end": {
"line": 109,
"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": 3653,
"end": 3657,
"loc": {
"start": {
"line": 109,
"column": 20
},
"end": {
"line": 109,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3657,
"end": 3658,
"loc": {
"start": {
"line": 109,
"column": 24
},
"end": {
"line": 109,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3658,
"end": 3662,
"loc": {
"start": {
"line": 109,
"column": 25
},
"end": {
"line": 109,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3662,
"end": 3663,
"loc": {
"start": {
"line": 109,
"column": 29
},
"end": {
"line": 109,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gameMode",
"start": 3663,
"end": 3671,
"loc": {
"start": {
"line": 109,
"column": 30
},
"end": {
"line": 109,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3671,
"end": 3672,
"loc": {
"start": {
"line": 109,
"column": 38
},
"end": {
"line": 109,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBlueprintShapeKey",
"start": 3672,
"end": 3692,
"loc": {
"start": {
"line": 109,
"column": 39
},
"end": {
"line": 109,
"column": 59
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3692,
"end": 3693,
"loc": {
"start": {
"line": 109,
"column": 59
},
"end": {
"line": 109,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3693,
"end": 3694,
"loc": {
"start": {
"line": 109,
"column": 60
},
"end": {
"line": 109,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3694,
"end": 3695,
"loc": {
"start": {
"line": 109,
"column": 61
},
"end": {
"line": 109,
"column": 62
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3696,
"end": 3697,
"loc": {
"start": {
"line": 109,
"column": 63
},
"end": {
"line": 109,
"column": 64
}
}
},
{
"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": 3711,
"end": 3717,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 18
}
}
},
{
"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": 3718,
"end": 3722,
"loc": {
"start": {
"line": 110,
"column": 19
},
"end": {
"line": 110,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3722,
"end": 3723,
"loc": {
"start": {
"line": 110,
"column": 23
},
"end": {
"line": 110,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3733,
"end": 3734,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Check if this shape is required for any upgrade",
"start": 3746,
"end": 3796,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 58
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 3806,
"end": 3811,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "upgrades",
"start": 3812,
"end": 3820,
"loc": {
"start": {
"line": 114,
"column": 14
},
"end": {
"line": 114,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3821,
"end": 3822,
"loc": {
"start": {
"line": 114,
"column": 23
},
"end": {
"line": 114,
"column": 24
}
}
},
{
"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": 3823,
"end": 3827,
"loc": {
"start": {
"line": 114,
"column": 25
},
"end": {
"line": 114,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3827,
"end": 3828,
"loc": {
"start": {
"line": 114,
"column": 29
},
"end": {
"line": 114,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3828,
"end": 3832,
"loc": {
"start": {
"line": 114,
"column": 30
},
"end": {
"line": 114,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3832,
"end": 3833,
"loc": {
"start": {
"line": 114,
"column": 34
},
"end": {
"line": 114,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gameMode",
"start": 3833,
"end": 3841,
"loc": {
"start": {
"line": 114,
"column": 35
},
"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": 3841,
"end": 3842,
"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": "getUpgrades",
"start": 3842,
"end": 3853,
"loc": {
"start": {
"line": 114,
"column": 44
},
"end": {
"line": 114,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3853,
"end": 3854,
"loc": {
"start": {
"line": 114,
"column": 55
},
"end": {
"line": 114,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3854,
"end": 3855,
"loc": {
"start": {
"line": 114,
"column": 56
},
"end": {
"line": 114,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3855,
"end": 3856,
"loc": {
"start": {
"line": 114,
"column": 57
},
"end": {
"line": 114,
"column": 58
}
}
},
{
"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": 3866,
"end": 3869,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3870,
"end": 3871,
"loc": {
"start": {
"line": 115,
"column": 12
},
"end": {
"line": 115,
"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": 3871,
"end": 3876,
"loc": {
"start": {
"line": 115,
"column": 13
},
"end": {
"line": 115,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "upgradeId",
"start": 3877,
"end": 3886,
"loc": {
"start": {
"line": 115,
"column": 19
},
"end": {
"line": 115,
"column": 28
}
}
},
{
"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": 3887,
"end": 3889,
"loc": {
"start": {
"line": 115,
"column": 29
},
"end": {
"line": 115,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "upgrades",
"start": 3890,
"end": 3898,
"loc": {
"start": {
"line": 115,
"column": 32
},
"end": {
"line": 115,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3898,
"end": 3899,
"loc": {
"start": {
"line": 115,
"column": 40
},
"end": {
"line": 115,
"column": 41
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3900,
"end": 3901,
"loc": {
"start": {
"line": 115,
"column": 42
},
"end": {
"line": 115,
"column": 43
}
}
},
{
"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": 3915,
"end": 3920,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 116,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "upgradeTiers",
"start": 3921,
"end": 3933,
"loc": {
"start": {
"line": 116,
"column": 18
},
"end": {
"line": 116,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3934,
"end": 3935,
"loc": {
"start": {
"line": 116,
"column": 31
},
"end": {
"line": 116,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "upgrades",
"start": 3936,
"end": 3944,
"loc": {
"start": {
"line": 116,
"column": 33
},
"end": {
"line": 116,
"column": 41
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3944,
"end": 3945,
"loc": {
"start": {
"line": 116,
"column": 41
},
"end": {
"line": 116,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "upgradeId",
"start": 3945,
"end": 3954,
"loc": {
"start": {
"line": 116,
"column": 42
},
"end": {
"line": 116,
"column": 51
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3954,
"end": 3955,
"loc": {
"start": {
"line": 116,
"column": 51
},
"end": {
"line": 116,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3955,
"end": 3956,
"loc": {
"start": {
"line": 116,
"column": 52
},
"end": {
"line": 116,
"column": 53
}
}
},
{
"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": 3970,
"end": 3975,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 117,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentTier",
"start": 3976,
"end": 3987,
"loc": {
"start": {
"line": 117,
"column": 18
},
"end": {
"line": 117,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3988,
"end": 3989,
"loc": {
"start": {
"line": 117,
"column": 30
},
"end": {
"line": 117,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3990,
"end": 3994,
"loc": {
"start": {
"line": 117,
"column": 32
},
"end": {
"line": 117,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3994,
"end": 3995,
"loc": {
"start": {
"line": 117,
"column": 36
},
"end": {
"line": 117,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3995,
"end": 3999,
"loc": {
"start": {
"line": 117,
"column": 37
},
"end": {
"line": 117,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3999,
"end": 4000,
"loc": {
"start": {
"line": 117,
"column": 41
},
"end": {
"line": 117,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 4000,
"end": 4008,
"loc": {
"start": {
"line": 117,
"column": 42
},
"end": {
"line": 117,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4008,
"end": 4009,
"loc": {
"start": {
"line": 117,
"column": 50
},
"end": {
"line": 117,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getUpgradeLevel",
"start": 4009,
"end": 4024,
"loc": {
"start": {
"line": 117,
"column": 51
},
"end": {
"line": 117,
"column": 66
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4024,
"end": 4025,
"loc": {
"start": {
"line": 117,
"column": 66
},
"end": {
"line": 117,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "upgradeId",
"start": 4025,
"end": 4034,
"loc": {
"start": {
"line": 117,
"column": 67
},
"end": {
"line": 117,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4034,
"end": 4035,
"loc": {
"start": {
"line": 117,
"column": 76
},
"end": {
"line": 117,
"column": 77
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4035,
"end": 4036,
"loc": {
"start": {
"line": 117,
"column": 77
},
"end": {
"line": 117,
"column": 78
}
}
},
{
"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": 4050,
"end": 4055,
"loc": {
"start": {
"line": 118,
"column": 12
},
"end": {
"line": 118,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tierHandle",
"start": 4056,
"end": 4066,
"loc": {
"start": {
"line": 118,
"column": 18
},
"end": {
"line": 118,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4067,
"end": 4068,
"loc": {
"start": {
"line": 118,
"column": 29
},
"end": {
"line": 118,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "upgradeTiers",
"start": 4069,
"end": 4081,
"loc": {
"start": {
"line": 118,
"column": 31
},
"end": {
"line": 118,
"column": 43
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4081,
"end": 4082,
"loc": {
"start": {
"line": 118,
"column": 43
},
"end": {
"line": 118,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentTier",
"start": 4082,
"end": 4093,
"loc": {
"start": {
"line": 118,
"column": 44
},
"end": {
"line": 118,
"column": 55
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4093,
"end": 4094,
"loc": {
"start": {
"line": 118,
"column": 55
},
"end": {
"line": 118,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4094,
"end": 4095,
"loc": {
"start": {
"line": 118,
"column": 56
},
"end": {
"line": 118,
"column": 57
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 4111,
"end": 4113,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4114,
"end": 4115,
"loc": {
"start": {
"line": 120,
"column": 15
},
"end": {
"line": 120,
"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": 4115,
"end": 4116,
"loc": {
"start": {
"line": 120,
"column": 16
},
"end": {
"line": 120,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tierHandle",
"start": 4116,
"end": 4126,
"loc": {
"start": {
"line": 120,
"column": 17
},
"end": {
"line": 120,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4126,
"end": 4127,
"loc": {
"start": {
"line": 120,
"column": 27
},
"end": {
"line": 120,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4128,
"end": 4129,
"loc": {
"start": {
"line": 120,
"column": 29
},
"end": {
"line": 120,
"column": 30
}
}
},
{
"type": "CommentLine",
"value": " Max level",
"start": 4147,
"end": 4159,
"loc": {
"start": {
"line": 121,
"column": 16
},
"end": {
"line": 121,
"column": 28
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 4177,
"end": 4185,
"loc": {
"start": {
"line": 122,
"column": 16
},
"end": {
"line": 122,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4185,
"end": 4186,
"loc": {
"start": {
"line": 122,
"column": 24
},
"end": {
"line": 122,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4200,
"end": 4201,
"loc": {
"start": {
"line": 123,
"column": 12
},
"end": {
"line": 123,
"column": 13
}
}
},
{
"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": 4217,
"end": 4220,
"loc": {
"start": {
"line": 125,
"column": 12
},
"end": {
"line": 125,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4221,
"end": 4222,
"loc": {
"start": {
"line": 125,
"column": 16
},
"end": {
"line": 125,
"column": 17
}
}
},
{
"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": 4222,
"end": 4225,
"loc": {
"start": {
"line": 125,
"column": 17
},
"end": {
"line": 125,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 4226,
"end": 4227,
"loc": {
"start": {
"line": 125,
"column": 21
},
"end": {
"line": 125,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4228,
"end": 4229,
"loc": {
"start": {
"line": 125,
"column": 23
},
"end": {
"line": 125,
"column": 24
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4230,
"end": 4231,
"loc": {
"start": {
"line": 125,
"column": 25
},
"end": {
"line": 125,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4231,
"end": 4232,
"loc": {
"start": {
"line": 125,
"column": 26
},
"end": {
"line": 125,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 4233,
"end": 4234,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 29
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 4235,
"end": 4236,
"loc": {
"start": {
"line": 125,
"column": 30
},
"end": {
"line": 125,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tierHandle",
"start": 4237,
"end": 4247,
"loc": {
"start": {
"line": 125,
"column": 32
},
"end": {
"line": 125,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4247,
"end": 4248,
"loc": {
"start": {
"line": 125,
"column": 42
},
"end": {
"line": 125,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "required",
"start": 4248,
"end": 4256,
"loc": {
"start": {
"line": 125,
"column": 43
},
"end": {
"line": 125,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4256,
"end": 4257,
"loc": {
"start": {
"line": 125,
"column": 51
},
"end": {
"line": 125,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 4257,
"end": 4263,
"loc": {
"start": {
"line": 125,
"column": 52
},
"end": {
"line": 125,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4263,
"end": 4264,
"loc": {
"start": {
"line": 125,
"column": 58
},
"end": {
"line": 125,
"column": 59
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 4265,
"end": 4267,
"loc": {
"start": {
"line": 125,
"column": 60
},
"end": {
"line": 125,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 4267,
"end": 4268,
"loc": {
"start": {
"line": 125,
"column": 62
},
"end": {
"line": 125,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4268,
"end": 4269,
"loc": {
"start": {
"line": 125,
"column": 63
},
"end": {
"line": 125,
"column": 64
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4270,
"end": 4271,
"loc": {
"start": {
"line": 125,
"column": 65
},
"end": {
"line": 125,
"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": 4289,
"end": 4294,
"loc": {
"start": {
"line": 126,
"column": 16
},
"end": {
"line": 126,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4295,
"end": 4296,
"loc": {
"start": {
"line": 126,
"column": 22
},
"end": {
"line": 126,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shape",
"start": 4297,
"end": 4302,
"loc": {
"start": {
"line": 126,
"column": 24
},
"end": {
"line": 126,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4302,
"end": 4303,
"loc": {
"start": {
"line": 126,
"column": 29
},
"end": {
"line": 126,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "amount",
"start": 4304,
"end": 4310,
"loc": {
"start": {
"line": 126,
"column": 31
},
"end": {
"line": 126,
"column": 37
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4311,
"end": 4312,
"loc": {
"start": {
"line": 126,
"column": 38
},
"end": {
"line": 126,
"column": 39
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4313,
"end": 4314,
"loc": {
"start": {
"line": 126,
"column": 40
},
"end": {
"line": 126,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tierHandle",
"start": 4315,
"end": 4325,
"loc": {
"start": {
"line": 126,
"column": 42
},
"end": {
"line": 126,
"column": 52
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4325,
"end": 4326,
"loc": {
"start": {
"line": 126,
"column": 52
},
"end": {
"line": 126,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "required",
"start": 4326,
"end": 4334,
"loc": {
"start": {
"line": 126,
"column": 53
},
"end": {
"line": 126,
"column": 61
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4334,
"end": 4335,
"loc": {
"start": {
"line": 126,
"column": 61
},
"end": {
"line": 126,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 4335,
"end": 4336,
"loc": {
"start": {
"line": 126,
"column": 62
},
"end": {
"line": 126,
"column": 63
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4336,
"end": 4337,
"loc": {
"start": {
"line": 126,
"column": 63
},
"end": {
"line": 126,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4337,
"end": 4338,
"loc": {
"start": {
"line": 126,
"column": 64
},
"end": {
"line": 126,
"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": 4356,
"end": 4358,
"loc": {
"start": {
"line": 127,
"column": 16
},
"end": {
"line": 127,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4359,
"end": 4360,
"loc": {
"start": {
"line": 127,
"column": 19
},
"end": {
"line": 127,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shape",
"start": 4360,
"end": 4365,
"loc": {
"start": {
"line": 127,
"column": 20
},
"end": {
"line": 127,
"column": 25
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 4366,
"end": 4369,
"loc": {
"start": {
"line": 127,
"column": 26
},
"end": {
"line": 127,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 4370,
"end": 4373,
"loc": {
"start": {
"line": 127,
"column": 30
},
"end": {
"line": 127,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4373,
"end": 4374,
"loc": {
"start": {
"line": 127,
"column": 33
},
"end": {
"line": 127,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4375,
"end": 4376,
"loc": {
"start": {
"line": 127,
"column": 35
},
"end": {
"line": 127,
"column": 36
}
}
},
{
"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": 4398,
"end": 4404,
"loc": {
"start": {
"line": 128,
"column": 20
},
"end": {
"line": 128,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "amount",
"start": 4405,
"end": 4411,
"loc": {
"start": {
"line": 128,
"column": 27
},
"end": {
"line": 128,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4411,
"end": 4412,
"loc": {
"start": {
"line": 128,
"column": 33
},
"end": {
"line": 128,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4430,
"end": 4431,
"loc": {
"start": {
"line": 129,
"column": 16
},
"end": {
"line": 129,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4445,
"end": 4446,
"loc": {
"start": {
"line": 130,
"column": 12
},
"end": {
"line": 130,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4456,
"end": 4457,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 9
}
}
},
{
"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": 4469,
"end": 4475,
"loc": {
"start": {
"line": 133,
"column": 8
},
"end": {
"line": 133,
"column": 14
}
}
},
{
"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": 4476,
"end": 4480,
"loc": {
"start": {
"line": 133,
"column": 15
},
"end": {
"line": 133,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4480,
"end": 4481,
"loc": {
"start": {
"line": 133,
"column": 19
},
"end": {
"line": 133,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4487,
"end": 4488,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 134,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns whether a given shape is currently pinned\r\n * @param {string} key\r\n ",
"start": 4496,
"end": 4594,
"loc": {
"start": {
"line": 136,
"column": 4
},
"end": {
"line": 139,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isShapePinned",
"start": 4600,
"end": 4613,
"loc": {
"start": {
"line": 140,
"column": 4
},
"end": {
"line": 140,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4613,
"end": 4614,
"loc": {
"start": {
"line": 140,
"column": 17
},
"end": {
"line": 140,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 4614,
"end": 4617,
"loc": {
"start": {
"line": 140,
"column": 18
},
"end": {
"line": 140,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4617,
"end": 4618,
"loc": {
"start": {
"line": 140,
"column": 21
},
"end": {
"line": 140,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4619,
"end": 4620,
"loc": {
"start": {
"line": 140,
"column": 23
},
"end": {
"line": 140,
"column": 24
}
}
},
{
"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": 4630,
"end": 4632,
"loc": {
"start": {
"line": 141,
"column": 8
},
"end": {
"line": 141,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4633,
"end": 4634,
"loc": {
"start": {
"line": 141,
"column": 11
},
"end": {
"line": 141,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 4648,
"end": 4651,
"loc": {
"start": {
"line": 142,
"column": 12
},
"end": {
"line": 142,
"column": 15
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 4652,
"end": 4655,
"loc": {
"start": {
"line": 142,
"column": 16
},
"end": {
"line": 142,
"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": 4656,
"end": 4660,
"loc": {
"start": {
"line": 142,
"column": 20
},
"end": {
"line": 142,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4660,
"end": 4661,
"loc": {
"start": {
"line": 142,
"column": 24
},
"end": {
"line": 142,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4661,
"end": 4665,
"loc": {
"start": {
"line": 142,
"column": 25
},
"end": {
"line": 142,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4665,
"end": 4666,
"loc": {
"start": {
"line": 142,
"column": 29
},
"end": {
"line": 142,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 4666,
"end": 4674,
"loc": {
"start": {
"line": 142,
"column": 30
},
"end": {
"line": 142,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4674,
"end": 4675,
"loc": {
"start": {
"line": 142,
"column": 38
},
"end": {
"line": 142,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentGoal",
"start": 4675,
"end": 4686,
"loc": {
"start": {
"line": 142,
"column": 39
},
"end": {
"line": 142,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4686,
"end": 4687,
"loc": {
"start": {
"line": 142,
"column": 50
},
"end": {
"line": 142,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 4687,
"end": 4697,
"loc": {
"start": {
"line": 142,
"column": 51
},
"end": {
"line": 142,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4697,
"end": 4698,
"loc": {
"start": {
"line": 142,
"column": 61
},
"end": {
"line": 142,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getHash",
"start": 4698,
"end": 4705,
"loc": {
"start": {
"line": 142,
"column": 62
},
"end": {
"line": 142,
"column": 69
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4705,
"end": 4706,
"loc": {
"start": {
"line": 142,
"column": 69
},
"end": {
"line": 142,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4706,
"end": 4707,
"loc": {
"start": {
"line": 142,
"column": 70
},
"end": {
"line": 142,
"column": 71
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 4708,
"end": 4710,
"loc": {
"start": {
"line": 142,
"column": 72
},
"end": {
"line": 142,
"column": 74
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 4724,
"end": 4727,
"loc": {
"start": {
"line": 143,
"column": 12
},
"end": {
"line": 143,
"column": 15
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 4728,
"end": 4731,
"loc": {
"start": {
"line": 143,
"column": 16
},
"end": {
"line": 143,
"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": 4732,
"end": 4736,
"loc": {
"start": {
"line": 143,
"column": 20
},
"end": {
"line": 143,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4736,
"end": 4737,
"loc": {
"start": {
"line": 143,
"column": 24
},
"end": {
"line": 143,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4737,
"end": 4741,
"loc": {
"start": {
"line": 143,
"column": 25
},
"end": {
"line": 143,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4741,
"end": 4742,
"loc": {
"start": {
"line": 143,
"column": 29
},
"end": {
"line": 143,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gameMode",
"start": 4742,
"end": 4750,
"loc": {
"start": {
"line": 143,
"column": 30
},
"end": {
"line": 143,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4750,
"end": 4751,
"loc": {
"start": {
"line": 143,
"column": 38
},
"end": {
"line": 143,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBlueprintShapeKey",
"start": 4751,
"end": 4771,
"loc": {
"start": {
"line": 143,
"column": 39
},
"end": {
"line": 143,
"column": 59
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4771,
"end": 4772,
"loc": {
"start": {
"line": 143,
"column": 59
},
"end": {
"line": 143,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4772,
"end": 4773,
"loc": {
"start": {
"line": 143,
"column": 60
},
"end": {
"line": 143,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4783,
"end": 4784,
"loc": {
"start": {
"line": 144,
"column": 8
},
"end": {
"line": 144,
"column": 9
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4785,
"end": 4786,
"loc": {
"start": {
"line": 144,
"column": 10
},
"end": {
"line": 144,
"column": 11
}
}
},
{
"type": "CommentLine",
"value": " This is a \"special\" shape which is always pinned",
"start": 4800,
"end": 4851,
"loc": {
"start": {
"line": 145,
"column": 12
},
"end": {
"line": 145,
"column": 63
}
}
},
{
"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": 4865,
"end": 4871,
"loc": {
"start": {
"line": 146,
"column": 12
},
"end": {
"line": 146,
"column": 18
}
}
},
{
"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": 4872,
"end": 4876,
"loc": {
"start": {
"line": 146,
"column": 19
},
"end": {
"line": 146,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4876,
"end": 4877,
"loc": {
"start": {
"line": 146,
"column": 23
},
"end": {
"line": 146,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4887,
"end": 4888,
"loc": {
"start": {
"line": 147,
"column": 8
},
"end": {
"line": 147,
"column": 9
}
}
},
{
"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": 4900,
"end": 4906,
"loc": {
"start": {
"line": 149,
"column": 8
},
"end": {
"line": 149,
"column": 14
}
}
},
{
"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": 4907,
"end": 4911,
"loc": {
"start": {
"line": 149,
"column": 15
},
"end": {
"line": 149,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4911,
"end": 4912,
"loc": {
"start": {
"line": 149,
"column": 19
},
"end": {
"line": 149,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinnedShapes",
"start": 4912,
"end": 4924,
"loc": {
"start": {
"line": 149,
"column": 20
},
"end": {
"line": 149,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4924,
"end": 4925,
"loc": {
"start": {
"line": 149,
"column": 32
},
"end": {
"line": 149,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "indexOf",
"start": 4925,
"end": 4932,
"loc": {
"start": {
"line": 149,
"column": 33
},
"end": {
"line": 149,
"column": 40
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4932,
"end": 4933,
"loc": {
"start": {
"line": 149,
"column": 40
},
"end": {
"line": 149,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 4933,
"end": 4936,
"loc": {
"start": {
"line": 149,
"column": 41
},
"end": {
"line": 149,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4936,
"end": 4937,
"loc": {
"start": {
"line": 149,
"column": 44
},
"end": {
"line": 149,
"column": 45
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">=",
"start": 4938,
"end": 4940,
"loc": {
"start": {
"line": 149,
"column": 46
},
"end": {
"line": 149,
"column": 48
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4941,
"end": 4942,
"loc": {
"start": {
"line": 149,
"column": 49
},
"end": {
"line": 149,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4942,
"end": 4943,
"loc": {
"start": {
"line": 149,
"column": 50
},
"end": {
"line": 149,
"column": 51
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4949,
"end": 4950,
"loc": {
"start": {
"line": 150,
"column": 4
},
"end": {
"line": 150,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Rerenders the whole component\r\n ",
"start": 4958,
"end": 5008,
"loc": {
"start": {
"line": 152,
"column": 4
},
"end": {
"line": 154,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rerenderFull",
"start": 5014,
"end": 5026,
"loc": {
"start": {
"line": 155,
"column": 4
},
"end": {
"line": 155,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5026,
"end": 5027,
"loc": {
"start": {
"line": 155,
"column": 16
},
"end": {
"line": 155,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5027,
"end": 5028,
"loc": {
"start": {
"line": 155,
"column": 17
},
"end": {
"line": 155,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5029,
"end": 5030,
"loc": {
"start": {
"line": 155,
"column": 19
},
"end": {
"line": 155,
"column": 20
}
}
},
{
"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": 5040,
"end": 5045,
"loc": {
"start": {
"line": 156,
"column": 8
},
"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": "currentGoal",
"start": 5046,
"end": 5057,
"loc": {
"start": {
"line": 156,
"column": 14
},
"end": {
"line": 156,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5058,
"end": 5059,
"loc": {
"start": {
"line": 156,
"column": 26
},
"end": {
"line": 156,
"column": 27
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5060,
"end": 5064,
"loc": {
"start": {
"line": 156,
"column": 28
},
"end": {
"line": 156,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5064,
"end": 5065,
"loc": {
"start": {
"line": 156,
"column": 32
},
"end": {
"line": 156,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5065,
"end": 5069,
"loc": {
"start": {
"line": 156,
"column": 33
},
"end": {
"line": 156,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5069,
"end": 5070,
"loc": {
"start": {
"line": 156,
"column": 37
},
"end": {
"line": 156,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 5070,
"end": 5078,
"loc": {
"start": {
"line": 156,
"column": 38
},
"end": {
"line": 156,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5078,
"end": 5079,
"loc": {
"start": {
"line": 156,
"column": 46
},
"end": {
"line": 156,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentGoal",
"start": 5079,
"end": 5090,
"loc": {
"start": {
"line": 156,
"column": 47
},
"end": {
"line": 156,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5090,
"end": 5091,
"loc": {
"start": {
"line": 156,
"column": 58
},
"end": {
"line": 156,
"column": 59
}
}
},
{
"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": 5101,
"end": 5106,
"loc": {
"start": {
"line": 157,
"column": 8
},
"end": {
"line": 157,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentKey",
"start": 5107,
"end": 5117,
"loc": {
"start": {
"line": 157,
"column": 14
},
"end": {
"line": 157,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5118,
"end": 5119,
"loc": {
"start": {
"line": 157,
"column": 25
},
"end": {
"line": 157,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentGoal",
"start": 5120,
"end": 5131,
"loc": {
"start": {
"line": 157,
"column": 27
},
"end": {
"line": 157,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5131,
"end": 5132,
"loc": {
"start": {
"line": 157,
"column": 38
},
"end": {
"line": 157,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 5132,
"end": 5142,
"loc": {
"start": {
"line": 157,
"column": 39
},
"end": {
"line": 157,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5142,
"end": 5143,
"loc": {
"start": {
"line": 157,
"column": 49
},
"end": {
"line": 157,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getHash",
"start": 5143,
"end": 5150,
"loc": {
"start": {
"line": 157,
"column": 50
},
"end": {
"line": 157,
"column": 57
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5150,
"end": 5151,
"loc": {
"start": {
"line": 157,
"column": 57
},
"end": {
"line": 157,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5151,
"end": 5152,
"loc": {
"start": {
"line": 157,
"column": 58
},
"end": {
"line": 157,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5152,
"end": 5153,
"loc": {
"start": {
"line": 157,
"column": 59
},
"end": {
"line": 157,
"column": 60
}
}
},
{
"type": "CommentLine",
"value": " First, remove all old shapes",
"start": 5165,
"end": 5196,
"loc": {
"start": {
"line": 159,
"column": 8
},
"end": {
"line": 159,
"column": 39
}
}
},
{
"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": 5206,
"end": 5209,
"loc": {
"start": {
"line": 160,
"column": 8
},
"end": {
"line": 160,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5210,
"end": 5211,
"loc": {
"start": {
"line": 160,
"column": 12
},
"end": {
"line": 160,
"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": 5211,
"end": 5214,
"loc": {
"start": {
"line": 160,
"column": 13
},
"end": {
"line": 160,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 5215,
"end": 5216,
"loc": {
"start": {
"line": 160,
"column": 17
},
"end": {
"line": 160,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5217,
"end": 5218,
"loc": {
"start": {
"line": 160,
"column": 19
},
"end": {
"line": 160,
"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": 5219,
"end": 5220,
"loc": {
"start": {
"line": 160,
"column": 21
},
"end": {
"line": 160,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5220,
"end": 5221,
"loc": {
"start": {
"line": 160,
"column": 22
},
"end": {
"line": 160,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 5222,
"end": 5223,
"loc": {
"start": {
"line": 160,
"column": 24
},
"end": {
"line": 160,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 5224,
"end": 5225,
"loc": {
"start": {
"line": 160,
"column": 26
},
"end": {
"line": 160,
"column": 27
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5226,
"end": 5230,
"loc": {
"start": {
"line": 160,
"column": 28
},
"end": {
"line": 160,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5230,
"end": 5231,
"loc": {
"start": {
"line": 160,
"column": 32
},
"end": {
"line": 160,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handles",
"start": 5231,
"end": 5238,
"loc": {
"start": {
"line": 160,
"column": 33
},
"end": {
"line": 160,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5238,
"end": 5239,
"loc": {
"start": {
"line": 160,
"column": 40
},
"end": {
"line": 160,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 5239,
"end": 5245,
"loc": {
"start": {
"line": 160,
"column": 41
},
"end": {
"line": 160,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5245,
"end": 5246,
"loc": {
"start": {
"line": 160,
"column": 47
},
"end": {
"line": 160,
"column": 48
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 5247,
"end": 5249,
"loc": {
"start": {
"line": 160,
"column": 49
},
"end": {
"line": 160,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 5249,
"end": 5250,
"loc": {
"start": {
"line": 160,
"column": 51
},
"end": {
"line": 160,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5250,
"end": 5251,
"loc": {
"start": {
"line": 160,
"column": 52
},
"end": {
"line": 160,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5252,
"end": 5253,
"loc": {
"start": {
"line": 160,
"column": 54
},
"end": {
"line": 160,
"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": 5267,
"end": 5271,
"loc": {
"start": {
"line": 161,
"column": 12
},
"end": {
"line": 161,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5271,
"end": 5272,
"loc": {
"start": {
"line": 161,
"column": 16
},
"end": {
"line": 161,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handles",
"start": 5272,
"end": 5279,
"loc": {
"start": {
"line": 161,
"column": 17
},
"end": {
"line": 161,
"column": 24
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5279,
"end": 5280,
"loc": {
"start": {
"line": 161,
"column": 24
},
"end": {
"line": 161,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 5280,
"end": 5281,
"loc": {
"start": {
"line": 161,
"column": 25
},
"end": {
"line": 161,
"column": 26
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5281,
"end": 5282,
"loc": {
"start": {
"line": 161,
"column": 26
},
"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": 5282,
"end": 5283,
"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": "element",
"start": 5283,
"end": 5290,
"loc": {
"start": {
"line": 161,
"column": 28
},
"end": {
"line": 161,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5290,
"end": 5291,
"loc": {
"start": {
"line": 161,
"column": 35
},
"end": {
"line": 161,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 5291,
"end": 5297,
"loc": {
"start": {
"line": 161,
"column": 36
},
"end": {
"line": 161,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5297,
"end": 5298,
"loc": {
"start": {
"line": 161,
"column": 42
},
"end": {
"line": 161,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5298,
"end": 5299,
"loc": {
"start": {
"line": 161,
"column": 43
},
"end": {
"line": 161,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5299,
"end": 5300,
"loc": {
"start": {
"line": 161,
"column": 44
},
"end": {
"line": 161,
"column": 45
}
}
},
{
"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": 5314,
"end": 5319,
"loc": {
"start": {
"line": 162,
"column": 12
},
"end": {
"line": 162,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "detector",
"start": 5320,
"end": 5328,
"loc": {
"start": {
"line": 162,
"column": 18
},
"end": {
"line": 162,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5329,
"end": 5330,
"loc": {
"start": {
"line": 162,
"column": 27
},
"end": {
"line": 162,
"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": 5331,
"end": 5335,
"loc": {
"start": {
"line": 162,
"column": 29
},
"end": {
"line": 162,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5335,
"end": 5336,
"loc": {
"start": {
"line": 162,
"column": 33
},
"end": {
"line": 162,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handles",
"start": 5336,
"end": 5343,
"loc": {
"start": {
"line": 162,
"column": 34
},
"end": {
"line": 162,
"column": 41
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5343,
"end": 5344,
"loc": {
"start": {
"line": 162,
"column": 41
},
"end": {
"line": 162,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 5344,
"end": 5345,
"loc": {
"start": {
"line": 162,
"column": 42
},
"end": {
"line": 162,
"column": 43
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5345,
"end": 5346,
"loc": {
"start": {
"line": 162,
"column": 43
},
"end": {
"line": 162,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5346,
"end": 5347,
"loc": {
"start": {
"line": 162,
"column": 44
},
"end": {
"line": 162,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "detector",
"start": 5347,
"end": 5355,
"loc": {
"start": {
"line": 162,
"column": 45
},
"end": {
"line": 162,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5355,
"end": 5356,
"loc": {
"start": {
"line": 162,
"column": 53
},
"end": {
"line": 162,
"column": 54
}
}
},
{
"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": 5370,
"end": 5372,
"loc": {
"start": {
"line": 163,
"column": 12
},
"end": {
"line": 163,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5373,
"end": 5374,
"loc": {
"start": {
"line": 163,
"column": 15
},
"end": {
"line": 163,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "detector",
"start": 5374,
"end": 5382,
"loc": {
"start": {
"line": 163,
"column": 16
},
"end": {
"line": 163,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5382,
"end": 5383,
"loc": {
"start": {
"line": 163,
"column": 24
},
"end": {
"line": 163,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5384,
"end": 5385,
"loc": {
"start": {
"line": 163,
"column": 26
},
"end": {
"line": 163,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "detector",
"start": 5403,
"end": 5411,
"loc": {
"start": {
"line": 164,
"column": 16
},
"end": {
"line": 164,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5411,
"end": 5412,
"loc": {
"start": {
"line": 164,
"column": 24
},
"end": {
"line": 164,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cleanup",
"start": 5412,
"end": 5419,
"loc": {
"start": {
"line": 164,
"column": 25
},
"end": {
"line": 164,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5419,
"end": 5420,
"loc": {
"start": {
"line": 164,
"column": 32
},
"end": {
"line": 164,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5420,
"end": 5421,
"loc": {
"start": {
"line": 164,
"column": 33
},
"end": {
"line": 164,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5421,
"end": 5422,
"loc": {
"start": {
"line": 164,
"column": 34
},
"end": {
"line": 164,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5436,
"end": 5437,
"loc": {
"start": {
"line": 165,
"column": 12
},
"end": {
"line": 165,
"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": 5451,
"end": 5456,
"loc": {
"start": {
"line": 166,
"column": 12
},
"end": {
"line": 166,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "infoDetector",
"start": 5457,
"end": 5469,
"loc": {
"start": {
"line": 166,
"column": 18
},
"end": {
"line": 166,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5470,
"end": 5471,
"loc": {
"start": {
"line": 166,
"column": 31
},
"end": {
"line": 166,
"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": 5472,
"end": 5476,
"loc": {
"start": {
"line": 166,
"column": 33
},
"end": {
"line": 166,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5476,
"end": 5477,
"loc": {
"start": {
"line": 166,
"column": 37
},
"end": {
"line": 166,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handles",
"start": 5477,
"end": 5484,
"loc": {
"start": {
"line": 166,
"column": 38
},
"end": {
"line": 166,
"column": 45
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5484,
"end": 5485,
"loc": {
"start": {
"line": 166,
"column": 45
},
"end": {
"line": 166,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 5485,
"end": 5486,
"loc": {
"start": {
"line": 166,
"column": 46
},
"end": {
"line": 166,
"column": 47
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5486,
"end": 5487,
"loc": {
"start": {
"line": 166,
"column": 47
},
"end": {
"line": 166,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5487,
"end": 5488,
"loc": {
"start": {
"line": 166,
"column": 48
},
"end": {
"line": 166,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "infoDetector",
"start": 5488,
"end": 5500,
"loc": {
"start": {
"line": 166,
"column": 49
},
"end": {
"line": 166,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5500,
"end": 5501,
"loc": {
"start": {
"line": 166,
"column": 61
},
"end": {
"line": 166,
"column": 62
}
}
},
{
"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": 5515,
"end": 5517,
"loc": {
"start": {
"line": 167,
"column": 12
},
"end": {
"line": 167,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5518,
"end": 5519,
"loc": {
"start": {
"line": 167,
"column": 15
},
"end": {
"line": 167,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "infoDetector",
"start": 5519,
"end": 5531,
"loc": {
"start": {
"line": 167,
"column": 16
},
"end": {
"line": 167,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5531,
"end": 5532,
"loc": {
"start": {
"line": 167,
"column": 28
},
"end": {
"line": 167,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5533,
"end": 5534,
"loc": {
"start": {
"line": 167,
"column": 30
},
"end": {
"line": 167,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "infoDetector",
"start": 5552,
"end": 5564,
"loc": {
"start": {
"line": 168,
"column": 16
},
"end": {
"line": 168,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5564,
"end": 5565,
"loc": {
"start": {
"line": 168,
"column": 28
},
"end": {
"line": 168,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cleanup",
"start": 5565,
"end": 5572,
"loc": {
"start": {
"line": 168,
"column": 29
},
"end": {
"line": 168,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5572,
"end": 5573,
"loc": {
"start": {
"line": 168,
"column": 36
},
"end": {
"line": 168,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5573,
"end": 5574,
"loc": {
"start": {
"line": 168,
"column": 37
},
"end": {
"line": 168,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5574,
"end": 5575,
"loc": {
"start": {
"line": 168,
"column": 38
},
"end": {
"line": 168,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5589,
"end": 5590,
"loc": {
"start": {
"line": 169,
"column": 12
},
"end": {
"line": 169,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5600,
"end": 5601,
"loc": {
"start": {
"line": 170,
"column": 8
},
"end": {
"line": 170,
"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": 5611,
"end": 5615,
"loc": {
"start": {
"line": 171,
"column": 8
},
"end": {
"line": 171,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5615,
"end": 5616,
"loc": {
"start": {
"line": 171,
"column": 12
},
"end": {
"line": 171,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handles",
"start": 5616,
"end": 5623,
"loc": {
"start": {
"line": 171,
"column": 13
},
"end": {
"line": 171,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5624,
"end": 5625,
"loc": {
"start": {
"line": 171,
"column": 21
},
"end": {
"line": 171,
"column": 22
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5626,
"end": 5627,
"loc": {
"start": {
"line": 171,
"column": 23
},
"end": {
"line": 171,
"column": 24
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5627,
"end": 5628,
"loc": {
"start": {
"line": 171,
"column": 24
},
"end": {
"line": 171,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5628,
"end": 5629,
"loc": {
"start": {
"line": 171,
"column": 25
},
"end": {
"line": 171,
"column": 26
}
}
},
{
"type": "CommentLine",
"value": " Pin story goal",
"start": 5641,
"end": 5658,
"loc": {
"start": {
"line": 173,
"column": 8
},
"end": {
"line": 173,
"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": 5668,
"end": 5672,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 174,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5672,
"end": 5673,
"loc": {
"start": {
"line": 174,
"column": 12
},
"end": {
"line": 174,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "internalPinShape",
"start": 5673,
"end": 5689,
"loc": {
"start": {
"line": 174,
"column": 13
},
"end": {
"line": 174,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5689,
"end": 5690,
"loc": {
"start": {
"line": 174,
"column": 29
},
"end": {
"line": 174,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5690,
"end": 5691,
"loc": {
"start": {
"line": 174,
"column": 30
},
"end": {
"line": 174,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 5705,
"end": 5708,
"loc": {
"start": {
"line": 175,
"column": 12
},
"end": {
"line": 175,
"column": 15
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5708,
"end": 5709,
"loc": {
"start": {
"line": 175,
"column": 15
},
"end": {
"line": 175,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentKey",
"start": 5710,
"end": 5720,
"loc": {
"start": {
"line": 175,
"column": 17
},
"end": {
"line": 175,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5720,
"end": 5721,
"loc": {
"start": {
"line": 175,
"column": 27
},
"end": {
"line": 175,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "canUnpin",
"start": 5735,
"end": 5743,
"loc": {
"start": {
"line": 176,
"column": 12
},
"end": {
"line": 176,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5743,
"end": 5744,
"loc": {
"start": {
"line": 176,
"column": 20
},
"end": {
"line": 176,
"column": 21
}
}
},
{
"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": 5745,
"end": 5750,
"loc": {
"start": {
"line": 176,
"column": 22
},
"end": {
"line": 176,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5750,
"end": 5751,
"loc": {
"start": {
"line": 176,
"column": 27
},
"end": {
"line": 176,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "className",
"start": 5765,
"end": 5774,
"loc": {
"start": {
"line": 177,
"column": 12
},
"end": {
"line": 177,
"column": 21
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5774,
"end": 5775,
"loc": {
"start": {
"line": 177,
"column": 21
},
"end": {
"line": 177,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "goal",
"start": 5776,
"end": 5782,
"loc": {
"start": {
"line": 177,
"column": 23
},
"end": {
"line": 177,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5782,
"end": 5783,
"loc": {
"start": {
"line": 177,
"column": 29
},
"end": {
"line": 177,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "throughputOnly",
"start": 5797,
"end": 5811,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 26
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5811,
"end": 5812,
"loc": {
"start": {
"line": 178,
"column": 26
},
"end": {
"line": 178,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentGoal",
"start": 5813,
"end": 5824,
"loc": {
"start": {
"line": 178,
"column": 28
},
"end": {
"line": 178,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5824,
"end": 5825,
"loc": {
"start": {
"line": 178,
"column": 39
},
"end": {
"line": 178,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "throughputOnly",
"start": 5825,
"end": 5839,
"loc": {
"start": {
"line": 178,
"column": 40
},
"end": {
"line": 178,
"column": 54
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5839,
"end": 5840,
"loc": {
"start": {
"line": 178,
"column": 54
},
"end": {
"line": 178,
"column": 55
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5850,
"end": 5851,
"loc": {
"start": {
"line": 179,
"column": 8
},
"end": {
"line": 179,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5851,
"end": 5852,
"loc": {
"start": {
"line": 179,
"column": 9
},
"end": {
"line": 179,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5852,
"end": 5853,
"loc": {
"start": {
"line": 179,
"column": 10
},
"end": {
"line": 179,
"column": 11
}
}
},
{
"type": "CommentLine",
"value": " Pin blueprint shape as well",
"start": 5865,
"end": 5895,
"loc": {
"start": {
"line": 181,
"column": 8
},
"end": {
"line": 181,
"column": 38
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 5905,
"end": 5907,
"loc": {
"start": {
"line": 182,
"column": 8
},
"end": {
"line": 182,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5908,
"end": 5909,
"loc": {
"start": {
"line": 182,
"column": 11
},
"end": {
"line": 182,
"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": 5909,
"end": 5913,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5913,
"end": 5914,
"loc": {
"start": {
"line": 182,
"column": 16
},
"end": {
"line": 182,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5914,
"end": 5918,
"loc": {
"start": {
"line": 182,
"column": 17
},
"end": {
"line": 182,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5918,
"end": 5919,
"loc": {
"start": {
"line": 182,
"column": 21
},
"end": {
"line": 182,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 5919,
"end": 5927,
"loc": {
"start": {
"line": 182,
"column": 22
},
"end": {
"line": 182,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5927,
"end": 5928,
"loc": {
"start": {
"line": 182,
"column": 30
},
"end": {
"line": 182,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isRewardUnlocked",
"start": 5928,
"end": 5944,
"loc": {
"start": {
"line": 182,
"column": 31
},
"end": {
"line": 182,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5944,
"end": 5945,
"loc": {
"start": {
"line": 182,
"column": 47
},
"end": {
"line": 182,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumHubGoalRewards",
"start": 5945,
"end": 5963,
"loc": {
"start": {
"line": 182,
"column": 48
},
"end": {
"line": 182,
"column": 66
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5963,
"end": 5964,
"loc": {
"start": {
"line": 182,
"column": 66
},
"end": {
"line": 182,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "reward_blueprints",
"start": 5964,
"end": 5981,
"loc": {
"start": {
"line": 182,
"column": 67
},
"end": {
"line": 182,
"column": 84
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5981,
"end": 5982,
"loc": {
"start": {
"line": 182,
"column": 84
},
"end": {
"line": 182,
"column": 85
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5982,
"end": 5983,
"loc": {
"start": {
"line": 182,
"column": 85
},
"end": {
"line": 182,
"column": 86
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5984,
"end": 5985,
"loc": {
"start": {
"line": 182,
"column": 87
},
"end": {
"line": 182,
"column": 88
}
}
},
{
"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": 5999,
"end": 6003,
"loc": {
"start": {
"line": 183,
"column": 12
},
"end": {
"line": 183,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6003,
"end": 6004,
"loc": {
"start": {
"line": 183,
"column": 16
},
"end": {
"line": 183,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "internalPinShape",
"start": 6004,
"end": 6020,
"loc": {
"start": {
"line": 183,
"column": 17
},
"end": {
"line": 183,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6020,
"end": 6021,
"loc": {
"start": {
"line": 183,
"column": 33
},
"end": {
"line": 183,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6021,
"end": 6022,
"loc": {
"start": {
"line": 183,
"column": 34
},
"end": {
"line": 183,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 6040,
"end": 6043,
"loc": {
"start": {
"line": 184,
"column": 16
},
"end": {
"line": 184,
"column": 19
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6043,
"end": 6044,
"loc": {
"start": {
"line": 184,
"column": 19
},
"end": {
"line": 184,
"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": 6045,
"end": 6049,
"loc": {
"start": {
"line": 184,
"column": 21
},
"end": {
"line": 184,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6049,
"end": 6050,
"loc": {
"start": {
"line": 184,
"column": 25
},
"end": {
"line": 184,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6050,
"end": 6054,
"loc": {
"start": {
"line": 184,
"column": 26
},
"end": {
"line": 184,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6054,
"end": 6055,
"loc": {
"start": {
"line": 184,
"column": 30
},
"end": {
"line": 184,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gameMode",
"start": 6055,
"end": 6063,
"loc": {
"start": {
"line": 184,
"column": 31
},
"end": {
"line": 184,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6063,
"end": 6064,
"loc": {
"start": {
"line": 184,
"column": 39
},
"end": {
"line": 184,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBlueprintShapeKey",
"start": 6064,
"end": 6084,
"loc": {
"start": {
"line": 184,
"column": 40
},
"end": {
"line": 184,
"column": 60
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6084,
"end": 6085,
"loc": {
"start": {
"line": 184,
"column": 60
},
"end": {
"line": 184,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6085,
"end": 6086,
"loc": {
"start": {
"line": 184,
"column": 61
},
"end": {
"line": 184,
"column": 62
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6086,
"end": 6087,
"loc": {
"start": {
"line": 184,
"column": 62
},
"end": {
"line": 184,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "canUnpin",
"start": 6105,
"end": 6113,
"loc": {
"start": {
"line": 185,
"column": 16
},
"end": {
"line": 185,
"column": 24
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6113,
"end": 6114,
"loc": {
"start": {
"line": 185,
"column": 24
},
"end": {
"line": 185,
"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": 6115,
"end": 6120,
"loc": {
"start": {
"line": 185,
"column": 26
},
"end": {
"line": 185,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6120,
"end": 6121,
"loc": {
"start": {
"line": 185,
"column": 31
},
"end": {
"line": 185,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "className",
"start": 6139,
"end": 6148,
"loc": {
"start": {
"line": 186,
"column": 16
},
"end": {
"line": 186,
"column": 25
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6148,
"end": 6149,
"loc": {
"start": {
"line": 186,
"column": 25
},
"end": {
"line": 186,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "blueprint",
"start": 6150,
"end": 6161,
"loc": {
"start": {
"line": 186,
"column": 27
},
"end": {
"line": 186,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6161,
"end": 6162,
"loc": {
"start": {
"line": 186,
"column": 38
},
"end": {
"line": 186,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6176,
"end": 6177,
"loc": {
"start": {
"line": 187,
"column": 12
},
"end": {
"line": 187,
"column": 13
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6177,
"end": 6178,
"loc": {
"start": {
"line": 187,
"column": 13
},
"end": {
"line": 187,
"column": 14
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6178,
"end": 6179,
"loc": {
"start": {
"line": 187,
"column": 14
},
"end": {
"line": 187,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6189,
"end": 6190,
"loc": {
"start": {
"line": 188,
"column": 8
},
"end": {
"line": 188,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Pin manually pinned shapes",
"start": 6202,
"end": 6231,
"loc": {
"start": {
"line": 190,
"column": 8
},
"end": {
"line": 190,
"column": 37
}
}
},
{
"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": 6241,
"end": 6244,
"loc": {
"start": {
"line": 191,
"column": 8
},
"end": {
"line": 191,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6245,
"end": 6246,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"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": 6246,
"end": 6249,
"loc": {
"start": {
"line": 191,
"column": 13
},
"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": "i",
"start": 6250,
"end": 6251,
"loc": {
"start": {
"line": 191,
"column": 17
},
"end": {
"line": 191,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6252,
"end": 6253,
"loc": {
"start": {
"line": 191,
"column": 19
},
"end": {
"line": 191,
"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": 6254,
"end": 6255,
"loc": {
"start": {
"line": 191,
"column": 21
},
"end": {
"line": 191,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6255,
"end": 6256,
"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": "i",
"start": 6257,
"end": 6258,
"loc": {
"start": {
"line": 191,
"column": 24
},
"end": {
"line": 191,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 6259,
"end": 6260,
"loc": {
"start": {
"line": 191,
"column": 26
},
"end": {
"line": 191,
"column": 27
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6261,
"end": 6265,
"loc": {
"start": {
"line": 191,
"column": 28
},
"end": {
"line": 191,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6265,
"end": 6266,
"loc": {
"start": {
"line": 191,
"column": 32
},
"end": {
"line": 191,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinnedShapes",
"start": 6266,
"end": 6278,
"loc": {
"start": {
"line": 191,
"column": 33
},
"end": {
"line": 191,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6278,
"end": 6279,
"loc": {
"start": {
"line": 191,
"column": 45
},
"end": {
"line": 191,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 6279,
"end": 6285,
"loc": {
"start": {
"line": 191,
"column": 46
},
"end": {
"line": 191,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6285,
"end": 6286,
"loc": {
"start": {
"line": 191,
"column": 52
},
"end": {
"line": 191,
"column": 53
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 6287,
"end": 6289,
"loc": {
"start": {
"line": 191,
"column": 54
},
"end": {
"line": 191,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 6289,
"end": 6290,
"loc": {
"start": {
"line": 191,
"column": 56
},
"end": {
"line": 191,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6290,
"end": 6291,
"loc": {
"start": {
"line": 191,
"column": 57
},
"end": {
"line": 191,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6292,
"end": 6293,
"loc": {
"start": {
"line": 191,
"column": 59
},
"end": {
"line": 191,
"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": 6307,
"end": 6312,
"loc": {
"start": {
"line": 192,
"column": 12
},
"end": {
"line": 192,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 6313,
"end": 6316,
"loc": {
"start": {
"line": 192,
"column": 18
},
"end": {
"line": 192,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6317,
"end": 6318,
"loc": {
"start": {
"line": 192,
"column": 22
},
"end": {
"line": 192,
"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": 6319,
"end": 6323,
"loc": {
"start": {
"line": 192,
"column": 24
},
"end": {
"line": 192,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6323,
"end": 6324,
"loc": {
"start": {
"line": 192,
"column": 28
},
"end": {
"line": 192,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinnedShapes",
"start": 6324,
"end": 6336,
"loc": {
"start": {
"line": 192,
"column": 29
},
"end": {
"line": 192,
"column": 41
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6336,
"end": 6337,
"loc": {
"start": {
"line": 192,
"column": 41
},
"end": {
"line": 192,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 6337,
"end": 6338,
"loc": {
"start": {
"line": 192,
"column": 42
},
"end": {
"line": 192,
"column": 43
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6338,
"end": 6339,
"loc": {
"start": {
"line": 192,
"column": 43
},
"end": {
"line": 192,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6339,
"end": 6340,
"loc": {
"start": {
"line": 192,
"column": 44
},
"end": {
"line": 192,
"column": 45
}
}
},
{
"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": 6354,
"end": 6356,
"loc": {
"start": {
"line": 193,
"column": 12
},
"end": {
"line": 193,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6357,
"end": 6358,
"loc": {
"start": {
"line": 193,
"column": 15
},
"end": {
"line": 193,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 6358,
"end": 6361,
"loc": {
"start": {
"line": 193,
"column": 16
},
"end": {
"line": 193,
"column": 19
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 6362,
"end": 6365,
"loc": {
"start": {
"line": 193,
"column": 20
},
"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": "currentKey",
"start": 6366,
"end": 6376,
"loc": {
"start": {
"line": 193,
"column": 24
},
"end": {
"line": 193,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6376,
"end": 6377,
"loc": {
"start": {
"line": 193,
"column": 34
},
"end": {
"line": 193,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6378,
"end": 6379,
"loc": {
"start": {
"line": 193,
"column": 36
},
"end": {
"line": 193,
"column": 37
}
}
},
{
"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": 6397,
"end": 6401,
"loc": {
"start": {
"line": 194,
"column": 16
},
"end": {
"line": 194,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6401,
"end": 6402,
"loc": {
"start": {
"line": 194,
"column": 20
},
"end": {
"line": 194,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "internalPinShape",
"start": 6402,
"end": 6418,
"loc": {
"start": {
"line": 194,
"column": 21
},
"end": {
"line": 194,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6418,
"end": 6419,
"loc": {
"start": {
"line": 194,
"column": 37
},
"end": {
"line": 194,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6419,
"end": 6420,
"loc": {
"start": {
"line": 194,
"column": 38
},
"end": {
"line": 194,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 6421,
"end": 6424,
"loc": {
"start": {
"line": 194,
"column": 40
},
"end": {
"line": 194,
"column": 43
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6425,
"end": 6426,
"loc": {
"start": {
"line": 194,
"column": 44
},
"end": {
"line": 194,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6426,
"end": 6427,
"loc": {
"start": {
"line": 194,
"column": 45
},
"end": {
"line": 194,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6427,
"end": 6428,
"loc": {
"start": {
"line": 194,
"column": 46
},
"end": {
"line": 194,
"column": 47
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6442,
"end": 6443,
"loc": {
"start": {
"line": 195,
"column": 12
},
"end": {
"line": 195,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6453,
"end": 6454,
"loc": {
"start": {
"line": 196,
"column": 8
},
"end": {
"line": 196,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6460,
"end": 6461,
"loc": {
"start": {
"line": 197,
"column": 4
},
"end": {
"line": 197,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Pins a new shape\r\n * @param {object} param0\r\n * @param {string} param0.key\r\n * @param {boolean=} param0.canUnpin\r\n * @param {string=} param0.className\r\n * @param {boolean=} param0.throughputOnly\r\n ",
"start": 6469,
"end": 6704,
"loc": {
"start": {
"line": 199,
"column": 4
},
"end": {
"line": 206,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "internalPinShape",
"start": 6710,
"end": 6726,
"loc": {
"start": {
"line": 207,
"column": 4
},
"end": {
"line": 207,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6726,
"end": 6727,
"loc": {
"start": {
"line": 207,
"column": 20
},
"end": {
"line": 207,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6727,
"end": 6728,
"loc": {
"start": {
"line": 207,
"column": 21
},
"end": {
"line": 207,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 6729,
"end": 6732,
"loc": {
"start": {
"line": 207,
"column": 23
},
"end": {
"line": 207,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6732,
"end": 6733,
"loc": {
"start": {
"line": 207,
"column": 26
},
"end": {
"line": 207,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "canUnpin",
"start": 6734,
"end": 6742,
"loc": {
"start": {
"line": 207,
"column": 28
},
"end": {
"line": 207,
"column": 36
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6743,
"end": 6744,
"loc": {
"start": {
"line": 207,
"column": 37
},
"end": {
"line": 207,
"column": 38
}
}
},
{
"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": 6745,
"end": 6749,
"loc": {
"start": {
"line": 207,
"column": 39
},
"end": {
"line": 207,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6749,
"end": 6750,
"loc": {
"start": {
"line": 207,
"column": 43
},
"end": {
"line": 207,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "className",
"start": 6751,
"end": 6760,
"loc": {
"start": {
"line": 207,
"column": 45
},
"end": {
"line": 207,
"column": 54
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6761,
"end": 6762,
"loc": {
"start": {
"line": 207,
"column": 55
},
"end": {
"line": 207,
"column": 56
}
}
},
{
"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": 6763,
"end": 6767,
"loc": {
"start": {
"line": 207,
"column": 57
},
"end": {
"line": 207,
"column": 61
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6767,
"end": 6768,
"loc": {
"start": {
"line": 207,
"column": 61
},
"end": {
"line": 207,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "throughputOnly",
"start": 6769,
"end": 6783,
"loc": {
"start": {
"line": 207,
"column": 63
},
"end": {
"line": 207,
"column": 77
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6784,
"end": 6785,
"loc": {
"start": {
"line": 207,
"column": 78
},
"end": {
"line": 207,
"column": 79
}
}
},
{
"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": 6786,
"end": 6791,
"loc": {
"start": {
"line": 207,
"column": 80
},
"end": {
"line": 207,
"column": 85
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6792,
"end": 6793,
"loc": {
"start": {
"line": 207,
"column": 86
},
"end": {
"line": 207,
"column": 87
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6793,
"end": 6794,
"loc": {
"start": {
"line": 207,
"column": 87
},
"end": {
"line": 207,
"column": 88
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6795,
"end": 6796,
"loc": {
"start": {
"line": 207,
"column": 89
},
"end": {
"line": 207,
"column": 90
}
}
},
{
"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": 6806,
"end": 6811,
"loc": {
"start": {
"line": 208,
"column": 8
},
"end": {
"line": 208,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 6812,
"end": 6822,
"loc": {
"start": {
"line": 208,
"column": 14
},
"end": {
"line": 208,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6823,
"end": 6824,
"loc": {
"start": {
"line": 208,
"column": 25
},
"end": {
"line": 208,
"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": 6825,
"end": 6829,
"loc": {
"start": {
"line": 208,
"column": 27
},
"end": {
"line": 208,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6829,
"end": 6830,
"loc": {
"start": {
"line": 208,
"column": 31
},
"end": {
"line": 208,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6830,
"end": 6834,
"loc": {
"start": {
"line": 208,
"column": 32
},
"end": {
"line": 208,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6834,
"end": 6835,
"loc": {
"start": {
"line": 208,
"column": 36
},
"end": {
"line": 208,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeDefinitionMgr",
"start": 6835,
"end": 6853,
"loc": {
"start": {
"line": 208,
"column": 37
},
"end": {
"line": 208,
"column": 55
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6853,
"end": 6854,
"loc": {
"start": {
"line": 208,
"column": 55
},
"end": {
"line": 208,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getShapeFromShortKey",
"start": 6854,
"end": 6874,
"loc": {
"start": {
"line": 208,
"column": 56
},
"end": {
"line": 208,
"column": 76
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6874,
"end": 6875,
"loc": {
"start": {
"line": 208,
"column": 76
},
"end": {
"line": 208,
"column": 77
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 6875,
"end": 6878,
"loc": {
"start": {
"line": 208,
"column": 77
},
"end": {
"line": 208,
"column": 80
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6878,
"end": 6879,
"loc": {
"start": {
"line": 208,
"column": 80
},
"end": {
"line": 208,
"column": 81
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6879,
"end": 6880,
"loc": {
"start": {
"line": 208,
"column": 81
},
"end": {
"line": 208,
"column": 82
}
}
},
{
"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": 6892,
"end": 6897,
"loc": {
"start": {
"line": 210,
"column": 8
},
"end": {
"line": 210,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 6898,
"end": 6905,
"loc": {
"start": {
"line": 210,
"column": 14
},
"end": {
"line": 210,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6906,
"end": 6907,
"loc": {
"start": {
"line": 210,
"column": 22
},
"end": {
"line": 210,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeDiv",
"start": 6908,
"end": 6915,
"loc": {
"start": {
"line": 210,
"column": 24
},
"end": {
"line": 210,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6915,
"end": 6916,
"loc": {
"start": {
"line": 210,
"column": 31
},
"end": {
"line": 210,
"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": 6916,
"end": 6920,
"loc": {
"start": {
"line": 210,
"column": 32
},
"end": {
"line": 210,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6920,
"end": 6921,
"loc": {
"start": {
"line": 210,
"column": 36
},
"end": {
"line": 210,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 6921,
"end": 6928,
"loc": {
"start": {
"line": 210,
"column": 37
},
"end": {
"line": 210,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6928,
"end": 6929,
"loc": {
"start": {
"line": 210,
"column": 44
},
"end": {
"line": 210,
"column": 45
}
}
},
{
"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": 6930,
"end": 6934,
"loc": {
"start": {
"line": 210,
"column": 46
},
"end": {
"line": 210,
"column": 50
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6934,
"end": 6935,
"loc": {
"start": {
"line": 210,
"column": 50
},
"end": {
"line": 210,
"column": 51
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6936,
"end": 6937,
"loc": {
"start": {
"line": 210,
"column": 52
},
"end": {
"line": 210,
"column": 53
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "shape",
"start": 6937,
"end": 6944,
"loc": {
"start": {
"line": 210,
"column": 53
},
"end": {
"line": 210,
"column": 60
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6944,
"end": 6945,
"loc": {
"start": {
"line": 210,
"column": 60
},
"end": {
"line": 210,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6945,
"end": 6946,
"loc": {
"start": {
"line": 210,
"column": 61
},
"end": {
"line": 210,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6946,
"end": 6947,
"loc": {
"start": {
"line": 210,
"column": 62
},
"end": {
"line": 210,
"column": 63
}
}
},
{
"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": 6957,
"end": 6962,
"loc": {
"start": {
"line": 211,
"column": 8
},
"end": {
"line": 211,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "canvas",
"start": 6963,
"end": 6969,
"loc": {
"start": {
"line": 211,
"column": 14
},
"end": {
"line": 211,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6970,
"end": 6971,
"loc": {
"start": {
"line": 211,
"column": 21
},
"end": {
"line": 211,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 6972,
"end": 6982,
"loc": {
"start": {
"line": 211,
"column": 23
},
"end": {
"line": 211,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6982,
"end": 6983,
"loc": {
"start": {
"line": 211,
"column": 33
},
"end": {
"line": 211,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "generateAsCanvas",
"start": 6983,
"end": 6999,
"loc": {
"start": {
"line": 211,
"column": 34
},
"end": {
"line": 211,
"column": 50
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6999,
"end": 7000,
"loc": {
"start": {
"line": 211,
"column": 50
},
"end": {
"line": 211,
"column": 51
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 120,
"start": 7000,
"end": 7003,
"loc": {
"start": {
"line": 211,
"column": 51
},
"end": {
"line": 211,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7003,
"end": 7004,
"loc": {
"start": {
"line": 211,
"column": 54
},
"end": {
"line": 211,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7004,
"end": 7005,
"loc": {
"start": {
"line": 211,
"column": 55
},
"end": {
"line": 211,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 7015,
"end": 7022,
"loc": {
"start": {
"line": 212,
"column": 8
},
"end": {
"line": 212,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7022,
"end": 7023,
"loc": {
"start": {
"line": 212,
"column": 15
},
"end": {
"line": 212,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "appendChild",
"start": 7023,
"end": 7034,
"loc": {
"start": {
"line": 212,
"column": 16
},
"end": {
"line": 212,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7034,
"end": 7035,
"loc": {
"start": {
"line": 212,
"column": 27
},
"end": {
"line": 212,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "canvas",
"start": 7035,
"end": 7041,
"loc": {
"start": {
"line": 212,
"column": 28
},
"end": {
"line": 212,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7041,
"end": 7042,
"loc": {
"start": {
"line": 212,
"column": 34
},
"end": {
"line": 212,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7042,
"end": 7043,
"loc": {
"start": {
"line": 212,
"column": 35
},
"end": {
"line": 212,
"column": 36
}
}
},
{
"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": 7055,
"end": 7057,
"loc": {
"start": {
"line": 214,
"column": 8
},
"end": {
"line": 214,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7058,
"end": 7059,
"loc": {
"start": {
"line": 214,
"column": 11
},
"end": {
"line": 214,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "className",
"start": 7059,
"end": 7068,
"loc": {
"start": {
"line": 214,
"column": 12
},
"end": {
"line": 214,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7068,
"end": 7069,
"loc": {
"start": {
"line": 214,
"column": 21
},
"end": {
"line": 214,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7070,
"end": 7071,
"loc": {
"start": {
"line": 214,
"column": 23
},
"end": {
"line": 214,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 7085,
"end": 7092,
"loc": {
"start": {
"line": 215,
"column": 12
},
"end": {
"line": 215,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7092,
"end": 7093,
"loc": {
"start": {
"line": 215,
"column": 19
},
"end": {
"line": 215,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 7093,
"end": 7102,
"loc": {
"start": {
"line": 215,
"column": 20
},
"end": {
"line": 215,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7102,
"end": 7103,
"loc": {
"start": {
"line": 215,
"column": 29
},
"end": {
"line": 215,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 7103,
"end": 7106,
"loc": {
"start": {
"line": 215,
"column": 30
},
"end": {
"line": 215,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7106,
"end": 7107,
"loc": {
"start": {
"line": 215,
"column": 33
},
"end": {
"line": 215,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "className",
"start": 7107,
"end": 7116,
"loc": {
"start": {
"line": 215,
"column": 34
},
"end": {
"line": 215,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7116,
"end": 7117,
"loc": {
"start": {
"line": 215,
"column": 43
},
"end": {
"line": 215,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7117,
"end": 7118,
"loc": {
"start": {
"line": 215,
"column": 44
},
"end": {
"line": 215,
"column": 45
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7128,
"end": 7129,
"loc": {
"start": {
"line": 216,
"column": 8
},
"end": {
"line": 216,
"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": 7141,
"end": 7144,
"loc": {
"start": {
"line": 218,
"column": 8
},
"end": {
"line": 218,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "detector",
"start": 7145,
"end": 7153,
"loc": {
"start": {
"line": 218,
"column": 12
},
"end": {
"line": 218,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7154,
"end": 7155,
"loc": {
"start": {
"line": 218,
"column": 21
},
"end": {
"line": 218,
"column": 22
}
}
},
{
"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": 7156,
"end": 7160,
"loc": {
"start": {
"line": 218,
"column": 23
},
"end": {
"line": 218,
"column": 27
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7160,
"end": 7161,
"loc": {
"start": {
"line": 218,
"column": 27
},
"end": {
"line": 218,
"column": 28
}
}
},
{
"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": 7171,
"end": 7173,
"loc": {
"start": {
"line": 219,
"column": 8
},
"end": {
"line": 219,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7174,
"end": 7175,
"loc": {
"start": {
"line": 219,
"column": 11
},
"end": {
"line": 219,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "canUnpin",
"start": 7175,
"end": 7183,
"loc": {
"start": {
"line": 219,
"column": 12
},
"end": {
"line": 219,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7183,
"end": 7184,
"loc": {
"start": {
"line": 219,
"column": 20
},
"end": {
"line": 219,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7185,
"end": 7186,
"loc": {
"start": {
"line": 219,
"column": 22
},
"end": {
"line": 219,
"column": 23
}
}
},
{
"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": 7200,
"end": 7205,
"loc": {
"start": {
"line": 220,
"column": 12
},
"end": {
"line": 220,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unpinButton",
"start": 7206,
"end": 7217,
"loc": {
"start": {
"line": 220,
"column": 18
},
"end": {
"line": 220,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7218,
"end": 7219,
"loc": {
"start": {
"line": 220,
"column": 30
},
"end": {
"line": 220,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "document",
"start": 7220,
"end": 7228,
"loc": {
"start": {
"line": 220,
"column": 32
},
"end": {
"line": 220,
"column": 40
}
}
},
{
"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": 220,
"column": 40
},
"end": {
"line": 220,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createElement",
"start": 7229,
"end": 7242,
"loc": {
"start": {
"line": 220,
"column": 41
},
"end": {
"line": 220,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7242,
"end": 7243,
"loc": {
"start": {
"line": 220,
"column": 54
},
"end": {
"line": 220,
"column": 55
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "button",
"start": 7243,
"end": 7251,
"loc": {
"start": {
"line": 220,
"column": 55
},
"end": {
"line": 220,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7251,
"end": 7252,
"loc": {
"start": {
"line": 220,
"column": 63
},
"end": {
"line": 220,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7252,
"end": 7253,
"loc": {
"start": {
"line": 220,
"column": 64
},
"end": {
"line": 220,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unpinButton",
"start": 7267,
"end": 7278,
"loc": {
"start": {
"line": 221,
"column": 12
},
"end": {
"line": 221,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7278,
"end": 7279,
"loc": {
"start": {
"line": 221,
"column": 23
},
"end": {
"line": 221,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 7279,
"end": 7288,
"loc": {
"start": {
"line": 221,
"column": 24
},
"end": {
"line": 221,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7288,
"end": 7289,
"loc": {
"start": {
"line": 221,
"column": 33
},
"end": {
"line": 221,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 7289,
"end": 7292,
"loc": {
"start": {
"line": 221,
"column": 34
},
"end": {
"line": 221,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7292,
"end": 7293,
"loc": {
"start": {
"line": 221,
"column": 37
},
"end": {
"line": 221,
"column": 38
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "unpinButton",
"start": 7293,
"end": 7306,
"loc": {
"start": {
"line": 221,
"column": 38
},
"end": {
"line": 221,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7306,
"end": 7307,
"loc": {
"start": {
"line": 221,
"column": 51
},
"end": {
"line": 221,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7307,
"end": 7308,
"loc": {
"start": {
"line": 221,
"column": 52
},
"end": {
"line": 221,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 7322,
"end": 7329,
"loc": {
"start": {
"line": 222,
"column": 12
},
"end": {
"line": 222,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7329,
"end": 7330,
"loc": {
"start": {
"line": 222,
"column": 19
},
"end": {
"line": 222,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "appendChild",
"start": 7330,
"end": 7341,
"loc": {
"start": {
"line": 222,
"column": 20
},
"end": {
"line": 222,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7341,
"end": 7342,
"loc": {
"start": {
"line": 222,
"column": 31
},
"end": {
"line": 222,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unpinButton",
"start": 7342,
"end": 7353,
"loc": {
"start": {
"line": 222,
"column": 32
},
"end": {
"line": 222,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7353,
"end": 7354,
"loc": {
"start": {
"line": 222,
"column": 43
},
"end": {
"line": 222,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7354,
"end": 7355,
"loc": {
"start": {
"line": 222,
"column": 44
},
"end": {
"line": 222,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 7369,
"end": 7376,
"loc": {
"start": {
"line": 223,
"column": 12
},
"end": {
"line": 223,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7376,
"end": 7377,
"loc": {
"start": {
"line": 223,
"column": 19
},
"end": {
"line": 223,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 7377,
"end": 7386,
"loc": {
"start": {
"line": 223,
"column": 20
},
"end": {
"line": 223,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7386,
"end": 7387,
"loc": {
"start": {
"line": 223,
"column": 29
},
"end": {
"line": 223,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 7387,
"end": 7390,
"loc": {
"start": {
"line": 223,
"column": 30
},
"end": {
"line": 223,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7390,
"end": 7391,
"loc": {
"start": {
"line": 223,
"column": 33
},
"end": {
"line": 223,
"column": 34
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "removable",
"start": 7391,
"end": 7402,
"loc": {
"start": {
"line": 223,
"column": 34
},
"end": {
"line": 223,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7402,
"end": 7403,
"loc": {
"start": {
"line": 223,
"column": 45
},
"end": {
"line": 223,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7403,
"end": 7404,
"loc": {
"start": {
"line": 223,
"column": 46
},
"end": {
"line": 223,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "detector",
"start": 7418,
"end": 7426,
"loc": {
"start": {
"line": 224,
"column": 12
},
"end": {
"line": 224,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7427,
"end": 7428,
"loc": {
"start": {
"line": 224,
"column": 21
},
"end": {
"line": 224,
"column": 22
}
}
},
{
"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": 7429,
"end": 7432,
"loc": {
"start": {
"line": 224,
"column": 23
},
"end": {
"line": 224,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ClickDetector",
"start": 7433,
"end": 7446,
"loc": {
"start": {
"line": 224,
"column": 27
},
"end": {
"line": 224,
"column": 40
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7446,
"end": 7447,
"loc": {
"start": {
"line": 224,
"column": 40
},
"end": {
"line": 224,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unpinButton",
"start": 7447,
"end": 7458,
"loc": {
"start": {
"line": 224,
"column": 41
},
"end": {
"line": 224,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7458,
"end": 7459,
"loc": {
"start": {
"line": 224,
"column": 52
},
"end": {
"line": 224,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7460,
"end": 7461,
"loc": {
"start": {
"line": 224,
"column": 54
},
"end": {
"line": 224,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "consumeEvents",
"start": 7479,
"end": 7492,
"loc": {
"start": {
"line": 225,
"column": 16
},
"end": {
"line": 225,
"column": 29
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7492,
"end": 7493,
"loc": {
"start": {
"line": 225,
"column": 29
},
"end": {
"line": 225,
"column": 30
}
}
},
{
"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": 7494,
"end": 7498,
"loc": {
"start": {
"line": 225,
"column": 31
},
"end": {
"line": 225,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7498,
"end": 7499,
"loc": {
"start": {
"line": 225,
"column": 35
},
"end": {
"line": 225,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "preventDefault",
"start": 7517,
"end": 7531,
"loc": {
"start": {
"line": 226,
"column": 16
},
"end": {
"line": 226,
"column": 30
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7531,
"end": 7532,
"loc": {
"start": {
"line": 226,
"column": 30
},
"end": {
"line": 226,
"column": 31
}
}
},
{
"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": 7533,
"end": 7537,
"loc": {
"start": {
"line": 226,
"column": 32
},
"end": {
"line": 226,
"column": 36
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7537,
"end": 7538,
"loc": {
"start": {
"line": 226,
"column": 36
},
"end": {
"line": 226,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetOnly",
"start": 7556,
"end": 7566,
"loc": {
"start": {
"line": 227,
"column": 16
},
"end": {
"line": 227,
"column": 26
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7566,
"end": 7567,
"loc": {
"start": {
"line": 227,
"column": 26
},
"end": {
"line": 227,
"column": 27
}
}
},
{
"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": 7568,
"end": 7572,
"loc": {
"start": {
"line": 227,
"column": 28
},
"end": {
"line": 227,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7572,
"end": 7573,
"loc": {
"start": {
"line": 227,
"column": 32
},
"end": {
"line": 227,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7587,
"end": 7588,
"loc": {
"start": {
"line": 228,
"column": 12
},
"end": {
"line": 228,
"column": 13
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7588,
"end": 7589,
"loc": {
"start": {
"line": 228,
"column": 13
},
"end": {
"line": 228,
"column": 14
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7589,
"end": 7590,
"loc": {
"start": {
"line": 228,
"column": 14
},
"end": {
"line": 228,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "detector",
"start": 7604,
"end": 7612,
"loc": {
"start": {
"line": 229,
"column": 12
},
"end": {
"line": 229,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7612,
"end": 7613,
"loc": {
"start": {
"line": 229,
"column": 20
},
"end": {
"line": 229,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "click",
"start": 7613,
"end": 7618,
"loc": {
"start": {
"line": 229,
"column": 21
},
"end": {
"line": 229,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7618,
"end": 7619,
"loc": {
"start": {
"line": 229,
"column": 26
},
"end": {
"line": 229,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 7619,
"end": 7622,
"loc": {
"start": {
"line": 229,
"column": 27
},
"end": {
"line": 229,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7622,
"end": 7623,
"loc": {
"start": {
"line": 229,
"column": 30
},
"end": {
"line": 229,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7623,
"end": 7624,
"loc": {
"start": {
"line": 229,
"column": 31
},
"end": {
"line": 229,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7624,
"end": 7625,
"loc": {
"start": {
"line": 229,
"column": 32
},
"end": {
"line": 229,
"column": 33
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7626,
"end": 7628,
"loc": {
"start": {
"line": 229,
"column": 34
},
"end": {
"line": 229,
"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": 7629,
"end": 7633,
"loc": {
"start": {
"line": 229,
"column": 37
},
"end": {
"line": 229,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7633,
"end": 7634,
"loc": {
"start": {
"line": 229,
"column": 41
},
"end": {
"line": 229,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unpinShape",
"start": 7634,
"end": 7644,
"loc": {
"start": {
"line": 229,
"column": 42
},
"end": {
"line": 229,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7644,
"end": 7645,
"loc": {
"start": {
"line": 229,
"column": 52
},
"end": {
"line": 229,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 7645,
"end": 7648,
"loc": {
"start": {
"line": 229,
"column": 53
},
"end": {
"line": 229,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7648,
"end": 7649,
"loc": {
"start": {
"line": 229,
"column": 56
},
"end": {
"line": 229,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7649,
"end": 7650,
"loc": {
"start": {
"line": 229,
"column": 57
},
"end": {
"line": 229,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7650,
"end": 7651,
"loc": {
"start": {
"line": 229,
"column": 58
},
"end": {
"line": 229,
"column": 59
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7661,
"end": 7662,
"loc": {
"start": {
"line": 230,
"column": 8
},
"end": {
"line": 230,
"column": 9
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 7663,
"end": 7667,
"loc": {
"start": {
"line": 230,
"column": 10
},
"end": {
"line": 230,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7668,
"end": 7669,
"loc": {
"start": {
"line": 230,
"column": 15
},
"end": {
"line": 230,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 7683,
"end": 7690,
"loc": {
"start": {
"line": 231,
"column": 12
},
"end": {
"line": 231,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7690,
"end": 7691,
"loc": {
"start": {
"line": 231,
"column": 19
},
"end": {
"line": 231,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 7691,
"end": 7700,
"loc": {
"start": {
"line": 231,
"column": 20
},
"end": {
"line": 231,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7700,
"end": 7701,
"loc": {
"start": {
"line": 231,
"column": 29
},
"end": {
"line": 231,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 7701,
"end": 7704,
"loc": {
"start": {
"line": 231,
"column": 30
},
"end": {
"line": 231,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7704,
"end": 7705,
"loc": {
"start": {
"line": 231,
"column": 33
},
"end": {
"line": 231,
"column": 34
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "marked",
"start": 7705,
"end": 7713,
"loc": {
"start": {
"line": 231,
"column": 34
},
"end": {
"line": 231,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7713,
"end": 7714,
"loc": {
"start": {
"line": 231,
"column": 42
},
"end": {
"line": 231,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7714,
"end": 7715,
"loc": {
"start": {
"line": 231,
"column": 43
},
"end": {
"line": 231,
"column": 44
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7725,
"end": 7726,
"loc": {
"start": {
"line": 232,
"column": 8
},
"end": {
"line": 232,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Show small info icon",
"start": 7738,
"end": 7761,
"loc": {
"start": {
"line": 234,
"column": 8
},
"end": {
"line": 234,
"column": 31
}
}
},
{
"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": 7771,
"end": 7776,
"loc": {
"start": {
"line": 235,
"column": 8
},
"end": {
"line": 235,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "infoButton",
"start": 7777,
"end": 7787,
"loc": {
"start": {
"line": 235,
"column": 14
},
"end": {
"line": 235,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7788,
"end": 7789,
"loc": {
"start": {
"line": 235,
"column": 25
},
"end": {
"line": 235,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "document",
"start": 7790,
"end": 7798,
"loc": {
"start": {
"line": 235,
"column": 27
},
"end": {
"line": 235,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7798,
"end": 7799,
"loc": {
"start": {
"line": 235,
"column": 35
},
"end": {
"line": 235,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createElement",
"start": 7799,
"end": 7812,
"loc": {
"start": {
"line": 235,
"column": 36
},
"end": {
"line": 235,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7812,
"end": 7813,
"loc": {
"start": {
"line": 235,
"column": 49
},
"end": {
"line": 235,
"column": 50
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "button",
"start": 7813,
"end": 7821,
"loc": {
"start": {
"line": 235,
"column": 50
},
"end": {
"line": 235,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7821,
"end": 7822,
"loc": {
"start": {
"line": 235,
"column": 58
},
"end": {
"line": 235,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7822,
"end": 7823,
"loc": {
"start": {
"line": 235,
"column": 59
},
"end": {
"line": 235,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "infoButton",
"start": 7833,
"end": 7843,
"loc": {
"start": {
"line": 236,
"column": 8
},
"end": {
"line": 236,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7843,
"end": 7844,
"loc": {
"start": {
"line": 236,
"column": 18
},
"end": {
"line": 236,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 7844,
"end": 7853,
"loc": {
"start": {
"line": 236,
"column": 19
},
"end": {
"line": 236,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7853,
"end": 7854,
"loc": {
"start": {
"line": 236,
"column": 28
},
"end": {
"line": 236,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 7854,
"end": 7857,
"loc": {
"start": {
"line": 236,
"column": 29
},
"end": {
"line": 236,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7857,
"end": 7858,
"loc": {
"start": {
"line": 236,
"column": 32
},
"end": {
"line": 236,
"column": 33
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "infoButton",
"start": 7858,
"end": 7870,
"loc": {
"start": {
"line": 236,
"column": 33
},
"end": {
"line": 236,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7870,
"end": 7871,
"loc": {
"start": {
"line": 236,
"column": 45
},
"end": {
"line": 236,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7871,
"end": 7872,
"loc": {
"start": {
"line": 236,
"column": 46
},
"end": {
"line": 236,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 7882,
"end": 7889,
"loc": {
"start": {
"line": 237,
"column": 8
},
"end": {
"line": 237,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7889,
"end": 7890,
"loc": {
"start": {
"line": 237,
"column": 15
},
"end": {
"line": 237,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "appendChild",
"start": 7890,
"end": 7901,
"loc": {
"start": {
"line": 237,
"column": 16
},
"end": {
"line": 237,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7901,
"end": 7902,
"loc": {
"start": {
"line": 237,
"column": 27
},
"end": {
"line": 237,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "infoButton",
"start": 7902,
"end": 7912,
"loc": {
"start": {
"line": 237,
"column": 28
},
"end": {
"line": 237,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7912,
"end": 7913,
"loc": {
"start": {
"line": 237,
"column": 38
},
"end": {
"line": 237,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7913,
"end": 7914,
"loc": {
"start": {
"line": 237,
"column": 39
},
"end": {
"line": 237,
"column": 40
}
}
},
{
"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": 7924,
"end": 7929,
"loc": {
"start": {
"line": 238,
"column": 8
},
"end": {
"line": 238,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "infoDetector",
"start": 7930,
"end": 7942,
"loc": {
"start": {
"line": 238,
"column": 14
},
"end": {
"line": 238,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7943,
"end": 7944,
"loc": {
"start": {
"line": 238,
"column": 27
},
"end": {
"line": 238,
"column": 28
}
}
},
{
"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": 7945,
"end": 7948,
"loc": {
"start": {
"line": 238,
"column": 29
},
"end": {
"line": 238,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ClickDetector",
"start": 7949,
"end": 7962,
"loc": {
"start": {
"line": 238,
"column": 33
},
"end": {
"line": 238,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7962,
"end": 7963,
"loc": {
"start": {
"line": 238,
"column": 46
},
"end": {
"line": 238,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "infoButton",
"start": 7963,
"end": 7973,
"loc": {
"start": {
"line": 238,
"column": 47
},
"end": {
"line": 238,
"column": 57
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7973,
"end": 7974,
"loc": {
"start": {
"line": 238,
"column": 57
},
"end": {
"line": 238,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7975,
"end": 7976,
"loc": {
"start": {
"line": 238,
"column": 59
},
"end": {
"line": 238,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "consumeEvents",
"start": 7990,
"end": 8003,
"loc": {
"start": {
"line": 239,
"column": 12
},
"end": {
"line": 239,
"column": 25
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8003,
"end": 8004,
"loc": {
"start": {
"line": 239,
"column": 25
},
"end": {
"line": 239,
"column": 26
}
}
},
{
"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": 8005,
"end": 8009,
"loc": {
"start": {
"line": 239,
"column": 27
},
"end": {
"line": 239,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8009,
"end": 8010,
"loc": {
"start": {
"line": 239,
"column": 31
},
"end": {
"line": 239,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "preventDefault",
"start": 8024,
"end": 8038,
"loc": {
"start": {
"line": 240,
"column": 12
},
"end": {
"line": 240,
"column": 26
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8038,
"end": 8039,
"loc": {
"start": {
"line": 240,
"column": 26
},
"end": {
"line": 240,
"column": 27
}
}
},
{
"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": 8040,
"end": 8044,
"loc": {
"start": {
"line": 240,
"column": 28
},
"end": {
"line": 240,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8044,
"end": 8045,
"loc": {
"start": {
"line": 240,
"column": 32
},
"end": {
"line": 240,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetOnly",
"start": 8059,
"end": 8069,
"loc": {
"start": {
"line": 241,
"column": 12
},
"end": {
"line": 241,
"column": 22
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8069,
"end": 8070,
"loc": {
"start": {
"line": 241,
"column": 22
},
"end": {
"line": 241,
"column": 23
}
}
},
{
"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": 8071,
"end": 8075,
"loc": {
"start": {
"line": 241,
"column": 24
},
"end": {
"line": 241,
"column": 28
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8075,
"end": 8076,
"loc": {
"start": {
"line": 241,
"column": 28
},
"end": {
"line": 241,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8086,
"end": 8087,
"loc": {
"start": {
"line": 242,
"column": 8
},
"end": {
"line": 242,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8087,
"end": 8088,
"loc": {
"start": {
"line": 242,
"column": 9
},
"end": {
"line": 242,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8088,
"end": 8089,
"loc": {
"start": {
"line": 242,
"column": 10
},
"end": {
"line": 242,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "infoDetector",
"start": 8099,
"end": 8111,
"loc": {
"start": {
"line": 243,
"column": 8
},
"end": {
"line": 243,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8111,
"end": 8112,
"loc": {
"start": {
"line": 243,
"column": 20
},
"end": {
"line": 243,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "click",
"start": 8112,
"end": 8117,
"loc": {
"start": {
"line": 243,
"column": 21
},
"end": {
"line": 243,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8117,
"end": 8118,
"loc": {
"start": {
"line": 243,
"column": 26
},
"end": {
"line": 243,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 8118,
"end": 8121,
"loc": {
"start": {
"line": 243,
"column": 27
},
"end": {
"line": 243,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8121,
"end": 8122,
"loc": {
"start": {
"line": 243,
"column": 30
},
"end": {
"line": 243,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8122,
"end": 8123,
"loc": {
"start": {
"line": 243,
"column": 31
},
"end": {
"line": 243,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8123,
"end": 8124,
"loc": {
"start": {
"line": 243,
"column": 32
},
"end": {
"line": 243,
"column": 33
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8125,
"end": 8127,
"loc": {
"start": {
"line": 243,
"column": 34
},
"end": {
"line": 243,
"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": 8128,
"end": 8132,
"loc": {
"start": {
"line": 243,
"column": 37
},
"end": {
"line": 243,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8132,
"end": 8133,
"loc": {
"start": {
"line": 243,
"column": 41
},
"end": {
"line": 243,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 8133,
"end": 8137,
"loc": {
"start": {
"line": 243,
"column": 42
},
"end": {
"line": 243,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8137,
"end": 8138,
"loc": {
"start": {
"line": 243,
"column": 46
},
"end": {
"line": 243,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hud",
"start": 8138,
"end": 8141,
"loc": {
"start": {
"line": 243,
"column": 47
},
"end": {
"line": 243,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8141,
"end": 8142,
"loc": {
"start": {
"line": 243,
"column": 50
},
"end": {
"line": 243,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 8142,
"end": 8149,
"loc": {
"start": {
"line": 243,
"column": 51
},
"end": {
"line": 243,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8149,
"end": 8150,
"loc": {
"start": {
"line": 243,
"column": 58
},
"end": {
"line": 243,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewShapeDetailsRequested",
"start": 8150,
"end": 8175,
"loc": {
"start": {
"line": 243,
"column": 59
},
"end": {
"line": 243,
"column": 84
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8175,
"end": 8176,
"loc": {
"start": {
"line": 243,
"column": 84
},
"end": {
"line": 243,
"column": 85
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dispatch",
"start": 8176,
"end": 8184,
"loc": {
"start": {
"line": 243,
"column": 85
},
"end": {
"line": 243,
"column": 93
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8184,
"end": 8185,
"loc": {
"start": {
"line": 243,
"column": 93
},
"end": {
"line": 243,
"column": 94
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 8185,
"end": 8195,
"loc": {
"start": {
"line": 243,
"column": 94
},
"end": {
"line": 243,
"column": 104
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8195,
"end": 8196,
"loc": {
"start": {
"line": 243,
"column": 104
},
"end": {
"line": 243,
"column": 105
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8196,
"end": 8197,
"loc": {
"start": {
"line": 243,
"column": 105
},
"end": {
"line": 243,
"column": 106
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8197,
"end": 8198,
"loc": {
"start": {
"line": 243,
"column": 106
},
"end": {
"line": 243,
"column": 107
}
}
},
{
"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": 8210,
"end": 8215,
"loc": {
"start": {
"line": 245,
"column": 8
},
"end": {
"line": 245,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "amountLabel",
"start": 8216,
"end": 8227,
"loc": {
"start": {
"line": 245,
"column": 14
},
"end": {
"line": 245,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8228,
"end": 8229,
"loc": {
"start": {
"line": 245,
"column": 26
},
"end": {
"line": 245,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeDiv",
"start": 8230,
"end": 8237,
"loc": {
"start": {
"line": 245,
"column": 28
},
"end": {
"line": 245,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8237,
"end": 8238,
"loc": {
"start": {
"line": 245,
"column": 35
},
"end": {
"line": 245,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 8238,
"end": 8245,
"loc": {
"start": {
"line": 245,
"column": 36
},
"end": {
"line": 245,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8245,
"end": 8246,
"loc": {
"start": {
"line": 245,
"column": 43
},
"end": {
"line": 245,
"column": 44
}
}
},
{
"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": 8247,
"end": 8251,
"loc": {
"start": {
"line": 245,
"column": 45
},
"end": {
"line": 245,
"column": 49
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8251,
"end": 8252,
"loc": {
"start": {
"line": 245,
"column": 49
},
"end": {
"line": 245,
"column": 50
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8253,
"end": 8254,
"loc": {
"start": {
"line": 245,
"column": 51
},
"end": {
"line": 245,
"column": 52
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "amountLabel",
"start": 8254,
"end": 8267,
"loc": {
"start": {
"line": 245,
"column": 52
},
"end": {
"line": 245,
"column": 65
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8267,
"end": 8268,
"loc": {
"start": {
"line": 245,
"column": 65
},
"end": {
"line": 245,
"column": 66
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8268,
"end": 8269,
"loc": {
"start": {
"line": 245,
"column": 66
},
"end": {
"line": 245,
"column": 67
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 8270,
"end": 8272,
"loc": {
"start": {
"line": 245,
"column": 68
},
"end": {
"line": 245,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8272,
"end": 8273,
"loc": {
"start": {
"line": 245,
"column": 70
},
"end": {
"line": 245,
"column": 71
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8273,
"end": 8274,
"loc": {
"start": {
"line": 245,
"column": 71
},
"end": {
"line": 245,
"column": 72
}
}
},
{
"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": 8286,
"end": 8291,
"loc": {
"start": {
"line": 247,
"column": 8
},
"end": {
"line": 247,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "goal",
"start": 8292,
"end": 8296,
"loc": {
"start": {
"line": 247,
"column": 14
},
"end": {
"line": 247,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8297,
"end": 8298,
"loc": {
"start": {
"line": 247,
"column": 19
},
"end": {
"line": 247,
"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": 8299,
"end": 8303,
"loc": {
"start": {
"line": 247,
"column": 21
},
"end": {
"line": 247,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8303,
"end": 8304,
"loc": {
"start": {
"line": 247,
"column": 25
},
"end": {
"line": 247,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findGoalValueForShape",
"start": 8304,
"end": 8325,
"loc": {
"start": {
"line": 247,
"column": 26
},
"end": {
"line": 247,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8325,
"end": 8326,
"loc": {
"start": {
"line": 247,
"column": 47
},
"end": {
"line": 247,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 8326,
"end": 8329,
"loc": {
"start": {
"line": 247,
"column": 48
},
"end": {
"line": 247,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8329,
"end": 8330,
"loc": {
"start": {
"line": 247,
"column": 51
},
"end": {
"line": 247,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8330,
"end": 8331,
"loc": {
"start": {
"line": 247,
"column": 52
},
"end": {
"line": 247,
"column": 53
}
}
},
{
"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": 8341,
"end": 8343,
"loc": {
"start": {
"line": 248,
"column": 8
},
"end": {
"line": 248,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8344,
"end": 8345,
"loc": {
"start": {
"line": 248,
"column": 11
},
"end": {
"line": 248,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "goal",
"start": 8345,
"end": 8349,
"loc": {
"start": {
"line": 248,
"column": 12
},
"end": {
"line": 248,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8349,
"end": 8350,
"loc": {
"start": {
"line": 248,
"column": 16
},
"end": {
"line": 248,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8351,
"end": 8352,
"loc": {
"start": {
"line": 248,
"column": 18
},
"end": {
"line": 248,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeDiv",
"start": 8366,
"end": 8373,
"loc": {
"start": {
"line": 249,
"column": 12
},
"end": {
"line": 249,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8373,
"end": 8374,
"loc": {
"start": {
"line": 249,
"column": 19
},
"end": {
"line": 249,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 8374,
"end": 8381,
"loc": {
"start": {
"line": 249,
"column": 20
},
"end": {
"line": 249,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8381,
"end": 8382,
"loc": {
"start": {
"line": 249,
"column": 27
},
"end": {
"line": 249,
"column": 28
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 8383,
"end": 8387,
"loc": {
"start": {
"line": 249,
"column": 29
},
"end": {
"line": 249,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8387,
"end": 8388,
"loc": {
"start": {
"line": 249,
"column": 33
},
"end": {
"line": 249,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8389,
"end": 8390,
"loc": {
"start": {
"line": 249,
"column": 35
},
"end": {
"line": 249,
"column": 36
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "goalLabel",
"start": 8390,
"end": 8401,
"loc": {
"start": {
"line": 249,
"column": 36
},
"end": {
"line": 249,
"column": 47
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8401,
"end": 8402,
"loc": {
"start": {
"line": 249,
"column": 47
},
"end": {
"line": 249,
"column": 48
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8402,
"end": 8403,
"loc": {
"start": {
"line": 249,
"column": 48
},
"end": {
"line": 249,
"column": 49
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "/",
"start": 8404,
"end": 8407,
"loc": {
"start": {
"line": 249,
"column": 50
},
"end": {
"line": 249,
"column": 53
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 8408,
"end": 8409,
"loc": {
"start": {
"line": 249,
"column": 54
},
"end": {
"line": 249,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "formatBigNumber",
"start": 8410,
"end": 8425,
"loc": {
"start": {
"line": 249,
"column": 56
},
"end": {
"line": 249,
"column": 71
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8425,
"end": 8426,
"loc": {
"start": {
"line": 249,
"column": 71
},
"end": {
"line": 249,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "goal",
"start": 8426,
"end": 8430,
"loc": {
"start": {
"line": 249,
"column": 72
},
"end": {
"line": 249,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8430,
"end": 8431,
"loc": {
"start": {
"line": 249,
"column": 76
},
"end": {
"line": 249,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8431,
"end": 8432,
"loc": {
"start": {
"line": 249,
"column": 77
},
"end": {
"line": 249,
"column": 78
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8432,
"end": 8433,
"loc": {
"start": {
"line": 249,
"column": 78
},
"end": {
"line": 249,
"column": 79
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8443,
"end": 8444,
"loc": {
"start": {
"line": 250,
"column": 8
},
"end": {
"line": 250,
"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": 8456,
"end": 8460,
"loc": {
"start": {
"line": 252,
"column": 8
},
"end": {
"line": 252,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8460,
"end": 8461,
"loc": {
"start": {
"line": 252,
"column": 12
},
"end": {
"line": 252,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handles",
"start": 8461,
"end": 8468,
"loc": {
"start": {
"line": 252,
"column": 13
},
"end": {
"line": 252,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8468,
"end": 8469,
"loc": {
"start": {
"line": 252,
"column": 20
},
"end": {
"line": 252,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 8469,
"end": 8473,
"loc": {
"start": {
"line": 252,
"column": 21
},
"end": {
"line": 252,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8473,
"end": 8474,
"loc": {
"start": {
"line": 252,
"column": 25
},
"end": {
"line": 252,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8474,
"end": 8475,
"loc": {
"start": {
"line": 252,
"column": 26
},
"end": {
"line": 252,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 8489,
"end": 8492,
"loc": {
"start": {
"line": 253,
"column": 12
},
"end": {
"line": 253,
"column": 15
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8492,
"end": 8493,
"loc": {
"start": {
"line": 253,
"column": 15
},
"end": {
"line": 253,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 8507,
"end": 8517,
"loc": {
"start": {
"line": 254,
"column": 12
},
"end": {
"line": 254,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8517,
"end": 8518,
"loc": {
"start": {
"line": 254,
"column": 22
},
"end": {
"line": 254,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 8532,
"end": 8539,
"loc": {
"start": {
"line": 255,
"column": 12
},
"end": {
"line": 255,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8539,
"end": 8540,
"loc": {
"start": {
"line": 255,
"column": 19
},
"end": {
"line": 255,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "amountLabel",
"start": 8554,
"end": 8565,
"loc": {
"start": {
"line": 256,
"column": 12
},
"end": {
"line": 256,
"column": 23
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8565,
"end": 8566,
"loc": {
"start": {
"line": 256,
"column": 23
},
"end": {
"line": 256,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastRenderedValue",
"start": 8580,
"end": 8597,
"loc": {
"start": {
"line": 257,
"column": 12
},
"end": {
"line": 257,
"column": 29
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8597,
"end": 8598,
"loc": {
"start": {
"line": 257,
"column": 29
},
"end": {
"line": 257,
"column": 30
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 8599,
"end": 8601,
"loc": {
"start": {
"line": 257,
"column": 31
},
"end": {
"line": 257,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8601,
"end": 8602,
"loc": {
"start": {
"line": 257,
"column": 33
},
"end": {
"line": 257,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "detector",
"start": 8616,
"end": 8624,
"loc": {
"start": {
"line": 258,
"column": 12
},
"end": {
"line": 258,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8624,
"end": 8625,
"loc": {
"start": {
"line": 258,
"column": 20
},
"end": {
"line": 258,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "infoDetector",
"start": 8639,
"end": 8651,
"loc": {
"start": {
"line": 259,
"column": 12
},
"end": {
"line": 259,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8651,
"end": 8652,
"loc": {
"start": {
"line": 259,
"column": 24
},
"end": {
"line": 259,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "throughputOnly",
"start": 8666,
"end": 8680,
"loc": {
"start": {
"line": 260,
"column": 12
},
"end": {
"line": 260,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8680,
"end": 8681,
"loc": {
"start": {
"line": 260,
"column": 26
},
"end": {
"line": 260,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8691,
"end": 8692,
"loc": {
"start": {
"line": 261,
"column": 8
},
"end": {
"line": 261,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8692,
"end": 8693,
"loc": {
"start": {
"line": 261,
"column": 9
},
"end": {
"line": 261,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8693,
"end": 8694,
"loc": {
"start": {
"line": 261,
"column": 10
},
"end": {
"line": 261,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8700,
"end": 8701,
"loc": {
"start": {
"line": 262,
"column": 4
},
"end": {
"line": 262,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Updates all amount labels\r\n ",
"start": 8709,
"end": 8755,
"loc": {
"start": {
"line": 264,
"column": 4
},
"end": {
"line": 266,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "update",
"start": 8761,
"end": 8767,
"loc": {
"start": {
"line": 267,
"column": 4
},
"end": {
"line": 267,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8767,
"end": 8768,
"loc": {
"start": {
"line": 267,
"column": 10
},
"end": {
"line": 267,
"column": 11
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8768,
"end": 8769,
"loc": {
"start": {
"line": 267,
"column": 11
},
"end": {
"line": 267,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8770,
"end": 8771,
"loc": {
"start": {
"line": 267,
"column": 13
},
"end": {
"line": 267,
"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": 8781,
"end": 8784,
"loc": {
"start": {
"line": 268,
"column": 8
},
"end": {
"line": 268,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8785,
"end": 8786,
"loc": {
"start": {
"line": 268,
"column": 12
},
"end": {
"line": 268,
"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": 8786,
"end": 8789,
"loc": {
"start": {
"line": 268,
"column": 13
},
"end": {
"line": 268,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 8790,
"end": 8791,
"loc": {
"start": {
"line": 268,
"column": 17
},
"end": {
"line": 268,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8792,
"end": 8793,
"loc": {
"start": {
"line": 268,
"column": 19
},
"end": {
"line": 268,
"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": 8794,
"end": 8795,
"loc": {
"start": {
"line": 268,
"column": 21
},
"end": {
"line": 268,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8795,
"end": 8796,
"loc": {
"start": {
"line": 268,
"column": 22
},
"end": {
"line": 268,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 8797,
"end": 8798,
"loc": {
"start": {
"line": 268,
"column": 24
},
"end": {
"line": 268,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 8799,
"end": 8800,
"loc": {
"start": {
"line": 268,
"column": 26
},
"end": {
"line": 268,
"column": 27
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 8801,
"end": 8805,
"loc": {
"start": {
"line": 268,
"column": 28
},
"end": {
"line": 268,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8805,
"end": 8806,
"loc": {
"start": {
"line": 268,
"column": 32
},
"end": {
"line": 268,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handles",
"start": 8806,
"end": 8813,
"loc": {
"start": {
"line": 268,
"column": 33
},
"end": {
"line": 268,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8813,
"end": 8814,
"loc": {
"start": {
"line": 268,
"column": 40
},
"end": {
"line": 268,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 8814,
"end": 8820,
"loc": {
"start": {
"line": 268,
"column": 41
},
"end": {
"line": 268,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8820,
"end": 8821,
"loc": {
"start": {
"line": 268,
"column": 47
},
"end": {
"line": 268,
"column": 48
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 8822,
"end": 8824,
"loc": {
"start": {
"line": 268,
"column": 49
},
"end": {
"line": 268,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 8824,
"end": 8825,
"loc": {
"start": {
"line": 268,
"column": 51
},
"end": {
"line": 268,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8825,
"end": 8826,
"loc": {
"start": {
"line": 268,
"column": 52
},
"end": {
"line": 268,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8827,
"end": 8828,
"loc": {
"start": {
"line": 268,
"column": 54
},
"end": {
"line": 268,
"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": 8842,
"end": 8847,
"loc": {
"start": {
"line": 269,
"column": 12
},
"end": {
"line": 269,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 8848,
"end": 8854,
"loc": {
"start": {
"line": 269,
"column": 18
},
"end": {
"line": 269,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8855,
"end": 8856,
"loc": {
"start": {
"line": 269,
"column": 25
},
"end": {
"line": 269,
"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": 8857,
"end": 8861,
"loc": {
"start": {
"line": 269,
"column": 27
},
"end": {
"line": 269,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8861,
"end": 8862,
"loc": {
"start": {
"line": 269,
"column": 31
},
"end": {
"line": 269,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handles",
"start": 8862,
"end": 8869,
"loc": {
"start": {
"line": 269,
"column": 32
},
"end": {
"line": 269,
"column": 39
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8869,
"end": 8870,
"loc": {
"start": {
"line": 269,
"column": 39
},
"end": {
"line": 269,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 8870,
"end": 8871,
"loc": {
"start": {
"line": 269,
"column": 40
},
"end": {
"line": 269,
"column": 41
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8871,
"end": 8872,
"loc": {
"start": {
"line": 269,
"column": 41
},
"end": {
"line": 269,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8872,
"end": 8873,
"loc": {
"start": {
"line": 269,
"column": 42
},
"end": {
"line": 269,
"column": 43
}
}
},
{
"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": 8889,
"end": 8892,
"loc": {
"start": {
"line": 271,
"column": 12
},
"end": {
"line": 271,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentValue",
"start": 8893,
"end": 8905,
"loc": {
"start": {
"line": 271,
"column": 16
},
"end": {
"line": 271,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8906,
"end": 8907,
"loc": {
"start": {
"line": 271,
"column": 29
},
"end": {
"line": 271,
"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": 8908,
"end": 8912,
"loc": {
"start": {
"line": 271,
"column": 31
},
"end": {
"line": 271,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8912,
"end": 8913,
"loc": {
"start": {
"line": 271,
"column": 35
},
"end": {
"line": 271,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 8913,
"end": 8917,
"loc": {
"start": {
"line": 271,
"column": 36
},
"end": {
"line": 271,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8917,
"end": 8918,
"loc": {
"start": {
"line": 271,
"column": 40
},
"end": {
"line": 271,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 8918,
"end": 8926,
"loc": {
"start": {
"line": 271,
"column": 41
},
"end": {
"line": 271,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8926,
"end": 8927,
"loc": {
"start": {
"line": 271,
"column": 49
},
"end": {
"line": 271,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getShapesStoredByKey",
"start": 8927,
"end": 8947,
"loc": {
"start": {
"line": 271,
"column": 50
},
"end": {
"line": 271,
"column": 70
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8947,
"end": 8948,
"loc": {
"start": {
"line": 271,
"column": 70
},
"end": {
"line": 271,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 8948,
"end": 8954,
"loc": {
"start": {
"line": 271,
"column": 71
},
"end": {
"line": 271,
"column": 77
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8954,
"end": 8955,
"loc": {
"start": {
"line": 271,
"column": 77
},
"end": {
"line": 271,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 8955,
"end": 8958,
"loc": {
"start": {
"line": 271,
"column": 78
},
"end": {
"line": 271,
"column": 81
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8958,
"end": 8959,
"loc": {
"start": {
"line": 271,
"column": 81
},
"end": {
"line": 271,
"column": 82
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8959,
"end": 8960,
"loc": {
"start": {
"line": 271,
"column": 82
},
"end": {
"line": 271,
"column": 83
}
}
},
{
"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": 8974,
"end": 8977,
"loc": {
"start": {
"line": 272,
"column": 12
},
"end": {
"line": 272,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentValueFormatted",
"start": 8978,
"end": 8999,
"loc": {
"start": {
"line": 272,
"column": 16
},
"end": {
"line": 272,
"column": 37
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9000,
"end": 9001,
"loc": {
"start": {
"line": 272,
"column": 38
},
"end": {
"line": 272,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "formatBigNumber",
"start": 9002,
"end": 9017,
"loc": {
"start": {
"line": 272,
"column": 40
},
"end": {
"line": 272,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9017,
"end": 9018,
"loc": {
"start": {
"line": 272,
"column": 55
},
"end": {
"line": 272,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentValue",
"start": 9018,
"end": 9030,
"loc": {
"start": {
"line": 272,
"column": 56
},
"end": {
"line": 272,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9030,
"end": 9031,
"loc": {
"start": {
"line": 272,
"column": 68
},
"end": {
"line": 272,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9031,
"end": 9032,
"loc": {
"start": {
"line": 272,
"column": 69
},
"end": {
"line": 272,
"column": 70
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 9048,
"end": 9050,
"loc": {
"start": {
"line": 274,
"column": 12
},
"end": {
"line": 274,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9051,
"end": 9052,
"loc": {
"start": {
"line": 274,
"column": 15
},
"end": {
"line": 274,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 9052,
"end": 9058,
"loc": {
"start": {
"line": 274,
"column": 16
},
"end": {
"line": 274,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9058,
"end": 9059,
"loc": {
"start": {
"line": 274,
"column": 22
},
"end": {
"line": 274,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "throughputOnly",
"start": 9059,
"end": 9073,
"loc": {
"start": {
"line": 274,
"column": 23
},
"end": {
"line": 274,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9073,
"end": 9074,
"loc": {
"start": {
"line": 274,
"column": 37
},
"end": {
"line": 274,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9075,
"end": 9076,
"loc": {
"start": {
"line": 274,
"column": 39
},
"end": {
"line": 274,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentValue",
"start": 9094,
"end": 9106,
"loc": {
"start": {
"line": 275,
"column": 16
},
"end": {
"line": 275,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9107,
"end": 9108,
"loc": {
"start": {
"line": 275,
"column": 29
},
"end": {
"line": 275,
"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": 9130,
"end": 9134,
"loc": {
"start": {
"line": 276,
"column": 20
},
"end": {
"line": 276,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9134,
"end": 9135,
"loc": {
"start": {
"line": 276,
"column": 24
},
"end": {
"line": 276,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 9135,
"end": 9139,
"loc": {
"start": {
"line": 276,
"column": 25
},
"end": {
"line": 276,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9139,
"end": 9140,
"loc": {
"start": {
"line": 276,
"column": 29
},
"end": {
"line": 276,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "productionAnalytics",
"start": 9140,
"end": 9159,
"loc": {
"start": {
"line": 276,
"column": 30
},
"end": {
"line": 276,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9159,
"end": 9160,
"loc": {
"start": {
"line": 276,
"column": 49
},
"end": {
"line": 276,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getCurrentShapeRate",
"start": 9160,
"end": 9179,
"loc": {
"start": {
"line": 276,
"column": 50
},
"end": {
"line": 276,
"column": 69
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9179,
"end": 9180,
"loc": {
"start": {
"line": 276,
"column": 69
},
"end": {
"line": 276,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumAnalyticsDataSource",
"start": 9206,
"end": 9229,
"loc": {
"start": {
"line": 277,
"column": 24
},
"end": {
"line": 277,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9229,
"end": 9230,
"loc": {
"start": {
"line": 277,
"column": 47
},
"end": {
"line": 277,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "delivered",
"start": 9230,
"end": 9239,
"loc": {
"start": {
"line": 277,
"column": 48
},
"end": {
"line": 277,
"column": 57
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9239,
"end": 9240,
"loc": {
"start": {
"line": 277,
"column": 57
},
"end": {
"line": 277,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 9266,
"end": 9272,
"loc": {
"start": {
"line": 278,
"column": 24
},
"end": {
"line": 278,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9272,
"end": 9273,
"loc": {
"start": {
"line": 278,
"column": 30
},
"end": {
"line": 278,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 9273,
"end": 9283,
"loc": {
"start": {
"line": 278,
"column": 31
},
"end": {
"line": 278,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9305,
"end": 9306,
"loc": {
"start": {
"line": 279,
"column": 20
},
"end": {
"line": 279,
"column": 21
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 9307,
"end": 9308,
"loc": {
"start": {
"line": 279,
"column": 22
},
"end": {
"line": 279,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 9309,
"end": 9321,
"loc": {
"start": {
"line": 279,
"column": 24
},
"end": {
"line": 279,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9321,
"end": 9322,
"loc": {
"start": {
"line": 279,
"column": 36
},
"end": {
"line": 279,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "analyticsSliceDurationSeconds",
"start": 9322,
"end": 9351,
"loc": {
"start": {
"line": 279,
"column": 37
},
"end": {
"line": 279,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9351,
"end": 9352,
"loc": {
"start": {
"line": 279,
"column": 66
},
"end": {
"line": 279,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentValueFormatted",
"start": 9370,
"end": 9391,
"loc": {
"start": {
"line": 280,
"column": 16
},
"end": {
"line": 280,
"column": 37
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9392,
"end": 9393,
"loc": {
"start": {
"line": 280,
"column": 38
},
"end": {
"line": 280,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "T",
"start": 9394,
"end": 9395,
"loc": {
"start": {
"line": 280,
"column": 40
},
"end": {
"line": 280,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9395,
"end": 9396,
"loc": {
"start": {
"line": 280,
"column": 41
},
"end": {
"line": 280,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ingame",
"start": 9396,
"end": 9402,
"loc": {
"start": {
"line": 280,
"column": 42
},
"end": {
"line": 280,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9402,
"end": 9403,
"loc": {
"start": {
"line": 280,
"column": 48
},
"end": {
"line": 280,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "statistics",
"start": 9403,
"end": 9413,
"loc": {
"start": {
"line": 280,
"column": 49
},
"end": {
"line": 280,
"column": 59
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9413,
"end": 9414,
"loc": {
"start": {
"line": 280,
"column": 59
},
"end": {
"line": 280,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapesDisplayUnits",
"start": 9414,
"end": 9432,
"loc": {
"start": {
"line": 280,
"column": 60
},
"end": {
"line": 280,
"column": 78
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9432,
"end": 9433,
"loc": {
"start": {
"line": 280,
"column": 78
},
"end": {
"line": 280,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "second",
"start": 9433,
"end": 9439,
"loc": {
"start": {
"line": 280,
"column": 79
},
"end": {
"line": 280,
"column": 85
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9439,
"end": 9440,
"loc": {
"start": {
"line": 280,
"column": 85
},
"end": {
"line": 280,
"column": 86
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "replace",
"start": 9440,
"end": 9447,
"loc": {
"start": {
"line": 280,
"column": 86
},
"end": {
"line": 280,
"column": 93
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9447,
"end": 9448,
"loc": {
"start": {
"line": 280,
"column": 93
},
"end": {
"line": 280,
"column": 94
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "<shapes>",
"start": 9470,
"end": 9480,
"loc": {
"start": {
"line": 281,
"column": 20
},
"end": {
"line": 281,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9480,
"end": 9481,
"loc": {
"start": {
"line": 281,
"column": 30
},
"end": {
"line": 281,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "String",
"start": 9503,
"end": 9509,
"loc": {
"start": {
"line": 282,
"column": 20
},
"end": {
"line": 282,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9509,
"end": 9510,
"loc": {
"start": {
"line": 282,
"column": 26
},
"end": {
"line": 282,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentValue",
"start": 9510,
"end": 9522,
"loc": {
"start": {
"line": 282,
"column": 27
},
"end": {
"line": 282,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9522,
"end": 9523,
"loc": {
"start": {
"line": 282,
"column": 39
},
"end": {
"line": 282,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9541,
"end": 9542,
"loc": {
"start": {
"line": 283,
"column": 16
},
"end": {
"line": 283,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9542,
"end": 9543,
"loc": {
"start": {
"line": 283,
"column": 17
},
"end": {
"line": 283,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9557,
"end": 9558,
"loc": {
"start": {
"line": 284,
"column": 12
},
"end": {
"line": 284,
"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": 9574,
"end": 9576,
"loc": {
"start": {
"line": 286,
"column": 12
},
"end": {
"line": 286,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9577,
"end": 9578,
"loc": {
"start": {
"line": 286,
"column": 15
},
"end": {
"line": 286,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentValueFormatted",
"start": 9578,
"end": 9599,
"loc": {
"start": {
"line": 286,
"column": 16
},
"end": {
"line": 286,
"column": 37
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 9600,
"end": 9603,
"loc": {
"start": {
"line": 286,
"column": 38
},
"end": {
"line": 286,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 9604,
"end": 9610,
"loc": {
"start": {
"line": 286,
"column": 42
},
"end": {
"line": 286,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9610,
"end": 9611,
"loc": {
"start": {
"line": 286,
"column": 48
},
"end": {
"line": 286,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastRenderedValue",
"start": 9611,
"end": 9628,
"loc": {
"start": {
"line": 286,
"column": 49
},
"end": {
"line": 286,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9628,
"end": 9629,
"loc": {
"start": {
"line": 286,
"column": 66
},
"end": {
"line": 286,
"column": 67
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9630,
"end": 9631,
"loc": {
"start": {
"line": 286,
"column": 68
},
"end": {
"line": 286,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 9649,
"end": 9655,
"loc": {
"start": {
"line": 287,
"column": 16
},
"end": {
"line": 287,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9655,
"end": 9656,
"loc": {
"start": {
"line": 287,
"column": 22
},
"end": {
"line": 287,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastRenderedValue",
"start": 9656,
"end": 9673,
"loc": {
"start": {
"line": 287,
"column": 23
},
"end": {
"line": 287,
"column": 40
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9674,
"end": 9675,
"loc": {
"start": {
"line": 287,
"column": 41
},
"end": {
"line": 287,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentValueFormatted",
"start": 9676,
"end": 9697,
"loc": {
"start": {
"line": 287,
"column": 43
},
"end": {
"line": 287,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9697,
"end": 9698,
"loc": {
"start": {
"line": 287,
"column": 64
},
"end": {
"line": 287,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 9716,
"end": 9722,
"loc": {
"start": {
"line": 288,
"column": 16
},
"end": {
"line": 288,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9722,
"end": 9723,
"loc": {
"start": {
"line": 288,
"column": 22
},
"end": {
"line": 288,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "amountLabel",
"start": 9723,
"end": 9734,
"loc": {
"start": {
"line": 288,
"column": 23
},
"end": {
"line": 288,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9734,
"end": 9735,
"loc": {
"start": {
"line": 288,
"column": 34
},
"end": {
"line": 288,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "innerText",
"start": 9735,
"end": 9744,
"loc": {
"start": {
"line": 288,
"column": 35
},
"end": {
"line": 288,
"column": 44
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9745,
"end": 9746,
"loc": {
"start": {
"line": 288,
"column": 45
},
"end": {
"line": 288,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentValueFormatted",
"start": 9747,
"end": 9768,
"loc": {
"start": {
"line": 288,
"column": 47
},
"end": {
"line": 288,
"column": 68
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9768,
"end": 9769,
"loc": {
"start": {
"line": 288,
"column": 68
},
"end": {
"line": 288,
"column": 69
}
}
},
{
"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": 9787,
"end": 9792,
"loc": {
"start": {
"line": 289,
"column": 16
},
"end": {
"line": 289,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "goal",
"start": 9793,
"end": 9797,
"loc": {
"start": {
"line": 289,
"column": 22
},
"end": {
"line": 289,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9798,
"end": 9799,
"loc": {
"start": {
"line": 289,
"column": 27
},
"end": {
"line": 289,
"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": 9800,
"end": 9804,
"loc": {
"start": {
"line": 289,
"column": 29
},
"end": {
"line": 289,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9804,
"end": 9805,
"loc": {
"start": {
"line": 289,
"column": 33
},
"end": {
"line": 289,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findGoalValueForShape",
"start": 9805,
"end": 9826,
"loc": {
"start": {
"line": 289,
"column": 34
},
"end": {
"line": 289,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9826,
"end": 9827,
"loc": {
"start": {
"line": 289,
"column": 55
},
"end": {
"line": 289,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 9827,
"end": 9833,
"loc": {
"start": {
"line": 289,
"column": 56
},
"end": {
"line": 289,
"column": 62
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9833,
"end": 9834,
"loc": {
"start": {
"line": 289,
"column": 62
},
"end": {
"line": 289,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 9834,
"end": 9837,
"loc": {
"start": {
"line": 289,
"column": 63
},
"end": {
"line": 289,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9837,
"end": 9838,
"loc": {
"start": {
"line": 289,
"column": 66
},
"end": {
"line": 289,
"column": 67
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9838,
"end": 9839,
"loc": {
"start": {
"line": 289,
"column": 67
},
"end": {
"line": 289,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 9857,
"end": 9863,
"loc": {
"start": {
"line": 290,
"column": 16
},
"end": {
"line": 290,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9863,
"end": 9864,
"loc": {
"start": {
"line": 290,
"column": 22
},
"end": {
"line": 290,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 9864,
"end": 9871,
"loc": {
"start": {
"line": 290,
"column": 23
},
"end": {
"line": 290,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9871,
"end": 9872,
"loc": {
"start": {
"line": 290,
"column": 30
},
"end": {
"line": 290,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 9872,
"end": 9881,
"loc": {
"start": {
"line": 290,
"column": 31
},
"end": {
"line": 290,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9881,
"end": 9882,
"loc": {
"start": {
"line": 290,
"column": 40
},
"end": {
"line": 290,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toggle",
"start": 9882,
"end": 9888,
"loc": {
"start": {
"line": 290,
"column": 41
},
"end": {
"line": 290,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9888,
"end": 9889,
"loc": {
"start": {
"line": 290,
"column": 47
},
"end": {
"line": 290,
"column": 48
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "completed",
"start": 9889,
"end": 9900,
"loc": {
"start": {
"line": 290,
"column": 48
},
"end": {
"line": 290,
"column": 59
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9900,
"end": 9901,
"loc": {
"start": {
"line": 290,
"column": 59
},
"end": {
"line": 290,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "goal",
"start": 9902,
"end": 9906,
"loc": {
"start": {
"line": 290,
"column": 61
},
"end": {
"line": 290,
"column": 65
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 9907,
"end": 9909,
"loc": {
"start": {
"line": 290,
"column": 66
},
"end": {
"line": 290,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentValue",
"start": 9910,
"end": 9922,
"loc": {
"start": {
"line": 290,
"column": 69
},
"end": {
"line": 290,
"column": 81
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 9923,
"end": 9924,
"loc": {
"start": {
"line": 290,
"column": 82
},
"end": {
"line": 290,
"column": 83
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "goal",
"start": 9925,
"end": 9929,
"loc": {
"start": {
"line": 290,
"column": 84
},
"end": {
"line": 290,
"column": 88
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9929,
"end": 9930,
"loc": {
"start": {
"line": 290,
"column": 88
},
"end": {
"line": 290,
"column": 89
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9930,
"end": 9931,
"loc": {
"start": {
"line": 290,
"column": 89
},
"end": {
"line": 290,
"column": 90
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9945,
"end": 9946,
"loc": {
"start": {
"line": 291,
"column": 12
},
"end": {
"line": 291,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9956,
"end": 9957,
"loc": {
"start": {
"line": 292,
"column": 8
},
"end": {
"line": 292,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9963,
"end": 9964,
"loc": {
"start": {
"line": 293,
"column": 4
},
"end": {
"line": 293,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Unpins a shape\r\n * @param {string} key\r\n ",
"start": 9972,
"end": 10035,
"loc": {
"start": {
"line": 295,
"column": 4
},
"end": {
"line": 298,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unpinShape",
"start": 10041,
"end": 10051,
"loc": {
"start": {
"line": 299,
"column": 4
},
"end": {
"line": 299,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10051,
"end": 10052,
"loc": {
"start": {
"line": 299,
"column": 14
},
"end": {
"line": 299,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 10052,
"end": 10055,
"loc": {
"start": {
"line": 299,
"column": 15
},
"end": {
"line": 299,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10055,
"end": 10056,
"loc": {
"start": {
"line": 299,
"column": 18
},
"end": {
"line": 299,
"column": 19
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10057,
"end": 10058,
"loc": {
"start": {
"line": 299,
"column": 20
},
"end": {
"line": 299,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "console",
"start": 10068,
"end": 10075,
"loc": {
"start": {
"line": 300,
"column": 8
},
"end": {
"line": 300,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10075,
"end": 10076,
"loc": {
"start": {
"line": 300,
"column": 15
},
"end": {
"line": 300,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "log",
"start": 10076,
"end": 10079,
"loc": {
"start": {
"line": 300,
"column": 16
},
"end": {
"line": 300,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10079,
"end": 10080,
"loc": {
"start": {
"line": 300,
"column": 19
},
"end": {
"line": 300,
"column": 20
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "unpin",
"start": 10080,
"end": 10087,
"loc": {
"start": {
"line": 300,
"column": 20
},
"end": {
"line": 300,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10087,
"end": 10088,
"loc": {
"start": {
"line": 300,
"column": 27
},
"end": {
"line": 300,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 10089,
"end": 10092,
"loc": {
"start": {
"line": 300,
"column": 29
},
"end": {
"line": 300,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10092,
"end": 10093,
"loc": {
"start": {
"line": 300,
"column": 32
},
"end": {
"line": 300,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10093,
"end": 10094,
"loc": {
"start": {
"line": 300,
"column": 33
},
"end": {
"line": 300,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "arrayDeleteValue",
"start": 10104,
"end": 10120,
"loc": {
"start": {
"line": 301,
"column": 8
},
"end": {
"line": 301,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10120,
"end": 10121,
"loc": {
"start": {
"line": 301,
"column": 24
},
"end": {
"line": 301,
"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": 10121,
"end": 10125,
"loc": {
"start": {
"line": 301,
"column": 25
},
"end": {
"line": 301,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10125,
"end": 10126,
"loc": {
"start": {
"line": 301,
"column": 29
},
"end": {
"line": 301,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinnedShapes",
"start": 10126,
"end": 10138,
"loc": {
"start": {
"line": 301,
"column": 30
},
"end": {
"line": 301,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10138,
"end": 10139,
"loc": {
"start": {
"line": 301,
"column": 42
},
"end": {
"line": 301,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 10140,
"end": 10143,
"loc": {
"start": {
"line": 301,
"column": 44
},
"end": {
"line": 301,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10143,
"end": 10144,
"loc": {
"start": {
"line": 301,
"column": 47
},
"end": {
"line": 301,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10144,
"end": 10145,
"loc": {
"start": {
"line": 301,
"column": 48
},
"end": {
"line": 301,
"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": 10155,
"end": 10159,
"loc": {
"start": {
"line": 302,
"column": 8
},
"end": {
"line": 302,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10159,
"end": 10160,
"loc": {
"start": {
"line": 302,
"column": 12
},
"end": {
"line": 302,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rerenderFull",
"start": 10160,
"end": 10172,
"loc": {
"start": {
"line": 302,
"column": 13
},
"end": {
"line": 302,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10172,
"end": 10173,
"loc": {
"start": {
"line": 302,
"column": 25
},
"end": {
"line": 302,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10173,
"end": 10174,
"loc": {
"start": {
"line": 302,
"column": 26
},
"end": {
"line": 302,
"column": 27
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10174,
"end": 10175,
"loc": {
"start": {
"line": 302,
"column": 27
},
"end": {
"line": 302,
"column": 28
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10181,
"end": 10182,
"loc": {
"start": {
"line": 303,
"column": 4
},
"end": {
"line": 303,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Requests to pin a new shape\r\n * @param {ShapeDefinition} definition\r\n ",
"start": 10190,
"end": 10282,
"loc": {
"start": {
"line": 305,
"column": 4
},
"end": {
"line": 308,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinNewShape",
"start": 10288,
"end": 10299,
"loc": {
"start": {
"line": 309,
"column": 4
},
"end": {
"line": 309,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10299,
"end": 10300,
"loc": {
"start": {
"line": 309,
"column": 15
},
"end": {
"line": 309,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 10300,
"end": 10310,
"loc": {
"start": {
"line": 309,
"column": 16
},
"end": {
"line": 309,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10310,
"end": 10311,
"loc": {
"start": {
"line": 309,
"column": 26
},
"end": {
"line": 309,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10312,
"end": 10313,
"loc": {
"start": {
"line": 309,
"column": 28
},
"end": {
"line": 309,
"column": 29
}
}
},
{
"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": 10323,
"end": 10328,
"loc": {
"start": {
"line": 310,
"column": 8
},
"end": {
"line": 310,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 10329,
"end": 10332,
"loc": {
"start": {
"line": 310,
"column": 14
},
"end": {
"line": 310,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10333,
"end": 10334,
"loc": {
"start": {
"line": 310,
"column": 18
},
"end": {
"line": 310,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 10335,
"end": 10345,
"loc": {
"start": {
"line": 310,
"column": 20
},
"end": {
"line": 310,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10345,
"end": 10346,
"loc": {
"start": {
"line": 310,
"column": 30
},
"end": {
"line": 310,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getHash",
"start": 10346,
"end": 10353,
"loc": {
"start": {
"line": 310,
"column": 31
},
"end": {
"line": 310,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10353,
"end": 10354,
"loc": {
"start": {
"line": 310,
"column": 38
},
"end": {
"line": 310,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10354,
"end": 10355,
"loc": {
"start": {
"line": 310,
"column": 39
},
"end": {
"line": 310,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10355,
"end": 10356,
"loc": {
"start": {
"line": 310,
"column": 40
},
"end": {
"line": 310,
"column": 41
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 10366,
"end": 10368,
"loc": {
"start": {
"line": 311,
"column": 8
},
"end": {
"line": 311,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10369,
"end": 10370,
"loc": {
"start": {
"line": 311,
"column": 11
},
"end": {
"line": 311,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 10370,
"end": 10373,
"loc": {
"start": {
"line": 311,
"column": 12
},
"end": {
"line": 311,
"column": 15
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 10374,
"end": 10377,
"loc": {
"start": {
"line": 311,
"column": 16
},
"end": {
"line": 311,
"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": 10378,
"end": 10382,
"loc": {
"start": {
"line": 311,
"column": 20
},
"end": {
"line": 311,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10382,
"end": 10383,
"loc": {
"start": {
"line": 311,
"column": 24
},
"end": {
"line": 311,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 10383,
"end": 10387,
"loc": {
"start": {
"line": 311,
"column": 25
},
"end": {
"line": 311,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10387,
"end": 10388,
"loc": {
"start": {
"line": 311,
"column": 29
},
"end": {
"line": 311,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 10388,
"end": 10396,
"loc": {
"start": {
"line": 311,
"column": 30
},
"end": {
"line": 311,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10396,
"end": 10397,
"loc": {
"start": {
"line": 311,
"column": 38
},
"end": {
"line": 311,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentGoal",
"start": 10397,
"end": 10408,
"loc": {
"start": {
"line": 311,
"column": 39
},
"end": {
"line": 311,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10408,
"end": 10409,
"loc": {
"start": {
"line": 311,
"column": 50
},
"end": {
"line": 311,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 10409,
"end": 10419,
"loc": {
"start": {
"line": 311,
"column": 51
},
"end": {
"line": 311,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10419,
"end": 10420,
"loc": {
"start": {
"line": 311,
"column": 61
},
"end": {
"line": 311,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getHash",
"start": 10420,
"end": 10427,
"loc": {
"start": {
"line": 311,
"column": 62
},
"end": {
"line": 311,
"column": 69
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10427,
"end": 10428,
"loc": {
"start": {
"line": 311,
"column": 69
},
"end": {
"line": 311,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10428,
"end": 10429,
"loc": {
"start": {
"line": 311,
"column": 70
},
"end": {
"line": 311,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10429,
"end": 10430,
"loc": {
"start": {
"line": 311,
"column": 71
},
"end": {
"line": 311,
"column": 72
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10431,
"end": 10432,
"loc": {
"start": {
"line": 311,
"column": 73
},
"end": {
"line": 311,
"column": 74
}
}
},
{
"type": "CommentLine",
"value": " Can not pin current goal",
"start": 10446,
"end": 10473,
"loc": {
"start": {
"line": 312,
"column": 12
},
"end": {
"line": 312,
"column": 39
}
}
},
{
"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": 10487,
"end": 10493,
"loc": {
"start": {
"line": 313,
"column": 12
},
"end": {
"line": 313,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10493,
"end": 10494,
"loc": {
"start": {
"line": 313,
"column": 18
},
"end": {
"line": 313,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10504,
"end": 10505,
"loc": {
"start": {
"line": 314,
"column": 8
},
"end": {
"line": 314,
"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": 10517,
"end": 10519,
"loc": {
"start": {
"line": 316,
"column": 8
},
"end": {
"line": 316,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10520,
"end": 10521,
"loc": {
"start": {
"line": 316,
"column": 11
},
"end": {
"line": 316,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 10521,
"end": 10524,
"loc": {
"start": {
"line": 316,
"column": 12
},
"end": {
"line": 316,
"column": 15
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 10525,
"end": 10528,
"loc": {
"start": {
"line": 316,
"column": 16
},
"end": {
"line": 316,
"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": 10529,
"end": 10533,
"loc": {
"start": {
"line": 316,
"column": 20
},
"end": {
"line": 316,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10533,
"end": 10534,
"loc": {
"start": {
"line": 316,
"column": 24
},
"end": {
"line": 316,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 10534,
"end": 10538,
"loc": {
"start": {
"line": 316,
"column": 25
},
"end": {
"line": 316,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10538,
"end": 10539,
"loc": {
"start": {
"line": 316,
"column": 29
},
"end": {
"line": 316,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gameMode",
"start": 10539,
"end": 10547,
"loc": {
"start": {
"line": 316,
"column": 30
},
"end": {
"line": 316,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10547,
"end": 10548,
"loc": {
"start": {
"line": 316,
"column": 38
},
"end": {
"line": 316,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBlueprintShapeKey",
"start": 10548,
"end": 10568,
"loc": {
"start": {
"line": 316,
"column": 39
},
"end": {
"line": 316,
"column": 59
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10568,
"end": 10569,
"loc": {
"start": {
"line": 316,
"column": 59
},
"end": {
"line": 316,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10569,
"end": 10570,
"loc": {
"start": {
"line": 316,
"column": 60
},
"end": {
"line": 316,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10570,
"end": 10571,
"loc": {
"start": {
"line": 316,
"column": 61
},
"end": {
"line": 316,
"column": 62
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10572,
"end": 10573,
"loc": {
"start": {
"line": 316,
"column": 63
},
"end": {
"line": 316,
"column": 64
}
}
},
{
"type": "CommentLine",
"value": " Can not pin the blueprint shape",
"start": 10587,
"end": 10621,
"loc": {
"start": {
"line": 317,
"column": 12
},
"end": {
"line": 317,
"column": 46
}
}
},
{
"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": 10635,
"end": 10641,
"loc": {
"start": {
"line": 318,
"column": 12
},
"end": {
"line": 318,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10641,
"end": 10642,
"loc": {
"start": {
"line": 318,
"column": 18
},
"end": {
"line": 318,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10652,
"end": 10653,
"loc": {
"start": {
"line": 319,
"column": 8
},
"end": {
"line": 319,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Check if its already pinned",
"start": 10665,
"end": 10695,
"loc": {
"start": {
"line": 321,
"column": 8
},
"end": {
"line": 321,
"column": 38
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 10705,
"end": 10707,
"loc": {
"start": {
"line": 322,
"column": 8
},
"end": {
"line": 322,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10708,
"end": 10709,
"loc": {
"start": {
"line": 322,
"column": 11
},
"end": {
"line": 322,
"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": 10709,
"end": 10713,
"loc": {
"start": {
"line": 322,
"column": 12
},
"end": {
"line": 322,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10713,
"end": 10714,
"loc": {
"start": {
"line": 322,
"column": 16
},
"end": {
"line": 322,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinnedShapes",
"start": 10714,
"end": 10726,
"loc": {
"start": {
"line": 322,
"column": 17
},
"end": {
"line": 322,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10726,
"end": 10727,
"loc": {
"start": {
"line": 322,
"column": 29
},
"end": {
"line": 322,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "indexOf",
"start": 10727,
"end": 10734,
"loc": {
"start": {
"line": 322,
"column": 30
},
"end": {
"line": 322,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10734,
"end": 10735,
"loc": {
"start": {
"line": 322,
"column": 37
},
"end": {
"line": 322,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 10735,
"end": 10738,
"loc": {
"start": {
"line": 322,
"column": 38
},
"end": {
"line": 322,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10738,
"end": 10739,
"loc": {
"start": {
"line": 322,
"column": 41
},
"end": {
"line": 322,
"column": 42
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">=",
"start": 10740,
"end": 10742,
"loc": {
"start": {
"line": 322,
"column": 43
},
"end": {
"line": 322,
"column": 45
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 10743,
"end": 10744,
"loc": {
"start": {
"line": 322,
"column": 46
},
"end": {
"line": 322,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10744,
"end": 10745,
"loc": {
"start": {
"line": 322,
"column": 47
},
"end": {
"line": 322,
"column": 48
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10746,
"end": 10747,
"loc": {
"start": {
"line": 322,
"column": 49
},
"end": {
"line": 322,
"column": 50
}
}
},
{
"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": 10761,
"end": 10767,
"loc": {
"start": {
"line": 323,
"column": 12
},
"end": {
"line": 323,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10767,
"end": 10768,
"loc": {
"start": {
"line": 323,
"column": 18
},
"end": {
"line": 323,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10778,
"end": 10779,
"loc": {
"start": {
"line": 324,
"column": 8
},
"end": {
"line": 324,
"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": 10791,
"end": 10795,
"loc": {
"start": {
"line": 326,
"column": 8
},
"end": {
"line": 326,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10795,
"end": 10796,
"loc": {
"start": {
"line": 326,
"column": 12
},
"end": {
"line": 326,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinnedShapes",
"start": 10796,
"end": 10808,
"loc": {
"start": {
"line": 326,
"column": 13
},
"end": {
"line": 326,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10808,
"end": 10809,
"loc": {
"start": {
"line": 326,
"column": 25
},
"end": {
"line": 326,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 10809,
"end": 10813,
"loc": {
"start": {
"line": 326,
"column": 26
},
"end": {
"line": 326,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10813,
"end": 10814,
"loc": {
"start": {
"line": 326,
"column": 30
},
"end": {
"line": 326,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 10814,
"end": 10817,
"loc": {
"start": {
"line": 326,
"column": 31
},
"end": {
"line": 326,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10817,
"end": 10818,
"loc": {
"start": {
"line": 326,
"column": 34
},
"end": {
"line": 326,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10818,
"end": 10819,
"loc": {
"start": {
"line": 326,
"column": 35
},
"end": {
"line": 326,
"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": 10829,
"end": 10833,
"loc": {
"start": {
"line": 327,
"column": 8
},
"end": {
"line": 327,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10833,
"end": 10834,
"loc": {
"start": {
"line": 327,
"column": 12
},
"end": {
"line": 327,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rerenderFull",
"start": 10834,
"end": 10846,
"loc": {
"start": {
"line": 327,
"column": 13
},
"end": {
"line": 327,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10846,
"end": 10847,
"loc": {
"start": {
"line": 327,
"column": 25
},
"end": {
"line": 327,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10847,
"end": 10848,
"loc": {
"start": {
"line": 327,
"column": 26
},
"end": {
"line": 327,
"column": 27
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10848,
"end": 10849,
"loc": {
"start": {
"line": 327,
"column": 27
},
"end": {
"line": 327,
"column": 28
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10855,
"end": 10856,
"loc": {
"start": {
"line": 328,
"column": 4
},
"end": {
"line": 328,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10858,
"end": 10859,
"loc": {
"start": {
"line": 329,
"column": 0
},
"end": {
"line": 329,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10861,
"end": 10861,
"loc": {
"start": {
"line": 330,
"column": 0
},
"end": {
"line": 330,
"column": 0
}
}
}
]
}