{ "type": "File", "start": 0, "end": 3940, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 125, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 3940, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 125, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 23, "end": 71, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 48 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 32, "end": 43, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 20 } }, "imported": { "type": "Identifier", "start": 32, "end": 43, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 20 }, "identifierName": "Application" }, "name": "Application", "leadingComments": null }, "local": { "type": "Identifier", "start": 32, "end": 43, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 20 }, "identifierName": "Application" }, "name": "Application" }, "leadingComments": null } ], "source": { "type": "StringLiteral", "start": 51, "end": 70, "loc": { "start": { "line": 2, "column": 28 }, "end": { "line": 2, "column": 47 } }, "extra": { "rawValue": "../../application", "raw": "\"../../application\"" }, "value": "../../application" }, "leadingComments": [ { "type": "CommentBlock", "value": " typehints:start ", "start": 0, "end": 21, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 21 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": " typehints:end ", "start": 73, "end": 92, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 19 } } } ] }, { "type": "ImportDeclaration", "start": 96, "end": 149, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 53 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 105, "end": 124, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 28 } }, "imported": { "type": "Identifier", "start": 105, "end": 124, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 28 }, "identifierName": "AdProviderInterface" }, "name": "AdProviderInterface", "leadingComments": null }, "local": { "type": "Identifier", "start": 105, "end": 124, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 28 }, "identifierName": "AdProviderInterface" }, "name": "AdProviderInterface" }, "leadingComments": null } ], "source": { "type": "StringLiteral", "start": 132, "end": 148, "loc": { "start": { "line": 5, "column": 36 }, "end": { "line": 5, "column": 52 } }, "extra": { "rawValue": "../ad_provider", "raw": "\"../ad_provider\"" }, "value": "../ad_provider" }, "leadingComments": [ { "type": "CommentBlock", "value": " typehints:end ", "start": 73, "end": 92, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 19 } } } ] }, { "type": "ImportDeclaration", "start": 151, "end": 201, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 50 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 160, "end": 172, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 21 } }, "imported": { "type": "Identifier", "start": 160, "end": 172, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" }, "local": { "type": "Identifier", "start": 160, "end": 172, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" } } ], "source": { "type": "StringLiteral", "start": 180, "end": 200, "loc": { "start": { "line": 6, "column": 29 }, "end": { "line": 6, "column": 49 } }, "extra": { "rawValue": "../../core/logging", "raw": "\"../../core/logging\"" }, "value": "../../core/logging" } }, { "type": "VariableDeclaration", "start": 205, "end": 271, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 211, "end": 270, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 65 } }, "id": { "type": "Identifier", "start": 211, "end": 239, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 34 }, "identifierName": "minimumTimeBetweenVideoAdsMs" }, "name": "minimumTimeBetweenVideoAdsMs" }, "init": { "type": "ConditionalExpression", "start": 242, "end": 270, "loc": { "start": { "line": 8, "column": 37 }, "end": { "line": 8, "column": 65 } }, "test": { "type": "Identifier", "start": 242, "end": 250, "loc": { "start": { "line": 8, "column": 37 }, "end": { "line": 8, "column": 45 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "consequent": { "type": "NumericLiteral", "start": 253, "end": 254, "loc": { "start": { "line": 8, "column": 48 }, "end": { "line": 8, "column": 49 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "alternate": { "type": "BinaryExpression", "start": 257, "end": 270, "loc": { "start": { "line": 8, "column": 52 }, "end": { "line": 8, "column": 65 } }, "left": { "type": "BinaryExpression", "start": 257, "end": 263, "loc": { "start": { "line": 8, "column": 52 }, "end": { "line": 8, "column": 58 } }, "left": { "type": "NumericLiteral", "start": 257, "end": 258, "loc": { "start": { "line": 8, "column": 52 }, "end": { "line": 8, "column": 53 } }, "extra": { "rawValue": 5, "raw": "5" }, "value": 5 }, "operator": "*", "right": { "type": "NumericLiteral", "start": 261, "end": 263, "loc": { "start": { "line": 8, "column": 56 }, "end": { "line": 8, "column": 58 } }, "extra": { "rawValue": 60, "raw": "60" }, "value": 60 } }, "operator": "*", "right": { "type": "NumericLiteral", "start": 266, "end": 270, "loc": { "start": { "line": 8, "column": 61 }, "end": { "line": 8, "column": 65 } }, "extra": { "rawValue": 1000, "raw": "1000" }, "value": 1000 } } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 275, "end": 323, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 281, "end": 322, "loc": { "start": { "line": 10, "column": 6 }, "end": { "line": 10, "column": 47 } }, "id": { "type": "Identifier", "start": 281, "end": 287, "loc": { "start": { "line": 10, "column": 6 }, "end": { "line": 10, "column": 12 }, "identifierName": "logger" }, "name": "logger" }, "init": { "type": "CallExpression", "start": 290, "end": 322, "loc": { "start": { "line": 10, "column": 15 }, "end": { "line": 10, "column": 47 } }, "callee": { "type": "Identifier", "start": 290, "end": 302, "loc": { "start": { "line": 10, "column": 15 }, "end": { "line": 10, "column": 27 }, "identifierName": "createLogger" }, "name": "createLogger" }, "arguments": [ { "type": "StringLiteral", "start": 303, "end": 321, "loc": { "start": { "line": 10, "column": 28 }, "end": { "line": 10, "column": 46 } }, "extra": { "rawValue": "gamedistribution", "raw": "\"gamedistribution\"" }, "value": "gamedistribution" } ] } } ], "kind": "const" }, { "type": "ExportNamedDeclaration", "start": 327, "end": 3938, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 124, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 334, "end": 3938, "loc": { "start": { "line": 12, "column": 7 }, "end": { "line": 124, "column": 1 } }, "id": { "type": "Identifier", "start": 340, "end": 366, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 39 }, "identifierName": "GamedistributionAdProvider" }, "name": "GamedistributionAdProvider" }, "superClass": { "type": "Identifier", "start": 375, "end": 394, "loc": { "start": { "line": 12, "column": 48 }, "end": { "line": 12, "column": 67 }, "identifierName": "AdProviderInterface" }, "name": "AdProviderInterface" }, "body": { "type": "ClassBody", "start": 395, "end": 3938, "loc": { "start": { "line": 12, "column": 68 }, "end": { "line": 124, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 461, "end": 986, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 37, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 461, "end": 472, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 15 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 473, "end": 476, "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 19 }, "identifierName": "app" }, "name": "app" } ], "body": { "type": "BlockStatement", "start": 478, "end": 986, "loc": { "start": { "line": 17, "column": 21 }, "end": { "line": 37, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 489, "end": 500, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 19 } }, "expression": { "type": "CallExpression", "start": 489, "end": 499, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 18 } }, "callee": { "type": "Super", "start": 489, "end": 494, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 13 } } }, "arguments": [ { "type": "Identifier", "start": 495, "end": 498, "loc": { "start": { "line": 18, "column": 14 }, "end": { "line": 18, "column": 17 }, "identifierName": "app" }, "name": "app" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * The resolve function to finish the current video ad. Null if none is currently running\r\n * @type {Function}\r\n ", "start": 512, "end": 656, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 23, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 666, "end": 701, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 666, "end": 700, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 666, "end": 693, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 35 } }, "object": { "type": "ThisExpression", "start": 666, "end": 670, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 671, "end": 693, "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 35 }, "identifierName": "videoAdResolveFunction" }, "name": "videoAdResolveFunction" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 696, "end": 700, "loc": { "start": { "line": 24, "column": 38 }, "end": { "line": 24, "column": 42 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * The resolve function to finish the current video ad. Null if none is currently running\r\n * @type {Function}\r\n ", "start": 512, "end": 656, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 23, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * The current timer which will timeout the resolve\r\n ", "start": 713, "end": 790, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 28, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 800, "end": 832, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 800, "end": 831, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 800, "end": 824, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 32 } }, "object": { "type": "ThisExpression", "start": 800, "end": 804, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 805, "end": 824, "loc": { "start": { "line": 29, "column": 13 }, "end": { "line": 29, "column": 32 }, "identifierName": "videoAdResolveTimer" }, "name": "videoAdResolveTimer" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 827, "end": 831, "loc": { "start": { "line": 29, "column": 35 }, "end": { "line": 29, "column": 39 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * The current timer which will timeout the resolve\r\n ", "start": 713, "end": 790, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 28, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * When we showed the last video ad\r\n ", "start": 844, "end": 905, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 33, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 915, "end": 948, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 915, "end": 947, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 915, "end": 939, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 32 } }, "object": { "type": "ThisExpression", "start": 915, "end": 919, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 920, "end": 939, "loc": { "start": { "line": 34, "column": 13 }, "end": { "line": 34, "column": 32 }, "identifierName": "lastVideoAdShowTime" }, "name": "lastVideoAdShowTime" }, "computed": false, "leadingComments": null }, "right": { "type": "UnaryExpression", "start": 942, "end": 947, "loc": { "start": { "line": 34, "column": 35 }, "end": { "line": 34, "column": 40 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", "start": 943, "end": 947, "loc": { "start": { "line": 34, "column": 36 }, "end": { "line": 34, "column": 40 } }, "extra": { "rawValue": 100000000000000000000, "raw": "1e20" }, "value": 100000000000000000000 }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * When we showed the last video ad\r\n ", "start": 844, "end": 905, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 33, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 960, "end": 979, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 27 } }, "expression": { "type": "CallExpression", "start": 960, "end": 978, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 960, "end": 973, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 21 } }, "object": { "type": "Identifier", "start": 960, "end": 967, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 968, "end": 973, "loc": { "start": { "line": 36, "column": 16 }, "end": { "line": 36, "column": 21 }, "identifierName": "error" }, "name": "error" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 974, "end": 977, "loc": { "start": { "line": 36, "column": 22 }, "end": { "line": 36, "column": 25 } }, "extra": { "rawValue": "X", "raw": "\"X\"" }, "value": "X" } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {Application} app\r\n ", "start": 402, "end": 455, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 16, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 994, "end": 1036, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 41, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 994, "end": 1003, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 13 }, "identifierName": "getHasAds" }, "name": "getHasAds" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1006, "end": 1036, "loc": { "start": { "line": 39, "column": 16 }, "end": { "line": 41, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 1017, "end": 1029, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 20 } }, "argument": { "type": "BooleanLiteral", "start": 1024, "end": 1028, "loc": { "start": { "line": 40, "column": 15 }, "end": { "line": 40, "column": 19 } }, "value": true } } ], "directives": [] } }, { "type": "ClassMethod", "start": 1044, "end": 1269, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 49, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1044, "end": 1061, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 43, "column": 21 }, "identifierName": "getCanShowVideoAd" }, "name": "getCanShowVideoAd" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1064, "end": 1269, "loc": { "start": { "line": 43, "column": 24 }, "end": { "line": 49, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 1075, "end": 1262, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 48, "column": 10 } }, "argument": { "type": "LogicalExpression", "start": 1097, "end": 1250, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 47, "column": 87 } }, "left": { "type": "LogicalExpression", "start": 1097, "end": 1158, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 46, "column": 40 } }, "left": { "type": "CallExpression", "start": 1097, "end": 1113, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 1097, "end": 1111, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 26 } }, "object": { "type": "ThisExpression", "start": 1097, "end": 1101, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 16 } } }, "property": { "type": "Identifier", "start": 1102, "end": 1111, "loc": { "start": { "line": 45, "column": 17 }, "end": { "line": 45, "column": 26 }, "identifierName": "getHasAds" }, "name": "getHasAds" }, "computed": false }, "arguments": [] }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 1130, "end": 1158, "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 40 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 1131, "end": 1158, "loc": { "start": { "line": 46, "column": 13 }, "end": { "line": 46, "column": 40 } }, "object": { "type": "ThisExpression", "start": 1131, "end": 1135, "loc": { "start": { "line": 46, "column": 13 }, "end": { "line": 46, "column": 17 } } }, "property": { "type": "Identifier", "start": 1136, "end": 1158, "loc": { "start": { "line": 46, "column": 18 }, "end": { "line": 46, "column": 40 }, "identifierName": "videoAdResolveFunction" }, "name": "videoAdResolveFunction" }, "computed": false }, "extra": { "parenthesizedArgument": false } } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 1175, "end": 1250, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 47, "column": 87 } }, "left": { "type": "BinaryExpression", "start": 1175, "end": 1219, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 47, "column": 56 } }, "left": { "type": "CallExpression", "start": 1175, "end": 1192, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 47, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 1175, "end": 1190, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 47, "column": 27 } }, "object": { "type": "Identifier", "start": 1175, "end": 1186, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 47, "column": 23 }, "identifierName": "performance" }, "name": "performance" }, "property": { "type": "Identifier", "start": 1187, "end": 1190, "loc": { "start": { "line": 47, "column": 24 }, "end": { "line": 47, "column": 27 }, "identifierName": "now" }, "name": "now" }, "computed": false }, "arguments": [] }, "operator": "-", "right": { "type": "MemberExpression", "start": 1195, "end": 1219, "loc": { "start": { "line": 47, "column": 32 }, "end": { "line": 47, "column": 56 } }, "object": { "type": "ThisExpression", "start": 1195, "end": 1199, "loc": { "start": { "line": 47, "column": 32 }, "end": { "line": 47, "column": 36 } } }, "property": { "type": "Identifier", "start": 1200, "end": 1219, "loc": { "start": { "line": 47, "column": 37 }, "end": { "line": 47, "column": 56 }, "identifierName": "lastVideoAdShowTime" }, "name": "lastVideoAdShowTime" }, "computed": false } }, "operator": ">", "right": { "type": "Identifier", "start": 1222, "end": 1250, "loc": { "start": { "line": 47, "column": 59 }, "end": { "line": 47, "column": 87 }, "identifierName": "minimumTimeBetweenVideoAdsMs" }, "name": "minimumTimeBetweenVideoAdsMs" } }, "extra": { "parenthesized": true, "parenStart": 1082 } } } ], "directives": [] } }, { "type": "ClassMethod", "start": 1277, "end": 2297, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 81, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1277, "end": 1287, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 14 }, "identifierName": "initialize" }, "name": "initialize" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1290, "end": 2297, "loc": { "start": { "line": 51, "column": 17 }, "end": { "line": 81, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 1372, "end": 1446, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 55, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 1376, "end": 1393, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 1377, "end": 1393, "loc": { "start": { "line": 53, "column": 13 }, "end": { "line": 53, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 1377, "end": 1391, "loc": { "start": { "line": 53, "column": 13 }, "end": { "line": 53, "column": 27 } }, "object": { "type": "ThisExpression", "start": 1377, "end": 1381, "loc": { "start": { "line": 53, "column": 13 }, "end": { "line": 53, "column": 17 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1382, "end": 1391, "loc": { "start": { "line": 53, "column": 18 }, "end": { "line": 53, "column": 27 }, "identifierName": "getHasAds" }, "name": "getHasAds" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 1395, "end": 1446, "loc": { "start": { "line": 53, "column": 31 }, "end": { "line": 55, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 1410, "end": 1435, "loc": { "start": { "line": 54, "column": 12 }, "end": { "line": 54, "column": 37 } }, "argument": { "type": "CallExpression", "start": 1417, "end": 1434, "loc": { "start": { "line": 54, "column": 19 }, "end": { "line": 54, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 1417, "end": 1432, "loc": { "start": { "line": 54, "column": 19 }, "end": { "line": 54, "column": 34 } }, "object": { "type": "Identifier", "start": 1417, "end": 1424, "loc": { "start": { "line": 54, "column": 19 }, "end": { "line": 54, "column": 26 }, "identifierName": "Promise" }, "name": "Promise" }, "property": { "type": "Identifier", "start": 1425, "end": 1432, "loc": { "start": { "line": 54, "column": 27 }, "end": { "line": 54, "column": 34 }, "identifierName": "resolve" }, "name": "resolve" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " No point to initialize everything if ads are not supported", "start": 1301, "end": 1362, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 69 } } } ] }, { "type": "ExpressionStatement", "start": 1458, "end": 1509, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 59 } }, "expression": { "type": "CallExpression", "start": 1458, "end": 1508, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 1458, "end": 1468, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 18 } }, "object": { "type": "Identifier", "start": 1458, "end": 1464, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 14 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 1465, "end": 1468, "loc": { "start": { "line": 57, "column": 15 }, "end": { "line": 57, "column": 18 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1469, "end": 1507, "loc": { "start": { "line": 57, "column": 19 }, "end": { "line": 57, "column": 57 } }, "extra": { "rawValue": "🎬 Initializing gamedistribution ads", "raw": "\"🎬 Initializing gamedistribution ads\"" }, "value": "🎬 Initializing gamedistribution ads" } ] } }, { "type": "TryStatement", "start": 1521, "end": 1699, "loc": { "start": { "line": 59, "column": 8 }, "end": { "line": 63, "column": 9 } }, "block": { "type": "BlockStatement", "start": 1525, "end": 1604, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 61, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 1540, "end": 1593, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 65 } }, "expression": { "type": "CallExpression", "start": 1540, "end": 1592, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 1540, "end": 1558, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 30 } }, "object": { "type": "Identifier", "start": 1540, "end": 1546, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 18 }, "identifierName": "parent" }, "name": "parent" }, "property": { "type": "Identifier", "start": 1547, "end": 1558, "loc": { "start": { "line": 60, "column": 19 }, "end": { "line": 60, "column": 30 }, "identifierName": "postMessage" }, "name": "postMessage" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1559, "end": 1586, "loc": { "start": { "line": 60, "column": 31 }, "end": { "line": 60, "column": 58 } }, "extra": { "rawValue": "shapezio://gd.game_loaded", "raw": "\"shapezio://gd.game_loaded\"" }, "value": "shapezio://gd.game_loaded" }, { "type": "StringLiteral", "start": 1588, "end": 1591, "loc": { "start": { "line": 60, "column": 60 }, "end": { "line": 60, "column": 63 } }, "extra": { "rawValue": "*", "raw": "\"*\"" }, "value": "*" } ] } } ], "directives": [] }, "handler": { "type": "CatchClause", "start": 1605, "end": 1699, "loc": { "start": { "line": 61, "column": 10 }, "end": { "line": 63, "column": 9 } }, "param": { "type": "Identifier", "start": 1612, "end": 1614, "loc": { "start": { "line": 61, "column": 17 }, "end": { "line": 61, "column": 19 }, "identifierName": "ex" }, "name": "ex" }, "body": { "type": "BlockStatement", "start": 1616, "end": 1699, "loc": { "start": { "line": 61, "column": 21 }, "end": { "line": 63, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 1631, "end": 1688, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 69 } }, "argument": { "type": "CallExpression", "start": 1638, "end": 1687, "loc": { "start": { "line": 62, "column": 19 }, "end": { "line": 62, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 1638, "end": 1652, "loc": { "start": { "line": 62, "column": 19 }, "end": { "line": 62, "column": 33 } }, "object": { "type": "Identifier", "start": 1638, "end": 1645, "loc": { "start": { "line": 62, "column": 19 }, "end": { "line": 62, "column": 26 }, "identifierName": "Promise" }, "name": "Promise" }, "property": { "type": "Identifier", "start": 1646, "end": 1652, "loc": { "start": { "line": 62, "column": 27 }, "end": { "line": 62, "column": 33 }, "identifierName": "reject" }, "name": "reject" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1653, "end": 1686, "loc": { "start": { "line": 62, "column": 34 }, "end": { "line": 62, "column": 67 } }, "extra": { "rawValue": "Frame communication not allowed", "raw": "\"Frame communication not allowed\"" }, "value": "Frame communication not allowed" } ] } } ], "directives": [] } }, "guardedHandlers": [], "finalizer": null }, { "type": "ExpressionStatement", "start": 1711, "end": 2253, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 78, "column": 10 } }, "expression": { "type": "CallExpression", "start": 1711, "end": 2252, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 78, "column": 9 } }, "callee": { "type": "MemberExpression", "start": 1711, "end": 1734, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 31 } }, "object": { "type": "Identifier", "start": 1711, "end": 1717, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 1718, "end": 1734, "loc": { "start": { "line": 65, "column": 15 }, "end": { "line": 65, "column": 31 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1749, "end": 1758, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 21 } }, "extra": { "rawValue": "message", "raw": "\"message\"" }, "value": "message" }, { "type": "ArrowFunctionExpression", "start": 1773, "end": 2221, "loc": { "start": { "line": 67, "column": 12 }, "end": { "line": 76, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1773, "end": 1778, "loc": { "start": { "line": 67, "column": 12 }, "end": { "line": 67, "column": 17 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 1782, "end": 2221, "loc": { "start": { "line": 67, "column": 21 }, "end": { "line": 76, "column": 13 } }, "body": [ { "type": "IfStatement", "start": 1801, "end": 2206, "loc": { "start": { "line": 68, "column": 16 }, "end": { "line": 75, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 1805, "end": 1846, "loc": { "start": { "line": 68, "column": 20 }, "end": { "line": 68, "column": 61 } }, "left": { "type": "MemberExpression", "start": 1805, "end": 1815, "loc": { "start": { "line": 68, "column": 20 }, "end": { "line": 68, "column": 30 } }, "object": { "type": "Identifier", "start": 1805, "end": 1810, "loc": { "start": { "line": 68, "column": 20 }, "end": { "line": 68, "column": 25 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 1811, "end": 1815, "loc": { "start": { "line": 68, "column": 26 }, "end": { "line": 68, "column": 30 }, "identifierName": "data" }, "name": "data" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 1820, "end": 1846, "loc": { "start": { "line": 68, "column": 35 }, "end": { "line": 68, "column": 61 } }, "extra": { "rawValue": "shapezio://gd.ad_started", "raw": "\"shapezio://gd.ad_started\"" }, "value": "shapezio://gd.ad_started" } }, "consequent": { "type": "BlockStatement", "start": 1848, "end": 1932, "loc": { "start": { "line": 68, "column": 63 }, "end": { "line": 70, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 1871, "end": 1913, "loc": { "start": { "line": 69, "column": 20 }, "end": { "line": 69, "column": 62 } }, "expression": { "type": "CallExpression", "start": 1871, "end": 1912, "loc": { "start": { "line": 69, "column": 20 }, "end": { "line": 69, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 1871, "end": 1882, "loc": { "start": { "line": 69, "column": 20 }, "end": { "line": 69, "column": 31 } }, "object": { "type": "Identifier", "start": 1871, "end": 1878, "loc": { "start": { "line": 69, "column": 20 }, "end": { "line": 69, "column": 27 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 1879, "end": 1882, "loc": { "start": { "line": 69, "column": 28 }, "end": { "line": 69, "column": 31 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1883, "end": 1911, "loc": { "start": { "line": 69, "column": 32 }, "end": { "line": 69, "column": 60 } }, "extra": { "rawValue": "🎬 Got ad started callback", "raw": "\"🎬 Got ad started callback\"" }, "value": "🎬 Got ad started callback" } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 1938, "end": 2206, "loc": { "start": { "line": 70, "column": 23 }, "end": { "line": 75, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 1942, "end": 1984, "loc": { "start": { "line": 70, "column": 27 }, "end": { "line": 70, "column": 69 } }, "left": { "type": "MemberExpression", "start": 1942, "end": 1952, "loc": { "start": { "line": 70, "column": 27 }, "end": { "line": 70, "column": 37 } }, "object": { "type": "Identifier", "start": 1942, "end": 1947, "loc": { "start": { "line": 70, "column": 27 }, "end": { "line": 70, "column": 32 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 1948, "end": 1952, "loc": { "start": { "line": 70, "column": 33 }, "end": { "line": 70, "column": 37 }, "identifierName": "data" }, "name": "data" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 1957, "end": 1984, "loc": { "start": { "line": 70, "column": 42 }, "end": { "line": 70, "column": 69 } }, "extra": { "rawValue": "shapezio://gd.ad_finished", "raw": "\"shapezio://gd.ad_finished\"" }, "value": "shapezio://gd.ad_finished" } }, "consequent": { "type": "BlockStatement", "start": 1986, "end": 2206, "loc": { "start": { "line": 70, "column": 71 }, "end": { "line": 75, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 2009, "end": 2052, "loc": { "start": { "line": 71, "column": 20 }, "end": { "line": 71, "column": 63 } }, "expression": { "type": "CallExpression", "start": 2009, "end": 2051, "loc": { "start": { "line": 71, "column": 20 }, "end": { "line": 71, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 2009, "end": 2020, "loc": { "start": { "line": 71, "column": 20 }, "end": { "line": 71, "column": 31 } }, "object": { "type": "Identifier", "start": 2009, "end": 2016, "loc": { "start": { "line": 71, "column": 20 }, "end": { "line": 71, "column": 27 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 2017, "end": 2020, "loc": { "start": { "line": 71, "column": 28 }, "end": { "line": 71, "column": 31 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2021, "end": 2050, "loc": { "start": { "line": 71, "column": 32 }, "end": { "line": 71, "column": 61 } }, "extra": { "rawValue": "🎬 Got ad finished callback", "raw": "\"🎬 Got ad finished callback\"" }, "value": "🎬 Got ad finished callback" } ] } }, { "type": "IfStatement", "start": 2074, "end": 2187, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 74, "column": 21 } }, "test": { "type": "MemberExpression", "start": 2078, "end": 2105, "loc": { "start": { "line": 72, "column": 24 }, "end": { "line": 72, "column": 51 } }, "object": { "type": "ThisExpression", "start": 2078, "end": 2082, "loc": { "start": { "line": 72, "column": 24 }, "end": { "line": 72, "column": 28 } } }, "property": { "type": "Identifier", "start": 2083, "end": 2105, "loc": { "start": { "line": 72, "column": 29 }, "end": { "line": 72, "column": 51 }, "identifierName": "videoAdResolveFunction" }, "name": "videoAdResolveFunction" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 2107, "end": 2187, "loc": { "start": { "line": 72, "column": 53 }, "end": { "line": 74, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 2134, "end": 2164, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "column": 54 } }, "expression": { "type": "CallExpression", "start": 2134, "end": 2163, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 2134, "end": 2161, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "column": 51 } }, "object": { "type": "ThisExpression", "start": 2134, "end": 2138, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "column": 28 } } }, "property": { "type": "Identifier", "start": 2139, "end": 2161, "loc": { "start": { "line": 73, "column": 29 }, "end": { "line": 73, "column": 51 }, "identifierName": "videoAdResolveFunction" }, "name": "videoAdResolveFunction" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } } ], "directives": [] } }, { "type": "BooleanLiteral", "start": 2236, "end": 2241, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 17 } }, "value": false } ] } }, { "type": "ReturnStatement", "start": 2265, "end": 2290, "loc": { "start": { "line": 80, "column": 8 }, "end": { "line": 80, "column": 33 } }, "argument": { "type": "CallExpression", "start": 2272, "end": 2289, "loc": { "start": { "line": 80, "column": 15 }, "end": { "line": 80, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 2272, "end": 2287, "loc": { "start": { "line": 80, "column": 15 }, "end": { "line": 80, "column": 30 } }, "object": { "type": "Identifier", "start": 2272, "end": 2279, "loc": { "start": { "line": 80, "column": 15 }, "end": { "line": 80, "column": 22 }, "identifierName": "Promise" }, "name": "Promise" }, "property": { "type": "Identifier", "start": 2280, "end": 2287, "loc": { "start": { "line": 80, "column": 23 }, "end": { "line": 80, "column": 30 }, "identifierName": "resolve" }, "name": "resolve" }, "computed": false }, "arguments": [] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 2305, "end": 3935, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 123, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2305, "end": 2316, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 15 }, "identifierName": "showVideoAd" }, "name": "showVideoAd" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2319, "end": 3935, "loc": { "start": { "line": 83, "column": 18 }, "end": { "line": 123, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2330, "end": 2404, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 82 } }, "expression": { "type": "CallExpression", "start": 2330, "end": 2403, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 81 } }, "callee": { "type": "Identifier", "start": 2330, "end": 2336, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "CallExpression", "start": 2337, "end": 2353, "loc": { "start": { "line": 84, "column": 15 }, "end": { "line": 84, "column": 31 } }, "callee": { "type": "MemberExpression", "start": 2337, "end": 2351, "loc": { "start": { "line": 84, "column": 15 }, "end": { "line": 84, "column": 29 } }, "object": { "type": "ThisExpression", "start": 2337, "end": 2341, "loc": { "start": { "line": 84, "column": 15 }, "end": { "line": 84, "column": 19 } } }, "property": { "type": "Identifier", "start": 2342, "end": 2351, "loc": { "start": { "line": 84, "column": 20 }, "end": { "line": 84, "column": 29 }, "identifierName": "getHasAds" }, "name": "getHasAds" }, "computed": false }, "arguments": [] }, { "type": "StringLiteral", "start": 2355, "end": 2402, "loc": { "start": { "line": 84, "column": 33 }, "end": { "line": 84, "column": 80 } }, "extra": { "rawValue": "Called showVideoAd but ads are not supported!", "raw": "\"Called showVideoAd but ads are not supported!\"" }, "value": "Called showVideoAd but ads are not supported!" } ] } }, { "type": "ExpressionStatement", "start": 2414, "end": 2498, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 92 } }, "expression": { "type": "CallExpression", "start": 2414, "end": 2497, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 91 } }, "callee": { "type": "Identifier", "start": 2414, "end": 2420, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "UnaryExpression", "start": 2421, "end": 2449, "loc": { "start": { "line": 85, "column": 15 }, "end": { "line": 85, "column": 43 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 2422, "end": 2449, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "column": 43 } }, "object": { "type": "ThisExpression", "start": 2422, "end": 2426, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "column": 20 } } }, "property": { "type": "Identifier", "start": 2427, "end": 2449, "loc": { "start": { "line": 85, "column": 21 }, "end": { "line": 85, "column": 43 }, "identifierName": "videoAdResolveFunction" }, "name": "videoAdResolveFunction" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, { "type": "StringLiteral", "start": 2451, "end": 2496, "loc": { "start": { "line": 85, "column": 45 }, "end": { "line": 85, "column": 90 } }, "extra": { "rawValue": "Video ad still running, can not show again!", "raw": "\"Video ad still running, can not show again!\"" }, "value": "Video ad still running, can not show again!" } ] } }, { "type": "ExpressionStatement", "start": 2508, "end": 2553, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 2508, "end": 2552, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2508, "end": 2532, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 32 } }, "object": { "type": "ThisExpression", "start": 2508, "end": 2512, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 12 } } }, "property": { "type": "Identifier", "start": 2513, "end": 2532, "loc": { "start": { "line": 86, "column": 13 }, "end": { "line": 86, "column": 32 }, "identifierName": "lastVideoAdShowTime" }, "name": "lastVideoAdShowTime" }, "computed": false }, "right": { "type": "CallExpression", "start": 2535, "end": 2552, "loc": { "start": { "line": 86, "column": 35 }, "end": { "line": 86, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 2535, "end": 2550, "loc": { "start": { "line": 86, "column": 35 }, "end": { "line": 86, "column": 50 } }, "object": { "type": "Identifier", "start": 2535, "end": 2546, "loc": { "start": { "line": 86, "column": 35 }, "end": { "line": 86, "column": 46 }, "identifierName": "performance" }, "name": "performance" }, "property": { "type": "Identifier", "start": 2547, "end": 2550, "loc": { "start": { "line": 86, "column": 47 }, "end": { "line": 86, "column": 50 }, "identifierName": "now" }, "name": "now" }, "computed": false }, "arguments": [] } } }, { "type": "ExpressionStatement", "start": 2565, "end": 2610, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 53 } }, "expression": { "type": "CallExpression", "start": 2565, "end": 2609, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 2565, "end": 2576, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 19 } }, "object": { "type": "Identifier", "start": 2565, "end": 2572, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 2573, "end": 2576, "loc": { "start": { "line": 88, "column": 16 }, "end": { "line": 88, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2577, "end": 2608, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 51 } }, "extra": { "rawValue": "🎬 Gamedistribution: Start ad", "raw": "\"🎬 Gamedistribution: Start ad\"" }, "value": "🎬 Gamedistribution: Start ad" } ] } }, { "type": "TryStatement", "start": 2620, "end": 2832, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 94, "column": 9 } }, "block": { "type": "BlockStatement", "start": 2624, "end": 2699, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 91, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 2639, "end": 2688, "loc": { "start": { "line": 90, "column": 12 }, "end": { "line": 90, "column": 61 } }, "expression": { "type": "CallExpression", "start": 2639, "end": 2687, "loc": { "start": { "line": 90, "column": 12 }, "end": { "line": 90, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 2639, "end": 2657, "loc": { "start": { "line": 90, "column": 12 }, "end": { "line": 90, "column": 30 } }, "object": { "type": "Identifier", "start": 2639, "end": 2645, "loc": { "start": { "line": 90, "column": 12 }, "end": { "line": 90, "column": 18 }, "identifierName": "parent" }, "name": "parent" }, "property": { "type": "Identifier", "start": 2646, "end": 2657, "loc": { "start": { "line": 90, "column": 19 }, "end": { "line": 90, "column": 30 }, "identifierName": "postMessage" }, "name": "postMessage" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2658, "end": 2681, "loc": { "start": { "line": 90, "column": 31 }, "end": { "line": 90, "column": 54 } }, "extra": { "rawValue": "shapezio://gd.show_ad", "raw": "\"shapezio://gd.show_ad\"" }, "value": "shapezio://gd.show_ad" }, { "type": "StringLiteral", "start": 2683, "end": 2686, "loc": { "start": { "line": 90, "column": 56 }, "end": { "line": 90, "column": 59 } }, "extra": { "rawValue": "*", "raw": "\"*\"" }, "value": "*" } ] } } ], "directives": [] }, "handler": { "type": "CatchClause", "start": 2700, "end": 2832, "loc": { "start": { "line": 91, "column": 10 }, "end": { "line": 94, "column": 9 } }, "param": { "type": "Identifier", "start": 2707, "end": 2709, "loc": { "start": { "line": 91, "column": 17 }, "end": { "line": 91, "column": 19 }, "identifierName": "ex" }, "name": "ex" }, "body": { "type": "BlockStatement", "start": 2711, "end": 2832, "loc": { "start": { "line": 91, "column": 21 }, "end": { "line": 94, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 2726, "end": 2782, "loc": { "start": { "line": 92, "column": 12 }, "end": { "line": 92, "column": 68 } }, "expression": { "type": "CallExpression", "start": 2726, "end": 2781, "loc": { "start": { "line": 92, "column": 12 }, "end": { "line": 92, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 2726, "end": 2737, "loc": { "start": { "line": 92, "column": 12 }, "end": { "line": 92, "column": 23 } }, "object": { "type": "Identifier", "start": 2726, "end": 2732, "loc": { "start": { "line": 92, "column": 12 }, "end": { "line": 92, "column": 18 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 2733, "end": 2737, "loc": { "start": { "line": 92, "column": 19 }, "end": { "line": 92, "column": 23 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2738, "end": 2776, "loc": { "start": { "line": 92, "column": 24 }, "end": { "line": 92, "column": 62 } }, "extra": { "rawValue": "🎬 Failed to send message for gd ad:", "raw": "\"🎬 Failed to send message for gd ad:\"" }, "value": "🎬 Failed to send message for gd ad:" }, { "type": "Identifier", "start": 2778, "end": 2780, "loc": { "start": { "line": 92, "column": 64 }, "end": { "line": 92, "column": 66 }, "identifierName": "ex" }, "name": "ex" } ] } }, { "type": "ReturnStatement", "start": 2796, "end": 2821, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 37 } }, "argument": { "type": "CallExpression", "start": 2803, "end": 2820, "loc": { "start": { "line": 93, "column": 19 }, "end": { "line": 93, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 2803, "end": 2818, "loc": { "start": { "line": 93, "column": 19 }, "end": { "line": 93, "column": 34 } }, "object": { "type": "Identifier", "start": 2803, "end": 2810, "loc": { "start": { "line": 93, "column": 19 }, "end": { "line": 93, "column": 26 }, "identifierName": "Promise" }, "name": "Promise" }, "property": { "type": "Identifier", "start": 2811, "end": 2818, "loc": { "start": { "line": 93, "column": 27 }, "end": { "line": 93, "column": 34 }, "identifierName": "resolve" }, "name": "resolve" }, "computed": false }, "arguments": [] } } ], "directives": [] } }, "guardedHandlers": [], "finalizer": null }, { "type": "ExpressionStatement", "start": 2844, "end": 2890, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 54 } }, "expression": { "type": "CallExpression", "start": 2844, "end": 2889, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 2844, "end": 2871, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 35 } }, "object": { "type": "MemberExpression", "start": 2844, "end": 2867, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 31 } }, "object": { "type": "MemberExpression", "start": 2844, "end": 2857, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 21 } }, "object": { "type": "Identifier", "start": 2844, "end": 2852, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 16 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 2853, "end": 2857, "loc": { "start": { "line": 96, "column": 17 }, "end": { "line": 96, "column": 21 }, "identifierName": "body" }, "name": "body" }, "computed": false }, "property": { "type": "Identifier", "start": 2858, "end": 2867, "loc": { "start": { "line": 96, "column": 22 }, "end": { "line": 96, "column": 31 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 2868, "end": 2871, "loc": { "start": { "line": 96, "column": 32 }, "end": { "line": 96, "column": 35 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2872, "end": 2888, "loc": { "start": { "line": 96, "column": 36 }, "end": { "line": 96, "column": 52 } }, "extra": { "rawValue": "externalAdOpen", "raw": "\"externalAdOpen\"" }, "value": "externalAdOpen" } ] } }, { "type": "ReturnStatement", "start": 2902, "end": 3928, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 122, "column": 15 } }, "argument": { "type": "CallExpression", "start": 2909, "end": 3927, "loc": { "start": { "line": 98, "column": 15 }, "end": { "line": 122, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 2909, "end": 3836, "loc": { "start": { "line": 98, "column": 15 }, "end": { "line": 120, "column": 17 } }, "object": { "type": "CallExpression", "start": 2909, "end": 3817, "loc": { "start": { "line": 98, "column": 15 }, "end": { "line": 119, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 2909, "end": 3715, "loc": { "start": { "line": 98, "column": 15 }, "end": { "line": 117, "column": 18 } }, "object": { "type": "NewExpression", "start": 2909, "end": 3695, "loc": { "start": { "line": 98, "column": 15 }, "end": { "line": 116, "column": 10 } }, "callee": { "type": "Identifier", "start": 2913, "end": 2920, "loc": { "start": { "line": 98, "column": 19 }, "end": { "line": 98, "column": 26 }, "identifierName": "Promise" }, "name": "Promise" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 2921, "end": 3694, "loc": { "start": { "line": 98, "column": 27 }, "end": { "line": 116, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2921, "end": 2928, "loc": { "start": { "line": 98, "column": 27 }, "end": { "line": 98, "column": 34 }, "identifierName": "resolve" }, "name": "resolve" } ], "body": { "type": "BlockStatement", "start": 2932, "end": 3694, "loc": { "start": { "line": 98, "column": 38 }, "end": { "line": 116, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3024, "end": 3388, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 108, "column": 14 } }, "expression": { "type": "AssignmentExpression", "start": 3024, "end": 3387, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 108, "column": 13 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3024, "end": 3051, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 39 } }, "object": { "type": "ThisExpression", "start": 3024, "end": 3028, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3029, "end": 3051, "loc": { "start": { "line": 100, "column": 17 }, "end": { "line": 100, "column": 39 }, "identifierName": "videoAdResolveFunction" }, "name": "videoAdResolveFunction" }, "computed": false, "leadingComments": null }, "right": { "type": "ArrowFunctionExpression", "start": 3054, "end": 3387, "loc": { "start": { "line": 100, "column": 42 }, "end": { "line": 108, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3060, "end": 3387, "loc": { "start": { "line": 100, "column": 48 }, "end": { "line": 108, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 3079, "end": 3114, "loc": { "start": { "line": 101, "column": 16 }, "end": { "line": 101, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 3079, "end": 3113, "loc": { "start": { "line": 101, "column": 16 }, "end": { "line": 101, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3079, "end": 3106, "loc": { "start": { "line": 101, "column": 16 }, "end": { "line": 101, "column": 43 } }, "object": { "type": "ThisExpression", "start": 3079, "end": 3083, "loc": { "start": { "line": 101, "column": 16 }, "end": { "line": 101, "column": 20 } } }, "property": { "type": "Identifier", "start": 3084, "end": 3106, "loc": { "start": { "line": 101, "column": 21 }, "end": { "line": 101, "column": 43 }, "identifierName": "videoAdResolveFunction" }, "name": "videoAdResolveFunction" }, "computed": false }, "right": { "type": "NullLiteral", "start": 3109, "end": 3113, "loc": { "start": { "line": 101, "column": 46 }, "end": { "line": 101, "column": 50 } } } } }, { "type": "ExpressionStatement", "start": 3132, "end": 3171, "loc": { "start": { "line": 102, "column": 16 }, "end": { "line": 102, "column": 55 } }, "expression": { "type": "CallExpression", "start": 3132, "end": 3170, "loc": { "start": { "line": 102, "column": 16 }, "end": { "line": 102, "column": 54 } }, "callee": { "type": "Identifier", "start": 3132, "end": 3144, "loc": { "start": { "line": 102, "column": 16 }, "end": { "line": 102, "column": 28 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 3145, "end": 3169, "loc": { "start": { "line": 102, "column": 29 }, "end": { "line": 102, "column": 53 } }, "object": { "type": "ThisExpression", "start": 3145, "end": 3149, "loc": { "start": { "line": 102, "column": 29 }, "end": { "line": 102, "column": 33 } } }, "property": { "type": "Identifier", "start": 3150, "end": 3169, "loc": { "start": { "line": 102, "column": 34 }, "end": { "line": 102, "column": 53 }, "identifierName": "videoAdResolveTimer" }, "name": "videoAdResolveTimer" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 3189, "end": 3221, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 3189, "end": 3220, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3189, "end": 3213, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 40 } }, "object": { "type": "ThisExpression", "start": 3189, "end": 3193, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 20 } } }, "property": { "type": "Identifier", "start": 3194, "end": 3213, "loc": { "start": { "line": 103, "column": 21 }, "end": { "line": 103, "column": 40 }, "identifierName": "videoAdResolveTimer" }, "name": "videoAdResolveTimer" }, "computed": false }, "right": { "type": "NullLiteral", "start": 3216, "end": 3220, "loc": { "start": { "line": 103, "column": 43 }, "end": { "line": 103, "column": 47 } } } }, "trailingComments": [ { "type": "CommentLine", "value": " When the ad closed, also set the time", "start": 3241, "end": 3281, "loc": { "start": { "line": 105, "column": 16 }, "end": { "line": 105, "column": 56 } } } ] }, { "type": "ExpressionStatement", "start": 3299, "end": 3344, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 3299, "end": 3343, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3299, "end": 3323, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 40 } }, "object": { "type": "ThisExpression", "start": 3299, "end": 3303, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3304, "end": 3323, "loc": { "start": { "line": 106, "column": 21 }, "end": { "line": 106, "column": 40 }, "identifierName": "lastVideoAdShowTime" }, "name": "lastVideoAdShowTime" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 3326, "end": 3343, "loc": { "start": { "line": 106, "column": 43 }, "end": { "line": 106, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 3326, "end": 3341, "loc": { "start": { "line": 106, "column": 43 }, "end": { "line": 106, "column": 58 } }, "object": { "type": "Identifier", "start": 3326, "end": 3337, "loc": { "start": { "line": 106, "column": 43 }, "end": { "line": 106, "column": 54 }, "identifierName": "performance" }, "name": "performance" }, "property": { "type": "Identifier", "start": 3338, "end": 3341, "loc": { "start": { "line": 106, "column": 55 }, "end": { "line": 106, "column": 58 }, "identifierName": "now" }, "name": "now" }, "computed": false }, "arguments": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " When the ad closed, also set the time", "start": 3241, "end": 3281, "loc": { "start": { "line": 105, "column": 16 }, "end": { "line": 105, "column": 56 } } } ] }, { "type": "ExpressionStatement", "start": 3362, "end": 3372, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 26 } }, "expression": { "type": "CallExpression", "start": 3362, "end": 3371, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 25 } }, "callee": { "type": "Identifier", "start": 3362, "end": 3369, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 23 }, "identifierName": "resolve" }, "name": "resolve" }, "arguments": [] } } ], "directives": [] } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " So, wait for the remove call but also remove after N seconds", "start": 2947, "end": 3010, "loc": { "start": { "line": 99, "column": 12 }, "end": { "line": 99, "column": 75 } } } ] }, { "type": "ExpressionStatement", "start": 3404, "end": 3683, "loc": { "start": { "line": 110, "column": 12 }, "end": { "line": 115, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 3404, "end": 3682, "loc": { "start": { "line": 110, "column": 12 }, "end": { "line": 115, "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3404, "end": 3428, "loc": { "start": { "line": 110, "column": 12 }, "end": { "line": 110, "column": 36 } }, "object": { "type": "ThisExpression", "start": 3404, "end": 3408, "loc": { "start": { "line": 110, "column": 12 }, "end": { "line": 110, "column": 16 } } }, "property": { "type": "Identifier", "start": 3409, "end": 3428, "loc": { "start": { "line": 110, "column": 17 }, "end": { "line": 110, "column": 36 }, "identifierName": "videoAdResolveTimer" }, "name": "videoAdResolveTimer" }, "computed": false }, "right": { "type": "CallExpression", "start": 3431, "end": 3682, "loc": { "start": { "line": 110, "column": 39 }, "end": { "line": 115, "column": 21 } }, "callee": { "type": "Identifier", "start": 3431, "end": 3441, "loc": { "start": { "line": 110, "column": 39 }, "end": { "line": 110, "column": 49 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 3442, "end": 3674, "loc": { "start": { "line": 110, "column": 50 }, "end": { "line": 115, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3448, "end": 3674, "loc": { "start": { "line": 110, "column": 56 }, "end": { "line": 115, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 3467, "end": 3536, "loc": { "start": { "line": 111, "column": 16 }, "end": { "line": 111, "column": 85 } }, "expression": { "type": "CallExpression", "start": 3467, "end": 3535, "loc": { "start": { "line": 111, "column": 16 }, "end": { "line": 111, "column": 84 } }, "callee": { "type": "MemberExpression", "start": 3467, "end": 3478, "loc": { "start": { "line": 111, "column": 16 }, "end": { "line": 111, "column": 27 } }, "object": { "type": "Identifier", "start": 3467, "end": 3473, "loc": { "start": { "line": 111, "column": 16 }, "end": { "line": 111, "column": 22 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 3474, "end": 3478, "loc": { "start": { "line": 111, "column": 23 }, "end": { "line": 111, "column": 27 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 3479, "end": 3534, "loc": { "start": { "line": 111, "column": 28 }, "end": { "line": 111, "column": 83 } }, "extra": { "rawValue": "Automatically closing ad after not receiving callback", "raw": "\"Automatically closing ad after not receiving callback\"" }, "value": "Automatically closing ad after not receiving callback" } ] } }, { "type": "IfStatement", "start": 3554, "end": 3659, "loc": { "start": { "line": 112, "column": 16 }, "end": { "line": 114, "column": 17 } }, "test": { "type": "MemberExpression", "start": 3558, "end": 3585, "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "column": 47 } }, "object": { "type": "ThisExpression", "start": 3558, "end": 3562, "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "column": 24 } } }, "property": { "type": "Identifier", "start": 3563, "end": 3585, "loc": { "start": { "line": 112, "column": 25 }, "end": { "line": 112, "column": 47 }, "identifierName": "videoAdResolveFunction" }, "name": "videoAdResolveFunction" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 3587, "end": 3659, "loc": { "start": { "line": 112, "column": 49 }, "end": { "line": 114, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 3610, "end": 3640, "loc": { "start": { "line": 113, "column": 20 }, "end": { "line": 113, "column": 50 } }, "expression": { "type": "CallExpression", "start": 3610, "end": 3639, "loc": { "start": { "line": 113, "column": 20 }, "end": { "line": 113, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 3610, "end": 3637, "loc": { "start": { "line": 113, "column": 20 }, "end": { "line": 113, "column": 47 } }, "object": { "type": "ThisExpression", "start": 3610, "end": 3614, "loc": { "start": { "line": 113, "column": 20 }, "end": { "line": 113, "column": 24 } } }, "property": { "type": "Identifier", "start": 3615, "end": 3637, "loc": { "start": { "line": 113, "column": 25 }, "end": { "line": 113, "column": 47 }, "identifierName": "videoAdResolveFunction" }, "name": "videoAdResolveFunction" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "NumericLiteral", "start": 3676, "end": 3681, "loc": { "start": { "line": 115, "column": 15 }, "end": { "line": 115, "column": 20 } }, "extra": { "rawValue": 35000, "raw": "35000" }, "value": 35000 } ] } } } ], "directives": [] } } ] }, "property": { "type": "Identifier", "start": 3710, "end": 3715, "loc": { "start": { "line": 117, "column": 13 }, "end": { "line": 117, "column": 18 }, "identifierName": "catch" }, "name": "catch" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 3716, "end": 3816, "loc": { "start": { "line": 117, "column": 19 }, "end": { "line": 119, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3716, "end": 3719, "loc": { "start": { "line": 117, "column": 19 }, "end": { "line": 117, "column": 22 }, "identifierName": "err" }, "name": "err" } ], "body": { "type": "BlockStatement", "start": 3723, "end": 3816, "loc": { "start": { "line": 117, "column": 26 }, "end": { "line": 119, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 3742, "end": 3801, "loc": { "start": { "line": 118, "column": 16 }, "end": { "line": 118, "column": 75 } }, "expression": { "type": "CallExpression", "start": 3742, "end": 3800, "loc": { "start": { "line": 118, "column": 16 }, "end": { "line": 118, "column": 74 } }, "callee": { "type": "MemberExpression", "start": 3742, "end": 3754, "loc": { "start": { "line": 118, "column": 16 }, "end": { "line": 118, "column": 28 } }, "object": { "type": "Identifier", "start": 3742, "end": 3748, "loc": { "start": { "line": 118, "column": 16 }, "end": { "line": 118, "column": 22 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 3749, "end": 3754, "loc": { "start": { "line": 118, "column": 23 }, "end": { "line": 118, "column": 28 }, "identifierName": "error" }, "name": "error" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 3755, "end": 3759, "loc": { "start": { "line": 118, "column": 29 }, "end": { "line": 118, "column": 33 } } }, { "type": "StringLiteral", "start": 3761, "end": 3794, "loc": { "start": { "line": 118, "column": 35 }, "end": { "line": 118, "column": 68 } }, "extra": { "rawValue": "Error while resolving video ad:", "raw": "\"Error while resolving video ad:\"" }, "value": "Error while resolving video ad:" }, { "type": "Identifier", "start": 3796, "end": 3799, "loc": { "start": { "line": 118, "column": 70 }, "end": { "line": 118, "column": 73 }, "identifierName": "err" }, "name": "err" } ] } } ], "directives": [] } } ] }, "property": { "type": "Identifier", "start": 3832, "end": 3836, "loc": { "start": { "line": 120, "column": 13 }, "end": { "line": 120, "column": 17 }, "identifierName": "then" }, "name": "then" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 3837, "end": 3926, "loc": { "start": { "line": 120, "column": 18 }, "end": { "line": 122, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3843, "end": 3926, "loc": { "start": { "line": 120, "column": 24 }, "end": { "line": 122, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 3862, "end": 3911, "loc": { "start": { "line": 121, "column": 16 }, "end": { "line": 121, "column": 65 } }, "expression": { "type": "CallExpression", "start": 3862, "end": 3910, "loc": { "start": { "line": 121, "column": 16 }, "end": { "line": 121, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 3862, "end": 3892, "loc": { "start": { "line": 121, "column": 16 }, "end": { "line": 121, "column": 46 } }, "object": { "type": "MemberExpression", "start": 3862, "end": 3885, "loc": { "start": { "line": 121, "column": 16 }, "end": { "line": 121, "column": 39 } }, "object": { "type": "MemberExpression", "start": 3862, "end": 3875, "loc": { "start": { "line": 121, "column": 16 }, "end": { "line": 121, "column": 29 } }, "object": { "type": "Identifier", "start": 3862, "end": 3870, "loc": { "start": { "line": 121, "column": 16 }, "end": { "line": 121, "column": 24 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 3871, "end": 3875, "loc": { "start": { "line": 121, "column": 25 }, "end": { "line": 121, "column": 29 }, "identifierName": "body" }, "name": "body" }, "computed": false }, "property": { "type": "Identifier", "start": 3876, "end": 3885, "loc": { "start": { "line": 121, "column": 30 }, "end": { "line": 121, "column": 39 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 3886, "end": 3892, "loc": { "start": { "line": 121, "column": 40 }, "end": { "line": 121, "column": 46 }, "identifierName": "remove" }, "name": "remove" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 3893, "end": 3909, "loc": { "start": { "line": 121, "column": 47 }, "end": { "line": 121, "column": 63 } }, "extra": { "rawValue": "externalAdOpen", "raw": "\"externalAdOpen\"" }, "value": "externalAdOpen" } ] } } ], "directives": [] } } ] } } ], "directives": [] } } ] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": " typehints:start ", "start": 0, "end": 21, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 21 } } }, { "type": "CommentBlock", "value": " typehints:end ", "start": 73, "end": 92, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 19 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {Application} app\r\n ", "start": 402, "end": 455, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 16, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * The resolve function to finish the current video ad. Null if none is currently running\r\n * @type {Function}\r\n ", "start": 512, "end": 656, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 23, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * The current timer which will timeout the resolve\r\n ", "start": 713, "end": 790, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 28, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * When we showed the last video ad\r\n ", "start": 844, "end": 905, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 33, "column": 11 } } }, { "type": "CommentLine", "value": " No point to initialize everything if ads are not supported", "start": 1301, "end": 1362, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 69 } } }, { "type": "CommentLine", "value": " So, wait for the remove call but also remove after N seconds", "start": 2947, "end": 3010, "loc": { "start": { "line": 99, "column": 12 }, "end": { "line": 99, "column": 75 } } }, { "type": "CommentLine", "value": " When the ad closed, also set the time", "start": 3241, "end": 3281, "loc": { "start": { "line": 105, "column": 16 }, "end": { "line": 105, "column": 56 } } } ], "tokens": [ { "type": "CommentBlock", "value": " typehints:start ", "start": 0, "end": 21, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 21 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 23, "end": 29, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30, "end": 31, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Application", "start": 32, "end": 43, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44, "end": 45, "loc": { "start": { "line": 2, "column": 21 }, "end": { "line": 2, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 46, "end": 50, "loc": { "start": { "line": 2, "column": 23 }, "end": { "line": 2, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../application", "start": 51, "end": 70, "loc": { "start": { "line": 2, "column": 28 }, "end": { "line": 2, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 70, "end": 71, "loc": { "start": { "line": 2, "column": 47 }, "end": { "line": 2, "column": 48 } } }, { "type": "CommentBlock", "value": " typehints:end ", "start": 73, "end": 92, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 19 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 96, "end": 102, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 103, "end": 104, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "AdProviderInterface", "start": 105, "end": 124, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 125, "end": 126, "loc": { "start": { "line": 5, "column": 29 }, "end": { "line": 5, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 127, "end": 131, "loc": { "start": { "line": 5, "column": 31 }, "end": { "line": 5, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../ad_provider", "start": 132, "end": 148, "loc": { "start": { "line": 5, "column": 36 }, "end": { "line": 5, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 148, "end": 149, "loc": { "start": { "line": 5, "column": 52 }, "end": { "line": 5, "column": 53 } } }, { "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": 151, "end": 157, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 158, "end": 159, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createLogger", "start": 160, "end": 172, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 173, "end": 174, "loc": { "start": { "line": 6, "column": 22 }, "end": { "line": 6, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 175, "end": 179, "loc": { "start": { "line": 6, "column": 24 }, "end": { "line": 6, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../core/logging", "start": 180, "end": 200, "loc": { "start": { "line": 6, "column": 29 }, "end": { "line": 6, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 200, "end": 201, "loc": { "start": { "line": 6, "column": 49 }, "end": { "line": 6, "column": 50 } } }, { "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": 205, "end": 210, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minimumTimeBetweenVideoAdsMs", "start": 211, "end": 239, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 240, "end": 241, "loc": { "start": { "line": 8, "column": 35 }, "end": { "line": 8, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 242, "end": 250, "loc": { "start": { "line": 8, "column": 37 }, "end": { "line": 8, "column": 45 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 251, "end": 252, "loc": { "start": { "line": 8, "column": 46 }, "end": { "line": 8, "column": 47 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 253, "end": 254, "loc": { "start": { "line": 8, "column": 48 }, "end": { "line": 8, "column": 49 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 255, "end": 256, "loc": { "start": { "line": 8, "column": 50 }, "end": { "line": 8, "column": 51 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 5, "start": 257, "end": 258, "loc": { "start": { "line": 8, "column": 52 }, "end": { "line": 8, "column": 53 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 259, "end": 260, "loc": { "start": { "line": 8, "column": 54 }, "end": { "line": 8, "column": 55 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 60, "start": 261, "end": 263, "loc": { "start": { "line": 8, "column": 56 }, "end": { "line": 8, "column": 58 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 264, "end": 265, "loc": { "start": { "line": 8, "column": 59 }, "end": { "line": 8, "column": 60 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 266, "end": 270, "loc": { "start": { "line": 8, "column": 61 }, "end": { "line": 8, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 270, "end": 271, "loc": { "start": { "line": 8, "column": 65 }, "end": { "line": 8, "column": 66 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 275, "end": 280, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 281, "end": 287, "loc": { "start": { "line": 10, "column": 6 }, "end": { "line": 10, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 288, "end": 289, "loc": { "start": { "line": 10, "column": 13 }, "end": { "line": 10, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createLogger", "start": 290, "end": 302, "loc": { "start": { "line": 10, "column": 15 }, "end": { "line": 10, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 302, "end": 303, "loc": { "start": { "line": 10, "column": 27 }, "end": { "line": 10, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "gamedistribution", "start": 303, "end": 321, "loc": { "start": { "line": 10, "column": 28 }, "end": { "line": 10, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 321, "end": 322, "loc": { "start": { "line": 10, "column": 46 }, "end": { "line": 10, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 322, "end": 323, "loc": { "start": { "line": 10, "column": 47 }, "end": { "line": 10, "column": 48 } } }, { "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": 327, "end": 333, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "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": 334, "end": 339, "loc": { "start": { "line": 12, "column": 7 }, "end": { "line": 12, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "GamedistributionAdProvider", "start": 340, "end": 366, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 39 } } }, { "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": 367, "end": 374, "loc": { "start": { "line": 12, "column": 40 }, "end": { "line": 12, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "AdProviderInterface", "start": 375, "end": 394, "loc": { "start": { "line": 12, "column": 48 }, "end": { "line": 12, "column": 67 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 395, "end": 396, "loc": { "start": { "line": 12, "column": 68 }, "end": { "line": 12, "column": 69 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {Application} app\r\n ", "start": 402, "end": 455, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 16, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 461, "end": 472, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 472, "end": 473, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 473, "end": 476, "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 476, "end": 477, "loc": { "start": { "line": 17, "column": 19 }, "end": { "line": 17, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 478, "end": 479, "loc": { "start": { "line": 17, "column": 21 }, "end": { "line": 17, "column": 22 } } }, { "type": { "label": "super", "keyword": "super", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "super", "start": 489, "end": 494, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 494, "end": 495, "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 495, "end": 498, "loc": { "start": { "line": 18, "column": 14 }, "end": { "line": 18, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 498, "end": 499, "loc": { "start": { "line": 18, "column": 17 }, "end": { "line": 18, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 499, "end": 500, "loc": { "start": { "line": 18, "column": 18 }, "end": { "line": 18, "column": 19 } } }, { "type": "CommentBlock", "value": "*\r\n * The resolve function to finish the current video ad. Null if none is currently running\r\n * @type {Function}\r\n ", "start": 512, "end": 656, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 23, "column": 11 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 666, "end": 670, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 670, "end": 671, "loc": { "start": { "line": 24, "column": 12 }, "end": { "line": 24, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "videoAdResolveFunction", "start": 671, "end": 693, "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 694, "end": 695, "loc": { "start": { "line": 24, "column": 36 }, "end": { "line": 24, "column": 37 } } }, { "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": 696, "end": 700, "loc": { "start": { "line": 24, "column": 38 }, "end": { "line": 24, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 700, "end": 701, "loc": { "start": { "line": 24, "column": 42 }, "end": { "line": 24, "column": 43 } } }, { "type": "CommentBlock", "value": "*\r\n * The current timer which will timeout the resolve\r\n ", "start": 713, "end": 790, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 28, "column": 11 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 800, "end": 804, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 804, "end": 805, "loc": { "start": { "line": 29, "column": 12 }, "end": { "line": 29, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "videoAdResolveTimer", "start": 805, "end": 824, "loc": { "start": { "line": 29, "column": 13 }, "end": { "line": 29, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 825, "end": 826, "loc": { "start": { "line": 29, "column": 33 }, "end": { "line": 29, "column": 34 } } }, { "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": 827, "end": 831, "loc": { "start": { "line": 29, "column": 35 }, "end": { "line": 29, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 831, "end": 832, "loc": { "start": { "line": 29, "column": 39 }, "end": { "line": 29, "column": 40 } } }, { "type": "CommentBlock", "value": "*\r\n * When we showed the last video ad\r\n ", "start": 844, "end": 905, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 33, "column": 11 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 915, "end": 919, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 919, "end": 920, "loc": { "start": { "line": 34, "column": 12 }, "end": { "line": 34, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastVideoAdShowTime", "start": 920, "end": 939, "loc": { "start": { "line": 34, "column": 13 }, "end": { "line": 34, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 940, "end": 941, "loc": { "start": { "line": 34, "column": 33 }, "end": { "line": 34, "column": 34 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 942, "end": 943, "loc": { "start": { "line": 34, "column": 35 }, "end": { "line": 34, "column": 36 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 100000000000000000000, "start": 943, "end": 947, "loc": { "start": { "line": 34, "column": 36 }, "end": { "line": 34, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 947, "end": 948, "loc": { "start": { "line": 34, "column": 40 }, "end": { "line": 34, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 960, "end": 967, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 967, "end": 968, "loc": { "start": { "line": 36, "column": 15 }, "end": { "line": 36, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "error", "start": 968, "end": 973, "loc": { "start": { "line": 36, "column": 16 }, "end": { "line": 36, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 973, "end": 974, "loc": { "start": { "line": 36, "column": 21 }, "end": { "line": 36, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "X", "start": 974, "end": 977, "loc": { "start": { "line": 36, "column": 22 }, "end": { "line": 36, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 977, "end": 978, "loc": { "start": { "line": 36, "column": 25 }, "end": { "line": 36, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 978, "end": 979, "loc": { "start": { "line": 36, "column": 26 }, "end": { "line": 36, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 985, "end": 986, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getHasAds", "start": 994, "end": 1003, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1003, "end": 1004, "loc": { "start": { "line": 39, "column": 13 }, "end": { "line": 39, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1004, "end": 1005, "loc": { "start": { "line": 39, "column": 14 }, "end": { "line": 39, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1006, "end": 1007, "loc": { "start": { "line": 39, "column": 16 }, "end": { "line": 39, "column": 17 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1017, "end": 1023, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 14 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 1024, "end": 1028, "loc": { "start": { "line": 40, "column": 15 }, "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": 1028, "end": 1029, "loc": { "start": { "line": 40, "column": 19 }, "end": { "line": 40, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1035, "end": 1036, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCanShowVideoAd", "start": 1044, "end": 1061, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 43, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1061, "end": 1062, "loc": { "start": { "line": 43, "column": 21 }, "end": { "line": 43, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1062, "end": 1063, "loc": { "start": { "line": 43, "column": 22 }, "end": { "line": 43, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1064, "end": 1065, "loc": { "start": { "line": 43, "column": 24 }, "end": { "line": 43, "column": 25 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1075, "end": 1081, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1082, "end": 1083, "loc": { "start": { "line": 44, "column": 15 }, "end": { "line": 44, "column": 16 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1097, "end": 1101, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1101, "end": 1102, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getHasAds", "start": 1102, "end": 1111, "loc": { "start": { "line": 45, "column": 17 }, "end": { "line": 45, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1111, "end": 1112, "loc": { "start": { "line": 45, "column": 26 }, "end": { "line": 45, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1112, "end": 1113, "loc": { "start": { "line": 45, "column": 27 }, "end": { "line": 45, "column": 28 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 1114, "end": 1116, "loc": { "start": { "line": 45, "column": 29 }, "end": { "line": 45, "column": 31 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 1130, "end": 1131, "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 13 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1131, "end": 1135, "loc": { "start": { "line": 46, "column": 13 }, "end": { "line": 46, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1135, "end": 1136, "loc": { "start": { "line": 46, "column": 17 }, "end": { "line": 46, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "videoAdResolveFunction", "start": 1136, "end": 1158, "loc": { "start": { "line": 46, "column": 18 }, "end": { "line": 46, "column": 40 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 1159, "end": 1161, "loc": { "start": { "line": 46, "column": 41 }, "end": { "line": 46, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "performance", "start": 1175, "end": 1186, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 47, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1186, "end": 1187, "loc": { "start": { "line": 47, "column": 23 }, "end": { "line": 47, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 1187, "end": 1190, "loc": { "start": { "line": 47, "column": 24 }, "end": { "line": 47, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1190, "end": 1191, "loc": { "start": { "line": 47, "column": 27 }, "end": { "line": 47, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1191, "end": 1192, "loc": { "start": { "line": 47, "column": 28 }, "end": { "line": 47, "column": 29 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 1193, "end": 1194, "loc": { "start": { "line": 47, "column": 30 }, "end": { "line": 47, "column": 31 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1195, "end": 1199, "loc": { "start": { "line": 47, "column": 32 }, "end": { "line": 47, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1199, "end": 1200, "loc": { "start": { "line": 47, "column": 36 }, "end": { "line": 47, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastVideoAdShowTime", "start": 1200, "end": 1219, "loc": { "start": { "line": 47, "column": 37 }, "end": { "line": 47, "column": 56 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 1220, "end": 1221, "loc": { "start": { "line": 47, "column": 57 }, "end": { "line": 47, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minimumTimeBetweenVideoAdsMs", "start": 1222, "end": 1250, "loc": { "start": { "line": 47, "column": 59 }, "end": { "line": 47, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1260, "end": 1261, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1261, "end": 1262, "loc": { "start": { "line": 48, "column": 9 }, "end": { "line": 48, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1268, "end": 1269, "loc": { "start": { "line": 49, "column": 4 }, "end": { "line": 49, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialize", "start": 1277, "end": 1287, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1287, "end": 1288, "loc": { "start": { "line": 51, "column": 14 }, "end": { "line": 51, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1288, "end": 1289, "loc": { "start": { "line": 51, "column": 15 }, "end": { "line": 51, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1290, "end": 1291, "loc": { "start": { "line": 51, "column": 17 }, "end": { "line": 51, "column": 18 } } }, { "type": "CommentLine", "value": " No point to initialize everything if ads are not supported", "start": 1301, "end": 1362, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 69 } } }, { "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": 1372, "end": 1374, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1375, "end": 1376, "loc": { "start": { "line": 53, "column": 11 }, "end": { "line": 53, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 1376, "end": 1377, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 13 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1377, "end": 1381, "loc": { "start": { "line": 53, "column": 13 }, "end": { "line": 53, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1381, "end": 1382, "loc": { "start": { "line": 53, "column": 17 }, "end": { "line": 53, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getHasAds", "start": 1382, "end": 1391, "loc": { "start": { "line": 53, "column": 18 }, "end": { "line": 53, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1391, "end": 1392, "loc": { "start": { "line": 53, "column": 27 }, "end": { "line": 53, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1392, "end": 1393, "loc": { "start": { "line": 53, "column": 28 }, "end": { "line": 53, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1393, "end": 1394, "loc": { "start": { "line": 53, "column": 29 }, "end": { "line": 53, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1395, "end": 1396, "loc": { "start": { "line": 53, "column": 31 }, "end": { "line": 53, "column": 32 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1410, "end": 1416, "loc": { "start": { "line": 54, "column": 12 }, "end": { "line": 54, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 1417, "end": 1424, "loc": { "start": { "line": 54, "column": 19 }, "end": { "line": 54, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1424, "end": 1425, "loc": { "start": { "line": 54, "column": 26 }, "end": { "line": 54, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 1425, "end": 1432, "loc": { "start": { "line": 54, "column": 27 }, "end": { "line": 54, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1432, "end": 1433, "loc": { "start": { "line": 54, "column": 34 }, "end": { "line": 54, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1433, "end": 1434, "loc": { "start": { "line": 54, "column": 35 }, "end": { "line": 54, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1434, "end": 1435, "loc": { "start": { "line": 54, "column": 36 }, "end": { "line": 54, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1445, "end": 1446, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 1458, "end": 1464, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1464, "end": 1465, "loc": { "start": { "line": 57, "column": 14 }, "end": { "line": 57, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 1465, "end": 1468, "loc": { "start": { "line": 57, "column": 15 }, "end": { "line": 57, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1468, "end": 1469, "loc": { "start": { "line": 57, "column": 18 }, "end": { "line": 57, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "🎬 Initializing gamedistribution ads", "start": 1469, "end": 1507, "loc": { "start": { "line": 57, "column": 19 }, "end": { "line": 57, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1507, "end": 1508, "loc": { "start": { "line": 57, "column": 57 }, "end": { "line": 57, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1508, "end": 1509, "loc": { "start": { "line": 57, "column": 58 }, "end": { "line": 57, "column": 59 } } }, { "type": { "label": "try", "keyword": "try", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "try", "start": 1521, "end": 1524, "loc": { "start": { "line": 59, "column": 8 }, "end": { "line": 59, "column": 11 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1525, "end": 1526, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 1540, "end": 1546, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1546, "end": 1547, "loc": { "start": { "line": 60, "column": 18 }, "end": { "line": 60, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "postMessage", "start": 1547, "end": 1558, "loc": { "start": { "line": 60, "column": 19 }, "end": { "line": 60, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1558, "end": 1559, "loc": { "start": { "line": 60, "column": 30 }, "end": { "line": 60, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "shapezio://gd.game_loaded", "start": 1559, "end": 1586, "loc": { "start": { "line": 60, "column": 31 }, "end": { "line": 60, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1586, "end": 1587, "loc": { "start": { "line": 60, "column": 58 }, "end": { "line": 60, "column": 59 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "*", "start": 1588, "end": 1591, "loc": { "start": { "line": 60, "column": 60 }, "end": { "line": 60, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1591, "end": 1592, "loc": { "start": { "line": 60, "column": 63 }, "end": { "line": 60, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1592, "end": 1593, "loc": { "start": { "line": 60, "column": 64 }, "end": { "line": 60, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1603, "end": 1604, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 9 } } }, { "type": { "label": "catch", "keyword": "catch", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "catch", "start": 1605, "end": 1610, "loc": { "start": { "line": 61, "column": 10 }, "end": { "line": 61, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1611, "end": 1612, "loc": { "start": { "line": 61, "column": 16 }, "end": { "line": 61, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ex", "start": 1612, "end": 1614, "loc": { "start": { "line": 61, "column": 17 }, "end": { "line": 61, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1614, "end": 1615, "loc": { "start": { "line": 61, "column": 19 }, "end": { "line": 61, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1616, "end": 1617, "loc": { "start": { "line": 61, "column": 21 }, "end": { "line": 61, "column": 22 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1631, "end": 1637, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 1638, "end": 1645, "loc": { "start": { "line": 62, "column": 19 }, "end": { "line": 62, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1645, "end": 1646, "loc": { "start": { "line": 62, "column": 26 }, "end": { "line": 62, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reject", "start": 1646, "end": 1652, "loc": { "start": { "line": 62, "column": 27 }, "end": { "line": 62, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1652, "end": 1653, "loc": { "start": { "line": 62, "column": 33 }, "end": { "line": 62, "column": 34 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Frame communication not allowed", "start": 1653, "end": 1686, "loc": { "start": { "line": 62, "column": 34 }, "end": { "line": 62, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1686, "end": 1687, "loc": { "start": { "line": 62, "column": 67 }, "end": { "line": 62, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1687, "end": 1688, "loc": { "start": { "line": 62, "column": 68 }, "end": { "line": 62, "column": 69 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1698, "end": 1699, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 1711, "end": 1717, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1717, "end": 1718, "loc": { "start": { "line": 65, "column": 14 }, "end": { "line": 65, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 1718, "end": 1734, "loc": { "start": { "line": 65, "column": 15 }, "end": { "line": 65, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1734, "end": 1735, "loc": { "start": { "line": 65, "column": 31 }, "end": { "line": 65, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "message", "start": 1749, "end": 1758, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1758, "end": 1759, "loc": { "start": { "line": 66, "column": 21 }, "end": { "line": 66, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 1773, "end": 1778, "loc": { "start": { "line": 67, "column": 12 }, "end": { "line": 67, "column": 17 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1779, "end": 1781, "loc": { "start": { "line": 67, "column": 18 }, "end": { "line": 67, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1782, "end": 1783, "loc": { "start": { "line": 67, "column": 21 }, "end": { "line": 67, "column": 22 } } }, { "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": 1801, "end": 1803, "loc": { "start": { "line": 68, "column": 16 }, "end": { "line": 68, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1804, "end": 1805, "loc": { "start": { "line": 68, "column": 19 }, "end": { "line": 68, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 1805, "end": 1810, "loc": { "start": { "line": 68, "column": 20 }, "end": { "line": 68, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1810, "end": 1811, "loc": { "start": { "line": 68, "column": 25 }, "end": { "line": 68, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 1811, "end": 1815, "loc": { "start": { "line": 68, "column": 26 }, "end": { "line": 68, "column": 30 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1816, "end": 1819, "loc": { "start": { "line": 68, "column": 31 }, "end": { "line": 68, "column": 34 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "shapezio://gd.ad_started", "start": 1820, "end": 1846, "loc": { "start": { "line": 68, "column": 35 }, "end": { "line": 68, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1846, "end": 1847, "loc": { "start": { "line": 68, "column": 61 }, "end": { "line": 68, "column": 62 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1848, "end": 1849, "loc": { "start": { "line": 68, "column": 63 }, "end": { "line": 68, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 1871, "end": 1878, "loc": { "start": { "line": 69, "column": 20 }, "end": { "line": 69, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1878, "end": 1879, "loc": { "start": { "line": 69, "column": 27 }, "end": { "line": 69, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 1879, "end": 1882, "loc": { "start": { "line": 69, "column": 28 }, "end": { "line": 69, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1882, "end": 1883, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "🎬 Got ad started callback", "start": 1883, "end": 1911, "loc": { "start": { "line": 69, "column": 32 }, "end": { "line": 69, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1911, "end": 1912, "loc": { "start": { "line": 69, "column": 60 }, "end": { "line": 69, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1912, "end": 1913, "loc": { "start": { "line": 69, "column": 61 }, "end": { "line": 69, "column": 62 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1931, "end": 1932, "loc": { "start": { "line": 70, "column": 16 }, "end": { "line": 70, "column": 17 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 1933, "end": 1937, "loc": { "start": { "line": 70, "column": 18 }, "end": { "line": 70, "column": 22 } } }, { "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": 1938, "end": 1940, "loc": { "start": { "line": 70, "column": 23 }, "end": { "line": 70, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1941, "end": 1942, "loc": { "start": { "line": 70, "column": 26 }, "end": { "line": 70, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 1942, "end": 1947, "loc": { "start": { "line": 70, "column": 27 }, "end": { "line": 70, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1947, "end": 1948, "loc": { "start": { "line": 70, "column": 32 }, "end": { "line": 70, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 1948, "end": 1952, "loc": { "start": { "line": 70, "column": 33 }, "end": { "line": 70, "column": 37 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1953, "end": 1956, "loc": { "start": { "line": 70, "column": 38 }, "end": { "line": 70, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "shapezio://gd.ad_finished", "start": 1957, "end": 1984, "loc": { "start": { "line": 70, "column": 42 }, "end": { "line": 70, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1984, "end": 1985, "loc": { "start": { "line": 70, "column": 69 }, "end": { "line": 70, "column": 70 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1986, "end": 1987, "loc": { "start": { "line": 70, "column": 71 }, "end": { "line": 70, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 2009, "end": 2016, "loc": { "start": { "line": 71, "column": 20 }, "end": { "line": 71, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2016, "end": 2017, "loc": { "start": { "line": 71, "column": 27 }, "end": { "line": 71, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 2017, "end": 2020, "loc": { "start": { "line": 71, "column": 28 }, "end": { "line": 71, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2020, "end": 2021, "loc": { "start": { "line": 71, "column": 31 }, "end": { "line": 71, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "🎬 Got ad finished callback", "start": 2021, "end": 2050, "loc": { "start": { "line": 71, "column": 32 }, "end": { "line": 71, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2050, "end": 2051, "loc": { "start": { "line": 71, "column": 61 }, "end": { "line": 71, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2051, "end": 2052, "loc": { "start": { "line": 71, "column": 62 }, "end": { "line": 71, "column": 63 } } }, { "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": 2074, "end": 2076, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2077, "end": 2078, "loc": { "start": { "line": 72, "column": 23 }, "end": { "line": 72, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2078, "end": 2082, "loc": { "start": { "line": 72, "column": 24 }, "end": { "line": 72, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2082, "end": 2083, "loc": { "start": { "line": 72, "column": 28 }, "end": { "line": 72, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "videoAdResolveFunction", "start": 2083, "end": 2105, "loc": { "start": { "line": 72, "column": 29 }, "end": { "line": 72, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2105, "end": 2106, "loc": { "start": { "line": 72, "column": 51 }, "end": { "line": 72, "column": 52 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2107, "end": 2108, "loc": { "start": { "line": 72, "column": 53 }, "end": { "line": 72, "column": 54 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2134, "end": 2138, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2138, "end": 2139, "loc": { "start": { "line": 73, "column": 28 }, "end": { "line": 73, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "videoAdResolveFunction", "start": 2139, "end": 2161, "loc": { "start": { "line": 73, "column": 29 }, "end": { "line": 73, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2161, "end": 2162, "loc": { "start": { "line": 73, "column": 51 }, "end": { "line": 73, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2162, "end": 2163, "loc": { "start": { "line": 73, "column": 52 }, "end": { "line": 73, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2163, "end": 2164, "loc": { "start": { "line": 73, "column": 53 }, "end": { "line": 73, "column": 54 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2186, "end": 2187, "loc": { "start": { "line": 74, "column": 20 }, "end": { "line": 74, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2205, "end": 2206, "loc": { "start": { "line": 75, "column": 16 }, "end": { "line": 75, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2220, "end": 2221, "loc": { "start": { "line": 76, "column": 12 }, "end": { "line": 76, "column": 13 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2221, "end": 2222, "loc": { "start": { "line": 76, "column": 13 }, "end": { "line": 76, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 2236, "end": 2241, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2251, "end": 2252, "loc": { "start": { "line": 78, "column": 8 }, "end": { "line": 78, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2252, "end": 2253, "loc": { "start": { "line": 78, "column": 9 }, "end": { "line": 78, "column": 10 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2265, "end": 2271, "loc": { "start": { "line": 80, "column": 8 }, "end": { "line": 80, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 2272, "end": 2279, "loc": { "start": { "line": 80, "column": 15 }, "end": { "line": 80, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2279, "end": 2280, "loc": { "start": { "line": 80, "column": 22 }, "end": { "line": 80, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 2280, "end": 2287, "loc": { "start": { "line": 80, "column": 23 }, "end": { "line": 80, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2287, "end": 2288, "loc": { "start": { "line": 80, "column": 30 }, "end": { "line": 80, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2288, "end": 2289, "loc": { "start": { "line": 80, "column": 31 }, "end": { "line": 80, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2289, "end": 2290, "loc": { "start": { "line": 80, "column": 32 }, "end": { "line": 80, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2296, "end": 2297, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "showVideoAd", "start": 2305, "end": 2316, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2316, "end": 2317, "loc": { "start": { "line": 83, "column": 15 }, "end": { "line": 83, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2317, "end": 2318, "loc": { "start": { "line": 83, "column": 16 }, "end": { "line": 83, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2319, "end": 2320, "loc": { "start": { "line": 83, "column": 18 }, "end": { "line": 83, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 2330, "end": 2336, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2336, "end": 2337, "loc": { "start": { "line": 84, "column": 14 }, "end": { "line": 84, "column": 15 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2337, "end": 2341, "loc": { "start": { "line": 84, "column": 15 }, "end": { "line": 84, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2341, "end": 2342, "loc": { "start": { "line": 84, "column": 19 }, "end": { "line": 84, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getHasAds", "start": 2342, "end": 2351, "loc": { "start": { "line": 84, "column": 20 }, "end": { "line": 84, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2351, "end": 2352, "loc": { "start": { "line": 84, "column": 29 }, "end": { "line": 84, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2352, "end": 2353, "loc": { "start": { "line": 84, "column": 30 }, "end": { "line": 84, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2353, "end": 2354, "loc": { "start": { "line": 84, "column": 31 }, "end": { "line": 84, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Called showVideoAd but ads are not supported!", "start": 2355, "end": 2402, "loc": { "start": { "line": 84, "column": 33 }, "end": { "line": 84, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2402, "end": 2403, "loc": { "start": { "line": 84, "column": 80 }, "end": { "line": 84, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2403, "end": 2404, "loc": { "start": { "line": 84, "column": 81 }, "end": { "line": 84, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 2414, "end": 2420, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2420, "end": 2421, "loc": { "start": { "line": 85, "column": 14 }, "end": { "line": 85, "column": 15 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 2421, "end": 2422, "loc": { "start": { "line": 85, "column": 15 }, "end": { "line": 85, "column": 16 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2422, "end": 2426, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2426, "end": 2427, "loc": { "start": { "line": 85, "column": 20 }, "end": { "line": 85, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "videoAdResolveFunction", "start": 2427, "end": 2449, "loc": { "start": { "line": 85, "column": 21 }, "end": { "line": 85, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2449, "end": 2450, "loc": { "start": { "line": 85, "column": 43 }, "end": { "line": 85, "column": 44 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Video ad still running, can not show again!", "start": 2451, "end": 2496, "loc": { "start": { "line": 85, "column": 45 }, "end": { "line": 85, "column": 90 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2496, "end": 2497, "loc": { "start": { "line": 85, "column": 90 }, "end": { "line": 85, "column": 91 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2497, "end": 2498, "loc": { "start": { "line": 85, "column": 91 }, "end": { "line": 85, "column": 92 } } }, { "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": 2508, "end": 2512, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2512, "end": 2513, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastVideoAdShowTime", "start": 2513, "end": 2532, "loc": { "start": { "line": 86, "column": 13 }, "end": { "line": 86, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2533, "end": 2534, "loc": { "start": { "line": 86, "column": 33 }, "end": { "line": 86, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "performance", "start": 2535, "end": 2546, "loc": { "start": { "line": 86, "column": 35 }, "end": { "line": 86, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2546, "end": 2547, "loc": { "start": { "line": 86, "column": 46 }, "end": { "line": 86, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 2547, "end": 2550, "loc": { "start": { "line": 86, "column": 47 }, "end": { "line": 86, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2550, "end": 2551, "loc": { "start": { "line": 86, "column": 50 }, "end": { "line": 86, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2551, "end": 2552, "loc": { "start": { "line": 86, "column": 51 }, "end": { "line": 86, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2552, "end": 2553, "loc": { "start": { "line": 86, "column": 52 }, "end": { "line": 86, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 2565, "end": 2572, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2572, "end": 2573, "loc": { "start": { "line": 88, "column": 15 }, "end": { "line": 88, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 2573, "end": 2576, "loc": { "start": { "line": 88, "column": 16 }, "end": { "line": 88, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2576, "end": 2577, "loc": { "start": { "line": 88, "column": 19 }, "end": { "line": 88, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "🎬 Gamedistribution: Start ad", "start": 2577, "end": 2608, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2608, "end": 2609, "loc": { "start": { "line": 88, "column": 51 }, "end": { "line": 88, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2609, "end": 2610, "loc": { "start": { "line": 88, "column": 52 }, "end": { "line": 88, "column": 53 } } }, { "type": { "label": "try", "keyword": "try", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "try", "start": 2620, "end": 2623, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 11 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2624, "end": 2625, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 89, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 2639, "end": 2645, "loc": { "start": { "line": 90, "column": 12 }, "end": { "line": 90, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2645, "end": 2646, "loc": { "start": { "line": 90, "column": 18 }, "end": { "line": 90, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "postMessage", "start": 2646, "end": 2657, "loc": { "start": { "line": 90, "column": 19 }, "end": { "line": 90, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2657, "end": 2658, "loc": { "start": { "line": 90, "column": 30 }, "end": { "line": 90, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "shapezio://gd.show_ad", "start": 2658, "end": 2681, "loc": { "start": { "line": 90, "column": 31 }, "end": { "line": 90, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2681, "end": 2682, "loc": { "start": { "line": 90, "column": 54 }, "end": { "line": 90, "column": 55 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "*", "start": 2683, "end": 2686, "loc": { "start": { "line": 90, "column": 56 }, "end": { "line": 90, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2686, "end": 2687, "loc": { "start": { "line": 90, "column": 59 }, "end": { "line": 90, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2687, "end": 2688, "loc": { "start": { "line": 90, "column": 60 }, "end": { "line": 90, "column": 61 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2698, "end": 2699, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 9 } } }, { "type": { "label": "catch", "keyword": "catch", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "catch", "start": 2700, "end": 2705, "loc": { "start": { "line": 91, "column": 10 }, "end": { "line": 91, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2706, "end": 2707, "loc": { "start": { "line": 91, "column": 16 }, "end": { "line": 91, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ex", "start": 2707, "end": 2709, "loc": { "start": { "line": 91, "column": 17 }, "end": { "line": 91, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2709, "end": 2710, "loc": { "start": { "line": 91, "column": 19 }, "end": { "line": 91, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2711, "end": 2712, "loc": { "start": { "line": 91, "column": 21 }, "end": { "line": 91, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 2726, "end": 2732, "loc": { "start": { "line": 92, "column": 12 }, "end": { "line": 92, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2732, "end": 2733, "loc": { "start": { "line": 92, "column": 18 }, "end": { "line": 92, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 2733, "end": 2737, "loc": { "start": { "line": 92, "column": 19 }, "end": { "line": 92, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2737, "end": 2738, "loc": { "start": { "line": 92, "column": 23 }, "end": { "line": 92, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "🎬 Failed to send message for gd ad:", "start": 2738, "end": 2776, "loc": { "start": { "line": 92, "column": 24 }, "end": { "line": 92, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2776, "end": 2777, "loc": { "start": { "line": 92, "column": 62 }, "end": { "line": 92, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ex", "start": 2778, "end": 2780, "loc": { "start": { "line": 92, "column": 64 }, "end": { "line": 92, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2780, "end": 2781, "loc": { "start": { "line": 92, "column": 66 }, "end": { "line": 92, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2781, "end": 2782, "loc": { "start": { "line": 92, "column": 67 }, "end": { "line": 92, "column": 68 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2796, "end": 2802, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 2803, "end": 2810, "loc": { "start": { "line": 93, "column": 19 }, "end": { "line": 93, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2810, "end": 2811, "loc": { "start": { "line": 93, "column": 26 }, "end": { "line": 93, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 2811, "end": 2818, "loc": { "start": { "line": 93, "column": 27 }, "end": { "line": 93, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2818, "end": 2819, "loc": { "start": { "line": 93, "column": 34 }, "end": { "line": 93, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2819, "end": 2820, "loc": { "start": { "line": 93, "column": 35 }, "end": { "line": 93, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2820, "end": 2821, "loc": { "start": { "line": 93, "column": 36 }, "end": { "line": 93, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2831, "end": 2832, "loc": { "start": { "line": 94, "column": 8 }, "end": { "line": 94, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 2844, "end": 2852, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2852, "end": 2853, "loc": { "start": { "line": 96, "column": 16 }, "end": { "line": 96, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "body", "start": 2853, "end": 2857, "loc": { "start": { "line": 96, "column": 17 }, "end": { "line": 96, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2857, "end": 2858, "loc": { "start": { "line": 96, "column": 21 }, "end": { "line": 96, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 2858, "end": 2867, "loc": { "start": { "line": 96, "column": 22 }, "end": { "line": 96, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2867, "end": 2868, "loc": { "start": { "line": 96, "column": 31 }, "end": { "line": 96, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 2868, "end": 2871, "loc": { "start": { "line": 96, "column": 32 }, "end": { "line": 96, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2871, "end": 2872, "loc": { "start": { "line": 96, "column": 35 }, "end": { "line": 96, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "externalAdOpen", "start": 2872, "end": 2888, "loc": { "start": { "line": 96, "column": 36 }, "end": { "line": 96, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2888, "end": 2889, "loc": { "start": { "line": 96, "column": 52 }, "end": { "line": 96, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2889, "end": 2890, "loc": { "start": { "line": 96, "column": 53 }, "end": { "line": 96, "column": 54 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2902, "end": 2908, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 14 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 2909, "end": 2912, "loc": { "start": { "line": 98, "column": 15 }, "end": { "line": 98, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 2913, "end": 2920, "loc": { "start": { "line": 98, "column": 19 }, "end": { "line": 98, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2920, "end": 2921, "loc": { "start": { "line": 98, "column": 26 }, "end": { "line": 98, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 2921, "end": 2928, "loc": { "start": { "line": 98, "column": 27 }, "end": { "line": 98, "column": 34 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2929, "end": 2931, "loc": { "start": { "line": 98, "column": 35 }, "end": { "line": 98, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2932, "end": 2933, "loc": { "start": { "line": 98, "column": 38 }, "end": { "line": 98, "column": 39 } } }, { "type": "CommentLine", "value": " So, wait for the remove call but also remove after N seconds", "start": 2947, "end": 3010, "loc": { "start": { "line": 99, "column": 12 }, "end": { "line": 99, "column": 75 } } }, { "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": 3024, "end": 3028, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3028, "end": 3029, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 100, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "videoAdResolveFunction", "start": 3029, "end": 3051, "loc": { "start": { "line": 100, "column": 17 }, "end": { "line": 100, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3052, "end": 3053, "loc": { "start": { "line": 100, "column": 40 }, "end": { "line": 100, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3054, "end": 3055, "loc": { "start": { "line": 100, "column": 42 }, "end": { "line": 100, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3055, "end": 3056, "loc": { "start": { "line": 100, "column": 43 }, "end": { "line": 100, "column": 44 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3057, "end": 3059, "loc": { "start": { "line": 100, "column": 45 }, "end": { "line": 100, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3060, "end": 3061, "loc": { "start": { "line": 100, "column": 48 }, "end": { "line": 100, "column": 49 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3079, "end": 3083, "loc": { "start": { "line": 101, "column": 16 }, "end": { "line": 101, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3083, "end": 3084, "loc": { "start": { "line": 101, "column": 20 }, "end": { "line": 101, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "videoAdResolveFunction", "start": 3084, "end": 3106, "loc": { "start": { "line": 101, "column": 21 }, "end": { "line": 101, "column": 43 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3107, "end": 3108, "loc": { "start": { "line": 101, "column": 44 }, "end": { "line": 101, "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": 3109, "end": 3113, "loc": { "start": { "line": 101, "column": 46 }, "end": { "line": 101, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3113, "end": 3114, "loc": { "start": { "line": 101, "column": 50 }, "end": { "line": 101, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearTimeout", "start": 3132, "end": 3144, "loc": { "start": { "line": 102, "column": 16 }, "end": { "line": 102, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3144, "end": 3145, "loc": { "start": { "line": 102, "column": 28 }, "end": { "line": 102, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3145, "end": 3149, "loc": { "start": { "line": 102, "column": 29 }, "end": { "line": 102, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3149, "end": 3150, "loc": { "start": { "line": 102, "column": 33 }, "end": { "line": 102, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "videoAdResolveTimer", "start": 3150, "end": 3169, "loc": { "start": { "line": 102, "column": 34 }, "end": { "line": 102, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3169, "end": 3170, "loc": { "start": { "line": 102, "column": 53 }, "end": { "line": 102, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3170, "end": 3171, "loc": { "start": { "line": 102, "column": 54 }, "end": { "line": 102, "column": 55 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3189, "end": 3193, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3193, "end": 3194, "loc": { "start": { "line": 103, "column": 20 }, "end": { "line": 103, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "videoAdResolveTimer", "start": 3194, "end": 3213, "loc": { "start": { "line": 103, "column": 21 }, "end": { "line": 103, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3214, "end": 3215, "loc": { "start": { "line": 103, "column": 41 }, "end": { "line": 103, "column": 42 } } }, { "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": 3216, "end": 3220, "loc": { "start": { "line": 103, "column": 43 }, "end": { "line": 103, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3220, "end": 3221, "loc": { "start": { "line": 103, "column": 47 }, "end": { "line": 103, "column": 48 } } }, { "type": "CommentLine", "value": " When the ad closed, also set the time", "start": 3241, "end": 3281, "loc": { "start": { "line": 105, "column": 16 }, "end": { "line": 105, "column": 56 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3299, "end": 3303, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3303, "end": 3304, "loc": { "start": { "line": 106, "column": 20 }, "end": { "line": 106, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastVideoAdShowTime", "start": 3304, "end": 3323, "loc": { "start": { "line": 106, "column": 21 }, "end": { "line": 106, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3324, "end": 3325, "loc": { "start": { "line": 106, "column": 41 }, "end": { "line": 106, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "performance", "start": 3326, "end": 3337, "loc": { "start": { "line": 106, "column": 43 }, "end": { "line": 106, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3337, "end": 3338, "loc": { "start": { "line": 106, "column": 54 }, "end": { "line": 106, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 3338, "end": 3341, "loc": { "start": { "line": 106, "column": 55 }, "end": { "line": 106, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3341, "end": 3342, "loc": { "start": { "line": 106, "column": 58 }, "end": { "line": 106, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3342, "end": 3343, "loc": { "start": { "line": 106, "column": 59 }, "end": { "line": 106, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3343, "end": 3344, "loc": { "start": { "line": 106, "column": 60 }, "end": { "line": 106, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 3362, "end": 3369, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3369, "end": 3370, "loc": { "start": { "line": 107, "column": 23 }, "end": { "line": 107, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3370, "end": 3371, "loc": { "start": { "line": 107, "column": 24 }, "end": { "line": 107, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3371, "end": 3372, "loc": { "start": { "line": 107, "column": 25 }, "end": { "line": 107, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3386, "end": 3387, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3387, "end": 3388, "loc": { "start": { "line": 108, "column": 13 }, "end": { "line": 108, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3404, "end": 3408, "loc": { "start": { "line": 110, "column": 12 }, "end": { "line": 110, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3408, "end": 3409, "loc": { "start": { "line": 110, "column": 16 }, "end": { "line": 110, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "videoAdResolveTimer", "start": 3409, "end": 3428, "loc": { "start": { "line": 110, "column": 17 }, "end": { "line": 110, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3429, "end": 3430, "loc": { "start": { "line": 110, "column": 37 }, "end": { "line": 110, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 3431, "end": 3441, "loc": { "start": { "line": 110, "column": 39 }, "end": { "line": 110, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3441, "end": 3442, "loc": { "start": { "line": 110, "column": 49 }, "end": { "line": 110, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3442, "end": 3443, "loc": { "start": { "line": 110, "column": 50 }, "end": { "line": 110, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3443, "end": 3444, "loc": { "start": { "line": 110, "column": 51 }, "end": { "line": 110, "column": 52 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3445, "end": 3447, "loc": { "start": { "line": 110, "column": 53 }, "end": { "line": 110, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3448, "end": 3449, "loc": { "start": { "line": 110, "column": 56 }, "end": { "line": 110, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 3467, "end": 3473, "loc": { "start": { "line": 111, "column": 16 }, "end": { "line": 111, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3473, "end": 3474, "loc": { "start": { "line": 111, "column": 22 }, "end": { "line": 111, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 3474, "end": 3478, "loc": { "start": { "line": 111, "column": 23 }, "end": { "line": 111, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3478, "end": 3479, "loc": { "start": { "line": 111, "column": 27 }, "end": { "line": 111, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Automatically closing ad after not receiving callback", "start": 3479, "end": 3534, "loc": { "start": { "line": 111, "column": 28 }, "end": { "line": 111, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3534, "end": 3535, "loc": { "start": { "line": 111, "column": 83 }, "end": { "line": 111, "column": 84 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3535, "end": 3536, "loc": { "start": { "line": 111, "column": 84 }, "end": { "line": 111, "column": 85 } } }, { "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": 3554, "end": 3556, "loc": { "start": { "line": 112, "column": 16 }, "end": { "line": 112, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3557, "end": 3558, "loc": { "start": { "line": 112, "column": 19 }, "end": { "line": 112, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3558, "end": 3562, "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3562, "end": 3563, "loc": { "start": { "line": 112, "column": 24 }, "end": { "line": 112, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "videoAdResolveFunction", "start": 3563, "end": 3585, "loc": { "start": { "line": 112, "column": 25 }, "end": { "line": 112, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3585, "end": 3586, "loc": { "start": { "line": 112, "column": 47 }, "end": { "line": 112, "column": 48 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3587, "end": 3588, "loc": { "start": { "line": 112, "column": 49 }, "end": { "line": 112, "column": 50 } } }, { "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": 3610, "end": 3614, "loc": { "start": { "line": 113, "column": 20 }, "end": { "line": 113, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3614, "end": 3615, "loc": { "start": { "line": 113, "column": 24 }, "end": { "line": 113, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "videoAdResolveFunction", "start": 3615, "end": 3637, "loc": { "start": { "line": 113, "column": 25 }, "end": { "line": 113, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3637, "end": 3638, "loc": { "start": { "line": 113, "column": 47 }, "end": { "line": 113, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3638, "end": 3639, "loc": { "start": { "line": 113, "column": 48 }, "end": { "line": 113, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3639, "end": 3640, "loc": { "start": { "line": 113, "column": 49 }, "end": { "line": 113, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3658, "end": 3659, "loc": { "start": { "line": 114, "column": 16 }, "end": { "line": 114, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3673, "end": 3674, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 13 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3674, "end": 3675, "loc": { "start": { "line": 115, "column": 13 }, "end": { "line": 115, "column": 14 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 35000, "start": 3676, "end": 3681, "loc": { "start": { "line": 115, "column": 15 }, "end": { "line": 115, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3681, "end": 3682, "loc": { "start": { "line": 115, "column": 20 }, "end": { "line": 115, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3682, "end": 3683, "loc": { "start": { "line": 115, "column": 21 }, "end": { "line": 115, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3693, "end": 3694, "loc": { "start": { "line": 116, "column": 8 }, "end": { "line": 116, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3694, "end": 3695, "loc": { "start": { "line": 116, "column": 9 }, "end": { "line": 116, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3709, "end": 3710, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 13 } } }, { "type": { "label": "catch", "keyword": "catch", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "catch", "start": 3710, "end": 3715, "loc": { "start": { "line": 117, "column": 13 }, "end": { "line": 117, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3715, "end": 3716, "loc": { "start": { "line": 117, "column": 18 }, "end": { "line": 117, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "err", "start": 3716, "end": 3719, "loc": { "start": { "line": 117, "column": 19 }, "end": { "line": 117, "column": 22 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3720, "end": 3722, "loc": { "start": { "line": 117, "column": 23 }, "end": { "line": 117, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3723, "end": 3724, "loc": { "start": { "line": 117, "column": 26 }, "end": { "line": 117, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 3742, "end": 3748, "loc": { "start": { "line": 118, "column": 16 }, "end": { "line": 118, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3748, "end": 3749, "loc": { "start": { "line": 118, "column": 22 }, "end": { "line": 118, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "error", "start": 3749, "end": 3754, "loc": { "start": { "line": 118, "column": 23 }, "end": { "line": 118, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3754, "end": 3755, "loc": { "start": { "line": 118, "column": 28 }, "end": { "line": 118, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3755, "end": 3759, "loc": { "start": { "line": 118, "column": 29 }, "end": { "line": 118, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3759, "end": 3760, "loc": { "start": { "line": 118, "column": 33 }, "end": { "line": 118, "column": 34 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Error while resolving video ad:", "start": 3761, "end": 3794, "loc": { "start": { "line": 118, "column": 35 }, "end": { "line": 118, "column": 68 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3794, "end": 3795, "loc": { "start": { "line": 118, "column": 68 }, "end": { "line": 118, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "err", "start": 3796, "end": 3799, "loc": { "start": { "line": 118, "column": 70 }, "end": { "line": 118, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3799, "end": 3800, "loc": { "start": { "line": 118, "column": 73 }, "end": { "line": 118, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3800, "end": 3801, "loc": { "start": { "line": 118, "column": 74 }, "end": { "line": 118, "column": 75 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3815, "end": 3816, "loc": { "start": { "line": 119, "column": 12 }, "end": { "line": 119, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3816, "end": 3817, "loc": { "start": { "line": 119, "column": 13 }, "end": { "line": 119, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3831, "end": 3832, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "then", "start": 3832, "end": 3836, "loc": { "start": { "line": 120, "column": 13 }, "end": { "line": 120, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3836, "end": 3837, "loc": { "start": { "line": 120, "column": 17 }, "end": { "line": 120, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3837, "end": 3838, "loc": { "start": { "line": 120, "column": 18 }, "end": { "line": 120, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3838, "end": 3839, "loc": { "start": { "line": 120, "column": 19 }, "end": { "line": 120, "column": 20 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3840, "end": 3842, "loc": { "start": { "line": 120, "column": 21 }, "end": { "line": 120, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3843, "end": 3844, "loc": { "start": { "line": 120, "column": 24 }, "end": { "line": 120, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 3862, "end": 3870, "loc": { "start": { "line": 121, "column": 16 }, "end": { "line": 121, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3870, "end": 3871, "loc": { "start": { "line": 121, "column": 24 }, "end": { "line": 121, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "body", "start": 3871, "end": 3875, "loc": { "start": { "line": 121, "column": 25 }, "end": { "line": 121, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3875, "end": 3876, "loc": { "start": { "line": 121, "column": 29 }, "end": { "line": 121, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 3876, "end": 3885, "loc": { "start": { "line": 121, "column": 30 }, "end": { "line": 121, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3885, "end": 3886, "loc": { "start": { "line": 121, "column": 39 }, "end": { "line": 121, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remove", "start": 3886, "end": 3892, "loc": { "start": { "line": 121, "column": 40 }, "end": { "line": 121, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3892, "end": 3893, "loc": { "start": { "line": 121, "column": 46 }, "end": { "line": 121, "column": 47 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "externalAdOpen", "start": 3893, "end": 3909, "loc": { "start": { "line": 121, "column": 47 }, "end": { "line": 121, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3909, "end": 3910, "loc": { "start": { "line": 121, "column": 63 }, "end": { "line": 121, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3910, "end": 3911, "loc": { "start": { "line": 121, "column": 64 }, "end": { "line": 121, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3925, "end": 3926, "loc": { "start": { "line": 122, "column": 12 }, "end": { "line": 122, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3926, "end": 3927, "loc": { "start": { "line": 122, "column": 13 }, "end": { "line": 122, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3927, "end": 3928, "loc": { "start": { "line": 122, "column": 14 }, "end": { "line": 122, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3934, "end": 3935, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 123, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3937, "end": 3938, "loc": { "start": { "line": 124, "column": 0 }, "end": { "line": 124, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3940, "end": 3940, "loc": { "start": { "line": 125, "column": 0 }, "end": { "line": 125, "column": 0 } } } ] }