1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00
tobspr_shapez.io/docs/ast/source/game/game_loading_overlay.js.json
2021-02-26 15:20:37 +01:00

9823 lines
247 KiB
JSON

{
"type": "File",
"start": 0,
"end": 1864,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 72,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 1864,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 72,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 23,
"end": 68,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 45
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 32,
"end": 43,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 20
}
},
"imported": {
"type": "Identifier",
"start": 32,
"end": 43,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 20
},
"identifierName": "Application"
},
"name": "Application",
"leadingComments": null
},
"local": {
"type": "Identifier",
"start": 32,
"end": 43,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 20
},
"identifierName": "Application"
},
"name": "Application"
},
"leadingComments": null
}
],
"source": {
"type": "StringLiteral",
"start": 51,
"end": 67,
"loc": {
"start": {
"line": 2,
"column": 28
},
"end": {
"line": 2,
"column": 44
}
},
"extra": {
"rawValue": "../application",
"raw": "\"../application\""
},
"value": "../application"
},
"leadingComments": [
{
"type": "CommentBlock",
"value": " typehints:start ",
"start": 0,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 21
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": " typehints:end ",
"start": 70,
"end": 89,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 19
}
}
}
]
},
{
"type": "ImportDeclaration",
"start": 93,
"end": 138,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 45
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 102,
"end": 114,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 102,
"end": 114,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 21
},
"identifierName": "randomChoice"
},
"name": "randomChoice",
"leadingComments": null
},
"local": {
"type": "Identifier",
"start": 102,
"end": 114,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 21
},
"identifierName": "randomChoice"
},
"name": "randomChoice"
},
"leadingComments": null
}
],
"source": {
"type": "StringLiteral",
"start": 122,
"end": 137,
"loc": {
"start": {
"line": 5,
"column": 29
},
"end": {
"line": 5,
"column": 44
}
},
"extra": {
"rawValue": "../core/utils",
"raw": "\"../core/utils\""
},
"value": "../core/utils"
},
"leadingComments": [
{
"type": "CommentBlock",
"value": " typehints:end ",
"start": 70,
"end": 89,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 19
}
}
}
]
},
{
"type": "ImportDeclaration",
"start": 140,
"end": 176,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 36
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 149,
"end": 150,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 10
}
},
"imported": {
"type": "Identifier",
"start": 149,
"end": 150,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 10
},
"identifierName": "T"
},
"name": "T"
},
"local": {
"type": "Identifier",
"start": 149,
"end": 150,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 10
},
"identifierName": "T"
},
"name": "T"
}
}
],
"source": {
"type": "StringLiteral",
"start": 158,
"end": 175,
"loc": {
"start": {
"line": 6,
"column": 18
},
"end": {
"line": 6,
"column": 35
}
},
"extra": {
"rawValue": "../translations",
"raw": "\"../translations\""
},
"value": "../translations"
}
},
{
"type": "ExportNamedDeclaration",
"start": 180,
"end": 1862,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 71,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 187,
"end": 1862,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 71,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 193,
"end": 211,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 31
},
"identifierName": "GameLoadingOverlay"
},
"name": "GameLoadingOverlay"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 212,
"end": 1862,
"loc": {
"start": {
"line": 8,
"column": 32
},
"end": {
"line": 71,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 314,
"end": 471,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 20,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 314,
"end": 325,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor",
"leadingComments": null
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 326,
"end": 329,
"loc": {
"start": {
"line": 14,
"column": 16
},
"end": {
"line": 14,
"column": 19
},
"identifierName": "app"
},
"name": "app"
},
{
"type": "Identifier",
"start": 331,
"end": 337,
"loc": {
"start": {
"line": 14,
"column": 21
},
"end": {
"line": 14,
"column": 27
},
"identifierName": "parent"
},
"name": "parent"
}
],
"body": {
"type": "BlockStatement",
"start": 339,
"end": 471,
"loc": {
"start": {
"line": 14,
"column": 29
},
"end": {
"line": 20,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 350,
"end": 365,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 23
}
},
"expression": {
"type": "AssignmentExpression",
"start": 350,
"end": 364,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 22
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 350,
"end": 358,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 16
}
},
"object": {
"type": "ThisExpression",
"start": 350,
"end": 354,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 355,
"end": 358,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 16
},
"identifierName": "app"
},
"name": "app"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 361,
"end": 364,
"loc": {
"start": {
"line": 15,
"column": 19
},
"end": {
"line": 15,
"column": 22
},
"identifierName": "app"
},
"name": "app"
}
}
},
{
"type": "ExpressionStatement",
"start": 375,
"end": 396,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 375,
"end": 395,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 28
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 375,
"end": 386,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 375,
"end": 379,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 380,
"end": 386,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 19
},
"identifierName": "parent"
},
"name": "parent"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 389,
"end": 395,
"loc": {
"start": {
"line": 16,
"column": 22
},
"end": {
"line": 16,
"column": 28
},
"identifierName": "parent"
},
"name": "parent"
}
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @type {HTMLElement} ",
"start": 408,
"end": 434,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 34
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 444,
"end": 464,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 28
}
},
"expression": {
"type": "AssignmentExpression",
"start": 444,
"end": 463,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 27
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 444,
"end": 456,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 444,
"end": 448,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 449,
"end": 456,
"loc": {
"start": {
"line": 19,
"column": 13
},
"end": {
"line": 19,
"column": 20
},
"identifierName": "element"
},
"name": "element"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 459,
"end": 463,
"loc": {
"start": {
"line": 19,
"column": 23
},
"end": {
"line": 19,
"column": 27
}
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {HTMLElement} ",
"start": 408,
"end": 434,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 34
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {Application} app\r\n * @param {HTMLElement} parent\r\n ",
"start": 219,
"end": 308,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 13,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Removes the overlay if its currently visible\r\n ",
"start": 479,
"end": 544,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 24,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 550,
"end": 687,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 30,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 550,
"end": 566,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 20
},
"identifierName": "removeIfAttached"
},
"name": "removeIfAttached",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 569,
"end": 687,
"loc": {
"start": {
"line": 25,
"column": 23
},
"end": {
"line": 30,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 580,
"end": 680,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 29,
"column": 9
}
},
"test": {
"type": "MemberExpression",
"start": 584,
"end": 596,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 584,
"end": 588,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 589,
"end": 596,
"loc": {
"start": {
"line": 26,
"column": 17
},
"end": {
"line": 26,
"column": 24
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
"consequent": {
"type": "BlockStatement",
"start": 598,
"end": 680,
"loc": {
"start": {
"line": 26,
"column": 26
},
"end": {
"line": 29,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 613,
"end": 635,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 613,
"end": 634,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 613,
"end": 632,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 31
}
},
"object": {
"type": "MemberExpression",
"start": 613,
"end": 625,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 613,
"end": 617,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 618,
"end": 625,
"loc": {
"start": {
"line": 27,
"column": 17
},
"end": {
"line": 27,
"column": 24
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 626,
"end": 632,
"loc": {
"start": {
"line": 27,
"column": 25
},
"end": {
"line": 27,
"column": 31
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 649,
"end": 669,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 32
}
},
"expression": {
"type": "AssignmentExpression",
"start": 649,
"end": 668,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 31
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 649,
"end": 661,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 649,
"end": 653,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 654,
"end": 661,
"loc": {
"start": {
"line": 28,
"column": 17
},
"end": {
"line": 28,
"column": 24
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 664,
"end": 668,
"loc": {
"start": {
"line": 28,
"column": 27
},
"end": {
"line": 28,
"column": 31
}
}
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Removes the overlay if its currently visible\r\n ",
"start": 479,
"end": 544,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 24,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns if the loading overlay is attached\r\n ",
"start": 695,
"end": 758,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 34,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 764,
"end": 815,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 37,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 764,
"end": 774,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 14
},
"identifierName": "isAttached"
},
"name": "isAttached",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 777,
"end": 815,
"loc": {
"start": {
"line": 35,
"column": 17
},
"end": {
"line": 37,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 788,
"end": 808,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 28
}
},
"argument": {
"type": "MemberExpression",
"start": 795,
"end": 807,
"loc": {
"start": {
"line": 36,
"column": 15
},
"end": {
"line": 36,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 795,
"end": 799,
"loc": {
"start": {
"line": 36,
"column": 15
},
"end": {
"line": 36,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 800,
"end": 807,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 27
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns if the loading overlay is attached\r\n ",
"start": 695,
"end": 758,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 34,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Shows a super basic overlay\r\n ",
"start": 823,
"end": 871,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 41,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 877,
"end": 1243,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 49,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 877,
"end": 886,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 42,
"column": 13
},
"identifierName": "showBasic"
},
"name": "showBasic",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 889,
"end": 1243,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 49,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 900,
"end": 974,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 82
}
},
"expression": {
"type": "CallExpression",
"start": 900,
"end": 973,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 81
}
},
"callee": {
"type": "Identifier",
"start": 900,
"end": 906,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "UnaryExpression",
"start": 907,
"end": 920,
"loc": {
"start": {
"line": 43,
"column": 15
},
"end": {
"line": 43,
"column": 28
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 908,
"end": 920,
"loc": {
"start": {
"line": 43,
"column": 16
},
"end": {
"line": 43,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 908,
"end": 912,
"loc": {
"start": {
"line": 43,
"column": 16
},
"end": {
"line": 43,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 913,
"end": 920,
"loc": {
"start": {
"line": 43,
"column": 21
},
"end": {
"line": 43,
"column": 28
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
{
"type": "StringLiteral",
"start": 922,
"end": 972,
"loc": {
"start": {
"line": 43,
"column": 30
},
"end": {
"line": 43,
"column": 80
}
},
"extra": {
"rawValue": "Loading overlay already visible, cant show again",
"raw": "\"Loading overlay already visible, cant show again\""
},
"value": "Loading overlay already visible, cant show again"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 984,
"end": 1029,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 53
}
},
"expression": {
"type": "AssignmentExpression",
"start": 984,
"end": 1028,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 52
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 984,
"end": 996,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 984,
"end": 988,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 989,
"end": 996,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 20
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 999,
"end": 1028,
"loc": {
"start": {
"line": 44,
"column": 23
},
"end": {
"line": 44,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 999,
"end": 1021,
"loc": {
"start": {
"line": 44,
"column": 23
},
"end": {
"line": 44,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 999,
"end": 1007,
"loc": {
"start": {
"line": 44,
"column": 23
},
"end": {
"line": 44,
"column": 31
},
"identifierName": "document"
},
"name": "document"
},
"property": {
"type": "Identifier",
"start": 1008,
"end": 1021,
"loc": {
"start": {
"line": 44,
"column": 32
},
"end": {
"line": 44,
"column": 45
},
"identifierName": "createElement"
},
"name": "createElement"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1022,
"end": 1027,
"loc": {
"start": {
"line": 44,
"column": 46
},
"end": {
"line": 44,
"column": 51
}
},
"extra": {
"rawValue": "div",
"raw": "\"div\""
},
"value": "div"
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 1039,
"end": 1088,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 57
}
},
"expression": {
"type": "CallExpression",
"start": 1039,
"end": 1087,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 1039,
"end": 1065,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 1039,
"end": 1061,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 30
}
},
"object": {
"type": "MemberExpression",
"start": 1039,
"end": 1051,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 1039,
"end": 1043,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1044,
"end": 1051,
"loc": {
"start": {
"line": 45,
"column": 13
},
"end": {
"line": 45,
"column": 20
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1052,
"end": 1061,
"loc": {
"start": {
"line": 45,
"column": 21
},
"end": {
"line": 45,
"column": 30
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1062,
"end": 1065,
"loc": {
"start": {
"line": 45,
"column": 31
},
"end": {
"line": 45,
"column": 34
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1066,
"end": 1086,
"loc": {
"start": {
"line": 45,
"column": 35
},
"end": {
"line": 45,
"column": 55
}
},
"extra": {
"rawValue": "gameLoadingOverlay",
"raw": "\"gameLoadingOverlay\""
},
"value": "gameLoadingOverlay"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1098,
"end": 1136,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 46
}
},
"expression": {
"type": "CallExpression",
"start": 1098,
"end": 1135,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 45
}
},
"callee": {
"type": "MemberExpression",
"start": 1098,
"end": 1121,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 31
}
},
"object": {
"type": "MemberExpression",
"start": 1098,
"end": 1109,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 1098,
"end": 1102,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1103,
"end": 1109,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 19
},
"identifierName": "parent"
},
"name": "parent"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1110,
"end": 1121,
"loc": {
"start": {
"line": 46,
"column": 20
},
"end": {
"line": 46,
"column": 31
},
"identifierName": "appendChild"
},
"name": "appendChild"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1122,
"end": 1134,
"loc": {
"start": {
"line": 46,
"column": 32
},
"end": {
"line": 46,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 1122,
"end": 1126,
"loc": {
"start": {
"line": 46,
"column": 32
},
"end": {
"line": 46,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 1127,
"end": 1134,
"loc": {
"start": {
"line": 46,
"column": 37
},
"end": {
"line": 46,
"column": 44
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1146,
"end": 1191,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 53
}
},
"expression": {
"type": "CallExpression",
"start": 1146,
"end": 1190,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 1146,
"end": 1176,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 1146,
"end": 1150,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1151,
"end": 1176,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 38
},
"identifierName": "internalAddSpinnerAndText"
},
"name": "internalAddSpinnerAndText"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1177,
"end": 1189,
"loc": {
"start": {
"line": 47,
"column": 39
},
"end": {
"line": 47,
"column": 51
}
},
"object": {
"type": "ThisExpression",
"start": 1177,
"end": 1181,
"loc": {
"start": {
"line": 47,
"column": 39
},
"end": {
"line": 47,
"column": 43
}
}
},
"property": {
"type": "Identifier",
"start": 1182,
"end": 1189,
"loc": {
"start": {
"line": 47,
"column": 44
},
"end": {
"line": 47,
"column": 51
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1201,
"end": 1236,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 43
}
},
"expression": {
"type": "CallExpression",
"start": 1201,
"end": 1235,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 42
}
},
"callee": {
"type": "MemberExpression",
"start": 1201,
"end": 1221,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 1201,
"end": 1205,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1206,
"end": 1221,
"loc": {
"start": {
"line": 48,
"column": 13
},
"end": {
"line": 48,
"column": 28
},
"identifierName": "internalAddHint"
},
"name": "internalAddHint"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1222,
"end": 1234,
"loc": {
"start": {
"line": 48,
"column": 29
},
"end": {
"line": 48,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 1222,
"end": 1226,
"loc": {
"start": {
"line": 48,
"column": 29
},
"end": {
"line": 48,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 1227,
"end": 1234,
"loc": {
"start": {
"line": 48,
"column": 34
},
"end": {
"line": 48,
"column": 41
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Shows a super basic overlay\r\n ",
"start": 823,
"end": 871,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 41,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Adds a text with 'loading' and a spinner\r\n * @param {HTMLElement} element\r\n ",
"start": 1251,
"end": 1349,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 54,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1355,
"end": 1550,
"loc": {
"start": {
"line": 55,
"column": 4
},
"end": {
"line": 59,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1355,
"end": 1380,
"loc": {
"start": {
"line": 55,
"column": 4
},
"end": {
"line": 55,
"column": 29
},
"identifierName": "internalAddSpinnerAndText"
},
"name": "internalAddSpinnerAndText",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1381,
"end": 1388,
"loc": {
"start": {
"line": 55,
"column": 30
},
"end": {
"line": 55,
"column": 37
},
"identifierName": "element"
},
"name": "element"
}
],
"body": {
"type": "BlockStatement",
"start": 1390,
"end": 1550,
"loc": {
"start": {
"line": 55,
"column": 39
},
"end": {
"line": 59,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1401,
"end": 1446,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 53
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1407,
"end": 1445,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 56,
"column": 52
}
},
"id": {
"type": "Identifier",
"start": 1407,
"end": 1412,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 56,
"column": 19
},
"identifierName": "inner"
},
"name": "inner"
},
"init": {
"type": "CallExpression",
"start": 1415,
"end": 1445,
"loc": {
"start": {
"line": 56,
"column": 22
},
"end": {
"line": 56,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 1415,
"end": 1437,
"loc": {
"start": {
"line": 56,
"column": 22
},
"end": {
"line": 56,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 1415,
"end": 1423,
"loc": {
"start": {
"line": 56,
"column": 22
},
"end": {
"line": 56,
"column": 30
},
"identifierName": "document"
},
"name": "document"
},
"property": {
"type": "Identifier",
"start": 1424,
"end": 1437,
"loc": {
"start": {
"line": 56,
"column": 31
},
"end": {
"line": 56,
"column": 44
},
"identifierName": "createElement"
},
"name": "createElement"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1438,
"end": 1444,
"loc": {
"start": {
"line": 56,
"column": 45
},
"end": {
"line": 56,
"column": 51
}
},
"extra": {
"rawValue": "span",
"raw": "\"span\""
},
"value": "span"
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1456,
"end": 1506,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 58
}
},
"expression": {
"type": "CallExpression",
"start": 1456,
"end": 1505,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 1456,
"end": 1475,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 27
}
},
"object": {
"type": "MemberExpression",
"start": 1456,
"end": 1471,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 1456,
"end": 1461,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 13
},
"identifierName": "inner"
},
"name": "inner"
},
"property": {
"type": "Identifier",
"start": 1462,
"end": 1471,
"loc": {
"start": {
"line": 57,
"column": 14
},
"end": {
"line": 57,
"column": 23
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1472,
"end": 1475,
"loc": {
"start": {
"line": 57,
"column": 24
},
"end": {
"line": 57,
"column": 27
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1476,
"end": 1504,
"loc": {
"start": {
"line": 57,
"column": 28
},
"end": {
"line": 57,
"column": 56
}
},
"extra": {
"rawValue": "prefab_LoadingTextWithAnim",
"raw": "\"prefab_LoadingTextWithAnim\""
},
"value": "prefab_LoadingTextWithAnim"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1516,
"end": 1543,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 1516,
"end": 1542,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1516,
"end": 1535,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 1516,
"end": 1523,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 15
},
"identifierName": "element"
},
"name": "element"
},
"property": {
"type": "Identifier",
"start": 1524,
"end": 1535,
"loc": {
"start": {
"line": 58,
"column": 16
},
"end": {
"line": 58,
"column": 27
},
"identifierName": "appendChild"
},
"name": "appendChild"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1536,
"end": 1541,
"loc": {
"start": {
"line": 58,
"column": 28
},
"end": {
"line": 58,
"column": 33
},
"identifierName": "inner"
},
"name": "inner"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Adds a text with 'loading' and a spinner\r\n * @param {HTMLElement} element\r\n ",
"start": 1251,
"end": 1349,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 54,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Adds a random hint\r\n * @param {HTMLElement} element\r\n ",
"start": 1558,
"end": 1634,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1640,
"end": 1859,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 70,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1640,
"end": 1655,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 65,
"column": 19
},
"identifierName": "internalAddHint"
},
"name": "internalAddHint",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1656,
"end": 1663,
"loc": {
"start": {
"line": 65,
"column": 20
},
"end": {
"line": 65,
"column": 27
},
"identifierName": "element"
},
"name": "element"
}
],
"body": {
"type": "BlockStatement",
"start": 1665,
"end": 1859,
"loc": {
"start": {
"line": 65,
"column": 29
},
"end": {
"line": 70,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1676,
"end": 1720,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 52
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1682,
"end": 1719,
"loc": {
"start": {
"line": 66,
"column": 14
},
"end": {
"line": 66,
"column": 51
}
},
"id": {
"type": "Identifier",
"start": 1682,
"end": 1686,
"loc": {
"start": {
"line": 66,
"column": 14
},
"end": {
"line": 66,
"column": 18
},
"identifierName": "hint"
},
"name": "hint"
},
"init": {
"type": "CallExpression",
"start": 1689,
"end": 1719,
"loc": {
"start": {
"line": 66,
"column": 21
},
"end": {
"line": 66,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 1689,
"end": 1711,
"loc": {
"start": {
"line": 66,
"column": 21
},
"end": {
"line": 66,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 1689,
"end": 1697,
"loc": {
"start": {
"line": 66,
"column": 21
},
"end": {
"line": 66,
"column": 29
},
"identifierName": "document"
},
"name": "document"
},
"property": {
"type": "Identifier",
"start": 1698,
"end": 1711,
"loc": {
"start": {
"line": 66,
"column": 30
},
"end": {
"line": 66,
"column": 43
},
"identifierName": "createElement"
},
"name": "createElement"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1712,
"end": 1718,
"loc": {
"start": {
"line": 66,
"column": 44
},
"end": {
"line": 66,
"column": 50
}
},
"extra": {
"rawValue": "span",
"raw": "\"span\""
},
"value": "span"
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1730,
"end": 1768,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 46
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1730,
"end": 1767,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 45
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1730,
"end": 1744,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 1730,
"end": 1734,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 12
},
"identifierName": "hint"
},
"name": "hint"
},
"property": {
"type": "Identifier",
"start": 1735,
"end": 1744,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 22
},
"identifierName": "innerHTML"
},
"name": "innerHTML"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1747,
"end": 1767,
"loc": {
"start": {
"line": 67,
"column": 25
},
"end": {
"line": 67,
"column": 45
}
},
"callee": {
"type": "Identifier",
"start": 1747,
"end": 1759,
"loc": {
"start": {
"line": 67,
"column": 25
},
"end": {
"line": 67,
"column": 37
},
"identifierName": "randomChoice"
},
"name": "randomChoice"
},
"arguments": [
{
"type": "MemberExpression",
"start": 1760,
"end": 1766,
"loc": {
"start": {
"line": 67,
"column": 38
},
"end": {
"line": 67,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 1760,
"end": 1761,
"loc": {
"start": {
"line": 67,
"column": 38
},
"end": {
"line": 67,
"column": 39
},
"identifierName": "T"
},
"name": "T"
},
"property": {
"type": "Identifier",
"start": 1762,
"end": 1766,
"loc": {
"start": {
"line": 67,
"column": 40
},
"end": {
"line": 67,
"column": 44
},
"identifierName": "tips"
},
"name": "tips"
},
"computed": false
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 1778,
"end": 1816,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 46
}
},
"expression": {
"type": "CallExpression",
"start": 1778,
"end": 1815,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 45
}
},
"callee": {
"type": "MemberExpression",
"start": 1778,
"end": 1796,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 26
}
},
"object": {
"type": "MemberExpression",
"start": 1778,
"end": 1792,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 1778,
"end": 1782,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 12
},
"identifierName": "hint"
},
"name": "hint"
},
"property": {
"type": "Identifier",
"start": 1783,
"end": 1792,
"loc": {
"start": {
"line": 68,
"column": 13
},
"end": {
"line": 68,
"column": 22
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1793,
"end": 1796,
"loc": {
"start": {
"line": 68,
"column": 23
},
"end": {
"line": 68,
"column": 26
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1797,
"end": 1814,
"loc": {
"start": {
"line": 68,
"column": 27
},
"end": {
"line": 68,
"column": 44
}
},
"extra": {
"rawValue": "prefab_GameHint",
"raw": "\"prefab_GameHint\""
},
"value": "prefab_GameHint"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1826,
"end": 1852,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 1826,
"end": 1851,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1826,
"end": 1845,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 1826,
"end": 1833,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 15
},
"identifierName": "element"
},
"name": "element"
},
"property": {
"type": "Identifier",
"start": 1834,
"end": 1845,
"loc": {
"start": {
"line": 69,
"column": 16
},
"end": {
"line": 69,
"column": 27
},
"identifierName": "appendChild"
},
"name": "appendChild"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1846,
"end": 1850,
"loc": {
"start": {
"line": 69,
"column": 28
},
"end": {
"line": 69,
"column": 32
},
"identifierName": "hint"
},
"name": "hint"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Adds a random hint\r\n * @param {HTMLElement} element\r\n ",
"start": 1558,
"end": 1634,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": " typehints:start ",
"start": 0,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": " typehints:end ",
"start": 70,
"end": 89,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {Application} app\r\n * @param {HTMLElement} parent\r\n ",
"start": 219,
"end": 308,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 13,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "* @type {HTMLElement} ",
"start": 408,
"end": 434,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 34
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Removes the overlay if its currently visible\r\n ",
"start": 479,
"end": 544,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 24,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns if the loading overlay is attached\r\n ",
"start": 695,
"end": 758,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 34,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Shows a super basic overlay\r\n ",
"start": 823,
"end": 871,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 41,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Adds a text with 'loading' and a spinner\r\n * @param {HTMLElement} element\r\n ",
"start": 1251,
"end": 1349,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 54,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Adds a random hint\r\n * @param {HTMLElement} element\r\n ",
"start": 1558,
"end": 1634,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
}
],
"tokens": [
{
"type": "CommentBlock",
"value": " typehints:start ",
"start": 0,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 21
}
}
},
{
"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": 23,
"end": 29,
"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": 30,
"end": 31,
"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": "Application",
"start": 32,
"end": 43,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 44,
"end": 45,
"loc": {
"start": {
"line": 2,
"column": 21
},
"end": {
"line": 2,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 46,
"end": 50,
"loc": {
"start": {
"line": 2,
"column": 23
},
"end": {
"line": 2,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../application",
"start": 51,
"end": 67,
"loc": {
"start": {
"line": 2,
"column": 28
},
"end": {
"line": 2,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 67,
"end": 68,
"loc": {
"start": {
"line": 2,
"column": 44
},
"end": {
"line": 2,
"column": 45
}
}
},
{
"type": "CommentBlock",
"value": " typehints:end ",
"start": 70,
"end": 89,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 19
}
}
},
{
"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": 93,
"end": 99,
"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": 100,
"end": 101,
"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": "randomChoice",
"start": 102,
"end": 114,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 115,
"end": 116,
"loc": {
"start": {
"line": 5,
"column": 22
},
"end": {
"line": 5,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 117,
"end": 121,
"loc": {
"start": {
"line": 5,
"column": 24
},
"end": {
"line": 5,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../core/utils",
"start": 122,
"end": 137,
"loc": {
"start": {
"line": 5,
"column": 29
},
"end": {
"line": 5,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 137,
"end": 138,
"loc": {
"start": {
"line": 5,
"column": 44
},
"end": {
"line": 5,
"column": 45
}
}
},
{
"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": 140,
"end": 146,
"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": 147,
"end": 148,
"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": "T",
"start": 149,
"end": 150,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 151,
"end": 152,
"loc": {
"start": {
"line": 6,
"column": 11
},
"end": {
"line": 6,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 153,
"end": 157,
"loc": {
"start": {
"line": 6,
"column": 13
},
"end": {
"line": 6,
"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": 158,
"end": 175,
"loc": {
"start": {
"line": 6,
"column": 18
},
"end": {
"line": 6,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 175,
"end": 176,
"loc": {
"start": {
"line": 6,
"column": 35
},
"end": {
"line": 6,
"column": 36
}
}
},
{
"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": 180,
"end": 186,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"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": 187,
"end": 192,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameLoadingOverlay",
"start": 193,
"end": 211,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 212,
"end": 213,
"loc": {
"start": {
"line": 8,
"column": 32
},
"end": {
"line": 8,
"column": 33
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {Application} app\r\n * @param {HTMLElement} parent\r\n ",
"start": 219,
"end": 308,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 13,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 314,
"end": 325,
"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": 325,
"end": 326,
"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": "app",
"start": 326,
"end": 329,
"loc": {
"start": {
"line": 14,
"column": 16
},
"end": {
"line": 14,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 329,
"end": 330,
"loc": {
"start": {
"line": 14,
"column": 19
},
"end": {
"line": 14,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 331,
"end": 337,
"loc": {
"start": {
"line": 14,
"column": 21
},
"end": {
"line": 14,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 337,
"end": 338,
"loc": {
"start": {
"line": 14,
"column": 27
},
"end": {
"line": 14,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 339,
"end": 340,
"loc": {
"start": {
"line": 14,
"column": 29
},
"end": {
"line": 14,
"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": 350,
"end": 354,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 354,
"end": 355,
"loc": {
"start": {
"line": 15,
"column": 12
},
"end": {
"line": 15,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 355,
"end": 358,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 359,
"end": 360,
"loc": {
"start": {
"line": 15,
"column": 17
},
"end": {
"line": 15,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 361,
"end": 364,
"loc": {
"start": {
"line": 15,
"column": 19
},
"end": {
"line": 15,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 364,
"end": 365,
"loc": {
"start": {
"line": 15,
"column": 22
},
"end": {
"line": 15,
"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": 375,
"end": 379,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 379,
"end": 380,
"loc": {
"start": {
"line": 16,
"column": 12
},
"end": {
"line": 16,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 380,
"end": 386,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 387,
"end": 388,
"loc": {
"start": {
"line": 16,
"column": 20
},
"end": {
"line": 16,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 389,
"end": 395,
"loc": {
"start": {
"line": 16,
"column": 22
},
"end": {
"line": 16,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 395,
"end": 396,
"loc": {
"start": {
"line": 16,
"column": 28
},
"end": {
"line": 16,
"column": 29
}
}
},
{
"type": "CommentBlock",
"value": "* @type {HTMLElement} ",
"start": 408,
"end": 434,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 34
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 444,
"end": 448,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 448,
"end": 449,
"loc": {
"start": {
"line": 19,
"column": 12
},
"end": {
"line": 19,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 449,
"end": 456,
"loc": {
"start": {
"line": 19,
"column": 13
},
"end": {
"line": 19,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 457,
"end": 458,
"loc": {
"start": {
"line": 19,
"column": 21
},
"end": {
"line": 19,
"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": 459,
"end": 463,
"loc": {
"start": {
"line": 19,
"column": 23
},
"end": {
"line": 19,
"column": 27
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 463,
"end": 464,
"loc": {
"start": {
"line": 19,
"column": 27
},
"end": {
"line": 19,
"column": 28
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 470,
"end": 471,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Removes the overlay if its currently visible\r\n ",
"start": 479,
"end": 544,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 24,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "removeIfAttached",
"start": 550,
"end": 566,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 566,
"end": 567,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 567,
"end": 568,
"loc": {
"start": {
"line": 25,
"column": 21
},
"end": {
"line": 25,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 569,
"end": 570,
"loc": {
"start": {
"line": 25,
"column": 23
},
"end": {
"line": 25,
"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": 580,
"end": 582,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 583,
"end": 584,
"loc": {
"start": {
"line": 26,
"column": 11
},
"end": {
"line": 26,
"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": 584,
"end": 588,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 588,
"end": 589,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 589,
"end": 596,
"loc": {
"start": {
"line": 26,
"column": 17
},
"end": {
"line": 26,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 596,
"end": 597,
"loc": {
"start": {
"line": 26,
"column": 24
},
"end": {
"line": 26,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 598,
"end": 599,
"loc": {
"start": {
"line": 26,
"column": 26
},
"end": {
"line": 26,
"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": 613,
"end": 617,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 617,
"end": 618,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 618,
"end": 625,
"loc": {
"start": {
"line": 27,
"column": 17
},
"end": {
"line": 27,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 625,
"end": 626,
"loc": {
"start": {
"line": 27,
"column": 24
},
"end": {
"line": 27,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 626,
"end": 632,
"loc": {
"start": {
"line": 27,
"column": 25
},
"end": {
"line": 27,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 632,
"end": 633,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 633,
"end": 634,
"loc": {
"start": {
"line": 27,
"column": 32
},
"end": {
"line": 27,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 634,
"end": 635,
"loc": {
"start": {
"line": 27,
"column": 33
},
"end": {
"line": 27,
"column": 34
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 649,
"end": 653,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 653,
"end": 654,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 654,
"end": 661,
"loc": {
"start": {
"line": 28,
"column": 17
},
"end": {
"line": 28,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 662,
"end": 663,
"loc": {
"start": {
"line": 28,
"column": 25
},
"end": {
"line": 28,
"column": 26
}
}
},
{
"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": 664,
"end": 668,
"loc": {
"start": {
"line": 28,
"column": 27
},
"end": {
"line": 28,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 668,
"end": 669,
"loc": {
"start": {
"line": 28,
"column": 31
},
"end": {
"line": 28,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 679,
"end": 680,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 686,
"end": 687,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns if the loading overlay is attached\r\n ",
"start": 695,
"end": 758,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 34,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isAttached",
"start": 764,
"end": 774,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 774,
"end": 775,
"loc": {
"start": {
"line": 35,
"column": 14
},
"end": {
"line": 35,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 775,
"end": 776,
"loc": {
"start": {
"line": 35,
"column": 15
},
"end": {
"line": 35,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 777,
"end": 778,
"loc": {
"start": {
"line": 35,
"column": 17
},
"end": {
"line": 35,
"column": 18
}
}
},
{
"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": 788,
"end": 794,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"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": 795,
"end": 799,
"loc": {
"start": {
"line": 36,
"column": 15
},
"end": {
"line": 36,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 799,
"end": 800,
"loc": {
"start": {
"line": 36,
"column": 19
},
"end": {
"line": 36,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 800,
"end": 807,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 27
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 807,
"end": 808,
"loc": {
"start": {
"line": 36,
"column": 27
},
"end": {
"line": 36,
"column": 28
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 814,
"end": 815,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Shows a super basic overlay\r\n ",
"start": 823,
"end": 871,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 41,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "showBasic",
"start": 877,
"end": 886,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 42,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 886,
"end": 887,
"loc": {
"start": {
"line": 42,
"column": 13
},
"end": {
"line": 42,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 887,
"end": 888,
"loc": {
"start": {
"line": 42,
"column": 14
},
"end": {
"line": 42,
"column": 15
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 889,
"end": 890,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 900,
"end": 906,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 906,
"end": 907,
"loc": {
"start": {
"line": 43,
"column": 14
},
"end": {
"line": 43,
"column": 15
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 907,
"end": 908,
"loc": {
"start": {
"line": 43,
"column": 15
},
"end": {
"line": 43,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 908,
"end": 912,
"loc": {
"start": {
"line": 43,
"column": 16
},
"end": {
"line": 43,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 912,
"end": 913,
"loc": {
"start": {
"line": 43,
"column": 20
},
"end": {
"line": 43,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 913,
"end": 920,
"loc": {
"start": {
"line": 43,
"column": 21
},
"end": {
"line": 43,
"column": 28
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 920,
"end": 921,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 29
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Loading overlay already visible, cant show again",
"start": 922,
"end": 972,
"loc": {
"start": {
"line": 43,
"column": 30
},
"end": {
"line": 43,
"column": 80
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 972,
"end": 973,
"loc": {
"start": {
"line": 43,
"column": 80
},
"end": {
"line": 43,
"column": 81
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 973,
"end": 974,
"loc": {
"start": {
"line": 43,
"column": 81
},
"end": {
"line": 43,
"column": 82
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 984,
"end": 988,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 988,
"end": 989,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 989,
"end": 996,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 997,
"end": 998,
"loc": {
"start": {
"line": 44,
"column": 21
},
"end": {
"line": 44,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "document",
"start": 999,
"end": 1007,
"loc": {
"start": {
"line": 44,
"column": 23
},
"end": {
"line": 44,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1007,
"end": 1008,
"loc": {
"start": {
"line": 44,
"column": 31
},
"end": {
"line": 44,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createElement",
"start": 1008,
"end": 1021,
"loc": {
"start": {
"line": 44,
"column": 32
},
"end": {
"line": 44,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1021,
"end": 1022,
"loc": {
"start": {
"line": 44,
"column": 45
},
"end": {
"line": 44,
"column": 46
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "div",
"start": 1022,
"end": 1027,
"loc": {
"start": {
"line": 44,
"column": 46
},
"end": {
"line": 44,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1027,
"end": 1028,
"loc": {
"start": {
"line": 44,
"column": 51
},
"end": {
"line": 44,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1028,
"end": 1029,
"loc": {
"start": {
"line": 44,
"column": 52
},
"end": {
"line": 44,
"column": 53
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1039,
"end": 1043,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1043,
"end": 1044,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 1044,
"end": 1051,
"loc": {
"start": {
"line": 45,
"column": 13
},
"end": {
"line": 45,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1051,
"end": 1052,
"loc": {
"start": {
"line": 45,
"column": 20
},
"end": {
"line": 45,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 1052,
"end": 1061,
"loc": {
"start": {
"line": 45,
"column": 21
},
"end": {
"line": 45,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1061,
"end": 1062,
"loc": {
"start": {
"line": 45,
"column": 30
},
"end": {
"line": 45,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1062,
"end": 1065,
"loc": {
"start": {
"line": 45,
"column": 31
},
"end": {
"line": 45,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1065,
"end": 1066,
"loc": {
"start": {
"line": 45,
"column": 34
},
"end": {
"line": 45,
"column": 35
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "gameLoadingOverlay",
"start": 1066,
"end": 1086,
"loc": {
"start": {
"line": 45,
"column": 35
},
"end": {
"line": 45,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1086,
"end": 1087,
"loc": {
"start": {
"line": 45,
"column": 55
},
"end": {
"line": 45,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1087,
"end": 1088,
"loc": {
"start": {
"line": 45,
"column": 56
},
"end": {
"line": 45,
"column": 57
}
}
},
{
"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": 1098,
"end": 1102,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1102,
"end": 1103,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 1103,
"end": 1109,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1109,
"end": 1110,
"loc": {
"start": {
"line": 46,
"column": 19
},
"end": {
"line": 46,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "appendChild",
"start": 1110,
"end": 1121,
"loc": {
"start": {
"line": 46,
"column": 20
},
"end": {
"line": 46,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1121,
"end": 1122,
"loc": {
"start": {
"line": 46,
"column": 31
},
"end": {
"line": 46,
"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": 1122,
"end": 1126,
"loc": {
"start": {
"line": 46,
"column": 32
},
"end": {
"line": 46,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1126,
"end": 1127,
"loc": {
"start": {
"line": 46,
"column": 36
},
"end": {
"line": 46,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 1127,
"end": 1134,
"loc": {
"start": {
"line": 46,
"column": 37
},
"end": {
"line": 46,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1134,
"end": 1135,
"loc": {
"start": {
"line": 46,
"column": 44
},
"end": {
"line": 46,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1135,
"end": 1136,
"loc": {
"start": {
"line": 46,
"column": 45
},
"end": {
"line": 46,
"column": 46
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1146,
"end": 1150,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1150,
"end": 1151,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "internalAddSpinnerAndText",
"start": 1151,
"end": 1176,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1176,
"end": 1177,
"loc": {
"start": {
"line": 47,
"column": 38
},
"end": {
"line": 47,
"column": 39
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1177,
"end": 1181,
"loc": {
"start": {
"line": 47,
"column": 39
},
"end": {
"line": 47,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1181,
"end": 1182,
"loc": {
"start": {
"line": 47,
"column": 43
},
"end": {
"line": 47,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 1182,
"end": 1189,
"loc": {
"start": {
"line": 47,
"column": 44
},
"end": {
"line": 47,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1189,
"end": 1190,
"loc": {
"start": {
"line": 47,
"column": 51
},
"end": {
"line": 47,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1190,
"end": 1191,
"loc": {
"start": {
"line": 47,
"column": 52
},
"end": {
"line": 47,
"column": 53
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1201,
"end": 1205,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1205,
"end": 1206,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "internalAddHint",
"start": 1206,
"end": 1221,
"loc": {
"start": {
"line": 48,
"column": 13
},
"end": {
"line": 48,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1221,
"end": 1222,
"loc": {
"start": {
"line": 48,
"column": 28
},
"end": {
"line": 48,
"column": 29
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1222,
"end": 1226,
"loc": {
"start": {
"line": 48,
"column": 29
},
"end": {
"line": 48,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1226,
"end": 1227,
"loc": {
"start": {
"line": 48,
"column": 33
},
"end": {
"line": 48,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 1227,
"end": 1234,
"loc": {
"start": {
"line": 48,
"column": 34
},
"end": {
"line": 48,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1234,
"end": 1235,
"loc": {
"start": {
"line": 48,
"column": 41
},
"end": {
"line": 48,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1235,
"end": 1236,
"loc": {
"start": {
"line": 48,
"column": 42
},
"end": {
"line": 48,
"column": 43
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1242,
"end": 1243,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 49,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Adds a text with 'loading' and a spinner\r\n * @param {HTMLElement} element\r\n ",
"start": 1251,
"end": 1349,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 54,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "internalAddSpinnerAndText",
"start": 1355,
"end": 1380,
"loc": {
"start": {
"line": 55,
"column": 4
},
"end": {
"line": 55,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1380,
"end": 1381,
"loc": {
"start": {
"line": 55,
"column": 29
},
"end": {
"line": 55,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 1381,
"end": 1388,
"loc": {
"start": {
"line": 55,
"column": 30
},
"end": {
"line": 55,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1388,
"end": 1389,
"loc": {
"start": {
"line": 55,
"column": 37
},
"end": {
"line": 55,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1390,
"end": 1391,
"loc": {
"start": {
"line": 55,
"column": 39
},
"end": {
"line": 55,
"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": 1401,
"end": 1406,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "inner",
"start": 1407,
"end": 1412,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 56,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1413,
"end": 1414,
"loc": {
"start": {
"line": 56,
"column": 20
},
"end": {
"line": 56,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "document",
"start": 1415,
"end": 1423,
"loc": {
"start": {
"line": 56,
"column": 22
},
"end": {
"line": 56,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1423,
"end": 1424,
"loc": {
"start": {
"line": 56,
"column": 30
},
"end": {
"line": 56,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createElement",
"start": 1424,
"end": 1437,
"loc": {
"start": {
"line": 56,
"column": 31
},
"end": {
"line": 56,
"column": 44
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1437,
"end": 1438,
"loc": {
"start": {
"line": 56,
"column": 44
},
"end": {
"line": 56,
"column": 45
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "span",
"start": 1438,
"end": 1444,
"loc": {
"start": {
"line": 56,
"column": 45
},
"end": {
"line": 56,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1444,
"end": 1445,
"loc": {
"start": {
"line": 56,
"column": 51
},
"end": {
"line": 56,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1445,
"end": 1446,
"loc": {
"start": {
"line": 56,
"column": 52
},
"end": {
"line": 56,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "inner",
"start": 1456,
"end": 1461,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1461,
"end": 1462,
"loc": {
"start": {
"line": 57,
"column": 13
},
"end": {
"line": 57,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 1462,
"end": 1471,
"loc": {
"start": {
"line": 57,
"column": 14
},
"end": {
"line": 57,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1471,
"end": 1472,
"loc": {
"start": {
"line": 57,
"column": 23
},
"end": {
"line": 57,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1472,
"end": 1475,
"loc": {
"start": {
"line": 57,
"column": 24
},
"end": {
"line": 57,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1475,
"end": 1476,
"loc": {
"start": {
"line": 57,
"column": 27
},
"end": {
"line": 57,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "prefab_LoadingTextWithAnim",
"start": 1476,
"end": 1504,
"loc": {
"start": {
"line": 57,
"column": 28
},
"end": {
"line": 57,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1504,
"end": 1505,
"loc": {
"start": {
"line": 57,
"column": 56
},
"end": {
"line": 57,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1505,
"end": 1506,
"loc": {
"start": {
"line": 57,
"column": 57
},
"end": {
"line": 57,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 1516,
"end": 1523,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1523,
"end": 1524,
"loc": {
"start": {
"line": 58,
"column": 15
},
"end": {
"line": 58,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "appendChild",
"start": 1524,
"end": 1535,
"loc": {
"start": {
"line": 58,
"column": 16
},
"end": {
"line": 58,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1535,
"end": 1536,
"loc": {
"start": {
"line": 58,
"column": 27
},
"end": {
"line": 58,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "inner",
"start": 1536,
"end": 1541,
"loc": {
"start": {
"line": 58,
"column": 28
},
"end": {
"line": 58,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1541,
"end": 1542,
"loc": {
"start": {
"line": 58,
"column": 33
},
"end": {
"line": 58,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1542,
"end": 1543,
"loc": {
"start": {
"line": 58,
"column": 34
},
"end": {
"line": 58,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1549,
"end": 1550,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 59,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Adds a random hint\r\n * @param {HTMLElement} element\r\n ",
"start": 1558,
"end": 1634,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "internalAddHint",
"start": 1640,
"end": 1655,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 65,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1655,
"end": 1656,
"loc": {
"start": {
"line": 65,
"column": 19
},
"end": {
"line": 65,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 1656,
"end": 1663,
"loc": {
"start": {
"line": 65,
"column": 20
},
"end": {
"line": 65,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1663,
"end": 1664,
"loc": {
"start": {
"line": 65,
"column": 27
},
"end": {
"line": 65,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1665,
"end": 1666,
"loc": {
"start": {
"line": 65,
"column": 29
},
"end": {
"line": 65,
"column": 30
}
}
},
{
"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": 1676,
"end": 1681,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hint",
"start": 1682,
"end": 1686,
"loc": {
"start": {
"line": 66,
"column": 14
},
"end": {
"line": 66,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1687,
"end": 1688,
"loc": {
"start": {
"line": 66,
"column": 19
},
"end": {
"line": 66,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "document",
"start": 1689,
"end": 1697,
"loc": {
"start": {
"line": 66,
"column": 21
},
"end": {
"line": 66,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1697,
"end": 1698,
"loc": {
"start": {
"line": 66,
"column": 29
},
"end": {
"line": 66,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createElement",
"start": 1698,
"end": 1711,
"loc": {
"start": {
"line": 66,
"column": 30
},
"end": {
"line": 66,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1711,
"end": 1712,
"loc": {
"start": {
"line": 66,
"column": 43
},
"end": {
"line": 66,
"column": 44
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "span",
"start": 1712,
"end": 1718,
"loc": {
"start": {
"line": 66,
"column": 44
},
"end": {
"line": 66,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1718,
"end": 1719,
"loc": {
"start": {
"line": 66,
"column": 50
},
"end": {
"line": 66,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1719,
"end": 1720,
"loc": {
"start": {
"line": 66,
"column": 51
},
"end": {
"line": 66,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hint",
"start": 1730,
"end": 1734,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1734,
"end": 1735,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "innerHTML",
"start": 1735,
"end": 1744,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1745,
"end": 1746,
"loc": {
"start": {
"line": 67,
"column": 23
},
"end": {
"line": 67,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "randomChoice",
"start": 1747,
"end": 1759,
"loc": {
"start": {
"line": 67,
"column": 25
},
"end": {
"line": 67,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1759,
"end": 1760,
"loc": {
"start": {
"line": 67,
"column": 37
},
"end": {
"line": 67,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "T",
"start": 1760,
"end": 1761,
"loc": {
"start": {
"line": 67,
"column": 38
},
"end": {
"line": 67,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1761,
"end": 1762,
"loc": {
"start": {
"line": 67,
"column": 39
},
"end": {
"line": 67,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tips",
"start": 1762,
"end": 1766,
"loc": {
"start": {
"line": 67,
"column": 40
},
"end": {
"line": 67,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1766,
"end": 1767,
"loc": {
"start": {
"line": 67,
"column": 44
},
"end": {
"line": 67,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1767,
"end": 1768,
"loc": {
"start": {
"line": 67,
"column": 45
},
"end": {
"line": 67,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hint",
"start": 1778,
"end": 1782,
"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": 1782,
"end": 1783,
"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": "classList",
"start": 1783,
"end": 1792,
"loc": {
"start": {
"line": 68,
"column": 13
},
"end": {
"line": 68,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1792,
"end": 1793,
"loc": {
"start": {
"line": 68,
"column": 22
},
"end": {
"line": 68,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1793,
"end": 1796,
"loc": {
"start": {
"line": 68,
"column": 23
},
"end": {
"line": 68,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1796,
"end": 1797,
"loc": {
"start": {
"line": 68,
"column": 26
},
"end": {
"line": 68,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "prefab_GameHint",
"start": 1797,
"end": 1814,
"loc": {
"start": {
"line": 68,
"column": 27
},
"end": {
"line": 68,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1814,
"end": 1815,
"loc": {
"start": {
"line": 68,
"column": 44
},
"end": {
"line": 68,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1815,
"end": 1816,
"loc": {
"start": {
"line": 68,
"column": 45
},
"end": {
"line": 68,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 1826,
"end": 1833,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1833,
"end": 1834,
"loc": {
"start": {
"line": 69,
"column": 15
},
"end": {
"line": 69,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "appendChild",
"start": 1834,
"end": 1845,
"loc": {
"start": {
"line": 69,
"column": 16
},
"end": {
"line": 69,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1845,
"end": 1846,
"loc": {
"start": {
"line": 69,
"column": 27
},
"end": {
"line": 69,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hint",
"start": 1846,
"end": 1850,
"loc": {
"start": {
"line": 69,
"column": 28
},
"end": {
"line": 69,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1850,
"end": 1851,
"loc": {
"start": {
"line": 69,
"column": 32
},
"end": {
"line": 69,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1851,
"end": 1852,
"loc": {
"start": {
"line": 69,
"column": 33
},
"end": {
"line": 69,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1858,
"end": 1859,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1861,
"end": 1862,
"loc": {
"start": {
"line": 71,
"column": 0
},
"end": {
"line": 71,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1864,
"end": 1864,
"loc": {
"start": {
"line": 72,
"column": 0
},
"end": {
"line": 72,
"column": 0
}
}
}
]
}