{ "type": "File", "start": 0, "end": 22811, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 607, "column": 36 } }, "program": { "type": "Program", "start": 0, "end": 22811, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 607, "column": 36 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 16, "end": 62, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 25, "end": 34, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 18 } }, "imported": { "type": "Identifier", "start": 25, "end": 34, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 18 }, "identifierName": "cachebust" }, "name": "cachebust", "leadingComments": null }, "local": { "type": "Identifier", "start": 25, "end": 34, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 18 }, "identifierName": "cachebust" }, "name": "cachebust" }, "leadingComments": null } ], "source": { "type": "StringLiteral", "start": 42, "end": 61, "loc": { "start": { "line": 2, "column": 26 }, "end": { "line": 2, "column": 45 } }, "extra": { "rawValue": "../core/cachebust", "raw": "\"../core/cachebust\"" }, "value": "../core/cachebust" }, "leadingComments": [ { "type": "CommentLine", "value": " @ts-nocheck", "start": 0, "end": 14, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 14 } } } ] }, { "type": "ImportDeclaration", "start": 64, "end": 150, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 86 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 73, "end": 94, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 30 } }, "imported": { "type": "Identifier", "start": 73, "end": 94, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 30 }, "identifierName": "A_B_TESTING_LINK_TYPE" }, "name": "A_B_TESTING_LINK_TYPE" }, "local": { "type": "Identifier", "start": 73, "end": 94, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 30 }, "identifierName": "A_B_TESTING_LINK_TYPE" }, "name": "A_B_TESTING_LINK_TYPE" } }, { "type": "ImportSpecifier", "start": 96, "end": 108, "loc": { "start": { "line": 3, "column": 32 }, "end": { "line": 3, "column": 44 } }, "imported": { "type": "Identifier", "start": 96, "end": 108, "loc": { "start": { "line": 3, "column": 32 }, "end": { "line": 3, "column": 44 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "local": { "type": "Identifier", "start": 96, "end": 108, "loc": { "start": { "line": 3, "column": 32 }, "end": { "line": 3, "column": 44 }, "identifierName": "globalConfig" }, "name": "globalConfig" } }, { "type": "ImportSpecifier", "start": 110, "end": 125, "loc": { "start": { "line": 3, "column": 46 }, "end": { "line": 3, "column": 61 } }, "imported": { "type": "Identifier", "start": 110, "end": 125, "loc": { "start": { "line": 3, "column": 46 }, "end": { "line": 3, "column": 61 }, "identifierName": "THIRDPARTY_URLS" }, "name": "THIRDPARTY_URLS" }, "local": { "type": "Identifier", "start": 110, "end": 125, "loc": { "start": { "line": 3, "column": 46 }, "end": { "line": 3, "column": 61 }, "identifierName": "THIRDPARTY_URLS" }, "name": "THIRDPARTY_URLS" } } ], "source": { "type": "StringLiteral", "start": 133, "end": 149, "loc": { "start": { "line": 3, "column": 69 }, "end": { "line": 3, "column": 85 } }, "extra": { "rawValue": "../core/config", "raw": "\"../core/config\"" }, "value": "../core/config" } }, { "type": "ImportDeclaration", "start": 152, "end": 199, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 161, "end": 170, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 18 } }, "imported": { "type": "Identifier", "start": 161, "end": 170, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 18 }, "identifierName": "GameState" }, "name": "GameState" }, "local": { "type": "Identifier", "start": 161, "end": 170, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 18 }, "identifierName": "GameState" }, "name": "GameState" } } ], "source": { "type": "StringLiteral", "start": 178, "end": 198, "loc": { "start": { "line": 4, "column": 26 }, "end": { "line": 4, "column": 46 } }, "extra": { "rawValue": "../core/game_state", "raw": "\"../core/game_state\"" }, "value": "../core/game_state" } }, { "type": "ImportDeclaration", "start": 201, "end": 264, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 63 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 210, "end": 224, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 23 } }, "imported": { "type": "Identifier", "start": 210, "end": 224, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 23 }, "identifierName": "DialogWithForm" }, "name": "DialogWithForm" }, "local": { "type": "Identifier", "start": 210, "end": 224, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 23 }, "identifierName": "DialogWithForm" }, "name": "DialogWithForm" } } ], "source": { "type": "StringLiteral", "start": 232, "end": 263, "loc": { "start": { "line": 5, "column": 31 }, "end": { "line": 5, "column": 62 } }, "extra": { "rawValue": "../core/modal_dialog_elements", "raw": "\"../core/modal_dialog_elements\"" }, "value": "../core/modal_dialog_elements" } }, { "type": "ImportDeclaration", "start": 266, "end": 328, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 275, "end": 291, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 25 } }, "imported": { "type": "Identifier", "start": 275, "end": 291, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 25 }, "identifierName": "FormElementInput" }, "name": "FormElementInput" }, "local": { "type": "Identifier", "start": 275, "end": 291, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 25 }, "identifierName": "FormElementInput" }, "name": "FormElementInput" } } ], "source": { "type": "StringLiteral", "start": 299, "end": 327, "loc": { "start": { "line": 6, "column": 33 }, "end": { "line": 6, "column": 61 } }, "extra": { "rawValue": "../core/modal_dialog_forms", "raw": "\"../core/modal_dialog_forms\"" }, "value": "../core/modal_dialog_forms" } }, { "type": "ImportDeclaration", "start": 330, "end": 388, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 58 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 339, "end": 353, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 23 } }, "imported": { "type": "Identifier", "start": 339, "end": 353, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 23 }, "identifierName": "ReadWriteProxy" }, "name": "ReadWriteProxy" }, "local": { "type": "Identifier", "start": 339, "end": 353, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 23 }, "identifierName": "ReadWriteProxy" }, "name": "ReadWriteProxy" } } ], "source": { "type": "StringLiteral", "start": 361, "end": 387, "loc": { "start": { "line": 7, "column": 31 }, "end": { "line": 7, "column": 57 } }, "extra": { "rawValue": "../core/read_write_proxy", "raw": "\"../core/read_write_proxy\"" }, "value": "../core/read_write_proxy" } }, { "type": "ImportDeclaration", "start": 390, "end": 625, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 18, "column": 23 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 404, "end": 426, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 26 } }, "imported": { "type": "Identifier", "start": 404, "end": 426, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 26 }, "identifierName": "formatSecondsToTimeAgo" }, "name": "formatSecondsToTimeAgo" }, "local": { "type": "Identifier", "start": 404, "end": 426, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 26 }, "identifierName": "formatSecondsToTimeAgo" }, "name": "formatSecondsToTimeAgo" } }, { "type": "ImportSpecifier", "start": 433, "end": 453, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 10, "column": 24 } }, "imported": { "type": "Identifier", "start": 433, "end": 453, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 10, "column": 24 }, "identifierName": "generateFileDownload" }, "name": "generateFileDownload" }, "local": { "type": "Identifier", "start": 433, "end": 453, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 10, "column": 24 }, "identifierName": "generateFileDownload" }, "name": "generateFileDownload" } }, { "type": "ImportSpecifier", "start": 460, "end": 478, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 22 } }, "imported": { "type": "Identifier", "start": 460, "end": 478, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 22 }, "identifierName": "isSupportedBrowser" }, "name": "isSupportedBrowser" }, "local": { "type": "Identifier", "start": 460, "end": 478, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 22 }, "identifierName": "isSupportedBrowser" }, "name": "isSupportedBrowser" } }, { "type": "ImportSpecifier", "start": 485, "end": 495, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 14 } }, "imported": { "type": "Identifier", "start": 485, "end": 495, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 14 }, "identifierName": "makeButton" }, "name": "makeButton" }, "local": { "type": "Identifier", "start": 485, "end": 495, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 14 }, "identifierName": "makeButton" }, "name": "makeButton" } }, { "type": "ImportSpecifier", "start": 502, "end": 519, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 21 } }, "imported": { "type": "Identifier", "start": 502, "end": 519, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 21 }, "identifierName": "makeButtonElement" }, "name": "makeButtonElement" }, "local": { "type": "Identifier", "start": 502, "end": 519, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 21 }, "identifierName": "makeButtonElement" }, "name": "makeButtonElement" } }, { "type": "ImportSpecifier", "start": 526, "end": 533, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 11 } }, "imported": { "type": "Identifier", "start": 526, "end": 533, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 11 }, "identifierName": "makeDiv" }, "name": "makeDiv" }, "local": { "type": "Identifier", "start": 526, "end": 533, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 11 }, "identifierName": "makeDiv" }, "name": "makeDiv" } }, { "type": "ImportSpecifier", "start": 540, "end": 557, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 21 } }, "imported": { "type": "Identifier", "start": 540, "end": 557, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 21 }, "identifierName": "removeAllChildren" }, "name": "removeAllChildren" }, "local": { "type": "Identifier", "start": 540, "end": 557, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 21 }, "identifierName": "removeAllChildren" }, "name": "removeAllChildren" } }, { "type": "ImportSpecifier", "start": 564, "end": 579, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 19 } }, "imported": { "type": "Identifier", "start": 564, "end": 579, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 19 }, "identifierName": "startFileChoose" }, "name": "startFileChoose" }, "local": { "type": "Identifier", "start": 564, "end": 579, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 19 }, "identifierName": "startFileChoose" }, "name": "startFileChoose" } }, { "type": "ImportSpecifier", "start": 586, "end": 599, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 17 } }, "imported": { "type": "Identifier", "start": 586, "end": 599, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 17 }, "identifierName": "waitNextFrame" }, "name": "waitNextFrame" }, "local": { "type": "Identifier", "start": 586, "end": 599, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 17 }, "identifierName": "waitNextFrame" }, "name": "waitNextFrame" } } ], "source": { "type": "StringLiteral", "start": 609, "end": 624, "loc": { "start": { "line": 18, "column": 7 }, "end": { "line": 18, "column": 22 } }, "extra": { "rawValue": "../core/utils", "raw": "\"../core/utils\"" }, "value": "../core/utils" } }, { "type": "ImportDeclaration", "start": 627, "end": 693, "loc": { "start": { "line": 19, "column": 0 }, "end": { "line": 19, "column": 66 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 636, "end": 651, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 24 } }, "imported": { "type": "Identifier", "start": 636, "end": 651, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 24 }, "identifierName": "HUDModalDialogs" }, "name": "HUDModalDialogs" }, "local": { "type": "Identifier", "start": 636, "end": 651, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 24 }, "identifierName": "HUDModalDialogs" }, "name": "HUDModalDialogs" } } ], "source": { "type": "StringLiteral", "start": 659, "end": 692, "loc": { "start": { "line": 19, "column": 32 }, "end": { "line": 19, "column": 65 } }, "extra": { "rawValue": "../game/hud/parts/modal_dialogs", "raw": "\"../game/hud/parts/modal_dialogs\"" }, "value": "../game/hud/parts/modal_dialogs" } }, { "type": "ImportDeclaration", "start": 695, "end": 771, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 20, "column": 76 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 704, "end": 729, "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 34 } }, "imported": { "type": "Identifier", "start": 704, "end": 729, "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 34 }, "identifierName": "getApplicationSettingById" }, "name": "getApplicationSettingById" }, "local": { "type": "Identifier", "start": 704, "end": 729, "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 34 }, "identifierName": "getApplicationSettingById" }, "name": "getApplicationSettingById" } } ], "source": { "type": "StringLiteral", "start": 737, "end": 770, "loc": { "start": { "line": 20, "column": 42 }, "end": { "line": 20, "column": 75 } }, "extra": { "rawValue": "../profile/application_settings", "raw": "\"../profile/application_settings\"" }, "value": "../profile/application_settings" } }, { "type": "ImportDeclaration", "start": 773, "end": 809, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 21, "column": 36 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 782, "end": 783, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 10 } }, "imported": { "type": "Identifier", "start": 782, "end": 783, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 10 }, "identifierName": "T" }, "name": "T" }, "local": { "type": "Identifier", "start": 782, "end": 783, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 10 }, "identifierName": "T" }, "name": "T" } } ], "source": { "type": "StringLiteral", "start": 791, "end": 808, "loc": { "start": { "line": 21, "column": 18 }, "end": { "line": 21, "column": 35 } }, "extra": { "rawValue": "../translations", "raw": "\"../translations\"" }, "value": "../translations" } }, { "type": "VariableDeclaration", "start": 813, "end": 842, "loc": { "start": { "line": 23, "column": 0 }, "end": { "line": 23, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", "start": 819, "end": 841, "loc": { "start": { "line": 23, "column": 6 }, "end": { "line": 23, "column": 28 } }, "id": { "type": "Identifier", "start": 819, "end": 823, "loc": { "start": { "line": 23, "column": 6 }, "end": { "line": 23, "column": 10 }, "identifierName": "trim" }, "name": "trim" }, "init": { "type": "CallExpression", "start": 826, "end": 841, "loc": { "start": { "line": 23, "column": 13 }, "end": { "line": 23, "column": 28 } }, "callee": { "type": "Identifier", "start": 826, "end": 833, "loc": { "start": { "line": 23, "column": 13 }, "end": { "line": 23, "column": 20 }, "identifierName": "require" }, "name": "require" }, "arguments": [ { "type": "StringLiteral", "start": 834, "end": 840, "loc": { "start": { "line": 23, "column": 21 }, "end": { "line": 23, "column": 27 } }, "extra": { "rawValue": "trim", "raw": "\"trim\"" }, "value": "trim" } ] } } ], "kind": "const" }, { "type": "ExportNamedDeclaration", "start": 846, "end": 22693, "loc": { "start": { "line": 25, "column": 0 }, "end": { "line": 602, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 853, "end": 22693, "loc": { "start": { "line": 25, "column": 7 }, "end": { "line": 602, "column": 1 } }, "id": { "type": "Identifier", "start": 859, "end": 872, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 26 }, "identifierName": "MainMenuState" }, "name": "MainMenuState" }, "superClass": { "type": "Identifier", "start": 881, "end": 890, "loc": { "start": { "line": 25, "column": 35 }, "end": { "line": 25, "column": 44 }, "identifierName": "GameState" }, "name": "GameState" }, "body": { "type": "ClassBody", "start": 891, "end": 22693, "loc": { "start": { "line": 25, "column": 45 }, "end": { "line": 602, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 898, "end": 953, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 28, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 898, "end": 909, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 912, "end": 953, "loc": { "start": { "line": 26, "column": 18 }, "end": { "line": 28, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 923, "end": 946, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 31 } }, "expression": { "type": "CallExpression", "start": 923, "end": 945, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 30 } }, "callee": { "type": "Super", "start": 923, "end": 928, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 13 } } }, "arguments": [ { "type": "StringLiteral", "start": 929, "end": 944, "loc": { "start": { "line": 27, "column": 14 }, "end": { "line": 27, "column": 29 } }, "extra": { "rawValue": "MainMenuState", "raw": "\"MainMenuState\"" }, "value": "MainMenuState" } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 961, "end": 3808, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 102, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 961, "end": 973, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 16 }, "identifierName": "getInnerHTML" }, "name": "getInnerHTML" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 976, "end": 3808, "loc": { "start": { "line": 30, "column": 19 }, "end": { "line": 102, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 991, "end": 1229, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 35, "column": 10 } }, "declarations": [ { "type": "VariableDeclarator", "start": 997, "end": 1228, "loc": { "start": { "line": 31, "column": 18 }, "end": { "line": 35, "column": 9 } }, "id": { "type": "Identifier", "start": 997, "end": 1007, "loc": { "start": { "line": 31, "column": 18 }, "end": { "line": 31, "column": 28 }, "identifierName": "bannerHtml" }, "name": "bannerHtml" }, "init": { "type": "TemplateLiteral", "start": 1010, "end": 1228, "loc": { "start": { "line": 31, "column": 31 }, "end": { "line": 35, "column": 9 } }, "expressions": [ { "type": "MemberExpression", "start": 1031, "end": 1050, "loc": { "start": { "line": 32, "column": 18 }, "end": { "line": 32, "column": 37 } }, "object": { "type": "MemberExpression", "start": 1031, "end": 1044, "loc": { "start": { "line": 32, "column": 18 }, "end": { "line": 32, "column": 31 } }, "object": { "type": "Identifier", "start": 1031, "end": 1032, "loc": { "start": { "line": 32, "column": 18 }, "end": { "line": 32, "column": 19 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 1033, "end": 1044, "loc": { "start": { "line": 32, "column": 20 }, "end": { "line": 32, "column": 31 }, "identifierName": "demoBanners" }, "name": "demoBanners" }, "computed": false }, "property": { "type": "Identifier", "start": 1045, "end": 1050, "loc": { "start": { "line": 32, "column": 32 }, "end": { "line": 32, "column": 37 }, "identifierName": "title" }, "name": "title" }, "computed": false }, { "type": "MemberExpression", "start": 1075, "end": 1094, "loc": { "start": { "line": 33, "column": 17 }, "end": { "line": 33, "column": 36 } }, "object": { "type": "MemberExpression", "start": 1075, "end": 1088, "loc": { "start": { "line": 33, "column": 17 }, "end": { "line": 33, "column": 30 } }, "object": { "type": "Identifier", "start": 1075, "end": 1076, "loc": { "start": { "line": 33, "column": 17 }, "end": { "line": 33, "column": 18 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 1077, "end": 1088, "loc": { "start": { "line": 33, "column": 19 }, "end": { "line": 33, "column": 30 }, "identifierName": "demoBanners" }, "name": "demoBanners" }, "computed": false }, "property": { "type": "Identifier", "start": 1089, "end": 1094, "loc": { "start": { "line": 33, "column": 31 }, "end": { "line": 33, "column": 36 }, "identifierName": "intro" }, "name": "intro" }, "computed": false }, { "type": "Identifier", "start": 1144, "end": 1165, "loc": { "start": { "line": 34, "column": 43 }, "end": { "line": 34, "column": 64 }, "identifierName": "A_B_TESTING_LINK_TYPE" }, "name": "A_B_TESTING_LINK_TYPE" } ], "quasis": [ { "type": "TemplateElement", "start": 1011, "end": 1029, "loc": { "start": { "line": 31, "column": 32 }, "end": { "line": 32, "column": 16 } }, "value": { "raw": "\n

", "cooked": "\n

" }, "tail": false }, { "type": "TemplateElement", "start": 1051, "end": 1073, "loc": { "start": { "line": 32, "column": 38 }, "end": { "line": 33, "column": 15 } }, "value": { "raw": "

\n

", "cooked": "\n

" }, "tail": false }, { "type": "TemplateElement", "start": 1095, "end": 1142, "loc": { "start": { "line": 33, "column": 37 }, "end": { "line": 34, "column": 41 } }, "value": { "raw": "

\n \n Get the shapez.io standalone!\n ", "cooked": "\" target=\"_blank\">Get the shapez.io standalone!\n " }, "tail": true } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1245, "end": 1325, "loc": { "start": { "line": 37, "column": 12 }, "end": { "line": 37, "column": 92 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1251, "end": 1324, "loc": { "start": { "line": 37, "column": 18 }, "end": { "line": 37, "column": 91 } }, "id": { "type": "Identifier", "start": 1251, "end": 1265, "loc": { "start": { "line": 37, "column": 18 }, "end": { "line": 37, "column": 32 }, "identifierName": "showDemoBadges" }, "name": "showDemoBadges" }, "init": { "type": "CallExpression", "start": 1268, "end": 1324, "loc": { "start": { "line": 37, "column": 35 }, "end": { "line": 37, "column": 91 } }, "callee": { "type": "MemberExpression", "start": 1268, "end": 1322, "loc": { "start": { "line": 37, "column": 35 }, "end": { "line": 37, "column": 89 } }, "object": { "type": "MemberExpression", "start": 1268, "end": 1291, "loc": { "start": { "line": 37, "column": 35 }, "end": { "line": 37, "column": 58 } }, "object": { "type": "MemberExpression", "start": 1268, "end": 1276, "loc": { "start": { "line": 37, "column": 35 }, "end": { "line": 37, "column": 43 } }, "object": { "type": "ThisExpression", "start": 1268, "end": 1272, "loc": { "start": { "line": 37, "column": 35 }, "end": { "line": 37, "column": 39 } } }, "property": { "type": "Identifier", "start": 1273, "end": 1276, "loc": { "start": { "line": 37, "column": 40 }, "end": { "line": 37, "column": 43 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 1277, "end": 1291, "loc": { "start": { "line": 37, "column": 44 }, "end": { "line": 37, "column": 58 }, "identifierName": "restrictionMgr" }, "name": "restrictionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 1292, "end": 1322, "loc": { "start": { "line": 37, "column": 59 }, "end": { "line": 37, "column": 89 }, "identifierName": "getIsStandaloneMarketingActive" }, "name": "getIsStandaloneMarketingActive" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 1341, "end": 3801, "loc": { "start": { "line": 39, "column": 12 }, "end": { "line": 101, "column": 10 } }, "argument": { "type": "TemplateLiteral", "start": 1348, "end": 3800, "loc": { "start": { "line": 39, "column": 19 }, "end": { "line": 101, "column": 9 } }, "expressions": [ { "type": "CallExpression", "start": 1457, "end": 1488, "loc": { "start": { "line": 41, "column": 68 }, "end": { "line": 41, "column": 99 } }, "callee": { "type": "MemberExpression", "start": 1457, "end": 1486, "loc": { "start": { "line": 41, "column": 68 }, "end": { "line": 41, "column": 97 } }, "object": { "type": "MemberExpression", "start": 1457, "end": 1474, "loc": { "start": { "line": 41, "column": 68 }, "end": { "line": 41, "column": 85 } }, "object": { "type": "MemberExpression", "start": 1457, "end": 1465, "loc": { "start": { "line": 41, "column": 68 }, "end": { "line": 41, "column": 76 } }, "object": { "type": "ThisExpression", "start": 1457, "end": 1461, "loc": { "start": { "line": 41, "column": 68 }, "end": { "line": 41, "column": 72 } } }, "property": { "type": "Identifier", "start": 1462, "end": 1465, "loc": { "start": { "line": 41, "column": 73 }, "end": { "line": 41, "column": 76 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 1466, "end": 1474, "loc": { "start": { "line": 41, "column": 77 }, "end": { "line": 41, "column": 85 }, "identifierName": "settings" }, "name": "settings" }, "computed": false }, "property": { "type": "Identifier", "start": 1475, "end": 1486, "loc": { "start": { "line": 41, "column": 86 }, "end": { "line": 41, "column": 97 }, "identifierName": "getLanguage" }, "name": "getLanguage" }, "computed": false }, "arguments": [] }, { "type": "CallExpression", "start": 1578, "end": 1603, "loc": { "start": { "line": 43, "column": 18 }, "end": { "line": 43, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 1578, "end": 1601, "loc": { "start": { "line": 43, "column": 18 }, "end": { "line": 43, "column": 41 } }, "object": { "type": "ThisExpression", "start": 1578, "end": 1582, "loc": { "start": { "line": 43, "column": 18 }, "end": { "line": 43, "column": 22 } } }, "property": { "type": "Identifier", "start": 1583, "end": 1601, "loc": { "start": { "line": 43, "column": 23 }, "end": { "line": 43, "column": 41 }, "identifierName": "getExtraTopButtons" }, "name": "getExtraTopButtons" }, "computed": false }, "arguments": [] }, { "type": "ConditionalExpression", "start": 1638, "end": 1788, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 49, "column": 24 } }, "test": { "type": "LogicalExpression", "start": 1638, "end": 1665, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 43 } }, "left": { "type": "Identifier", "start": 1638, "end": 1653, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 31 }, "identifierName": "G_IS_STANDALONE" }, "name": "G_IS_STANDALONE" }, "operator": "||", "right": { "type": "Identifier", "start": 1657, "end": 1665, "loc": { "start": { "line": 45, "column": 35 }, "end": { "line": 45, "column": 43 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" } }, "consequent": { "type": "TemplateLiteral", "start": 1689, "end": 1762, "loc": { "start": { "line": 46, "column": 22 }, "end": { "line": 48, "column": 13 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 1690, "end": 1761, "loc": { "start": { "line": 46, "column": 23 }, "end": { "line": 48, "column": 12 } }, "value": { "raw": "\n \n ", "cooked": "\n \n " }, "tail": true } ] }, "alternate": { "type": "StringLiteral", "start": 1786, "end": 1788, "loc": { "start": { "line": 49, "column": 22 }, "end": { "line": 49, "column": 24 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } }, { "type": "CallExpression", "start": 1933, "end": 1964, "loc": { "start": { "line": 54, "column": 31 }, "end": { "line": 54, "column": 62 } }, "callee": { "type": "Identifier", "start": 1933, "end": 1942, "loc": { "start": { "line": 54, "column": 31 }, "end": { "line": 54, "column": 40 }, "identifierName": "cachebust" }, "name": "cachebust" }, "arguments": [ { "type": "StringLiteral", "start": 1943, "end": 1963, "loc": { "start": { "line": 54, "column": 41 }, "end": { "line": 54, "column": 61 } }, "extra": { "rawValue": "res/bg_render.webm", "raw": "\"res/bg_render.webm\"" }, "value": "res/bg_render.webm" } ] }, { "type": "CallExpression", "start": 2071, "end": 2096, "loc": { "start": { "line": 58, "column": 28 }, "end": { "line": 58, "column": 53 } }, "callee": { "type": "Identifier", "start": 2071, "end": 2080, "loc": { "start": { "line": 58, "column": 28 }, "end": { "line": 58, "column": 37 }, "identifierName": "cachebust" }, "name": "cachebust" }, "arguments": [ { "type": "StringLiteral", "start": 2081, "end": 2095, "loc": { "start": { "line": 58, "column": 38 }, "end": { "line": 58, "column": 52 } }, "extra": { "rawValue": "res/logo.png", "raw": "\"res/logo.png\"" }, "value": "res/logo.png" } ] }, { "type": "Identifier", "start": 2167, "end": 2182, "loc": { "start": { "line": 59, "column": 45 }, "end": { "line": 59, "column": 60 }, "identifierName": "G_BUILD_VERSION" }, "name": "G_BUILD_VERSION" }, { "type": "ConditionalExpression", "start": 2252, "end": 2286, "loc": { "start": { "line": 62, "column": 38 }, "end": { "line": 62, "column": 72 } }, "test": { "type": "Identifier", "start": 2252, "end": 2266, "loc": { "start": { "line": 62, "column": 38 }, "end": { "line": 62, "column": 52 }, "identifierName": "showDemoBadges" }, "name": "showDemoBadges" }, "consequent": { "type": "StringLiteral", "start": 2269, "end": 2275, "loc": { "start": { "line": 62, "column": 55 }, "end": { "line": 62, "column": 61 } }, "extra": { "rawValue": "demo", "raw": "\"demo\"" }, "value": "demo" }, "alternate": { "type": "StringLiteral", "start": 2278, "end": 2286, "loc": { "start": { "line": 62, "column": 64 }, "end": { "line": 62, "column": 72 } }, "extra": { "rawValue": "noDemo", "raw": "\"noDemo\"" }, "value": "noDemo" } }, { "type": "ConditionalExpression", "start": 2358, "end": 2431, "loc": { "start": { "line": 64, "column": 22 }, "end": { "line": 64, "column": 95 } }, "test": { "type": "Identifier", "start": 2358, "end": 2372, "loc": { "start": { "line": 64, "column": 22 }, "end": { "line": 64, "column": 36 }, "identifierName": "showDemoBadges" }, "name": "showDemoBadges" }, "consequent": { "type": "TemplateLiteral", "start": 2375, "end": 2426, "loc": { "start": { "line": 64, "column": 39 }, "end": { "line": 64, "column": 90 } }, "expressions": [ { "type": "Identifier", "start": 2408, "end": 2418, "loc": { "start": { "line": 64, "column": 72 }, "end": { "line": 64, "column": 82 }, "identifierName": "bannerHtml" }, "name": "bannerHtml" } ], "quasis": [ { "type": "TemplateElement", "start": 2376, "end": 2406, "loc": { "start": { "line": 64, "column": 40 }, "end": { "line": 64, "column": 70 } }, "value": { "raw": "
", "cooked": "
" }, "tail": false }, { "type": "TemplateElement", "start": 2419, "end": 2425, "loc": { "start": { "line": 64, "column": 83 }, "end": { "line": 64, "column": 89 } }, "value": { "raw": "
", "cooked": "
" }, "tail": true } ] }, "alternate": { "type": "StringLiteral", "start": 2429, "end": 2431, "loc": { "start": { "line": 64, "column": 93 }, "end": { "line": 64, "column": 95 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } }, { "type": "ConditionalExpression", "start": 2553, "end": 2703, "loc": { "start": { "line": 69, "column": 24 }, "end": { "line": 71, "column": 94 } }, "test": { "type": "CallExpression", "start": 2553, "end": 2573, "loc": { "start": { "line": 69, "column": 24 }, "end": { "line": 69, "column": 44 } }, "callee": { "type": "Identifier", "start": 2553, "end": 2571, "loc": { "start": { "line": 69, "column": 24 }, "end": { "line": 69, "column": 42 }, "identifierName": "isSupportedBrowser" }, "name": "isSupportedBrowser" }, "arguments": [] }, "consequent": { "type": "StringLiteral", "start": 2605, "end": 2607, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 32 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, "alternate": { "type": "TemplateLiteral", "start": 2639, "end": 2703, "loc": { "start": { "line": 71, "column": 30 }, "end": { "line": 71, "column": 94 } }, "expressions": [ { "type": "MemberExpression", "start": 2670, "end": 2695, "loc": { "start": { "line": 71, "column": 61 }, "end": { "line": 71, "column": 86 } }, "object": { "type": "MemberExpression", "start": 2670, "end": 2680, "loc": { "start": { "line": 71, "column": 61 }, "end": { "line": 71, "column": 71 } }, "object": { "type": "Identifier", "start": 2670, "end": 2671, "loc": { "start": { "line": 71, "column": 61 }, "end": { "line": 71, "column": 62 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 2672, "end": 2680, "loc": { "start": { "line": 71, "column": 63 }, "end": { "line": 71, "column": 71 }, "identifierName": "mainMenu" }, "name": "mainMenu" }, "computed": false }, "property": { "type": "Identifier", "start": 2681, "end": 2695, "loc": { "start": { "line": 71, "column": 72 }, "end": { "line": 71, "column": 86 }, "identifierName": "browserWarning" }, "name": "browserWarning" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 2640, "end": 2668, "loc": { "start": { "line": 71, "column": 31 }, "end": { "line": 71, "column": 59 } }, "value": { "raw": "
", "cooked": "
" }, "tail": false }, { "type": "TemplateElement", "start": 2696, "end": 2702, "loc": { "start": { "line": 71, "column": 87 }, "end": { "line": 71, "column": 93 } }, "value": { "raw": "
", "cooked": "
" }, "tail": true } ] } }, { "type": "MemberExpression", "start": 2943, "end": 2968, "loc": { "start": { "line": 79, "column": 22 }, "end": { "line": 79, "column": 47 } }, "object": { "type": "MemberExpression", "start": 2943, "end": 2953, "loc": { "start": { "line": 79, "column": 22 }, "end": { "line": 79, "column": 32 } }, "object": { "type": "Identifier", "start": 2943, "end": 2944, "loc": { "start": { "line": 79, "column": 22 }, "end": { "line": 79, "column": 23 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 2945, "end": 2953, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 32 }, "identifierName": "mainMenu" }, "name": "mainMenu" }, "computed": false }, "property": { "type": "Identifier", "start": 2954, "end": 2968, "loc": { "start": { "line": 79, "column": 33 }, "end": { "line": 79, "column": 47 }, "identifierName": "openSourceHint" }, "name": "openSourceHint" }, "computed": false }, { "type": "MemberExpression", "start": 3151, "end": 3173, "loc": { "start": { "line": 84, "column": 22 }, "end": { "line": 84, "column": 44 } }, "object": { "type": "MemberExpression", "start": 3151, "end": 3161, "loc": { "start": { "line": 84, "column": 22 }, "end": { "line": 84, "column": 32 } }, "object": { "type": "Identifier", "start": 3151, "end": 3152, "loc": { "start": { "line": 84, "column": 22 }, "end": { "line": 84, "column": 23 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 3153, "end": 3161, "loc": { "start": { "line": 84, "column": 24 }, "end": { "line": 84, "column": 32 }, "identifierName": "mainMenu" }, "name": "mainMenu" }, "computed": false }, "property": { "type": "Identifier", "start": 3162, "end": 3173, "loc": { "start": { "line": 84, "column": 33 }, "end": { "line": 84, "column": 44 }, "identifierName": "discordLink" }, "name": "discordLink" }, "computed": false }, { "type": "MemberExpression", "start": 3356, "end": 3376, "loc": { "start": { "line": 89, "column": 44 }, "end": { "line": 89, "column": 64 } }, "object": { "type": "MemberExpression", "start": 3356, "end": 3366, "loc": { "start": { "line": 89, "column": 44 }, "end": { "line": 89, "column": 54 } }, "object": { "type": "Identifier", "start": 3356, "end": 3357, "loc": { "start": { "line": 89, "column": 44 }, "end": { "line": 89, "column": 45 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 3358, "end": 3366, "loc": { "start": { "line": 89, "column": 46 }, "end": { "line": 89, "column": 54 }, "identifierName": "mainMenu" }, "name": "mainMenu" }, "computed": false }, "property": { "type": "Identifier", "start": 3367, "end": 3376, "loc": { "start": { "line": 89, "column": 55 }, "end": { "line": 89, "column": 64 }, "identifierName": "subreddit" }, "name": "subreddit" }, "computed": false }, { "type": "MemberExpression", "start": 3428, "end": 3445, "loc": { "start": { "line": 91, "column": 43 }, "end": { "line": 91, "column": 60 } }, "object": { "type": "MemberExpression", "start": 3428, "end": 3439, "loc": { "start": { "line": 91, "column": 43 }, "end": { "line": 91, "column": 54 } }, "object": { "type": "Identifier", "start": 3428, "end": 3429, "loc": { "start": { "line": 91, "column": 43 }, "end": { "line": 91, "column": 44 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 3430, "end": 3439, "loc": { "start": { "line": 91, "column": 45 }, "end": { "line": 91, "column": 54 }, "identifierName": "changelog" }, "name": "changelog" }, "computed": false }, "property": { "type": "Identifier", "start": 3440, "end": 3445, "loc": { "start": { "line": 91, "column": 55 }, "end": { "line": 91, "column": 60 }, "identifierName": "title" }, "name": "title" }, "computed": false }, { "type": "MemberExpression", "start": 3501, "end": 3525, "loc": { "start": { "line": 93, "column": 47 }, "end": { "line": 93, "column": 71 } }, "object": { "type": "MemberExpression", "start": 3501, "end": 3511, "loc": { "start": { "line": 93, "column": 47 }, "end": { "line": 93, "column": 57 } }, "object": { "type": "Identifier", "start": 3501, "end": 3502, "loc": { "start": { "line": 93, "column": 47 }, "end": { "line": 93, "column": 48 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 3503, "end": 3511, "loc": { "start": { "line": 93, "column": 49 }, "end": { "line": 93, "column": 57 }, "identifierName": "mainMenu" }, "name": "mainMenu" }, "computed": false }, "property": { "type": "Identifier", "start": 3512, "end": 3525, "loc": { "start": { "line": 93, "column": 58 }, "end": { "line": 93, "column": 71 }, "identifierName": "helpTranslate" }, "name": "helpTranslate" }, "computed": false }, { "type": "CallExpression", "start": 3596, "end": 3762, "loc": { "start": { "line": 96, "column": 38 }, "end": { "line": 99, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 3596, "end": 3621, "loc": { "start": { "line": 96, "column": 38 }, "end": { "line": 96, "column": 63 } }, "object": { "type": "MemberExpression", "start": 3596, "end": 3613, "loc": { "start": { "line": 96, "column": 38 }, "end": { "line": 96, "column": 55 } }, "object": { "type": "MemberExpression", "start": 3596, "end": 3606, "loc": { "start": { "line": 96, "column": 38 }, "end": { "line": 96, "column": 48 } }, "object": { "type": "Identifier", "start": 3596, "end": 3597, "loc": { "start": { "line": 96, "column": 38 }, "end": { "line": 96, "column": 39 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 3598, "end": 3606, "loc": { "start": { "line": 96, "column": 40 }, "end": { "line": 96, "column": 48 }, "identifierName": "mainMenu" }, "name": "mainMenu" }, "computed": false }, "property": { "type": "Identifier", "start": 3607, "end": 3613, "loc": { "start": { "line": 96, "column": 49 }, "end": { "line": 96, "column": 55 }, "identifierName": "madeBy" }, "name": "madeBy" }, "computed": false }, "property": { "type": "Identifier", "start": 3614, "end": 3621, "loc": { "start": { "line": 96, "column": 56 }, "end": { "line": 96, "column": 63 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 3644, "end": 3659, "loc": { "start": { "line": 97, "column": 20 }, "end": { "line": 97, "column": 35 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, { "type": "StringLiteral", "start": 3682, "end": 3743, "loc": { "start": { "line": 98, "column": 20 }, "end": { "line": 98, "column": 81 } }, "extra": { "rawValue": "Tobias Springer", "raw": "'Tobias Springer'" }, "value": "Tobias Springer" } ] } ], "quasis": [ { "type": "TemplateElement", "start": 1349, "end": 1455, "loc": { "start": { "line": 39, "column": 20 }, "end": { "line": 41, "column": 66 } }, "value": { "raw": "\n
\n \n \n ", "cooked": "\">\n \n " }, "tail": false }, { "type": "TemplateElement", "start": 1604, "end": 1618, "loc": { "start": { "line": 43, "column": 44 }, "end": { "line": 44, "column": 12 } }, "value": { "raw": "\n ", "cooked": "\n " }, "tail": false }, { "type": "TemplateElement", "start": 1803, "end": 1931, "loc": { "start": { "line": 50, "column": 13 }, "end": { "line": 54, "column": 29 } }, "value": { "raw": "\n
\n\n