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

11505 lines
297 KiB
JSON

{
"type": "File",
"start": 0,
"end": 1746,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 56,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 1746,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 56,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 46,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 46
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 16
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 16
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 16
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
}
}
],
"source": {
"type": "StringLiteral",
"start": 24,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 45
}
},
"extra": {
"rawValue": "../../../core/utils",
"raw": "\"../../../core/utils\""
},
"value": "../../../core/utils"
}
},
{
"type": "ImportDeclaration",
"start": 48,
"end": 90,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 42
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 57,
"end": 58,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 10
}
},
"imported": {
"type": "Identifier",
"start": 57,
"end": 58,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 10
},
"identifierName": "T"
},
"name": "T"
},
"local": {
"type": "Identifier",
"start": 57,
"end": 58,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 10
},
"identifierName": "T"
},
"name": "T"
}
}
],
"source": {
"type": "StringLiteral",
"start": 66,
"end": 89,
"loc": {
"start": {
"line": 2,
"column": 18
},
"end": {
"line": 2,
"column": 41
}
},
"extra": {
"rawValue": "../../../translations",
"raw": "\"../../../translations\""
},
"value": "../../../translations"
}
},
{
"type": "ImportDeclaration",
"start": 92,
"end": 139,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 47
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 101,
"end": 112,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 20
}
},
"imported": {
"type": "Identifier",
"start": 101,
"end": 112,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 20
},
"identifierName": "BaseHUDPart"
},
"name": "BaseHUDPart"
},
"local": {
"type": "Identifier",
"start": 101,
"end": 112,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 20
},
"identifierName": "BaseHUDPart"
},
"name": "BaseHUDPart"
}
}
],
"source": {
"type": "StringLiteral",
"start": 120,
"end": 138,
"loc": {
"start": {
"line": 3,
"column": 28
},
"end": {
"line": 3,
"column": 46
}
},
"extra": {
"rawValue": "../base_hud_part",
"raw": "\"../base_hud_part\""
},
"value": "../base_hud_part"
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @enum {string} ",
"start": 143,
"end": 164,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 21
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 166,
"end": 278,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 10,
"column": 2
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 173,
"end": 278,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 10,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 179,
"end": 277,
"loc": {
"start": {
"line": 6,
"column": 13
},
"end": {
"line": 10,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 179,
"end": 199,
"loc": {
"start": {
"line": 6,
"column": 13
},
"end": {
"line": 6,
"column": 33
},
"identifierName": "enumNotificationType"
},
"name": "enumNotificationType",
"leadingComments": null
},
"init": {
"type": "ObjectExpression",
"start": 202,
"end": 277,
"loc": {
"start": {
"line": 6,
"column": 36
},
"end": {
"line": 10,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 209,
"end": 223,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 18
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 209,
"end": 214,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 9
},
"identifierName": "saved"
},
"name": "saved"
},
"value": {
"type": "StringLiteral",
"start": 216,
"end": 223,
"loc": {
"start": {
"line": 7,
"column": 11
},
"end": {
"line": 7,
"column": 18
}
},
"extra": {
"rawValue": "saved",
"raw": "\"saved\""
},
"value": "saved"
}
},
{
"type": "ObjectProperty",
"start": 230,
"end": 248,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 22
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 230,
"end": 237,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 11
},
"identifierName": "upgrade"
},
"name": "upgrade"
},
"value": {
"type": "StringLiteral",
"start": 239,
"end": 248,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 22
}
},
"extra": {
"rawValue": "upgrade",
"raw": "\"upgrade\""
},
"value": "upgrade"
}
},
{
"type": "ObjectProperty",
"start": 255,
"end": 273,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 22
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 255,
"end": 262,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 11
},
"identifierName": "success"
},
"name": "success"
},
"value": {
"type": "StringLiteral",
"start": 264,
"end": 273,
"loc": {
"start": {
"line": 9,
"column": 13
},
"end": {
"line": 9,
"column": 22
}
},
"extra": {
"rawValue": "success",
"raw": "\"success\""
},
"value": "success"
}
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @enum {string} ",
"start": 143,
"end": 164,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 21
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @enum {string} ",
"start": 143,
"end": 164,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 21
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 282,
"end": 313,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 31
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 288,
"end": 312,
"loc": {
"start": {
"line": 12,
"column": 6
},
"end": {
"line": 12,
"column": 30
}
},
"id": {
"type": "Identifier",
"start": 288,
"end": 308,
"loc": {
"start": {
"line": 12,
"column": 6
},
"end": {
"line": 12,
"column": 26
},
"identifierName": "notificationDuration"
},
"name": "notificationDuration"
},
"init": {
"type": "NumericLiteral",
"start": 311,
"end": 312,
"loc": {
"start": {
"line": 12,
"column": 29
},
"end": {
"line": 12,
"column": 30
}
},
"extra": {
"rawValue": 3,
"raw": "3"
},
"value": 3
}
}
],
"kind": "const"
},
{
"type": "ExportNamedDeclaration",
"start": 317,
"end": 1744,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 55,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 324,
"end": 1744,
"loc": {
"start": {
"line": 14,
"column": 7
},
"end": {
"line": 55,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 330,
"end": 346,
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 29
},
"identifierName": "HUDNotifications"
},
"name": "HUDNotifications"
},
"superClass": {
"type": "Identifier",
"start": 355,
"end": 366,
"loc": {
"start": {
"line": 14,
"column": 38
},
"end": {
"line": 14,
"column": 49
},
"identifierName": "BaseHUDPart"
},
"name": "BaseHUDPart"
},
"body": {
"type": "ClassBody",
"start": 367,
"end": 1744,
"loc": {
"start": {
"line": 14,
"column": 50
},
"end": {
"line": 55,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 374,
"end": 482,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 17,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 374,
"end": 388,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 18
},
"identifierName": "createElements"
},
"name": "createElements"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 389,
"end": 395,
"loc": {
"start": {
"line": 15,
"column": 19
},
"end": {
"line": 15,
"column": 25
},
"identifierName": "parent"
},
"name": "parent"
}
],
"body": {
"type": "BlockStatement",
"start": 397,
"end": 482,
"loc": {
"start": {
"line": 15,
"column": 27
},
"end": {
"line": 17,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 408,
"end": 475,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 75
}
},
"expression": {
"type": "AssignmentExpression",
"start": 408,
"end": 474,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 74
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 408,
"end": 420,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 408,
"end": 412,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 413,
"end": 420,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 20
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 423,
"end": 474,
"loc": {
"start": {
"line": 16,
"column": 23
},
"end": {
"line": 16,
"column": 74
}
},
"callee": {
"type": "Identifier",
"start": 423,
"end": 430,
"loc": {
"start": {
"line": 16,
"column": 23
},
"end": {
"line": 16,
"column": 30
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
},
"arguments": [
{
"type": "Identifier",
"start": 431,
"end": 437,
"loc": {
"start": {
"line": 16,
"column": 31
},
"end": {
"line": 16,
"column": 37
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "StringLiteral",
"start": 439,
"end": 465,
"loc": {
"start": {
"line": 16,
"column": 39
},
"end": {
"line": 16,
"column": 65
}
},
"extra": {
"rawValue": "ingame_HUD_Notifications",
"raw": "\"ingame_HUD_Notifications\""
},
"value": "ingame_HUD_Notifications"
},
{
"type": "ArrayExpression",
"start": 467,
"end": 469,
"loc": {
"start": {
"line": 16,
"column": 67
},
"end": {
"line": 16,
"column": 69
}
},
"elements": []
},
{
"type": "TemplateLiteral",
"start": 471,
"end": 473,
"loc": {
"start": {
"line": 16,
"column": 71
},
"end": {
"line": 16,
"column": 73
}
},
"expressions": [],
"quasis": [
{
"type": "TemplateElement",
"start": 472,
"end": 472,
"loc": {
"start": {
"line": 16,
"column": 72
},
"end": {
"line": 16,
"column": 72
}
},
"value": {
"raw": "",
"cooked": ""
},
"tail": true
}
]
}
]
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 490,
"end": 895,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 29,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 490,
"end": 500,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 14
},
"identifierName": "initialize"
},
"name": "initialize"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 503,
"end": 895,
"loc": {
"start": {
"line": 19,
"column": 17
},
"end": {
"line": 29,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 514,
"end": 580,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 74
}
},
"expression": {
"type": "CallExpression",
"start": 514,
"end": 579,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 73
}
},
"callee": {
"type": "MemberExpression",
"start": 514,
"end": 552,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 514,
"end": 548,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 514,
"end": 535,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 29
}
},
"object": {
"type": "MemberExpression",
"start": 514,
"end": 527,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 21
}
},
"object": {
"type": "MemberExpression",
"start": 514,
"end": 523,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 514,
"end": 518,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 519,
"end": 523,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 524,
"end": 527,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 21
},
"identifierName": "hud"
},
"name": "hud"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 528,
"end": 535,
"loc": {
"start": {
"line": 20,
"column": 22
},
"end": {
"line": 20,
"column": 29
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 536,
"end": 548,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 42
},
"identifierName": "notification"
},
"name": "notification"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 549,
"end": 552,
"loc": {
"start": {
"line": 20,
"column": 43
},
"end": {
"line": 20,
"column": 46
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 553,
"end": 572,
"loc": {
"start": {
"line": 20,
"column": 47
},
"end": {
"line": 20,
"column": 66
}
},
"object": {
"type": "ThisExpression",
"start": 553,
"end": 557,
"loc": {
"start": {
"line": 20,
"column": 47
},
"end": {
"line": 20,
"column": 51
}
}
},
"property": {
"type": "Identifier",
"start": 558,
"end": 572,
"loc": {
"start": {
"line": 20,
"column": 52
},
"end": {
"line": 20,
"column": 66
},
"identifierName": "onNotification"
},
"name": "onNotification"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 574,
"end": 578,
"loc": {
"start": {
"line": 20,
"column": 68
},
"end": {
"line": 20,
"column": 72
}
}
}
]
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @type {Array<{ element: HTMLElement, expireAt: number}>} ",
"start": 592,
"end": 655,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 71
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 665,
"end": 696,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 39
}
},
"expression": {
"type": "AssignmentExpression",
"start": 665,
"end": 695,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 38
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 665,
"end": 690,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 665,
"end": 669,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 670,
"end": 690,
"loc": {
"start": {
"line": 23,
"column": 13
},
"end": {
"line": 23,
"column": 33
},
"identifierName": "notificationElements"
},
"name": "notificationElements"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "ArrayExpression",
"start": 693,
"end": 695,
"loc": {
"start": {
"line": 23,
"column": 36
},
"end": {
"line": 23,
"column": 38
}
},
"elements": []
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {Array<{ element: HTMLElement, expireAt: number}>} ",
"start": 592,
"end": 655,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 71
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Automatic notifications",
"start": 708,
"end": 734,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 34
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 744,
"end": 888,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 28,
"column": 10
}
},
"expression": {
"type": "CallExpression",
"start": 744,
"end": 887,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 28,
"column": 9
}
},
"callee": {
"type": "MemberExpression",
"start": 744,
"end": 775,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 744,
"end": 771,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 744,
"end": 761,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 744,
"end": 753,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 744,
"end": 748,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 749,
"end": 753,
"loc": {
"start": {
"line": 26,
"column": 13
},
"end": {
"line": 26,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 754,
"end": 761,
"loc": {
"start": {
"line": 26,
"column": 18
},
"end": {
"line": 26,
"column": 25
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 762,
"end": 771,
"loc": {
"start": {
"line": 26,
"column": 26
},
"end": {
"line": 26,
"column": 35
},
"identifierName": "gameSaved"
},
"name": "gameSaved"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 772,
"end": 775,
"loc": {
"start": {
"line": 26,
"column": 36
},
"end": {
"line": 26,
"column": 39
},
"identifierName": "add"
},
"name": "add"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 776,
"end": 876,
"loc": {
"start": {
"line": 26,
"column": 40
},
"end": {
"line": 27,
"column": 93
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "CallExpression",
"start": 795,
"end": 876,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 93
}
},
"callee": {
"type": "MemberExpression",
"start": 795,
"end": 814,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 795,
"end": 799,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 800,
"end": 814,
"loc": {
"start": {
"line": 27,
"column": 17
},
"end": {
"line": 27,
"column": 31
},
"identifierName": "onNotification"
},
"name": "onNotification"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 815,
"end": 847,
"loc": {
"start": {
"line": 27,
"column": 32
},
"end": {
"line": 27,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 815,
"end": 837,
"loc": {
"start": {
"line": 27,
"column": 32
},
"end": {
"line": 27,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 815,
"end": 823,
"loc": {
"start": {
"line": 27,
"column": 32
},
"end": {
"line": 27,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 815,
"end": 816,
"loc": {
"start": {
"line": 27,
"column": 32
},
"end": {
"line": 27,
"column": 33
},
"identifierName": "T"
},
"name": "T"
},
"property": {
"type": "Identifier",
"start": 817,
"end": 823,
"loc": {
"start": {
"line": 27,
"column": 34
},
"end": {
"line": 27,
"column": 40
},
"identifierName": "ingame"
},
"name": "ingame"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 824,
"end": 837,
"loc": {
"start": {
"line": 27,
"column": 41
},
"end": {
"line": 27,
"column": 54
},
"identifierName": "notifications"
},
"name": "notifications"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 838,
"end": 847,
"loc": {
"start": {
"line": 27,
"column": 55
},
"end": {
"line": 27,
"column": 64
},
"identifierName": "gameSaved"
},
"name": "gameSaved"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 849,
"end": 875,
"loc": {
"start": {
"line": 27,
"column": 66
},
"end": {
"line": 27,
"column": 92
}
},
"object": {
"type": "Identifier",
"start": 849,
"end": 869,
"loc": {
"start": {
"line": 27,
"column": 66
},
"end": {
"line": 27,
"column": 86
},
"identifierName": "enumNotificationType"
},
"name": "enumNotificationType"
},
"property": {
"type": "Identifier",
"start": 870,
"end": 875,
"loc": {
"start": {
"line": 27,
"column": 87
},
"end": {
"line": 27,
"column": 92
},
"identifierName": "saved"
},
"name": "saved"
},
"computed": false
}
]
}
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Automatic notifications",
"start": 708,
"end": 734,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 34
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} message\r\n * @param {enumNotificationType} type\r\n ",
"start": 903,
"end": 990,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 34,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 996,
"end": 1369,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 43,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 996,
"end": 1010,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 18
},
"identifierName": "onNotification"
},
"name": "onNotification",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1011,
"end": 1018,
"loc": {
"start": {
"line": 35,
"column": 19
},
"end": {
"line": 35,
"column": 26
},
"identifierName": "message"
},
"name": "message"
},
{
"type": "Identifier",
"start": 1020,
"end": 1024,
"loc": {
"start": {
"line": 35,
"column": 28
},
"end": {
"line": 35,
"column": 32
},
"identifierName": "type"
},
"name": "type"
}
],
"body": {
"type": "BlockStatement",
"start": 1026,
"end": 1369,
"loc": {
"start": {
"line": 35,
"column": 34
},
"end": {
"line": 43,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1037,
"end": 1124,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 95
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1043,
"end": 1123,
"loc": {
"start": {
"line": 36,
"column": 14
},
"end": {
"line": 36,
"column": 94
}
},
"id": {
"type": "Identifier",
"start": 1043,
"end": 1050,
"loc": {
"start": {
"line": 36,
"column": 14
},
"end": {
"line": 36,
"column": 21
},
"identifierName": "element"
},
"name": "element"
},
"init": {
"type": "CallExpression",
"start": 1053,
"end": 1123,
"loc": {
"start": {
"line": 36,
"column": 24
},
"end": {
"line": 36,
"column": 94
}
},
"callee": {
"type": "Identifier",
"start": 1053,
"end": 1060,
"loc": {
"start": {
"line": 36,
"column": 24
},
"end": {
"line": 36,
"column": 31
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
},
"arguments": [
{
"type": "MemberExpression",
"start": 1061,
"end": 1073,
"loc": {
"start": {
"line": 36,
"column": 32
},
"end": {
"line": 36,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 1061,
"end": 1065,
"loc": {
"start": {
"line": 36,
"column": 32
},
"end": {
"line": 36,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 1066,
"end": 1073,
"loc": {
"start": {
"line": 36,
"column": 37
},
"end": {
"line": 36,
"column": 44
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
{
"type": "NullLiteral",
"start": 1075,
"end": 1079,
"loc": {
"start": {
"line": 36,
"column": 46
},
"end": {
"line": 36,
"column": 50
}
}
},
{
"type": "ArrayExpression",
"start": 1081,
"end": 1113,
"loc": {
"start": {
"line": 36,
"column": 52
},
"end": {
"line": 36,
"column": 84
}
},
"elements": [
{
"type": "StringLiteral",
"start": 1082,
"end": 1096,
"loc": {
"start": {
"line": 36,
"column": 53
},
"end": {
"line": 36,
"column": 67
}
},
"extra": {
"rawValue": "notification",
"raw": "\"notification\""
},
"value": "notification"
},
{
"type": "BinaryExpression",
"start": 1098,
"end": 1112,
"loc": {
"start": {
"line": 36,
"column": 69
},
"end": {
"line": 36,
"column": 83
}
},
"left": {
"type": "StringLiteral",
"start": 1098,
"end": 1105,
"loc": {
"start": {
"line": 36,
"column": 69
},
"end": {
"line": 36,
"column": 76
}
},
"extra": {
"rawValue": "type-",
"raw": "\"type-\""
},
"value": "type-"
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 1108,
"end": 1112,
"loc": {
"start": {
"line": 36,
"column": 79
},
"end": {
"line": 36,
"column": 83
},
"identifierName": "type"
},
"name": "type"
}
}
]
},
{
"type": "Identifier",
"start": 1115,
"end": 1122,
"loc": {
"start": {
"line": 36,
"column": 86
},
"end": {
"line": 36,
"column": 93
},
"identifierName": "message"
},
"name": "message"
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1134,
"end": 1207,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 81
}
},
"expression": {
"type": "CallExpression",
"start": 1134,
"end": 1206,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 80
}
},
"callee": {
"type": "MemberExpression",
"start": 1134,
"end": 1154,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 1134,
"end": 1141,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 15
},
"identifierName": "element"
},
"name": "element"
},
"property": {
"type": "Identifier",
"start": 1142,
"end": 1154,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 28
},
"identifierName": "setAttribute"
},
"name": "setAttribute"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1155,
"end": 1166,
"loc": {
"start": {
"line": 37,
"column": 29
},
"end": {
"line": 37,
"column": 40
}
},
"extra": {
"rawValue": "data-icon",
"raw": "\"data-icon\""
},
"value": "data-icon"
},
{
"type": "BinaryExpression",
"start": 1168,
"end": 1205,
"loc": {
"start": {
"line": 37,
"column": 42
},
"end": {
"line": 37,
"column": 79
}
},
"left": {
"type": "BinaryExpression",
"start": 1168,
"end": 1196,
"loc": {
"start": {
"line": 37,
"column": 42
},
"end": {
"line": 37,
"column": 70
}
},
"left": {
"type": "StringLiteral",
"start": 1168,
"end": 1189,
"loc": {
"start": {
"line": 37,
"column": 42
},
"end": {
"line": 37,
"column": 63
}
},
"extra": {
"rawValue": "icons/notification_",
"raw": "\"icons/notification_\""
},
"value": "icons/notification_"
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 1192,
"end": 1196,
"loc": {
"start": {
"line": 37,
"column": 66
},
"end": {
"line": 37,
"column": 70
},
"identifierName": "type"
},
"name": "type"
}
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 1199,
"end": 1205,
"loc": {
"start": {
"line": 37,
"column": 73
},
"end": {
"line": 37,
"column": 79
}
},
"extra": {
"rawValue": ".png",
"raw": "\".png\""
},
"value": ".png"
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1219,
"end": 1362,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 42,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1219,
"end": 1361,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 42,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1219,
"end": 1249,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 1219,
"end": 1244,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 1219,
"end": 1223,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1224,
"end": 1244,
"loc": {
"start": {
"line": 39,
"column": 13
},
"end": {
"line": 39,
"column": 33
},
"identifierName": "notificationElements"
},
"name": "notificationElements"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1245,
"end": 1249,
"loc": {
"start": {
"line": 39,
"column": 34
},
"end": {
"line": 39,
"column": 38
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 1250,
"end": 1360,
"loc": {
"start": {
"line": 39,
"column": 39
},
"end": {
"line": 42,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1265,
"end": 1272,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 19
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1265,
"end": 1272,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 19
},
"identifierName": "element"
},
"name": "element"
},
"value": {
"type": "Identifier",
"start": 1265,
"end": 1272,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 19
},
"identifierName": "element"
},
"name": "element"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 1287,
"end": 1348,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 73
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1287,
"end": 1295,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 20
},
"identifierName": "expireAt"
},
"name": "expireAt"
},
"value": {
"type": "BinaryExpression",
"start": 1297,
"end": 1348,
"loc": {
"start": {
"line": 41,
"column": 22
},
"end": {
"line": 41,
"column": 73
}
},
"left": {
"type": "CallExpression",
"start": 1297,
"end": 1325,
"loc": {
"start": {
"line": 41,
"column": 22
},
"end": {
"line": 41,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 1297,
"end": 1323,
"loc": {
"start": {
"line": 41,
"column": 22
},
"end": {
"line": 41,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 1297,
"end": 1311,
"loc": {
"start": {
"line": 41,
"column": 22
},
"end": {
"line": 41,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 1297,
"end": 1306,
"loc": {
"start": {
"line": 41,
"column": 22
},
"end": {
"line": 41,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1297,
"end": 1301,
"loc": {
"start": {
"line": 41,
"column": 22
},
"end": {
"line": 41,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"start": 1302,
"end": 1306,
"loc": {
"start": {
"line": 41,
"column": 27
},
"end": {
"line": 41,
"column": 31
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1307,
"end": 1311,
"loc": {
"start": {
"line": 41,
"column": 32
},
"end": {
"line": 41,
"column": 36
},
"identifierName": "time"
},
"name": "time"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1312,
"end": 1323,
"loc": {
"start": {
"line": 41,
"column": 37
},
"end": {
"line": 41,
"column": 48
},
"identifierName": "realtimeNow"
},
"name": "realtimeNow"
},
"computed": false
},
"arguments": []
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 1328,
"end": 1348,
"loc": {
"start": {
"line": 41,
"column": 53
},
"end": {
"line": 41,
"column": 73
},
"identifierName": "notificationDuration"
},
"name": "notificationDuration"
}
}
}
]
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} message\r\n * @param {enumNotificationType} type\r\n ",
"start": 903,
"end": 990,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 34,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1377,
"end": 1741,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 54,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1377,
"end": 1383,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 10
},
"identifierName": "update"
},
"name": "update"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1386,
"end": 1741,
"loc": {
"start": {
"line": 45,
"column": 13
},
"end": {
"line": 54,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1397,
"end": 1438,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 49
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1403,
"end": 1437,
"loc": {
"start": {
"line": 46,
"column": 14
},
"end": {
"line": 46,
"column": 48
}
},
"id": {
"type": "Identifier",
"start": 1403,
"end": 1406,
"loc": {
"start": {
"line": 46,
"column": 14
},
"end": {
"line": 46,
"column": 17
},
"identifierName": "now"
},
"name": "now"
},
"init": {
"type": "CallExpression",
"start": 1409,
"end": 1437,
"loc": {
"start": {
"line": 46,
"column": 20
},
"end": {
"line": 46,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 1409,
"end": 1435,
"loc": {
"start": {
"line": 46,
"column": 20
},
"end": {
"line": 46,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 1409,
"end": 1423,
"loc": {
"start": {
"line": 46,
"column": 20
},
"end": {
"line": 46,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 1409,
"end": 1418,
"loc": {
"start": {
"line": 46,
"column": 20
},
"end": {
"line": 46,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 1409,
"end": 1413,
"loc": {
"start": {
"line": 46,
"column": 20
},
"end": {
"line": 46,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1414,
"end": 1418,
"loc": {
"start": {
"line": 46,
"column": 25
},
"end": {
"line": 46,
"column": 29
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1419,
"end": 1423,
"loc": {
"start": {
"line": 46,
"column": 30
},
"end": {
"line": 46,
"column": 34
},
"identifierName": "time"
},
"name": "time"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1424,
"end": 1435,
"loc": {
"start": {
"line": 46,
"column": 35
},
"end": {
"line": 46,
"column": 46
},
"identifierName": "realtimeNow"
},
"name": "realtimeNow"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ForStatement",
"start": 1448,
"end": 1734,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 53,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 1453,
"end": 1462,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1457,
"end": 1462,
"loc": {
"start": {
"line": 47,
"column": 17
},
"end": {
"line": 47,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 1457,
"end": 1458,
"loc": {
"start": {
"line": 47,
"column": 17
},
"end": {
"line": 47,
"column": 18
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 1461,
"end": 1462,
"loc": {
"start": {
"line": 47,
"column": 21
},
"end": {
"line": 47,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 1464,
"end": 1500,
"loc": {
"start": {
"line": 47,
"column": 24
},
"end": {
"line": 47,
"column": 60
}
},
"left": {
"type": "Identifier",
"start": 1464,
"end": 1465,
"loc": {
"start": {
"line": 47,
"column": 24
},
"end": {
"line": 47,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 1468,
"end": 1500,
"loc": {
"start": {
"line": 47,
"column": 28
},
"end": {
"line": 47,
"column": 60
}
},
"object": {
"type": "MemberExpression",
"start": 1468,
"end": 1493,
"loc": {
"start": {
"line": 47,
"column": 28
},
"end": {
"line": 47,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 1468,
"end": 1472,
"loc": {
"start": {
"line": 47,
"column": 28
},
"end": {
"line": 47,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 1473,
"end": 1493,
"loc": {
"start": {
"line": 47,
"column": 33
},
"end": {
"line": 47,
"column": 53
},
"identifierName": "notificationElements"
},
"name": "notificationElements"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1494,
"end": 1500,
"loc": {
"start": {
"line": 47,
"column": 54
},
"end": {
"line": 47,
"column": 60
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 1502,
"end": 1505,
"loc": {
"start": {
"line": 47,
"column": 62
},
"end": {
"line": 47,
"column": 65
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1504,
"end": 1505,
"loc": {
"start": {
"line": 47,
"column": 64
},
"end": {
"line": 47,
"column": 65
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 1507,
"end": 1734,
"loc": {
"start": {
"line": 47,
"column": 67
},
"end": {
"line": 53,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1522,
"end": 1566,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 56
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1528,
"end": 1565,
"loc": {
"start": {
"line": 48,
"column": 18
},
"end": {
"line": 48,
"column": 55
}
},
"id": {
"type": "Identifier",
"start": 1528,
"end": 1534,
"loc": {
"start": {
"line": 48,
"column": 18
},
"end": {
"line": 48,
"column": 24
},
"identifierName": "handle"
},
"name": "handle"
},
"init": {
"type": "MemberExpression",
"start": 1537,
"end": 1565,
"loc": {
"start": {
"line": 48,
"column": 27
},
"end": {
"line": 48,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 1537,
"end": 1562,
"loc": {
"start": {
"line": 48,
"column": 27
},
"end": {
"line": 48,
"column": 52
}
},
"object": {
"type": "ThisExpression",
"start": 1537,
"end": 1541,
"loc": {
"start": {
"line": 48,
"column": 27
},
"end": {
"line": 48,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 1542,
"end": 1562,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 52
},
"identifierName": "notificationElements"
},
"name": "notificationElements"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1563,
"end": 1564,
"loc": {
"start": {
"line": 48,
"column": 53
},
"end": {
"line": 48,
"column": 54
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 1580,
"end": 1723,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 52,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 1584,
"end": 1606,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 38
}
},
"left": {
"type": "MemberExpression",
"start": 1584,
"end": 1599,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 1584,
"end": 1590,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 22
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 1591,
"end": 1599,
"loc": {
"start": {
"line": 49,
"column": 23
},
"end": {
"line": 49,
"column": 31
},
"identifierName": "expireAt"
},
"name": "expireAt"
},
"computed": false
},
"operator": "<=",
"right": {
"type": "Identifier",
"start": 1603,
"end": 1606,
"loc": {
"start": {
"line": 49,
"column": 35
},
"end": {
"line": 49,
"column": 38
},
"identifierName": "now"
},
"name": "now"
}
},
"consequent": {
"type": "BlockStatement",
"start": 1608,
"end": 1723,
"loc": {
"start": {
"line": 49,
"column": 40
},
"end": {
"line": 52,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1627,
"end": 1651,
"loc": {
"start": {
"line": 50,
"column": 16
},
"end": {
"line": 50,
"column": 40
}
},
"expression": {
"type": "CallExpression",
"start": 1627,
"end": 1650,
"loc": {
"start": {
"line": 50,
"column": 16
},
"end": {
"line": 50,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 1627,
"end": 1648,
"loc": {
"start": {
"line": 50,
"column": 16
},
"end": {
"line": 50,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 1627,
"end": 1641,
"loc": {
"start": {
"line": 50,
"column": 16
},
"end": {
"line": 50,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1627,
"end": 1633,
"loc": {
"start": {
"line": 50,
"column": 16
},
"end": {
"line": 50,
"column": 22
},
"identifierName": "handle"
},
"name": "handle"
},
"property": {
"type": "Identifier",
"start": 1634,
"end": 1641,
"loc": {
"start": {
"line": 50,
"column": 23
},
"end": {
"line": 50,
"column": 30
},
"identifierName": "element"
},
"name": "element"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1642,
"end": 1648,
"loc": {
"start": {
"line": 50,
"column": 31
},
"end": {
"line": 50,
"column": 37
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 1669,
"end": 1708,
"loc": {
"start": {
"line": 51,
"column": 16
},
"end": {
"line": 51,
"column": 55
}
},
"expression": {
"type": "CallExpression",
"start": 1669,
"end": 1707,
"loc": {
"start": {
"line": 51,
"column": 16
},
"end": {
"line": 51,
"column": 54
}
},
"callee": {
"type": "MemberExpression",
"start": 1669,
"end": 1701,
"loc": {
"start": {
"line": 51,
"column": 16
},
"end": {
"line": 51,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 1669,
"end": 1694,
"loc": {
"start": {
"line": 51,
"column": 16
},
"end": {
"line": 51,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 1669,
"end": 1673,
"loc": {
"start": {
"line": 51,
"column": 16
},
"end": {
"line": 51,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1674,
"end": 1694,
"loc": {
"start": {
"line": 51,
"column": 21
},
"end": {
"line": 51,
"column": 41
},
"identifierName": "notificationElements"
},
"name": "notificationElements"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1695,
"end": 1701,
"loc": {
"start": {
"line": 51,
"column": 42
},
"end": {
"line": 51,
"column": 48
},
"identifierName": "splice"
},
"name": "splice"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1702,
"end": 1703,
"loc": {
"start": {
"line": 51,
"column": 49
},
"end": {
"line": 51,
"column": 50
},
"identifierName": "i"
},
"name": "i"
},
{
"type": "NumericLiteral",
"start": 1705,
"end": 1706,
"loc": {
"start": {
"line": 51,
"column": 52
},
"end": {
"line": 51,
"column": 53
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
],
"directives": []
}
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "* @enum {string} ",
"start": 143,
"end": 164,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Array<{ element: HTMLElement, expireAt: number}>} ",
"start": 592,
"end": 655,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 71
}
}
},
{
"type": "CommentLine",
"value": " Automatic notifications",
"start": 708,
"end": 734,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 34
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} message\r\n * @param {enumNotificationType} type\r\n ",
"start": 903,
"end": 990,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 34,
"column": 7
}
}
}
],
"tokens": [
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeDiv",
"start": 9,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 16
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 17,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 19,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 23
}
}
},
{
"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": 24,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 45,
"end": 46,
"loc": {
"start": {
"line": 1,
"column": 45
},
"end": {
"line": 1,
"column": 46
}
}
},
{
"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": 48,
"end": 54,
"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": 55,
"end": 56,
"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": "T",
"start": 57,
"end": 58,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 59,
"end": 60,
"loc": {
"start": {
"line": 2,
"column": 11
},
"end": {
"line": 2,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 61,
"end": 65,
"loc": {
"start": {
"line": 2,
"column": 13
},
"end": {
"line": 2,
"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": 66,
"end": 89,
"loc": {
"start": {
"line": 2,
"column": 18
},
"end": {
"line": 2,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 89,
"end": 90,
"loc": {
"start": {
"line": 2,
"column": 41
},
"end": {
"line": 2,
"column": 42
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 92,
"end": 98,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 99,
"end": 100,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BaseHUDPart",
"start": 101,
"end": 112,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 113,
"end": 114,
"loc": {
"start": {
"line": 3,
"column": 21
},
"end": {
"line": 3,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 115,
"end": 119,
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../base_hud_part",
"start": 120,
"end": 138,
"loc": {
"start": {
"line": 3,
"column": 28
},
"end": {
"line": 3,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 138,
"end": 139,
"loc": {
"start": {
"line": 3,
"column": 46
},
"end": {
"line": 3,
"column": 47
}
}
},
{
"type": "CommentBlock",
"value": "* @enum {string} ",
"start": 143,
"end": 164,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 21
}
}
},
{
"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": 166,
"end": 172,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 6
}
}
},
{
"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": 173,
"end": 178,
"loc": {
"start": {
"line": 6,
"column": 7
},
"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": "enumNotificationType",
"start": 179,
"end": 199,
"loc": {
"start": {
"line": 6,
"column": 13
},
"end": {
"line": 6,
"column": 33
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 200,
"end": 201,
"loc": {
"start": {
"line": 6,
"column": 34
},
"end": {
"line": 6,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 202,
"end": 203,
"loc": {
"start": {
"line": 6,
"column": 36
},
"end": {
"line": 6,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "saved",
"start": 209,
"end": 214,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 9
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 214,
"end": 215,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 10
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "saved",
"start": 216,
"end": 223,
"loc": {
"start": {
"line": 7,
"column": 11
},
"end": {
"line": 7,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 223,
"end": 224,
"loc": {
"start": {
"line": 7,
"column": 18
},
"end": {
"line": 7,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "upgrade",
"start": 230,
"end": 237,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 11
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 237,
"end": 238,
"loc": {
"start": {
"line": 8,
"column": 11
},
"end": {
"line": 8,
"column": 12
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "upgrade",
"start": 239,
"end": 248,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 248,
"end": 249,
"loc": {
"start": {
"line": 8,
"column": 22
},
"end": {
"line": 8,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "success",
"start": 255,
"end": 262,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 11
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 262,
"end": 263,
"loc": {
"start": {
"line": 9,
"column": 11
},
"end": {
"line": 9,
"column": 12
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "success",
"start": 264,
"end": 273,
"loc": {
"start": {
"line": 9,
"column": 13
},
"end": {
"line": 9,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 273,
"end": 274,
"loc": {
"start": {
"line": 9,
"column": 22
},
"end": {
"line": 9,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 276,
"end": 277,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 277,
"end": 278,
"loc": {
"start": {
"line": 10,
"column": 1
},
"end": {
"line": 10,
"column": 2
}
}
},
{
"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": 282,
"end": 287,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "notificationDuration",
"start": 288,
"end": 308,
"loc": {
"start": {
"line": 12,
"column": 6
},
"end": {
"line": 12,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 309,
"end": 310,
"loc": {
"start": {
"line": 12,
"column": 27
},
"end": {
"line": 12,
"column": 28
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 3,
"start": 311,
"end": 312,
"loc": {
"start": {
"line": 12,
"column": 29
},
"end": {
"line": 12,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 312,
"end": 313,
"loc": {
"start": {
"line": 12,
"column": 30
},
"end": {
"line": 12,
"column": 31
}
}
},
{
"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": 317,
"end": 323,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"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": 324,
"end": 329,
"loc": {
"start": {
"line": 14,
"column": 7
},
"end": {
"line": 14,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HUDNotifications",
"start": 330,
"end": 346,
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 29
}
}
},
{
"type": {
"label": "extends",
"keyword": "extends",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "extends",
"start": 347,
"end": 354,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BaseHUDPart",
"start": 355,
"end": 366,
"loc": {
"start": {
"line": 14,
"column": 38
},
"end": {
"line": 14,
"column": 49
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 367,
"end": 368,
"loc": {
"start": {
"line": 14,
"column": 50
},
"end": {
"line": 14,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createElements",
"start": 374,
"end": 388,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 388,
"end": 389,
"loc": {
"start": {
"line": 15,
"column": 18
},
"end": {
"line": 15,
"column": 19
}
}
},
{
"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": 15,
"column": 19
},
"end": {
"line": 15,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 395,
"end": 396,
"loc": {
"start": {
"line": 15,
"column": 25
},
"end": {
"line": 15,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 397,
"end": 398,
"loc": {
"start": {
"line": 15,
"column": 27
},
"end": {
"line": 15,
"column": 28
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 408,
"end": 412,
"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": 412,
"end": 413,
"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": "element",
"start": 413,
"end": 420,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 421,
"end": 422,
"loc": {
"start": {
"line": 16,
"column": 21
},
"end": {
"line": 16,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeDiv",
"start": 423,
"end": 430,
"loc": {
"start": {
"line": 16,
"column": 23
},
"end": {
"line": 16,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 430,
"end": 431,
"loc": {
"start": {
"line": 16,
"column": 30
},
"end": {
"line": 16,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 431,
"end": 437,
"loc": {
"start": {
"line": 16,
"column": 31
},
"end": {
"line": 16,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 437,
"end": 438,
"loc": {
"start": {
"line": 16,
"column": 37
},
"end": {
"line": 16,
"column": 38
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "ingame_HUD_Notifications",
"start": 439,
"end": 465,
"loc": {
"start": {
"line": 16,
"column": 39
},
"end": {
"line": 16,
"column": 65
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 465,
"end": 466,
"loc": {
"start": {
"line": 16,
"column": 65
},
"end": {
"line": 16,
"column": 66
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 467,
"end": 468,
"loc": {
"start": {
"line": 16,
"column": 67
},
"end": {
"line": 16,
"column": 68
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 468,
"end": 469,
"loc": {
"start": {
"line": 16,
"column": 68
},
"end": {
"line": 16,
"column": 69
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 469,
"end": 470,
"loc": {
"start": {
"line": 16,
"column": 69
},
"end": {
"line": 16,
"column": 70
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 471,
"end": 472,
"loc": {
"start": {
"line": 16,
"column": 71
},
"end": {
"line": 16,
"column": 72
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 472,
"end": 472,
"loc": {
"start": {
"line": 16,
"column": 72
},
"end": {
"line": 16,
"column": 72
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 472,
"end": 473,
"loc": {
"start": {
"line": 16,
"column": 72
},
"end": {
"line": 16,
"column": 73
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 473,
"end": 474,
"loc": {
"start": {
"line": 16,
"column": 73
},
"end": {
"line": 16,
"column": 74
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 474,
"end": 475,
"loc": {
"start": {
"line": 16,
"column": 74
},
"end": {
"line": 16,
"column": 75
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 481,
"end": 482,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "initialize",
"start": 490,
"end": 500,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 500,
"end": 501,
"loc": {
"start": {
"line": 19,
"column": 14
},
"end": {
"line": 19,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 501,
"end": 502,
"loc": {
"start": {
"line": 19,
"column": 15
},
"end": {
"line": 19,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 503,
"end": 504,
"loc": {
"start": {
"line": 19,
"column": 17
},
"end": {
"line": 19,
"column": 18
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 514,
"end": 518,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 518,
"end": 519,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 20,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 519,
"end": 523,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 523,
"end": 524,
"loc": {
"start": {
"line": 20,
"column": 17
},
"end": {
"line": 20,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hud",
"start": 524,
"end": 527,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 527,
"end": 528,
"loc": {
"start": {
"line": 20,
"column": 21
},
"end": {
"line": 20,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 528,
"end": 535,
"loc": {
"start": {
"line": 20,
"column": 22
},
"end": {
"line": 20,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 535,
"end": 536,
"loc": {
"start": {
"line": 20,
"column": 29
},
"end": {
"line": 20,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "notification",
"start": 536,
"end": 548,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 548,
"end": 549,
"loc": {
"start": {
"line": 20,
"column": 42
},
"end": {
"line": 20,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 549,
"end": 552,
"loc": {
"start": {
"line": 20,
"column": 43
},
"end": {
"line": 20,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 552,
"end": 553,
"loc": {
"start": {
"line": 20,
"column": 46
},
"end": {
"line": 20,
"column": 47
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 553,
"end": 557,
"loc": {
"start": {
"line": 20,
"column": 47
},
"end": {
"line": 20,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 557,
"end": 558,
"loc": {
"start": {
"line": 20,
"column": 51
},
"end": {
"line": 20,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onNotification",
"start": 558,
"end": 572,
"loc": {
"start": {
"line": 20,
"column": 52
},
"end": {
"line": 20,
"column": 66
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 572,
"end": 573,
"loc": {
"start": {
"line": 20,
"column": 66
},
"end": {
"line": 20,
"column": 67
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 574,
"end": 578,
"loc": {
"start": {
"line": 20,
"column": 68
},
"end": {
"line": 20,
"column": 72
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 578,
"end": 579,
"loc": {
"start": {
"line": 20,
"column": 72
},
"end": {
"line": 20,
"column": 73
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 579,
"end": 580,
"loc": {
"start": {
"line": 20,
"column": 73
},
"end": {
"line": 20,
"column": 74
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Array<{ element: HTMLElement, expireAt: number}>} ",
"start": 592,
"end": 655,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 71
}
}
},
{
"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": 665,
"end": 669,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 669,
"end": 670,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "notificationElements",
"start": 670,
"end": 690,
"loc": {
"start": {
"line": 23,
"column": 13
},
"end": {
"line": 23,
"column": 33
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 691,
"end": 692,
"loc": {
"start": {
"line": 23,
"column": 34
},
"end": {
"line": 23,
"column": 35
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 693,
"end": 694,
"loc": {
"start": {
"line": 23,
"column": 36
},
"end": {
"line": 23,
"column": 37
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 694,
"end": 695,
"loc": {
"start": {
"line": 23,
"column": 37
},
"end": {
"line": 23,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 695,
"end": 696,
"loc": {
"start": {
"line": 23,
"column": 38
},
"end": {
"line": 23,
"column": 39
}
}
},
{
"type": "CommentLine",
"value": " Automatic notifications",
"start": 708,
"end": 734,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"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": 744,
"end": 748,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 748,
"end": 749,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 749,
"end": 753,
"loc": {
"start": {
"line": 26,
"column": 13
},
"end": {
"line": 26,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 753,
"end": 754,
"loc": {
"start": {
"line": 26,
"column": 17
},
"end": {
"line": 26,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 754,
"end": 761,
"loc": {
"start": {
"line": 26,
"column": 18
},
"end": {
"line": 26,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 761,
"end": 762,
"loc": {
"start": {
"line": 26,
"column": 25
},
"end": {
"line": 26,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gameSaved",
"start": 762,
"end": 771,
"loc": {
"start": {
"line": 26,
"column": 26
},
"end": {
"line": 26,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 771,
"end": 772,
"loc": {
"start": {
"line": 26,
"column": 35
},
"end": {
"line": 26,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 772,
"end": 775,
"loc": {
"start": {
"line": 26,
"column": 36
},
"end": {
"line": 26,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 775,
"end": 776,
"loc": {
"start": {
"line": 26,
"column": 39
},
"end": {
"line": 26,
"column": 40
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 776,
"end": 777,
"loc": {
"start": {
"line": 26,
"column": 40
},
"end": {
"line": 26,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 777,
"end": 778,
"loc": {
"start": {
"line": 26,
"column": 41
},
"end": {
"line": 26,
"column": 42
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 779,
"end": 781,
"loc": {
"start": {
"line": 26,
"column": 43
},
"end": {
"line": 26,
"column": 45
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 795,
"end": 799,
"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": 799,
"end": 800,
"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": "onNotification",
"start": 800,
"end": 814,
"loc": {
"start": {
"line": 27,
"column": 17
},
"end": {
"line": 27,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 814,
"end": 815,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "T",
"start": 815,
"end": 816,
"loc": {
"start": {
"line": 27,
"column": 32
},
"end": {
"line": 27,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 816,
"end": 817,
"loc": {
"start": {
"line": 27,
"column": 33
},
"end": {
"line": 27,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ingame",
"start": 817,
"end": 823,
"loc": {
"start": {
"line": 27,
"column": 34
},
"end": {
"line": 27,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 823,
"end": 824,
"loc": {
"start": {
"line": 27,
"column": 40
},
"end": {
"line": 27,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "notifications",
"start": 824,
"end": 837,
"loc": {
"start": {
"line": 27,
"column": 41
},
"end": {
"line": 27,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 837,
"end": 838,
"loc": {
"start": {
"line": 27,
"column": 54
},
"end": {
"line": 27,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gameSaved",
"start": 838,
"end": 847,
"loc": {
"start": {
"line": 27,
"column": 55
},
"end": {
"line": 27,
"column": 64
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 847,
"end": 848,
"loc": {
"start": {
"line": 27,
"column": 64
},
"end": {
"line": 27,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumNotificationType",
"start": 849,
"end": 869,
"loc": {
"start": {
"line": 27,
"column": 66
},
"end": {
"line": 27,
"column": 86
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 869,
"end": 870,
"loc": {
"start": {
"line": 27,
"column": 86
},
"end": {
"line": 27,
"column": 87
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "saved",
"start": 870,
"end": 875,
"loc": {
"start": {
"line": 27,
"column": 87
},
"end": {
"line": 27,
"column": 92
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 875,
"end": 876,
"loc": {
"start": {
"line": 27,
"column": 92
},
"end": {
"line": 27,
"column": 93
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 886,
"end": 887,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 887,
"end": 888,
"loc": {
"start": {
"line": 28,
"column": 9
},
"end": {
"line": 28,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 894,
"end": 895,
"loc": {
"start": {
"line": 29,
"column": 4
},
"end": {
"line": 29,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} message\r\n * @param {enumNotificationType} type\r\n ",
"start": 903,
"end": 990,
"loc": {
"start": {
"line": 31,
"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": "onNotification",
"start": 996,
"end": 1010,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1010,
"end": 1011,
"loc": {
"start": {
"line": 35,
"column": 18
},
"end": {
"line": 35,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "message",
"start": 1011,
"end": 1018,
"loc": {
"start": {
"line": 35,
"column": 19
},
"end": {
"line": 35,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1018,
"end": 1019,
"loc": {
"start": {
"line": 35,
"column": 26
},
"end": {
"line": 35,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 1020,
"end": 1024,
"loc": {
"start": {
"line": 35,
"column": 28
},
"end": {
"line": 35,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1024,
"end": 1025,
"loc": {
"start": {
"line": 35,
"column": 32
},
"end": {
"line": 35,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1026,
"end": 1027,
"loc": {
"start": {
"line": 35,
"column": 34
},
"end": {
"line": 35,
"column": 35
}
}
},
{
"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": 1037,
"end": 1042,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 1043,
"end": 1050,
"loc": {
"start": {
"line": 36,
"column": 14
},
"end": {
"line": 36,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1051,
"end": 1052,
"loc": {
"start": {
"line": 36,
"column": 22
},
"end": {
"line": 36,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeDiv",
"start": 1053,
"end": 1060,
"loc": {
"start": {
"line": 36,
"column": 24
},
"end": {
"line": 36,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1060,
"end": 1061,
"loc": {
"start": {
"line": 36,
"column": 31
},
"end": {
"line": 36,
"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": 1061,
"end": 1065,
"loc": {
"start": {
"line": 36,
"column": 32
},
"end": {
"line": 36,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1065,
"end": 1066,
"loc": {
"start": {
"line": 36,
"column": 36
},
"end": {
"line": 36,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 1066,
"end": 1073,
"loc": {
"start": {
"line": 36,
"column": 37
},
"end": {
"line": 36,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1073,
"end": 1074,
"loc": {
"start": {
"line": 36,
"column": 44
},
"end": {
"line": 36,
"column": 45
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1075,
"end": 1079,
"loc": {
"start": {
"line": 36,
"column": 46
},
"end": {
"line": 36,
"column": 50
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1079,
"end": 1080,
"loc": {
"start": {
"line": 36,
"column": 50
},
"end": {
"line": 36,
"column": 51
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1081,
"end": 1082,
"loc": {
"start": {
"line": 36,
"column": 52
},
"end": {
"line": 36,
"column": 53
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "notification",
"start": 1082,
"end": 1096,
"loc": {
"start": {
"line": 36,
"column": 53
},
"end": {
"line": 36,
"column": 67
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1096,
"end": 1097,
"loc": {
"start": {
"line": 36,
"column": 67
},
"end": {
"line": 36,
"column": 68
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "type-",
"start": 1098,
"end": 1105,
"loc": {
"start": {
"line": 36,
"column": 69
},
"end": {
"line": 36,
"column": 76
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 1106,
"end": 1107,
"loc": {
"start": {
"line": 36,
"column": 77
},
"end": {
"line": 36,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 1108,
"end": 1112,
"loc": {
"start": {
"line": 36,
"column": 79
},
"end": {
"line": 36,
"column": 83
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1112,
"end": 1113,
"loc": {
"start": {
"line": 36,
"column": 83
},
"end": {
"line": 36,
"column": 84
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1113,
"end": 1114,
"loc": {
"start": {
"line": 36,
"column": 84
},
"end": {
"line": 36,
"column": 85
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "message",
"start": 1115,
"end": 1122,
"loc": {
"start": {
"line": 36,
"column": 86
},
"end": {
"line": 36,
"column": 93
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1122,
"end": 1123,
"loc": {
"start": {
"line": 36,
"column": 93
},
"end": {
"line": 36,
"column": 94
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1123,
"end": 1124,
"loc": {
"start": {
"line": 36,
"column": 94
},
"end": {
"line": 36,
"column": 95
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 1134,
"end": 1141,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1141,
"end": 1142,
"loc": {
"start": {
"line": 37,
"column": 15
},
"end": {
"line": 37,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setAttribute",
"start": 1142,
"end": 1154,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1154,
"end": 1155,
"loc": {
"start": {
"line": 37,
"column": 28
},
"end": {
"line": 37,
"column": 29
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "data-icon",
"start": 1155,
"end": 1166,
"loc": {
"start": {
"line": 37,
"column": 29
},
"end": {
"line": 37,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1166,
"end": 1167,
"loc": {
"start": {
"line": 37,
"column": 40
},
"end": {
"line": 37,
"column": 41
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "icons/notification_",
"start": 1168,
"end": 1189,
"loc": {
"start": {
"line": 37,
"column": 42
},
"end": {
"line": 37,
"column": 63
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 1190,
"end": 1191,
"loc": {
"start": {
"line": 37,
"column": 64
},
"end": {
"line": 37,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 1192,
"end": 1196,
"loc": {
"start": {
"line": 37,
"column": 66
},
"end": {
"line": 37,
"column": 70
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 1197,
"end": 1198,
"loc": {
"start": {
"line": 37,
"column": 71
},
"end": {
"line": 37,
"column": 72
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ".png",
"start": 1199,
"end": 1205,
"loc": {
"start": {
"line": 37,
"column": 73
},
"end": {
"line": 37,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1205,
"end": 1206,
"loc": {
"start": {
"line": 37,
"column": 79
},
"end": {
"line": 37,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1206,
"end": 1207,
"loc": {
"start": {
"line": 37,
"column": 80
},
"end": {
"line": 37,
"column": 81
}
}
},
{
"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": 1219,
"end": 1223,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1223,
"end": 1224,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "notificationElements",
"start": 1224,
"end": 1244,
"loc": {
"start": {
"line": 39,
"column": 13
},
"end": {
"line": 39,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1244,
"end": 1245,
"loc": {
"start": {
"line": 39,
"column": 33
},
"end": {
"line": 39,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 1245,
"end": 1249,
"loc": {
"start": {
"line": 39,
"column": 34
},
"end": {
"line": 39,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1249,
"end": 1250,
"loc": {
"start": {
"line": 39,
"column": 38
},
"end": {
"line": 39,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1250,
"end": 1251,
"loc": {
"start": {
"line": 39,
"column": 39
},
"end": {
"line": 39,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 1265,
"end": 1272,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1272,
"end": 1273,
"loc": {
"start": {
"line": 40,
"column": 19
},
"end": {
"line": 40,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "expireAt",
"start": 1287,
"end": 1295,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1295,
"end": 1296,
"loc": {
"start": {
"line": 41,
"column": 20
},
"end": {
"line": 41,
"column": 21
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1297,
"end": 1301,
"loc": {
"start": {
"line": 41,
"column": 22
},
"end": {
"line": 41,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1301,
"end": 1302,
"loc": {
"start": {
"line": 41,
"column": 26
},
"end": {
"line": 41,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1302,
"end": 1306,
"loc": {
"start": {
"line": 41,
"column": 27
},
"end": {
"line": 41,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1306,
"end": 1307,
"loc": {
"start": {
"line": 41,
"column": 31
},
"end": {
"line": 41,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "time",
"start": 1307,
"end": 1311,
"loc": {
"start": {
"line": 41,
"column": 32
},
"end": {
"line": 41,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1311,
"end": 1312,
"loc": {
"start": {
"line": 41,
"column": 36
},
"end": {
"line": 41,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realtimeNow",
"start": 1312,
"end": 1323,
"loc": {
"start": {
"line": 41,
"column": 37
},
"end": {
"line": 41,
"column": 48
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1323,
"end": 1324,
"loc": {
"start": {
"line": 41,
"column": 48
},
"end": {
"line": 41,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1324,
"end": 1325,
"loc": {
"start": {
"line": 41,
"column": 49
},
"end": {
"line": 41,
"column": 50
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 1326,
"end": 1327,
"loc": {
"start": {
"line": 41,
"column": 51
},
"end": {
"line": 41,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "notificationDuration",
"start": 1328,
"end": 1348,
"loc": {
"start": {
"line": 41,
"column": 53
},
"end": {
"line": 41,
"column": 73
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1348,
"end": 1349,
"loc": {
"start": {
"line": 41,
"column": 73
},
"end": {
"line": 41,
"column": 74
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1359,
"end": 1360,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1360,
"end": 1361,
"loc": {
"start": {
"line": 42,
"column": 9
},
"end": {
"line": 42,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1361,
"end": 1362,
"loc": {
"start": {
"line": 42,
"column": 10
},
"end": {
"line": 42,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1368,
"end": 1369,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "update",
"start": 1377,
"end": 1383,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1383,
"end": 1384,
"loc": {
"start": {
"line": 45,
"column": 10
},
"end": {
"line": 45,
"column": 11
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1384,
"end": 1385,
"loc": {
"start": {
"line": 45,
"column": 11
},
"end": {
"line": 45,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1386,
"end": 1387,
"loc": {
"start": {
"line": 45,
"column": 13
},
"end": {
"line": 45,
"column": 14
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1397,
"end": 1402,
"loc": {
"start": {
"line": 46,
"column": 8
},
"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": "now",
"start": 1403,
"end": 1406,
"loc": {
"start": {
"line": 46,
"column": 14
},
"end": {
"line": 46,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1407,
"end": 1408,
"loc": {
"start": {
"line": 46,
"column": 18
},
"end": {
"line": 46,
"column": 19
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1409,
"end": 1413,
"loc": {
"start": {
"line": 46,
"column": 20
},
"end": {
"line": 46,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1413,
"end": 1414,
"loc": {
"start": {
"line": 46,
"column": 24
},
"end": {
"line": 46,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1414,
"end": 1418,
"loc": {
"start": {
"line": 46,
"column": 25
},
"end": {
"line": 46,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1418,
"end": 1419,
"loc": {
"start": {
"line": 46,
"column": 29
},
"end": {
"line": 46,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "time",
"start": 1419,
"end": 1423,
"loc": {
"start": {
"line": 46,
"column": 30
},
"end": {
"line": 46,
"column": 34
}
}
},
{
"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": 46,
"column": 34
},
"end": {
"line": 46,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realtimeNow",
"start": 1424,
"end": 1435,
"loc": {
"start": {
"line": 46,
"column": 35
},
"end": {
"line": 46,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1435,
"end": 1436,
"loc": {
"start": {
"line": 46,
"column": 46
},
"end": {
"line": 46,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1436,
"end": 1437,
"loc": {
"start": {
"line": 46,
"column": 47
},
"end": {
"line": 46,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1437,
"end": 1438,
"loc": {
"start": {
"line": 46,
"column": 48
},
"end": {
"line": 46,
"column": 49
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 1448,
"end": 1451,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1452,
"end": 1453,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 13
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 1453,
"end": 1456,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1457,
"end": 1458,
"loc": {
"start": {
"line": 47,
"column": 17
},
"end": {
"line": 47,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1459,
"end": 1460,
"loc": {
"start": {
"line": 47,
"column": 19
},
"end": {
"line": 47,
"column": 20
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1461,
"end": 1462,
"loc": {
"start": {
"line": 47,
"column": 21
},
"end": {
"line": 47,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1462,
"end": 1463,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1464,
"end": 1465,
"loc": {
"start": {
"line": 47,
"column": 24
},
"end": {
"line": 47,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 1466,
"end": 1467,
"loc": {
"start": {
"line": 47,
"column": 26
},
"end": {
"line": 47,
"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": 1468,
"end": 1472,
"loc": {
"start": {
"line": 47,
"column": 28
},
"end": {
"line": 47,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1472,
"end": 1473,
"loc": {
"start": {
"line": 47,
"column": 32
},
"end": {
"line": 47,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "notificationElements",
"start": 1473,
"end": 1493,
"loc": {
"start": {
"line": 47,
"column": 33
},
"end": {
"line": 47,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1493,
"end": 1494,
"loc": {
"start": {
"line": 47,
"column": 53
},
"end": {
"line": 47,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 1494,
"end": 1500,
"loc": {
"start": {
"line": 47,
"column": 54
},
"end": {
"line": 47,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1500,
"end": 1501,
"loc": {
"start": {
"line": 47,
"column": 60
},
"end": {
"line": 47,
"column": 61
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 1502,
"end": 1504,
"loc": {
"start": {
"line": 47,
"column": 62
},
"end": {
"line": 47,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1504,
"end": 1505,
"loc": {
"start": {
"line": 47,
"column": 64
},
"end": {
"line": 47,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1505,
"end": 1506,
"loc": {
"start": {
"line": 47,
"column": 65
},
"end": {
"line": 47,
"column": 66
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1507,
"end": 1508,
"loc": {
"start": {
"line": 47,
"column": 67
},
"end": {
"line": 47,
"column": 68
}
}
},
{
"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": 1522,
"end": 1527,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 1528,
"end": 1534,
"loc": {
"start": {
"line": 48,
"column": 18
},
"end": {
"line": 48,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1535,
"end": 1536,
"loc": {
"start": {
"line": 48,
"column": 25
},
"end": {
"line": 48,
"column": 26
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1537,
"end": 1541,
"loc": {
"start": {
"line": 48,
"column": 27
},
"end": {
"line": 48,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1541,
"end": 1542,
"loc": {
"start": {
"line": 48,
"column": 31
},
"end": {
"line": 48,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "notificationElements",
"start": 1542,
"end": 1562,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 52
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1562,
"end": 1563,
"loc": {
"start": {
"line": 48,
"column": 52
},
"end": {
"line": 48,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1563,
"end": 1564,
"loc": {
"start": {
"line": 48,
"column": 53
},
"end": {
"line": 48,
"column": 54
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1564,
"end": 1565,
"loc": {
"start": {
"line": 48,
"column": 54
},
"end": {
"line": 48,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1565,
"end": 1566,
"loc": {
"start": {
"line": 48,
"column": 55
},
"end": {
"line": 48,
"column": 56
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 1580,
"end": 1582,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1583,
"end": 1584,
"loc": {
"start": {
"line": 49,
"column": 15
},
"end": {
"line": 49,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 1584,
"end": 1590,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1590,
"end": 1591,
"loc": {
"start": {
"line": 49,
"column": 22
},
"end": {
"line": 49,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "expireAt",
"start": 1591,
"end": 1599,
"loc": {
"start": {
"line": 49,
"column": 23
},
"end": {
"line": 49,
"column": 31
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<=",
"start": 1600,
"end": 1602,
"loc": {
"start": {
"line": 49,
"column": 32
},
"end": {
"line": 49,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "now",
"start": 1603,
"end": 1606,
"loc": {
"start": {
"line": 49,
"column": 35
},
"end": {
"line": 49,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1606,
"end": 1607,
"loc": {
"start": {
"line": 49,
"column": 38
},
"end": {
"line": 49,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1608,
"end": 1609,
"loc": {
"start": {
"line": 49,
"column": 40
},
"end": {
"line": 49,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handle",
"start": 1627,
"end": 1633,
"loc": {
"start": {
"line": 50,
"column": 16
},
"end": {
"line": 50,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1633,
"end": 1634,
"loc": {
"start": {
"line": 50,
"column": 22
},
"end": {
"line": 50,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 1634,
"end": 1641,
"loc": {
"start": {
"line": 50,
"column": 23
},
"end": {
"line": 50,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1641,
"end": 1642,
"loc": {
"start": {
"line": 50,
"column": 30
},
"end": {
"line": 50,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 1642,
"end": 1648,
"loc": {
"start": {
"line": 50,
"column": 31
},
"end": {
"line": 50,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1648,
"end": 1649,
"loc": {
"start": {
"line": 50,
"column": 37
},
"end": {
"line": 50,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1649,
"end": 1650,
"loc": {
"start": {
"line": 50,
"column": 38
},
"end": {
"line": 50,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1650,
"end": 1651,
"loc": {
"start": {
"line": 50,
"column": 39
},
"end": {
"line": 50,
"column": 40
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1669,
"end": 1673,
"loc": {
"start": {
"line": 51,
"column": 16
},
"end": {
"line": 51,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1673,
"end": 1674,
"loc": {
"start": {
"line": 51,
"column": 20
},
"end": {
"line": 51,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "notificationElements",
"start": 1674,
"end": 1694,
"loc": {
"start": {
"line": 51,
"column": 21
},
"end": {
"line": 51,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1694,
"end": 1695,
"loc": {
"start": {
"line": 51,
"column": 41
},
"end": {
"line": 51,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "splice",
"start": 1695,
"end": 1701,
"loc": {
"start": {
"line": 51,
"column": 42
},
"end": {
"line": 51,
"column": 48
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1701,
"end": 1702,
"loc": {
"start": {
"line": 51,
"column": 48
},
"end": {
"line": 51,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1702,
"end": 1703,
"loc": {
"start": {
"line": 51,
"column": 49
},
"end": {
"line": 51,
"column": 50
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1703,
"end": 1704,
"loc": {
"start": {
"line": 51,
"column": 50
},
"end": {
"line": 51,
"column": 51
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 1705,
"end": 1706,
"loc": {
"start": {
"line": 51,
"column": 52
},
"end": {
"line": 51,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1706,
"end": 1707,
"loc": {
"start": {
"line": 51,
"column": 53
},
"end": {
"line": 51,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1707,
"end": 1708,
"loc": {
"start": {
"line": 51,
"column": 54
},
"end": {
"line": 51,
"column": 55
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1722,
"end": 1723,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1733,
"end": 1734,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1740,
"end": 1741,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1743,
"end": 1744,
"loc": {
"start": {
"line": 55,
"column": 0
},
"end": {
"line": 55,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1746,
"end": 1746,
"loc": {
"start": {
"line": 56,
"column": 0
},
"end": {
"line": 56,
"column": 0
}
}
}
]
}