diff --git a/CHANGES.md b/CHANGES.md index d7c3b427..94744a34 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,6 @@ # videojs-wavesurfer changelog -## 3.5.0 - unreleased +## 3.5.0 - 2021/02/01 - Add `formatTime` option and `setFormatTime(impl)` for replacing the default `formatTime` implementation (#125) diff --git a/docs/api/ast/source/js/videojs.wavesurfer.js.json b/docs/api/ast/source/js/videojs.wavesurfer.js.json index 4518e7f5..85b047d7 100644 --- a/docs/api/ast/source/js/videojs.wavesurfer.js.json +++ b/docs/api/ast/source/js/videojs.wavesurfer.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 27736, + "end": 28450, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 848, + "line": 866, "column": 20 } }, "program": { "type": "Program", "start": 0, - "end": 27736, + "end": 28450, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 848, + "line": 866, "column": 20 } }, @@ -1216,14 +1216,14 @@ { "type": "Identifier", "start": 942, - "end": 27274, + "end": 27988, "loc": { "start": { "line": 35, "column": 0 }, "end": { - "line": 829, + "line": 847, "column": 1 } }, @@ -1265,14 +1265,14 @@ "body": { "type": "ClassBody", "start": 974, - "end": 27274, + "end": 27988, "loc": { "start": { "line": 35, "column": 32 }, "end": { - "line": 829, + "line": 847, "column": 1 } }, @@ -1280,14 +1280,14 @@ { "type": "ClassMethod", "start": 1172, - "end": 2027, + "end": 2287, "loc": { "start": { "line": 42, "column": 4 }, "end": { - "line": 65, + "line": 71, "column": 5 } }, @@ -1355,14 +1355,14 @@ "body": { "type": "BlockStatement", "start": 1201, - "end": 2027, + "end": 2287, "loc": { "start": { "line": 42, "column": 33 }, "end": { - "line": 65, + "line": 71, "column": 5 } }, @@ -2767,9 +2767,9 @@ "trailingComments": [ { "type": "CommentLine", - "value": " use custom video.js time format", + "value": " use custom time format for video.js player", "start": 1742, - "end": 1776, + "end": 1787, "loc": { "start": { "line": 58, @@ -2777,306 +2777,700 @@ }, "end": { "line": 58, - "column": 42 + "column": 53 } } } ] }, { - "type": "ExpressionStatement", - "start": 1785, - "end": 1913, + "type": "IfStatement", + "start": 1796, + "end": 2173, "loc": { "start": { "line": 59, "column": 8 }, "end": { - "line": 61, - "column": 11 + "line": 67, + "column": 9 } }, - "expression": { - "type": "CallExpression", - "start": 1785, - "end": 1912, + "test": { + "type": "LogicalExpression", + "start": 1800, + "end": 1862, "loc": { "start": { "line": 59, - "column": 8 + "column": 12 }, "end": { - "line": 61, - "column": 10 + "line": 59, + "column": 74 } }, - "callee": { + "left": { "type": "MemberExpression", - "start": 1785, - "end": 1806, + "start": 1800, + "end": 1818, "loc": { "start": { "line": 59, - "column": 8 + "column": 12 }, "end": { "line": 59, - "column": 29 + "column": 30 } }, "object": { "type": "Identifier", - "start": 1785, - "end": 1792, + "start": 1800, + "end": 1807, "loc": { "start": { "line": 59, - "column": 8 + "column": 12 }, "end": { "line": 59, - "column": 15 + "column": 19 }, - "identifierName": "videojs" + "identifierName": "options" }, - "name": "videojs", + "name": "options", "leadingComments": null }, "property": { "type": "Identifier", - "start": 1793, - "end": 1806, + "start": 1808, + "end": 1818, "loc": { "start": { "line": 59, - "column": 16 + "column": 20 }, "end": { "line": 59, - "column": 29 + "column": 30 }, - "identifierName": "setFormatTime" + "identifierName": "formatTime" }, - "name": "setFormatTime" + "name": "formatTime" }, "computed": false, "leadingComments": null }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 1807, - "end": 1911, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 1822, + "end": 1862, + "loc": { + "start": { + "line": 59, + "column": 34 + }, + "end": { + "line": 59, + "column": 74 + } + }, + "left": { + "type": "UnaryExpression", + "start": 1822, + "end": 1847, "loc": { "start": { "line": 59, - "column": 30 + "column": 34 }, "end": { - "line": 61, - "column": 9 + "line": 59, + "column": 59 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "operator": "typeof", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 1829, + "end": 1847, + "loc": { + "start": { + "line": 59, + "column": 41 + }, + "end": { + "line": 59, + "column": 59 + } + }, + "object": { "type": "Identifier", - "start": 1808, - "end": 1815, + "start": 1829, + "end": 1836, "loc": { "start": { "line": 59, - "column": 31 + "column": 41 }, "end": { "line": 59, - "column": 38 + "column": 48 }, - "identifierName": "seconds" + "identifierName": "options" }, - "name": "seconds" + "name": "options" }, - { + "property": { "type": "Identifier", - "start": 1817, - "end": 1822, + "start": 1837, + "end": 1847, "loc": { "start": { "line": 59, - "column": 40 + "column": 49 }, "end": { "line": 59, - "column": 45 + "column": 59 }, - "identifierName": "guide" + "identifierName": "formatTime" }, - "name": "guide" + "name": "formatTime" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 1852, + "end": 1862, + "loc": { + "start": { + "line": 59, + "column": 64 + }, + "end": { + "line": 59, + "column": 74 } - ], - "body": { - "type": "BlockStatement", - "start": 1827, - "end": 1911, + }, + "extra": { + "rawValue": "function", + "raw": "'function'" + }, + "value": "function" + } + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 1864, + "end": 1967, + "loc": { + "start": { + "line": 59, + "column": 76 + }, + "end": { + "line": 62, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1918, + "end": 1957, + "loc": { + "start": { + "line": 61, + "column": 12 + }, + "end": { + "line": 61, + "column": 51 + } + }, + "expression": { + "type": "CallExpression", + "start": 1918, + "end": 1956, "loc": { "start": { - "line": 59, - "column": 50 + "line": 61, + "column": 12 }, "end": { "line": 61, - "column": 9 + "column": 50 } }, - "body": [ - { - "type": "ReturnStatement", - "start": 1841, - "end": 1901, + "callee": { + "type": "MemberExpression", + "start": 1918, + "end": 1936, + "loc": { + "start": { + "line": 61, + "column": 12 + }, + "end": { + "line": 61, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 1918, + "end": 1922, "loc": { "start": { - "line": 60, + "line": 61, "column": 12 }, "end": { - "line": 60, - "column": 72 + "line": 61, + "column": 16 } }, - "argument": { - "type": "CallExpression", - "start": 1848, - "end": 1900, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1923, + "end": 1936, + "loc": { + "start": { + "line": 61, + "column": 17 + }, + "end": { + "line": 61, + "column": 30 + }, + "identifierName": "setFormatTime" + }, + "name": "setFormatTime" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 1937, + "end": 1955, + "loc": { + "start": { + "line": 61, + "column": 31 + }, + "end": { + "line": 61, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 1937, + "end": 1944, "loc": { "start": { - "line": 60, - "column": 19 + "line": 61, + "column": 31 }, "end": { - "line": 60, - "column": 71 - } + "line": 61, + "column": 38 + }, + "identifierName": "options" }, - "callee": { + "name": "options" + }, + "property": { + "type": "Identifier", + "start": 1945, + "end": 1955, + "loc": { + "start": { + "line": 61, + "column": 39 + }, + "end": { + "line": 61, + "column": 49 + }, + "identifierName": "formatTime" + }, + "name": "formatTime" + }, + "computed": false + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " user-supplied formatTime", + "start": 1878, + "end": 1905, + "loc": { + "start": { + "line": 60, + "column": 12 + }, + "end": { + "line": 60, + "column": 39 + } + } + } + ] + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 1973, + "end": 2173, + "loc": { + "start": { + "line": 62, + "column": 15 + }, + "end": { + "line": 67, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2030, + "end": 2163, + "loc": { + "start": { + "line": 64, + "column": 12 + }, + "end": { + "line": 66, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 2030, + "end": 2162, + "loc": { + "start": { + "line": 64, + "column": 12 + }, + "end": { + "line": 66, + "column": 14 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2030, + "end": 2048, + "loc": { + "start": { + "line": 64, + "column": 12 + }, + "end": { + "line": 64, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 2030, + "end": 2034, + "loc": { + "start": { + "line": 64, + "column": 12 + }, + "end": { + "line": 64, + "column": 16 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 2035, + "end": 2048, + "loc": { + "start": { + "line": 64, + "column": 17 + }, + "end": { + "line": 64, + "column": 30 + }, + "identifierName": "setFormatTime" + }, + "name": "setFormatTime" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 2049, + "end": 2161, + "loc": { + "start": { + "line": 64, + "column": 31 + }, + "end": { + "line": 66, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { "type": "Identifier", - "start": 1848, - "end": 1858, + "start": 2050, + "end": 2057, "loc": { "start": { - "line": 60, - "column": 19 + "line": 64, + "column": 32 }, "end": { - "line": 60, - "column": 29 + "line": 64, + "column": 39 }, - "identifierName": "formatTime" + "identifierName": "seconds" }, - "name": "formatTime" + "name": "seconds" }, - "arguments": [ - { - "type": "Identifier", - "start": 1859, - "end": 1866, - "loc": { - "start": { - "line": 60, - "column": 30 - }, - "end": { - "line": 60, - "column": 37 - }, - "identifierName": "seconds" + { + "type": "Identifier", + "start": 2059, + "end": 2064, + "loc": { + "start": { + "line": 64, + "column": 41 }, - "name": "seconds" - }, - { - "type": "Identifier", - "start": 1868, - "end": 1873, - "loc": { - "start": { - "line": 60, - "column": 39 - }, - "end": { - "line": 60, - "column": 44 - }, - "identifierName": "guide" + "end": { + "line": 64, + "column": 46 }, - "name": "guide" + "identifierName": "guide" }, + "name": "guide" + } + ], + "body": { + "type": "BlockStatement", + "start": 2069, + "end": 2161, + "loc": { + "start": { + "line": 64, + "column": 51 + }, + "end": { + "line": 66, + "column": 13 + } + }, + "body": [ { - "type": "MemberExpression", - "start": 1875, - "end": 1899, + "type": "ReturnStatement", + "start": 2087, + "end": 2147, "loc": { "start": { - "line": 60, - "column": 46 + "line": 65, + "column": 16 }, "end": { - "line": 60, - "column": 70 + "line": 65, + "column": 76 } }, - "object": { - "type": "ThisExpression", - "start": 1875, - "end": 1879, + "argument": { + "type": "CallExpression", + "start": 2094, + "end": 2146, "loc": { "start": { - "line": 60, - "column": 46 + "line": 65, + "column": 23 }, "end": { - "line": 60, - "column": 50 + "line": 65, + "column": 75 } - } - }, - "property": { - "type": "Identifier", - "start": 1880, - "end": 1899, - "loc": { - "start": { - "line": 60, - "column": 51 - }, - "end": { - "line": 60, - "column": 70 + }, + "callee": { + "type": "Identifier", + "start": 2094, + "end": 2104, + "loc": { + "start": { + "line": 65, + "column": 23 + }, + "end": { + "line": 65, + "column": 33 + }, + "identifierName": "formatTime" }, - "identifierName": "displayMilliseconds" + "name": "formatTime" }, - "name": "displayMilliseconds" - }, - "computed": false + "arguments": [ + { + "type": "Identifier", + "start": 2105, + "end": 2112, + "loc": { + "start": { + "line": 65, + "column": 34 + }, + "end": { + "line": 65, + "column": 41 + }, + "identifierName": "seconds" + }, + "name": "seconds" + }, + { + "type": "Identifier", + "start": 2114, + "end": 2119, + "loc": { + "start": { + "line": 65, + "column": 43 + }, + "end": { + "line": 65, + "column": 48 + }, + "identifierName": "guide" + }, + "name": "guide" + }, + { + "type": "MemberExpression", + "start": 2121, + "end": 2145, + "loc": { + "start": { + "line": 65, + "column": 50 + }, + "end": { + "line": 65, + "column": 74 + } + }, + "object": { + "type": "ThisExpression", + "start": 2121, + "end": 2125, + "loc": { + "start": { + "line": 65, + "column": 50 + }, + "end": { + "line": 65, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "start": 2126, + "end": 2145, + "loc": { + "start": { + "line": 65, + "column": 55 + }, + "end": { + "line": 65, + "column": 74 + }, + "identifierName": "displayMilliseconds" + }, + "name": "displayMilliseconds" + }, + "computed": false + } + ] + } } - ] + ], + "directives": [] } } ], - "directives": [] - } + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " plugin's default formatTime", + "start": 1987, + "end": 2017, + "loc": { + "start": { + "line": 63, + "column": 12 + }, + "end": { + "line": 63, + "column": 42 + } + } + } + ] } ], - "leadingComments": null + "directives": [], + "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", - "value": " use custom video.js time format", + "value": " use custom time format for video.js player", "start": 1742, - "end": 1776, + "end": 1787, "loc": { "start": { "line": 58, @@ -3084,7 +3478,7 @@ }, "end": { "line": 58, - "column": 42 + "column": 53 } } } @@ -3093,15 +3487,15 @@ { "type": "CommentLine", "value": " wait until player ui is ready", - "start": 1923, - "end": 1955, + "start": 2183, + "end": 2215, "loc": { "start": { - "line": 63, + "line": 69, "column": 8 }, "end": { - "line": 63, + "line": 69, "column": 40 } } @@ -3110,71 +3504,71 @@ }, { "type": "ExpressionStatement", - "start": 1964, - "end": 2021, + "start": 2224, + "end": 2281, "loc": { "start": { - "line": 64, + "line": 70, "column": 8 }, "end": { - "line": 64, + "line": 70, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 1964, - "end": 2020, + "start": 2224, + "end": 2280, "loc": { "start": { - "line": 64, + "line": 70, "column": 8 }, "end": { - "line": 64, + "line": 70, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 1964, - "end": 1979, + "start": 2224, + "end": 2239, "loc": { "start": { - "line": 64, + "line": 70, "column": 8 }, "end": { - "line": 64, + "line": 70, "column": 23 } }, "object": { "type": "MemberExpression", - "start": 1964, - "end": 1975, + "start": 2224, + "end": 2235, "loc": { "start": { - "line": 64, + "line": 70, "column": 8 }, "end": { - "line": 64, + "line": 70, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 1964, - "end": 1968, + "start": 2224, + "end": 2228, "loc": { "start": { - "line": 64, + "line": 70, "column": 8 }, "end": { - "line": 64, + "line": 70, "column": 12 } }, @@ -3182,15 +3576,15 @@ }, "property": { "type": "Identifier", - "start": 1969, - "end": 1975, + "start": 2229, + "end": 2235, "loc": { "start": { - "line": 64, + "line": 70, "column": 13 }, "end": { - "line": 64, + "line": 70, "column": 19 }, "identifierName": "player" @@ -3202,15 +3596,15 @@ }, "property": { "type": "Identifier", - "start": 1976, - "end": 1979, + "start": 2236, + "end": 2239, "loc": { "start": { - "line": 64, + "line": 70, "column": 20 }, "end": { - "line": 64, + "line": 70, "column": 23 }, "identifierName": "one" @@ -3223,29 +3617,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 1980, - "end": 1991, + "start": 2240, + "end": 2251, "loc": { "start": { - "line": 64, + "line": 70, "column": 24 }, "end": { - "line": 64, + "line": 70, "column": 35 } }, "object": { "type": "Identifier", - "start": 1980, - "end": 1985, + "start": 2240, + "end": 2245, "loc": { "start": { - "line": 64, + "line": 70, "column": 24 }, "end": { - "line": 64, + "line": 70, "column": 29 }, "identifierName": "Event" @@ -3254,15 +3648,15 @@ }, "property": { "type": "Identifier", - "start": 1986, - "end": 1991, + "start": 2246, + "end": 2251, "loc": { "start": { - "line": 64, + "line": 70, "column": 30 }, "end": { - "line": 64, + "line": 70, "column": 35 }, "identifierName": "READY" @@ -3273,72 +3667,72 @@ }, { "type": "CallExpression", - "start": 1993, - "end": 2019, + "start": 2253, + "end": 2279, "loc": { "start": { - "line": 64, + "line": 70, "column": 37 }, "end": { - "line": 64, + "line": 70, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 1993, - "end": 2013, + "start": 2253, + "end": 2273, "loc": { "start": { - "line": 64, + "line": 70, "column": 37 }, "end": { - "line": 64, + "line": 70, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 1993, - "end": 2008, + "start": 2253, + "end": 2268, "loc": { "start": { - "line": 64, + "line": 70, "column": 37 }, "end": { - "line": 64, + "line": 70, "column": 52 } }, "object": { "type": "ThisExpression", - "start": 1993, - "end": 1997, + "start": 2253, + "end": 2257, "loc": { "start": { - "line": 64, + "line": 70, "column": 37 }, "end": { - "line": 64, + "line": 70, "column": 41 } } }, "property": { "type": "Identifier", - "start": 1998, - "end": 2008, + "start": 2258, + "end": 2268, "loc": { "start": { - "line": 64, + "line": 70, "column": 42 }, "end": { - "line": 64, + "line": 70, "column": 52 }, "identifierName": "initialize" @@ -3349,15 +3743,15 @@ }, "property": { "type": "Identifier", - "start": 2009, - "end": 2013, + "start": 2269, + "end": 2273, "loc": { "start": { - "line": 64, + "line": 70, "column": 53 }, "end": { - "line": 64, + "line": 70, "column": 57 }, "identifierName": "bind" @@ -3369,15 +3763,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 2014, - "end": 2018, + "start": 2274, + "end": 2278, "loc": { "start": { - "line": 64, + "line": 70, "column": 58 }, "end": { - "line": 64, + "line": 70, "column": 62 } } @@ -3391,15 +3785,15 @@ { "type": "CommentLine", "value": " wait until player ui is ready", - "start": 1923, - "end": 1955, + "start": 2183, + "end": 2215, "loc": { "start": { - "line": 63, + "line": 69, "column": 8 }, "end": { - "line": 63, + "line": 69, "column": 40 } } @@ -3432,15 +3826,15 @@ { "type": "CommentBlock", "value": "*\n * Player UI is ready: customize controls.\n *\n * @private\n ", - "start": 2033, - "end": 2114, + "start": 2293, + "end": 2374, "loc": { "start": { - "line": 67, + "line": 73, "column": 4 }, "end": { - "line": 71, + "line": 77, "column": 7 } } @@ -3449,15 +3843,15 @@ }, { "type": "ClassMethod", - "start": 2119, - "end": 6783, + "start": 2379, + "end": 7043, "loc": { "start": { - "line": 72, + "line": 78, "column": 4 }, "end": { - "line": 181, + "line": 187, "column": 5 } }, @@ -3465,15 +3859,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2119, - "end": 2129, + "start": 2379, + "end": 2389, "loc": { "start": { - "line": 72, + "line": 78, "column": 4 }, "end": { - "line": 72, + "line": 78, "column": 14 }, "identifierName": "initialize" @@ -3489,86 +3883,86 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2132, - "end": 6783, + "start": 2392, + "end": 7043, "loc": { "start": { - "line": 72, + "line": 78, "column": 17 }, "end": { - "line": 181, + "line": 187, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 2174, - "end": 2276, + "start": 2434, + "end": 2536, "loc": { "start": { - "line": 74, + "line": 80, "column": 8 }, "end": { - "line": 76, + "line": 82, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 2178, - "end": 2217, + "start": 2438, + "end": 2477, "loc": { "start": { - "line": 74, + "line": 80, "column": 12 }, "end": { - "line": 74, + "line": 80, "column": 51 } }, "left": { "type": "MemberExpression", - "start": 2178, - "end": 2203, + "start": 2438, + "end": 2463, "loc": { "start": { - "line": 74, + "line": 80, "column": 12 }, "end": { - "line": 74, + "line": 80, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 2178, - "end": 2189, + "start": 2438, + "end": 2449, "loc": { "start": { - "line": 74, + "line": 80, "column": 12 }, "end": { - "line": 74, + "line": 80, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2178, - "end": 2182, + "start": 2438, + "end": 2442, "loc": { "start": { - "line": 74, + "line": 80, "column": 12 }, "end": { - "line": 74, + "line": 80, "column": 16 } }, @@ -3576,15 +3970,15 @@ }, "property": { "type": "Identifier", - "start": 2183, - "end": 2189, + "start": 2443, + "end": 2449, "loc": { "start": { - "line": 74, + "line": 80, "column": 17 }, "end": { - "line": 74, + "line": 80, "column": 23 }, "identifierName": "player" @@ -3596,15 +3990,15 @@ }, "property": { "type": "Identifier", - "start": 2190, - "end": 2203, + "start": 2450, + "end": 2463, "loc": { "start": { - "line": 74, + "line": 80, "column": 24 }, "end": { - "line": 74, + "line": 80, "column": 37 }, "identifierName": "bigPlayButton" @@ -3617,15 +4011,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 2208, - "end": 2217, + "start": 2468, + "end": 2477, "loc": { "start": { - "line": 74, + "line": 80, "column": 42 }, "end": { - "line": 74, + "line": 80, "column": 51 }, "identifierName": "undefined" @@ -3636,115 +4030,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 2219, - "end": 2276, + "start": 2479, + "end": 2536, "loc": { "start": { - "line": 74, + "line": 80, "column": 53 }, "end": { - "line": 76, + "line": 82, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 2233, - "end": 2266, + "start": 2493, + "end": 2526, "loc": { "start": { - "line": 75, + "line": 81, "column": 12 }, "end": { - "line": 75, + "line": 81, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 2233, - "end": 2265, + "start": 2493, + "end": 2525, "loc": { "start": { - "line": 75, + "line": 81, "column": 12 }, "end": { - "line": 75, + "line": 81, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 2233, - "end": 2263, + "start": 2493, + "end": 2523, "loc": { "start": { - "line": 75, + "line": 81, "column": 12 }, "end": { - "line": 75, + "line": 81, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 2233, - "end": 2258, + "start": 2493, + "end": 2518, "loc": { "start": { - "line": 75, + "line": 81, "column": 12 }, "end": { - "line": 75, + "line": 81, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 2233, - "end": 2244, + "start": 2493, + "end": 2504, "loc": { "start": { - "line": 75, + "line": 81, "column": 12 }, "end": { - "line": 75, + "line": 81, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2233, - "end": 2237, + "start": 2493, + "end": 2497, "loc": { "start": { - "line": 75, + "line": 81, "column": 12 }, "end": { - "line": 75, + "line": 81, "column": 16 } } }, "property": { "type": "Identifier", - "start": 2238, - "end": 2244, + "start": 2498, + "end": 2504, "loc": { "start": { - "line": 75, + "line": 81, "column": 17 }, "end": { - "line": 75, + "line": 81, "column": 23 }, "identifierName": "player" @@ -3755,15 +4149,15 @@ }, "property": { "type": "Identifier", - "start": 2245, - "end": 2258, + "start": 2505, + "end": 2518, "loc": { "start": { - "line": 75, + "line": 81, "column": 24 }, "end": { - "line": 75, + "line": 81, "column": 37 }, "identifierName": "bigPlayButton" @@ -3774,15 +4168,15 @@ }, "property": { "type": "Identifier", - "start": 2259, - "end": 2263, + "start": 2519, + "end": 2523, "loc": { "start": { - "line": 75, + "line": 81, "column": 38 }, "end": { - "line": 75, + "line": 81, "column": 42 }, "identifierName": "hide" @@ -3803,15 +4197,15 @@ { "type": "CommentLine", "value": " hide big play button", - "start": 2142, - "end": 2165, + "start": 2402, + "end": 2425, "loc": { "start": { - "line": 73, + "line": 79, "column": 8 }, "end": { - "line": 73, + "line": 79, "column": 31 } } @@ -3821,15 +4215,15 @@ { "type": "CommentLine", "value": " parse options", - "start": 2286, - "end": 2302, + "start": 2546, + "end": 2562, "loc": { "start": { - "line": 78, + "line": 84, "column": 8 }, "end": { - "line": 78, + "line": 84, "column": 24 } } @@ -3838,44 +4232,44 @@ }, { "type": "VariableDeclaration", - "start": 2311, - "end": 2390, + "start": 2571, + "end": 2650, "loc": { "start": { - "line": 79, + "line": 85, "column": 8 }, "end": { - "line": 79, + "line": 85, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2315, - "end": 2389, + "start": 2575, + "end": 2649, "loc": { "start": { - "line": 79, + "line": 85, "column": 12 }, "end": { - "line": 79, + "line": 85, "column": 86 } }, "id": { "type": "Identifier", - "start": 2315, - "end": 2328, + "start": 2575, + "end": 2588, "loc": { "start": { - "line": 79, + "line": 85, "column": 12 }, "end": { - "line": 79, + "line": 85, "column": 25 }, "identifierName": "mergedOptions" @@ -3885,58 +4279,58 @@ }, "init": { "type": "CallExpression", - "start": 2331, - "end": 2389, + "start": 2591, + "end": 2649, "loc": { "start": { - "line": 79, + "line": 85, "column": 28 }, "end": { - "line": 79, + "line": 85, "column": 86 } }, "callee": { "type": "MemberExpression", - "start": 2331, - "end": 2348, + "start": 2591, + "end": 2608, "loc": { "start": { - "line": 79, + "line": 85, "column": 28 }, "end": { - "line": 79, + "line": 85, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 2331, - "end": 2335, + "start": 2591, + "end": 2595, "loc": { "start": { - "line": 79, + "line": 85, "column": 28 }, "end": { - "line": 79, + "line": 85, "column": 32 } } }, "property": { "type": "Identifier", - "start": 2336, - "end": 2348, + "start": 2596, + "end": 2608, "loc": { "start": { - "line": 79, + "line": 85, "column": 33 }, "end": { - "line": 79, + "line": 85, "column": 45 }, "identifierName": "parseOptions" @@ -3948,86 +4342,86 @@ "arguments": [ { "type": "MemberExpression", - "start": 2349, - "end": 2388, + "start": 2609, + "end": 2648, "loc": { "start": { - "line": 79, + "line": 85, "column": 46 }, "end": { - "line": 79, + "line": 85, "column": 85 } }, "object": { "type": "MemberExpression", - "start": 2349, - "end": 2377, + "start": 2609, + "end": 2637, "loc": { "start": { - "line": 79, + "line": 85, "column": 46 }, "end": { - "line": 79, + "line": 85, "column": 74 } }, "object": { "type": "MemberExpression", - "start": 2349, - "end": 2369, + "start": 2609, + "end": 2629, "loc": { "start": { - "line": 79, + "line": 85, "column": 46 }, "end": { - "line": 79, + "line": 85, "column": 66 } }, "object": { "type": "MemberExpression", - "start": 2349, - "end": 2360, + "start": 2609, + "end": 2620, "loc": { "start": { - "line": 79, + "line": 85, "column": 46 }, "end": { - "line": 79, + "line": 85, "column": 57 } }, "object": { "type": "ThisExpression", - "start": 2349, - "end": 2353, + "start": 2609, + "end": 2613, "loc": { "start": { - "line": 79, + "line": 85, "column": 46 }, "end": { - "line": 79, + "line": 85, "column": 50 } } }, "property": { "type": "Identifier", - "start": 2354, - "end": 2360, + "start": 2614, + "end": 2620, "loc": { "start": { - "line": 79, + "line": 85, "column": 51 }, "end": { - "line": 79, + "line": 85, "column": 57 }, "identifierName": "player" @@ -4038,15 +4432,15 @@ }, "property": { "type": "Identifier", - "start": 2361, - "end": 2369, + "start": 2621, + "end": 2629, "loc": { "start": { - "line": 79, + "line": 85, "column": 58 }, "end": { - "line": 79, + "line": 85, "column": 66 }, "identifierName": "options_" @@ -4057,15 +4451,15 @@ }, "property": { "type": "Identifier", - "start": 2370, - "end": 2377, + "start": 2630, + "end": 2637, "loc": { "start": { - "line": 79, + "line": 85, "column": 67 }, "end": { - "line": 79, + "line": 85, "column": 74 }, "identifierName": "plugins" @@ -4076,15 +4470,15 @@ }, "property": { "type": "Identifier", - "start": 2378, - "end": 2388, + "start": 2638, + "end": 2648, "loc": { "start": { - "line": 79, + "line": 85, "column": 75 }, "end": { - "line": 79, + "line": 85, "column": 85 }, "identifierName": "wavesurfer" @@ -4103,15 +4497,15 @@ { "type": "CommentLine", "value": " parse options", - "start": 2286, - "end": 2302, + "start": 2546, + "end": 2562, "loc": { "start": { - "line": 78, + "line": 84, "column": 8 }, "end": { - "line": 78, + "line": 84, "column": 24 } } @@ -4121,15 +4515,15 @@ { "type": "CommentLine", "value": " controls", - "start": 2400, - "end": 2411, + "start": 2660, + "end": 2671, "loc": { "start": { - "line": 81, + "line": 87, "column": 8 }, "end": { - "line": 81, + "line": 87, "column": 19 } } @@ -4138,85 +4532,85 @@ }, { "type": "IfStatement", - "start": 2420, - "end": 4550, + "start": 2680, + "end": 4810, "loc": { "start": { - "line": 82, + "line": 88, "column": 8 }, "end": { - "line": 126, + "line": 132, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 2424, - "end": 2462, + "start": 2684, + "end": 2722, "loc": { "start": { - "line": 82, + "line": 88, "column": 12 }, "end": { - "line": 82, + "line": 88, "column": 50 } }, "left": { "type": "MemberExpression", - "start": 2424, - "end": 2453, + "start": 2684, + "end": 2713, "loc": { "start": { - "line": 82, + "line": 88, "column": 12 }, "end": { - "line": 82, + "line": 88, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 2424, - "end": 2444, + "start": 2684, + "end": 2704, "loc": { "start": { - "line": 82, + "line": 88, "column": 12 }, "end": { - "line": 82, + "line": 88, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 2424, - "end": 2435, + "start": 2684, + "end": 2695, "loc": { "start": { - "line": 82, + "line": 88, "column": 12 }, "end": { - "line": 82, + "line": 88, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2424, - "end": 2428, + "start": 2684, + "end": 2688, "loc": { "start": { - "line": 82, + "line": 88, "column": 12 }, "end": { - "line": 82, + "line": 88, "column": 16 } }, @@ -4224,15 +4618,15 @@ }, "property": { "type": "Identifier", - "start": 2429, - "end": 2435, + "start": 2689, + "end": 2695, "loc": { "start": { - "line": 82, + "line": 88, "column": 17 }, "end": { - "line": 82, + "line": 88, "column": 23 }, "identifierName": "player" @@ -4244,15 +4638,15 @@ }, "property": { "type": "Identifier", - "start": 2436, - "end": 2444, + "start": 2696, + "end": 2704, "loc": { "start": { - "line": 82, + "line": 88, "column": 24 }, "end": { - "line": 82, + "line": 88, "column": 32 }, "identifierName": "options_" @@ -4264,15 +4658,15 @@ }, "property": { "type": "Identifier", - "start": 2445, - "end": 2453, + "start": 2705, + "end": 2713, "loc": { "start": { - "line": 82, + "line": 88, "column": 33 }, "end": { - "line": 82, + "line": 88, "column": 41 }, "identifierName": "controls" @@ -4285,15 +4679,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 2458, - "end": 2462, + "start": 2718, + "end": 2722, "loc": { "start": { - "line": 82, + "line": 88, "column": 46 }, "end": { - "line": 82, + "line": 88, "column": 50 } }, @@ -4303,100 +4697,100 @@ }, "consequent": { "type": "BlockStatement", - "start": 2464, - "end": 4550, + "start": 2724, + "end": 4810, "loc": { "start": { - "line": 82, + "line": 88, "column": 52 }, "end": { - "line": 126, + "line": 132, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 2666, - "end": 2696, + "start": 2926, + "end": 2956, "loc": { "start": { - "line": 86, + "line": 92, "column": 12 }, "end": { - "line": 86, + "line": 92, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 2666, - "end": 2695, + "start": 2926, + "end": 2955, "loc": { "start": { - "line": 86, + "line": 92, "column": 12 }, "end": { - "line": 86, + "line": 92, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 2666, - "end": 2693, + "start": 2926, + "end": 2953, "loc": { "start": { - "line": 86, + "line": 92, "column": 12 }, "end": { - "line": 86, + "line": 92, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 2666, - "end": 2688, + "start": 2926, + "end": 2948, "loc": { "start": { - "line": 86, + "line": 92, "column": 12 }, "end": { - "line": 86, + "line": 92, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 2666, - "end": 2677, + "start": 2926, + "end": 2937, "loc": { "start": { - "line": 86, + "line": 92, "column": 12 }, "end": { - "line": 86, + "line": 92, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2666, - "end": 2670, + "start": 2926, + "end": 2930, "loc": { "start": { - "line": 86, + "line": 92, "column": 12 }, "end": { - "line": 86, + "line": 92, "column": 16 } }, @@ -4404,15 +4798,15 @@ }, "property": { "type": "Identifier", - "start": 2671, - "end": 2677, + "start": 2931, + "end": 2937, "loc": { "start": { - "line": 86, + "line": 92, "column": 17 }, "end": { - "line": 86, + "line": 92, "column": 23 }, "identifierName": "player" @@ -4424,15 +4818,15 @@ }, "property": { "type": "Identifier", - "start": 2678, - "end": 2688, + "start": 2938, + "end": 2948, "loc": { "start": { - "line": 86, + "line": 92, "column": 24 }, "end": { - "line": 86, + "line": 92, "column": 34 }, "identifierName": "controlBar" @@ -4444,15 +4838,15 @@ }, "property": { "type": "Identifier", - "start": 2689, - "end": 2693, + "start": 2949, + "end": 2953, "loc": { "start": { - "line": 86, + "line": 92, "column": 35 }, "end": { - "line": 86, + "line": 92, "column": 39 }, "identifierName": "show" @@ -4469,15 +4863,15 @@ { "type": "CommentLine", "value": " make sure controlBar is showing.", - "start": 2478, - "end": 2513, + "start": 2738, + "end": 2773, "loc": { "start": { - "line": 83, + "line": 89, "column": 12 }, "end": { - "line": 83, + "line": 89, "column": 47 } } @@ -4485,15 +4879,15 @@ { "type": "CommentLine", "value": " video.js hides the controlbar by default because it expects", - "start": 2526, - "end": 2588, + "start": 2786, + "end": 2848, "loc": { "start": { - "line": 84, + "line": 90, "column": 12 }, "end": { - "line": 84, + "line": 90, "column": 74 } } @@ -4501,15 +4895,15 @@ { "type": "CommentLine", "value": " the user to click on the 'big play button' first.", - "start": 2601, - "end": 2653, + "start": 2861, + "end": 2913, "loc": { "start": { - "line": 85, + "line": 91, "column": 12 }, "end": { - "line": 85, + "line": 91, "column": 64 } } @@ -4518,129 +4912,129 @@ }, { "type": "ExpressionStatement", - "start": 2709, - "end": 2759, + "start": 2969, + "end": 3019, "loc": { "start": { - "line": 87, + "line": 93, "column": 12 }, "end": { - "line": 87, + "line": 93, "column": 62 } }, "expression": { "type": "AssignmentExpression", - "start": 2709, - "end": 2758, + "start": 2969, + "end": 3018, "loc": { "start": { - "line": 87, + "line": 93, "column": 12 }, "end": { - "line": 87, + "line": 93, "column": 61 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2709, - "end": 2749, + "start": 2969, + "end": 3009, "loc": { "start": { - "line": 87, + "line": 93, "column": 12 }, "end": { - "line": 87, + "line": 93, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 2709, - "end": 2741, + "start": 2969, + "end": 3001, "loc": { "start": { - "line": 87, + "line": 93, "column": 12 }, "end": { - "line": 87, + "line": 93, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 2709, - "end": 2735, + "start": 2969, + "end": 2995, "loc": { "start": { - "line": 87, + "line": 93, "column": 12 }, "end": { - "line": 87, + "line": 93, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 2709, - "end": 2731, + "start": 2969, + "end": 2991, "loc": { "start": { - "line": 87, + "line": 93, "column": 12 }, "end": { - "line": 87, + "line": 93, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 2709, - "end": 2720, + "start": 2969, + "end": 2980, "loc": { "start": { - "line": 87, + "line": 93, "column": 12 }, "end": { - "line": 87, + "line": 93, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2709, - "end": 2713, + "start": 2969, + "end": 2973, "loc": { "start": { - "line": 87, + "line": 93, "column": 12 }, "end": { - "line": 87, + "line": 93, "column": 16 } } }, "property": { "type": "Identifier", - "start": 2714, - "end": 2720, + "start": 2974, + "end": 2980, "loc": { "start": { - "line": 87, + "line": 93, "column": 17 }, "end": { - "line": 87, + "line": 93, "column": 23 }, "identifierName": "player" @@ -4651,15 +5045,15 @@ }, "property": { "type": "Identifier", - "start": 2721, - "end": 2731, + "start": 2981, + "end": 2991, "loc": { "start": { - "line": 87, + "line": 93, "column": 24 }, "end": { - "line": 87, + "line": 93, "column": 34 }, "identifierName": "controlBar" @@ -4670,15 +5064,15 @@ }, "property": { "type": "Identifier", - "start": 2732, - "end": 2735, + "start": 2992, + "end": 2995, "loc": { "start": { - "line": 87, + "line": 93, "column": 35 }, "end": { - "line": 87, + "line": 93, "column": 38 }, "identifierName": "el_" @@ -4689,15 +5083,15 @@ }, "property": { "type": "Identifier", - "start": 2736, - "end": 2741, + "start": 2996, + "end": 3001, "loc": { "start": { - "line": 87, + "line": 93, "column": 39 }, "end": { - "line": 87, + "line": 93, "column": 44 }, "identifierName": "style" @@ -4708,15 +5102,15 @@ }, "property": { "type": "Identifier", - "start": 2742, - "end": 2749, + "start": 3002, + "end": 3009, "loc": { "start": { - "line": 87, + "line": 93, "column": 45 }, "end": { - "line": 87, + "line": 93, "column": 52 }, "identifierName": "display" @@ -4727,15 +5121,15 @@ }, "right": { "type": "StringLiteral", - "start": 2752, - "end": 2758, + "start": 3012, + "end": 3018, "loc": { "start": { - "line": 87, + "line": 93, "column": 55 }, "end": { - "line": 87, + "line": 93, "column": 61 } }, @@ -4750,15 +5144,15 @@ { "type": "CommentLine", "value": " progress control is only supported with the MediaElement backend", - "start": 2773, - "end": 2840, + "start": 3033, + "end": 3100, "loc": { "start": { - "line": 89, + "line": 95, "column": 12 }, "end": { - "line": 89, + "line": 95, "column": 79 } } @@ -4767,71 +5161,71 @@ }, { "type": "IfStatement", - "start": 2853, - "end": 3034, + "start": 3113, + "end": 3294, "loc": { "start": { - "line": 90, + "line": 96, "column": 12 }, "end": { - "line": 93, + "line": 99, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 2857, - "end": 2954, + "start": 3117, + "end": 3214, "loc": { "start": { - "line": 90, + "line": 96, "column": 16 }, "end": { - "line": 91, + "line": 97, "column": 68 } }, "left": { "type": "BinaryExpression", - "start": 2857, - "end": 2882, + "start": 3117, + "end": 3142, "loc": { "start": { - "line": 90, + "line": 96, "column": 16 }, "end": { - "line": 90, + "line": 96, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 2857, - "end": 2869, + "start": 3117, + "end": 3129, "loc": { "start": { - "line": 90, + "line": 96, "column": 16 }, "end": { - "line": 90, + "line": 96, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 2857, - "end": 2861, + "start": 3117, + "end": 3121, "loc": { "start": { - "line": 90, + "line": 96, "column": 16 }, "end": { - "line": 90, + "line": 96, "column": 20 } }, @@ -4839,15 +5233,15 @@ }, "property": { "type": "Identifier", - "start": 2862, - "end": 2869, + "start": 3122, + "end": 3129, "loc": { "start": { - "line": 90, + "line": 96, "column": 21 }, "end": { - "line": 90, + "line": 96, "column": 28 }, "identifierName": "backend" @@ -4860,15 +5254,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2874, - "end": 2882, + "start": 3134, + "end": 3142, "loc": { "start": { - "line": 90, + "line": 96, "column": 33 }, "end": { - "line": 90, + "line": 96, "column": 41 }, "identifierName": "WEBAUDIO" @@ -4880,86 +5274,86 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 2902, - "end": 2954, + "start": 3162, + "end": 3214, "loc": { "start": { - "line": 91, + "line": 97, "column": 16 }, "end": { - "line": 91, + "line": 97, "column": 68 } }, "left": { "type": "MemberExpression", - "start": 2902, - "end": 2940, + "start": 3162, + "end": 3200, "loc": { "start": { - "line": 91, + "line": 97, "column": 16 }, "end": { - "line": 91, + "line": 97, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 2902, - "end": 2924, + "start": 3162, + "end": 3184, "loc": { "start": { - "line": 91, + "line": 97, "column": 16 }, "end": { - "line": 91, + "line": 97, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 2902, - "end": 2913, + "start": 3162, + "end": 3173, "loc": { "start": { - "line": 91, + "line": 97, "column": 16 }, "end": { - "line": 91, + "line": 97, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 2902, - "end": 2906, + "start": 3162, + "end": 3166, "loc": { "start": { - "line": 91, + "line": 97, "column": 16 }, "end": { - "line": 91, + "line": 97, "column": 20 } } }, "property": { "type": "Identifier", - "start": 2907, - "end": 2913, + "start": 3167, + "end": 3173, "loc": { "start": { - "line": 91, + "line": 97, "column": 21 }, "end": { - "line": 91, + "line": 97, "column": 27 }, "identifierName": "player" @@ -4970,15 +5364,15 @@ }, "property": { "type": "Identifier", - "start": 2914, - "end": 2924, + "start": 3174, + "end": 3184, "loc": { "start": { - "line": 91, + "line": 97, "column": 28 }, "end": { - "line": 91, + "line": 97, "column": 38 }, "identifierName": "controlBar" @@ -4989,15 +5383,15 @@ }, "property": { "type": "Identifier", - "start": 2925, - "end": 2940, + "start": 3185, + "end": 3200, "loc": { "start": { - "line": 91, + "line": 97, "column": 39 }, "end": { - "line": 91, + "line": 97, "column": 54 }, "identifierName": "progressControl" @@ -5009,15 +5403,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 2945, - "end": 2954, + "start": 3205, + "end": 3214, "loc": { "start": { - "line": 91, + "line": 97, "column": 59 }, "end": { - "line": 91, + "line": 97, "column": 68 }, "identifierName": "undefined" @@ -5029,129 +5423,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 2956, - "end": 3034, + "start": 3216, + "end": 3294, "loc": { "start": { - "line": 91, + "line": 97, "column": 70 }, "end": { - "line": 93, + "line": 99, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 2974, - "end": 3020, + "start": 3234, + "end": 3280, "loc": { "start": { - "line": 92, + "line": 98, "column": 16 }, "end": { - "line": 92, + "line": 98, "column": 62 } }, "expression": { "type": "CallExpression", - "start": 2974, - "end": 3019, + "start": 3234, + "end": 3279, "loc": { "start": { - "line": 92, + "line": 98, "column": 16 }, "end": { - "line": 92, + "line": 98, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 2974, - "end": 3017, + "start": 3234, + "end": 3277, "loc": { "start": { - "line": 92, + "line": 98, "column": 16 }, "end": { - "line": 92, + "line": 98, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 2974, - "end": 3012, + "start": 3234, + "end": 3272, "loc": { "start": { - "line": 92, + "line": 98, "column": 16 }, "end": { - "line": 92, + "line": 98, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 2974, - "end": 2996, + "start": 3234, + "end": 3256, "loc": { "start": { - "line": 92, + "line": 98, "column": 16 }, "end": { - "line": 92, + "line": 98, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 2974, - "end": 2985, + "start": 3234, + "end": 3245, "loc": { "start": { - "line": 92, + "line": 98, "column": 16 }, "end": { - "line": 92, + "line": 98, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 2974, - "end": 2978, + "start": 3234, + "end": 3238, "loc": { "start": { - "line": 92, + "line": 98, "column": 16 }, "end": { - "line": 92, + "line": 98, "column": 20 } } }, "property": { "type": "Identifier", - "start": 2979, - "end": 2985, + "start": 3239, + "end": 3245, "loc": { "start": { - "line": 92, + "line": 98, "column": 21 }, "end": { - "line": 92, + "line": 98, "column": 27 }, "identifierName": "player" @@ -5162,15 +5556,15 @@ }, "property": { "type": "Identifier", - "start": 2986, - "end": 2996, + "start": 3246, + "end": 3256, "loc": { "start": { - "line": 92, + "line": 98, "column": 28 }, "end": { - "line": 92, + "line": 98, "column": 38 }, "identifierName": "controlBar" @@ -5181,15 +5575,15 @@ }, "property": { "type": "Identifier", - "start": 2997, - "end": 3012, + "start": 3257, + "end": 3272, "loc": { "start": { - "line": 92, + "line": 98, "column": 39 }, "end": { - "line": 92, + "line": 98, "column": 54 }, "identifierName": "progressControl" @@ -5200,15 +5594,15 @@ }, "property": { "type": "Identifier", - "start": 3013, - "end": 3017, + "start": 3273, + "end": 3277, "loc": { "start": { - "line": 92, + "line": 98, "column": 55 }, "end": { - "line": 92, + "line": 98, "column": 59 }, "identifierName": "hide" @@ -5229,15 +5623,15 @@ { "type": "CommentLine", "value": " progress control is only supported with the MediaElement backend", - "start": 2773, - "end": 2840, + "start": 3033, + "end": 3100, "loc": { "start": { - "line": 89, + "line": 95, "column": 12 }, "end": { - "line": 89, + "line": 95, "column": 79 } } @@ -5247,15 +5641,15 @@ { "type": "CommentLine", "value": " disable Picture-In-Picture toggle introduced in video.js 7.6.0", - "start": 3048, - "end": 3113, + "start": 3308, + "end": 3373, "loc": { "start": { - "line": 95, + "line": 101, "column": 12 }, "end": { - "line": 95, + "line": 101, "column": 77 } } @@ -5263,15 +5657,15 @@ { "type": "CommentLine", "value": " until there is support for canvas in the Picture-In-Picture", - "start": 3126, - "end": 3188, + "start": 3386, + "end": 3448, "loc": { "start": { - "line": 96, + "line": 102, "column": 12 }, "end": { - "line": 96, + "line": 102, "column": 74 } } @@ -5279,15 +5673,15 @@ { "type": "CommentLine", "value": " browser API (see https://www.chromestatus.com/features/4844605453369344)", - "start": 3201, - "end": 3276, + "start": 3461, + "end": 3536, "loc": { "start": { - "line": 97, + "line": 103, "column": 12 }, "end": { - "line": 97, + "line": 103, "column": 87 } } @@ -5296,85 +5690,85 @@ }, { "type": "IfStatement", - "start": 3289, - "end": 3439, + "start": 3549, + "end": 3699, "loc": { "start": { - "line": 98, + "line": 104, "column": 12 }, "end": { - "line": 100, + "line": 106, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 3293, - "end": 3352, + "start": 3553, + "end": 3612, "loc": { "start": { - "line": 98, + "line": 104, "column": 16 }, "end": { - "line": 98, + "line": 104, "column": 75 } }, "left": { "type": "MemberExpression", - "start": 3293, - "end": 3338, + "start": 3553, + "end": 3598, "loc": { "start": { - "line": 98, + "line": 104, "column": 16 }, "end": { - "line": 98, + "line": 104, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 3293, - "end": 3315, + "start": 3553, + "end": 3575, "loc": { "start": { - "line": 98, + "line": 104, "column": 16 }, "end": { - "line": 98, + "line": 104, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 3293, - "end": 3304, + "start": 3553, + "end": 3564, "loc": { "start": { - "line": 98, + "line": 104, "column": 16 }, "end": { - "line": 98, + "line": 104, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 3293, - "end": 3297, + "start": 3553, + "end": 3557, "loc": { "start": { - "line": 98, + "line": 104, "column": 16 }, "end": { - "line": 98, + "line": 104, "column": 20 } }, @@ -5382,15 +5776,15 @@ }, "property": { "type": "Identifier", - "start": 3298, - "end": 3304, + "start": 3558, + "end": 3564, "loc": { "start": { - "line": 98, + "line": 104, "column": 21 }, "end": { - "line": 98, + "line": 104, "column": 27 }, "identifierName": "player" @@ -5402,15 +5796,15 @@ }, "property": { "type": "Identifier", - "start": 3305, - "end": 3315, + "start": 3565, + "end": 3575, "loc": { "start": { - "line": 98, + "line": 104, "column": 28 }, "end": { - "line": 98, + "line": 104, "column": 38 }, "identifierName": "controlBar" @@ -5422,15 +5816,15 @@ }, "property": { "type": "Identifier", - "start": 3316, - "end": 3338, + "start": 3576, + "end": 3598, "loc": { "start": { - "line": 98, + "line": 104, "column": 39 }, "end": { - "line": 98, + "line": 104, "column": 61 }, "identifierName": "pictureInPictureToggle" @@ -5443,15 +5837,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 3343, - "end": 3352, + "start": 3603, + "end": 3612, "loc": { "start": { - "line": 98, + "line": 104, "column": 66 }, "end": { - "line": 98, + "line": 104, "column": 75 }, "identifierName": "undefined" @@ -5462,129 +5856,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 3354, - "end": 3439, + "start": 3614, + "end": 3699, "loc": { "start": { - "line": 98, + "line": 104, "column": 77 }, "end": { - "line": 100, + "line": 106, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 3372, - "end": 3425, + "start": 3632, + "end": 3685, "loc": { "start": { - "line": 99, + "line": 105, "column": 16 }, "end": { - "line": 99, + "line": 105, "column": 69 } }, "expression": { "type": "CallExpression", - "start": 3372, - "end": 3424, + "start": 3632, + "end": 3684, "loc": { "start": { - "line": 99, + "line": 105, "column": 16 }, "end": { - "line": 99, + "line": 105, "column": 68 } }, "callee": { "type": "MemberExpression", - "start": 3372, - "end": 3422, + "start": 3632, + "end": 3682, "loc": { "start": { - "line": 99, + "line": 105, "column": 16 }, "end": { - "line": 99, + "line": 105, "column": 66 } }, "object": { "type": "MemberExpression", - "start": 3372, - "end": 3417, + "start": 3632, + "end": 3677, "loc": { "start": { - "line": 99, + "line": 105, "column": 16 }, "end": { - "line": 99, + "line": 105, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 3372, - "end": 3394, + "start": 3632, + "end": 3654, "loc": { "start": { - "line": 99, + "line": 105, "column": 16 }, "end": { - "line": 99, + "line": 105, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 3372, - "end": 3383, + "start": 3632, + "end": 3643, "loc": { "start": { - "line": 99, + "line": 105, "column": 16 }, "end": { - "line": 99, + "line": 105, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 3372, - "end": 3376, + "start": 3632, + "end": 3636, "loc": { "start": { - "line": 99, + "line": 105, "column": 16 }, "end": { - "line": 99, + "line": 105, "column": 20 } } }, "property": { "type": "Identifier", - "start": 3377, - "end": 3383, + "start": 3637, + "end": 3643, "loc": { "start": { - "line": 99, + "line": 105, "column": 21 }, "end": { - "line": 99, + "line": 105, "column": 27 }, "identifierName": "player" @@ -5595,15 +5989,15 @@ }, "property": { "type": "Identifier", - "start": 3384, - "end": 3394, + "start": 3644, + "end": 3654, "loc": { "start": { - "line": 99, + "line": 105, "column": 28 }, "end": { - "line": 99, + "line": 105, "column": 38 }, "identifierName": "controlBar" @@ -5614,15 +6008,15 @@ }, "property": { "type": "Identifier", - "start": 3395, - "end": 3417, + "start": 3655, + "end": 3677, "loc": { "start": { - "line": 99, + "line": 105, "column": 39 }, "end": { - "line": 99, + "line": 105, "column": 61 }, "identifierName": "pictureInPictureToggle" @@ -5633,15 +6027,15 @@ }, "property": { "type": "Identifier", - "start": 3418, - "end": 3422, + "start": 3678, + "end": 3682, "loc": { "start": { - "line": 99, + "line": 105, "column": 62 }, "end": { - "line": 99, + "line": 105, "column": 66 }, "identifierName": "hide" @@ -5662,15 +6056,15 @@ { "type": "CommentLine", "value": " disable Picture-In-Picture toggle introduced in video.js 7.6.0", - "start": 3048, - "end": 3113, + "start": 3308, + "end": 3373, "loc": { "start": { - "line": 95, + "line": 101, "column": 12 }, "end": { - "line": 95, + "line": 101, "column": 77 } } @@ -5678,15 +6072,15 @@ { "type": "CommentLine", "value": " until there is support for canvas in the Picture-In-Picture", - "start": 3126, - "end": 3188, + "start": 3386, + "end": 3448, "loc": { "start": { - "line": 96, + "line": 102, "column": 12 }, "end": { - "line": 96, + "line": 102, "column": 74 } } @@ -5694,15 +6088,15 @@ { "type": "CommentLine", "value": " browser API (see https://www.chromestatus.com/features/4844605453369344)", - "start": 3201, - "end": 3276, + "start": 3461, + "end": 3536, "loc": { "start": { - "line": 97, + "line": 103, "column": 12 }, "end": { - "line": 97, + "line": 103, "column": 87 } } @@ -5712,15 +6106,15 @@ { "type": "CommentLine", "value": " make sure time displays are visible", - "start": 3453, - "end": 3491, + "start": 3713, + "end": 3751, "loc": { "start": { - "line": 102, + "line": 108, "column": 12 }, "end": { - "line": 102, + "line": 108, "column": 50 } } @@ -5729,44 +6123,44 @@ }, { "type": "VariableDeclaration", - "start": 3504, - "end": 3578, + "start": 3764, + "end": 3838, "loc": { "start": { - "line": 103, + "line": 109, "column": 12 }, "end": { - "line": 103, + "line": 109, "column": 86 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3508, - "end": 3577, + "start": 3768, + "end": 3837, "loc": { "start": { - "line": 103, + "line": 109, "column": 16 }, "end": { - "line": 103, + "line": 109, "column": 85 } }, "id": { "type": "Identifier", - "start": 3508, - "end": 3518, + "start": 3768, + "end": 3778, "loc": { "start": { - "line": 103, + "line": 109, "column": 16 }, "end": { - "line": 103, + "line": 109, "column": 26 }, "identifierName": "uiElements" @@ -5776,30 +6170,30 @@ }, "init": { "type": "ArrayExpression", - "start": 3521, - "end": 3577, + "start": 3781, + "end": 3837, "loc": { "start": { - "line": 103, + "line": 109, "column": 29 }, "end": { - "line": 103, + "line": 109, "column": 85 } }, "elements": [ { "type": "StringLiteral", - "start": 3522, - "end": 3542, + "start": 3782, + "end": 3802, "loc": { "start": { - "line": 103, + "line": 109, "column": 30 }, "end": { - "line": 103, + "line": 109, "column": 50 } }, @@ -5811,15 +6205,15 @@ }, { "type": "StringLiteral", - "start": 3544, - "end": 3557, + "start": 3804, + "end": 3817, "loc": { "start": { - "line": 103, + "line": 109, "column": 52 }, "end": { - "line": 103, + "line": 109, "column": 65 } }, @@ -5831,15 +6225,15 @@ }, { "type": "StringLiteral", - "start": 3559, - "end": 3576, + "start": 3819, + "end": 3836, "loc": { "start": { - "line": 103, + "line": 109, "column": 67 }, "end": { - "line": 103, + "line": 109, "column": 84 } }, @@ -5859,15 +6253,15 @@ { "type": "CommentLine", "value": " make sure time displays are visible", - "start": 3453, - "end": 3491, + "start": 3713, + "end": 3751, "loc": { "start": { - "line": 102, + "line": 108, "column": 12 }, "end": { - "line": 102, + "line": 108, "column": 50 } } @@ -5876,57 +6270,57 @@ }, { "type": "ExpressionStatement", - "start": 3591, - "end": 3960, + "start": 3851, + "end": 4220, "loc": { "start": { - "line": 104, + "line": 110, "column": 12 }, "end": { - "line": 112, + "line": 118, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 3591, - "end": 3959, + "start": 3851, + "end": 4219, "loc": { "start": { - "line": 104, + "line": 110, "column": 12 }, "end": { - "line": 112, + "line": 118, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 3591, - "end": 3609, + "start": 3851, + "end": 3869, "loc": { "start": { - "line": 104, + "line": 110, "column": 12 }, "end": { - "line": 104, + "line": 110, "column": 30 } }, "object": { "type": "Identifier", - "start": 3591, - "end": 3601, + "start": 3851, + "end": 3861, "loc": { "start": { - "line": 104, + "line": 110, "column": 12 }, "end": { - "line": 104, + "line": 110, "column": 22 }, "identifierName": "uiElements" @@ -5935,15 +6329,15 @@ }, "property": { "type": "Identifier", - "start": 3602, - "end": 3609, + "start": 3862, + "end": 3869, "loc": { "start": { - "line": 104, + "line": 110, "column": 23 }, "end": { - "line": 104, + "line": 110, "column": 30 }, "identifierName": "forEach" @@ -5955,15 +6349,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 3610, - "end": 3958, + "start": 3870, + "end": 4218, "loc": { "start": { - "line": 104, + "line": 110, "column": 31 }, "end": { - "line": 112, + "line": 118, "column": 13 } }, @@ -5974,15 +6368,15 @@ "params": [ { "type": "Identifier", - "start": 3611, - "end": 3618, + "start": 3871, + "end": 3878, "loc": { "start": { - "line": 104, + "line": 110, "column": 32 }, "end": { - "line": 104, + "line": 110, "column": 39 }, "identifierName": "element" @@ -5992,59 +6386,59 @@ ], "body": { "type": "BlockStatement", - "start": 3623, - "end": 3958, + "start": 3883, + "end": 4218, "loc": { "start": { - "line": 104, + "line": 110, "column": 44 }, "end": { - "line": 112, + "line": 118, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 3746, - "end": 3788, + "start": 4006, + "end": 4048, "loc": { "start": { - "line": 107, + "line": 113, "column": 16 }, "end": { - "line": 107, + "line": 113, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 3746, - "end": 3787, + "start": 4006, + "end": 4047, "loc": { "start": { - "line": 107, + "line": 113, "column": 16 }, "end": { - "line": 107, + "line": 113, "column": 57 } }, "operator": "=", "left": { "type": "Identifier", - "start": 3746, - "end": 3753, + "start": 4006, + "end": 4013, "loc": { "start": { - "line": 107, + "line": 113, "column": 16 }, "end": { - "line": 107, + "line": 113, "column": 23 }, "identifierName": "element" @@ -6054,72 +6448,72 @@ }, "right": { "type": "MemberExpression", - "start": 3756, - "end": 3787, + "start": 4016, + "end": 4047, "loc": { "start": { - "line": 107, + "line": 113, "column": 26 }, "end": { - "line": 107, + "line": 113, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 3756, - "end": 3778, + "start": 4016, + "end": 4038, "loc": { "start": { - "line": 107, + "line": 113, "column": 26 }, "end": { - "line": 107, + "line": 113, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 3756, - "end": 3767, + "start": 4016, + "end": 4027, "loc": { "start": { - "line": 107, + "line": 113, "column": 26 }, "end": { - "line": 107, + "line": 113, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 3756, - "end": 3760, + "start": 4016, + "end": 4020, "loc": { "start": { - "line": 107, + "line": 113, "column": 26 }, "end": { - "line": 107, + "line": 113, "column": 30 } } }, "property": { "type": "Identifier", - "start": 3761, - "end": 3767, + "start": 4021, + "end": 4027, "loc": { "start": { - "line": 107, + "line": 113, "column": 31 }, "end": { - "line": 107, + "line": 113, "column": 37 }, "identifierName": "player" @@ -6130,15 +6524,15 @@ }, "property": { "type": "Identifier", - "start": 3768, - "end": 3778, + "start": 4028, + "end": 4038, "loc": { "start": { - "line": 107, + "line": 113, "column": 38 }, "end": { - "line": 107, + "line": 113, "column": 48 }, "identifierName": "controlBar" @@ -6149,15 +6543,15 @@ }, "property": { "type": "Identifier", - "start": 3779, - "end": 3786, + "start": 4039, + "end": 4046, "loc": { "start": { - "line": 107, + "line": 113, "column": 49 }, "end": { - "line": 107, + "line": 113, "column": 56 }, "identifierName": "element" @@ -6172,15 +6566,15 @@ { "type": "CommentLine", "value": " ignore and show when essential elements have been disabled", - "start": 3641, - "end": 3702, + "start": 3901, + "end": 3962, "loc": { "start": { - "line": 105, + "line": 111, "column": 16 }, "end": { - "line": 105, + "line": 111, "column": 77 } } @@ -6188,15 +6582,15 @@ { "type": "CommentLine", "value": " by user", - "start": 3719, - "end": 3729, + "start": 3979, + "end": 3989, "loc": { "start": { - "line": 106, + "line": 112, "column": 16 }, "end": { - "line": 106, + "line": 112, "column": 26 } } @@ -6205,43 +6599,43 @@ }, { "type": "IfStatement", - "start": 3805, - "end": 3944, + "start": 4065, + "end": 4204, "loc": { "start": { - "line": 108, + "line": 114, "column": 16 }, "end": { - "line": 111, + "line": 117, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 3809, - "end": 3830, + "start": 4069, + "end": 4090, "loc": { "start": { - "line": 108, + "line": 114, "column": 20 }, "end": { - "line": 108, + "line": 114, "column": 41 } }, "left": { "type": "Identifier", - "start": 3809, - "end": 3816, + "start": 4069, + "end": 4076, "loc": { "start": { - "line": 108, + "line": 114, "column": 20 }, "end": { - "line": 108, + "line": 114, "column": 27 }, "identifierName": "element" @@ -6251,15 +6645,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 3821, - "end": 3830, + "start": 4081, + "end": 4090, "loc": { "start": { - "line": 108, + "line": 114, "column": 32 }, "end": { - "line": 108, + "line": 114, "column": 41 }, "identifierName": "undefined" @@ -6269,101 +6663,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 3832, - "end": 3944, + "start": 4092, + "end": 4204, "loc": { "start": { - "line": 108, + "line": 114, "column": 43 }, "end": { - "line": 111, + "line": 117, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 3854, - "end": 3890, + "start": 4114, + "end": 4150, "loc": { "start": { - "line": 109, + "line": 115, "column": 20 }, "end": { - "line": 109, + "line": 115, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 3854, - "end": 3889, + "start": 4114, + "end": 4149, "loc": { "start": { - "line": 109, + "line": 115, "column": 20 }, "end": { - "line": 109, + "line": 115, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3854, - "end": 3879, + "start": 4114, + "end": 4139, "loc": { "start": { - "line": 109, + "line": 115, "column": 20 }, "end": { - "line": 109, + "line": 115, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 3854, - "end": 3871, + "start": 4114, + "end": 4131, "loc": { "start": { - "line": 109, + "line": 115, "column": 20 }, "end": { - "line": 109, + "line": 115, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 3854, - "end": 3865, + "start": 4114, + "end": 4125, "loc": { "start": { - "line": 109, + "line": 115, "column": 20 }, "end": { - "line": 109, + "line": 115, "column": 31 } }, "object": { "type": "Identifier", - "start": 3854, - "end": 3861, + "start": 4114, + "end": 4121, "loc": { "start": { - "line": 109, + "line": 115, "column": 20 }, "end": { - "line": 109, + "line": 115, "column": 27 }, "identifierName": "element" @@ -6372,15 +6766,15 @@ }, "property": { "type": "Identifier", - "start": 3862, - "end": 3865, + "start": 4122, + "end": 4125, "loc": { "start": { - "line": 109, + "line": 115, "column": 28 }, "end": { - "line": 109, + "line": 115, "column": 31 }, "identifierName": "el_" @@ -6391,15 +6785,15 @@ }, "property": { "type": "Identifier", - "start": 3866, - "end": 3871, + "start": 4126, + "end": 4131, "loc": { "start": { - "line": 109, + "line": 115, "column": 32 }, "end": { - "line": 109, + "line": 115, "column": 37 }, "identifierName": "style" @@ -6410,15 +6804,15 @@ }, "property": { "type": "Identifier", - "start": 3872, - "end": 3879, + "start": 4132, + "end": 4139, "loc": { "start": { - "line": 109, + "line": 115, "column": 38 }, "end": { - "line": 109, + "line": 115, "column": 45 }, "identifierName": "display" @@ -6429,15 +6823,15 @@ }, "right": { "type": "StringLiteral", - "start": 3882, - "end": 3889, + "start": 4142, + "end": 4149, "loc": { "start": { - "line": 109, + "line": 115, "column": 48 }, "end": { - "line": 109, + "line": 115, "column": 55 } }, @@ -6451,57 +6845,57 @@ }, { "type": "ExpressionStatement", - "start": 3911, - "end": 3926, + "start": 4171, + "end": 4186, "loc": { "start": { - "line": 110, + "line": 116, "column": 20 }, "end": { - "line": 110, + "line": 116, "column": 35 } }, "expression": { "type": "CallExpression", - "start": 3911, - "end": 3925, + "start": 4171, + "end": 4185, "loc": { "start": { - "line": 110, + "line": 116, "column": 20 }, "end": { - "line": 110, + "line": 116, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 3911, - "end": 3923, + "start": 4171, + "end": 4183, "loc": { "start": { - "line": 110, + "line": 116, "column": 20 }, "end": { - "line": 110, + "line": 116, "column": 32 } }, "object": { "type": "Identifier", - "start": 3911, - "end": 3918, + "start": 4171, + "end": 4178, "loc": { "start": { - "line": 110, + "line": 116, "column": 20 }, "end": { - "line": 110, + "line": 116, "column": 27 }, "identifierName": "element" @@ -6510,15 +6904,15 @@ }, "property": { "type": "Identifier", - "start": 3919, - "end": 3923, + "start": 4179, + "end": 4183, "loc": { "start": { - "line": 110, + "line": 116, "column": 28 }, "end": { - "line": 110, + "line": 116, "column": 32 }, "identifierName": "show" @@ -6544,100 +6938,100 @@ }, { "type": "IfStatement", - "start": 3973, - "end": 4119, + "start": 4233, + "end": 4379, "loc": { "start": { - "line": 113, + "line": 119, "column": 12 }, "end": { - "line": 115, + "line": 121, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 3977, - "end": 4034, + "start": 4237, + "end": 4294, "loc": { "start": { - "line": 113, + "line": 119, "column": 16 }, "end": { - "line": 113, + "line": 119, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 3977, - "end": 4020, + "start": 4237, + "end": 4280, "loc": { "start": { - "line": 113, + "line": 119, "column": 16 }, "end": { - "line": 113, + "line": 119, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 3977, - "end": 3999, + "start": 4237, + "end": 4259, "loc": { "start": { - "line": 113, + "line": 119, "column": 16 }, "end": { - "line": 113, + "line": 119, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 3977, - "end": 3988, + "start": 4237, + "end": 4248, "loc": { "start": { - "line": 113, + "line": 119, "column": 16 }, "end": { - "line": 113, + "line": 119, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 3977, - "end": 3981, + "start": 4237, + "end": 4241, "loc": { "start": { - "line": 113, + "line": 119, "column": 16 }, "end": { - "line": 113, + "line": 119, "column": 20 } } }, "property": { "type": "Identifier", - "start": 3982, - "end": 3988, + "start": 4242, + "end": 4248, "loc": { "start": { - "line": 113, + "line": 119, "column": 21 }, "end": { - "line": 113, + "line": 119, "column": 27 }, "identifierName": "player" @@ -6648,15 +7042,15 @@ }, "property": { "type": "Identifier", - "start": 3989, - "end": 3999, + "start": 4249, + "end": 4259, "loc": { "start": { - "line": 113, + "line": 119, "column": 28 }, "end": { - "line": 113, + "line": 119, "column": 38 }, "identifierName": "controlBar" @@ -6667,15 +7061,15 @@ }, "property": { "type": "Identifier", - "start": 4000, - "end": 4020, + "start": 4260, + "end": 4280, "loc": { "start": { - "line": 113, + "line": 119, "column": 39 }, "end": { - "line": 113, + "line": 119, "column": 59 }, "identifierName": "remainingTimeDisplay" @@ -6687,15 +7081,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 4025, - "end": 4034, + "start": 4285, + "end": 4294, "loc": { "start": { - "line": 113, + "line": 119, "column": 64 }, "end": { - "line": 113, + "line": 119, "column": 73 }, "identifierName": "undefined" @@ -6705,129 +7099,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 4036, - "end": 4119, + "start": 4296, + "end": 4379, "loc": { "start": { - "line": 113, + "line": 119, "column": 75 }, "end": { - "line": 115, + "line": 121, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 4054, - "end": 4105, + "start": 4314, + "end": 4365, "loc": { "start": { - "line": 114, + "line": 120, "column": 16 }, "end": { - "line": 114, + "line": 120, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 4054, - "end": 4104, + "start": 4314, + "end": 4364, "loc": { "start": { - "line": 114, + "line": 120, "column": 16 }, "end": { - "line": 114, + "line": 120, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 4054, - "end": 4102, + "start": 4314, + "end": 4362, "loc": { "start": { - "line": 114, + "line": 120, "column": 16 }, "end": { - "line": 114, + "line": 120, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 4054, - "end": 4097, + "start": 4314, + "end": 4357, "loc": { "start": { - "line": 114, + "line": 120, "column": 16 }, "end": { - "line": 114, + "line": 120, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 4054, - "end": 4076, + "start": 4314, + "end": 4336, "loc": { "start": { - "line": 114, + "line": 120, "column": 16 }, "end": { - "line": 114, + "line": 120, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4054, - "end": 4065, + "start": 4314, + "end": 4325, "loc": { "start": { - "line": 114, + "line": 120, "column": 16 }, "end": { - "line": 114, + "line": 120, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4054, - "end": 4058, + "start": 4314, + "end": 4318, "loc": { "start": { - "line": 114, + "line": 120, "column": 16 }, "end": { - "line": 114, + "line": 120, "column": 20 } } }, "property": { "type": "Identifier", - "start": 4059, - "end": 4065, + "start": 4319, + "end": 4325, "loc": { "start": { - "line": 114, + "line": 120, "column": 21 }, "end": { - "line": 114, + "line": 120, "column": 27 }, "identifierName": "player" @@ -6838,15 +7232,15 @@ }, "property": { "type": "Identifier", - "start": 4066, - "end": 4076, + "start": 4326, + "end": 4336, "loc": { "start": { - "line": 114, + "line": 120, "column": 28 }, "end": { - "line": 114, + "line": 120, "column": 38 }, "identifierName": "controlBar" @@ -6857,15 +7251,15 @@ }, "property": { "type": "Identifier", - "start": 4077, - "end": 4097, + "start": 4337, + "end": 4357, "loc": { "start": { - "line": 114, + "line": 120, "column": 39 }, "end": { - "line": 114, + "line": 120, "column": 59 }, "identifierName": "remainingTimeDisplay" @@ -6876,15 +7270,15 @@ }, "property": { "type": "Identifier", - "start": 4098, - "end": 4102, + "start": 4358, + "end": 4362, "loc": { "start": { - "line": 114, + "line": 120, "column": 60 }, "end": { - "line": 114, + "line": 120, "column": 64 }, "identifierName": "hide" @@ -6903,86 +7297,86 @@ }, { "type": "IfStatement", - "start": 4133, - "end": 4540, + "start": 4393, + "end": 4800, "loc": { "start": { - "line": 117, + "line": 123, "column": 12 }, "end": { - "line": 125, + "line": 131, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 4137, - "end": 4229, + "start": 4397, + "end": 4489, "loc": { "start": { - "line": 117, + "line": 123, "column": 16 }, "end": { - "line": 118, + "line": 124, "column": 63 } }, "left": { "type": "BinaryExpression", - "start": 4137, - "end": 4162, + "start": 4397, + "end": 4422, "loc": { "start": { - "line": 117, + "line": 123, "column": 16 }, "end": { - "line": 117, + "line": 123, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 4137, - "end": 4149, + "start": 4397, + "end": 4409, "loc": { "start": { - "line": 117, + "line": 123, "column": 16 }, "end": { - "line": 117, + "line": 123, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 4137, - "end": 4141, + "start": 4397, + "end": 4401, "loc": { "start": { - "line": 117, + "line": 123, "column": 16 }, "end": { - "line": 117, + "line": 123, "column": 20 } } }, "property": { "type": "Identifier", - "start": 4142, - "end": 4149, + "start": 4402, + "end": 4409, "loc": { "start": { - "line": 117, + "line": 123, "column": 21 }, "end": { - "line": 117, + "line": 123, "column": 28 }, "identifierName": "backend" @@ -6994,15 +7388,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4154, - "end": 4162, + "start": 4414, + "end": 4422, "loc": { "start": { - "line": 117, + "line": 123, "column": 33 }, "end": { - "line": 117, + "line": 123, "column": 41 }, "identifierName": "WEBAUDIO" @@ -7013,86 +7407,86 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 4182, - "end": 4229, + "start": 4442, + "end": 4489, "loc": { "start": { - "line": 118, + "line": 124, "column": 16 }, "end": { - "line": 118, + "line": 124, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 4182, - "end": 4215, + "start": 4442, + "end": 4475, "loc": { "start": { - "line": 118, + "line": 124, "column": 16 }, "end": { - "line": 118, + "line": 124, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 4182, - "end": 4204, + "start": 4442, + "end": 4464, "loc": { "start": { - "line": 118, + "line": 124, "column": 16 }, "end": { - "line": 118, + "line": 124, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4182, - "end": 4193, + "start": 4442, + "end": 4453, "loc": { "start": { - "line": 118, + "line": 124, "column": 16 }, "end": { - "line": 118, + "line": 124, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4182, - "end": 4186, + "start": 4442, + "end": 4446, "loc": { "start": { - "line": 118, + "line": 124, "column": 16 }, "end": { - "line": 118, + "line": 124, "column": 20 } } }, "property": { "type": "Identifier", - "start": 4187, - "end": 4193, + "start": 4447, + "end": 4453, "loc": { "start": { - "line": 118, + "line": 124, "column": 21 }, "end": { - "line": 118, + "line": 124, "column": 27 }, "identifierName": "player" @@ -7103,15 +7497,15 @@ }, "property": { "type": "Identifier", - "start": 4194, - "end": 4204, + "start": 4454, + "end": 4464, "loc": { "start": { - "line": 118, + "line": 124, "column": 28 }, "end": { - "line": 118, + "line": 124, "column": 38 }, "identifierName": "controlBar" @@ -7122,15 +7516,15 @@ }, "property": { "type": "Identifier", - "start": 4205, - "end": 4215, + "start": 4465, + "end": 4475, "loc": { "start": { - "line": 118, + "line": 124, "column": 39 }, "end": { - "line": 118, + "line": 124, "column": 49 }, "identifierName": "playToggle" @@ -7142,15 +7536,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 4220, - "end": 4229, + "start": 4480, + "end": 4489, "loc": { "start": { - "line": 118, + "line": 124, "column": 54 }, "end": { - "line": 118, + "line": 124, "column": 63 }, "identifierName": "undefined" @@ -7161,114 +7555,114 @@ }, "consequent": { "type": "BlockStatement", - "start": 4231, - "end": 4540, + "start": 4491, + "end": 4800, "loc": { "start": { - "line": 118, + "line": 124, "column": 65 }, "end": { - "line": 125, + "line": 131, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 4299, - "end": 4404, + "start": 4559, + "end": 4664, "loc": { "start": { - "line": 120, + "line": 126, "column": 16 }, "end": { - "line": 121, + "line": 127, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 4299, - "end": 4403, + "start": 4559, + "end": 4663, "loc": { "start": { - "line": 120, + "line": 126, "column": 16 }, "end": { - "line": 121, + "line": 127, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 4299, - "end": 4335, + "start": 4559, + "end": 4595, "loc": { "start": { - "line": 120, + "line": 126, "column": 16 }, "end": { - "line": 120, + "line": 126, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 4299, - "end": 4332, + "start": 4559, + "end": 4592, "loc": { "start": { - "line": 120, + "line": 126, "column": 16 }, "end": { - "line": 120, + "line": 126, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 4299, - "end": 4321, + "start": 4559, + "end": 4581, "loc": { "start": { - "line": 120, + "line": 126, "column": 16 }, "end": { - "line": 120, + "line": 126, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4299, - "end": 4310, + "start": 4559, + "end": 4570, "loc": { "start": { - "line": 120, + "line": 126, "column": 16 }, "end": { - "line": 120, + "line": 126, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4299, - "end": 4303, + "start": 4559, + "end": 4563, "loc": { "start": { - "line": 120, + "line": 126, "column": 16 }, "end": { - "line": 120, + "line": 126, "column": 20 } }, @@ -7276,15 +7670,15 @@ }, "property": { "type": "Identifier", - "start": 4304, - "end": 4310, + "start": 4564, + "end": 4570, "loc": { "start": { - "line": 120, + "line": 126, "column": 21 }, "end": { - "line": 120, + "line": 126, "column": 27 }, "identifierName": "player" @@ -7296,15 +7690,15 @@ }, "property": { "type": "Identifier", - "start": 4311, - "end": 4321, + "start": 4571, + "end": 4581, "loc": { "start": { - "line": 120, + "line": 126, "column": 28 }, "end": { - "line": 120, + "line": 126, "column": 38 }, "identifierName": "controlBar" @@ -7316,15 +7710,15 @@ }, "property": { "type": "Identifier", - "start": 4322, - "end": 4332, + "start": 4582, + "end": 4592, "loc": { "start": { - "line": 120, + "line": 126, "column": 39 }, "end": { - "line": 120, + "line": 126, "column": 49 }, "identifierName": "playToggle" @@ -7336,15 +7730,15 @@ }, "property": { "type": "Identifier", - "start": 4333, - "end": 4335, + "start": 4593, + "end": 4595, "loc": { "start": { - "line": 120, + "line": 126, "column": 50 }, "end": { - "line": 120, + "line": 126, "column": 52 }, "identifierName": "on" @@ -7357,30 +7751,30 @@ "arguments": [ { "type": "ArrayExpression", - "start": 4336, - "end": 4352, + "start": 4596, + "end": 4612, "loc": { "start": { - "line": 120, + "line": 126, "column": 53 }, "end": { - "line": 120, + "line": 126, "column": 69 } }, "elements": [ { "type": "StringLiteral", - "start": 4337, - "end": 4342, + "start": 4597, + "end": 4602, "loc": { "start": { - "line": 120, + "line": 126, "column": 54 }, "end": { - "line": 120, + "line": 126, "column": 59 } }, @@ -7392,15 +7786,15 @@ }, { "type": "StringLiteral", - "start": 4344, - "end": 4351, + "start": 4604, + "end": 4611, "loc": { "start": { - "line": 120, + "line": 126, "column": 61 }, "end": { - "line": 120, + "line": 126, "column": 68 } }, @@ -7414,72 +7808,72 @@ }, { "type": "CallExpression", - "start": 4374, - "end": 4402, + "start": 4634, + "end": 4662, "loc": { "start": { - "line": 121, + "line": 127, "column": 20 }, "end": { - "line": 121, + "line": 127, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 4374, - "end": 4396, + "start": 4634, + "end": 4656, "loc": { "start": { - "line": 121, + "line": 127, "column": 20 }, "end": { - "line": 121, + "line": 127, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 4374, - "end": 4391, + "start": 4634, + "end": 4651, "loc": { "start": { - "line": 121, + "line": 127, "column": 20 }, "end": { - "line": 121, + "line": 127, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 4374, - "end": 4378, + "start": 4634, + "end": 4638, "loc": { "start": { - "line": 121, + "line": 127, "column": 20 }, "end": { - "line": 121, + "line": 127, "column": 24 } } }, "property": { "type": "Identifier", - "start": 4379, - "end": 4391, + "start": 4639, + "end": 4651, "loc": { "start": { - "line": 121, + "line": 127, "column": 25 }, "end": { - "line": 121, + "line": 127, "column": 37 }, "identifierName": "onPlayToggle" @@ -7490,15 +7884,15 @@ }, "property": { "type": "Identifier", - "start": 4392, - "end": 4396, + "start": 4652, + "end": 4656, "loc": { "start": { - "line": 121, + "line": 127, "column": 38 }, "end": { - "line": 121, + "line": 127, "column": 42 }, "identifierName": "bind" @@ -7510,15 +7904,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4397, - "end": 4401, + "start": 4657, + "end": 4661, "loc": { "start": { - "line": 121, + "line": 127, "column": 43 }, "end": { - "line": 121, + "line": 127, "column": 47 } } @@ -7532,15 +7926,15 @@ { "type": "CommentLine", "value": " handle play toggle interaction", - "start": 4249, - "end": 4282, + "start": 4509, + "end": 4542, "loc": { "start": { - "line": 119, + "line": 125, "column": 16 }, "end": { - "line": 119, + "line": 125, "column": 49 } } @@ -7550,15 +7944,15 @@ { "type": "CommentLine", "value": " disable play button until waveform is ready", - "start": 4422, - "end": 4468, + "start": 4682, + "end": 4728, "loc": { "start": { - "line": 123, + "line": 129, "column": 16 }, "end": { - "line": 123, + "line": 129, "column": 62 } } @@ -7567,99 +7961,99 @@ }, { "type": "ExpressionStatement", - "start": 4485, - "end": 4526, + "start": 4745, + "end": 4786, "loc": { "start": { - "line": 124, + "line": 130, "column": 16 }, "end": { - "line": 124, + "line": 130, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 4485, - "end": 4525, + "start": 4745, + "end": 4785, "loc": { "start": { - "line": 124, + "line": 130, "column": 16 }, "end": { - "line": 124, + "line": 130, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 4485, - "end": 4523, + "start": 4745, + "end": 4783, "loc": { "start": { - "line": 124, + "line": 130, "column": 16 }, "end": { - "line": 124, + "line": 130, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 4485, - "end": 4518, + "start": 4745, + "end": 4778, "loc": { "start": { - "line": 124, + "line": 130, "column": 16 }, "end": { - "line": 124, + "line": 130, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 4485, - "end": 4507, + "start": 4745, + "end": 4767, "loc": { "start": { - "line": 124, + "line": 130, "column": 16 }, "end": { - "line": 124, + "line": 130, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4485, - "end": 4496, + "start": 4745, + "end": 4756, "loc": { "start": { - "line": 124, + "line": 130, "column": 16 }, "end": { - "line": 124, + "line": 130, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4485, - "end": 4489, + "start": 4745, + "end": 4749, "loc": { "start": { - "line": 124, + "line": 130, "column": 16 }, "end": { - "line": 124, + "line": 130, "column": 20 } }, @@ -7667,15 +8061,15 @@ }, "property": { "type": "Identifier", - "start": 4490, - "end": 4496, + "start": 4750, + "end": 4756, "loc": { "start": { - "line": 124, + "line": 130, "column": 21 }, "end": { - "line": 124, + "line": 130, "column": 27 }, "identifierName": "player" @@ -7687,15 +8081,15 @@ }, "property": { "type": "Identifier", - "start": 4497, - "end": 4507, + "start": 4757, + "end": 4767, "loc": { "start": { - "line": 124, + "line": 130, "column": 28 }, "end": { - "line": 124, + "line": 130, "column": 38 }, "identifierName": "controlBar" @@ -7707,15 +8101,15 @@ }, "property": { "type": "Identifier", - "start": 4508, - "end": 4518, + "start": 4768, + "end": 4778, "loc": { "start": { - "line": 124, + "line": 130, "column": 39 }, "end": { - "line": 124, + "line": 130, "column": 49 }, "identifierName": "playToggle" @@ -7727,15 +8121,15 @@ }, "property": { "type": "Identifier", - "start": 4519, - "end": 4523, + "start": 4779, + "end": 4783, "loc": { "start": { - "line": 124, + "line": 130, "column": 50 }, "end": { - "line": 124, + "line": 130, "column": 54 }, "identifierName": "hide" @@ -7752,15 +8146,15 @@ { "type": "CommentLine", "value": " disable play button until waveform is ready", - "start": 4422, - "end": 4468, + "start": 4682, + "end": 4728, "loc": { "start": { - "line": 123, + "line": 129, "column": 16 }, "end": { - "line": 123, + "line": 129, "column": 62 } } @@ -7781,15 +8175,15 @@ { "type": "CommentLine", "value": " controls", - "start": 2400, - "end": 2411, + "start": 2660, + "end": 2671, "loc": { "start": { - "line": 81, + "line": 87, "column": 8 }, "end": { - "line": 81, + "line": 87, "column": 19 } } @@ -7799,15 +8193,15 @@ { "type": "CommentLine", "value": " wavesurfer.js setup", - "start": 4560, - "end": 4582, + "start": 4820, + "end": 4842, "loc": { "start": { - "line": 128, + "line": 134, "column": 8 }, "end": { - "line": 128, + "line": 134, "column": 30 } } @@ -7816,58 +8210,58 @@ }, { "type": "ExpressionStatement", - "start": 4591, - "end": 4638, + "start": 4851, + "end": 4898, "loc": { "start": { - "line": 129, + "line": 135, "column": 8 }, "end": { - "line": 129, + "line": 135, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 4591, - "end": 4637, + "start": 4851, + "end": 4897, "loc": { "start": { - "line": 129, + "line": 135, "column": 8 }, "end": { - "line": 129, + "line": 135, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4591, - "end": 4602, + "start": 4851, + "end": 4862, "loc": { "start": { - "line": 129, + "line": 135, "column": 8 }, "end": { - "line": 129, + "line": 135, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 4591, - "end": 4595, + "start": 4851, + "end": 4855, "loc": { "start": { - "line": 129, + "line": 135, "column": 8 }, "end": { - "line": 129, + "line": 135, "column": 12 } }, @@ -7875,15 +8269,15 @@ }, "property": { "type": "Identifier", - "start": 4596, - "end": 4602, + "start": 4856, + "end": 4862, "loc": { "start": { - "line": 129, + "line": 135, "column": 13 }, "end": { - "line": 129, + "line": 135, "column": 19 }, "identifierName": "surfer" @@ -7895,43 +8289,43 @@ }, "right": { "type": "CallExpression", - "start": 4605, - "end": 4637, + "start": 4865, + "end": 4897, "loc": { "start": { - "line": 129, + "line": 135, "column": 22 }, "end": { - "line": 129, + "line": 135, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 4605, - "end": 4622, + "start": 4865, + "end": 4882, "loc": { "start": { - "line": 129, + "line": 135, "column": 22 }, "end": { - "line": 129, + "line": 135, "column": 39 } }, "object": { "type": "Identifier", - "start": 4605, - "end": 4615, + "start": 4865, + "end": 4875, "loc": { "start": { - "line": 129, + "line": 135, "column": 22 }, "end": { - "line": 129, + "line": 135, "column": 32 }, "identifierName": "WaveSurfer" @@ -7940,15 +8334,15 @@ }, "property": { "type": "Identifier", - "start": 4616, - "end": 4622, + "start": 4876, + "end": 4882, "loc": { "start": { - "line": 129, + "line": 135, "column": 33 }, "end": { - "line": 129, + "line": 135, "column": 39 }, "identifierName": "create" @@ -7960,15 +8354,15 @@ "arguments": [ { "type": "Identifier", - "start": 4623, - "end": 4636, + "start": 4883, + "end": 4896, "loc": { "start": { - "line": 129, + "line": 135, "column": 40 }, "end": { - "line": 129, + "line": 135, "column": 53 }, "identifierName": "mergedOptions" @@ -7983,15 +8377,15 @@ { "type": "CommentLine", "value": " wavesurfer.js setup", - "start": 4560, - "end": 4582, + "start": 4820, + "end": 4842, "loc": { "start": { - "line": 128, + "line": 134, "column": 8 }, "end": { - "line": 128, + "line": 134, "column": 30 } } @@ -8000,86 +8394,86 @@ }, { "type": "ExpressionStatement", - "start": 4647, - "end": 4704, + "start": 4907, + "end": 4964, "loc": { "start": { - "line": 130, + "line": 136, "column": 8 }, "end": { - "line": 130, + "line": 136, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 4647, - "end": 4703, + "start": 4907, + "end": 4963, "loc": { "start": { - "line": 130, + "line": 136, "column": 8 }, "end": { - "line": 130, + "line": 136, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 4647, - "end": 4661, + "start": 4907, + "end": 4921, "loc": { "start": { - "line": 130, + "line": 136, "column": 8 }, "end": { - "line": 130, + "line": 136, "column": 22 } }, "object": { "type": "MemberExpression", - "start": 4647, - "end": 4658, + "start": 4907, + "end": 4918, "loc": { "start": { - "line": 130, + "line": 136, "column": 8 }, "end": { - "line": 130, + "line": 136, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 4647, - "end": 4651, + "start": 4907, + "end": 4911, "loc": { "start": { - "line": 130, + "line": 136, "column": 8 }, "end": { - "line": 130, + "line": 136, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4652, - "end": 4658, + "start": 4912, + "end": 4918, "loc": { "start": { - "line": 130, + "line": 136, "column": 13 }, "end": { - "line": 130, + "line": 136, "column": 19 }, "identifierName": "surfer" @@ -8090,15 +8484,15 @@ }, "property": { "type": "Identifier", - "start": 4659, - "end": 4661, + "start": 4919, + "end": 4921, "loc": { "start": { - "line": 130, + "line": 136, "column": 20 }, "end": { - "line": 130, + "line": 136, "column": 22 }, "identifierName": "on" @@ -8110,29 +8504,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4662, - "end": 4673, + "start": 4922, + "end": 4933, "loc": { "start": { - "line": 130, + "line": 136, "column": 23 }, "end": { - "line": 130, + "line": 136, "column": 34 } }, "object": { "type": "Identifier", - "start": 4662, - "end": 4667, + "start": 4922, + "end": 4927, "loc": { "start": { - "line": 130, + "line": 136, "column": 23 }, "end": { - "line": 130, + "line": 136, "column": 28 }, "identifierName": "Event" @@ -8141,15 +8535,15 @@ }, "property": { "type": "Identifier", - "start": 4668, - "end": 4673, + "start": 4928, + "end": 4933, "loc": { "start": { - "line": 130, + "line": 136, "column": 29 }, "end": { - "line": 130, + "line": 136, "column": 34 }, "identifierName": "ERROR" @@ -8160,72 +8554,72 @@ }, { "type": "CallExpression", - "start": 4675, - "end": 4702, + "start": 4935, + "end": 4962, "loc": { "start": { - "line": 130, + "line": 136, "column": 36 }, "end": { - "line": 130, + "line": 136, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 4675, - "end": 4696, + "start": 4935, + "end": 4956, "loc": { "start": { - "line": 130, + "line": 136, "column": 36 }, "end": { - "line": 130, + "line": 136, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 4675, - "end": 4691, + "start": 4935, + "end": 4951, "loc": { "start": { - "line": 130, + "line": 136, "column": 36 }, "end": { - "line": 130, + "line": 136, "column": 52 } }, "object": { "type": "ThisExpression", - "start": 4675, - "end": 4679, + "start": 4935, + "end": 4939, "loc": { "start": { - "line": 130, + "line": 136, "column": 36 }, "end": { - "line": 130, + "line": 136, "column": 40 } } }, "property": { "type": "Identifier", - "start": 4680, - "end": 4691, + "start": 4940, + "end": 4951, "loc": { "start": { - "line": 130, + "line": 136, "column": 41 }, "end": { - "line": 130, + "line": 136, "column": 52 }, "identifierName": "onWaveError" @@ -8236,15 +8630,15 @@ }, "property": { "type": "Identifier", - "start": 4692, - "end": 4696, + "start": 4952, + "end": 4956, "loc": { "start": { - "line": 130, + "line": 136, "column": 53 }, "end": { - "line": 130, + "line": 136, "column": 57 }, "identifierName": "bind" @@ -8256,15 +8650,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4697, - "end": 4701, + "start": 4957, + "end": 4961, "loc": { "start": { - "line": 130, + "line": 136, "column": 58 }, "end": { - "line": 130, + "line": 136, "column": 62 } } @@ -8276,86 +8670,86 @@ }, { "type": "ExpressionStatement", - "start": 4713, - "end": 4772, + "start": 4973, + "end": 5032, "loc": { "start": { - "line": 131, + "line": 137, "column": 8 }, "end": { - "line": 131, + "line": 137, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 4713, - "end": 4771, + "start": 4973, + "end": 5031, "loc": { "start": { - "line": 131, + "line": 137, "column": 8 }, "end": { - "line": 131, + "line": 137, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 4713, - "end": 4727, + "start": 4973, + "end": 4987, "loc": { "start": { - "line": 131, + "line": 137, "column": 8 }, "end": { - "line": 131, + "line": 137, "column": 22 } }, "object": { "type": "MemberExpression", - "start": 4713, - "end": 4724, + "start": 4973, + "end": 4984, "loc": { "start": { - "line": 131, + "line": 137, "column": 8 }, "end": { - "line": 131, + "line": 137, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 4713, - "end": 4717, + "start": 4973, + "end": 4977, "loc": { "start": { - "line": 131, + "line": 137, "column": 8 }, "end": { - "line": 131, + "line": 137, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4718, - "end": 4724, + "start": 4978, + "end": 4984, "loc": { "start": { - "line": 131, + "line": 137, "column": 13 }, "end": { - "line": 131, + "line": 137, "column": 19 }, "identifierName": "surfer" @@ -8366,15 +8760,15 @@ }, "property": { "type": "Identifier", - "start": 4725, - "end": 4727, + "start": 4985, + "end": 4987, "loc": { "start": { - "line": 131, + "line": 137, "column": 20 }, "end": { - "line": 131, + "line": 137, "column": 22 }, "identifierName": "on" @@ -8386,29 +8780,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4728, - "end": 4740, + "start": 4988, + "end": 5000, "loc": { "start": { - "line": 131, + "line": 137, "column": 23 }, "end": { - "line": 131, + "line": 137, "column": 35 } }, "object": { "type": "Identifier", - "start": 4728, - "end": 4733, + "start": 4988, + "end": 4993, "loc": { "start": { - "line": 131, + "line": 137, "column": 23 }, "end": { - "line": 131, + "line": 137, "column": 28 }, "identifierName": "Event" @@ -8417,15 +8811,15 @@ }, "property": { "type": "Identifier", - "start": 4734, - "end": 4740, + "start": 4994, + "end": 5000, "loc": { "start": { - "line": 131, + "line": 137, "column": 29 }, "end": { - "line": 131, + "line": 137, "column": 35 }, "identifierName": "FINISH" @@ -8436,72 +8830,72 @@ }, { "type": "CallExpression", - "start": 4742, - "end": 4770, + "start": 5002, + "end": 5030, "loc": { "start": { - "line": 131, + "line": 137, "column": 37 }, "end": { - "line": 131, + "line": 137, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 4742, - "end": 4764, + "start": 5002, + "end": 5024, "loc": { "start": { - "line": 131, + "line": 137, "column": 37 }, "end": { - "line": 131, + "line": 137, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 4742, - "end": 4759, + "start": 5002, + "end": 5019, "loc": { "start": { - "line": 131, + "line": 137, "column": 37 }, "end": { - "line": 131, + "line": 137, "column": 54 } }, "object": { "type": "ThisExpression", - "start": 4742, - "end": 4746, + "start": 5002, + "end": 5006, "loc": { "start": { - "line": 131, + "line": 137, "column": 37 }, "end": { - "line": 131, + "line": 137, "column": 41 } } }, "property": { "type": "Identifier", - "start": 4747, - "end": 4759, + "start": 5007, + "end": 5019, "loc": { "start": { - "line": 131, + "line": 137, "column": 42 }, "end": { - "line": 131, + "line": 137, "column": 54 }, "identifierName": "onWaveFinish" @@ -8512,15 +8906,15 @@ }, "property": { "type": "Identifier", - "start": 4760, - "end": 4764, + "start": 5020, + "end": 5024, "loc": { "start": { - "line": 131, + "line": 137, "column": 55 }, "end": { - "line": 131, + "line": 137, "column": 59 }, "identifierName": "bind" @@ -8532,15 +8926,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4765, - "end": 4769, + "start": 5025, + "end": 5029, "loc": { "start": { - "line": 131, + "line": 137, "column": 60 }, "end": { - "line": 131, + "line": 137, "column": 64 } } @@ -8552,73 +8946,73 @@ }, { "type": "ExpressionStatement", - "start": 4781, - "end": 4823, + "start": 5041, + "end": 5083, "loc": { "start": { - "line": 132, + "line": 138, "column": 8 }, "end": { - "line": 132, + "line": 138, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 4781, - "end": 4822, + "start": 5041, + "end": 5082, "loc": { "start": { - "line": 132, + "line": 138, "column": 8 }, "end": { - "line": 132, + "line": 138, "column": 49 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4781, - "end": 4793, + "start": 5041, + "end": 5053, "loc": { "start": { - "line": 132, + "line": 138, "column": 8 }, "end": { - "line": 132, + "line": 138, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 4781, - "end": 4785, + "start": 5041, + "end": 5045, "loc": { "start": { - "line": 132, + "line": 138, "column": 8 }, "end": { - "line": 132, + "line": 138, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4786, - "end": 4793, + "start": 5046, + "end": 5053, "loc": { "start": { - "line": 132, + "line": 138, "column": 13 }, "end": { - "line": 132, + "line": 138, "column": 20 }, "identifierName": "backend" @@ -8629,72 +9023,72 @@ }, "right": { "type": "MemberExpression", - "start": 4796, - "end": 4822, + "start": 5056, + "end": 5082, "loc": { "start": { - "line": 132, + "line": 138, "column": 23 }, "end": { - "line": 132, + "line": 138, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 4796, - "end": 4814, + "start": 5056, + "end": 5074, "loc": { "start": { - "line": 132, + "line": 138, "column": 23 }, "end": { - "line": 132, + "line": 138, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 4796, - "end": 4807, + "start": 5056, + "end": 5067, "loc": { "start": { - "line": 132, + "line": 138, "column": 23 }, "end": { - "line": 132, + "line": 138, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 4796, - "end": 4800, + "start": 5056, + "end": 5060, "loc": { "start": { - "line": 132, + "line": 138, "column": 23 }, "end": { - "line": 132, + "line": 138, "column": 27 } } }, "property": { "type": "Identifier", - "start": 4801, - "end": 4807, + "start": 5061, + "end": 5067, "loc": { "start": { - "line": 132, + "line": 138, "column": 28 }, "end": { - "line": 132, + "line": 138, "column": 34 }, "identifierName": "surfer" @@ -8705,15 +9099,15 @@ }, "property": { "type": "Identifier", - "start": 4808, - "end": 4814, + "start": 5068, + "end": 5074, "loc": { "start": { - "line": 132, + "line": 138, "column": 35 }, "end": { - "line": 132, + "line": 138, "column": 41 }, "identifierName": "params" @@ -8724,15 +9118,15 @@ }, "property": { "type": "Identifier", - "start": 4815, - "end": 4822, + "start": 5075, + "end": 5082, "loc": { "start": { - "line": 132, + "line": 138, "column": 42 }, "end": { - "line": 132, + "line": 138, "column": 49 }, "identifierName": "backend" @@ -8745,72 +9139,72 @@ }, { "type": "ExpressionStatement", - "start": 4832, - "end": 4894, + "start": 5092, + "end": 5154, "loc": { "start": { - "line": 133, + "line": 139, "column": 8 }, "end": { - "line": 133, + "line": 139, "column": 70 } }, "expression": { "type": "CallExpression", - "start": 4832, - "end": 4893, + "start": 5092, + "end": 5153, "loc": { "start": { - "line": 133, + "line": 139, "column": 8 }, "end": { - "line": 133, + "line": 139, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 4832, - "end": 4840, + "start": 5092, + "end": 5100, "loc": { "start": { - "line": 133, + "line": 139, "column": 8 }, "end": { - "line": 133, + "line": 139, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 4832, - "end": 4836, + "start": 5092, + "end": 5096, "loc": { "start": { - "line": 133, + "line": 139, "column": 8 }, "end": { - "line": 133, + "line": 139, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4837, - "end": 4840, + "start": 5097, + "end": 5100, "loc": { "start": { - "line": 133, + "line": 139, "column": 13 }, "end": { - "line": 133, + "line": 139, "column": 16 }, "identifierName": "log" @@ -8822,43 +9216,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 4841, - "end": 4892, + "start": 5101, + "end": 5152, "loc": { "start": { - "line": 133, + "line": 139, "column": 17 }, "end": { - "line": 133, + "line": 139, "column": 68 } }, "left": { "type": "BinaryExpression", - "start": 4841, - "end": 4878, + "start": 5101, + "end": 5138, "loc": { "start": { - "line": 133, + "line": 139, "column": 17 }, "end": { - "line": 133, + "line": 139, "column": 54 } }, "left": { "type": "StringLiteral", - "start": 4841, - "end": 4863, + "start": 5101, + "end": 5123, "loc": { "start": { - "line": 133, + "line": 139, "column": 17 }, "end": { - "line": 133, + "line": 139, "column": 39 } }, @@ -8871,44 +9265,44 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 4866, - "end": 4878, + "start": 5126, + "end": 5138, "loc": { "start": { - "line": 133, + "line": 139, "column": 42 }, "end": { - "line": 133, + "line": 139, "column": 54 } }, "object": { "type": "ThisExpression", - "start": 4866, - "end": 4870, + "start": 5126, + "end": 5130, "loc": { "start": { - "line": 133, + "line": 139, "column": 42 }, "end": { - "line": 133, + "line": 139, "column": 46 } } }, "property": { "type": "Identifier", - "start": 4871, - "end": 4878, + "start": 5131, + "end": 5138, "loc": { "start": { - "line": 133, + "line": 139, "column": 47 }, "end": { - "line": 133, + "line": 139, "column": 54 }, "identifierName": "backend" @@ -8921,15 +9315,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 4881, - "end": 4892, + "start": 5141, + "end": 5152, "loc": { "start": { - "line": 133, + "line": 139, "column": 57 }, "end": { - "line": 133, + "line": 139, "column": 68 } }, @@ -8946,15 +9340,15 @@ { "type": "CommentLine", "value": " check if the wavesurfer.js microphone plugin is enabled", - "start": 4904, - "end": 4962, + "start": 5164, + "end": 5222, "loc": { "start": { - "line": 135, + "line": 141, "column": 8 }, "end": { - "line": 135, + "line": 141, "column": 66 } } @@ -8963,43 +9357,43 @@ }, { "type": "IfStatement", - "start": 4971, - "end": 5523, + "start": 5231, + "end": 5783, "loc": { "start": { - "line": 136, + "line": 142, "column": 8 }, "end": { - "line": 148, + "line": 154, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 4975, - "end": 5041, + "start": 5235, + "end": 5301, "loc": { "start": { - "line": 136, + "line": 142, "column": 12 }, "end": { - "line": 136, + "line": 142, "column": 78 } }, "left": { "type": "StringLiteral", - "start": 4975, - "end": 4987, + "start": 5235, + "end": 5247, "loc": { "start": { - "line": 136, + "line": 142, "column": 12 }, "end": { - "line": 136, + "line": 142, "column": 24 } }, @@ -9013,114 +9407,114 @@ "operator": "in", "right": { "type": "CallExpression", - "start": 4991, - "end": 5041, + "start": 5251, + "end": 5301, "loc": { "start": { - "line": 136, + "line": 142, "column": 28 }, "end": { - "line": 136, + "line": 142, "column": 78 } }, "callee": { "type": "MemberExpression", - "start": 4991, - "end": 5039, + "start": 5251, + "end": 5299, "loc": { "start": { - "line": 136, + "line": 142, "column": 28 }, "end": { - "line": 136, + "line": 142, "column": 76 } }, "object": { "type": "MemberExpression", - "start": 4991, - "end": 5022, + "start": 5251, + "end": 5282, "loc": { "start": { - "line": 136, + "line": 142, "column": 28 }, "end": { - "line": 136, + "line": 142, "column": 59 } }, "object": { "type": "CallExpression", - "start": 4991, - "end": 5015, + "start": 5251, + "end": 5275, "loc": { "start": { - "line": 136, + "line": 142, "column": 28 }, "end": { - "line": 136, + "line": 142, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 4991, - "end": 5013, + "start": 5251, + "end": 5273, "loc": { "start": { - "line": 136, + "line": 142, "column": 28 }, "end": { - "line": 136, + "line": 142, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 4991, - "end": 5002, + "start": 5251, + "end": 5262, "loc": { "start": { - "line": 136, + "line": 142, "column": 28 }, "end": { - "line": 136, + "line": 142, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 4991, - "end": 4995, + "start": 5251, + "end": 5255, "loc": { "start": { - "line": 136, + "line": 142, "column": 28 }, "end": { - "line": 136, + "line": 142, "column": 32 } } }, "property": { "type": "Identifier", - "start": 4996, - "end": 5002, + "start": 5256, + "end": 5262, "loc": { "start": { - "line": 136, + "line": 142, "column": 33 }, "end": { - "line": 136, + "line": 142, "column": 39 }, "identifierName": "player" @@ -9131,15 +9525,15 @@ }, "property": { "type": "Identifier", - "start": 5003, - "end": 5013, + "start": 5263, + "end": 5273, "loc": { "start": { - "line": 136, + "line": 142, "column": 40 }, "end": { - "line": 136, + "line": 142, "column": 50 }, "identifierName": "wavesurfer" @@ -9152,15 +9546,15 @@ }, "property": { "type": "Identifier", - "start": 5016, - "end": 5022, + "start": 5276, + "end": 5282, "loc": { "start": { - "line": 136, + "line": 142, "column": 53 }, "end": { - "line": 136, + "line": 142, "column": 59 }, "identifierName": "surfer" @@ -9171,15 +9565,15 @@ }, "property": { "type": "Identifier", - "start": 5023, - "end": 5039, + "start": 5283, + "end": 5299, "loc": { "start": { - "line": 136, + "line": 142, "column": 60 }, "end": { - "line": 136, + "line": 142, "column": 76 }, "identifierName": "getActivePlugins" @@ -9194,73 +9588,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 5043, - "end": 5523, + "start": 5303, + "end": 5783, "loc": { "start": { - "line": 136, + "line": 142, "column": 80 }, "end": { - "line": 148, + "line": 154, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 5109, - "end": 5130, + "start": 5369, + "end": 5390, "loc": { "start": { - "line": 138, + "line": 144, "column": 12 }, "end": { - "line": 138, + "line": 144, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 5109, - "end": 5129, + "start": 5369, + "end": 5389, "loc": { "start": { - "line": 138, + "line": 144, "column": 12 }, "end": { - "line": 138, + "line": 144, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5109, - "end": 5122, + "start": 5369, + "end": 5382, "loc": { "start": { - "line": 138, + "line": 144, "column": 12 }, "end": { - "line": 138, + "line": 144, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 5109, - "end": 5113, + "start": 5369, + "end": 5373, "loc": { "start": { - "line": 138, + "line": 144, "column": 12 }, "end": { - "line": 138, + "line": 144, "column": 16 } }, @@ -9268,15 +9662,15 @@ }, "property": { "type": "Identifier", - "start": 5114, - "end": 5122, + "start": 5374, + "end": 5382, "loc": { "start": { - "line": 138, + "line": 144, "column": 17 }, "end": { - "line": 138, + "line": 144, "column": 25 }, "identifierName": "liveMode" @@ -9288,15 +9682,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 5125, - "end": 5129, + "start": 5385, + "end": 5389, "loc": { "start": { - "line": 138, + "line": 144, "column": 28 }, "end": { - "line": 138, + "line": 144, "column": 32 } }, @@ -9308,15 +9702,15 @@ { "type": "CommentLine", "value": " enable audio input from a microphone", - "start": 5057, - "end": 5096, + "start": 5317, + "end": 5356, "loc": { "start": { - "line": 137, + "line": 143, "column": 12 }, "end": { - "line": 137, + "line": 143, "column": 51 } } @@ -9325,73 +9719,73 @@ }, { "type": "ExpressionStatement", - "start": 5143, - "end": 5165, + "start": 5403, + "end": 5425, "loc": { "start": { - "line": 139, + "line": 145, "column": 12 }, "end": { - "line": 139, + "line": 145, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 5143, - "end": 5164, + "start": 5403, + "end": 5424, "loc": { "start": { - "line": 139, + "line": 145, "column": 12 }, "end": { - "line": 139, + "line": 145, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5143, - "end": 5157, + "start": 5403, + "end": 5417, "loc": { "start": { - "line": 139, + "line": 145, "column": 12 }, "end": { - "line": 139, + "line": 145, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 5143, - "end": 5147, + "start": 5403, + "end": 5407, "loc": { "start": { - "line": 139, + "line": 145, "column": 12 }, "end": { - "line": 139, + "line": 145, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5148, - "end": 5157, + "start": 5408, + "end": 5417, "loc": { "start": { - "line": 139, + "line": 145, "column": 17 }, "end": { - "line": 139, + "line": 145, "column": 26 }, "identifierName": "waveReady" @@ -9402,15 +9796,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 5160, - "end": 5164, + "start": 5420, + "end": 5424, "loc": { "start": { - "line": 139, + "line": 145, "column": 29 }, "end": { - "line": 139, + "line": 145, "column": 33 } }, @@ -9420,72 +9814,72 @@ }, { "type": "ExpressionStatement", - "start": 5178, - "end": 5231, + "start": 5438, + "end": 5491, "loc": { "start": { - "line": 140, + "line": 146, "column": 12 }, "end": { - "line": 140, + "line": 146, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 5178, - "end": 5230, + "start": 5438, + "end": 5490, "loc": { "start": { - "line": 140, + "line": 146, "column": 12 }, "end": { - "line": 140, + "line": 146, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 5178, - "end": 5186, + "start": 5438, + "end": 5446, "loc": { "start": { - "line": 140, + "line": 146, "column": 12 }, "end": { - "line": 140, + "line": 146, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 5178, - "end": 5182, + "start": 5438, + "end": 5442, "loc": { "start": { - "line": 140, + "line": 146, "column": 12 }, "end": { - "line": 140, + "line": 146, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5183, - "end": 5186, + "start": 5443, + "end": 5446, "loc": { "start": { - "line": 140, + "line": 146, "column": 17 }, "end": { - "line": 140, + "line": 146, "column": 20 }, "identifierName": "log" @@ -9497,15 +9891,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5187, - "end": 5229, + "start": 5447, + "end": 5489, "loc": { "start": { - "line": 140, + "line": 146, "column": 21 }, "end": { - "line": 140, + "line": 146, "column": 63 } }, @@ -9521,15 +9915,15 @@ { "type": "CommentLine", "value": " in live mode, show play button at startup", - "start": 5245, - "end": 5289, + "start": 5505, + "end": 5549, "loc": { "start": { - "line": 142, + "line": 148, "column": 12 }, "end": { - "line": 142, + "line": 148, "column": 56 } } @@ -9538,99 +9932,99 @@ }, { "type": "ExpressionStatement", - "start": 5302, - "end": 5343, + "start": 5562, + "end": 5603, "loc": { "start": { - "line": 143, + "line": 149, "column": 12 }, "end": { - "line": 143, + "line": 149, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 5302, - "end": 5342, + "start": 5562, + "end": 5602, "loc": { "start": { - "line": 143, + "line": 149, "column": 12 }, "end": { - "line": 143, + "line": 149, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 5302, - "end": 5340, + "start": 5562, + "end": 5600, "loc": { "start": { - "line": 143, + "line": 149, "column": 12 }, "end": { - "line": 143, + "line": 149, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 5302, - "end": 5335, + "start": 5562, + "end": 5595, "loc": { "start": { - "line": 143, + "line": 149, "column": 12 }, "end": { - "line": 143, + "line": 149, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 5302, - "end": 5324, + "start": 5562, + "end": 5584, "loc": { "start": { - "line": 143, + "line": 149, "column": 12 }, "end": { - "line": 143, + "line": 149, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 5302, - "end": 5313, + "start": 5562, + "end": 5573, "loc": { "start": { - "line": 143, + "line": 149, "column": 12 }, "end": { - "line": 143, + "line": 149, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 5302, - "end": 5306, + "start": 5562, + "end": 5566, "loc": { "start": { - "line": 143, + "line": 149, "column": 12 }, "end": { - "line": 143, + "line": 149, "column": 16 } }, @@ -9638,15 +10032,15 @@ }, "property": { "type": "Identifier", - "start": 5307, - "end": 5313, + "start": 5567, + "end": 5573, "loc": { "start": { - "line": 143, + "line": 149, "column": 17 }, "end": { - "line": 143, + "line": 149, "column": 23 }, "identifierName": "player" @@ -9658,15 +10052,15 @@ }, "property": { "type": "Identifier", - "start": 5314, - "end": 5324, + "start": 5574, + "end": 5584, "loc": { "start": { - "line": 143, + "line": 149, "column": 24 }, "end": { - "line": 143, + "line": 149, "column": 34 }, "identifierName": "controlBar" @@ -9678,15 +10072,15 @@ }, "property": { "type": "Identifier", - "start": 5325, - "end": 5335, + "start": 5585, + "end": 5595, "loc": { "start": { - "line": 143, + "line": 149, "column": 35 }, "end": { - "line": 143, + "line": 149, "column": 45 }, "identifierName": "playToggle" @@ -9698,15 +10092,15 @@ }, "property": { "type": "Identifier", - "start": 5336, - "end": 5340, + "start": 5596, + "end": 5600, "loc": { "start": { - "line": 143, + "line": 149, "column": 46 }, "end": { - "line": 143, + "line": 149, "column": 50 }, "identifierName": "show" @@ -9723,15 +10117,15 @@ { "type": "CommentLine", "value": " in live mode, show play button at startup", - "start": 5245, - "end": 5289, + "start": 5505, + "end": 5549, "loc": { "start": { - "line": 142, + "line": 148, "column": 12 }, "end": { - "line": 142, + "line": 148, "column": 56 } } @@ -9741,15 +10135,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js microphone plugin events", - "start": 5357, - "end": 5409, + "start": 5617, + "end": 5669, "loc": { "start": { - "line": 145, + "line": 151, "column": 12 }, "end": { - "line": 145, + "line": 151, "column": 64 } } @@ -9758,85 +10152,85 @@ }, { "type": "ExpressionStatement", - "start": 5422, - "end": 5513, + "start": 5682, + "end": 5773, "loc": { "start": { - "line": 146, + "line": 152, "column": 12 }, "end": { - "line": 147, + "line": 153, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 5422, - "end": 5512, + "start": 5682, + "end": 5772, "loc": { "start": { - "line": 146, + "line": 152, "column": 12 }, "end": { - "line": 147, + "line": 153, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 5422, - "end": 5447, + "start": 5682, + "end": 5707, "loc": { "start": { - "line": 146, + "line": 152, "column": 12 }, "end": { - "line": 146, + "line": 152, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 5422, - "end": 5444, + "start": 5682, + "end": 5704, "loc": { "start": { - "line": 146, + "line": 152, "column": 12 }, "end": { - "line": 146, + "line": 152, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 5422, - "end": 5433, + "start": 5682, + "end": 5693, "loc": { "start": { - "line": 146, + "line": 152, "column": 12 }, "end": { - "line": 146, + "line": 152, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 5422, - "end": 5426, + "start": 5682, + "end": 5686, "loc": { "start": { - "line": 146, + "line": 152, "column": 12 }, "end": { - "line": 146, + "line": 152, "column": 16 } }, @@ -9844,15 +10238,15 @@ }, "property": { "type": "Identifier", - "start": 5427, - "end": 5433, + "start": 5687, + "end": 5693, "loc": { "start": { - "line": 146, + "line": 152, "column": 17 }, "end": { - "line": 146, + "line": 152, "column": 23 }, "identifierName": "surfer" @@ -9864,15 +10258,15 @@ }, "property": { "type": "Identifier", - "start": 5434, - "end": 5444, + "start": 5694, + "end": 5704, "loc": { "start": { - "line": 146, + "line": 152, "column": 24 }, "end": { - "line": 146, + "line": 152, "column": 34 }, "identifierName": "microphone" @@ -9884,15 +10278,15 @@ }, "property": { "type": "Identifier", - "start": 5445, - "end": 5447, + "start": 5705, + "end": 5707, "loc": { "start": { - "line": 146, + "line": 152, "column": 35 }, "end": { - "line": 146, + "line": 152, "column": 37 }, "identifierName": "on" @@ -9905,29 +10299,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 5448, - "end": 5466, + "start": 5708, + "end": 5726, "loc": { "start": { - "line": 146, + "line": 152, "column": 38 }, "end": { - "line": 146, + "line": 152, "column": 56 } }, "object": { "type": "Identifier", - "start": 5448, - "end": 5453, + "start": 5708, + "end": 5713, "loc": { "start": { - "line": 146, + "line": 152, "column": 38 }, "end": { - "line": 146, + "line": 152, "column": 43 }, "identifierName": "Event" @@ -9936,15 +10330,15 @@ }, "property": { "type": "Identifier", - "start": 5454, - "end": 5466, + "start": 5714, + "end": 5726, "loc": { "start": { - "line": 146, + "line": 152, "column": 44 }, "end": { - "line": 146, + "line": 152, "column": 56 }, "identifierName": "DEVICE_ERROR" @@ -9955,72 +10349,72 @@ }, { "type": "CallExpression", - "start": 5484, - "end": 5511, + "start": 5744, + "end": 5771, "loc": { "start": { - "line": 147, + "line": 153, "column": 16 }, "end": { - "line": 147, + "line": 153, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 5484, - "end": 5505, + "start": 5744, + "end": 5765, "loc": { "start": { - "line": 147, + "line": 153, "column": 16 }, "end": { - "line": 147, + "line": 153, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 5484, - "end": 5500, + "start": 5744, + "end": 5760, "loc": { "start": { - "line": 147, + "line": 153, "column": 16 }, "end": { - "line": 147, + "line": 153, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 5484, - "end": 5488, + "start": 5744, + "end": 5748, "loc": { "start": { - "line": 147, + "line": 153, "column": 16 }, "end": { - "line": 147, + "line": 153, "column": 20 } } }, "property": { "type": "Identifier", - "start": 5489, - "end": 5500, + "start": 5749, + "end": 5760, "loc": { "start": { - "line": 147, + "line": 153, "column": 21 }, "end": { - "line": 147, + "line": 153, "column": 32 }, "identifierName": "onWaveError" @@ -10031,15 +10425,15 @@ }, "property": { "type": "Identifier", - "start": 5501, - "end": 5505, + "start": 5761, + "end": 5765, "loc": { "start": { - "line": 147, + "line": 153, "column": 33 }, "end": { - "line": 147, + "line": 153, "column": 37 }, "identifierName": "bind" @@ -10051,15 +10445,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5506, - "end": 5510, + "start": 5766, + "end": 5770, "loc": { "start": { - "line": 147, + "line": 153, "column": 38 }, "end": { - "line": 147, + "line": 153, "column": 42 } } @@ -10073,15 +10467,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js microphone plugin events", - "start": 5357, - "end": 5409, + "start": 5617, + "end": 5669, "loc": { "start": { - "line": 145, + "line": 151, "column": 12 }, "end": { - "line": 145, + "line": 151, "column": 64 } } @@ -10097,15 +10491,15 @@ { "type": "CommentLine", "value": " check if the wavesurfer.js microphone plugin is enabled", - "start": 4904, - "end": 4962, + "start": 5164, + "end": 5222, "loc": { "start": { - "line": 135, + "line": 141, "column": 8 }, "end": { - "line": 135, + "line": 141, "column": 66 } } @@ -10115,15 +10509,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js events", - "start": 5533, - "end": 5567, + "start": 5793, + "end": 5827, "loc": { "start": { - "line": 150, + "line": 156, "column": 8 }, "end": { - "line": 150, + "line": 156, "column": 42 } } @@ -10132,58 +10526,58 @@ }, { "type": "ExpressionStatement", - "start": 5576, - "end": 5623, + "start": 5836, + "end": 5883, "loc": { "start": { - "line": 151, + "line": 157, "column": 8 }, "end": { - "line": 151, + "line": 157, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 5576, - "end": 5622, + "start": 5836, + "end": 5882, "loc": { "start": { - "line": 151, + "line": 157, "column": 8 }, "end": { - "line": 151, + "line": 157, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5576, - "end": 5592, + "start": 5836, + "end": 5852, "loc": { "start": { - "line": 151, + "line": 157, "column": 8 }, "end": { - "line": 151, + "line": 157, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 5576, - "end": 5580, + "start": 5836, + "end": 5840, "loc": { "start": { - "line": 151, + "line": 157, "column": 8 }, "end": { - "line": 151, + "line": 157, "column": 12 } }, @@ -10191,15 +10585,15 @@ }, "property": { "type": "Identifier", - "start": 5581, - "end": 5592, + "start": 5841, + "end": 5852, "loc": { "start": { - "line": 151, + "line": 157, "column": 13 }, "end": { - "line": 151, + "line": 157, "column": 24 }, "identifierName": "surferReady" @@ -10211,72 +10605,72 @@ }, "right": { "type": "CallExpression", - "start": 5595, - "end": 5622, + "start": 5855, + "end": 5882, "loc": { "start": { - "line": 151, + "line": 157, "column": 27 }, "end": { - "line": 151, + "line": 157, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 5595, - "end": 5616, + "start": 5855, + "end": 5876, "loc": { "start": { - "line": 151, + "line": 157, "column": 27 }, "end": { - "line": 151, + "line": 157, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 5595, - "end": 5611, + "start": 5855, + "end": 5871, "loc": { "start": { - "line": 151, + "line": 157, "column": 27 }, "end": { - "line": 151, + "line": 157, "column": 43 } }, "object": { "type": "ThisExpression", - "start": 5595, - "end": 5599, + "start": 5855, + "end": 5859, "loc": { "start": { - "line": 151, + "line": 157, "column": 27 }, "end": { - "line": 151, + "line": 157, "column": 31 } } }, "property": { "type": "Identifier", - "start": 5600, - "end": 5611, + "start": 5860, + "end": 5871, "loc": { "start": { - "line": 151, + "line": 157, "column": 32 }, "end": { - "line": 151, + "line": 157, "column": 43 }, "identifierName": "onWaveReady" @@ -10287,15 +10681,15 @@ }, "property": { "type": "Identifier", - "start": 5612, - "end": 5616, + "start": 5872, + "end": 5876, "loc": { "start": { - "line": 151, + "line": 157, "column": 44 }, "end": { - "line": 151, + "line": 157, "column": 48 }, "identifierName": "bind" @@ -10307,15 +10701,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5617, - "end": 5621, + "start": 5877, + "end": 5881, "loc": { "start": { - "line": 151, + "line": 157, "column": 49 }, "end": { - "line": 151, + "line": 157, "column": 53 } } @@ -10328,15 +10722,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js events", - "start": 5533, - "end": 5567, + "start": 5793, + "end": 5827, "loc": { "start": { - "line": 150, + "line": 156, "column": 8 }, "end": { - "line": 150, + "line": 156, "column": 42 } } @@ -10345,72 +10739,72 @@ }, { "type": "IfStatement", - "start": 5632, - "end": 5943, + "start": 5892, + "end": 6203, "loc": { "start": { - "line": 152, + "line": 158, "column": 8 }, "end": { - "line": 160, + "line": 166, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 5636, - "end": 5661, + "start": 5896, + "end": 5921, "loc": { "start": { - "line": 152, + "line": 158, "column": 12 }, "end": { - "line": 152, + "line": 158, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 5636, - "end": 5648, + "start": 5896, + "end": 5908, "loc": { "start": { - "line": 152, + "line": 158, "column": 12 }, "end": { - "line": 152, + "line": 158, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 5636, - "end": 5640, + "start": 5896, + "end": 5900, "loc": { "start": { - "line": 152, + "line": 158, "column": 12 }, "end": { - "line": 152, + "line": 158, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5641, - "end": 5648, + "start": 5901, + "end": 5908, "loc": { "start": { - "line": 152, + "line": 158, "column": 17 }, "end": { - "line": 152, + "line": 158, "column": 24 }, "identifierName": "backend" @@ -10422,15 +10816,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 5653, - "end": 5661, + "start": 5913, + "end": 5921, "loc": { "start": { - "line": 152, + "line": 158, "column": 29 }, "end": { - "line": 152, + "line": 158, "column": 37 }, "identifierName": "WEBAUDIO" @@ -10440,88 +10834,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 5663, - "end": 5943, + "start": 5923, + "end": 6203, "loc": { "start": { - "line": 152, + "line": 158, "column": 39 }, "end": { - "line": 160, + "line": 166, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 5677, - "end": 5730, + "start": 5937, + "end": 5990, "loc": { "start": { - "line": 153, + "line": 159, "column": 12 }, "end": { - "line": 153, + "line": 159, "column": 65 } }, "expression": { "type": "AssignmentExpression", - "start": 5677, - "end": 5729, + "start": 5937, + "end": 5989, "loc": { "start": { - "line": 153, + "line": 159, "column": 12 }, "end": { - "line": 153, + "line": 159, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5677, - "end": 5696, + "start": 5937, + "end": 5956, "loc": { "start": { - "line": 153, + "line": 159, "column": 12 }, "end": { - "line": 153, + "line": 159, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 5677, - "end": 5681, + "start": 5937, + "end": 5941, "loc": { "start": { - "line": 153, + "line": 159, "column": 12 }, "end": { - "line": 153, + "line": 159, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5682, - "end": 5696, + "start": 5942, + "end": 5956, "loc": { "start": { - "line": 153, + "line": 159, "column": 17 }, "end": { - "line": 153, + "line": 159, "column": 31 }, "identifierName": "surferProgress" @@ -10532,72 +10926,72 @@ }, "right": { "type": "CallExpression", - "start": 5699, - "end": 5729, + "start": 5959, + "end": 5989, "loc": { "start": { - "line": 153, + "line": 159, "column": 34 }, "end": { - "line": 153, + "line": 159, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 5699, - "end": 5723, + "start": 5959, + "end": 5983, "loc": { "start": { - "line": 153, + "line": 159, "column": 34 }, "end": { - "line": 153, + "line": 159, "column": 58 } }, "object": { "type": "MemberExpression", - "start": 5699, - "end": 5718, + "start": 5959, + "end": 5978, "loc": { "start": { - "line": 153, + "line": 159, "column": 34 }, "end": { - "line": 153, + "line": 159, "column": 53 } }, "object": { "type": "ThisExpression", - "start": 5699, - "end": 5703, + "start": 5959, + "end": 5963, "loc": { "start": { - "line": 153, + "line": 159, "column": 34 }, "end": { - "line": 153, + "line": 159, "column": 38 } } }, "property": { "type": "Identifier", - "start": 5704, - "end": 5718, + "start": 5964, + "end": 5978, "loc": { "start": { - "line": 153, + "line": 159, "column": 39 }, "end": { - "line": 153, + "line": 159, "column": 53 }, "identifierName": "onWaveProgress" @@ -10608,15 +11002,15 @@ }, "property": { "type": "Identifier", - "start": 5719, - "end": 5723, + "start": 5979, + "end": 5983, "loc": { "start": { - "line": 153, + "line": 159, "column": 54 }, "end": { - "line": 153, + "line": 159, "column": 58 }, "identifierName": "bind" @@ -10628,15 +11022,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5724, - "end": 5728, + "start": 5984, + "end": 5988, "loc": { "start": { - "line": 153, + "line": 159, "column": 59 }, "end": { - "line": 153, + "line": 159, "column": 63 } } @@ -10647,73 +11041,73 @@ }, { "type": "ExpressionStatement", - "start": 5743, - "end": 5788, + "start": 6003, + "end": 6048, "loc": { "start": { - "line": 154, + "line": 160, "column": 12 }, "end": { - "line": 154, + "line": 160, "column": 57 } }, "expression": { "type": "AssignmentExpression", - "start": 5743, - "end": 5787, + "start": 6003, + "end": 6047, "loc": { "start": { - "line": 154, + "line": 160, "column": 12 }, "end": { - "line": 154, + "line": 160, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5743, - "end": 5758, + "start": 6003, + "end": 6018, "loc": { "start": { - "line": 154, + "line": 160, "column": 12 }, "end": { - "line": 154, + "line": 160, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 5743, - "end": 5747, + "start": 6003, + "end": 6007, "loc": { "start": { - "line": 154, + "line": 160, "column": 12 }, "end": { - "line": 154, + "line": 160, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5748, - "end": 5758, + "start": 6008, + "end": 6018, "loc": { "start": { - "line": 154, + "line": 160, "column": 17 }, "end": { - "line": 154, + "line": 160, "column": 27 }, "identifierName": "surferSeek" @@ -10724,72 +11118,72 @@ }, "right": { "type": "CallExpression", - "start": 5761, - "end": 5787, + "start": 6021, + "end": 6047, "loc": { "start": { - "line": 154, + "line": 160, "column": 30 }, "end": { - "line": 154, + "line": 160, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 5761, - "end": 5781, + "start": 6021, + "end": 6041, "loc": { "start": { - "line": 154, + "line": 160, "column": 30 }, "end": { - "line": 154, + "line": 160, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 5761, - "end": 5776, + "start": 6021, + "end": 6036, "loc": { "start": { - "line": 154, + "line": 160, "column": 30 }, "end": { - "line": 154, + "line": 160, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 5761, - "end": 5765, + "start": 6021, + "end": 6025, "loc": { "start": { - "line": 154, + "line": 160, "column": 30 }, "end": { - "line": 154, + "line": 160, "column": 34 } } }, "property": { "type": "Identifier", - "start": 5766, - "end": 5776, + "start": 6026, + "end": 6036, "loc": { "start": { - "line": 154, + "line": 160, "column": 35 }, "end": { - "line": 154, + "line": 160, "column": 45 }, "identifierName": "onWaveSeek" @@ -10800,15 +11194,15 @@ }, "property": { "type": "Identifier", - "start": 5777, - "end": 5781, + "start": 6037, + "end": 6041, "loc": { "start": { - "line": 154, + "line": 160, "column": 46 }, "end": { - "line": 154, + "line": 160, "column": 50 }, "identifierName": "bind" @@ -10820,15 +11214,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5782, - "end": 5786, + "start": 6042, + "end": 6046, "loc": { "start": { - "line": 154, + "line": 160, "column": 51 }, "end": { - "line": 154, + "line": 160, "column": 55 } } @@ -10840,15 +11234,15 @@ { "type": "CommentLine", "value": " make sure volume is muted when requested", - "start": 5802, - "end": 5845, + "start": 6062, + "end": 6105, "loc": { "start": { - "line": 156, + "line": 162, "column": 12 }, "end": { - "line": 156, + "line": 162, "column": 55 } } @@ -10857,71 +11251,71 @@ }, { "type": "IfStatement", - "start": 5858, - "end": 5933, + "start": 6118, + "end": 6193, "loc": { "start": { - "line": 157, + "line": 163, "column": 12 }, "end": { - "line": 159, + "line": 165, "column": 13 } }, "test": { "type": "CallExpression", - "start": 5862, - "end": 5881, + "start": 6122, + "end": 6141, "loc": { "start": { - "line": 157, + "line": 163, "column": 16 }, "end": { - "line": 157, + "line": 163, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 5862, - "end": 5879, + "start": 6122, + "end": 6139, "loc": { "start": { - "line": 157, + "line": 163, "column": 16 }, "end": { - "line": 157, + "line": 163, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 5862, - "end": 5873, + "start": 6122, + "end": 6133, "loc": { "start": { - "line": 157, + "line": 163, "column": 16 }, "end": { - "line": 157, + "line": 163, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 5862, - "end": 5866, + "start": 6122, + "end": 6126, "loc": { "start": { - "line": 157, + "line": 163, "column": 16 }, "end": { - "line": 157, + "line": 163, "column": 20 } }, @@ -10929,15 +11323,15 @@ }, "property": { "type": "Identifier", - "start": 5867, - "end": 5873, + "start": 6127, + "end": 6133, "loc": { "start": { - "line": 157, + "line": 163, "column": 21 }, "end": { - "line": 157, + "line": 163, "column": 27 }, "identifierName": "player" @@ -10949,15 +11343,15 @@ }, "property": { "type": "Identifier", - "start": 5874, - "end": 5879, + "start": 6134, + "end": 6139, "loc": { "start": { - "line": 157, + "line": 163, "column": 28 }, "end": { - "line": 157, + "line": 163, "column": 33 }, "identifierName": "muted" @@ -10972,87 +11366,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 5883, - "end": 5933, + "start": 6143, + "end": 6193, "loc": { "start": { - "line": 157, + "line": 163, "column": 37 }, "end": { - "line": 159, + "line": 165, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 5901, - "end": 5919, + "start": 6161, + "end": 6179, "loc": { "start": { - "line": 158, + "line": 164, "column": 16 }, "end": { - "line": 158, + "line": 164, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 5901, - "end": 5918, + "start": 6161, + "end": 6178, "loc": { "start": { - "line": 158, + "line": 164, "column": 16 }, "end": { - "line": 158, + "line": 164, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 5901, - "end": 5915, + "start": 6161, + "end": 6175, "loc": { "start": { - "line": 158, + "line": 164, "column": 16 }, "end": { - "line": 158, + "line": 164, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 5901, - "end": 5905, + "start": 6161, + "end": 6165, "loc": { "start": { - "line": 158, + "line": 164, "column": 16 }, "end": { - "line": 158, + "line": 164, "column": 20 } } }, "property": { "type": "Identifier", - "start": 5906, - "end": 5915, + "start": 6166, + "end": 6175, "loc": { "start": { - "line": 158, + "line": 164, "column": 21 }, "end": { - "line": 158, + "line": 164, "column": 30 }, "identifierName": "setVolume" @@ -11064,15 +11458,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 5916, - "end": 5917, + "start": 6176, + "end": 6177, "loc": { "start": { - "line": 158, + "line": 164, "column": 31 }, "end": { - "line": 158, + "line": 164, "column": 32 } }, @@ -11093,15 +11487,15 @@ { "type": "CommentLine", "value": " make sure volume is muted when requested", - "start": 5802, - "end": 5845, + "start": 6062, + "end": 6105, "loc": { "start": { - "line": 156, + "line": 162, "column": 12 }, "end": { - "line": 156, + "line": 162, "column": 55 } } @@ -11117,15 +11511,15 @@ { "type": "CommentLine", "value": " only listen to the wavesurfer.js playback events when not", - "start": 5953, - "end": 6013, + "start": 6213, + "end": 6273, "loc": { "start": { - "line": 162, + "line": 168, "column": 8 }, "end": { - "line": 162, + "line": 168, "column": 68 } } @@ -11133,15 +11527,15 @@ { "type": "CommentLine", "value": " in live mode", - "start": 6022, - "end": 6037, + "start": 6282, + "end": 6297, "loc": { "start": { - "line": 163, + "line": 169, "column": 8 }, "end": { - "line": 163, + "line": 169, "column": 23 } } @@ -11150,29 +11544,29 @@ }, { "type": "IfStatement", - "start": 6046, - "end": 6121, + "start": 6306, + "end": 6381, "loc": { "start": { - "line": 164, + "line": 170, "column": 8 }, "end": { - "line": 166, + "line": 172, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 6050, - "end": 6064, + "start": 6310, + "end": 6324, "loc": { "start": { - "line": 164, + "line": 170, "column": 12 }, "end": { - "line": 164, + "line": 170, "column": 26 } }, @@ -11180,29 +11574,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 6051, - "end": 6064, + "start": 6311, + "end": 6324, "loc": { "start": { - "line": 164, + "line": 170, "column": 13 }, "end": { - "line": 164, + "line": 170, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 6051, - "end": 6055, + "start": 6311, + "end": 6315, "loc": { "start": { - "line": 164, + "line": 170, "column": 13 }, "end": { - "line": 164, + "line": 170, "column": 17 } }, @@ -11210,15 +11604,15 @@ }, "property": { "type": "Identifier", - "start": 6056, - "end": 6064, + "start": 6316, + "end": 6324, "loc": { "start": { - "line": 164, + "line": 170, "column": 18 }, "end": { - "line": 164, + "line": 170, "column": 26 }, "identifierName": "liveMode" @@ -11235,87 +11629,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 6066, - "end": 6121, + "start": 6326, + "end": 6381, "loc": { "start": { - "line": 164, + "line": 170, "column": 28 }, "end": { - "line": 166, + "line": 172, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 6080, - "end": 6111, + "start": 6340, + "end": 6371, "loc": { "start": { - "line": 165, + "line": 171, "column": 12 }, "end": { - "line": 165, + "line": 171, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 6080, - "end": 6110, + "start": 6340, + "end": 6370, "loc": { "start": { - "line": 165, + "line": 171, "column": 12 }, "end": { - "line": 165, + "line": 171, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 6080, - "end": 6104, + "start": 6340, + "end": 6364, "loc": { "start": { - "line": 165, + "line": 171, "column": 12 }, "end": { - "line": 165, + "line": 171, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 6080, - "end": 6084, + "start": 6340, + "end": 6344, "loc": { "start": { - "line": 165, + "line": 171, "column": 12 }, "end": { - "line": 165, + "line": 171, "column": 16 } } }, "property": { "type": "Identifier", - "start": 6085, - "end": 6104, + "start": 6345, + "end": 6364, "loc": { "start": { - "line": 165, + "line": 171, "column": 17 }, "end": { - "line": 165, + "line": 171, "column": 36 }, "identifierName": "setupPlaybackEvents" @@ -11327,15 +11721,15 @@ "arguments": [ { "type": "BooleanLiteral", - "start": 6105, - "end": 6109, + "start": 6365, + "end": 6369, "loc": { "start": { - "line": 165, + "line": 171, "column": 37 }, "end": { - "line": 165, + "line": 171, "column": 41 } }, @@ -11353,15 +11747,15 @@ { "type": "CommentLine", "value": " only listen to the wavesurfer.js playback events when not", - "start": 5953, - "end": 6013, + "start": 6213, + "end": 6273, "loc": { "start": { - "line": 162, + "line": 168, "column": 8 }, "end": { - "line": 162, + "line": 168, "column": 68 } } @@ -11369,15 +11763,15 @@ { "type": "CommentLine", "value": " in live mode", - "start": 6022, - "end": 6037, + "start": 6282, + "end": 6297, "loc": { "start": { - "line": 163, + "line": 169, "column": 8 }, "end": { - "line": 163, + "line": 169, "column": 23 } } @@ -11387,15 +11781,15 @@ { "type": "CommentLine", "value": " video.js player events", - "start": 6131, - "end": 6156, + "start": 6391, + "end": 6416, "loc": { "start": { - "line": 168, + "line": 174, "column": 8 }, "end": { - "line": 168, + "line": 174, "column": 33 } } @@ -11404,71 +11798,71 @@ }, { "type": "ExpressionStatement", - "start": 6165, - "end": 6232, + "start": 6425, + "end": 6492, "loc": { "start": { - "line": 169, + "line": 175, "column": 8 }, "end": { - "line": 169, + "line": 175, "column": 75 } }, "expression": { "type": "CallExpression", - "start": 6165, - "end": 6231, + "start": 6425, + "end": 6491, "loc": { "start": { - "line": 169, + "line": 175, "column": 8 }, "end": { - "line": 169, + "line": 175, "column": 74 } }, "callee": { "type": "MemberExpression", - "start": 6165, - "end": 6179, + "start": 6425, + "end": 6439, "loc": { "start": { - "line": 169, + "line": 175, "column": 8 }, "end": { - "line": 169, + "line": 175, "column": 22 } }, "object": { "type": "MemberExpression", - "start": 6165, - "end": 6176, + "start": 6425, + "end": 6436, "loc": { "start": { - "line": 169, + "line": 175, "column": 8 }, "end": { - "line": 169, + "line": 175, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 6165, - "end": 6169, + "start": 6425, + "end": 6429, "loc": { "start": { - "line": 169, + "line": 175, "column": 8 }, "end": { - "line": 169, + "line": 175, "column": 12 } }, @@ -11476,15 +11870,15 @@ }, "property": { "type": "Identifier", - "start": 6170, - "end": 6176, + "start": 6430, + "end": 6436, "loc": { "start": { - "line": 169, + "line": 175, "column": 13 }, "end": { - "line": 169, + "line": 175, "column": 19 }, "identifierName": "player" @@ -11496,15 +11890,15 @@ }, "property": { "type": "Identifier", - "start": 6177, - "end": 6179, + "start": 6437, + "end": 6439, "loc": { "start": { - "line": 169, + "line": 175, "column": 20 }, "end": { - "line": 169, + "line": 175, "column": 22 }, "identifierName": "on" @@ -11517,29 +11911,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 6180, - "end": 6198, + "start": 6440, + "end": 6458, "loc": { "start": { - "line": 169, + "line": 175, "column": 23 }, "end": { - "line": 169, + "line": 175, "column": 41 } }, "object": { "type": "Identifier", - "start": 6180, - "end": 6185, + "start": 6440, + "end": 6445, "loc": { "start": { - "line": 169, + "line": 175, "column": 23 }, "end": { - "line": 169, + "line": 175, "column": 28 }, "identifierName": "Event" @@ -11548,15 +11942,15 @@ }, "property": { "type": "Identifier", - "start": 6186, - "end": 6198, + "start": 6446, + "end": 6458, "loc": { "start": { - "line": 169, + "line": 175, "column": 29 }, "end": { - "line": 169, + "line": 175, "column": 41 }, "identifierName": "VOLUMECHANGE" @@ -11567,72 +11961,72 @@ }, { "type": "CallExpression", - "start": 6200, - "end": 6230, + "start": 6460, + "end": 6490, "loc": { "start": { - "line": 169, + "line": 175, "column": 43 }, "end": { - "line": 169, + "line": 175, "column": 73 } }, "callee": { "type": "MemberExpression", - "start": 6200, - "end": 6224, + "start": 6460, + "end": 6484, "loc": { "start": { - "line": 169, + "line": 175, "column": 43 }, "end": { - "line": 169, + "line": 175, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 6200, - "end": 6219, + "start": 6460, + "end": 6479, "loc": { "start": { - "line": 169, + "line": 175, "column": 43 }, "end": { - "line": 169, + "line": 175, "column": 62 } }, "object": { "type": "ThisExpression", - "start": 6200, - "end": 6204, + "start": 6460, + "end": 6464, "loc": { "start": { - "line": 169, + "line": 175, "column": 43 }, "end": { - "line": 169, + "line": 175, "column": 47 } } }, "property": { "type": "Identifier", - "start": 6205, - "end": 6219, + "start": 6465, + "end": 6479, "loc": { "start": { - "line": 169, + "line": 175, "column": 48 }, "end": { - "line": 169, + "line": 175, "column": 62 }, "identifierName": "onVolumeChange" @@ -11643,15 +12037,15 @@ }, "property": { "type": "Identifier", - "start": 6220, - "end": 6224, + "start": 6480, + "end": 6484, "loc": { "start": { - "line": 169, + "line": 175, "column": 63 }, "end": { - "line": 169, + "line": 175, "column": 67 }, "identifierName": "bind" @@ -11663,15 +12057,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 6225, - "end": 6229, + "start": 6485, + "end": 6489, "loc": { "start": { - "line": 169, + "line": 175, "column": 68 }, "end": { - "line": 169, + "line": 175, "column": 72 } } @@ -11685,15 +12079,15 @@ { "type": "CommentLine", "value": " video.js player events", - "start": 6131, - "end": 6156, + "start": 6391, + "end": 6416, "loc": { "start": { - "line": 168, + "line": 174, "column": 8 }, "end": { - "line": 168, + "line": 174, "column": 33 } } @@ -11702,86 +12096,86 @@ }, { "type": "ExpressionStatement", - "start": 6241, - "end": 6312, + "start": 6501, + "end": 6572, "loc": { "start": { - "line": 170, + "line": 176, "column": 8 }, "end": { - "line": 170, + "line": 176, "column": 79 } }, "expression": { "type": "CallExpression", - "start": 6241, - "end": 6311, + "start": 6501, + "end": 6571, "loc": { "start": { - "line": 170, + "line": 176, "column": 8 }, "end": { - "line": 170, + "line": 176, "column": 78 } }, "callee": { "type": "MemberExpression", - "start": 6241, - "end": 6255, + "start": 6501, + "end": 6515, "loc": { "start": { - "line": 170, + "line": 176, "column": 8 }, "end": { - "line": 170, + "line": 176, "column": 22 } }, "object": { "type": "MemberExpression", - "start": 6241, - "end": 6252, + "start": 6501, + "end": 6512, "loc": { "start": { - "line": 170, + "line": 176, "column": 8 }, "end": { - "line": 170, + "line": 176, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 6241, - "end": 6245, + "start": 6501, + "end": 6505, "loc": { "start": { - "line": 170, + "line": 176, "column": 8 }, "end": { - "line": 170, + "line": 176, "column": 12 } } }, "property": { "type": "Identifier", - "start": 6246, - "end": 6252, + "start": 6506, + "end": 6512, "loc": { "start": { - "line": 170, + "line": 176, "column": 13 }, "end": { - "line": 170, + "line": 176, "column": 19 }, "identifierName": "player" @@ -11792,15 +12186,15 @@ }, "property": { "type": "Identifier", - "start": 6253, - "end": 6255, + "start": 6513, + "end": 6515, "loc": { "start": { - "line": 170, + "line": 176, "column": 20 }, "end": { - "line": 170, + "line": 176, "column": 22 }, "identifierName": "on" @@ -11812,29 +12206,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 6256, - "end": 6278, + "start": 6516, + "end": 6538, "loc": { "start": { - "line": 170, + "line": 176, "column": 23 }, "end": { - "line": 170, + "line": 176, "column": 45 } }, "object": { "type": "Identifier", - "start": 6256, - "end": 6261, + "start": 6516, + "end": 6521, "loc": { "start": { - "line": 170, + "line": 176, "column": 23 }, "end": { - "line": 170, + "line": 176, "column": 28 }, "identifierName": "Event" @@ -11843,15 +12237,15 @@ }, "property": { "type": "Identifier", - "start": 6262, - "end": 6278, + "start": 6522, + "end": 6538, "loc": { "start": { - "line": 170, + "line": 176, "column": 29 }, "end": { - "line": 170, + "line": 176, "column": 45 }, "identifierName": "FULLSCREENCHANGE" @@ -11862,72 +12256,72 @@ }, { "type": "CallExpression", - "start": 6280, - "end": 6310, + "start": 6540, + "end": 6570, "loc": { "start": { - "line": 170, + "line": 176, "column": 47 }, "end": { - "line": 170, + "line": 176, "column": 77 } }, "callee": { "type": "MemberExpression", - "start": 6280, - "end": 6304, + "start": 6540, + "end": 6564, "loc": { "start": { - "line": 170, + "line": 176, "column": 47 }, "end": { - "line": 170, + "line": 176, "column": 71 } }, "object": { "type": "MemberExpression", - "start": 6280, - "end": 6299, + "start": 6540, + "end": 6559, "loc": { "start": { - "line": 170, + "line": 176, "column": 47 }, "end": { - "line": 170, + "line": 176, "column": 66 } }, "object": { "type": "ThisExpression", - "start": 6280, - "end": 6284, + "start": 6540, + "end": 6544, "loc": { "start": { - "line": 170, + "line": 176, "column": 47 }, "end": { - "line": 170, + "line": 176, "column": 51 } } }, "property": { "type": "Identifier", - "start": 6285, - "end": 6299, + "start": 6545, + "end": 6559, "loc": { "start": { - "line": 170, + "line": 176, "column": 52 }, "end": { - "line": 170, + "line": 176, "column": 66 }, "identifierName": "onScreenChange" @@ -11938,15 +12332,15 @@ }, "property": { "type": "Identifier", - "start": 6300, - "end": 6304, + "start": 6560, + "end": 6564, "loc": { "start": { - "line": 170, + "line": 176, "column": 67 }, "end": { - "line": 170, + "line": 176, "column": 71 }, "identifierName": "bind" @@ -11958,15 +12352,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 6305, - "end": 6309, + "start": 6565, + "end": 6569, "loc": { "start": { - "line": 170, + "line": 176, "column": 72 }, "end": { - "line": 170, + "line": 176, "column": 76 } } @@ -11979,15 +12373,15 @@ { "type": "CommentLine", "value": " video.js fluid option", - "start": 6322, - "end": 6346, + "start": 6582, + "end": 6606, "loc": { "start": { - "line": 172, + "line": 178, "column": 8 }, "end": { - "line": 172, + "line": 178, "column": 32 } } @@ -11996,85 +12390,85 @@ }, { "type": "IfStatement", - "start": 6355, - "end": 6777, + "start": 6615, + "end": 7037, "loc": { "start": { - "line": 173, + "line": 179, "column": 8 }, "end": { - "line": 180, + "line": 186, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 6359, - "end": 6394, + "start": 6619, + "end": 6654, "loc": { "start": { - "line": 173, + "line": 179, "column": 12 }, "end": { - "line": 173, + "line": 179, "column": 47 } }, "left": { "type": "MemberExpression", - "start": 6359, - "end": 6385, + "start": 6619, + "end": 6645, "loc": { "start": { - "line": 173, + "line": 179, "column": 12 }, "end": { - "line": 173, + "line": 179, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 6359, - "end": 6379, + "start": 6619, + "end": 6639, "loc": { "start": { - "line": 173, + "line": 179, "column": 12 }, "end": { - "line": 173, + "line": 179, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 6359, - "end": 6370, + "start": 6619, + "end": 6630, "loc": { "start": { - "line": 173, + "line": 179, "column": 12 }, "end": { - "line": 173, + "line": 179, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 6359, - "end": 6363, + "start": 6619, + "end": 6623, "loc": { "start": { - "line": 173, + "line": 179, "column": 12 }, "end": { - "line": 173, + "line": 179, "column": 16 } }, @@ -12082,15 +12476,15 @@ }, "property": { "type": "Identifier", - "start": 6364, - "end": 6370, + "start": 6624, + "end": 6630, "loc": { "start": { - "line": 173, + "line": 179, "column": 17 }, "end": { - "line": 173, + "line": 179, "column": 23 }, "identifierName": "player" @@ -12102,15 +12496,15 @@ }, "property": { "type": "Identifier", - "start": 6371, - "end": 6379, + "start": 6631, + "end": 6639, "loc": { "start": { - "line": 173, + "line": 179, "column": 24 }, "end": { - "line": 173, + "line": 179, "column": 32 }, "identifierName": "options_" @@ -12122,15 +12516,15 @@ }, "property": { "type": "Identifier", - "start": 6380, - "end": 6385, + "start": 6640, + "end": 6645, "loc": { "start": { - "line": 173, + "line": 179, "column": 33 }, "end": { - "line": 173, + "line": 179, "column": 38 }, "identifierName": "fluid" @@ -12143,15 +12537,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 6390, - "end": 6394, + "start": 6650, + "end": 6654, "loc": { "start": { - "line": 173, + "line": 179, "column": 43 }, "end": { - "line": 173, + "line": 179, "column": 47 } }, @@ -12161,115 +12555,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 6396, - "end": 6777, + "start": 6656, + "end": 7037, "loc": { "start": { - "line": 173, + "line": 179, "column": 49 }, "end": { - "line": 180, + "line": 186, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 6475, - "end": 6534, + "start": 6735, + "end": 6794, "loc": { "start": { - "line": 175, + "line": 181, "column": 12 }, "end": { - "line": 175, + "line": 181, "column": 71 } }, "expression": { "type": "AssignmentExpression", - "start": 6475, - "end": 6533, + "start": 6735, + "end": 6793, "loc": { "start": { - "line": 175, + "line": 181, "column": 12 }, "end": { - "line": 175, + "line": 181, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6475, - "end": 6511, + "start": 6735, + "end": 6771, "loc": { "start": { - "line": 175, + "line": 181, "column": 12 }, "end": { - "line": 175, + "line": 181, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 6475, - "end": 6501, + "start": 6735, + "end": 6761, "loc": { "start": { - "line": 175, + "line": 181, "column": 12 }, "end": { - "line": 175, + "line": 181, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 6475, - "end": 6493, + "start": 6735, + "end": 6753, "loc": { "start": { - "line": 175, + "line": 181, "column": 12 }, "end": { - "line": 175, + "line": 181, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 6475, - "end": 6486, + "start": 6735, + "end": 6746, "loc": { "start": { - "line": 175, + "line": 181, "column": 12 }, "end": { - "line": 175, + "line": 181, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 6475, - "end": 6479, + "start": 6735, + "end": 6739, "loc": { "start": { - "line": 175, + "line": 181, "column": 12 }, "end": { - "line": 175, + "line": 181, "column": 16 } }, @@ -12277,15 +12671,15 @@ }, "property": { "type": "Identifier", - "start": 6480, - "end": 6486, + "start": 6740, + "end": 6746, "loc": { "start": { - "line": 175, + "line": 181, "column": 17 }, "end": { - "line": 175, + "line": 181, "column": 23 }, "identifierName": "surfer" @@ -12297,15 +12691,15 @@ }, "property": { "type": "Identifier", - "start": 6487, - "end": 6493, + "start": 6747, + "end": 6753, "loc": { "start": { - "line": 175, + "line": 181, "column": 24 }, "end": { - "line": 175, + "line": 181, "column": 30 }, "identifierName": "drawer" @@ -12317,15 +12711,15 @@ }, "property": { "type": "Identifier", - "start": 6494, - "end": 6501, + "start": 6754, + "end": 6761, "loc": { "start": { - "line": 175, + "line": 181, "column": 31 }, "end": { - "line": 175, + "line": 181, "column": 38 }, "identifierName": "wrapper" @@ -12337,15 +12731,15 @@ }, "property": { "type": "Identifier", - "start": 6502, - "end": 6511, + "start": 6762, + "end": 6771, "loc": { "start": { - "line": 175, + "line": 181, "column": 39 }, "end": { - "line": 175, + "line": 181, "column": 48 }, "identifierName": "className" @@ -12357,15 +12751,15 @@ }, "right": { "type": "Identifier", - "start": 6514, - "end": 6533, + "start": 6774, + "end": 6793, "loc": { "start": { - "line": 175, + "line": 181, "column": 51 }, "end": { - "line": 175, + "line": 181, "column": 70 }, "identifierName": "wavesurferClassName" @@ -12378,15 +12772,15 @@ { "type": "CommentLine", "value": " give wave element a classname so it can be styled", - "start": 6410, - "end": 6462, + "start": 6670, + "end": 6722, "loc": { "start": { - "line": 174, + "line": 180, "column": 12 }, "end": { - "line": 174, + "line": 180, "column": 64 } } @@ -12396,15 +12790,15 @@ { "type": "CommentLine", "value": " listen for window resize events", - "start": 6547, - "end": 6581, + "start": 6807, + "end": 6841, "loc": { "start": { - "line": 176, + "line": 182, "column": 12 }, "end": { - "line": 176, + "line": 182, "column": 46 } } @@ -12413,58 +12807,58 @@ }, { "type": "ExpressionStatement", - "start": 6594, - "end": 6695, + "start": 6854, + "end": 6955, "loc": { "start": { - "line": 177, + "line": 183, "column": 12 }, "end": { - "line": 178, + "line": 184, "column": 53 } }, "expression": { "type": "AssignmentExpression", - "start": 6594, - "end": 6694, + "start": 6854, + "end": 6954, "loc": { "start": { - "line": 177, + "line": 183, "column": 12 }, "end": { - "line": 178, + "line": 184, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6594, - "end": 6613, + "start": 6854, + "end": 6873, "loc": { "start": { - "line": 177, + "line": 183, "column": 12 }, "end": { - "line": 177, + "line": 183, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 6594, - "end": 6598, + "start": 6854, + "end": 6858, "loc": { "start": { - "line": 177, + "line": 183, "column": 12 }, "end": { - "line": 177, + "line": 183, "column": 16 } }, @@ -12472,15 +12866,15 @@ }, "property": { "type": "Identifier", - "start": 6599, - "end": 6613, + "start": 6859, + "end": 6873, "loc": { "start": { - "line": 177, + "line": 183, "column": 17 }, "end": { - "line": 177, + "line": 183, "column": 31 }, "identifierName": "responsiveWave" @@ -12492,57 +12886,57 @@ }, "right": { "type": "CallExpression", - "start": 6616, - "end": 6694, + "start": 6876, + "end": 6954, "loc": { "start": { - "line": 177, + "line": 183, "column": 34 }, "end": { - "line": 178, + "line": 184, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 6616, - "end": 6640, + "start": 6876, + "end": 6900, "loc": { "start": { - "line": 177, + "line": 183, "column": 34 }, "end": { - "line": 177, + "line": 183, "column": 58 } }, "object": { "type": "MemberExpression", - "start": 6616, - "end": 6631, + "start": 6876, + "end": 6891, "loc": { "start": { - "line": 177, + "line": 183, "column": 34 }, "end": { - "line": 177, + "line": 183, "column": 49 } }, "object": { "type": "Identifier", - "start": 6616, - "end": 6626, + "start": 6876, + "end": 6886, "loc": { "start": { - "line": 177, + "line": 183, "column": 34 }, "end": { - "line": 177, + "line": 183, "column": 44 }, "identifierName": "WaveSurfer" @@ -12551,15 +12945,15 @@ }, "property": { "type": "Identifier", - "start": 6627, - "end": 6631, + "start": 6887, + "end": 6891, "loc": { "start": { - "line": 177, + "line": 183, "column": 45 }, "end": { - "line": 177, + "line": 183, "column": 49 }, "identifierName": "util" @@ -12570,15 +12964,15 @@ }, "property": { "type": "Identifier", - "start": 6632, - "end": 6640, + "start": 6892, + "end": 6900, "loc": { "start": { - "line": 177, + "line": 183, "column": 50 }, "end": { - "line": 177, + "line": 183, "column": 58 }, "identifierName": "debounce" @@ -12590,72 +12984,72 @@ "arguments": [ { "type": "CallExpression", - "start": 6658, - "end": 6688, + "start": 6918, + "end": 6948, "loc": { "start": { - "line": 178, + "line": 184, "column": 16 }, "end": { - "line": 178, + "line": 184, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 6658, - "end": 6682, + "start": 6918, + "end": 6942, "loc": { "start": { - "line": 178, + "line": 184, "column": 16 }, "end": { - "line": 178, + "line": 184, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 6658, - "end": 6677, + "start": 6918, + "end": 6937, "loc": { "start": { - "line": 178, + "line": 184, "column": 16 }, "end": { - "line": 178, + "line": 184, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 6658, - "end": 6662, + "start": 6918, + "end": 6922, "loc": { "start": { - "line": 178, + "line": 184, "column": 16 }, "end": { - "line": 178, + "line": 184, "column": 20 } } }, "property": { "type": "Identifier", - "start": 6663, - "end": 6677, + "start": 6923, + "end": 6937, "loc": { "start": { - "line": 178, + "line": 184, "column": 21 }, "end": { - "line": 178, + "line": 184, "column": 35 }, "identifierName": "onResizeChange" @@ -12666,15 +13060,15 @@ }, "property": { "type": "Identifier", - "start": 6678, - "end": 6682, + "start": 6938, + "end": 6942, "loc": { "start": { - "line": 178, + "line": 184, "column": 36 }, "end": { - "line": 178, + "line": 184, "column": 40 }, "identifierName": "bind" @@ -12686,15 +13080,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 6683, - "end": 6687, + "start": 6943, + "end": 6947, "loc": { "start": { - "line": 178, + "line": 184, "column": 41 }, "end": { - "line": 178, + "line": 184, "column": 45 } } @@ -12703,15 +13097,15 @@ }, { "type": "NumericLiteral", - "start": 6690, - "end": 6693, + "start": 6950, + "end": 6953, "loc": { "start": { - "line": 178, + "line": 184, "column": 48 }, "end": { - "line": 178, + "line": 184, "column": 51 } }, @@ -12729,15 +13123,15 @@ { "type": "CommentLine", "value": " listen for window resize events", - "start": 6547, - "end": 6581, + "start": 6807, + "end": 6841, "loc": { "start": { - "line": 176, + "line": 182, "column": 12 }, "end": { - "line": 176, + "line": 182, "column": 46 } } @@ -12746,57 +13140,57 @@ }, { "type": "ExpressionStatement", - "start": 6708, - "end": 6767, + "start": 6968, + "end": 7027, "loc": { "start": { - "line": 179, + "line": 185, "column": 12 }, "end": { - "line": 179, + "line": 185, "column": 71 } }, "expression": { "type": "CallExpression", - "start": 6708, - "end": 6766, + "start": 6968, + "end": 7026, "loc": { "start": { - "line": 179, + "line": 185, "column": 12 }, "end": { - "line": 179, + "line": 185, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 6708, - "end": 6731, + "start": 6968, + "end": 6991, "loc": { "start": { - "line": 179, + "line": 185, "column": 12 }, "end": { - "line": 179, + "line": 185, "column": 35 } }, "object": { "type": "Identifier", - "start": 6708, - "end": 6714, + "start": 6968, + "end": 6974, "loc": { "start": { - "line": 179, + "line": 185, "column": 12 }, "end": { - "line": 179, + "line": 185, "column": 18 }, "identifierName": "window" @@ -12805,15 +13199,15 @@ }, "property": { "type": "Identifier", - "start": 6715, - "end": 6731, + "start": 6975, + "end": 6991, "loc": { "start": { - "line": 179, + "line": 185, "column": 19 }, "end": { - "line": 179, + "line": 185, "column": 35 }, "identifierName": "addEventListener" @@ -12825,29 +13219,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 6732, - "end": 6744, + "start": 6992, + "end": 7004, "loc": { "start": { - "line": 179, + "line": 185, "column": 36 }, "end": { - "line": 179, + "line": 185, "column": 48 } }, "object": { "type": "Identifier", - "start": 6732, - "end": 6737, + "start": 6992, + "end": 6997, "loc": { "start": { - "line": 179, + "line": 185, "column": 36 }, "end": { - "line": 179, + "line": 185, "column": 41 }, "identifierName": "Event" @@ -12856,15 +13250,15 @@ }, "property": { "type": "Identifier", - "start": 6738, - "end": 6744, + "start": 6998, + "end": 7004, "loc": { "start": { - "line": 179, + "line": 185, "column": 42 }, "end": { - "line": 179, + "line": 185, "column": 48 }, "identifierName": "RESIZE" @@ -12875,44 +13269,44 @@ }, { "type": "MemberExpression", - "start": 6746, - "end": 6765, + "start": 7006, + "end": 7025, "loc": { "start": { - "line": 179, + "line": 185, "column": 50 }, "end": { - "line": 179, + "line": 185, "column": 69 } }, "object": { "type": "ThisExpression", - "start": 6746, - "end": 6750, + "start": 7006, + "end": 7010, "loc": { "start": { - "line": 179, + "line": 185, "column": 50 }, "end": { - "line": 179, + "line": 185, "column": 54 } } }, "property": { "type": "Identifier", - "start": 6751, - "end": 6765, + "start": 7011, + "end": 7025, "loc": { "start": { - "line": 179, + "line": 185, "column": 55 }, "end": { - "line": 179, + "line": 185, "column": 69 }, "identifierName": "responsiveWave" @@ -12932,15 +13326,15 @@ { "type": "CommentLine", "value": " video.js fluid option", - "start": 6322, - "end": 6346, + "start": 6582, + "end": 6606, "loc": { "start": { - "line": 172, + "line": 178, "column": 8 }, "end": { - "line": 172, + "line": 178, "column": 32 } } @@ -12955,15 +13349,15 @@ { "type": "CommentBlock", "value": "*\n * Player UI is ready: customize controls.\n *\n * @private\n ", - "start": 2033, - "end": 2114, + "start": 2293, + "end": 2374, "loc": { "start": { - "line": 67, + "line": 73, "column": 4 }, "end": { - "line": 71, + "line": 77, "column": 7 } } @@ -12973,15 +13367,15 @@ { "type": "CommentBlock", "value": "*\n * Initializes the waveform options.\n *\n * @private\n * @param {Object} surferOpts - Plugin options.\n * @returns {Object} - Updated `surferOpts` object.\n ", - "start": 6789, - "end": 6972, + "start": 7049, + "end": 7232, "loc": { "start": { - "line": 183, + "line": 189, "column": 4 }, "end": { - "line": 189, + "line": 195, "column": 7 } } @@ -12990,15 +13384,15 @@ }, { "type": "ClassMethod", - "start": 6977, - "end": 8986, + "start": 7237, + "end": 9246, "loc": { "start": { - "line": 190, + "line": 196, "column": 4 }, "end": { - "line": 237, + "line": 243, "column": 5 } }, @@ -13006,15 +13400,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6977, - "end": 6989, + "start": 7237, + "end": 7249, "loc": { "start": { - "line": 190, + "line": 196, "column": 4 }, "end": { - "line": 190, + "line": 196, "column": 16 }, "identifierName": "parseOptions" @@ -13030,29 +13424,29 @@ "params": [ { "type": "AssignmentPattern", - "start": 6990, - "end": 7005, + "start": 7250, + "end": 7265, "loc": { "start": { - "line": 190, + "line": 196, "column": 17 }, "end": { - "line": 190, + "line": 196, "column": 32 } }, "left": { "type": "Identifier", - "start": 6990, - "end": 7000, + "start": 7250, + "end": 7260, "loc": { "start": { - "line": 190, + "line": 196, "column": 17 }, "end": { - "line": 190, + "line": 196, "column": 27 }, "identifierName": "surferOpts" @@ -13061,15 +13455,15 @@ }, "right": { "type": "ObjectExpression", - "start": 7003, - "end": 7005, + "start": 7263, + "end": 7265, "loc": { "start": { - "line": 190, + "line": 196, "column": 30 }, "end": { - "line": 190, + "line": 196, "column": 32 } }, @@ -13079,59 +13473,59 @@ ], "body": { "type": "BlockStatement", - "start": 7007, - "end": 8986, + "start": 7267, + "end": 9246, "loc": { "start": { - "line": 190, + "line": 196, "column": 34 }, "end": { - "line": 237, + "line": 243, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 7017, - "end": 7068, + "start": 7277, + "end": 7328, "loc": { "start": { - "line": 191, + "line": 197, "column": 8 }, "end": { - "line": 191, + "line": 197, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7021, - "end": 7067, + "start": 7281, + "end": 7327, "loc": { "start": { - "line": 191, + "line": 197, "column": 12 }, "end": { - "line": 191, + "line": 197, "column": 58 } }, "id": { "type": "Identifier", - "start": 7021, - "end": 7025, + "start": 7281, + "end": 7285, "loc": { "start": { - "line": 191, + "line": 197, "column": 12 }, "end": { - "line": 191, + "line": 197, "column": 16 }, "identifierName": "rect" @@ -13140,86 +13534,86 @@ }, "init": { "type": "CallExpression", - "start": 7028, - "end": 7067, + "start": 7288, + "end": 7327, "loc": { "start": { - "line": 191, + "line": 197, "column": 19 }, "end": { - "line": 191, + "line": 197, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 7028, - "end": 7065, + "start": 7288, + "end": 7325, "loc": { "start": { - "line": 191, + "line": 197, "column": 19 }, "end": { - "line": 191, + "line": 197, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 7028, - "end": 7043, + "start": 7288, + "end": 7303, "loc": { "start": { - "line": 191, + "line": 197, "column": 19 }, "end": { - "line": 191, + "line": 197, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 7028, - "end": 7039, + "start": 7288, + "end": 7299, "loc": { "start": { - "line": 191, + "line": 197, "column": 19 }, "end": { - "line": 191, + "line": 197, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 7028, - "end": 7032, + "start": 7288, + "end": 7292, "loc": { "start": { - "line": 191, + "line": 197, "column": 19 }, "end": { - "line": 191, + "line": 197, "column": 23 } } }, "property": { "type": "Identifier", - "start": 7033, - "end": 7039, + "start": 7293, + "end": 7299, "loc": { "start": { - "line": 191, + "line": 197, "column": 24 }, "end": { - "line": 191, + "line": 197, "column": 30 }, "identifierName": "player" @@ -13230,15 +13624,15 @@ }, "property": { "type": "Identifier", - "start": 7040, - "end": 7043, + "start": 7300, + "end": 7303, "loc": { "start": { - "line": 191, + "line": 197, "column": 31 }, "end": { - "line": 191, + "line": 197, "column": 34 }, "identifierName": "el_" @@ -13249,15 +13643,15 @@ }, "property": { "type": "Identifier", - "start": 7044, - "end": 7065, + "start": 7304, + "end": 7325, "loc": { "start": { - "line": 191, + "line": 197, "column": 35 }, "end": { - "line": 191, + "line": 197, "column": 56 }, "identifierName": "getBoundingClientRect" @@ -13274,73 +13668,73 @@ }, { "type": "ExpressionStatement", - "start": 7077, - "end": 7139, + "start": 7337, + "end": 7399, "loc": { "start": { - "line": 192, + "line": 198, "column": 8 }, "end": { - "line": 192, + "line": 198, "column": 70 } }, "expression": { "type": "AssignmentExpression", - "start": 7077, - "end": 7138, + "start": 7337, + "end": 7398, "loc": { "start": { - "line": 192, + "line": 198, "column": 8 }, "end": { - "line": 192, + "line": 198, "column": 69 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 7077, - "end": 7095, + "start": 7337, + "end": 7355, "loc": { "start": { - "line": 192, + "line": 198, "column": 8 }, "end": { - "line": 192, + "line": 198, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 7077, - "end": 7081, + "start": 7337, + "end": 7341, "loc": { "start": { - "line": 192, + "line": 198, "column": 8 }, "end": { - "line": 192, + "line": 198, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7082, - "end": 7095, + "start": 7342, + "end": 7355, "loc": { "start": { - "line": 192, + "line": 198, "column": 13 }, "end": { - "line": 192, + "line": 198, "column": 26 }, "identifierName": "originalWidth" @@ -13351,86 +13745,86 @@ }, "right": { "type": "LogicalExpression", - "start": 7098, - "end": 7138, + "start": 7358, + "end": 7398, "loc": { "start": { - "line": 192, + "line": 198, "column": 29 }, "end": { - "line": 192, + "line": 198, "column": 69 } }, "left": { "type": "MemberExpression", - "start": 7098, - "end": 7124, + "start": 7358, + "end": 7384, "loc": { "start": { - "line": 192, + "line": 198, "column": 29 }, "end": { - "line": 192, + "line": 198, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 7098, - "end": 7118, + "start": 7358, + "end": 7378, "loc": { "start": { - "line": 192, + "line": 198, "column": 29 }, "end": { - "line": 192, + "line": 198, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 7098, - "end": 7109, + "start": 7358, + "end": 7369, "loc": { "start": { - "line": 192, + "line": 198, "column": 29 }, "end": { - "line": 192, + "line": 198, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 7098, - "end": 7102, + "start": 7358, + "end": 7362, "loc": { "start": { - "line": 192, + "line": 198, "column": 29 }, "end": { - "line": 192, + "line": 198, "column": 33 } } }, "property": { "type": "Identifier", - "start": 7103, - "end": 7109, + "start": 7363, + "end": 7369, "loc": { "start": { - "line": 192, + "line": 198, "column": 34 }, "end": { - "line": 192, + "line": 198, "column": 40 }, "identifierName": "player" @@ -13441,15 +13835,15 @@ }, "property": { "type": "Identifier", - "start": 7110, - "end": 7118, + "start": 7370, + "end": 7378, "loc": { "start": { - "line": 192, + "line": 198, "column": 41 }, "end": { - "line": 192, + "line": 198, "column": 49 }, "identifierName": "options_" @@ -13460,15 +13854,15 @@ }, "property": { "type": "Identifier", - "start": 7119, - "end": 7124, + "start": 7379, + "end": 7384, "loc": { "start": { - "line": 192, + "line": 198, "column": 50 }, "end": { - "line": 192, + "line": 198, "column": 55 }, "identifierName": "width" @@ -13480,29 +13874,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 7128, - "end": 7138, + "start": 7388, + "end": 7398, "loc": { "start": { - "line": 192, + "line": 198, "column": 59 }, "end": { - "line": 192, + "line": 198, "column": 69 } }, "object": { "type": "Identifier", - "start": 7128, - "end": 7132, + "start": 7388, + "end": 7392, "loc": { "start": { - "line": 192, + "line": 198, "column": 59 }, "end": { - "line": 192, + "line": 198, "column": 63 }, "identifierName": "rect" @@ -13511,15 +13905,15 @@ }, "property": { "type": "Identifier", - "start": 7133, - "end": 7138, + "start": 7393, + "end": 7398, "loc": { "start": { - "line": 192, + "line": 198, "column": 64 }, "end": { - "line": 192, + "line": 198, "column": 69 }, "identifierName": "width" @@ -13533,73 +13927,73 @@ }, { "type": "ExpressionStatement", - "start": 7148, - "end": 7213, + "start": 7408, + "end": 7473, "loc": { "start": { - "line": 193, + "line": 199, "column": 8 }, "end": { - "line": 193, + "line": 199, "column": 73 } }, "expression": { "type": "AssignmentExpression", - "start": 7148, - "end": 7212, + "start": 7408, + "end": 7472, "loc": { "start": { - "line": 193, + "line": 199, "column": 8 }, "end": { - "line": 193, + "line": 199, "column": 72 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 7148, - "end": 7167, + "start": 7408, + "end": 7427, "loc": { "start": { - "line": 193, + "line": 199, "column": 8 }, "end": { - "line": 193, + "line": 199, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 7148, - "end": 7152, + "start": 7408, + "end": 7412, "loc": { "start": { - "line": 193, + "line": 199, "column": 8 }, "end": { - "line": 193, + "line": 199, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7153, - "end": 7167, + "start": 7413, + "end": 7427, "loc": { "start": { - "line": 193, + "line": 199, "column": 13 }, "end": { - "line": 193, + "line": 199, "column": 27 }, "identifierName": "originalHeight" @@ -13610,86 +14004,86 @@ }, "right": { "type": "LogicalExpression", - "start": 7170, - "end": 7212, + "start": 7430, + "end": 7472, "loc": { "start": { - "line": 193, + "line": 199, "column": 30 }, "end": { - "line": 193, + "line": 199, "column": 72 } }, "left": { "type": "MemberExpression", - "start": 7170, - "end": 7197, + "start": 7430, + "end": 7457, "loc": { "start": { - "line": 193, + "line": 199, "column": 30 }, "end": { - "line": 193, + "line": 199, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 7170, - "end": 7190, + "start": 7430, + "end": 7450, "loc": { "start": { - "line": 193, + "line": 199, "column": 30 }, "end": { - "line": 193, + "line": 199, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 7170, - "end": 7181, + "start": 7430, + "end": 7441, "loc": { "start": { - "line": 193, + "line": 199, "column": 30 }, "end": { - "line": 193, + "line": 199, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 7170, - "end": 7174, + "start": 7430, + "end": 7434, "loc": { "start": { - "line": 193, + "line": 199, "column": 30 }, "end": { - "line": 193, + "line": 199, "column": 34 } } }, "property": { "type": "Identifier", - "start": 7175, - "end": 7181, + "start": 7435, + "end": 7441, "loc": { "start": { - "line": 193, + "line": 199, "column": 35 }, "end": { - "line": 193, + "line": 199, "column": 41 }, "identifierName": "player" @@ -13700,15 +14094,15 @@ }, "property": { "type": "Identifier", - "start": 7182, - "end": 7190, + "start": 7442, + "end": 7450, "loc": { "start": { - "line": 193, + "line": 199, "column": 42 }, "end": { - "line": 193, + "line": 199, "column": 50 }, "identifierName": "options_" @@ -13719,15 +14113,15 @@ }, "property": { "type": "Identifier", - "start": 7191, - "end": 7197, + "start": 7451, + "end": 7457, "loc": { "start": { - "line": 193, + "line": 199, "column": 51 }, "end": { - "line": 193, + "line": 199, "column": 57 }, "identifierName": "height" @@ -13739,29 +14133,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 7201, - "end": 7212, + "start": 7461, + "end": 7472, "loc": { "start": { - "line": 193, + "line": 199, "column": 61 }, "end": { - "line": 193, + "line": 199, "column": 72 } }, "object": { "type": "Identifier", - "start": 7201, - "end": 7205, + "start": 7461, + "end": 7465, "loc": { "start": { - "line": 193, + "line": 199, "column": 61 }, "end": { - "line": 193, + "line": 199, "column": 65 }, "identifierName": "rect" @@ -13770,15 +14164,15 @@ }, "property": { "type": "Identifier", - "start": 7206, - "end": 7212, + "start": 7466, + "end": 7472, "loc": { "start": { - "line": 193, + "line": 199, "column": 66 }, "end": { - "line": 193, + "line": 199, "column": 72 }, "identifierName": "height" @@ -13793,15 +14187,15 @@ { "type": "CommentLine", "value": " controlbar", - "start": 7223, - "end": 7236, + "start": 7483, + "end": 7496, "loc": { "start": { - "line": 195, + "line": 201, "column": 8 }, "end": { - "line": 195, + "line": 201, "column": 21 } } @@ -13810,44 +14204,44 @@ }, { "type": "VariableDeclaration", - "start": 7245, - "end": 7300, + "start": 7505, + "end": 7560, "loc": { "start": { - "line": 196, + "line": 202, "column": 8 }, "end": { - "line": 196, + "line": 202, "column": 63 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7249, - "end": 7299, + "start": 7509, + "end": 7559, "loc": { "start": { - "line": 196, + "line": 202, "column": 12 }, "end": { - "line": 196, + "line": 202, "column": 62 } }, "id": { "type": "Identifier", - "start": 7249, - "end": 7265, + "start": 7509, + "end": 7525, "loc": { "start": { - "line": 196, + "line": 202, "column": 12 }, "end": { - "line": 196, + "line": 202, "column": 28 }, "identifierName": "controlBarHeight" @@ -13857,86 +14251,86 @@ }, "init": { "type": "CallExpression", - "start": 7268, - "end": 7299, + "start": 7528, + "end": 7559, "loc": { "start": { - "line": 196, + "line": 202, "column": 31 }, "end": { - "line": 196, + "line": 202, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 7268, - "end": 7297, + "start": 7528, + "end": 7557, "loc": { "start": { - "line": 196, + "line": 202, "column": 31 }, "end": { - "line": 196, + "line": 202, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 7268, - "end": 7290, + "start": 7528, + "end": 7550, "loc": { "start": { - "line": 196, + "line": 202, "column": 31 }, "end": { - "line": 196, + "line": 202, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 7268, - "end": 7279, + "start": 7528, + "end": 7539, "loc": { "start": { - "line": 196, + "line": 202, "column": 31 }, "end": { - "line": 196, + "line": 202, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 7268, - "end": 7272, + "start": 7528, + "end": 7532, "loc": { "start": { - "line": 196, + "line": 202, "column": 31 }, "end": { - "line": 196, + "line": 202, "column": 35 } } }, "property": { "type": "Identifier", - "start": 7273, - "end": 7279, + "start": 7533, + "end": 7539, "loc": { "start": { - "line": 196, + "line": 202, "column": 36 }, "end": { - "line": 196, + "line": 202, "column": 42 }, "identifierName": "player" @@ -13947,15 +14341,15 @@ }, "property": { "type": "Identifier", - "start": 7280, - "end": 7290, + "start": 7540, + "end": 7550, "loc": { "start": { - "line": 196, + "line": 202, "column": 43 }, "end": { - "line": 196, + "line": 202, "column": 53 }, "identifierName": "controlBar" @@ -13966,15 +14360,15 @@ }, "property": { "type": "Identifier", - "start": 7291, - "end": 7297, + "start": 7551, + "end": 7557, "loc": { "start": { - "line": 196, + "line": 202, "column": 54 }, "end": { - "line": 196, + "line": 202, "column": 60 }, "identifierName": "height" @@ -13993,15 +14387,15 @@ { "type": "CommentLine", "value": " controlbar", - "start": 7223, - "end": 7236, + "start": 7483, + "end": 7496, "loc": { "start": { - "line": 195, + "line": 201, "column": 8 }, "end": { - "line": 195, + "line": 201, "column": 21 } } @@ -14010,114 +14404,114 @@ }, { "type": "IfStatement", - "start": 7309, - "end": 7639, + "start": 7569, + "end": 7899, "loc": { "start": { - "line": 197, + "line": 203, "column": 8 }, "end": { - "line": 202, + "line": 208, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 7313, - "end": 7377, + "start": 7573, + "end": 7637, "loc": { "start": { - "line": 197, + "line": 203, "column": 12 }, "end": { - "line": 197, + "line": 203, "column": 76 } }, "left": { "type": "BinaryExpression", - "start": 7313, - "end": 7351, + "start": 7573, + "end": 7611, "loc": { "start": { - "line": 197, + "line": 203, "column": 12 }, "end": { - "line": 197, + "line": 203, "column": 50 } }, "left": { "type": "MemberExpression", - "start": 7313, - "end": 7342, + "start": 7573, + "end": 7602, "loc": { "start": { - "line": 197, + "line": 203, "column": 12 }, "end": { - "line": 197, + "line": 203, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 7313, - "end": 7333, + "start": 7573, + "end": 7593, "loc": { "start": { - "line": 197, + "line": 203, "column": 12 }, "end": { - "line": 197, + "line": 203, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 7313, - "end": 7324, + "start": 7573, + "end": 7584, "loc": { "start": { - "line": 197, + "line": 203, "column": 12 }, "end": { - "line": 197, + "line": 203, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 7313, - "end": 7317, + "start": 7573, + "end": 7577, "loc": { "start": { - "line": 197, + "line": 203, "column": 12 }, "end": { - "line": 197, + "line": 203, "column": 16 } } }, "property": { "type": "Identifier", - "start": 7318, - "end": 7324, + "start": 7578, + "end": 7584, "loc": { "start": { - "line": 197, + "line": 203, "column": 17 }, "end": { - "line": 197, + "line": 203, "column": 23 }, "identifierName": "player" @@ -14128,15 +14522,15 @@ }, "property": { "type": "Identifier", - "start": 7325, - "end": 7333, + "start": 7585, + "end": 7593, "loc": { "start": { - "line": 197, + "line": 203, "column": 24 }, "end": { - "line": 197, + "line": 203, "column": 32 }, "identifierName": "options_" @@ -14147,15 +14541,15 @@ }, "property": { "type": "Identifier", - "start": 7334, - "end": 7342, + "start": 7594, + "end": 7602, "loc": { "start": { - "line": 197, + "line": 203, "column": 33 }, "end": { - "line": 197, + "line": 203, "column": 41 }, "identifierName": "controls" @@ -14167,15 +14561,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 7347, - "end": 7351, + "start": 7607, + "end": 7611, "loc": { "start": { - "line": 197, + "line": 203, "column": 46 }, "end": { - "line": 197, + "line": 203, "column": 50 } }, @@ -14185,29 +14579,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 7355, - "end": 7377, + "start": 7615, + "end": 7637, "loc": { "start": { - "line": 197, + "line": 203, "column": 54 }, "end": { - "line": 197, + "line": 203, "column": 76 } }, "left": { "type": "Identifier", - "start": 7355, - "end": 7371, + "start": 7615, + "end": 7631, "loc": { "start": { - "line": 197, + "line": 203, "column": 54 }, "end": { - "line": 197, + "line": 203, "column": 70 }, "identifierName": "controlBarHeight" @@ -14217,15 +14611,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 7376, - "end": 7377, + "start": 7636, + "end": 7637, "loc": { "start": { - "line": 197, + "line": 203, "column": 75 }, "end": { - "line": 197, + "line": 203, "column": 76 } }, @@ -14239,59 +14633,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 7379, - "end": 7639, + "start": 7639, + "end": 7899, "loc": { "start": { - "line": 197, + "line": 203, "column": 78 }, "end": { - "line": 202, + "line": 208, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 7607, - "end": 7629, + "start": 7867, + "end": 7889, "loc": { "start": { - "line": 201, + "line": 207, "column": 12 }, "end": { - "line": 201, + "line": 207, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 7607, - "end": 7628, + "start": 7867, + "end": 7888, "loc": { "start": { - "line": 201, + "line": 207, "column": 12 }, "end": { - "line": 201, + "line": 207, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7607, - "end": 7623, + "start": 7867, + "end": 7883, "loc": { "start": { - "line": 201, + "line": 207, "column": 12 }, "end": { - "line": 201, + "line": 207, "column": 28 }, "identifierName": "controlBarHeight" @@ -14301,15 +14695,15 @@ }, "right": { "type": "NumericLiteral", - "start": 7626, - "end": 7628, + "start": 7886, + "end": 7888, "loc": { "start": { - "line": 201, + "line": 207, "column": 31 }, "end": { - "line": 201, + "line": 207, "column": 33 } }, @@ -14325,15 +14719,15 @@ { "type": "CommentLine", "value": " the dimensions of the controlbar are not known yet, but we", - "start": 7393, - "end": 7454, + "start": 7653, + "end": 7714, "loc": { "start": { - "line": 198, + "line": 204, "column": 12 }, "end": { - "line": 198, + "line": 204, "column": 73 } } @@ -14341,15 +14735,15 @@ { "type": "CommentLine", "value": " need it now, so we can calculate the height of the waveform.", - "start": 7467, - "end": 7530, + "start": 7727, + "end": 7790, "loc": { "start": { - "line": 199, + "line": 205, "column": 12 }, "end": { - "line": 199, + "line": 205, "column": 75 } } @@ -14357,15 +14751,15 @@ { "type": "CommentLine", "value": " The default height is 30px, so use that instead.", - "start": 7543, - "end": 7594, + "start": 7803, + "end": 7854, "loc": { "start": { - "line": 200, + "line": 206, "column": 12 }, "end": { - "line": 200, + "line": 206, "column": 63 } } @@ -14381,15 +14775,15 @@ { "type": "CommentLine", "value": " set waveform element and dimensions", - "start": 7649, - "end": 7687, + "start": 7909, + "end": 7947, "loc": { "start": { - "line": 204, + "line": 210, "column": 8 }, "end": { - "line": 204, + "line": 210, "column": 46 } } @@ -14397,15 +14791,15 @@ { "type": "CommentLine", "value": " Set the container to player's container if \"container\" option is", - "start": 7696, - "end": 7763, + "start": 7956, + "end": 8023, "loc": { "start": { - "line": 205, + "line": 211, "column": 8 }, "end": { - "line": 205, + "line": 211, "column": 75 } } @@ -14413,15 +14807,15 @@ { "type": "CommentLine", "value": " not provided. If a waveform needs to be appended to your custom", - "start": 7772, - "end": 7838, + "start": 8032, + "end": 8098, "loc": { "start": { - "line": 206, + "line": 212, "column": 8 }, "end": { - "line": 206, + "line": 212, "column": 74 } } @@ -14429,15 +14823,15 @@ { "type": "CommentLine", "value": " element, then use below option. For example:", - "start": 7847, - "end": 7894, + "start": 8107, + "end": 8154, "loc": { "start": { - "line": 207, + "line": 213, "column": 8 }, "end": { - "line": 207, + "line": 213, "column": 55 } } @@ -14445,15 +14839,15 @@ { "type": "CommentLine", "value": " container: document.querySelector(\"#vjs-waveform\")", - "start": 7903, - "end": 7956, + "start": 8163, + "end": 8216, "loc": { "start": { - "line": 208, + "line": 214, "column": 8 }, "end": { - "line": 208, + "line": 214, "column": 61 } } @@ -14462,57 +14856,57 @@ }, { "type": "IfStatement", - "start": 7965, - "end": 8068, + "start": 8225, + "end": 8328, "loc": { "start": { - "line": 209, + "line": 215, "column": 8 }, "end": { - "line": 211, + "line": 217, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 7969, - "end": 8003, + "start": 8229, + "end": 8263, "loc": { "start": { - "line": 209, + "line": 215, "column": 12 }, "end": { - "line": 209, + "line": 215, "column": 46 } }, "left": { "type": "MemberExpression", - "start": 7969, - "end": 7989, + "start": 8229, + "end": 8249, "loc": { "start": { - "line": 209, + "line": 215, "column": 12 }, "end": { - "line": 209, + "line": 215, "column": 32 } }, "object": { "type": "Identifier", - "start": 7969, - "end": 7979, + "start": 8229, + "end": 8239, "loc": { "start": { - "line": 209, + "line": 215, "column": 12 }, "end": { - "line": 209, + "line": 215, "column": 22 }, "identifierName": "surferOpts" @@ -14522,15 +14916,15 @@ }, "property": { "type": "Identifier", - "start": 7980, - "end": 7989, + "start": 8240, + "end": 8249, "loc": { "start": { - "line": 209, + "line": 215, "column": 23 }, "end": { - "line": 209, + "line": 215, "column": 32 }, "identifierName": "container" @@ -14543,15 +14937,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 7994, - "end": 8003, + "start": 8254, + "end": 8263, "loc": { "start": { - "line": 209, + "line": 215, "column": 37 }, "end": { - "line": 209, + "line": 215, "column": 46 }, "identifierName": "undefined" @@ -14562,73 +14956,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 8005, - "end": 8068, + "start": 8265, + "end": 8328, "loc": { "start": { - "line": 209, + "line": 215, "column": 48 }, "end": { - "line": 211, + "line": 217, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8019, - "end": 8058, + "start": 8279, + "end": 8318, "loc": { "start": { - "line": 210, + "line": 216, "column": 12 }, "end": { - "line": 210, + "line": 216, "column": 51 } }, "expression": { "type": "AssignmentExpression", - "start": 8019, - "end": 8057, + "start": 8279, + "end": 8317, "loc": { "start": { - "line": 210, + "line": 216, "column": 12 }, "end": { - "line": 210, + "line": 216, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8019, - "end": 8039, + "start": 8279, + "end": 8299, "loc": { "start": { - "line": 210, + "line": 216, "column": 12 }, "end": { - "line": 210, + "line": 216, "column": 32 } }, "object": { "type": "Identifier", - "start": 8019, - "end": 8029, + "start": 8279, + "end": 8289, "loc": { "start": { - "line": 210, + "line": 216, "column": 12 }, "end": { - "line": 210, + "line": 216, "column": 22 }, "identifierName": "surferOpts" @@ -14637,15 +15031,15 @@ }, "property": { "type": "Identifier", - "start": 8030, - "end": 8039, + "start": 8290, + "end": 8299, "loc": { "start": { - "line": 210, + "line": 216, "column": 23 }, "end": { - "line": 210, + "line": 216, "column": 32 }, "identifierName": "container" @@ -14656,58 +15050,58 @@ }, "right": { "type": "MemberExpression", - "start": 8042, - "end": 8057, + "start": 8302, + "end": 8317, "loc": { "start": { - "line": 210, + "line": 216, "column": 35 }, "end": { - "line": 210, + "line": 216, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 8042, - "end": 8053, + "start": 8302, + "end": 8313, "loc": { "start": { - "line": 210, + "line": 216, "column": 35 }, "end": { - "line": 210, + "line": 216, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 8042, - "end": 8046, + "start": 8302, + "end": 8306, "loc": { "start": { - "line": 210, + "line": 216, "column": 35 }, "end": { - "line": 210, + "line": 216, "column": 39 } } }, "property": { "type": "Identifier", - "start": 8047, - "end": 8053, + "start": 8307, + "end": 8313, "loc": { "start": { - "line": 210, + "line": 216, "column": 40 }, "end": { - "line": 210, + "line": 216, "column": 46 }, "identifierName": "player" @@ -14718,15 +15112,15 @@ }, "property": { "type": "Identifier", - "start": 8054, - "end": 8057, + "start": 8314, + "end": 8317, "loc": { "start": { - "line": 210, + "line": 216, "column": 47 }, "end": { - "line": 210, + "line": 216, "column": 50 }, "identifierName": "el_" @@ -14746,15 +15140,15 @@ { "type": "CommentLine", "value": " set waveform element and dimensions", - "start": 7649, - "end": 7687, + "start": 7909, + "end": 7947, "loc": { "start": { - "line": 204, + "line": 210, "column": 8 }, "end": { - "line": 204, + "line": 210, "column": 46 } } @@ -14762,15 +15156,15 @@ { "type": "CommentLine", "value": " Set the container to player's container if \"container\" option is", - "start": 7696, - "end": 7763, + "start": 7956, + "end": 8023, "loc": { "start": { - "line": 205, + "line": 211, "column": 8 }, "end": { - "line": 205, + "line": 211, "column": 75 } } @@ -14778,15 +15172,15 @@ { "type": "CommentLine", "value": " not provided. If a waveform needs to be appended to your custom", - "start": 7772, - "end": 7838, + "start": 8032, + "end": 8098, "loc": { "start": { - "line": 206, + "line": 212, "column": 8 }, "end": { - "line": 206, + "line": 212, "column": 74 } } @@ -14794,15 +15188,15 @@ { "type": "CommentLine", "value": " element, then use below option. For example:", - "start": 7847, - "end": 7894, + "start": 8107, + "end": 8154, "loc": { "start": { - "line": 207, + "line": 213, "column": 8 }, "end": { - "line": 207, + "line": 213, "column": 55 } } @@ -14810,15 +15204,15 @@ { "type": "CommentLine", "value": " container: document.querySelector(\"#vjs-waveform\")", - "start": 7903, - "end": 7956, + "start": 8163, + "end": 8216, "loc": { "start": { - "line": 208, + "line": 214, "column": 8 }, "end": { - "line": 208, + "line": 214, "column": 61 } } @@ -14828,15 +15222,15 @@ { "type": "CommentLine", "value": " set the height of generated waveform if user has provided height", - "start": 8078, - "end": 8145, + "start": 8338, + "end": 8405, "loc": { "start": { - "line": 213, + "line": 219, "column": 8 }, "end": { - "line": 213, + "line": 219, "column": 75 } } @@ -14844,15 +15238,15 @@ { "type": "CommentLine", "value": " from options. If height of waveform need to be customized then use", - "start": 8154, - "end": 8223, + "start": 8414, + "end": 8483, "loc": { "start": { - "line": 214, + "line": 220, "column": 8 }, "end": { - "line": 214, + "line": 220, "column": 77 } } @@ -14860,15 +15254,15 @@ { "type": "CommentLine", "value": " option below. For example: waveformHeight: 30", - "start": 8232, - "end": 8280, + "start": 8492, + "end": 8540, "loc": { "start": { - "line": 215, + "line": 221, "column": 8 }, "end": { - "line": 215, + "line": 221, "column": 56 } } @@ -14877,57 +15271,57 @@ }, { "type": "IfStatement", - "start": 8289, - "end": 8530, + "start": 8549, + "end": 8790, "loc": { "start": { - "line": 216, + "line": 222, "column": 8 }, "end": { - "line": 221, + "line": 227, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 8293, - "end": 8332, + "start": 8553, + "end": 8592, "loc": { "start": { - "line": 216, + "line": 222, "column": 12 }, "end": { - "line": 216, + "line": 222, "column": 51 } }, "left": { "type": "MemberExpression", - "start": 8293, - "end": 8318, + "start": 8553, + "end": 8578, "loc": { "start": { - "line": 216, + "line": 222, "column": 12 }, "end": { - "line": 216, + "line": 222, "column": 37 } }, "object": { "type": "Identifier", - "start": 8293, - "end": 8303, + "start": 8553, + "end": 8563, "loc": { "start": { - "line": 216, + "line": 222, "column": 12 }, "end": { - "line": 216, + "line": 222, "column": 22 }, "identifierName": "surferOpts" @@ -14937,15 +15331,15 @@ }, "property": { "type": "Identifier", - "start": 8304, - "end": 8318, + "start": 8564, + "end": 8578, "loc": { "start": { - "line": 216, + "line": 222, "column": 23 }, "end": { - "line": 216, + "line": 222, "column": 37 }, "identifierName": "waveformHeight" @@ -14958,15 +15352,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 8323, - "end": 8332, + "start": 8583, + "end": 8592, "loc": { "start": { - "line": 216, + "line": 222, "column": 42 }, "end": { - "line": 216, + "line": 222, "column": 51 }, "identifierName": "undefined" @@ -14977,59 +15371,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 8334, - "end": 8454, + "start": 8594, + "end": 8714, "loc": { "start": { - "line": 216, + "line": 222, "column": 53 }, "end": { - "line": 219, + "line": 225, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 8348, - "end": 8379, + "start": 8608, + "end": 8639, "loc": { "start": { - "line": 217, + "line": 223, "column": 12 }, "end": { - "line": 217, + "line": 223, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8352, - "end": 8378, + "start": 8612, + "end": 8638, "loc": { "start": { - "line": 217, + "line": 223, "column": 16 }, "end": { - "line": 217, + "line": 223, "column": 42 } }, "id": { "type": "Identifier", - "start": 8352, - "end": 8364, + "start": 8612, + "end": 8624, "loc": { "start": { - "line": 217, + "line": 223, "column": 16 }, "end": { - "line": 217, + "line": 223, "column": 28 }, "identifierName": "playerHeight" @@ -15038,29 +15432,29 @@ }, "init": { "type": "MemberExpression", - "start": 8367, - "end": 8378, + "start": 8627, + "end": 8638, "loc": { "start": { - "line": 217, + "line": 223, "column": 31 }, "end": { - "line": 217, + "line": 223, "column": 42 } }, "object": { "type": "Identifier", - "start": 8367, - "end": 8371, + "start": 8627, + "end": 8631, "loc": { "start": { - "line": 217, + "line": 223, "column": 31 }, "end": { - "line": 217, + "line": 223, "column": 35 }, "identifierName": "rect" @@ -15069,15 +15463,15 @@ }, "property": { "type": "Identifier", - "start": 8372, - "end": 8378, + "start": 8632, + "end": 8638, "loc": { "start": { - "line": 217, + "line": 223, "column": 36 }, "end": { - "line": 217, + "line": 223, "column": 42 }, "identifierName": "height" @@ -15092,58 +15486,58 @@ }, { "type": "ExpressionStatement", - "start": 8392, - "end": 8444, + "start": 8652, + "end": 8704, "loc": { "start": { - "line": 218, + "line": 224, "column": 12 }, "end": { - "line": 218, + "line": 224, "column": 64 } }, "expression": { "type": "AssignmentExpression", - "start": 8392, - "end": 8443, + "start": 8652, + "end": 8703, "loc": { "start": { - "line": 218, + "line": 224, "column": 12 }, "end": { - "line": 218, + "line": 224, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8392, - "end": 8409, + "start": 8652, + "end": 8669, "loc": { "start": { - "line": 218, + "line": 224, "column": 12 }, "end": { - "line": 218, + "line": 224, "column": 29 } }, "object": { "type": "Identifier", - "start": 8392, - "end": 8402, + "start": 8652, + "end": 8662, "loc": { "start": { - "line": 218, + "line": 224, "column": 12 }, "end": { - "line": 218, + "line": 224, "column": 22 }, "identifierName": "surferOpts" @@ -15152,15 +15546,15 @@ }, "property": { "type": "Identifier", - "start": 8403, - "end": 8409, + "start": 8663, + "end": 8669, "loc": { "start": { - "line": 218, + "line": 224, "column": 23 }, "end": { - "line": 218, + "line": 224, "column": 29 }, "identifierName": "height" @@ -15171,29 +15565,29 @@ }, "right": { "type": "BinaryExpression", - "start": 8412, - "end": 8443, + "start": 8672, + "end": 8703, "loc": { "start": { - "line": 218, + "line": 224, "column": 32 }, "end": { - "line": 218, + "line": 224, "column": 63 } }, "left": { "type": "Identifier", - "start": 8412, - "end": 8424, + "start": 8672, + "end": 8684, "loc": { "start": { - "line": 218, + "line": 224, "column": 32 }, "end": { - "line": 218, + "line": 224, "column": 44 }, "identifierName": "playerHeight" @@ -15203,15 +15597,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 8427, - "end": 8443, + "start": 8687, + "end": 8703, "loc": { "start": { - "line": 218, + "line": 224, "column": 47 }, "end": { - "line": 218, + "line": 224, "column": 63 }, "identifierName": "controlBarHeight" @@ -15226,73 +15620,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 8460, - "end": 8530, + "start": 8720, + "end": 8790, "loc": { "start": { - "line": 219, + "line": 225, "column": 15 }, "end": { - "line": 221, + "line": 227, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8474, - "end": 8520, + "start": 8734, + "end": 8780, "loc": { "start": { - "line": 220, + "line": 226, "column": 12 }, "end": { - "line": 220, + "line": 226, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 8474, - "end": 8519, + "start": 8734, + "end": 8779, "loc": { "start": { - "line": 220, + "line": 226, "column": 12 }, "end": { - "line": 220, + "line": 226, "column": 57 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8474, - "end": 8491, + "start": 8734, + "end": 8751, "loc": { "start": { - "line": 220, + "line": 226, "column": 12 }, "end": { - "line": 220, + "line": 226, "column": 29 } }, "object": { "type": "Identifier", - "start": 8474, - "end": 8484, + "start": 8734, + "end": 8744, "loc": { "start": { - "line": 220, + "line": 226, "column": 12 }, "end": { - "line": 220, + "line": 226, "column": 22 }, "identifierName": "surferOpts" @@ -15301,15 +15695,15 @@ }, "property": { "type": "Identifier", - "start": 8485, - "end": 8491, + "start": 8745, + "end": 8751, "loc": { "start": { - "line": 220, + "line": 226, "column": 23 }, "end": { - "line": 220, + "line": 226, "column": 29 }, "identifierName": "height" @@ -15320,29 +15714,29 @@ }, "right": { "type": "MemberExpression", - "start": 8494, - "end": 8519, + "start": 8754, + "end": 8779, "loc": { "start": { - "line": 220, + "line": 226, "column": 32 }, "end": { - "line": 220, + "line": 226, "column": 57 } }, "object": { "type": "Identifier", - "start": 8494, - "end": 8504, + "start": 8754, + "end": 8764, "loc": { "start": { - "line": 220, + "line": 226, "column": 32 }, "end": { - "line": 220, + "line": 226, "column": 42 }, "identifierName": "surferOpts" @@ -15351,15 +15745,15 @@ }, "property": { "type": "Identifier", - "start": 8505, - "end": 8519, + "start": 8765, + "end": 8779, "loc": { "start": { - "line": 220, + "line": 226, "column": 43 }, "end": { - "line": 220, + "line": 226, "column": 57 }, "identifierName": "waveformHeight" @@ -15378,15 +15772,15 @@ { "type": "CommentLine", "value": " set the height of generated waveform if user has provided height", - "start": 8078, - "end": 8145, + "start": 8338, + "end": 8405, "loc": { "start": { - "line": 213, + "line": 219, "column": 8 }, "end": { - "line": 213, + "line": 219, "column": 75 } } @@ -15394,15 +15788,15 @@ { "type": "CommentLine", "value": " from options. If height of waveform need to be customized then use", - "start": 8154, - "end": 8223, + "start": 8414, + "end": 8483, "loc": { "start": { - "line": 214, + "line": 220, "column": 8 }, "end": { - "line": 214, + "line": 220, "column": 77 } } @@ -15410,15 +15804,15 @@ { "type": "CommentLine", "value": " option below. For example: waveformHeight: 30", - "start": 8232, - "end": 8280, + "start": 8492, + "end": 8540, "loc": { "start": { - "line": 215, + "line": 221, "column": 8 }, "end": { - "line": 215, + "line": 221, "column": 56 } } @@ -15428,15 +15822,15 @@ { "type": "CommentLine", "value": " split channels", - "start": 8540, - "end": 8557, + "start": 8800, + "end": 8817, "loc": { "start": { - "line": 223, + "line": 229, "column": 8 }, "end": { - "line": 223, + "line": 229, "column": 25 } } @@ -15445,57 +15839,57 @@ }, { "type": "IfStatement", - "start": 8566, - "end": 8680, + "start": 8826, + "end": 8940, "loc": { "start": { - "line": 224, + "line": 230, "column": 8 }, "end": { - "line": 226, + "line": 232, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 8570, - "end": 8631, + "start": 8830, + "end": 8891, "loc": { "start": { - "line": 224, + "line": 230, "column": 12 }, "end": { - "line": 224, + "line": 230, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 8570, - "end": 8594, + "start": 8830, + "end": 8854, "loc": { "start": { - "line": 224, + "line": 230, "column": 12 }, "end": { - "line": 224, + "line": 230, "column": 36 } }, "object": { "type": "Identifier", - "start": 8570, - "end": 8580, + "start": 8830, + "end": 8840, "loc": { "start": { - "line": 224, + "line": 230, "column": 12 }, "end": { - "line": 224, + "line": 230, "column": 22 }, "identifierName": "surferOpts" @@ -15505,15 +15899,15 @@ }, "property": { "type": "Identifier", - "start": 8581, - "end": 8594, + "start": 8841, + "end": 8854, "loc": { "start": { - "line": 224, + "line": 230, "column": 23 }, "end": { - "line": 224, + "line": 230, "column": 36 }, "identifierName": "splitChannels" @@ -15526,43 +15920,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 8598, - "end": 8631, + "start": 8858, + "end": 8891, "loc": { "start": { - "line": 224, + "line": 230, "column": 40 }, "end": { - "line": 224, + "line": 230, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 8598, - "end": 8622, + "start": 8858, + "end": 8882, "loc": { "start": { - "line": 224, + "line": 230, "column": 40 }, "end": { - "line": 224, + "line": 230, "column": 64 } }, "object": { "type": "Identifier", - "start": 8598, - "end": 8608, + "start": 8858, + "end": 8868, "loc": { "start": { - "line": 224, + "line": 230, "column": 40 }, "end": { - "line": 224, + "line": 230, "column": 50 }, "identifierName": "surferOpts" @@ -15571,15 +15965,15 @@ }, "property": { "type": "Identifier", - "start": 8609, - "end": 8622, + "start": 8869, + "end": 8882, "loc": { "start": { - "line": 224, + "line": 230, "column": 51 }, "end": { - "line": 224, + "line": 230, "column": 64 }, "identifierName": "splitChannels" @@ -15591,15 +15985,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 8627, - "end": 8631, + "start": 8887, + "end": 8891, "loc": { "start": { - "line": 224, + "line": 230, "column": 69 }, "end": { - "line": 224, + "line": 230, "column": 73 } }, @@ -15610,73 +16004,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 8633, - "end": 8680, + "start": 8893, + "end": 8940, "loc": { "start": { - "line": 224, + "line": 230, "column": 75 }, "end": { - "line": 226, + "line": 232, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8647, - "end": 8670, + "start": 8907, + "end": 8930, "loc": { "start": { - "line": 225, + "line": 231, "column": 12 }, "end": { - "line": 225, + "line": 231, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 8647, - "end": 8669, + "start": 8907, + "end": 8929, "loc": { "start": { - "line": 225, + "line": 231, "column": 12 }, "end": { - "line": 225, + "line": 231, "column": 34 } }, "operator": "/=", "left": { "type": "MemberExpression", - "start": 8647, - "end": 8664, + "start": 8907, + "end": 8924, "loc": { "start": { - "line": 225, + "line": 231, "column": 12 }, "end": { - "line": 225, + "line": 231, "column": 29 } }, "object": { "type": "Identifier", - "start": 8647, - "end": 8657, + "start": 8907, + "end": 8917, "loc": { "start": { - "line": 225, + "line": 231, "column": 12 }, "end": { - "line": 225, + "line": 231, "column": 22 }, "identifierName": "surferOpts" @@ -15685,15 +16079,15 @@ }, "property": { "type": "Identifier", - "start": 8658, - "end": 8664, + "start": 8918, + "end": 8924, "loc": { "start": { - "line": 225, + "line": 231, "column": 23 }, "end": { - "line": 225, + "line": 231, "column": 29 }, "identifierName": "height" @@ -15704,15 +16098,15 @@ }, "right": { "type": "NumericLiteral", - "start": 8668, - "end": 8669, + "start": 8928, + "end": 8929, "loc": { "start": { - "line": 225, + "line": 231, "column": 33 }, "end": { - "line": 225, + "line": 231, "column": 34 } }, @@ -15733,15 +16127,15 @@ { "type": "CommentLine", "value": " split channels", - "start": 8540, - "end": 8557, + "start": 8800, + "end": 8817, "loc": { "start": { - "line": 223, + "line": 229, "column": 8 }, "end": { - "line": 223, + "line": 229, "column": 25 } } @@ -15751,15 +16145,15 @@ { "type": "CommentLine", "value": " use MediaElement as default wavesurfer.js backend if one is not", - "start": 8690, - "end": 8756, + "start": 8950, + "end": 9016, "loc": { "start": { - "line": 228, + "line": 234, "column": 8 }, "end": { - "line": 228, + "line": 234, "column": 74 } } @@ -15767,15 +16161,15 @@ { "type": "CommentLine", "value": " specified", - "start": 8765, - "end": 8777, + "start": 9025, + "end": 9037, "loc": { "start": { - "line": 229, + "line": 235, "column": 8 }, "end": { - "line": 229, + "line": 235, "column": 20 } } @@ -15784,43 +16178,43 @@ }, { "type": "IfStatement", - "start": 8786, - "end": 8952, + "start": 9046, + "end": 9212, "loc": { "start": { - "line": 230, + "line": 236, "column": 8 }, "end": { - "line": 234, + "line": 240, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 8790, - "end": 8813, + "start": 9050, + "end": 9073, "loc": { "start": { - "line": 230, + "line": 236, "column": 12 }, "end": { - "line": 230, + "line": 236, "column": 35 } }, "left": { "type": "StringLiteral", - "start": 8790, - "end": 8799, + "start": 9050, + "end": 9059, "loc": { "start": { - "line": 230, + "line": 236, "column": 12 }, "end": { - "line": 230, + "line": 236, "column": 21 } }, @@ -15834,15 +16228,15 @@ "operator": "in", "right": { "type": "Identifier", - "start": 8803, - "end": 8813, + "start": 9063, + "end": 9073, "loc": { "start": { - "line": 230, + "line": 236, "column": 25 }, "end": { - "line": 230, + "line": 236, "column": 35 }, "identifierName": "surferOpts" @@ -15853,88 +16247,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 8815, - "end": 8873, + "start": 9075, + "end": 9133, "loc": { "start": { - "line": 230, + "line": 236, "column": 37 }, "end": { - "line": 232, + "line": 238, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8829, - "end": 8863, + "start": 9089, + "end": 9123, "loc": { "start": { - "line": 231, + "line": 237, "column": 12 }, "end": { - "line": 231, + "line": 237, "column": 46 } }, "expression": { "type": "AssignmentExpression", - "start": 8829, - "end": 8862, + "start": 9089, + "end": 9122, "loc": { "start": { - "line": 231, + "line": 237, "column": 12 }, "end": { - "line": 231, + "line": 237, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8829, - "end": 8841, + "start": 9089, + "end": 9101, "loc": { "start": { - "line": 231, + "line": 237, "column": 12 }, "end": { - "line": 231, + "line": 237, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 8829, - "end": 8833, + "start": 9089, + "end": 9093, "loc": { "start": { - "line": 231, + "line": 237, "column": 12 }, "end": { - "line": 231, + "line": 237, "column": 16 } } }, "property": { "type": "Identifier", - "start": 8834, - "end": 8841, + "start": 9094, + "end": 9101, "loc": { "start": { - "line": 231, + "line": 237, "column": 17 }, "end": { - "line": 231, + "line": 237, "column": 24 }, "identifierName": "backend" @@ -15945,29 +16339,29 @@ }, "right": { "type": "MemberExpression", - "start": 8844, - "end": 8862, + "start": 9104, + "end": 9122, "loc": { "start": { - "line": 231, + "line": 237, "column": 27 }, "end": { - "line": 231, + "line": 237, "column": 45 } }, "object": { "type": "Identifier", - "start": 8844, - "end": 8854, + "start": 9104, + "end": 9114, "loc": { "start": { - "line": 231, + "line": 237, "column": 27 }, "end": { - "line": 231, + "line": 237, "column": 37 }, "identifierName": "surferOpts" @@ -15976,15 +16370,15 @@ }, "property": { "type": "Identifier", - "start": 8855, - "end": 8862, + "start": 9115, + "end": 9122, "loc": { "start": { - "line": 231, + "line": 237, "column": 38 }, "end": { - "line": 231, + "line": 237, "column": 45 }, "identifierName": "backend" @@ -16000,73 +16394,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 8879, - "end": 8952, + "start": 9139, + "end": 9212, "loc": { "start": { - "line": 232, + "line": 238, "column": 15 }, "end": { - "line": 234, + "line": 240, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8893, - "end": 8942, + "start": 9153, + "end": 9202, "loc": { "start": { - "line": 233, + "line": 239, "column": 12 }, "end": { - "line": 233, + "line": 239, "column": 61 } }, "expression": { "type": "AssignmentExpression", - "start": 8893, - "end": 8941, + "start": 9153, + "end": 9201, "loc": { "start": { - "line": 233, + "line": 239, "column": 12 }, "end": { - "line": 233, + "line": 239, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8893, - "end": 8911, + "start": 9153, + "end": 9171, "loc": { "start": { - "line": 233, + "line": 239, "column": 12 }, "end": { - "line": 233, + "line": 239, "column": 30 } }, "object": { "type": "Identifier", - "start": 8893, - "end": 8903, + "start": 9153, + "end": 9163, "loc": { "start": { - "line": 233, + "line": 239, "column": 12 }, "end": { - "line": 233, + "line": 239, "column": 22 }, "identifierName": "surferOpts" @@ -16075,15 +16469,15 @@ }, "property": { "type": "Identifier", - "start": 8904, - "end": 8911, + "start": 9164, + "end": 9171, "loc": { "start": { - "line": 233, + "line": 239, "column": 23 }, "end": { - "line": 233, + "line": 239, "column": 30 }, "identifierName": "backend" @@ -16094,59 +16488,59 @@ }, "right": { "type": "AssignmentExpression", - "start": 8914, - "end": 8941, + "start": 9174, + "end": 9201, "loc": { "start": { - "line": 233, + "line": 239, "column": 33 }, "end": { - "line": 233, + "line": 239, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8914, - "end": 8926, + "start": 9174, + "end": 9186, "loc": { "start": { - "line": 233, + "line": 239, "column": 33 }, "end": { - "line": 233, + "line": 239, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 8914, - "end": 8918, + "start": 9174, + "end": 9178, "loc": { "start": { - "line": 233, + "line": 239, "column": 33 }, "end": { - "line": 233, + "line": 239, "column": 37 } } }, "property": { "type": "Identifier", - "start": 8919, - "end": 8926, + "start": 9179, + "end": 9186, "loc": { "start": { - "line": 233, + "line": 239, "column": 38 }, "end": { - "line": 233, + "line": 239, "column": 45 }, "identifierName": "backend" @@ -16157,15 +16551,15 @@ }, "right": { "type": "Identifier", - "start": 8929, - "end": 8941, + "start": 9189, + "end": 9201, "loc": { "start": { - "line": 233, + "line": 239, "column": 48 }, "end": { - "line": 233, + "line": 239, "column": 60 }, "identifierName": "MEDIAELEMENT" @@ -16182,15 +16576,15 @@ { "type": "CommentLine", "value": " use MediaElement as default wavesurfer.js backend if one is not", - "start": 8690, - "end": 8756, + "start": 8950, + "end": 9016, "loc": { "start": { - "line": 228, + "line": 234, "column": 8 }, "end": { - "line": 228, + "line": 234, "column": 74 } } @@ -16198,15 +16592,15 @@ { "type": "CommentLine", "value": " specified", - "start": 8765, - "end": 8777, + "start": 9025, + "end": 9037, "loc": { "start": { - "line": 229, + "line": 235, "column": 8 }, "end": { - "line": 229, + "line": 235, "column": 20 } } @@ -16215,29 +16609,29 @@ }, { "type": "ReturnStatement", - "start": 8962, - "end": 8980, + "start": 9222, + "end": 9240, "loc": { "start": { - "line": 236, + "line": 242, "column": 8 }, "end": { - "line": 236, + "line": 242, "column": 26 } }, "argument": { "type": "Identifier", - "start": 8969, - "end": 8979, + "start": 9229, + "end": 9239, "loc": { "start": { - "line": 236, + "line": 242, "column": 15 }, "end": { - "line": 236, + "line": 242, "column": 25 }, "identifierName": "surferOpts" @@ -16253,15 +16647,15 @@ { "type": "CommentBlock", "value": "*\n * Initializes the waveform options.\n *\n * @private\n * @param {Object} surferOpts - Plugin options.\n * @returns {Object} - Updated `surferOpts` object.\n ", - "start": 6789, - "end": 6972, + "start": 7049, + "end": 7232, "loc": { "start": { - "line": 183, + "line": 189, "column": 4 }, "end": { - "line": 189, + "line": 195, "column": 7 } } @@ -16271,15 +16665,15 @@ { "type": "CommentBlock", "value": "*\n * Starts or stops listening to events related to audio-playback.\n *\n * @param {boolean} enable - Start or stop listening to playback\n * related events.\n * @private\n ", - "start": 8992, - "end": 9192, + "start": 9252, + "end": 9452, "loc": { "start": { - "line": 239, + "line": 245, "column": 4 }, "end": { - "line": 245, + "line": 251, "column": 7 } } @@ -16288,15 +16682,15 @@ }, { "type": "ClassMethod", - "start": 9197, - "end": 9816, + "start": 9457, + "end": 10076, "loc": { "start": { - "line": 246, + "line": 252, "column": 4 }, "end": { - "line": 260, + "line": 266, "column": 5 } }, @@ -16304,15 +16698,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9197, - "end": 9216, + "start": 9457, + "end": 9476, "loc": { "start": { - "line": 246, + "line": 252, "column": 4 }, "end": { - "line": 246, + "line": 252, "column": 23 }, "identifierName": "setupPlaybackEvents" @@ -16328,15 +16722,15 @@ "params": [ { "type": "Identifier", - "start": 9217, - "end": 9223, + "start": 9477, + "end": 9483, "loc": { "start": { - "line": 246, + "line": 252, "column": 24 }, "end": { - "line": 246, + "line": 252, "column": 30 }, "identifierName": "enable" @@ -16346,58 +16740,58 @@ ], "body": { "type": "BlockStatement", - "start": 9225, - "end": 9816, + "start": 9485, + "end": 10076, "loc": { "start": { - "line": 246, + "line": 252, "column": 32 }, "end": { - "line": 260, + "line": 266, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 9235, - "end": 9810, + "start": 9495, + "end": 10070, "loc": { "start": { - "line": 247, + "line": 253, "column": 8 }, "end": { - "line": 259, + "line": 265, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 9239, - "end": 9255, + "start": 9499, + "end": 9515, "loc": { "start": { - "line": 247, + "line": 253, "column": 12 }, "end": { - "line": 247, + "line": 253, "column": 28 } }, "left": { "type": "Identifier", - "start": 9239, - "end": 9245, + "start": 9499, + "end": 9505, "loc": { "start": { - "line": 247, + "line": 253, "column": 12 }, "end": { - "line": 247, + "line": 253, "column": 18 }, "identifierName": "enable" @@ -16407,15 +16801,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 9250, - "end": 9255, + "start": 9510, + "end": 9515, "loc": { "start": { - "line": 247, + "line": 253, "column": 23 }, "end": { - "line": 247, + "line": 253, "column": 28 } }, @@ -16424,101 +16818,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9257, - "end": 9520, + "start": 9517, + "end": 9780, "loc": { "start": { - "line": 247, + "line": 253, "column": 30 }, "end": { - "line": 253, + "line": 259, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9271, - "end": 9317, + "start": 9531, + "end": 9577, "loc": { "start": { - "line": 248, + "line": 254, "column": 12 }, "end": { - "line": 248, + "line": 254, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 9271, - "end": 9316, + "start": 9531, + "end": 9576, "loc": { "start": { - "line": 248, + "line": 254, "column": 12 }, "end": { - "line": 248, + "line": 254, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 9271, - "end": 9285, + "start": 9531, + "end": 9545, "loc": { "start": { - "line": 248, + "line": 254, "column": 12 }, "end": { - "line": 248, + "line": 254, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 9271, - "end": 9282, + "start": 9531, + "end": 9542, "loc": { "start": { - "line": 248, + "line": 254, "column": 12 }, "end": { - "line": 248, + "line": 254, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9271, - "end": 9275, + "start": 9531, + "end": 9535, "loc": { "start": { - "line": 248, + "line": 254, "column": 12 }, "end": { - "line": 248, + "line": 254, "column": 16 } } }, "property": { "type": "Identifier", - "start": 9276, - "end": 9282, + "start": 9536, + "end": 9542, "loc": { "start": { - "line": 248, + "line": 254, "column": 17 }, "end": { - "line": 248, + "line": 254, "column": 23 }, "identifierName": "surfer" @@ -16529,15 +16923,15 @@ }, "property": { "type": "Identifier", - "start": 9283, - "end": 9285, + "start": 9543, + "end": 9545, "loc": { "start": { - "line": 248, + "line": 254, "column": 24 }, "end": { - "line": 248, + "line": 254, "column": 26 }, "identifierName": "un" @@ -16549,29 +16943,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9286, - "end": 9297, + "start": 9546, + "end": 9557, "loc": { "start": { - "line": 248, + "line": 254, "column": 27 }, "end": { - "line": 248, + "line": 254, "column": 38 } }, "object": { "type": "Identifier", - "start": 9286, - "end": 9291, + "start": 9546, + "end": 9551, "loc": { "start": { - "line": 248, + "line": 254, "column": 27 }, "end": { - "line": 248, + "line": 254, "column": 32 }, "identifierName": "Event" @@ -16580,15 +16974,15 @@ }, "property": { "type": "Identifier", - "start": 9292, - "end": 9297, + "start": 9552, + "end": 9557, "loc": { "start": { - "line": 248, + "line": 254, "column": 33 }, "end": { - "line": 248, + "line": 254, "column": 38 }, "identifierName": "READY" @@ -16599,44 +16993,44 @@ }, { "type": "MemberExpression", - "start": 9299, - "end": 9315, + "start": 9559, + "end": 9575, "loc": { "start": { - "line": 248, + "line": 254, "column": 40 }, "end": { - "line": 248, + "line": 254, "column": 56 } }, "object": { "type": "ThisExpression", - "start": 9299, - "end": 9303, + "start": 9559, + "end": 9563, "loc": { "start": { - "line": 248, + "line": 254, "column": 40 }, "end": { - "line": 248, + "line": 254, "column": 44 } } }, "property": { "type": "Identifier", - "start": 9304, - "end": 9315, + "start": 9564, + "end": 9575, "loc": { "start": { - "line": 248, + "line": 254, "column": 45 }, "end": { - "line": 248, + "line": 254, "column": 56 }, "identifierName": "surferReady" @@ -16650,72 +17044,72 @@ }, { "type": "IfStatement", - "start": 9330, - "end": 9510, + "start": 9590, + "end": 9770, "loc": { "start": { - "line": 249, + "line": 255, "column": 12 }, "end": { - "line": 252, + "line": 258, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 9334, - "end": 9359, + "start": 9594, + "end": 9619, "loc": { "start": { - "line": 249, + "line": 255, "column": 16 }, "end": { - "line": 249, + "line": 255, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 9334, - "end": 9346, + "start": 9594, + "end": 9606, "loc": { "start": { - "line": 249, + "line": 255, "column": 16 }, "end": { - "line": 249, + "line": 255, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 9334, - "end": 9338, + "start": 9594, + "end": 9598, "loc": { "start": { - "line": 249, + "line": 255, "column": 16 }, "end": { - "line": 249, + "line": 255, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9339, - "end": 9346, + "start": 9599, + "end": 9606, "loc": { "start": { - "line": 249, + "line": 255, "column": 21 }, "end": { - "line": 249, + "line": 255, "column": 28 }, "identifierName": "backend" @@ -16727,15 +17121,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 9351, - "end": 9359, + "start": 9611, + "end": 9619, "loc": { "start": { - "line": 249, + "line": 255, "column": 33 }, "end": { - "line": 249, + "line": 255, "column": 41 }, "identifierName": "WEBAUDIO" @@ -16745,101 +17139,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9361, - "end": 9510, + "start": 9621, + "end": 9770, "loc": { "start": { - "line": 249, + "line": 255, "column": 43 }, "end": { - "line": 252, + "line": 258, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9379, - "end": 9435, + "start": 9639, + "end": 9695, "loc": { "start": { - "line": 250, + "line": 256, "column": 16 }, "end": { - "line": 250, + "line": 256, "column": 72 } }, "expression": { "type": "CallExpression", - "start": 9379, - "end": 9434, + "start": 9639, + "end": 9694, "loc": { "start": { - "line": 250, + "line": 256, "column": 16 }, "end": { - "line": 250, + "line": 256, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 9379, - "end": 9393, + "start": 9639, + "end": 9653, "loc": { "start": { - "line": 250, + "line": 256, "column": 16 }, "end": { - "line": 250, + "line": 256, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9379, - "end": 9390, + "start": 9639, + "end": 9650, "loc": { "start": { - "line": 250, + "line": 256, "column": 16 }, "end": { - "line": 250, + "line": 256, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9379, - "end": 9383, + "start": 9639, + "end": 9643, "loc": { "start": { - "line": 250, + "line": 256, "column": 16 }, "end": { - "line": 250, + "line": 256, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9384, - "end": 9390, + "start": 9644, + "end": 9650, "loc": { "start": { - "line": 250, + "line": 256, "column": 21 }, "end": { - "line": 250, + "line": 256, "column": 27 }, "identifierName": "surfer" @@ -16850,15 +17244,15 @@ }, "property": { "type": "Identifier", - "start": 9391, - "end": 9393, + "start": 9651, + "end": 9653, "loc": { "start": { - "line": 250, + "line": 256, "column": 28 }, "end": { - "line": 250, + "line": 256, "column": 30 }, "identifierName": "un" @@ -16870,29 +17264,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9394, - "end": 9412, + "start": 9654, + "end": 9672, "loc": { "start": { - "line": 250, + "line": 256, "column": 31 }, "end": { - "line": 250, + "line": 256, "column": 49 } }, "object": { "type": "Identifier", - "start": 9394, - "end": 9399, + "start": 9654, + "end": 9659, "loc": { "start": { - "line": 250, + "line": 256, "column": 31 }, "end": { - "line": 250, + "line": 256, "column": 36 }, "identifierName": "Event" @@ -16901,15 +17295,15 @@ }, "property": { "type": "Identifier", - "start": 9400, - "end": 9412, + "start": 9660, + "end": 9672, "loc": { "start": { - "line": 250, + "line": 256, "column": 37 }, "end": { - "line": 250, + "line": 256, "column": 49 }, "identifierName": "AUDIOPROCESS" @@ -16920,44 +17314,44 @@ }, { "type": "MemberExpression", - "start": 9414, - "end": 9433, + "start": 9674, + "end": 9693, "loc": { "start": { - "line": 250, + "line": 256, "column": 51 }, "end": { - "line": 250, + "line": 256, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 9414, - "end": 9418, + "start": 9674, + "end": 9678, "loc": { "start": { - "line": 250, + "line": 256, "column": 51 }, "end": { - "line": 250, + "line": 256, "column": 55 } } }, "property": { "type": "Identifier", - "start": 9419, - "end": 9433, + "start": 9679, + "end": 9693, "loc": { "start": { - "line": 250, + "line": 256, "column": 56 }, "end": { - "line": 250, + "line": 256, "column": 70 }, "identifierName": "surferProgress" @@ -16971,86 +17365,86 @@ }, { "type": "ExpressionStatement", - "start": 9452, - "end": 9496, + "start": 9712, + "end": 9756, "loc": { "start": { - "line": 251, + "line": 257, "column": 16 }, "end": { - "line": 251, + "line": 257, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 9452, - "end": 9495, + "start": 9712, + "end": 9755, "loc": { "start": { - "line": 251, + "line": 257, "column": 16 }, "end": { - "line": 251, + "line": 257, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 9452, - "end": 9466, + "start": 9712, + "end": 9726, "loc": { "start": { - "line": 251, + "line": 257, "column": 16 }, "end": { - "line": 251, + "line": 257, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9452, - "end": 9463, + "start": 9712, + "end": 9723, "loc": { "start": { - "line": 251, + "line": 257, "column": 16 }, "end": { - "line": 251, + "line": 257, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9452, - "end": 9456, + "start": 9712, + "end": 9716, "loc": { "start": { - "line": 251, + "line": 257, "column": 16 }, "end": { - "line": 251, + "line": 257, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9457, - "end": 9463, + "start": 9717, + "end": 9723, "loc": { "start": { - "line": 251, + "line": 257, "column": 21 }, "end": { - "line": 251, + "line": 257, "column": 27 }, "identifierName": "surfer" @@ -17061,15 +17455,15 @@ }, "property": { "type": "Identifier", - "start": 9464, - "end": 9466, + "start": 9724, + "end": 9726, "loc": { "start": { - "line": 251, + "line": 257, "column": 28 }, "end": { - "line": 251, + "line": 257, "column": 30 }, "identifierName": "un" @@ -17081,29 +17475,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9467, - "end": 9477, + "start": 9727, + "end": 9737, "loc": { "start": { - "line": 251, + "line": 257, "column": 31 }, "end": { - "line": 251, + "line": 257, "column": 41 } }, "object": { "type": "Identifier", - "start": 9467, - "end": 9472, + "start": 9727, + "end": 9732, "loc": { "start": { - "line": 251, + "line": 257, "column": 31 }, "end": { - "line": 251, + "line": 257, "column": 36 }, "identifierName": "Event" @@ -17112,15 +17506,15 @@ }, "property": { "type": "Identifier", - "start": 9473, - "end": 9477, + "start": 9733, + "end": 9737, "loc": { "start": { - "line": 251, + "line": 257, "column": 37 }, "end": { - "line": 251, + "line": 257, "column": 41 }, "identifierName": "SEEK" @@ -17131,44 +17525,44 @@ }, { "type": "MemberExpression", - "start": 9479, - "end": 9494, + "start": 9739, + "end": 9754, "loc": { "start": { - "line": 251, + "line": 257, "column": 43 }, "end": { - "line": 251, + "line": 257, "column": 58 } }, "object": { "type": "ThisExpression", - "start": 9479, - "end": 9483, + "start": 9739, + "end": 9743, "loc": { "start": { - "line": 251, + "line": 257, "column": 43 }, "end": { - "line": 251, + "line": 257, "column": 47 } } }, "property": { "type": "Identifier", - "start": 9484, - "end": 9494, + "start": 9744, + "end": 9754, "loc": { "start": { - "line": 251, + "line": 257, "column": 48 }, "end": { - "line": 251, + "line": 257, "column": 58 }, "identifierName": "surferSeek" @@ -17190,43 +17584,43 @@ }, "alternate": { "type": "IfStatement", - "start": 9526, - "end": 9810, + "start": 9786, + "end": 10070, "loc": { "start": { - "line": 253, + "line": 259, "column": 15 }, "end": { - "line": 259, + "line": 265, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 9530, - "end": 9545, + "start": 9790, + "end": 9805, "loc": { "start": { - "line": 253, + "line": 259, "column": 19 }, "end": { - "line": 253, + "line": 259, "column": 34 } }, "left": { "type": "Identifier", - "start": 9530, - "end": 9536, + "start": 9790, + "end": 9796, "loc": { "start": { - "line": 253, + "line": 259, "column": 19 }, "end": { - "line": 253, + "line": 259, "column": 25 }, "identifierName": "enable" @@ -17236,15 +17630,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 9541, - "end": 9545, + "start": 9801, + "end": 9805, "loc": { "start": { - "line": 253, + "line": 259, "column": 30 }, "end": { - "line": 253, + "line": 259, "column": 34 } }, @@ -17253,101 +17647,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9547, - "end": 9810, + "start": 9807, + "end": 10070, "loc": { "start": { - "line": 253, + "line": 259, "column": 36 }, "end": { - "line": 259, + "line": 265, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9561, - "end": 9607, + "start": 9821, + "end": 9867, "loc": { "start": { - "line": 254, + "line": 260, "column": 12 }, "end": { - "line": 254, + "line": 260, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 9561, - "end": 9606, + "start": 9821, + "end": 9866, "loc": { "start": { - "line": 254, + "line": 260, "column": 12 }, "end": { - "line": 254, + "line": 260, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 9561, - "end": 9575, + "start": 9821, + "end": 9835, "loc": { "start": { - "line": 254, + "line": 260, "column": 12 }, "end": { - "line": 254, + "line": 260, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 9561, - "end": 9572, + "start": 9821, + "end": 9832, "loc": { "start": { - "line": 254, + "line": 260, "column": 12 }, "end": { - "line": 254, + "line": 260, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9561, - "end": 9565, + "start": 9821, + "end": 9825, "loc": { "start": { - "line": 254, + "line": 260, "column": 12 }, "end": { - "line": 254, + "line": 260, "column": 16 } } }, "property": { "type": "Identifier", - "start": 9566, - "end": 9572, + "start": 9826, + "end": 9832, "loc": { "start": { - "line": 254, + "line": 260, "column": 17 }, "end": { - "line": 254, + "line": 260, "column": 23 }, "identifierName": "surfer" @@ -17358,15 +17752,15 @@ }, "property": { "type": "Identifier", - "start": 9573, - "end": 9575, + "start": 9833, + "end": 9835, "loc": { "start": { - "line": 254, + "line": 260, "column": 24 }, "end": { - "line": 254, + "line": 260, "column": 26 }, "identifierName": "on" @@ -17378,29 +17772,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9576, - "end": 9587, + "start": 9836, + "end": 9847, "loc": { "start": { - "line": 254, + "line": 260, "column": 27 }, "end": { - "line": 254, + "line": 260, "column": 38 } }, "object": { "type": "Identifier", - "start": 9576, - "end": 9581, + "start": 9836, + "end": 9841, "loc": { "start": { - "line": 254, + "line": 260, "column": 27 }, "end": { - "line": 254, + "line": 260, "column": 32 }, "identifierName": "Event" @@ -17409,15 +17803,15 @@ }, "property": { "type": "Identifier", - "start": 9582, - "end": 9587, + "start": 9842, + "end": 9847, "loc": { "start": { - "line": 254, + "line": 260, "column": 33 }, "end": { - "line": 254, + "line": 260, "column": 38 }, "identifierName": "READY" @@ -17428,44 +17822,44 @@ }, { "type": "MemberExpression", - "start": 9589, - "end": 9605, + "start": 9849, + "end": 9865, "loc": { "start": { - "line": 254, + "line": 260, "column": 40 }, "end": { - "line": 254, + "line": 260, "column": 56 } }, "object": { "type": "ThisExpression", - "start": 9589, - "end": 9593, + "start": 9849, + "end": 9853, "loc": { "start": { - "line": 254, + "line": 260, "column": 40 }, "end": { - "line": 254, + "line": 260, "column": 44 } } }, "property": { "type": "Identifier", - "start": 9594, - "end": 9605, + "start": 9854, + "end": 9865, "loc": { "start": { - "line": 254, + "line": 260, "column": 45 }, "end": { - "line": 254, + "line": 260, "column": 56 }, "identifierName": "surferReady" @@ -17479,72 +17873,72 @@ }, { "type": "IfStatement", - "start": 9620, - "end": 9800, + "start": 9880, + "end": 10060, "loc": { "start": { - "line": 255, + "line": 261, "column": 12 }, "end": { - "line": 258, + "line": 264, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 9624, - "end": 9649, + "start": 9884, + "end": 9909, "loc": { "start": { - "line": 255, + "line": 261, "column": 16 }, "end": { - "line": 255, + "line": 261, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 9624, - "end": 9636, + "start": 9884, + "end": 9896, "loc": { "start": { - "line": 255, + "line": 261, "column": 16 }, "end": { - "line": 255, + "line": 261, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 9624, - "end": 9628, + "start": 9884, + "end": 9888, "loc": { "start": { - "line": 255, + "line": 261, "column": 16 }, "end": { - "line": 255, + "line": 261, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9629, - "end": 9636, + "start": 9889, + "end": 9896, "loc": { "start": { - "line": 255, + "line": 261, "column": 21 }, "end": { - "line": 255, + "line": 261, "column": 28 }, "identifierName": "backend" @@ -17556,15 +17950,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 9641, - "end": 9649, + "start": 9901, + "end": 9909, "loc": { "start": { - "line": 255, + "line": 261, "column": 33 }, "end": { - "line": 255, + "line": 261, "column": 41 }, "identifierName": "WEBAUDIO" @@ -17574,101 +17968,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9651, - "end": 9800, + "start": 9911, + "end": 10060, "loc": { "start": { - "line": 255, + "line": 261, "column": 43 }, "end": { - "line": 258, + "line": 264, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9669, - "end": 9725, + "start": 9929, + "end": 9985, "loc": { "start": { - "line": 256, + "line": 262, "column": 16 }, "end": { - "line": 256, + "line": 262, "column": 72 } }, "expression": { "type": "CallExpression", - "start": 9669, - "end": 9724, + "start": 9929, + "end": 9984, "loc": { "start": { - "line": 256, + "line": 262, "column": 16 }, "end": { - "line": 256, + "line": 262, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 9669, - "end": 9683, + "start": 9929, + "end": 9943, "loc": { "start": { - "line": 256, + "line": 262, "column": 16 }, "end": { - "line": 256, + "line": 262, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9669, - "end": 9680, + "start": 9929, + "end": 9940, "loc": { "start": { - "line": 256, + "line": 262, "column": 16 }, "end": { - "line": 256, + "line": 262, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9669, - "end": 9673, + "start": 9929, + "end": 9933, "loc": { "start": { - "line": 256, + "line": 262, "column": 16 }, "end": { - "line": 256, + "line": 262, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9674, - "end": 9680, + "start": 9934, + "end": 9940, "loc": { "start": { - "line": 256, + "line": 262, "column": 21 }, "end": { - "line": 256, + "line": 262, "column": 27 }, "identifierName": "surfer" @@ -17679,15 +18073,15 @@ }, "property": { "type": "Identifier", - "start": 9681, - "end": 9683, + "start": 9941, + "end": 9943, "loc": { "start": { - "line": 256, + "line": 262, "column": 28 }, "end": { - "line": 256, + "line": 262, "column": 30 }, "identifierName": "on" @@ -17699,29 +18093,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9684, - "end": 9702, + "start": 9944, + "end": 9962, "loc": { "start": { - "line": 256, + "line": 262, "column": 31 }, "end": { - "line": 256, + "line": 262, "column": 49 } }, "object": { "type": "Identifier", - "start": 9684, - "end": 9689, + "start": 9944, + "end": 9949, "loc": { "start": { - "line": 256, + "line": 262, "column": 31 }, "end": { - "line": 256, + "line": 262, "column": 36 }, "identifierName": "Event" @@ -17730,15 +18124,15 @@ }, "property": { "type": "Identifier", - "start": 9690, - "end": 9702, + "start": 9950, + "end": 9962, "loc": { "start": { - "line": 256, + "line": 262, "column": 37 }, "end": { - "line": 256, + "line": 262, "column": 49 }, "identifierName": "AUDIOPROCESS" @@ -17749,44 +18143,44 @@ }, { "type": "MemberExpression", - "start": 9704, - "end": 9723, + "start": 9964, + "end": 9983, "loc": { "start": { - "line": 256, + "line": 262, "column": 51 }, "end": { - "line": 256, + "line": 262, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 9704, - "end": 9708, + "start": 9964, + "end": 9968, "loc": { "start": { - "line": 256, + "line": 262, "column": 51 }, "end": { - "line": 256, + "line": 262, "column": 55 } } }, "property": { "type": "Identifier", - "start": 9709, - "end": 9723, + "start": 9969, + "end": 9983, "loc": { "start": { - "line": 256, + "line": 262, "column": 56 }, "end": { - "line": 256, + "line": 262, "column": 70 }, "identifierName": "surferProgress" @@ -17800,86 +18194,86 @@ }, { "type": "ExpressionStatement", - "start": 9742, - "end": 9786, + "start": 10002, + "end": 10046, "loc": { "start": { - "line": 257, + "line": 263, "column": 16 }, "end": { - "line": 257, + "line": 263, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 9742, - "end": 9785, + "start": 10002, + "end": 10045, "loc": { "start": { - "line": 257, + "line": 263, "column": 16 }, "end": { - "line": 257, + "line": 263, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 9742, - "end": 9756, + "start": 10002, + "end": 10016, "loc": { "start": { - "line": 257, + "line": 263, "column": 16 }, "end": { - "line": 257, + "line": 263, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9742, - "end": 9753, + "start": 10002, + "end": 10013, "loc": { "start": { - "line": 257, + "line": 263, "column": 16 }, "end": { - "line": 257, + "line": 263, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9742, - "end": 9746, + "start": 10002, + "end": 10006, "loc": { "start": { - "line": 257, + "line": 263, "column": 16 }, "end": { - "line": 257, + "line": 263, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9747, - "end": 9753, + "start": 10007, + "end": 10013, "loc": { "start": { - "line": 257, + "line": 263, "column": 21 }, "end": { - "line": 257, + "line": 263, "column": 27 }, "identifierName": "surfer" @@ -17890,15 +18284,15 @@ }, "property": { "type": "Identifier", - "start": 9754, - "end": 9756, + "start": 10014, + "end": 10016, "loc": { "start": { - "line": 257, + "line": 263, "column": 28 }, "end": { - "line": 257, + "line": 263, "column": 30 }, "identifierName": "on" @@ -17910,29 +18304,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9757, - "end": 9767, + "start": 10017, + "end": 10027, "loc": { "start": { - "line": 257, + "line": 263, "column": 31 }, "end": { - "line": 257, + "line": 263, "column": 41 } }, "object": { "type": "Identifier", - "start": 9757, - "end": 9762, + "start": 10017, + "end": 10022, "loc": { "start": { - "line": 257, + "line": 263, "column": 31 }, "end": { - "line": 257, + "line": 263, "column": 36 }, "identifierName": "Event" @@ -17941,15 +18335,15 @@ }, "property": { "type": "Identifier", - "start": 9763, - "end": 9767, + "start": 10023, + "end": 10027, "loc": { "start": { - "line": 257, + "line": 263, "column": 37 }, "end": { - "line": 257, + "line": 263, "column": 41 }, "identifierName": "SEEK" @@ -17960,44 +18354,44 @@ }, { "type": "MemberExpression", - "start": 9769, - "end": 9784, + "start": 10029, + "end": 10044, "loc": { "start": { - "line": 257, + "line": 263, "column": 43 }, "end": { - "line": 257, + "line": 263, "column": 58 } }, "object": { "type": "ThisExpression", - "start": 9769, - "end": 9773, + "start": 10029, + "end": 10033, "loc": { "start": { - "line": 257, + "line": 263, "column": 43 }, "end": { - "line": 257, + "line": 263, "column": 47 } } }, "property": { "type": "Identifier", - "start": 9774, - "end": 9784, + "start": 10034, + "end": 10044, "loc": { "start": { - "line": 257, + "line": 263, "column": 48 }, "end": { - "line": 257, + "line": 263, "column": 58 }, "identifierName": "surferSeek" @@ -18028,15 +18422,15 @@ { "type": "CommentBlock", "value": "*\n * Starts or stops listening to events related to audio-playback.\n *\n * @param {boolean} enable - Start or stop listening to playback\n * related events.\n * @private\n ", - "start": 8992, - "end": 9192, + "start": 9252, + "end": 9452, "loc": { "start": { - "line": 239, + "line": 245, "column": 4 }, "end": { - "line": 245, + "line": 251, "column": 7 } } @@ -18046,15 +18440,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 9822, - "end": 10114, + "start": 10082, + "end": 10374, "loc": { "start": { - "line": 262, + "line": 268, "column": 4 }, "end": { - "line": 269, + "line": 275, "column": 7 } } @@ -18063,15 +18457,15 @@ }, { "type": "ClassMethod", - "start": 10119, - "end": 10765, + "start": 10379, + "end": 11025, "loc": { "start": { - "line": 270, + "line": 276, "column": 4 }, "end": { - "line": 288, + "line": 294, "column": 5 } }, @@ -18079,15 +18473,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10119, - "end": 10123, + "start": 10379, + "end": 10383, "loc": { "start": { - "line": 270, + "line": 276, "column": 4 }, "end": { - "line": 270, + "line": 276, "column": 8 }, "identifierName": "load" @@ -18103,15 +18497,15 @@ "params": [ { "type": "Identifier", - "start": 10124, - "end": 10127, + "start": 10384, + "end": 10387, "loc": { "start": { - "line": 270, + "line": 276, "column": 9 }, "end": { - "line": 270, + "line": 276, "column": 12 }, "identifierName": "url" @@ -18120,15 +18514,15 @@ }, { "type": "Identifier", - "start": 10129, - "end": 10134, + "start": 10389, + "end": 10394, "loc": { "start": { - "line": 270, + "line": 276, "column": 14 }, "end": { - "line": 270, + "line": 276, "column": 19 }, "identifierName": "peaks" @@ -18138,72 +18532,72 @@ ], "body": { "type": "BlockStatement", - "start": 10136, - "end": 10765, + "start": 10396, + "end": 11025, "loc": { "start": { - "line": 270, + "line": 276, "column": 21 }, "end": { - "line": 288, + "line": 294, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 10146, - "end": 10759, + "start": 10406, + "end": 11019, "loc": { "start": { - "line": 271, + "line": 277, "column": 8 }, "end": { - "line": 287, + "line": 293, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 10150, - "end": 10192, + "start": 10410, + "end": 10452, "loc": { "start": { - "line": 271, + "line": 277, "column": 12 }, "end": { - "line": 271, + "line": 277, "column": 54 } }, "left": { "type": "BinaryExpression", - "start": 10150, - "end": 10169, + "start": 10410, + "end": 10429, "loc": { "start": { - "line": 271, + "line": 277, "column": 12 }, "end": { - "line": 271, + "line": 277, "column": 31 } }, "left": { "type": "Identifier", - "start": 10150, - "end": 10153, + "start": 10410, + "end": 10413, "loc": { "start": { - "line": 271, + "line": 277, "column": 12 }, "end": { - "line": 271, + "line": 277, "column": 15 }, "identifierName": "url" @@ -18213,15 +18607,15 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 10165, - "end": 10169, + "start": 10425, + "end": 10429, "loc": { "start": { - "line": 271, + "line": 277, "column": 27 }, "end": { - "line": 271, + "line": 277, "column": 31 }, "identifierName": "Blob" @@ -18232,29 +18626,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 10173, - "end": 10192, + "start": 10433, + "end": 10452, "loc": { "start": { - "line": 271, + "line": 277, "column": 35 }, "end": { - "line": 271, + "line": 277, "column": 54 } }, "left": { "type": "Identifier", - "start": 10173, - "end": 10176, + "start": 10433, + "end": 10436, "loc": { "start": { - "line": 271, + "line": 277, "column": 35 }, "end": { - "line": 271, + "line": 277, "column": 38 }, "identifierName": "url" @@ -18264,15 +18658,15 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 10188, - "end": 10192, + "start": 10448, + "end": 10452, "loc": { "start": { - "line": 271, + "line": 277, "column": 50 }, "end": { - "line": 271, + "line": 277, "column": 54 }, "identifierName": "File" @@ -18283,87 +18677,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 10194, - "end": 10308, + "start": 10454, + "end": 10568, "loc": { "start": { - "line": 271, + "line": 277, "column": 56 }, "end": { - "line": 274, + "line": 280, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 10208, - "end": 10259, + "start": 10468, + "end": 10519, "loc": { "start": { - "line": 272, + "line": 278, "column": 12 }, "end": { - "line": 272, + "line": 278, "column": 63 } }, "expression": { "type": "CallExpression", - "start": 10208, - "end": 10258, + "start": 10468, + "end": 10518, "loc": { "start": { - "line": 272, + "line": 278, "column": 12 }, "end": { - "line": 272, + "line": 278, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 10208, - "end": 10216, + "start": 10468, + "end": 10476, "loc": { "start": { - "line": 272, + "line": 278, "column": 12 }, "end": { - "line": 272, + "line": 278, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 10208, - "end": 10212, + "start": 10468, + "end": 10472, "loc": { "start": { - "line": 272, + "line": 278, "column": 12 }, "end": { - "line": 272, + "line": 278, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10213, - "end": 10216, + "start": 10473, + "end": 10476, "loc": { "start": { - "line": 272, + "line": 278, "column": 17 }, "end": { - "line": 272, + "line": 278, "column": 20 }, "identifierName": "log" @@ -18375,29 +18769,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10217, - "end": 10257, + "start": 10477, + "end": 10517, "loc": { "start": { - "line": 272, + "line": 278, "column": 21 }, "end": { - "line": 272, + "line": 278, "column": 61 } }, "left": { "type": "StringLiteral", - "start": 10217, - "end": 10235, + "start": 10477, + "end": 10495, "loc": { "start": { - "line": 272, + "line": 278, "column": 21 }, "end": { - "line": 272, + "line": 278, "column": 39 } }, @@ -18410,43 +18804,43 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 10238, - "end": 10257, + "start": 10498, + "end": 10517, "loc": { "start": { - "line": 272, + "line": 278, "column": 42 }, "end": { - "line": 272, + "line": 278, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 10238, - "end": 10252, + "start": 10498, + "end": 10512, "loc": { "start": { - "line": 272, + "line": 278, "column": 42 }, "end": { - "line": 272, + "line": 278, "column": 56 } }, "object": { "type": "Identifier", - "start": 10238, - "end": 10242, + "start": 10498, + "end": 10502, "loc": { "start": { - "line": 272, + "line": 278, "column": 42 }, "end": { - "line": 272, + "line": 278, "column": 46 }, "identifierName": "JSON" @@ -18455,15 +18849,15 @@ }, "property": { "type": "Identifier", - "start": 10243, - "end": 10252, + "start": 10503, + "end": 10512, "loc": { "start": { - "line": 272, + "line": 278, "column": 47 }, "end": { - "line": 272, + "line": 278, "column": 56 }, "identifierName": "stringify" @@ -18475,15 +18869,15 @@ "arguments": [ { "type": "Identifier", - "start": 10253, - "end": 10256, + "start": 10513, + "end": 10516, "loc": { "start": { - "line": 272, + "line": 278, "column": 57 }, "end": { - "line": 272, + "line": 278, "column": 60 }, "identifierName": "url" @@ -18498,86 +18892,86 @@ }, { "type": "ExpressionStatement", - "start": 10272, - "end": 10298, + "start": 10532, + "end": 10558, "loc": { "start": { - "line": 273, + "line": 279, "column": 12 }, "end": { - "line": 273, + "line": 279, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 10272, - "end": 10297, + "start": 10532, + "end": 10557, "loc": { "start": { - "line": 273, + "line": 279, "column": 12 }, "end": { - "line": 273, + "line": 279, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 10272, - "end": 10292, + "start": 10532, + "end": 10552, "loc": { "start": { - "line": 273, + "line": 279, "column": 12 }, "end": { - "line": 273, + "line": 279, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 10272, - "end": 10283, + "start": 10532, + "end": 10543, "loc": { "start": { - "line": 273, + "line": 279, "column": 12 }, "end": { - "line": 273, + "line": 279, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 10272, - "end": 10276, + "start": 10532, + "end": 10536, "loc": { "start": { - "line": 273, + "line": 279, "column": 12 }, "end": { - "line": 273, + "line": 279, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10277, - "end": 10283, + "start": 10537, + "end": 10543, "loc": { "start": { - "line": 273, + "line": 279, "column": 17 }, "end": { - "line": 273, + "line": 279, "column": 23 }, "identifierName": "surfer" @@ -18588,15 +18982,15 @@ }, "property": { "type": "Identifier", - "start": 10284, - "end": 10292, + "start": 10544, + "end": 10552, "loc": { "start": { - "line": 273, + "line": 279, "column": 24 }, "end": { - "line": 273, + "line": 279, "column": 32 }, "identifierName": "loadBlob" @@ -18608,15 +19002,15 @@ "arguments": [ { "type": "Identifier", - "start": 10293, - "end": 10296, + "start": 10553, + "end": 10556, "loc": { "start": { - "line": 273, + "line": 279, "column": 33 }, "end": { - "line": 273, + "line": 279, "column": 36 }, "identifierName": "url" @@ -18631,58 +19025,58 @@ }, "alternate": { "type": "BlockStatement", - "start": 10314, - "end": 10759, + "start": 10574, + "end": 11019, "loc": { "start": { - "line": 274, + "line": 280, "column": 15 }, "end": { - "line": 287, + "line": 293, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 10377, - "end": 10749, + "start": 10637, + "end": 11009, "loc": { "start": { - "line": 276, + "line": 282, "column": 12 }, "end": { - "line": 286, + "line": 292, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 10381, - "end": 10400, + "start": 10641, + "end": 10660, "loc": { "start": { - "line": 276, + "line": 282, "column": 16 }, "end": { - "line": 276, + "line": 282, "column": 35 } }, "left": { "type": "Identifier", - "start": 10381, - "end": 10386, + "start": 10641, + "end": 10646, "loc": { "start": { - "line": 276, + "line": 282, "column": 16 }, "end": { - "line": 276, + "line": 282, "column": 21 }, "identifierName": "peaks" @@ -18693,15 +19087,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 10391, - "end": 10400, + "start": 10651, + "end": 10660, "loc": { "start": { - "line": 276, + "line": 282, "column": 26 }, "end": { - "line": 276, + "line": 282, "column": 35 }, "identifierName": "undefined" @@ -18712,87 +19106,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 10402, - "end": 10461, + "start": 10662, + "end": 10721, "loc": { "start": { - "line": 276, + "line": 282, "column": 37 }, "end": { - "line": 278, + "line": 284, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 10420, - "end": 10447, + "start": 10680, + "end": 10707, "loc": { "start": { - "line": 277, + "line": 283, "column": 16 }, "end": { - "line": 277, + "line": 283, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 10420, - "end": 10446, + "start": 10680, + "end": 10706, "loc": { "start": { - "line": 277, + "line": 283, "column": 16 }, "end": { - "line": 277, + "line": 283, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 10420, - "end": 10434, + "start": 10680, + "end": 10694, "loc": { "start": { - "line": 277, + "line": 283, "column": 16 }, "end": { - "line": 277, + "line": 283, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 10420, - "end": 10424, + "start": 10680, + "end": 10684, "loc": { "start": { - "line": 277, + "line": 283, "column": 16 }, "end": { - "line": 277, + "line": 283, "column": 20 } } }, "property": { "type": "Identifier", - "start": 10425, - "end": 10434, + "start": 10685, + "end": 10694, "loc": { "start": { - "line": 277, + "line": 283, "column": 21 }, "end": { - "line": 277, + "line": 283, "column": 30 }, "identifierName": "loadPeaks" @@ -18804,15 +19198,15 @@ "arguments": [ { "type": "Identifier", - "start": 10435, - "end": 10438, + "start": 10695, + "end": 10698, "loc": { "start": { - "line": 277, + "line": 283, "column": 31 }, "end": { - "line": 277, + "line": 283, "column": 34 }, "identifierName": "url" @@ -18821,15 +19215,15 @@ }, { "type": "Identifier", - "start": 10440, - "end": 10445, + "start": 10700, + "end": 10705, "loc": { "start": { - "line": 277, + "line": 283, "column": 36 }, "end": { - "line": 277, + "line": 283, "column": 41 }, "identifierName": "peaks" @@ -18844,58 +19238,58 @@ }, "alternate": { "type": "BlockStatement", - "start": 10467, - "end": 10749, + "start": 10727, + "end": 11009, "loc": { "start": { - "line": 278, + "line": 284, "column": 19 }, "end": { - "line": 286, + "line": 292, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 10513, - "end": 10696, + "start": 10773, + "end": 10956, "loc": { "start": { - "line": 280, + "line": 286, "column": 16 }, "end": { - "line": 284, + "line": 290, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 10517, - "end": 10540, + "start": 10777, + "end": 10800, "loc": { "start": { - "line": 280, + "line": 286, "column": 20 }, "end": { - "line": 280, + "line": 286, "column": 43 } }, "left": { "type": "UnaryExpression", - "start": 10517, - "end": 10527, + "start": 10777, + "end": 10787, "loc": { "start": { - "line": 280, + "line": 286, "column": 20 }, "end": { - "line": 280, + "line": 286, "column": 30 } }, @@ -18903,15 +19297,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 10524, - "end": 10527, + "start": 10784, + "end": 10787, "loc": { "start": { - "line": 280, + "line": 286, "column": 27 }, "end": { - "line": 280, + "line": 286, "column": 30 }, "identifierName": "url" @@ -18927,15 +19321,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 10532, - "end": 10540, + "start": 10792, + "end": 10800, "loc": { "start": { - "line": 280, + "line": 286, "column": 35 }, "end": { - "line": 280, + "line": 286, "column": 43 } }, @@ -18949,87 +19343,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 10542, - "end": 10614, + "start": 10802, + "end": 10874, "loc": { "start": { - "line": 280, + "line": 286, "column": 45 }, "end": { - "line": 282, + "line": 288, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 10564, - "end": 10596, + "start": 10824, + "end": 10856, "loc": { "start": { - "line": 281, + "line": 287, "column": 20 }, "end": { - "line": 281, + "line": 287, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 10564, - "end": 10595, + "start": 10824, + "end": 10855, "loc": { "start": { - "line": 281, + "line": 287, "column": 20 }, "end": { - "line": 281, + "line": 287, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 10564, - "end": 10572, + "start": 10824, + "end": 10832, "loc": { "start": { - "line": 281, + "line": 287, "column": 20 }, "end": { - "line": 281, + "line": 287, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 10564, - "end": 10568, + "start": 10824, + "end": 10828, "loc": { "start": { - "line": 281, + "line": 287, "column": 20 }, "end": { - "line": 281, + "line": 287, "column": 24 } } }, "property": { "type": "Identifier", - "start": 10569, - "end": 10572, + "start": 10829, + "end": 10832, "loc": { "start": { - "line": 281, + "line": 287, "column": 25 }, "end": { - "line": 281, + "line": 287, "column": 28 }, "identifierName": "log" @@ -19041,29 +19435,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10573, - "end": 10594, + "start": 10833, + "end": 10854, "loc": { "start": { - "line": 281, + "line": 287, "column": 29 }, "end": { - "line": 281, + "line": 287, "column": 50 } }, "left": { "type": "StringLiteral", - "start": 10573, - "end": 10588, + "start": 10833, + "end": 10848, "loc": { "start": { - "line": 281, + "line": 287, "column": 29 }, "end": { - "line": 281, + "line": 287, "column": 44 } }, @@ -19076,15 +19470,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 10591, - "end": 10594, + "start": 10851, + "end": 10854, "loc": { "start": { - "line": 281, + "line": 287, "column": 47 }, "end": { - "line": 281, + "line": 287, "column": 50 }, "identifierName": "url" @@ -19100,87 +19494,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 10620, - "end": 10696, + "start": 10880, + "end": 10956, "loc": { "start": { - "line": 282, + "line": 288, "column": 23 }, "end": { - "line": 284, + "line": 290, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 10642, - "end": 10678, + "start": 10902, + "end": 10938, "loc": { "start": { - "line": 283, + "line": 289, "column": 20 }, "end": { - "line": 283, + "line": 289, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 10642, - "end": 10677, + "start": 10902, + "end": 10937, "loc": { "start": { - "line": 283, + "line": 289, "column": 20 }, "end": { - "line": 283, + "line": 289, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 10642, - "end": 10650, + "start": 10902, + "end": 10910, "loc": { "start": { - "line": 283, + "line": 289, "column": 20 }, "end": { - "line": 283, + "line": 289, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 10642, - "end": 10646, + "start": 10902, + "end": 10906, "loc": { "start": { - "line": 283, + "line": 289, "column": 20 }, "end": { - "line": 283, + "line": 289, "column": 24 } } }, "property": { "type": "Identifier", - "start": 10647, - "end": 10650, + "start": 10907, + "end": 10910, "loc": { "start": { - "line": 283, + "line": 289, "column": 25 }, "end": { - "line": 283, + "line": 289, "column": 28 }, "identifierName": "log" @@ -19192,29 +19586,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10651, - "end": 10676, + "start": 10911, + "end": 10936, "loc": { "start": { - "line": 283, + "line": 289, "column": 29 }, "end": { - "line": 283, + "line": 289, "column": 54 } }, "left": { "type": "StringLiteral", - "start": 10651, - "end": 10670, + "start": 10911, + "end": 10930, "loc": { "start": { - "line": 283, + "line": 289, "column": 29 }, "end": { - "line": 283, + "line": 289, "column": 48 } }, @@ -19227,15 +19621,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 10673, - "end": 10676, + "start": 10933, + "end": 10936, "loc": { "start": { - "line": 283, + "line": 289, "column": 51 }, "end": { - "line": 283, + "line": 289, "column": 54 }, "identifierName": "url" @@ -19253,15 +19647,15 @@ { "type": "CommentLine", "value": " no peaks", - "start": 10485, - "end": 10496, + "start": 10745, + "end": 10756, "loc": { "start": { - "line": 279, + "line": 285, "column": 16 }, "end": { - "line": 279, + "line": 285, "column": 27 } } @@ -19270,86 +19664,86 @@ }, { "type": "ExpressionStatement", - "start": 10713, - "end": 10735, + "start": 10973, + "end": 10995, "loc": { "start": { - "line": 285, + "line": 291, "column": 16 }, "end": { - "line": 285, + "line": 291, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 10713, - "end": 10734, + "start": 10973, + "end": 10994, "loc": { "start": { - "line": 285, + "line": 291, "column": 16 }, "end": { - "line": 285, + "line": 291, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 10713, - "end": 10729, + "start": 10973, + "end": 10989, "loc": { "start": { - "line": 285, + "line": 291, "column": 16 }, "end": { - "line": 285, + "line": 291, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 10713, - "end": 10724, + "start": 10973, + "end": 10984, "loc": { "start": { - "line": 285, + "line": 291, "column": 16 }, "end": { - "line": 285, + "line": 291, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 10713, - "end": 10717, + "start": 10973, + "end": 10977, "loc": { "start": { - "line": 285, + "line": 291, "column": 16 }, "end": { - "line": 285, + "line": 291, "column": 20 } } }, "property": { "type": "Identifier", - "start": 10718, - "end": 10724, + "start": 10978, + "end": 10984, "loc": { "start": { - "line": 285, + "line": 291, "column": 21 }, "end": { - "line": 285, + "line": 291, "column": 27 }, "identifierName": "surfer" @@ -19360,15 +19754,15 @@ }, "property": { "type": "Identifier", - "start": 10725, - "end": 10729, + "start": 10985, + "end": 10989, "loc": { "start": { - "line": 285, + "line": 291, "column": 28 }, "end": { - "line": 285, + "line": 291, "column": 32 }, "identifierName": "load" @@ -19380,15 +19774,15 @@ "arguments": [ { "type": "Identifier", - "start": 10730, - "end": 10733, + "start": 10990, + "end": 10993, "loc": { "start": { - "line": 285, + "line": 291, "column": 33 }, "end": { - "line": 285, + "line": 291, "column": 36 }, "identifierName": "url" @@ -19405,15 +19799,15 @@ { "type": "CommentLine", "value": " load peak data from array or file", - "start": 10328, - "end": 10364, + "start": 10588, + "end": 10624, "loc": { "start": { - "line": 275, + "line": 281, "column": 12 }, "end": { - "line": 275, + "line": 281, "column": 48 } } @@ -19432,15 +19826,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 9822, - "end": 10114, + "start": 10082, + "end": 10374, "loc": { "start": { - "line": 262, + "line": 268, "column": 4 }, "end": { - "line": 269, + "line": 275, "column": 7 } } @@ -19450,15 +19844,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 10771, - "end": 11063, + "start": 11031, + "end": 11323, "loc": { "start": { - "line": 290, + "line": 296, "column": 4 }, "end": { - "line": 297, + "line": 303, "column": 7 } } @@ -19467,15 +19861,15 @@ }, { "type": "ClassMethod", - "start": 11068, - "end": 12521, + "start": 11328, + "end": 12731, "loc": { "start": { - "line": 298, + "line": 304, "column": 4 }, "end": { - "line": 334, + "line": 339, "column": 5 } }, @@ -19483,15 +19877,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11068, - "end": 11077, + "start": 11328, + "end": 11337, "loc": { "start": { - "line": 298, + "line": 304, "column": 4 }, "end": { - "line": 298, + "line": 304, "column": 13 }, "identifierName": "loadPeaks" @@ -19507,15 +19901,15 @@ "params": [ { "type": "Identifier", - "start": 11078, - "end": 11081, + "start": 11338, + "end": 11341, "loc": { "start": { - "line": 298, + "line": 304, "column": 14 }, "end": { - "line": 298, + "line": 304, "column": 17 }, "identifierName": "url" @@ -19524,15 +19918,15 @@ }, { "type": "Identifier", - "start": 11083, - "end": 11088, + "start": 11343, + "end": 11348, "loc": { "start": { - "line": 298, + "line": 304, "column": 19 }, "end": { - "line": 298, + "line": 304, "column": 24 }, "identifierName": "peaks" @@ -19542,72 +19936,72 @@ ], "body": { "type": "BlockStatement", - "start": 11090, - "end": 12521, + "start": 11350, + "end": 12731, "loc": { "start": { - "line": 298, + "line": 304, "column": 26 }, "end": { - "line": 334, + "line": 339, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 11100, - "end": 12515, + "start": 11360, + "end": 12725, "loc": { "start": { - "line": 299, + "line": 305, "column": 8 }, "end": { - "line": 333, + "line": 338, "column": 9 } }, "test": { "type": "CallExpression", - "start": 11104, - "end": 11124, + "start": 11364, + "end": 11384, "loc": { "start": { - "line": 299, + "line": 305, "column": 12 }, "end": { - "line": 299, + "line": 305, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 11104, - "end": 11117, + "start": 11364, + "end": 11377, "loc": { "start": { - "line": 299, + "line": 305, "column": 12 }, "end": { - "line": 299, + "line": 305, "column": 25 } }, "object": { "type": "Identifier", - "start": 11104, - "end": 11109, + "start": 11364, + "end": 11369, "loc": { "start": { - "line": 299, + "line": 305, "column": 12 }, "end": { - "line": 299, + "line": 305, "column": 17 }, "identifierName": "Array" @@ -19616,15 +20010,15 @@ }, "property": { "type": "Identifier", - "start": 11110, - "end": 11117, + "start": 11370, + "end": 11377, "loc": { "start": { - "line": 299, + "line": 305, "column": 18 }, "end": { - "line": 299, + "line": 305, "column": 25 }, "identifierName": "isArray" @@ -19636,15 +20030,15 @@ "arguments": [ { "type": "Identifier", - "start": 11118, - "end": 11123, + "start": 11378, + "end": 11383, "loc": { "start": { - "line": 299, + "line": 305, "column": 26 }, "end": { - "line": 299, + "line": 305, "column": 31 }, "identifierName": "peaks" @@ -19655,72 +20049,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 11126, - "end": 11283, + "start": 11386, + "end": 11543, "loc": { "start": { - "line": 299, + "line": 305, "column": 34 }, "end": { - "line": 303, + "line": 309, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 11179, - "end": 11231, + "start": 11439, + "end": 11491, "loc": { "start": { - "line": 301, + "line": 307, "column": 12 }, "end": { - "line": 301, + "line": 307, "column": 64 } }, "expression": { "type": "CallExpression", - "start": 11179, - "end": 11230, + "start": 11439, + "end": 11490, "loc": { "start": { - "line": 301, + "line": 307, "column": 12 }, "end": { - "line": 301, + "line": 307, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 11179, - "end": 11187, + "start": 11439, + "end": 11447, "loc": { "start": { - "line": 301, + "line": 307, "column": 12 }, "end": { - "line": 301, + "line": 307, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 11179, - "end": 11183, + "start": 11439, + "end": 11443, "loc": { "start": { - "line": 301, + "line": 307, "column": 12 }, "end": { - "line": 301, + "line": 307, "column": 16 } }, @@ -19728,15 +20122,15 @@ }, "property": { "type": "Identifier", - "start": 11184, - "end": 11187, + "start": 11444, + "end": 11447, "loc": { "start": { - "line": 301, + "line": 307, "column": 17 }, "end": { - "line": 301, + "line": 307, "column": 20 }, "identifierName": "log" @@ -19749,29 +20143,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11188, - "end": 11229, + "start": 11448, + "end": 11489, "loc": { "start": { - "line": 301, + "line": 307, "column": 21 }, "end": { - "line": 301, + "line": 307, "column": 62 } }, "left": { "type": "StringLiteral", - "start": 11188, - "end": 11223, + "start": 11448, + "end": 11483, "loc": { "start": { - "line": 301, + "line": 307, "column": 21 }, "end": { - "line": 301, + "line": 307, "column": 56 } }, @@ -19784,15 +20178,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 11226, - "end": 11229, + "start": 11486, + "end": 11489, "loc": { "start": { - "line": 301, + "line": 307, "column": 59 }, "end": { - "line": 301, + "line": 307, "column": 62 }, "identifierName": "url" @@ -19807,15 +20201,15 @@ { "type": "CommentLine", "value": " use supplied peaks data", - "start": 11140, - "end": 11166, + "start": 11400, + "end": 11426, "loc": { "start": { - "line": 300, + "line": 306, "column": 12 }, "end": { - "line": 300, + "line": 306, "column": 38 } } @@ -19824,86 +20218,86 @@ }, { "type": "ExpressionStatement", - "start": 11244, - "end": 11273, + "start": 11504, + "end": 11533, "loc": { "start": { - "line": 302, + "line": 308, "column": 12 }, "end": { - "line": 302, + "line": 308, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 11244, - "end": 11272, + "start": 11504, + "end": 11532, "loc": { "start": { - "line": 302, + "line": 308, "column": 12 }, "end": { - "line": 302, + "line": 308, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 11244, - "end": 11260, + "start": 11504, + "end": 11520, "loc": { "start": { - "line": 302, + "line": 308, "column": 12 }, "end": { - "line": 302, + "line": 308, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 11244, - "end": 11255, + "start": 11504, + "end": 11515, "loc": { "start": { - "line": 302, + "line": 308, "column": 12 }, "end": { - "line": 302, + "line": 308, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 11244, - "end": 11248, + "start": 11504, + "end": 11508, "loc": { "start": { - "line": 302, + "line": 308, "column": 12 }, "end": { - "line": 302, + "line": 308, "column": 16 } } }, "property": { "type": "Identifier", - "start": 11249, - "end": 11255, + "start": 11509, + "end": 11515, "loc": { "start": { - "line": 302, + "line": 308, "column": 17 }, "end": { - "line": 302, + "line": 308, "column": 23 }, "identifierName": "surfer" @@ -19914,15 +20308,15 @@ }, "property": { "type": "Identifier", - "start": 11256, - "end": 11260, + "start": 11516, + "end": 11520, "loc": { "start": { - "line": 302, + "line": 308, "column": 24 }, "end": { - "line": 302, + "line": 308, "column": 28 }, "identifierName": "load" @@ -19934,15 +20328,15 @@ "arguments": [ { "type": "Identifier", - "start": 11261, - "end": 11264, + "start": 11521, + "end": 11524, "loc": { "start": { - "line": 302, + "line": 308, "column": 29 }, "end": { - "line": 302, + "line": 308, "column": 32 }, "identifierName": "url" @@ -19951,15 +20345,15 @@ }, { "type": "Identifier", - "start": 11266, - "end": 11271, + "start": 11526, + "end": 11531, "loc": { "start": { - "line": 302, + "line": 308, "column": 34 }, "end": { - "line": 302, + "line": 308, "column": 39 }, "identifierName": "peaks" @@ -19974,59 +20368,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 11289, - "end": 12515, + "start": 11549, + "end": 12725, "loc": { "start": { - "line": 303, + "line": 309, "column": 15 }, "end": { - "line": 333, + "line": 338, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 11343, - "end": 11445, + "start": 11603, + "end": 11705, "loc": { "start": { - "line": 305, + "line": 311, "column": 12 }, "end": { - "line": 308, + "line": 314, "column": 14 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11347, - "end": 11444, + "start": 11607, + "end": 11704, "loc": { "start": { - "line": 305, + "line": 311, "column": 16 }, "end": { - "line": 308, + "line": 314, "column": 13 } }, "id": { "type": "Identifier", - "start": 11347, - "end": 11361, + "start": 11607, + "end": 11621, "loc": { "start": { - "line": 305, + "line": 311, "column": 16 }, "end": { - "line": 305, + "line": 311, "column": 30 }, "identifierName": "requestOptions" @@ -20036,30 +20430,30 @@ }, "init": { "type": "ObjectExpression", - "start": 11364, - "end": 11444, + "start": 11624, + "end": 11704, "loc": { "start": { - "line": 305, + "line": 311, "column": 33 }, "end": { - "line": 308, + "line": 314, "column": 13 } }, "properties": [ { "type": "ObjectProperty", - "start": 11382, - "end": 11392, + "start": 11642, + "end": 11652, "loc": { "start": { - "line": 306, + "line": 312, "column": 16 }, "end": { - "line": 306, + "line": 312, "column": 26 } }, @@ -20068,15 +20462,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11382, - "end": 11385, + "start": 11642, + "end": 11645, "loc": { "start": { - "line": 306, + "line": 312, "column": 16 }, "end": { - "line": 306, + "line": 312, "column": 19 }, "identifierName": "url" @@ -20085,15 +20479,15 @@ }, "value": { "type": "Identifier", - "start": 11387, - "end": 11392, + "start": 11647, + "end": 11652, "loc": { "start": { - "line": 306, + "line": 312, "column": 21 }, "end": { - "line": 306, + "line": 312, "column": 26 }, "identifierName": "peaks" @@ -20103,15 +20497,15 @@ }, { "type": "ObjectProperty", - "start": 11410, - "end": 11430, + "start": 11670, + "end": 11690, "loc": { "start": { - "line": 307, + "line": 313, "column": 16 }, "end": { - "line": 307, + "line": 313, "column": 36 } }, @@ -20120,15 +20514,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11410, - "end": 11422, + "start": 11670, + "end": 11682, "loc": { "start": { - "line": 307, + "line": 313, "column": 16 }, "end": { - "line": 307, + "line": 313, "column": 28 }, "identifierName": "responseType" @@ -20137,15 +20531,15 @@ }, "value": { "type": "StringLiteral", - "start": 11424, - "end": 11430, + "start": 11684, + "end": 11690, "loc": { "start": { - "line": 307, + "line": 313, "column": 30 }, "end": { - "line": 307, + "line": 313, "column": 36 } }, @@ -20166,15 +20560,15 @@ { "type": "CommentLine", "value": " load peak data from file", - "start": 11303, - "end": 11330, + "start": 11563, + "end": 11590, "loc": { "start": { - "line": 304, + "line": 310, "column": 12 }, "end": { - "line": 304, + "line": 310, "column": 39 } } @@ -20184,15 +20578,15 @@ { "type": "CommentLine", "value": " supply xhr options, if any", - "start": 11459, - "end": 11488, + "start": 11719, + "end": 11748, "loc": { "start": { - "line": 310, + "line": 316, "column": 12 }, "end": { - "line": 310, + "line": 316, "column": 41 } } @@ -20201,113 +20595,113 @@ }, { "type": "IfStatement", - "start": 11501, - "end": 11661, + "start": 11761, + "end": 11921, "loc": { "start": { - "line": 311, + "line": 317, "column": 12 }, "end": { - "line": 313, + "line": 319, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 11505, - "end": 11562, + "start": 11765, + "end": 11822, "loc": { "start": { - "line": 311, + "line": 317, "column": 16 }, "end": { - "line": 311, + "line": 317, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 11505, - "end": 11548, + "start": 11765, + "end": 11808, "loc": { "start": { - "line": 311, + "line": 317, "column": 16 }, "end": { - "line": 311, + "line": 317, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 11505, - "end": 11544, + "start": 11765, + "end": 11804, "loc": { "start": { - "line": 311, + "line": 317, "column": 16 }, "end": { - "line": 311, + "line": 317, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 11505, - "end": 11533, + "start": 11765, + "end": 11793, "loc": { "start": { - "line": 311, + "line": 317, "column": 16 }, "end": { - "line": 311, + "line": 317, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 11505, - "end": 11525, + "start": 11765, + "end": 11785, "loc": { "start": { - "line": 311, + "line": 317, "column": 16 }, "end": { - "line": 311, + "line": 317, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 11505, - "end": 11516, + "start": 11765, + "end": 11776, "loc": { "start": { - "line": 311, + "line": 317, "column": 16 }, "end": { - "line": 311, + "line": 317, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 11505, - "end": 11509, + "start": 11765, + "end": 11769, "loc": { "start": { - "line": 311, + "line": 317, "column": 16 }, "end": { - "line": 311, + "line": 317, "column": 20 } }, @@ -20315,15 +20709,15 @@ }, "property": { "type": "Identifier", - "start": 11510, - "end": 11516, + "start": 11770, + "end": 11776, "loc": { "start": { - "line": 311, + "line": 317, "column": 21 }, "end": { - "line": 311, + "line": 317, "column": 27 }, "identifierName": "player" @@ -20335,15 +20729,15 @@ }, "property": { "type": "Identifier", - "start": 11517, - "end": 11525, + "start": 11777, + "end": 11785, "loc": { "start": { - "line": 311, + "line": 317, "column": 28 }, "end": { - "line": 311, + "line": 317, "column": 36 }, "identifierName": "options_" @@ -20355,15 +20749,15 @@ }, "property": { "type": "Identifier", - "start": 11526, - "end": 11533, + "start": 11786, + "end": 11793, "loc": { "start": { - "line": 311, + "line": 317, "column": 37 }, "end": { - "line": 311, + "line": 317, "column": 44 }, "identifierName": "plugins" @@ -20375,15 +20769,15 @@ }, "property": { "type": "Identifier", - "start": 11534, - "end": 11544, + "start": 11794, + "end": 11804, "loc": { "start": { - "line": 311, + "line": 317, "column": 45 }, "end": { - "line": 311, + "line": 317, "column": 55 }, "identifierName": "wavesurfer" @@ -20395,15 +20789,15 @@ }, "property": { "type": "Identifier", - "start": 11545, - "end": 11548, + "start": 11805, + "end": 11808, "loc": { "start": { - "line": 311, + "line": 317, "column": 56 }, "end": { - "line": 311, + "line": 317, "column": 59 }, "identifierName": "xhr" @@ -20416,15 +20810,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 11553, - "end": 11562, + "start": 11813, + "end": 11822, "loc": { "start": { - "line": 311, + "line": 317, "column": 64 }, "end": { - "line": 311, + "line": 317, "column": 73 }, "identifierName": "undefined" @@ -20435,73 +20829,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 11564, - "end": 11661, + "start": 11824, + "end": 11921, "loc": { "start": { - "line": 311, + "line": 317, "column": 75 }, "end": { - "line": 313, + "line": 319, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 11582, - "end": 11647, + "start": 11842, + "end": 11907, "loc": { "start": { - "line": 312, + "line": 318, "column": 16 }, "end": { - "line": 312, + "line": 318, "column": 81 } }, "expression": { "type": "AssignmentExpression", - "start": 11582, - "end": 11646, + "start": 11842, + "end": 11906, "loc": { "start": { - "line": 312, + "line": 318, "column": 16 }, "end": { - "line": 312, + "line": 318, "column": 80 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 11582, - "end": 11600, + "start": 11842, + "end": 11860, "loc": { "start": { - "line": 312, + "line": 318, "column": 16 }, "end": { - "line": 312, + "line": 318, "column": 34 } }, "object": { "type": "Identifier", - "start": 11582, - "end": 11596, + "start": 11842, + "end": 11856, "loc": { "start": { - "line": 312, + "line": 318, "column": 16 }, "end": { - "line": 312, + "line": 318, "column": 30 }, "identifierName": "requestOptions" @@ -20510,15 +20904,15 @@ }, "property": { "type": "Identifier", - "start": 11597, - "end": 11600, + "start": 11857, + "end": 11860, "loc": { "start": { - "line": 312, + "line": 318, "column": 31 }, "end": { - "line": 312, + "line": 318, "column": 34 }, "identifierName": "xhr" @@ -20529,100 +20923,100 @@ }, "right": { "type": "MemberExpression", - "start": 11603, - "end": 11646, + "start": 11863, + "end": 11906, "loc": { "start": { - "line": 312, + "line": 318, "column": 37 }, "end": { - "line": 312, + "line": 318, "column": 80 } }, "object": { "type": "MemberExpression", - "start": 11603, - "end": 11642, + "start": 11863, + "end": 11902, "loc": { "start": { - "line": 312, + "line": 318, "column": 37 }, "end": { - "line": 312, + "line": 318, "column": 76 } }, "object": { "type": "MemberExpression", - "start": 11603, - "end": 11631, + "start": 11863, + "end": 11891, "loc": { "start": { - "line": 312, + "line": 318, "column": 37 }, "end": { - "line": 312, + "line": 318, "column": 65 } }, "object": { "type": "MemberExpression", - "start": 11603, - "end": 11623, + "start": 11863, + "end": 11883, "loc": { "start": { - "line": 312, + "line": 318, "column": 37 }, "end": { - "line": 312, + "line": 318, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 11603, - "end": 11614, + "start": 11863, + "end": 11874, "loc": { "start": { - "line": 312, + "line": 318, "column": 37 }, "end": { - "line": 312, + "line": 318, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 11603, - "end": 11607, + "start": 11863, + "end": 11867, "loc": { "start": { - "line": 312, + "line": 318, "column": 37 }, "end": { - "line": 312, + "line": 318, "column": 41 } } }, "property": { "type": "Identifier", - "start": 11608, - "end": 11614, + "start": 11868, + "end": 11874, "loc": { "start": { - "line": 312, + "line": 318, "column": 42 }, "end": { - "line": 312, + "line": 318, "column": 48 }, "identifierName": "player" @@ -20633,15 +21027,15 @@ }, "property": { "type": "Identifier", - "start": 11615, - "end": 11623, + "start": 11875, + "end": 11883, "loc": { "start": { - "line": 312, + "line": 318, "column": 49 }, "end": { - "line": 312, + "line": 318, "column": 57 }, "identifierName": "options_" @@ -20652,15 +21046,15 @@ }, "property": { "type": "Identifier", - "start": 11624, - "end": 11631, + "start": 11884, + "end": 11891, "loc": { "start": { - "line": 312, + "line": 318, "column": 58 }, "end": { - "line": 312, + "line": 318, "column": 65 }, "identifierName": "plugins" @@ -20671,15 +21065,15 @@ }, "property": { "type": "Identifier", - "start": 11632, - "end": 11642, + "start": 11892, + "end": 11902, "loc": { "start": { - "line": 312, + "line": 318, "column": 66 }, "end": { - "line": 312, + "line": 318, "column": 76 }, "identifierName": "wavesurfer" @@ -20690,15 +21084,15 @@ }, "property": { "type": "Identifier", - "start": 11643, - "end": 11646, + "start": 11903, + "end": 11906, "loc": { "start": { - "line": 312, + "line": 318, "column": 77 }, "end": { - "line": 312, + "line": 318, "column": 80 }, "identifierName": "xhr" @@ -20717,15 +21111,15 @@ { "type": "CommentLine", "value": " supply xhr options, if any", - "start": 11459, - "end": 11488, + "start": 11719, + "end": 11748, "loc": { "start": { - "line": 310, + "line": 316, "column": 12 }, "end": { - "line": 310, + "line": 316, "column": 41 } } @@ -20734,44 +21128,44 @@ }, { "type": "VariableDeclaration", - "start": 11674, - "end": 11730, + "start": 11934, + "end": 11990, "loc": { "start": { - "line": 314, + "line": 320, "column": 12 }, "end": { - "line": 314, + "line": 320, "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11678, - "end": 11729, + "start": 11938, + "end": 11989, "loc": { "start": { - "line": 314, + "line": 320, "column": 16 }, "end": { - "line": 314, + "line": 320, "column": 67 } }, "id": { "type": "Identifier", - "start": 11678, - "end": 11685, + "start": 11938, + "end": 11945, "loc": { "start": { - "line": 314, + "line": 320, "column": 16 }, "end": { - "line": 314, + "line": 320, "column": 23 }, "identifierName": "request" @@ -20780,57 +21174,57 @@ }, "init": { "type": "CallExpression", - "start": 11688, - "end": 11729, + "start": 11948, + "end": 11989, "loc": { "start": { - "line": 314, + "line": 320, "column": 26 }, "end": { - "line": 314, + "line": 320, "column": 67 } }, "callee": { "type": "MemberExpression", - "start": 11688, - "end": 11713, + "start": 11948, + "end": 11973, "loc": { "start": { - "line": 314, + "line": 320, "column": 26 }, "end": { - "line": 314, + "line": 320, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 11688, - "end": 11703, + "start": 11948, + "end": 11963, "loc": { "start": { - "line": 314, + "line": 320, "column": 26 }, "end": { - "line": 314, + "line": 320, "column": 41 } }, "object": { "type": "Identifier", - "start": 11688, - "end": 11698, + "start": 11948, + "end": 11958, "loc": { "start": { - "line": 314, + "line": 320, "column": 26 }, "end": { - "line": 314, + "line": 320, "column": 36 }, "identifierName": "WaveSurfer" @@ -20839,15 +21233,15 @@ }, "property": { "type": "Identifier", - "start": 11699, - "end": 11703, + "start": 11959, + "end": 11963, "loc": { "start": { - "line": 314, + "line": 320, "column": 37 }, "end": { - "line": 314, + "line": 320, "column": 41 }, "identifierName": "util" @@ -20858,15 +21252,15 @@ }, "property": { "type": "Identifier", - "start": 11704, - "end": 11713, + "start": 11964, + "end": 11973, "loc": { "start": { - "line": 314, + "line": 320, "column": 42 }, "end": { - "line": 314, + "line": 320, "column": 51 }, "identifierName": "fetchFile" @@ -20878,15 +21272,15 @@ "arguments": [ { "type": "Identifier", - "start": 11714, - "end": 11728, + "start": 11974, + "end": 11988, "loc": { "start": { - "line": 314, + "line": 320, "column": 52 }, "end": { - "line": 314, + "line": 320, "column": 66 }, "identifierName": "requestOptions" @@ -20901,57 +21295,57 @@ }, { "type": "ExpressionStatement", - "start": 11744, - "end": 12216, + "start": 12004, + "end": 12476, "loc": { "start": { - "line": 316, + "line": 322, "column": 12 }, "end": { - "line": 326, + "line": 332, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 11744, - "end": 12215, + "start": 12004, + "end": 12475, "loc": { "start": { - "line": 316, + "line": 322, "column": 12 }, "end": { - "line": 326, + "line": 332, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 11744, - "end": 11756, + "start": 12004, + "end": 12016, "loc": { "start": { - "line": 316, + "line": 322, "column": 12 }, "end": { - "line": 316, + "line": 322, "column": 24 } }, "object": { "type": "Identifier", - "start": 11744, - "end": 11751, + "start": 12004, + "end": 12011, "loc": { "start": { - "line": 316, + "line": 322, "column": 12 }, "end": { - "line": 316, + "line": 322, "column": 19 }, "identifierName": "request" @@ -20960,15 +21354,15 @@ }, "property": { "type": "Identifier", - "start": 11752, - "end": 11756, + "start": 12012, + "end": 12016, "loc": { "start": { - "line": 316, + "line": 322, "column": 20 }, "end": { - "line": 316, + "line": 322, "column": 24 }, "identifierName": "once" @@ -20980,15 +21374,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 11757, - "end": 11766, + "start": 12017, + "end": 12026, "loc": { "start": { - "line": 316, + "line": 322, "column": 25 }, "end": { - "line": 316, + "line": 322, "column": 34 } }, @@ -21000,15 +21394,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 11768, - "end": 12214, + "start": 12028, + "end": 12474, "loc": { "start": { - "line": 316, + "line": 322, "column": 36 }, "end": { - "line": 326, + "line": 332, "column": 13 } }, @@ -21019,15 +21413,15 @@ "params": [ { "type": "Identifier", - "start": 11768, - "end": 11772, + "start": 12028, + "end": 12032, "loc": { "start": { - "line": 316, + "line": 322, "column": 36 }, "end": { - "line": 316, + "line": 322, "column": 40 }, "identifierName": "data" @@ -21037,87 +21431,87 @@ ], "body": { "type": "BlockStatement", - "start": 11776, - "end": 12214, + "start": 12036, + "end": 12474, "loc": { "start": { - "line": 316, + "line": 322, "column": 44 }, "end": { - "line": 326, + "line": 332, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 11794, - "end": 11837, + "start": 12054, + "end": 12097, "loc": { "start": { - "line": 317, + "line": 323, "column": 16 }, "end": { - "line": 317, + "line": 323, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 11794, - "end": 11836, + "start": 12054, + "end": 12096, "loc": { "start": { - "line": 317, + "line": 323, "column": 16 }, "end": { - "line": 317, + "line": 323, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 11794, - "end": 11802, + "start": 12054, + "end": 12062, "loc": { "start": { - "line": 317, + "line": 323, "column": 16 }, "end": { - "line": 317, + "line": 323, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 11794, - "end": 11798, + "start": 12054, + "end": 12058, "loc": { "start": { - "line": 317, + "line": 323, "column": 16 }, "end": { - "line": 317, + "line": 323, "column": 20 } } }, "property": { "type": "Identifier", - "start": 11799, - "end": 11802, + "start": 12059, + "end": 12062, "loc": { "start": { - "line": 317, + "line": 323, "column": 21 }, "end": { - "line": 317, + "line": 323, "column": 24 }, "identifierName": "log" @@ -21129,29 +21523,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11803, - "end": 11835, + "start": 12063, + "end": 12095, "loc": { "start": { - "line": 317, + "line": 323, "column": 25 }, "end": { - "line": 317, + "line": 323, "column": 57 } }, "left": { "type": "StringLiteral", - "start": 11803, - "end": 11827, + "start": 12063, + "end": 12087, "loc": { "start": { - "line": 317, + "line": 323, "column": 25 }, "end": { - "line": 317, + "line": 323, "column": 49 } }, @@ -21164,15 +21558,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 11830, - "end": 11835, + "start": 12090, + "end": 12095, "loc": { "start": { - "line": 317, + "line": 323, "column": 52 }, "end": { - "line": 317, + "line": 323, "column": 57 }, "identifierName": "peaks" @@ -21186,15 +21580,15 @@ { "type": "CommentLine", "value": " check for data property containing peaks", - "start": 11854, - "end": 11897, + "start": 12114, + "end": 12157, "loc": { "start": { - "line": 318, + "line": 324, "column": 16 }, "end": { - "line": 318, + "line": 324, "column": 59 } } @@ -21203,43 +21597,43 @@ }, { "type": "IfStatement", - "start": 11914, - "end": 12200, + "start": 12174, + "end": 12460, "loc": { "start": { - "line": 319, + "line": 325, "column": 16 }, "end": { - "line": 325, + "line": 331, "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 11918, - "end": 11935, + "start": 12178, + "end": 12195, "loc": { "start": { - "line": 319, + "line": 325, "column": 20 }, "end": { - "line": 319, + "line": 325, "column": 37 } }, "left": { "type": "Identifier", - "start": 11918, - "end": 11922, + "start": 12178, + "end": 12182, "loc": { "start": { - "line": 319, + "line": 325, "column": 20 }, "end": { - "line": 319, + "line": 325, "column": 24 }, "identifierName": "data" @@ -21250,29 +21644,29 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 11926, - "end": 11935, + "start": 12186, + "end": 12195, "loc": { "start": { - "line": 319, + "line": 325, "column": 28 }, "end": { - "line": 319, + "line": 325, "column": 37 } }, "object": { "type": "Identifier", - "start": 11926, - "end": 11930, + "start": 12186, + "end": 12190, "loc": { "start": { - "line": 319, + "line": 325, "column": 28 }, "end": { - "line": 319, + "line": 325, "column": 32 }, "identifierName": "data" @@ -21281,15 +21675,15 @@ }, "property": { "type": "Identifier", - "start": 11931, - "end": 11935, + "start": 12191, + "end": 12195, "loc": { "start": { - "line": 319, + "line": 325, "column": 33 }, "end": { - "line": 319, + "line": 325, "column": 37 }, "identifierName": "data" @@ -21302,101 +21696,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 11937, - "end": 12010, + "start": 12197, + "end": 12270, "loc": { "start": { - "line": 319, + "line": 325, "column": 39 }, "end": { - "line": 321, + "line": 327, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 11959, - "end": 11992, + "start": 12219, + "end": 12252, "loc": { "start": { - "line": 320, + "line": 326, "column": 20 }, "end": { - "line": 320, + "line": 326, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 11959, - "end": 11991, + "start": 12219, + "end": 12251, "loc": { "start": { - "line": 320, + "line": 326, "column": 20 }, "end": { - "line": 320, + "line": 326, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 11959, - "end": 11975, + "start": 12219, + "end": 12235, "loc": { "start": { - "line": 320, + "line": 326, "column": 20 }, "end": { - "line": 320, + "line": 326, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 11959, - "end": 11970, + "start": 12219, + "end": 12230, "loc": { "start": { - "line": 320, + "line": 326, "column": 20 }, "end": { - "line": 320, + "line": 326, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 11959, - "end": 11963, + "start": 12219, + "end": 12223, "loc": { "start": { - "line": 320, + "line": 326, "column": 20 }, "end": { - "line": 320, + "line": 326, "column": 24 } } }, "property": { "type": "Identifier", - "start": 11964, - "end": 11970, + "start": 12224, + "end": 12230, "loc": { "start": { - "line": 320, + "line": 326, "column": 25 }, "end": { - "line": 320, + "line": 326, "column": 31 }, "identifierName": "surfer" @@ -21407,15 +21801,15 @@ }, "property": { "type": "Identifier", - "start": 11971, - "end": 11975, + "start": 12231, + "end": 12235, "loc": { "start": { - "line": 320, + "line": 326, "column": 32 }, "end": { - "line": 320, + "line": 326, "column": 36 }, "identifierName": "load" @@ -21427,15 +21821,15 @@ "arguments": [ { "type": "Identifier", - "start": 11976, - "end": 11979, + "start": 12236, + "end": 12239, "loc": { "start": { - "line": 320, + "line": 326, "column": 37 }, "end": { - "line": 320, + "line": 326, "column": 40 }, "identifierName": "url" @@ -21444,29 +21838,29 @@ }, { "type": "MemberExpression", - "start": 11981, - "end": 11990, + "start": 12241, + "end": 12250, "loc": { "start": { - "line": 320, + "line": 326, "column": 42 }, "end": { - "line": 320, + "line": 326, "column": 51 } }, "object": { "type": "Identifier", - "start": 11981, - "end": 11985, + "start": 12241, + "end": 12245, "loc": { "start": { - "line": 320, + "line": 326, "column": 42 }, "end": { - "line": 320, + "line": 326, "column": 46 }, "identifierName": "data" @@ -21475,15 +21869,15 @@ }, "property": { "type": "Identifier", - "start": 11986, - "end": 11990, + "start": 12246, + "end": 12250, "loc": { "start": { - "line": 320, + "line": 326, "column": 47 }, "end": { - "line": 320, + "line": 326, "column": 51 }, "identifierName": "data" @@ -21500,101 +21894,101 @@ }, "alternate": { "type": "BlockStatement", - "start": 12016, - "end": 12200, + "start": 12276, + "end": 12460, "loc": { "start": { - "line": 321, + "line": 327, "column": 23 }, "end": { - "line": 325, + "line": 331, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 12038, - "end": 12138, + "start": 12298, + "end": 12398, "loc": { "start": { - "line": 322, + "line": 328, "column": 20 }, "end": { - "line": 323, + "line": 329, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 12038, - "end": 12137, + "start": 12298, + "end": 12397, "loc": { "start": { - "line": 322, + "line": 328, "column": 20 }, "end": { - "line": 323, + "line": 329, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 12038, - "end": 12057, + "start": 12298, + "end": 12317, "loc": { "start": { - "line": 322, + "line": 328, "column": 20 }, "end": { - "line": 322, + "line": 328, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 12038, - "end": 12049, + "start": 12298, + "end": 12309, "loc": { "start": { - "line": 322, + "line": 328, "column": 20 }, "end": { - "line": 322, + "line": 328, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 12038, - "end": 12042, + "start": 12298, + "end": 12302, "loc": { "start": { - "line": 322, + "line": 328, "column": 20 }, "end": { - "line": 322, + "line": 328, "column": 24 } } }, "property": { "type": "Identifier", - "start": 12043, - "end": 12049, + "start": 12303, + "end": 12309, "loc": { "start": { - "line": 322, + "line": 328, "column": 25 }, "end": { - "line": 322, + "line": 328, "column": 31 }, "identifierName": "player" @@ -21605,15 +21999,15 @@ }, "property": { "type": "Identifier", - "start": 12050, - "end": 12057, + "start": 12310, + "end": 12317, "loc": { "start": { - "line": 322, + "line": 328, "column": 32 }, "end": { - "line": 322, + "line": 328, "column": 39 }, "identifierName": "trigger" @@ -21625,29 +22019,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 12058, - "end": 12069, + "start": 12318, + "end": 12329, "loc": { "start": { - "line": 322, + "line": 328, "column": 40 }, "end": { - "line": 322, + "line": 328, "column": 51 } }, "object": { "type": "Identifier", - "start": 12058, - "end": 12063, + "start": 12318, + "end": 12323, "loc": { "start": { - "line": 322, + "line": 328, "column": 40 }, "end": { - "line": 322, + "line": 328, "column": 45 }, "identifierName": "Event" @@ -21656,15 +22050,15 @@ }, "property": { "type": "Identifier", - "start": 12064, - "end": 12069, + "start": 12324, + "end": 12329, "loc": { "start": { - "line": 322, + "line": 328, "column": 46 }, "end": { - "line": 322, + "line": 328, "column": 51 }, "identifierName": "ERROR" @@ -21675,29 +22069,29 @@ }, { "type": "BinaryExpression", - "start": 12095, - "end": 12136, + "start": 12355, + "end": 12396, "loc": { "start": { - "line": 323, + "line": 329, "column": 24 }, "end": { - "line": 323, + "line": 329, "column": 65 } }, "left": { "type": "StringLiteral", - "start": 12095, - "end": 12128, + "start": 12355, + "end": 12388, "loc": { "start": { - "line": 323, + "line": 329, "column": 24 }, "end": { - "line": 323, + "line": 329, "column": 57 } }, @@ -21710,15 +22104,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 12131, - "end": 12136, + "start": 12391, + "end": 12396, "loc": { "start": { - "line": 323, + "line": 329, "column": 60 }, "end": { - "line": 323, + "line": 329, "column": 65 }, "identifierName": "peaks" @@ -21731,72 +22125,72 @@ }, { "type": "ExpressionStatement", - "start": 12159, - "end": 12182, + "start": 12419, + "end": 12442, "loc": { "start": { - "line": 324, + "line": 330, "column": 20 }, "end": { - "line": 324, + "line": 330, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 12159, - "end": 12181, + "start": 12419, + "end": 12441, "loc": { "start": { - "line": 324, + "line": 330, "column": 20 }, "end": { - "line": 324, + "line": 330, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 12159, - "end": 12167, + "start": 12419, + "end": 12427, "loc": { "start": { - "line": 324, + "line": 330, "column": 20 }, "end": { - "line": 324, + "line": 330, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 12159, - "end": 12163, + "start": 12419, + "end": 12423, "loc": { "start": { - "line": 324, + "line": 330, "column": 20 }, "end": { - "line": 324, + "line": 330, "column": 24 } } }, "property": { "type": "Identifier", - "start": 12164, - "end": 12167, + "start": 12424, + "end": 12427, "loc": { "start": { - "line": 324, + "line": 330, "column": 25 }, "end": { - "line": 324, + "line": 330, "column": 28 }, "identifierName": "log" @@ -21808,15 +22202,15 @@ "arguments": [ { "type": "Identifier", - "start": 12168, - "end": 12171, + "start": 12428, + "end": 12431, "loc": { "start": { - "line": 324, + "line": 330, "column": 29 }, "end": { - "line": 324, + "line": 330, "column": 32 }, "identifierName": "err" @@ -21825,15 +22219,15 @@ }, { "type": "StringLiteral", - "start": 12173, - "end": 12180, + "start": 12433, + "end": 12440, "loc": { "start": { - "line": 324, + "line": 330, "column": 34 }, "end": { - "line": 324, + "line": 330, "column": 41 } }, @@ -21853,15 +22247,15 @@ { "type": "CommentLine", "value": " check for data property containing peaks", - "start": 11854, - "end": 11897, + "start": 12114, + "end": 12157, "loc": { "start": { - "line": 318, + "line": 324, "column": 16 }, "end": { - "line": 318, + "line": 324, "column": 59 } } @@ -21877,57 +22271,57 @@ }, { "type": "ExpressionStatement", - "start": 12229, - "end": 12505, + "start": 12489, + "end": 12715, "loc": { "start": { - "line": 327, + "line": 333, "column": 12 }, "end": { - "line": 332, + "line": 337, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 12229, - "end": 12504, + "start": 12489, + "end": 12714, "loc": { "start": { - "line": 327, + "line": 333, "column": 12 }, "end": { - "line": 332, + "line": 337, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 12229, - "end": 12239, + "start": 12489, + "end": 12501, "loc": { "start": { - "line": 327, + "line": 333, "column": 12 }, "end": { - "line": 327, - "column": 22 + "line": 333, + "column": 24 } }, "object": { "type": "Identifier", - "start": 12229, - "end": 12236, + "start": 12489, + "end": 12496, "loc": { "start": { - "line": 327, + "line": 333, "column": 12 }, "end": { - "line": 327, + "line": 333, "column": 19 }, "identifierName": "request" @@ -21936,36 +22330,36 @@ }, "property": { "type": "Identifier", - "start": 12237, - "end": 12239, + "start": 12497, + "end": 12501, "loc": { "start": { - "line": 327, + "line": 333, "column": 20 }, "end": { - "line": 327, - "column": 22 + "line": 333, + "column": 24 }, - "identifierName": "on" + "identifierName": "once" }, - "name": "on" + "name": "once" }, "computed": false }, "arguments": [ { "type": "StringLiteral", - "start": 12240, - "end": 12247, + "start": 12502, + "end": 12509, "loc": { "start": { - "line": 327, - "column": 23 + "line": 333, + "column": 25 }, "end": { - "line": 327, - "column": 30 + "line": 333, + "column": 32 } }, "extra": { @@ -21976,15 +22370,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 12249, - "end": 12503, + "start": 12511, + "end": 12713, "loc": { "start": { - "line": 327, - "column": 32 + "line": 333, + "column": 34 }, "end": { - "line": 332, + "line": 337, "column": 13 } }, @@ -21995,16 +22389,16 @@ "params": [ { "type": "Identifier", - "start": 12249, - "end": 12250, + "start": 12511, + "end": 12512, "loc": { "start": { - "line": 327, - "column": 32 + "line": 333, + "column": 34 }, "end": { - "line": 327, - "column": 33 + "line": 333, + "column": 35 }, "identifierName": "e" }, @@ -22013,150 +22407,233 @@ ], "body": { "type": "BlockStatement", - "start": 12254, - "end": 12503, + "start": 12516, + "end": 12713, "loc": { "start": { - "line": 327, - "column": 37 + "line": 333, + "column": 39 }, "end": { - "line": 332, + "line": 337, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12272, - "end": 12401, + "start": 12534, + "end": 12699, "loc": { "start": { - "line": 328, + "line": 334, "column": 16 }, "end": { - "line": 329, - "column": 73 + "line": 336, + "column": 65 } }, "expression": { "type": "CallExpression", - "start": 12272, - "end": 12400, + "start": 12534, + "end": 12698, "loc": { "start": { - "line": 328, + "line": 334, "column": 16 }, "end": { - "line": 329, - "column": 72 + "line": 336, + "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 12272, - "end": 12280, + "start": 12534, + "end": 12553, "loc": { "start": { - "line": 328, + "line": 334, "column": 16 }, "end": { - "line": 328, - "column": 24 + "line": 334, + "column": 35 } }, "object": { - "type": "ThisExpression", - "start": 12272, - "end": 12276, + "type": "MemberExpression", + "start": 12534, + "end": 12545, "loc": { "start": { - "line": 328, + "line": 334, "column": 16 }, "end": { - "line": 328, - "column": 20 + "line": 334, + "column": 27 } - } + }, + "object": { + "type": "ThisExpression", + "start": 12534, + "end": 12538, + "loc": { + "start": { + "line": 334, + "column": 16 + }, + "end": { + "line": 334, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 12539, + "end": 12545, + "loc": { + "start": { + "line": 334, + "column": 21 + }, + "end": { + "line": 334, + "column": 27 + }, + "identifierName": "player" + }, + "name": "player" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 12277, - "end": 12280, + "start": 12546, + "end": 12553, "loc": { "start": { - "line": 328, - "column": 21 + "line": 334, + "column": 28 }, "end": { - "line": 328, - "column": 24 + "line": 334, + "column": 35 }, - "identifierName": "log" + "identifierName": "trigger" }, - "name": "log" + "name": "trigger" }, "computed": false }, "arguments": [ + { + "type": "MemberExpression", + "start": 12554, + "end": 12565, + "loc": { + "start": { + "line": 334, + "column": 36 + }, + "end": { + "line": 334, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 12554, + "end": 12559, + "loc": { + "start": { + "line": 334, + "column": 36 + }, + "end": { + "line": 334, + "column": 41 + }, + "identifierName": "Event" + }, + "name": "Event" + }, + "property": { + "type": "Identifier", + "start": 12560, + "end": 12565, + "loc": { + "start": { + "line": 334, + "column": 42 + }, + "end": { + "line": 334, + "column": 47 + }, + "identifierName": "ERROR" + }, + "name": "ERROR" + }, + "computed": false + }, { "type": "BinaryExpression", - "start": 12281, - "end": 12391, + "start": 12587, + "end": 12697, "loc": { "start": { - "line": 328, - "column": 25 + "line": 335, + "column": 20 }, "end": { - "line": 329, + "line": 336, "column": 63 } }, "left": { "type": "BinaryExpression", - "start": 12281, - "end": 12365, + "start": 12587, + "end": 12671, "loc": { "start": { - "line": 328, - "column": 25 + "line": 335, + "column": 20 }, "end": { - "line": 329, + "line": 336, "column": 37 } }, "left": { "type": "BinaryExpression", - "start": 12281, - "end": 12325, + "start": 12587, + "end": 12631, "loc": { "start": { - "line": 328, - "column": 25 + "line": 335, + "column": 20 }, "end": { - "line": 328, - "column": 69 + "line": 335, + "column": 64 } }, "left": { "type": "StringLiteral", - "start": 12281, - "end": 12317, + "start": 12587, + "end": 12623, "loc": { "start": { - "line": 328, - "column": 25 + "line": 335, + "column": 20 }, "end": { - "line": 328, - "column": 61 + "line": 335, + "column": 56 } }, "extra": { @@ -22168,16 +22645,16 @@ "operator": "+", "right": { "type": "Identifier", - "start": 12320, - "end": 12325, + "start": 12626, + "end": 12631, "loc": { "start": { - "line": 328, - "column": 64 + "line": 335, + "column": 59 }, "end": { - "line": 328, - "column": 69 + "line": 335, + "column": 64 }, "identifierName": "peaks" }, @@ -22187,15 +22664,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 12348, - "end": 12365, + "start": 12654, + "end": 12671, "loc": { "start": { - "line": 329, + "line": 336, "column": 20 }, "end": { - "line": 329, + "line": 336, "column": 37 } }, @@ -22209,43 +22686,43 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 12368, - "end": 12391, + "start": 12674, + "end": 12697, "loc": { "start": { - "line": 329, + "line": 336, "column": 40 }, "end": { - "line": 329, + "line": 336, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 12368, - "end": 12384, + "start": 12674, + "end": 12690, "loc": { "start": { - "line": 329, + "line": 336, "column": 40 }, "end": { - "line": 329, + "line": 336, "column": 56 } }, "object": { "type": "Identifier", - "start": 12368, - "end": 12375, + "start": 12674, + "end": 12681, "loc": { "start": { - "line": 329, + "line": 336, "column": 40 }, "end": { - "line": 329, + "line": 336, "column": 47 }, "identifierName": "request" @@ -22254,15 +22731,15 @@ }, "property": { "type": "Identifier", - "start": 12376, - "end": 12384, + "start": 12682, + "end": 12690, "loc": { "start": { - "line": 329, + "line": 336, "column": 48 }, "end": { - "line": 329, + "line": 336, "column": 56 }, "identifierName": "response" @@ -22273,15 +22750,15 @@ }, "property": { "type": "Identifier", - "start": 12385, - "end": 12391, + "start": 12691, + "end": 12697, "loc": { "start": { - "line": 329, + "line": 336, "column": 57 }, "end": { - "line": 329, + "line": 336, "column": 63 }, "identifierName": "status" @@ -22290,289 +22767,6 @@ }, "computed": false } - }, - { - "type": "StringLiteral", - "start": 12393, - "end": 12399, - "loc": { - "start": { - "line": 329, - "column": 65 - }, - "end": { - "line": 329, - "column": 71 - } - }, - "extra": { - "rawValue": "warn", - "raw": "'warn'" - }, - "value": "warn" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 12418, - "end": 12450, - "loc": { - "start": { - "line": 330, - "column": 16 - }, - "end": { - "line": 330, - "column": 48 - } - }, - "expression": { - "type": "CallExpression", - "start": 12418, - "end": 12449, - "loc": { - "start": { - "line": 330, - "column": 16 - }, - "end": { - "line": 330, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 12418, - "end": 12426, - "loc": { - "start": { - "line": 330, - "column": 16 - }, - "end": { - "line": 330, - "column": 24 - } - }, - "object": { - "type": "ThisExpression", - "start": 12418, - "end": 12422, - "loc": { - "start": { - "line": 330, - "column": 16 - }, - "end": { - "line": 330, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 12423, - "end": 12426, - "loc": { - "start": { - "line": 330, - "column": 21 - }, - "end": { - "line": 330, - "column": 24 - }, - "identifierName": "log" - }, - "name": "log" - }, - "computed": false - }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 12427, - "end": 12448, - "loc": { - "start": { - "line": 330, - "column": 25 - }, - "end": { - "line": 330, - "column": 46 - } - }, - "left": { - "type": "StringLiteral", - "start": 12427, - "end": 12442, - "loc": { - "start": { - "line": 330, - "column": 25 - }, - "end": { - "line": 330, - "column": 40 - } - }, - "extra": { - "rawValue": "Loading URL: ", - "raw": "'Loading URL: '" - }, - "value": "Loading URL: " - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 12445, - "end": 12448, - "loc": { - "start": { - "line": 330, - "column": 43 - }, - "end": { - "line": 330, - "column": 46 - }, - "identifierName": "url" - }, - "name": "url" - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 12467, - "end": 12489, - "loc": { - "start": { - "line": 331, - "column": 16 - }, - "end": { - "line": 331, - "column": 38 - } - }, - "expression": { - "type": "CallExpression", - "start": 12467, - "end": 12488, - "loc": { - "start": { - "line": 331, - "column": 16 - }, - "end": { - "line": 331, - "column": 37 - } - }, - "callee": { - "type": "MemberExpression", - "start": 12467, - "end": 12483, - "loc": { - "start": { - "line": 331, - "column": 16 - }, - "end": { - "line": 331, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 12467, - "end": 12478, - "loc": { - "start": { - "line": 331, - "column": 16 - }, - "end": { - "line": 331, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 12467, - "end": 12471, - "loc": { - "start": { - "line": 331, - "column": 16 - }, - "end": { - "line": 331, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 12472, - "end": 12478, - "loc": { - "start": { - "line": 331, - "column": 21 - }, - "end": { - "line": 331, - "column": 27 - }, - "identifierName": "surfer" - }, - "name": "surfer" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 12479, - "end": 12483, - "loc": { - "start": { - "line": 331, - "column": 28 - }, - "end": { - "line": 331, - "column": 32 - }, - "identifierName": "load" - }, - "name": "load" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 12484, - "end": 12487, - "loc": { - "start": { - "line": 331, - "column": 33 - }, - "end": { - "line": 331, - "column": 36 - }, - "identifierName": "url" - }, - "name": "url" } ] } @@ -22596,15 +22790,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 10771, - "end": 11063, + "start": 11031, + "end": 11323, "loc": { "start": { - "line": 290, + "line": 296, "column": 4 }, "end": { - "line": 297, + "line": 303, "column": 7 } } @@ -22614,15 +22808,15 @@ { "type": "CommentBlock", "value": "*\n * Start/resume playback or microphone.\n ", - "start": 12527, - "end": 12582, + "start": 12737, + "end": 12792, "loc": { "start": { - "line": 336, + "line": 341, "column": 4 }, "end": { - "line": 338, + "line": 343, "column": 7 } } @@ -22631,15 +22825,15 @@ }, { "type": "ClassMethod", - "start": 12587, - "end": 13627, + "start": 12797, + "end": 13837, "loc": { "start": { - "line": 339, + "line": 344, "column": 4 }, "end": { - "line": 372, + "line": 377, "column": 5 } }, @@ -22647,15 +22841,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12587, - "end": 12591, + "start": 12797, + "end": 12801, "loc": { "start": { - "line": 339, + "line": 344, "column": 4 }, "end": { - "line": 339, + "line": 344, "column": 8 }, "identifierName": "play" @@ -22671,114 +22865,114 @@ "params": [], "body": { "type": "BlockStatement", - "start": 12594, - "end": 13627, + "start": 12804, + "end": 13837, "loc": { "start": { - "line": 339, + "line": 344, "column": 11 }, "end": { - "line": 372, + "line": 377, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 12633, - "end": 12818, + "start": 12843, + "end": 13028, "loc": { "start": { - "line": 341, + "line": 346, "column": 8 }, "end": { - "line": 344, + "line": 349, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 12637, - "end": 12745, + "start": 12847, + "end": 12955, "loc": { "start": { - "line": 341, + "line": 346, "column": 12 }, "end": { - "line": 342, + "line": 347, "column": 57 } }, "left": { "type": "BinaryExpression", - "start": 12637, - "end": 12684, + "start": 12847, + "end": 12894, "loc": { "start": { - "line": 341, + "line": 346, "column": 12 }, "end": { - "line": 341, + "line": 346, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 12637, - "end": 12670, + "start": 12847, + "end": 12880, "loc": { "start": { - "line": 341, + "line": 346, "column": 12 }, "end": { - "line": 341, + "line": 346, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 12637, - "end": 12659, + "start": 12847, + "end": 12869, "loc": { "start": { - "line": 341, + "line": 346, "column": 12 }, "end": { - "line": 341, + "line": 346, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12637, - "end": 12648, + "start": 12847, + "end": 12858, "loc": { "start": { - "line": 341, + "line": 346, "column": 12 }, "end": { - "line": 341, + "line": 346, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12637, - "end": 12641, + "start": 12847, + "end": 12851, "loc": { "start": { - "line": 341, + "line": 346, "column": 12 }, "end": { - "line": 341, + "line": 346, "column": 16 } }, @@ -22786,15 +22980,15 @@ }, "property": { "type": "Identifier", - "start": 12642, - "end": 12648, + "start": 12852, + "end": 12858, "loc": { "start": { - "line": 341, + "line": 346, "column": 17 }, "end": { - "line": 341, + "line": 346, "column": 23 }, "identifierName": "player" @@ -22806,15 +23000,15 @@ }, "property": { "type": "Identifier", - "start": 12649, - "end": 12659, + "start": 12859, + "end": 12869, "loc": { "start": { - "line": 341, + "line": 346, "column": 24 }, "end": { - "line": 341, + "line": 346, "column": 34 }, "identifierName": "controlBar" @@ -22826,15 +23020,15 @@ }, "property": { "type": "Identifier", - "start": 12660, - "end": 12670, + "start": 12870, + "end": 12880, "loc": { "start": { - "line": 341, + "line": 346, "column": 35 }, "end": { - "line": 341, + "line": 346, "column": 45 }, "identifierName": "playToggle" @@ -22847,15 +23041,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 12675, - "end": 12684, + "start": 12885, + "end": 12894, "loc": { "start": { - "line": 341, + "line": 346, "column": 50 }, "end": { - "line": 341, + "line": 346, "column": 59 }, "identifierName": "undefined" @@ -22867,100 +23061,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 12700, - "end": 12745, + "start": 12910, + "end": 12955, "loc": { "start": { - "line": 342, + "line": 347, "column": 12 }, "end": { - "line": 342, + "line": 347, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 12700, - "end": 12743, + "start": 12910, + "end": 12953, "loc": { "start": { - "line": 342, + "line": 347, "column": 12 }, "end": { - "line": 342, + "line": 347, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 12700, - "end": 12733, + "start": 12910, + "end": 12943, "loc": { "start": { - "line": 342, + "line": 347, "column": 12 }, "end": { - "line": 342, + "line": 347, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 12700, - "end": 12722, + "start": 12910, + "end": 12932, "loc": { "start": { - "line": 342, + "line": 347, "column": 12 }, "end": { - "line": 342, + "line": 347, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12700, - "end": 12711, + "start": 12910, + "end": 12921, "loc": { "start": { - "line": 342, + "line": 347, "column": 12 }, "end": { - "line": 342, + "line": 347, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12700, - "end": 12704, + "start": 12910, + "end": 12914, "loc": { "start": { - "line": 342, + "line": 347, "column": 12 }, "end": { - "line": 342, + "line": 347, "column": 16 } } }, "property": { "type": "Identifier", - "start": 12705, - "end": 12711, + "start": 12915, + "end": 12921, "loc": { "start": { - "line": 342, + "line": 347, "column": 17 }, "end": { - "line": 342, + "line": 347, "column": 23 }, "identifierName": "player" @@ -22971,15 +23165,15 @@ }, "property": { "type": "Identifier", - "start": 12712, - "end": 12722, + "start": 12922, + "end": 12932, "loc": { "start": { - "line": 342, + "line": 347, "column": 24 }, "end": { - "line": 342, + "line": 347, "column": 34 }, "identifierName": "controlBar" @@ -22990,15 +23184,15 @@ }, "property": { "type": "Identifier", - "start": 12723, - "end": 12733, + "start": 12933, + "end": 12943, "loc": { "start": { - "line": 342, + "line": 347, "column": 35 }, "end": { - "line": 342, + "line": 347, "column": 45 }, "identifierName": "playToggle" @@ -23009,15 +23203,15 @@ }, "property": { "type": "Identifier", - "start": 12734, - "end": 12743, + "start": 12944, + "end": 12953, "loc": { "start": { - "line": 342, + "line": 347, "column": 46 }, "end": { - "line": 342, + "line": 347, "column": 55 }, "identifierName": "contentEl" @@ -23032,129 +23226,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 12747, - "end": 12818, + "start": 12957, + "end": 13028, "loc": { "start": { - "line": 342, + "line": 347, "column": 59 }, "end": { - "line": 344, + "line": 349, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 12761, - "end": 12808, + "start": 12971, + "end": 13018, "loc": { "start": { - "line": 343, + "line": 348, "column": 12 }, "end": { - "line": 343, + "line": 348, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 12761, - "end": 12807, + "start": 12971, + "end": 13017, "loc": { "start": { - "line": 343, + "line": 348, "column": 12 }, "end": { - "line": 343, + "line": 348, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 12761, - "end": 12805, + "start": 12971, + "end": 13015, "loc": { "start": { - "line": 343, + "line": 348, "column": 12 }, "end": { - "line": 343, + "line": 348, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 12761, - "end": 12794, + "start": 12971, + "end": 13004, "loc": { "start": { - "line": 343, + "line": 348, "column": 12 }, "end": { - "line": 343, + "line": 348, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 12761, - "end": 12783, + "start": 12971, + "end": 12993, "loc": { "start": { - "line": 343, + "line": 348, "column": 12 }, "end": { - "line": 343, + "line": 348, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12761, - "end": 12772, + "start": 12971, + "end": 12982, "loc": { "start": { - "line": 343, + "line": 348, "column": 12 }, "end": { - "line": 343, + "line": 348, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12761, - "end": 12765, + "start": 12971, + "end": 12975, "loc": { "start": { - "line": 343, + "line": 348, "column": 12 }, "end": { - "line": 343, + "line": 348, "column": 16 } } }, "property": { "type": "Identifier", - "start": 12766, - "end": 12772, + "start": 12976, + "end": 12982, "loc": { "start": { - "line": 343, + "line": 348, "column": 17 }, "end": { - "line": 343, + "line": 348, "column": 23 }, "identifierName": "player" @@ -23165,15 +23359,15 @@ }, "property": { "type": "Identifier", - "start": 12773, - "end": 12783, + "start": 12983, + "end": 12993, "loc": { "start": { - "line": 343, + "line": 348, "column": 24 }, "end": { - "line": 343, + "line": 348, "column": 34 }, "identifierName": "controlBar" @@ -23184,15 +23378,15 @@ }, "property": { "type": "Identifier", - "start": 12784, - "end": 12794, + "start": 12994, + "end": 13004, "loc": { "start": { - "line": 343, + "line": 348, "column": 35 }, "end": { - "line": 343, + "line": 348, "column": 45 }, "identifierName": "playToggle" @@ -23203,15 +23397,15 @@ }, "property": { "type": "Identifier", - "start": 12795, - "end": 12805, + "start": 13005, + "end": 13015, "loc": { "start": { - "line": 343, + "line": 348, "column": 46 }, "end": { - "line": 343, + "line": 348, "column": 56 }, "identifierName": "handlePlay" @@ -23231,15 +23425,15 @@ { "type": "CommentLine", "value": " show pause button", - "start": 12604, - "end": 12624, + "start": 12814, + "end": 12834, "loc": { "start": { - "line": 340, + "line": 345, "column": 8 }, "end": { - "line": 340, + "line": 345, "column": 28 } } @@ -23248,58 +23442,58 @@ }, { "type": "IfStatement", - "start": 12828, - "end": 13621, + "start": 13038, + "end": 13831, "loc": { "start": { - "line": 346, + "line": 351, "column": 8 }, "end": { - "line": 371, + "line": 376, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 12832, - "end": 12845, + "start": 13042, + "end": 13055, "loc": { "start": { - "line": 346, + "line": 351, "column": 12 }, "end": { - "line": 346, + "line": 351, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 12832, - "end": 12836, + "start": 13042, + "end": 13046, "loc": { "start": { - "line": 346, + "line": 351, "column": 12 }, "end": { - "line": 346, + "line": 351, "column": 16 } } }, "property": { "type": "Identifier", - "start": 12837, - "end": 12845, + "start": 13047, + "end": 13055, "loc": { "start": { - "line": 346, + "line": 351, "column": 17 }, "end": { - "line": 346, + "line": 351, "column": 25 }, "identifierName": "liveMode" @@ -23310,44 +23504,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 12847, - "end": 13406, + "start": 13057, + "end": 13616, "loc": { "start": { - "line": 346, + "line": 351, "column": 27 }, "end": { - "line": 363, + "line": 368, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 12914, - "end": 13396, + "start": 13124, + "end": 13606, "loc": { "start": { - "line": 348, + "line": 353, "column": 12 }, "end": { - "line": 362, + "line": 367, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 12918, - "end": 12948, + "start": 13128, + "end": 13158, "loc": { "start": { - "line": 348, + "line": 353, "column": 16 }, "end": { - "line": 348, + "line": 353, "column": 46 } }, @@ -23355,57 +23549,57 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 12919, - "end": 12948, + "start": 13129, + "end": 13158, "loc": { "start": { - "line": 348, + "line": 353, "column": 17 }, "end": { - "line": 348, + "line": 353, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 12919, - "end": 12941, + "start": 13129, + "end": 13151, "loc": { "start": { - "line": 348, + "line": 353, "column": 17 }, "end": { - "line": 348, + "line": 353, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 12919, - "end": 12930, + "start": 13129, + "end": 13140, "loc": { "start": { - "line": 348, + "line": 353, "column": 17 }, "end": { - "line": 348, + "line": 353, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 12919, - "end": 12923, + "start": 13129, + "end": 13133, "loc": { "start": { - "line": 348, + "line": 353, "column": 17 }, "end": { - "line": 348, + "line": 353, "column": 21 } }, @@ -23413,15 +23607,15 @@ }, "property": { "type": "Identifier", - "start": 12924, - "end": 12930, + "start": 13134, + "end": 13140, "loc": { "start": { - "line": 348, + "line": 353, "column": 22 }, "end": { - "line": 348, + "line": 353, "column": 28 }, "identifierName": "surfer" @@ -23433,15 +23627,15 @@ }, "property": { "type": "Identifier", - "start": 12931, - "end": 12941, + "start": 13141, + "end": 13151, "loc": { "start": { - "line": 348, + "line": 353, "column": 29 }, "end": { - "line": 348, + "line": 353, "column": 39 }, "identifierName": "microphone" @@ -23453,15 +23647,15 @@ }, "property": { "type": "Identifier", - "start": 12942, - "end": 12948, + "start": 13152, + "end": 13158, "loc": { "start": { - "line": 348, + "line": 353, "column": 40 }, "end": { - "line": 348, + "line": 353, "column": 46 }, "identifierName": "active" @@ -23478,87 +23672,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 12962, - "end": 13071, + "start": 13172, + "end": 13281, "loc": { "start": { - "line": 349, + "line": 354, "column": 12 }, "end": { - "line": 352, + "line": 357, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12980, - "end": 13009, + "start": 13190, + "end": 13219, "loc": { "start": { - "line": 350, + "line": 355, "column": 16 }, "end": { - "line": 350, + "line": 355, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 12980, - "end": 13008, + "start": 13190, + "end": 13218, "loc": { "start": { - "line": 350, + "line": 355, "column": 16 }, "end": { - "line": 350, + "line": 355, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 12980, - "end": 12988, + "start": 13190, + "end": 13198, "loc": { "start": { - "line": 350, + "line": 355, "column": 16 }, "end": { - "line": 350, + "line": 355, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 12980, - "end": 12984, + "start": 13190, + "end": 13194, "loc": { "start": { - "line": 350, + "line": 355, "column": 16 }, "end": { - "line": 350, + "line": 355, "column": 20 } } }, "property": { "type": "Identifier", - "start": 12985, - "end": 12988, + "start": 13195, + "end": 13198, "loc": { "start": { - "line": 350, + "line": 355, "column": 21 }, "end": { - "line": 350, + "line": 355, "column": 24 }, "identifierName": "log" @@ -23570,15 +23764,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 12989, - "end": 13007, + "start": 13199, + "end": 13217, "loc": { "start": { - "line": 350, + "line": 355, "column": 25 }, "end": { - "line": 350, + "line": 355, "column": 43 } }, @@ -23593,100 +23787,100 @@ }, { "type": "ExpressionStatement", - "start": 13026, - "end": 13057, + "start": 13236, + "end": 13267, "loc": { "start": { - "line": 351, + "line": 356, "column": 16 }, "end": { - "line": 351, + "line": 356, "column": 47 } }, "expression": { "type": "CallExpression", - "start": 13026, - "end": 13056, + "start": 13236, + "end": 13266, "loc": { "start": { - "line": 351, + "line": 356, "column": 16 }, "end": { - "line": 351, + "line": 356, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 13026, - "end": 13054, + "start": 13236, + "end": 13264, "loc": { "start": { - "line": 351, + "line": 356, "column": 16 }, "end": { - "line": 351, + "line": 356, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 13026, - "end": 13048, + "start": 13236, + "end": 13258, "loc": { "start": { - "line": 351, + "line": 356, "column": 16 }, "end": { - "line": 351, + "line": 356, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 13026, - "end": 13037, + "start": 13236, + "end": 13247, "loc": { "start": { - "line": 351, + "line": 356, "column": 16 }, "end": { - "line": 351, + "line": 356, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 13026, - "end": 13030, + "start": 13236, + "end": 13240, "loc": { "start": { - "line": 351, + "line": 356, "column": 16 }, "end": { - "line": 351, + "line": 356, "column": 20 } } }, "property": { "type": "Identifier", - "start": 13031, - "end": 13037, + "start": 13241, + "end": 13247, "loc": { "start": { - "line": 351, + "line": 356, "column": 21 }, "end": { - "line": 351, + "line": 356, "column": 27 }, "identifierName": "surfer" @@ -23697,15 +23891,15 @@ }, "property": { "type": "Identifier", - "start": 13038, - "end": 13048, + "start": 13248, + "end": 13258, "loc": { "start": { - "line": 351, + "line": 356, "column": 28 }, "end": { - "line": 351, + "line": 356, "column": 38 }, "identifierName": "microphone" @@ -23716,15 +23910,15 @@ }, "property": { "type": "Identifier", - "start": 13049, - "end": 13054, + "start": 13259, + "end": 13264, "loc": { "start": { - "line": 351, + "line": 356, "column": 39 }, "end": { - "line": 351, + "line": 356, "column": 44 }, "identifierName": "start" @@ -23741,59 +23935,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 13077, - "end": 13396, + "start": 13287, + "end": 13606, "loc": { "start": { - "line": 352, + "line": 357, "column": 19 }, "end": { - "line": 362, + "line": 367, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 13128, - "end": 13172, + "start": 13338, + "end": 13382, "loc": { "start": { - "line": 354, + "line": 359, "column": 16 }, "end": { - "line": 354, + "line": 359, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13132, - "end": 13171, + "start": 13342, + "end": 13381, "loc": { "start": { - "line": 354, + "line": 359, "column": 20 }, "end": { - "line": 354, + "line": 359, "column": 59 } }, "id": { "type": "Identifier", - "start": 13132, - "end": 13138, + "start": 13342, + "end": 13348, "loc": { "start": { - "line": 354, + "line": 359, "column": 20 }, "end": { - "line": 354, + "line": 359, "column": 26 }, "identifierName": "paused" @@ -23803,15 +23997,15 @@ }, "init": { "type": "UnaryExpression", - "start": 13141, - "end": 13171, + "start": 13351, + "end": 13381, "loc": { "start": { - "line": 354, + "line": 359, "column": 29 }, "end": { - "line": 354, + "line": 359, "column": 59 } }, @@ -23819,72 +24013,72 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 13142, - "end": 13171, + "start": 13352, + "end": 13381, "loc": { "start": { - "line": 354, + "line": 359, "column": 30 }, "end": { - "line": 354, + "line": 359, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 13142, - "end": 13164, + "start": 13352, + "end": 13374, "loc": { "start": { - "line": 354, + "line": 359, "column": 30 }, "end": { - "line": 354, + "line": 359, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 13142, - "end": 13153, + "start": 13352, + "end": 13363, "loc": { "start": { - "line": 354, + "line": 359, "column": 30 }, "end": { - "line": 354, + "line": 359, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 13142, - "end": 13146, + "start": 13352, + "end": 13356, "loc": { "start": { - "line": 354, + "line": 359, "column": 30 }, "end": { - "line": 354, + "line": 359, "column": 34 } } }, "property": { "type": "Identifier", - "start": 13147, - "end": 13153, + "start": 13357, + "end": 13363, "loc": { "start": { - "line": 354, + "line": 359, "column": 35 }, "end": { - "line": 354, + "line": 359, "column": 41 }, "identifierName": "surfer" @@ -23895,15 +24089,15 @@ }, "property": { "type": "Identifier", - "start": 13154, - "end": 13164, + "start": 13364, + "end": 13374, "loc": { "start": { - "line": 354, + "line": 359, "column": 42 }, "end": { - "line": 354, + "line": 359, "column": 52 }, "identifierName": "microphone" @@ -23914,15 +24108,15 @@ }, "property": { "type": "Identifier", - "start": 13165, - "end": 13171, + "start": 13375, + "end": 13381, "loc": { "start": { - "line": 354, + "line": 359, "column": 53 }, "end": { - "line": 354, + "line": 359, "column": 59 }, "identifierName": "paused" @@ -23943,15 +24137,15 @@ { "type": "CommentLine", "value": " toggle paused", - "start": 13095, - "end": 13111, + "start": 13305, + "end": 13321, "loc": { "start": { - "line": 353, + "line": 358, "column": 16 }, "end": { - "line": 353, + "line": 358, "column": 32 } } @@ -23960,29 +24154,29 @@ }, { "type": "IfStatement", - "start": 13190, - "end": 13382, + "start": 13400, + "end": 13592, "loc": { "start": { - "line": 356, + "line": 361, "column": 16 }, "end": { - "line": 361, + "line": 366, "column": 17 } }, "test": { "type": "Identifier", - "start": 13194, - "end": 13200, + "start": 13404, + "end": 13410, "loc": { "start": { - "line": 356, + "line": 361, "column": 20 }, "end": { - "line": 356, + "line": 361, "column": 26 }, "identifierName": "paused" @@ -23991,87 +24185,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 13202, - "end": 13255, + "start": 13412, + "end": 13465, "loc": { "start": { - "line": 356, + "line": 361, "column": 28 }, "end": { - "line": 358, + "line": 363, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 13224, - "end": 13237, + "start": 13434, + "end": 13447, "loc": { "start": { - "line": 357, + "line": 362, "column": 20 }, "end": { - "line": 357, + "line": 362, "column": 33 } }, "expression": { "type": "CallExpression", - "start": 13224, - "end": 13236, + "start": 13434, + "end": 13446, "loc": { "start": { - "line": 357, + "line": 362, "column": 20 }, "end": { - "line": 357, + "line": 362, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 13224, - "end": 13234, + "start": 13434, + "end": 13444, "loc": { "start": { - "line": 357, + "line": 362, "column": 20 }, "end": { - "line": 357, + "line": 362, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 13224, - "end": 13228, + "start": 13434, + "end": 13438, "loc": { "start": { - "line": 357, + "line": 362, "column": 20 }, "end": { - "line": 357, + "line": 362, "column": 24 } } }, "property": { "type": "Identifier", - "start": 13229, - "end": 13234, + "start": 13439, + "end": 13444, "loc": { "start": { - "line": 357, + "line": 362, "column": 25 }, "end": { - "line": 357, + "line": 362, "column": 30 }, "identifierName": "pause" @@ -24088,87 +24282,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 13261, - "end": 13382, + "start": 13471, + "end": 13592, "loc": { "start": { - "line": 358, + "line": 363, "column": 23 }, "end": { - "line": 361, + "line": 366, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 13283, - "end": 13313, + "start": 13493, + "end": 13523, "loc": { "start": { - "line": 359, + "line": 364, "column": 20 }, "end": { - "line": 359, + "line": 364, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 13283, - "end": 13312, + "start": 13493, + "end": 13522, "loc": { "start": { - "line": 359, + "line": 364, "column": 20 }, "end": { - "line": 359, + "line": 364, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 13283, - "end": 13291, + "start": 13493, + "end": 13501, "loc": { "start": { - "line": 359, + "line": 364, "column": 20 }, "end": { - "line": 359, + "line": 364, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 13283, - "end": 13287, + "start": 13493, + "end": 13497, "loc": { "start": { - "line": 359, + "line": 364, "column": 20 }, "end": { - "line": 359, + "line": 364, "column": 24 } } }, "property": { "type": "Identifier", - "start": 13288, - "end": 13291, + "start": 13498, + "end": 13501, "loc": { "start": { - "line": 359, + "line": 364, "column": 25 }, "end": { - "line": 359, + "line": 364, "column": 28 }, "identifierName": "log" @@ -24180,15 +24374,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13292, - "end": 13311, + "start": 13502, + "end": 13521, "loc": { "start": { - "line": 359, + "line": 364, "column": 29 }, "end": { - "line": 359, + "line": 364, "column": 48 } }, @@ -24203,100 +24397,100 @@ }, { "type": "ExpressionStatement", - "start": 13334, - "end": 13364, + "start": 13544, + "end": 13574, "loc": { "start": { - "line": 360, + "line": 365, "column": 20 }, "end": { - "line": 360, + "line": 365, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 13334, - "end": 13363, + "start": 13544, + "end": 13573, "loc": { "start": { - "line": 360, + "line": 365, "column": 20 }, "end": { - "line": 360, + "line": 365, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 13334, - "end": 13361, + "start": 13544, + "end": 13571, "loc": { "start": { - "line": 360, + "line": 365, "column": 20 }, "end": { - "line": 360, + "line": 365, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 13334, - "end": 13356, + "start": 13544, + "end": 13566, "loc": { "start": { - "line": 360, + "line": 365, "column": 20 }, "end": { - "line": 360, + "line": 365, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 13334, - "end": 13345, + "start": 13544, + "end": 13555, "loc": { "start": { - "line": 360, + "line": 365, "column": 20 }, "end": { - "line": 360, + "line": 365, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 13334, - "end": 13338, + "start": 13544, + "end": 13548, "loc": { "start": { - "line": 360, + "line": 365, "column": 20 }, "end": { - "line": 360, + "line": 365, "column": 24 } } }, "property": { "type": "Identifier", - "start": 13339, - "end": 13345, + "start": 13549, + "end": 13555, "loc": { "start": { - "line": 360, + "line": 365, "column": 25 }, "end": { - "line": 360, + "line": 365, "column": 31 }, "identifierName": "surfer" @@ -24307,15 +24501,15 @@ }, "property": { "type": "Identifier", - "start": 13346, - "end": 13356, + "start": 13556, + "end": 13566, "loc": { "start": { - "line": 360, + "line": 365, "column": 32 }, "end": { - "line": 360, + "line": 365, "column": 42 }, "identifierName": "microphone" @@ -24326,15 +24520,15 @@ }, "property": { "type": "Identifier", - "start": 13357, - "end": 13361, + "start": 13567, + "end": 13571, "loc": { "start": { - "line": 360, + "line": 365, "column": 43 }, "end": { - "line": 360, + "line": 365, "column": 47 }, "identifierName": "play" @@ -24357,15 +24551,15 @@ { "type": "CommentLine", "value": " start/resume microphone visualization", - "start": 12861, - "end": 12901, + "start": 13071, + "end": 13111, "loc": { "start": { - "line": 347, + "line": 352, "column": 12 }, "end": { - "line": 347, + "line": 352, "column": 52 } } @@ -24377,87 +24571,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 13412, - "end": 13621, + "start": 13622, + "end": 13831, "loc": { "start": { - "line": 363, + "line": 368, "column": 15 }, "end": { - "line": 371, + "line": 376, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 13426, - "end": 13453, + "start": 13636, + "end": 13663, "loc": { "start": { - "line": 364, + "line": 369, "column": 12 }, "end": { - "line": 364, + "line": 369, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 13426, - "end": 13452, + "start": 13636, + "end": 13662, "loc": { "start": { - "line": 364, + "line": 369, "column": 12 }, "end": { - "line": 364, + "line": 369, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 13426, - "end": 13434, + "start": 13636, + "end": 13644, "loc": { "start": { - "line": 364, + "line": 369, "column": 12 }, "end": { - "line": 364, + "line": 369, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 13426, - "end": 13430, + "start": 13636, + "end": 13640, "loc": { "start": { - "line": 364, + "line": 369, "column": 12 }, "end": { - "line": 364, + "line": 369, "column": 16 } } }, "property": { "type": "Identifier", - "start": 13431, - "end": 13434, + "start": 13641, + "end": 13644, "loc": { "start": { - "line": 364, + "line": 369, "column": 17 }, "end": { - "line": 364, + "line": 369, "column": 20 }, "identifierName": "log" @@ -24469,15 +24663,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13435, - "end": 13451, + "start": 13645, + "end": 13661, "loc": { "start": { - "line": 364, + "line": 369, "column": 21 }, "end": { - "line": 364, + "line": 369, "column": 37 } }, @@ -24493,15 +24687,15 @@ { "type": "CommentLine", "value": " put video.js player UI in playback mode", - "start": 13467, - "end": 13509, + "start": 13677, + "end": 13719, "loc": { "start": { - "line": 366, + "line": 371, "column": 12 }, "end": { - "line": 366, + "line": 371, "column": 54 } } @@ -24510,71 +24704,71 @@ }, { "type": "ExpressionStatement", - "start": 13522, - "end": 13541, + "start": 13732, + "end": 13751, "loc": { "start": { - "line": 367, + "line": 372, "column": 12 }, "end": { - "line": 367, + "line": 372, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 13522, - "end": 13540, + "start": 13732, + "end": 13750, "loc": { "start": { - "line": 367, + "line": 372, "column": 12 }, "end": { - "line": 367, + "line": 372, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 13522, - "end": 13538, + "start": 13732, + "end": 13748, "loc": { "start": { - "line": 367, + "line": 372, "column": 12 }, "end": { - "line": 367, + "line": 372, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 13522, - "end": 13533, + "start": 13732, + "end": 13743, "loc": { "start": { - "line": 367, + "line": 372, "column": 12 }, "end": { - "line": 367, + "line": 372, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13522, - "end": 13526, + "start": 13732, + "end": 13736, "loc": { "start": { - "line": 367, + "line": 372, "column": 12 }, "end": { - "line": 367, + "line": 372, "column": 16 } }, @@ -24582,15 +24776,15 @@ }, "property": { "type": "Identifier", - "start": 13527, - "end": 13533, + "start": 13737, + "end": 13743, "loc": { "start": { - "line": 367, + "line": 372, "column": 17 }, "end": { - "line": 367, + "line": 372, "column": 23 }, "identifierName": "player" @@ -24602,15 +24796,15 @@ }, "property": { "type": "Identifier", - "start": 13534, - "end": 13538, + "start": 13744, + "end": 13748, "loc": { "start": { - "line": 367, + "line": 372, "column": 24 }, "end": { - "line": 367, + "line": 372, "column": 28 }, "identifierName": "play" @@ -24627,15 +24821,15 @@ { "type": "CommentLine", "value": " put video.js player UI in playback mode", - "start": 13467, - "end": 13509, + "start": 13677, + "end": 13719, "loc": { "start": { - "line": 366, + "line": 371, "column": 12 }, "end": { - "line": 366, + "line": 371, "column": 54 } } @@ -24645,15 +24839,15 @@ { "type": "CommentLine", "value": " start surfer playback", - "start": 13555, - "end": 13579, + "start": 13765, + "end": 13789, "loc": { "start": { - "line": 369, + "line": 374, "column": 12 }, "end": { - "line": 369, + "line": 374, "column": 36 } } @@ -24662,71 +24856,71 @@ }, { "type": "ExpressionStatement", - "start": 13592, - "end": 13611, + "start": 13802, + "end": 13821, "loc": { "start": { - "line": 370, + "line": 375, "column": 12 }, "end": { - "line": 370, + "line": 375, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 13592, - "end": 13610, + "start": 13802, + "end": 13820, "loc": { "start": { - "line": 370, + "line": 375, "column": 12 }, "end": { - "line": 370, + "line": 375, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 13592, - "end": 13608, + "start": 13802, + "end": 13818, "loc": { "start": { - "line": 370, + "line": 375, "column": 12 }, "end": { - "line": 370, + "line": 375, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 13592, - "end": 13603, + "start": 13802, + "end": 13813, "loc": { "start": { - "line": 370, + "line": 375, "column": 12 }, "end": { - "line": 370, + "line": 375, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13592, - "end": 13596, + "start": 13802, + "end": 13806, "loc": { "start": { - "line": 370, + "line": 375, "column": 12 }, "end": { - "line": 370, + "line": 375, "column": 16 } }, @@ -24734,15 +24928,15 @@ }, "property": { "type": "Identifier", - "start": 13597, - "end": 13603, + "start": 13807, + "end": 13813, "loc": { "start": { - "line": 370, + "line": 375, "column": 17 }, "end": { - "line": 370, + "line": 375, "column": 23 }, "identifierName": "surfer" @@ -24754,15 +24948,15 @@ }, "property": { "type": "Identifier", - "start": 13604, - "end": 13608, + "start": 13814, + "end": 13818, "loc": { "start": { - "line": 370, + "line": 375, "column": 24 }, "end": { - "line": 370, + "line": 375, "column": 28 }, "identifierName": "play" @@ -24779,15 +24973,15 @@ { "type": "CommentLine", "value": " start surfer playback", - "start": 13555, - "end": 13579, + "start": 13765, + "end": 13789, "loc": { "start": { - "line": 369, + "line": 374, "column": 12 }, "end": { - "line": 369, + "line": 374, "column": 36 } } @@ -24806,15 +25000,15 @@ { "type": "CommentBlock", "value": "*\n * Start/resume playback or microphone.\n ", - "start": 12527, - "end": 12582, + "start": 12737, + "end": 12792, "loc": { "start": { - "line": 336, + "line": 341, "column": 4 }, "end": { - "line": 338, + "line": 343, "column": 7 } } @@ -24824,15 +25018,15 @@ { "type": "CommentBlock", "value": "*\n * Pauses playback or microphone visualization.\n ", - "start": 13633, - "end": 13696, + "start": 13843, + "end": 13906, "loc": { "start": { - "line": 374, + "line": 379, "column": 4 }, "end": { - "line": 376, + "line": 381, "column": 7 } } @@ -24841,15 +25035,15 @@ }, { "type": "ClassMethod", - "start": 13701, - "end": 14433, + "start": 13911, + "end": 14643, "loc": { "start": { - "line": 377, + "line": 382, "column": 4 }, "end": { - "line": 401, + "line": 406, "column": 5 } }, @@ -24857,15 +25051,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13701, - "end": 13706, + "start": 13911, + "end": 13916, "loc": { "start": { - "line": 377, + "line": 382, "column": 4 }, "end": { - "line": 377, + "line": 382, "column": 9 }, "identifierName": "pause" @@ -24881,114 +25075,114 @@ "params": [], "body": { "type": "BlockStatement", - "start": 13709, - "end": 14433, + "start": 13919, + "end": 14643, "loc": { "start": { - "line": 377, + "line": 382, "column": 12 }, "end": { - "line": 401, + "line": 406, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 13747, - "end": 13933, + "start": 13957, + "end": 14143, "loc": { "start": { - "line": 379, + "line": 384, "column": 8 }, "end": { - "line": 382, + "line": 387, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 13751, - "end": 13859, + "start": 13961, + "end": 14069, "loc": { "start": { - "line": 379, + "line": 384, "column": 12 }, "end": { - "line": 380, + "line": 385, "column": 57 } }, "left": { "type": "BinaryExpression", - "start": 13751, - "end": 13798, + "start": 13961, + "end": 14008, "loc": { "start": { - "line": 379, + "line": 384, "column": 12 }, "end": { - "line": 379, + "line": 384, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 13751, - "end": 13784, + "start": 13961, + "end": 13994, "loc": { "start": { - "line": 379, + "line": 384, "column": 12 }, "end": { - "line": 379, + "line": 384, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 13751, - "end": 13773, + "start": 13961, + "end": 13983, "loc": { "start": { - "line": 379, + "line": 384, "column": 12 }, "end": { - "line": 379, + "line": 384, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 13751, - "end": 13762, + "start": 13961, + "end": 13972, "loc": { "start": { - "line": 379, + "line": 384, "column": 12 }, "end": { - "line": 379, + "line": 384, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13751, - "end": 13755, + "start": 13961, + "end": 13965, "loc": { "start": { - "line": 379, + "line": 384, "column": 12 }, "end": { - "line": 379, + "line": 384, "column": 16 } }, @@ -24996,15 +25190,15 @@ }, "property": { "type": "Identifier", - "start": 13756, - "end": 13762, + "start": 13966, + "end": 13972, "loc": { "start": { - "line": 379, + "line": 384, "column": 17 }, "end": { - "line": 379, + "line": 384, "column": 23 }, "identifierName": "player" @@ -25016,15 +25210,15 @@ }, "property": { "type": "Identifier", - "start": 13763, - "end": 13773, + "start": 13973, + "end": 13983, "loc": { "start": { - "line": 379, + "line": 384, "column": 24 }, "end": { - "line": 379, + "line": 384, "column": 34 }, "identifierName": "controlBar" @@ -25036,15 +25230,15 @@ }, "property": { "type": "Identifier", - "start": 13774, - "end": 13784, + "start": 13984, + "end": 13994, "loc": { "start": { - "line": 379, + "line": 384, "column": 35 }, "end": { - "line": 379, + "line": 384, "column": 45 }, "identifierName": "playToggle" @@ -25057,15 +25251,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 13789, - "end": 13798, + "start": 13999, + "end": 14008, "loc": { "start": { - "line": 379, + "line": 384, "column": 50 }, "end": { - "line": 379, + "line": 384, "column": 59 }, "identifierName": "undefined" @@ -25077,100 +25271,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 13814, - "end": 13859, + "start": 14024, + "end": 14069, "loc": { "start": { - "line": 380, + "line": 385, "column": 12 }, "end": { - "line": 380, + "line": 385, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 13814, - "end": 13857, + "start": 14024, + "end": 14067, "loc": { "start": { - "line": 380, + "line": 385, "column": 12 }, "end": { - "line": 380, + "line": 385, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 13814, - "end": 13847, + "start": 14024, + "end": 14057, "loc": { "start": { - "line": 380, + "line": 385, "column": 12 }, "end": { - "line": 380, + "line": 385, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 13814, - "end": 13836, + "start": 14024, + "end": 14046, "loc": { "start": { - "line": 380, + "line": 385, "column": 12 }, "end": { - "line": 380, + "line": 385, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 13814, - "end": 13825, + "start": 14024, + "end": 14035, "loc": { "start": { - "line": 380, + "line": 385, "column": 12 }, "end": { - "line": 380, + "line": 385, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13814, - "end": 13818, + "start": 14024, + "end": 14028, "loc": { "start": { - "line": 380, + "line": 385, "column": 12 }, "end": { - "line": 380, + "line": 385, "column": 16 } } }, "property": { "type": "Identifier", - "start": 13819, - "end": 13825, + "start": 14029, + "end": 14035, "loc": { "start": { - "line": 380, + "line": 385, "column": 17 }, "end": { - "line": 380, + "line": 385, "column": 23 }, "identifierName": "player" @@ -25181,15 +25375,15 @@ }, "property": { "type": "Identifier", - "start": 13826, - "end": 13836, + "start": 14036, + "end": 14046, "loc": { "start": { - "line": 380, + "line": 385, "column": 24 }, "end": { - "line": 380, + "line": 385, "column": 34 }, "identifierName": "controlBar" @@ -25200,15 +25394,15 @@ }, "property": { "type": "Identifier", - "start": 13837, - "end": 13847, + "start": 14047, + "end": 14057, "loc": { "start": { - "line": 380, + "line": 385, "column": 35 }, "end": { - "line": 380, + "line": 385, "column": 45 }, "identifierName": "playToggle" @@ -25219,15 +25413,15 @@ }, "property": { "type": "Identifier", - "start": 13848, - "end": 13857, + "start": 14058, + "end": 14067, "loc": { "start": { - "line": 380, + "line": 385, "column": 46 }, "end": { - "line": 380, + "line": 385, "column": 55 }, "identifierName": "contentEl" @@ -25242,129 +25436,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 13861, - "end": 13933, + "start": 14071, + "end": 14143, "loc": { "start": { - "line": 380, + "line": 385, "column": 59 }, "end": { - "line": 382, + "line": 387, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 13875, - "end": 13923, + "start": 14085, + "end": 14133, "loc": { "start": { - "line": 381, + "line": 386, "column": 12 }, "end": { - "line": 381, + "line": 386, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 13875, - "end": 13922, + "start": 14085, + "end": 14132, "loc": { "start": { - "line": 381, + "line": 386, "column": 12 }, "end": { - "line": 381, + "line": 386, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 13875, - "end": 13920, + "start": 14085, + "end": 14130, "loc": { "start": { - "line": 381, + "line": 386, "column": 12 }, "end": { - "line": 381, + "line": 386, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 13875, - "end": 13908, + "start": 14085, + "end": 14118, "loc": { "start": { - "line": 381, + "line": 386, "column": 12 }, "end": { - "line": 381, + "line": 386, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 13875, - "end": 13897, + "start": 14085, + "end": 14107, "loc": { "start": { - "line": 381, + "line": 386, "column": 12 }, "end": { - "line": 381, + "line": 386, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 13875, - "end": 13886, + "start": 14085, + "end": 14096, "loc": { "start": { - "line": 381, + "line": 386, "column": 12 }, "end": { - "line": 381, + "line": 386, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13875, - "end": 13879, + "start": 14085, + "end": 14089, "loc": { "start": { - "line": 381, + "line": 386, "column": 12 }, "end": { - "line": 381, + "line": 386, "column": 16 } } }, "property": { "type": "Identifier", - "start": 13880, - "end": 13886, + "start": 14090, + "end": 14096, "loc": { "start": { - "line": 381, + "line": 386, "column": 17 }, "end": { - "line": 381, + "line": 386, "column": 23 }, "identifierName": "player" @@ -25375,15 +25569,15 @@ }, "property": { "type": "Identifier", - "start": 13887, - "end": 13897, + "start": 14097, + "end": 14107, "loc": { "start": { - "line": 381, + "line": 386, "column": 24 }, "end": { - "line": 381, + "line": 386, "column": 34 }, "identifierName": "controlBar" @@ -25394,15 +25588,15 @@ }, "property": { "type": "Identifier", - "start": 13898, - "end": 13908, + "start": 14108, + "end": 14118, "loc": { "start": { - "line": 381, + "line": 386, "column": 35 }, "end": { - "line": 381, + "line": 386, "column": 45 }, "identifierName": "playToggle" @@ -25413,15 +25607,15 @@ }, "property": { "type": "Identifier", - "start": 13909, - "end": 13920, + "start": 14119, + "end": 14130, "loc": { "start": { - "line": 381, + "line": 386, "column": 46 }, "end": { - "line": 381, + "line": 386, "column": 57 }, "identifierName": "handlePause" @@ -25441,15 +25635,15 @@ { "type": "CommentLine", "value": " show play button", - "start": 13719, - "end": 13738, + "start": 13929, + "end": 13948, "loc": { "start": { - "line": 378, + "line": 383, "column": 8 }, "end": { - "line": 378, + "line": 383, "column": 27 } } @@ -25458,58 +25652,58 @@ }, { "type": "IfStatement", - "start": 13943, - "end": 14427, + "start": 14153, + "end": 14637, "loc": { "start": { - "line": 384, + "line": 389, "column": 8 }, "end": { - "line": 400, + "line": 405, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 13947, - "end": 13960, + "start": 14157, + "end": 14170, "loc": { "start": { - "line": 384, + "line": 389, "column": 12 }, "end": { - "line": 384, + "line": 389, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 13947, - "end": 13951, + "start": 14157, + "end": 14161, "loc": { "start": { - "line": 384, + "line": 389, "column": 12 }, "end": { - "line": 384, + "line": 389, "column": 16 } } }, "property": { "type": "Identifier", - "start": 13952, - "end": 13960, + "start": 14162, + "end": 14170, "loc": { "start": { - "line": 384, + "line": 389, "column": 17 }, "end": { - "line": 384, + "line": 389, "column": 25 }, "identifierName": "liveMode" @@ -25520,72 +25714,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 13962, - "end": 14105, + "start": 14172, + "end": 14315, "loc": { "start": { - "line": 384, + "line": 389, "column": 27 }, "end": { - "line": 388, + "line": 393, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14022, - "end": 14051, + "start": 14232, + "end": 14261, "loc": { "start": { - "line": 386, + "line": 391, "column": 12 }, "end": { - "line": 386, + "line": 391, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 14022, - "end": 14050, + "start": 14232, + "end": 14260, "loc": { "start": { - "line": 386, + "line": 391, "column": 12 }, "end": { - "line": 386, + "line": 391, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 14022, - "end": 14030, + "start": 14232, + "end": 14240, "loc": { "start": { - "line": 386, + "line": 391, "column": 12 }, "end": { - "line": 386, + "line": 391, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 14022, - "end": 14026, + "start": 14232, + "end": 14236, "loc": { "start": { - "line": 386, + "line": 391, "column": 12 }, "end": { - "line": 386, + "line": 391, "column": 16 } }, @@ -25593,15 +25787,15 @@ }, "property": { "type": "Identifier", - "start": 14027, - "end": 14030, + "start": 14237, + "end": 14240, "loc": { "start": { - "line": 386, + "line": 391, "column": 17 }, "end": { - "line": 386, + "line": 391, "column": 20 }, "identifierName": "log" @@ -25614,15 +25808,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14031, - "end": 14049, + "start": 14241, + "end": 14259, "loc": { "start": { - "line": 386, + "line": 391, "column": 21 }, "end": { - "line": 386, + "line": 391, "column": 39 } }, @@ -25639,15 +25833,15 @@ { "type": "CommentLine", "value": " pause microphone visualization", - "start": 13976, - "end": 14009, + "start": 14186, + "end": 14219, "loc": { "start": { - "line": 385, + "line": 390, "column": 12 }, "end": { - "line": 385, + "line": 390, "column": 45 } } @@ -25656,100 +25850,100 @@ }, { "type": "ExpressionStatement", - "start": 14064, - "end": 14095, + "start": 14274, + "end": 14305, "loc": { "start": { - "line": 387, + "line": 392, "column": 12 }, "end": { - "line": 387, + "line": 392, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 14064, - "end": 14094, + "start": 14274, + "end": 14304, "loc": { "start": { - "line": 387, + "line": 392, "column": 12 }, "end": { - "line": 387, + "line": 392, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 14064, - "end": 14092, + "start": 14274, + "end": 14302, "loc": { "start": { - "line": 387, + "line": 392, "column": 12 }, "end": { - "line": 387, + "line": 392, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 14064, - "end": 14086, + "start": 14274, + "end": 14296, "loc": { "start": { - "line": 387, + "line": 392, "column": 12 }, "end": { - "line": 387, + "line": 392, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 14064, - "end": 14075, + "start": 14274, + "end": 14285, "loc": { "start": { - "line": 387, + "line": 392, "column": 12 }, "end": { - "line": 387, + "line": 392, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14064, - "end": 14068, + "start": 14274, + "end": 14278, "loc": { "start": { - "line": 387, + "line": 392, "column": 12 }, "end": { - "line": 387, + "line": 392, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14069, - "end": 14075, + "start": 14279, + "end": 14285, "loc": { "start": { - "line": 387, + "line": 392, "column": 17 }, "end": { - "line": 387, + "line": 392, "column": 23 }, "identifierName": "surfer" @@ -25760,15 +25954,15 @@ }, "property": { "type": "Identifier", - "start": 14076, - "end": 14086, + "start": 14286, + "end": 14296, "loc": { "start": { - "line": 387, + "line": 392, "column": 24 }, "end": { - "line": 387, + "line": 392, "column": 34 }, "identifierName": "microphone" @@ -25779,15 +25973,15 @@ }, "property": { "type": "Identifier", - "start": 14087, - "end": 14092, + "start": 14297, + "end": 14302, "loc": { "start": { - "line": 387, + "line": 392, "column": 35 }, "end": { - "line": 387, + "line": 392, "column": 40 }, "identifierName": "pause" @@ -25804,72 +25998,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 14111, - "end": 14427, + "start": 14321, + "end": 14637, "loc": { "start": { - "line": 388, + "line": 393, "column": 15 }, "end": { - "line": 400, + "line": 405, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14155, - "end": 14182, + "start": 14365, + "end": 14392, "loc": { "start": { - "line": 390, + "line": 395, "column": 12 }, "end": { - "line": 390, + "line": 395, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 14155, - "end": 14181, + "start": 14365, + "end": 14391, "loc": { "start": { - "line": 390, + "line": 395, "column": 12 }, "end": { - "line": 390, + "line": 395, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 14155, - "end": 14163, + "start": 14365, + "end": 14373, "loc": { "start": { - "line": 390, + "line": 395, "column": 12 }, "end": { - "line": 390, + "line": 395, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 14155, - "end": 14159, + "start": 14365, + "end": 14369, "loc": { "start": { - "line": 390, + "line": 395, "column": 12 }, "end": { - "line": 390, + "line": 395, "column": 16 } }, @@ -25877,15 +26071,15 @@ }, "property": { "type": "Identifier", - "start": 14160, - "end": 14163, + "start": 14370, + "end": 14373, "loc": { "start": { - "line": 390, + "line": 395, "column": 17 }, "end": { - "line": 390, + "line": 395, "column": 20 }, "identifierName": "log" @@ -25898,15 +26092,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14164, - "end": 14180, + "start": 14374, + "end": 14390, "loc": { "start": { - "line": 390, + "line": 395, "column": 21 }, "end": { - "line": 390, + "line": 395, "column": 37 } }, @@ -25923,15 +26117,15 @@ { "type": "CommentLine", "value": " pause playback", - "start": 14125, - "end": 14142, + "start": 14335, + "end": 14352, "loc": { "start": { - "line": 389, + "line": 394, "column": 12 }, "end": { - "line": 389, + "line": 394, "column": 29 } } @@ -25940,29 +26134,29 @@ }, { "type": "IfStatement", - "start": 14196, - "end": 14381, + "start": 14406, + "end": 14591, "loc": { "start": { - "line": 392, + "line": 397, "column": 12 }, "end": { - "line": 397, + "line": 402, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 14200, - "end": 14218, + "start": 14410, + "end": 14428, "loc": { "start": { - "line": 392, + "line": 397, "column": 16 }, "end": { - "line": 392, + "line": 397, "column": 34 } }, @@ -25970,44 +26164,44 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 14201, - "end": 14218, + "start": 14411, + "end": 14428, "loc": { "start": { - "line": 392, + "line": 397, "column": 17 }, "end": { - "line": 392, + "line": 397, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 14201, - "end": 14205, + "start": 14411, + "end": 14415, "loc": { "start": { - "line": 392, + "line": 397, "column": 17 }, "end": { - "line": 392, + "line": 397, "column": 21 } } }, "property": { "type": "Identifier", - "start": 14206, - "end": 14218, + "start": 14416, + "end": 14428, "loc": { "start": { - "line": 392, + "line": 397, "column": 22 }, "end": { - "line": 392, + "line": 397, "column": 34 }, "identifierName": "waveFinished" @@ -26022,86 +26216,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 14220, - "end": 14317, + "start": 14430, + "end": 14527, "loc": { "start": { - "line": 392, + "line": 397, "column": 36 }, "end": { - "line": 395, + "line": 400, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14283, - "end": 14303, + "start": 14493, + "end": 14513, "loc": { "start": { - "line": 394, + "line": 399, "column": 16 }, "end": { - "line": 394, + "line": 399, "column": 36 } }, "expression": { "type": "CallExpression", - "start": 14283, - "end": 14302, + "start": 14493, + "end": 14512, "loc": { "start": { - "line": 394, + "line": 399, "column": 16 }, "end": { - "line": 394, + "line": 399, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 14283, - "end": 14300, + "start": 14493, + "end": 14510, "loc": { "start": { - "line": 394, + "line": 399, "column": 16 }, "end": { - "line": 394, + "line": 399, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 14283, - "end": 14294, + "start": 14493, + "end": 14504, "loc": { "start": { - "line": 394, + "line": 399, "column": 16 }, "end": { - "line": 394, + "line": 399, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 14283, - "end": 14287, + "start": 14493, + "end": 14497, "loc": { "start": { - "line": 394, + "line": 399, "column": 16 }, "end": { - "line": 394, + "line": 399, "column": 20 } }, @@ -26109,15 +26303,15 @@ }, "property": { "type": "Identifier", - "start": 14288, - "end": 14294, + "start": 14498, + "end": 14504, "loc": { "start": { - "line": 394, + "line": 399, "column": 21 }, "end": { - "line": 394, + "line": 399, "column": 27 }, "identifierName": "surfer" @@ -26129,15 +26323,15 @@ }, "property": { "type": "Identifier", - "start": 14295, - "end": 14300, + "start": 14505, + "end": 14510, "loc": { "start": { - "line": 394, + "line": 399, "column": 28 }, "end": { - "line": 394, + "line": 399, "column": 33 }, "identifierName": "pause" @@ -26154,15 +26348,15 @@ { "type": "CommentLine", "value": " pause wavesurfer playback", - "start": 14238, - "end": 14266, + "start": 14448, + "end": 14476, "loc": { "start": { - "line": 393, + "line": 398, "column": 16 }, "end": { - "line": 393, + "line": 398, "column": 44 } } @@ -26174,88 +26368,88 @@ }, "alternate": { "type": "BlockStatement", - "start": 14323, - "end": 14381, + "start": 14533, + "end": 14591, "loc": { "start": { - "line": 395, + "line": 400, "column": 19 }, "end": { - "line": 397, + "line": 402, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14341, - "end": 14367, + "start": 14551, + "end": 14577, "loc": { "start": { - "line": 396, + "line": 401, "column": 16 }, "end": { - "line": 396, + "line": 401, "column": 42 } }, "expression": { "type": "AssignmentExpression", - "start": 14341, - "end": 14366, + "start": 14551, + "end": 14576, "loc": { "start": { - "line": 396, + "line": 401, "column": 16 }, "end": { - "line": 396, + "line": 401, "column": 41 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 14341, - "end": 14358, + "start": 14551, + "end": 14568, "loc": { "start": { - "line": 396, + "line": 401, "column": 16 }, "end": { - "line": 396, + "line": 401, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 14341, - "end": 14345, + "start": 14551, + "end": 14555, "loc": { "start": { - "line": 396, + "line": 401, "column": 16 }, "end": { - "line": 396, + "line": 401, "column": 20 } } }, "property": { "type": "Identifier", - "start": 14346, - "end": 14358, + "start": 14556, + "end": 14568, "loc": { "start": { - "line": 396, + "line": 401, "column": 21 }, "end": { - "line": 396, + "line": 401, "column": 33 }, "identifierName": "waveFinished" @@ -26266,15 +26460,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 14361, - "end": 14366, + "start": 14571, + "end": 14576, "loc": { "start": { - "line": 396, + "line": 401, "column": 36 }, "end": { - "line": 396, + "line": 401, "column": 41 } }, @@ -26288,72 +26482,72 @@ }, { "type": "ExpressionStatement", - "start": 14395, - "end": 14417, + "start": 14605, + "end": 14627, "loc": { "start": { - "line": 399, + "line": 404, "column": 12 }, "end": { - "line": 399, + "line": 404, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 14395, - "end": 14416, + "start": 14605, + "end": 14626, "loc": { "start": { - "line": 399, + "line": 404, "column": 12 }, "end": { - "line": 399, + "line": 404, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 14395, - "end": 14414, + "start": 14605, + "end": 14624, "loc": { "start": { - "line": 399, + "line": 404, "column": 12 }, "end": { - "line": 399, + "line": 404, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 14395, - "end": 14399, + "start": 14605, + "end": 14609, "loc": { "start": { - "line": 399, + "line": 404, "column": 12 }, "end": { - "line": 399, + "line": 404, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14400, - "end": 14414, + "start": 14610, + "end": 14624, "loc": { "start": { - "line": 399, + "line": 404, "column": 17 }, "end": { - "line": 399, + "line": 404, "column": 31 }, "identifierName": "setCurrentTime" @@ -26377,15 +26571,15 @@ { "type": "CommentBlock", "value": "*\n * Pauses playback or microphone visualization.\n ", - "start": 13633, - "end": 13696, + "start": 13843, + "end": 13906, "loc": { "start": { - "line": 374, + "line": 379, "column": 4 }, "end": { - "line": 376, + "line": 381, "column": 7 } } @@ -26395,15 +26589,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n ", - "start": 14439, - "end": 14466, + "start": 14649, + "end": 14676, "loc": { "start": { - "line": 403, + "line": 408, "column": 4 }, "end": { - "line": 405, + "line": 410, "column": 7 } } @@ -26412,15 +26606,15 @@ }, { "type": "ClassMethod", - "start": 14471, - "end": 14866, + "start": 14681, + "end": 15076, "loc": { "start": { - "line": 406, + "line": 411, "column": 4 }, "end": { - "line": 417, + "line": 422, "column": 5 } }, @@ -26428,15 +26622,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14471, - "end": 14478, + "start": 14681, + "end": 14688, "loc": { "start": { - "line": 406, + "line": 411, "column": 4 }, "end": { - "line": 406, + "line": 411, "column": 11 }, "identifierName": "dispose" @@ -26452,73 +26646,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 14481, - "end": 14866, + "start": 14691, + "end": 15076, "loc": { "start": { - "line": 406, + "line": 411, "column": 14 }, "end": { - "line": 417, + "line": 422, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 14491, - "end": 14822, + "start": 14701, + "end": 15032, "loc": { "start": { - "line": 407, + "line": 412, "column": 8 }, "end": { - "line": 415, + "line": 420, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 14495, - "end": 14506, + "start": 14705, + "end": 14716, "loc": { "start": { - "line": 407, + "line": 412, "column": 12 }, "end": { - "line": 407, + "line": 412, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14495, - "end": 14499, + "start": 14705, + "end": 14709, "loc": { "start": { - "line": 407, + "line": 412, "column": 12 }, "end": { - "line": 407, + "line": 412, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14500, - "end": 14506, + "start": 14710, + "end": 14716, "loc": { "start": { - "line": 407, + "line": 412, "column": 17 }, "end": { - "line": 407, + "line": 412, "column": 23 }, "identifierName": "surfer" @@ -26529,87 +26723,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 14508, - "end": 14822, + "start": 14718, + "end": 15032, "loc": { "start": { - "line": 407, + "line": 412, "column": 25 }, "end": { - "line": 415, + "line": 420, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 14522, - "end": 14734, + "start": 14732, + "end": 14944, "loc": { "start": { - "line": 408, + "line": 413, "column": 12 }, "end": { - "line": 412, + "line": 417, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 14526, - "end": 14565, + "start": 14736, + "end": 14775, "loc": { "start": { - "line": 408, + "line": 413, "column": 16 }, "end": { - "line": 408, + "line": 413, "column": 55 } }, "left": { "type": "MemberExpression", - "start": 14526, - "end": 14539, + "start": 14736, + "end": 14749, "loc": { "start": { - "line": 408, + "line": 413, "column": 16 }, "end": { - "line": 408, + "line": 413, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 14526, - "end": 14530, + "start": 14736, + "end": 14740, "loc": { "start": { - "line": 408, + "line": 413, "column": 16 }, "end": { - "line": 408, + "line": 413, "column": 20 } } }, "property": { "type": "Identifier", - "start": 14531, - "end": 14539, + "start": 14741, + "end": 14749, "loc": { "start": { - "line": 408, + "line": 413, "column": 21 }, "end": { - "line": 408, + "line": 413, "column": 29 }, "identifierName": "liveMode" @@ -26621,58 +26815,58 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 14543, - "end": 14565, + "start": 14753, + "end": 14775, "loc": { "start": { - "line": 408, + "line": 413, "column": 33 }, "end": { - "line": 408, + "line": 413, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 14543, - "end": 14554, + "start": 14753, + "end": 14764, "loc": { "start": { - "line": 408, + "line": 413, "column": 33 }, "end": { - "line": 408, + "line": 413, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 14543, - "end": 14547, + "start": 14753, + "end": 14757, "loc": { "start": { - "line": 408, + "line": 413, "column": 33 }, "end": { - "line": 408, + "line": 413, "column": 37 } } }, "property": { "type": "Identifier", - "start": 14548, - "end": 14554, + "start": 14758, + "end": 14764, "loc": { "start": { - "line": 408, + "line": 413, "column": 38 }, "end": { - "line": 408, + "line": 413, "column": 44 }, "identifierName": "surfer" @@ -26683,15 +26877,15 @@ }, "property": { "type": "Identifier", - "start": 14555, - "end": 14565, + "start": 14765, + "end": 14775, "loc": { "start": { - "line": 408, + "line": 413, "column": 45 }, "end": { - "line": 408, + "line": 413, "column": 55 }, "identifierName": "microphone" @@ -26703,100 +26897,100 @@ }, "consequent": { "type": "BlockStatement", - "start": 14567, - "end": 14734, + "start": 14777, + "end": 14944, "loc": { "start": { - "line": 408, + "line": 413, "column": 57 }, "end": { - "line": 412, + "line": 417, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14630, - "end": 14663, + "start": 14840, + "end": 14873, "loc": { "start": { - "line": 410, + "line": 415, "column": 16 }, "end": { - "line": 410, + "line": 415, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 14630, - "end": 14662, + "start": 14840, + "end": 14872, "loc": { "start": { - "line": 410, + "line": 415, "column": 16 }, "end": { - "line": 410, + "line": 415, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 14630, - "end": 14660, + "start": 14840, + "end": 14870, "loc": { "start": { - "line": 410, + "line": 415, "column": 16 }, "end": { - "line": 410, + "line": 415, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 14630, - "end": 14652, + "start": 14840, + "end": 14862, "loc": { "start": { - "line": 410, + "line": 415, "column": 16 }, "end": { - "line": 410, + "line": 415, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 14630, - "end": 14641, + "start": 14840, + "end": 14851, "loc": { "start": { - "line": 410, + "line": 415, "column": 16 }, "end": { - "line": 410, + "line": 415, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 14630, - "end": 14634, + "start": 14840, + "end": 14844, "loc": { "start": { - "line": 410, + "line": 415, "column": 16 }, "end": { - "line": 410, + "line": 415, "column": 20 } }, @@ -26804,15 +26998,15 @@ }, "property": { "type": "Identifier", - "start": 14635, - "end": 14641, + "start": 14845, + "end": 14851, "loc": { "start": { - "line": 410, + "line": 415, "column": 21 }, "end": { - "line": 410, + "line": 415, "column": 27 }, "identifierName": "surfer" @@ -26824,15 +27018,15 @@ }, "property": { "type": "Identifier", - "start": 14642, - "end": 14652, + "start": 14852, + "end": 14862, "loc": { "start": { - "line": 410, + "line": 415, "column": 28 }, "end": { - "line": 410, + "line": 415, "column": 38 }, "identifierName": "microphone" @@ -26844,15 +27038,15 @@ }, "property": { "type": "Identifier", - "start": 14653, - "end": 14660, + "start": 14863, + "end": 14870, "loc": { "start": { - "line": 410, + "line": 415, "column": 39 }, "end": { - "line": 410, + "line": 415, "column": 46 }, "identifierName": "destroy" @@ -26869,15 +27063,15 @@ { "type": "CommentLine", "value": " destroy microphone plugin", - "start": 14585, - "end": 14613, + "start": 14795, + "end": 14823, "loc": { "start": { - "line": 409, + "line": 414, "column": 16 }, "end": { - "line": 409, + "line": 414, "column": 44 } } @@ -26886,72 +27080,72 @@ }, { "type": "ExpressionStatement", - "start": 14680, - "end": 14720, + "start": 14890, + "end": 14930, "loc": { "start": { - "line": 411, + "line": 416, "column": 16 }, "end": { - "line": 411, + "line": 416, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 14680, - "end": 14719, + "start": 14890, + "end": 14929, "loc": { "start": { - "line": 411, + "line": 416, "column": 16 }, "end": { - "line": 411, + "line": 416, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 14680, - "end": 14688, + "start": 14890, + "end": 14898, "loc": { "start": { - "line": 411, + "line": 416, "column": 16 }, "end": { - "line": 411, + "line": 416, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 14680, - "end": 14684, + "start": 14890, + "end": 14894, "loc": { "start": { - "line": 411, + "line": 416, "column": 16 }, "end": { - "line": 411, + "line": 416, "column": 20 } } }, "property": { "type": "Identifier", - "start": 14685, - "end": 14688, + "start": 14895, + "end": 14898, "loc": { "start": { - "line": 411, + "line": 416, "column": 21 }, "end": { - "line": 411, + "line": 416, "column": 24 }, "identifierName": "log" @@ -26963,15 +27157,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14689, - "end": 14718, + "start": 14899, + "end": 14928, "loc": { "start": { - "line": 411, + "line": 416, "column": 25 }, "end": { - "line": 411, + "line": 416, "column": 54 } }, @@ -26993,15 +27187,15 @@ { "type": "CommentLine", "value": " destroy wavesurfer instance", - "start": 14747, - "end": 14777, + "start": 14957, + "end": 14987, "loc": { "start": { - "line": 413, + "line": 418, "column": 12 }, "end": { - "line": 413, + "line": 418, "column": 42 } } @@ -27010,71 +27204,71 @@ }, { "type": "ExpressionStatement", - "start": 14790, - "end": 14812, + "start": 15000, + "end": 15022, "loc": { "start": { - "line": 414, + "line": 419, "column": 12 }, "end": { - "line": 414, + "line": 419, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 14790, - "end": 14811, + "start": 15000, + "end": 15021, "loc": { "start": { - "line": 414, + "line": 419, "column": 12 }, "end": { - "line": 414, + "line": 419, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 14790, - "end": 14809, + "start": 15000, + "end": 15019, "loc": { "start": { - "line": 414, + "line": 419, "column": 12 }, "end": { - "line": 414, + "line": 419, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 14790, - "end": 14801, + "start": 15000, + "end": 15011, "loc": { "start": { - "line": 414, + "line": 419, "column": 12 }, "end": { - "line": 414, + "line": 419, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14790, - "end": 14794, + "start": 15000, + "end": 15004, "loc": { "start": { - "line": 414, + "line": 419, "column": 12 }, "end": { - "line": 414, + "line": 419, "column": 16 } }, @@ -27082,15 +27276,15 @@ }, "property": { "type": "Identifier", - "start": 14795, - "end": 14801, + "start": 15005, + "end": 15011, "loc": { "start": { - "line": 414, + "line": 419, "column": 17 }, "end": { - "line": 414, + "line": 419, "column": 23 }, "identifierName": "surfer" @@ -27102,15 +27296,15 @@ }, "property": { "type": "Identifier", - "start": 14802, - "end": 14809, + "start": 15012, + "end": 15019, "loc": { "start": { - "line": 414, + "line": 419, "column": 24 }, "end": { - "line": 414, + "line": 419, "column": 31 }, "identifierName": "destroy" @@ -27127,15 +27321,15 @@ { "type": "CommentLine", "value": " destroy wavesurfer instance", - "start": 14747, - "end": 14777, + "start": 14957, + "end": 14987, "loc": { "start": { - "line": 413, + "line": 418, "column": 12 }, "end": { - "line": 413, + "line": 418, "column": 42 } } @@ -27149,72 +27343,72 @@ }, { "type": "ExpressionStatement", - "start": 14831, - "end": 14860, + "start": 15041, + "end": 15070, "loc": { "start": { - "line": 416, + "line": 421, "column": 8 }, "end": { - "line": 416, + "line": 421, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 14831, - "end": 14859, + "start": 15041, + "end": 15069, "loc": { "start": { - "line": 416, + "line": 421, "column": 8 }, "end": { - "line": 416, + "line": 421, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 14831, - "end": 14839, + "start": 15041, + "end": 15049, "loc": { "start": { - "line": 416, + "line": 421, "column": 8 }, "end": { - "line": 416, + "line": 421, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 14831, - "end": 14835, + "start": 15041, + "end": 15045, "loc": { "start": { - "line": 416, + "line": 421, "column": 8 }, "end": { - "line": 416, + "line": 421, "column": 12 } } }, "property": { "type": "Identifier", - "start": 14836, - "end": 14839, + "start": 15046, + "end": 15049, "loc": { "start": { - "line": 416, + "line": 421, "column": 13 }, "end": { - "line": 416, + "line": 421, "column": 16 }, "identifierName": "log" @@ -27226,15 +27420,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14840, - "end": 14858, + "start": 15050, + "end": 15068, "loc": { "start": { - "line": 416, + "line": 421, "column": 17 }, "end": { - "line": 416, + "line": 421, "column": 35 } }, @@ -27255,15 +27449,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n ", - "start": 14439, - "end": 14466, + "start": 14649, + "end": 14676, "loc": { "start": { - "line": 403, + "line": 408, "column": 4 }, "end": { - "line": 405, + "line": 410, "column": 7 } } @@ -27273,15 +27467,15 @@ { "type": "CommentBlock", "value": "*\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n ", - "start": 14872, - "end": 14997, + "start": 15082, + "end": 15207, "loc": { "start": { - "line": 419, + "line": 424, "column": 4 }, "end": { - "line": 423, + "line": 428, "column": 7 } } @@ -27290,15 +27484,15 @@ }, { "type": "ClassMethod", - "start": 15002, - "end": 15088, + "start": 15212, + "end": 15298, "loc": { "start": { - "line": 424, + "line": 429, "column": 4 }, "end": { - "line": 426, + "line": 431, "column": 5 } }, @@ -27306,15 +27500,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15002, - "end": 15013, + "start": 15212, + "end": 15223, "loc": { "start": { - "line": 424, + "line": 429, "column": 4 }, "end": { - "line": 424, + "line": 429, "column": 15 }, "identifierName": "isDestroyed" @@ -27330,87 +27524,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15016, - "end": 15088, + "start": 15226, + "end": 15298, "loc": { "start": { - "line": 424, + "line": 429, "column": 18 }, "end": { - "line": 426, + "line": 431, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 15026, - "end": 15082, + "start": 15236, + "end": 15292, "loc": { "start": { - "line": 425, + "line": 430, "column": 8 }, "end": { - "line": 425, + "line": 430, "column": 64 } }, "argument": { "type": "LogicalExpression", - "start": 15033, - "end": 15081, + "start": 15243, + "end": 15291, "loc": { "start": { - "line": 425, + "line": 430, "column": 15 }, "end": { - "line": 425, + "line": 430, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 15033, - "end": 15044, + "start": 15243, + "end": 15254, "loc": { "start": { - "line": 425, + "line": 430, "column": 15 }, "end": { - "line": 425, + "line": 430, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 15033, - "end": 15037, + "start": 15243, + "end": 15247, "loc": { "start": { - "line": 425, + "line": 430, "column": 15 }, "end": { - "line": 425, + "line": 430, "column": 19 } } }, "property": { "type": "Identifier", - "start": 15038, - "end": 15044, + "start": 15248, + "end": 15254, "loc": { "start": { - "line": 425, + "line": 430, "column": 20 }, "end": { - "line": 425, + "line": 430, "column": 26 }, "identifierName": "player" @@ -27422,86 +27616,86 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 15049, - "end": 15080, + "start": 15259, + "end": 15290, "loc": { "start": { - "line": 425, + "line": 430, "column": 31 }, "end": { - "line": 425, + "line": 430, "column": 62 } }, "left": { "type": "CallExpression", - "start": 15049, - "end": 15071, + "start": 15259, + "end": 15281, "loc": { "start": { - "line": 425, + "line": 430, "column": 31 }, "end": { - "line": 425, + "line": 430, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 15049, - "end": 15069, + "start": 15259, + "end": 15279, "loc": { "start": { - "line": 425, + "line": 430, "column": 31 }, "end": { - "line": 425, + "line": 430, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 15049, - "end": 15060, + "start": 15259, + "end": 15270, "loc": { "start": { - "line": 425, + "line": 430, "column": 31 }, "end": { - "line": 425, + "line": 430, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 15049, - "end": 15053, + "start": 15259, + "end": 15263, "loc": { "start": { - "line": 425, + "line": 430, "column": 31 }, "end": { - "line": 425, + "line": 430, "column": 35 } } }, "property": { "type": "Identifier", - "start": 15054, - "end": 15060, + "start": 15264, + "end": 15270, "loc": { "start": { - "line": 425, + "line": 430, "column": 36 }, "end": { - "line": 425, + "line": 430, "column": 42 }, "identifierName": "player" @@ -27512,15 +27706,15 @@ }, "property": { "type": "Identifier", - "start": 15061, - "end": 15069, + "start": 15271, + "end": 15279, "loc": { "start": { - "line": 425, + "line": 430, "column": 43 }, "end": { - "line": 425, + "line": 430, "column": 51 }, "identifierName": "children" @@ -27534,22 +27728,22 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 15076, - "end": 15080, + "start": 15286, + "end": 15290, "loc": { "start": { - "line": 425, + "line": 430, "column": 58 }, "end": { - "line": 425, + "line": 430, "column": 62 } } }, "extra": { "parenthesized": true, - "parenStart": 15048 + "parenStart": 15258 } } } @@ -27562,15 +27756,15 @@ { "type": "CommentBlock", "value": "*\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n ", - "start": 14872, - "end": 14997, + "start": 15082, + "end": 15207, "loc": { "start": { - "line": 419, + "line": 424, "column": 4 }, "end": { - "line": 423, + "line": 428, "column": 7 } } @@ -27580,15 +27774,15 @@ { "type": "CommentBlock", "value": "*\n * Remove the player and waveform.\n ", - "start": 15094, - "end": 15144, + "start": 15304, + "end": 15354, "loc": { "start": { - "line": 428, + "line": 433, "column": 4 }, "end": { - "line": 430, + "line": 435, "column": 7 } } @@ -27597,15 +27791,15 @@ }, { "type": "ClassMethod", - "start": 15149, - "end": 15197, + "start": 15359, + "end": 15407, "loc": { "start": { - "line": 431, + "line": 436, "column": 4 }, "end": { - "line": 433, + "line": 438, "column": 5 } }, @@ -27613,15 +27807,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15149, - "end": 15156, + "start": 15359, + "end": 15366, "loc": { "start": { - "line": 431, + "line": 436, "column": 4 }, "end": { - "line": 431, + "line": 436, "column": 11 }, "identifierName": "destroy" @@ -27637,101 +27831,101 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15159, - "end": 15197, + "start": 15369, + "end": 15407, "loc": { "start": { - "line": 431, + "line": 436, "column": 14 }, "end": { - "line": 433, + "line": 438, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 15169, - "end": 15191, + "start": 15379, + "end": 15401, "loc": { "start": { - "line": 432, + "line": 437, "column": 8 }, "end": { - "line": 432, + "line": 437, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 15169, - "end": 15190, + "start": 15379, + "end": 15400, "loc": { "start": { - "line": 432, + "line": 437, "column": 8 }, "end": { - "line": 432, + "line": 437, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 15169, - "end": 15188, + "start": 15379, + "end": 15398, "loc": { "start": { - "line": 432, + "line": 437, "column": 8 }, "end": { - "line": 432, + "line": 437, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 15169, - "end": 15180, + "start": 15379, + "end": 15390, "loc": { "start": { - "line": 432, + "line": 437, "column": 8 }, "end": { - "line": 432, + "line": 437, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 15169, - "end": 15173, + "start": 15379, + "end": 15383, "loc": { "start": { - "line": 432, + "line": 437, "column": 8 }, "end": { - "line": 432, + "line": 437, "column": 12 } } }, "property": { "type": "Identifier", - "start": 15174, - "end": 15180, + "start": 15384, + "end": 15390, "loc": { "start": { - "line": 432, + "line": 437, "column": 13 }, "end": { - "line": 432, + "line": 437, "column": 19 }, "identifierName": "player" @@ -27742,15 +27936,15 @@ }, "property": { "type": "Identifier", - "start": 15181, - "end": 15188, + "start": 15391, + "end": 15398, "loc": { "start": { - "line": 432, + "line": 437, "column": 20 }, "end": { - "line": 432, + "line": 437, "column": 27 }, "identifierName": "dispose" @@ -27770,15 +27964,15 @@ { "type": "CommentBlock", "value": "*\n * Remove the player and waveform.\n ", - "start": 15094, - "end": 15144, + "start": 15304, + "end": 15354, "loc": { "start": { - "line": 428, + "line": 433, "column": 4 }, "end": { - "line": 430, + "line": 435, "column": 7 } } @@ -27788,15 +27982,15 @@ { "type": "CommentBlock", "value": "*\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n ", - "start": 15203, - "end": 15304, + "start": 15413, + "end": 15514, "loc": { "start": { - "line": 435, + "line": 440, "column": 4 }, "end": { - "line": 439, + "line": 444, "column": 7 } } @@ -27805,15 +27999,15 @@ }, { "type": "ClassMethod", - "start": 15309, - "end": 15512, + "start": 15519, + "end": 15722, "loc": { "start": { - "line": 440, + "line": 445, "column": 4 }, "end": { - "line": 447, + "line": 452, "column": 5 } }, @@ -27821,15 +28015,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15309, - "end": 15318, + "start": 15519, + "end": 15528, "loc": { "start": { - "line": 440, + "line": 445, "column": 4 }, "end": { - "line": 440, + "line": 445, "column": 13 }, "identifierName": "setVolume" @@ -27845,15 +28039,15 @@ "params": [ { "type": "Identifier", - "start": 15319, - "end": 15325, + "start": 15529, + "end": 15535, "loc": { "start": { - "line": 440, + "line": 445, "column": 14 }, "end": { - "line": 440, + "line": 445, "column": 20 }, "identifierName": "volume" @@ -27863,58 +28057,58 @@ ], "body": { "type": "BlockStatement", - "start": 15327, - "end": 15512, + "start": 15537, + "end": 15722, "loc": { "start": { - "line": 440, + "line": 445, "column": 22 }, "end": { - "line": 447, + "line": 452, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 15337, - "end": 15506, + "start": 15547, + "end": 15716, "loc": { "start": { - "line": 441, + "line": 446, "column": 8 }, "end": { - "line": 446, + "line": 451, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 15341, - "end": 15361, + "start": 15551, + "end": 15571, "loc": { "start": { - "line": 441, + "line": 446, "column": 12 }, "end": { - "line": 441, + "line": 446, "column": 32 } }, "left": { "type": "Identifier", - "start": 15341, - "end": 15347, + "start": 15551, + "end": 15557, "loc": { "start": { - "line": 441, + "line": 446, "column": 12 }, "end": { - "line": 441, + "line": 446, "column": 18 }, "identifierName": "volume" @@ -27924,15 +28118,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 15352, - "end": 15361, + "start": 15562, + "end": 15571, "loc": { "start": { - "line": 441, + "line": 446, "column": 23 }, "end": { - "line": 441, + "line": 446, "column": 32 }, "identifierName": "undefined" @@ -27942,87 +28136,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 15363, - "end": 15506, + "start": 15573, + "end": 15716, "loc": { "start": { - "line": 441, + "line": 446, "column": 34 }, "end": { - "line": 446, + "line": 451, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 15377, - "end": 15419, + "start": 15587, + "end": 15629, "loc": { "start": { - "line": 442, + "line": 447, "column": 12 }, "end": { - "line": 442, + "line": 447, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 15377, - "end": 15418, + "start": 15587, + "end": 15628, "loc": { "start": { - "line": 442, + "line": 447, "column": 12 }, "end": { - "line": 442, + "line": 447, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 15377, - "end": 15385, + "start": 15587, + "end": 15595, "loc": { "start": { - "line": 442, + "line": 447, "column": 12 }, "end": { - "line": 442, + "line": 447, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 15377, - "end": 15381, + "start": 15587, + "end": 15591, "loc": { "start": { - "line": 442, + "line": 447, "column": 12 }, "end": { - "line": 442, + "line": 447, "column": 16 } } }, "property": { "type": "Identifier", - "start": 15382, - "end": 15385, + "start": 15592, + "end": 15595, "loc": { "start": { - "line": 442, + "line": 447, "column": 17 }, "end": { - "line": 442, + "line": 447, "column": 20 }, "identifierName": "log" @@ -28034,29 +28228,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 15386, - "end": 15417, + "start": 15596, + "end": 15627, "loc": { "start": { - "line": 442, + "line": 447, "column": 21 }, "end": { - "line": 442, + "line": 447, "column": 52 } }, "left": { "type": "StringLiteral", - "start": 15386, - "end": 15408, + "start": 15596, + "end": 15618, "loc": { "start": { - "line": 442, + "line": 447, "column": 21 }, "end": { - "line": 442, + "line": 447, "column": 43 } }, @@ -28069,15 +28263,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 15411, - "end": 15417, + "start": 15621, + "end": 15627, "loc": { "start": { - "line": 442, + "line": 447, "column": 46 }, "end": { - "line": 442, + "line": 447, "column": 52 }, "identifierName": "volume" @@ -28091,15 +28285,15 @@ { "type": "CommentLine", "value": " update player volume", - "start": 15433, - "end": 15456, + "start": 15643, + "end": 15666, "loc": { "start": { - "line": 444, + "line": 449, "column": 12 }, "end": { - "line": 444, + "line": 449, "column": 35 } } @@ -28108,71 +28302,71 @@ }, { "type": "ExpressionStatement", - "start": 15469, - "end": 15496, + "start": 15679, + "end": 15706, "loc": { "start": { - "line": 445, + "line": 450, "column": 12 }, "end": { - "line": 445, + "line": 450, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 15469, - "end": 15495, + "start": 15679, + "end": 15705, "loc": { "start": { - "line": 445, + "line": 450, "column": 12 }, "end": { - "line": 445, + "line": 450, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 15469, - "end": 15487, + "start": 15679, + "end": 15697, "loc": { "start": { - "line": 445, + "line": 450, "column": 12 }, "end": { - "line": 445, + "line": 450, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 15469, - "end": 15480, + "start": 15679, + "end": 15690, "loc": { "start": { - "line": 445, + "line": 450, "column": 12 }, "end": { - "line": 445, + "line": 450, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 15469, - "end": 15473, + "start": 15679, + "end": 15683, "loc": { "start": { - "line": 445, + "line": 450, "column": 12 }, "end": { - "line": 445, + "line": 450, "column": 16 } }, @@ -28180,15 +28374,15 @@ }, "property": { "type": "Identifier", - "start": 15474, - "end": 15480, + "start": 15684, + "end": 15690, "loc": { "start": { - "line": 445, + "line": 450, "column": 17 }, "end": { - "line": 445, + "line": 450, "column": 23 }, "identifierName": "player" @@ -28200,15 +28394,15 @@ }, "property": { "type": "Identifier", - "start": 15481, - "end": 15487, + "start": 15691, + "end": 15697, "loc": { "start": { - "line": 445, + "line": 450, "column": 24 }, "end": { - "line": 445, + "line": 450, "column": 30 }, "identifierName": "volume" @@ -28221,15 +28415,15 @@ "arguments": [ { "type": "Identifier", - "start": 15488, - "end": 15494, + "start": 15698, + "end": 15704, "loc": { "start": { - "line": 445, + "line": 450, "column": 31 }, "end": { - "line": 445, + "line": 450, "column": 37 }, "identifierName": "volume" @@ -28243,15 +28437,15 @@ { "type": "CommentLine", "value": " update player volume", - "start": 15433, - "end": 15456, + "start": 15643, + "end": 15666, "loc": { "start": { - "line": 444, + "line": 449, "column": 12 }, "end": { - "line": 444, + "line": 449, "column": 35 } } @@ -28271,15 +28465,15 @@ { "type": "CommentBlock", "value": "*\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n ", - "start": 15203, - "end": 15304, + "start": 15413, + "end": 15514, "loc": { "start": { - "line": 435, + "line": 440, "column": 4 }, "end": { - "line": 439, + "line": 444, "column": 7 } } @@ -28289,15 +28483,15 @@ { "type": "CommentBlock", "value": "*\n * Save waveform image as data URI.\n *\n * The default format is `'image/png'`. Other supported types are\n * `'image/jpeg'` and `'image/webp'`.\n *\n * @param {string} format='image/png' A string indicating the image format.\n * The default format type is `'image/png'`.\n * @param {number} quality=1 A number between 0 and 1 indicating the image\n * quality to use for image formats that use lossy compression such as\n * `'image/jpeg'`` and `'image/webp'`.\n * @param {string} type Image data type to return. Either 'blob' (default)\n * or 'dataURL'.\n * @return {string|string[]|Promise} When using `'dataURL'` `type` this returns\n * a single data URL or an array of data URLs, one for each canvas. The `'blob'`\n * `type` returns a `Promise` resolving with an array of `Blob` instances, one\n * for each canvas.\n ", - "start": 15518, - "end": 16397, + "start": 15728, + "end": 16607, "loc": { "start": { - "line": 449, + "line": 454, "column": 4 }, "end": { - "line": 466, + "line": 471, "column": 7 } } @@ -28306,15 +28500,15 @@ }, { "type": "ClassMethod", - "start": 16402, - "end": 16516, + "start": 16612, + "end": 16726, "loc": { "start": { - "line": 467, + "line": 472, "column": 4 }, "end": { - "line": 469, + "line": 474, "column": 5 } }, @@ -28322,15 +28516,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16402, - "end": 16413, + "start": 16612, + "end": 16623, "loc": { "start": { - "line": 467, + "line": 472, "column": 4 }, "end": { - "line": 467, + "line": 472, "column": 15 }, "identifierName": "exportImage" @@ -28346,15 +28540,15 @@ "params": [ { "type": "Identifier", - "start": 16414, - "end": 16420, + "start": 16624, + "end": 16630, "loc": { "start": { - "line": 467, + "line": 472, "column": 16 }, "end": { - "line": 467, + "line": 472, "column": 22 }, "identifierName": "format" @@ -28363,15 +28557,15 @@ }, { "type": "Identifier", - "start": 16422, - "end": 16429, + "start": 16632, + "end": 16639, "loc": { "start": { - "line": 467, + "line": 472, "column": 24 }, "end": { - "line": 467, + "line": 472, "column": 31 }, "identifierName": "quality" @@ -28380,29 +28574,29 @@ }, { "type": "AssignmentPattern", - "start": 16431, - "end": 16444, + "start": 16641, + "end": 16654, "loc": { "start": { - "line": 467, + "line": 472, "column": 33 }, "end": { - "line": 467, + "line": 472, "column": 46 } }, "left": { "type": "Identifier", - "start": 16431, - "end": 16435, + "start": 16641, + "end": 16645, "loc": { "start": { - "line": 467, + "line": 472, "column": 33 }, "end": { - "line": 467, + "line": 472, "column": 37 }, "identifierName": "type" @@ -28411,15 +28605,15 @@ }, "right": { "type": "StringLiteral", - "start": 16438, - "end": 16444, + "start": 16648, + "end": 16654, "loc": { "start": { - "line": 467, + "line": 472, "column": 40 }, "end": { - "line": 467, + "line": 472, "column": 46 } }, @@ -28433,101 +28627,101 @@ ], "body": { "type": "BlockStatement", - "start": 16446, - "end": 16516, + "start": 16656, + "end": 16726, "loc": { "start": { - "line": 467, + "line": 472, "column": 48 }, "end": { - "line": 469, + "line": 474, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 16456, - "end": 16510, + "start": 16666, + "end": 16720, "loc": { "start": { - "line": 468, + "line": 473, "column": 8 }, "end": { - "line": 468, + "line": 473, "column": 62 } }, "argument": { "type": "CallExpression", - "start": 16463, - "end": 16509, + "start": 16673, + "end": 16719, "loc": { "start": { - "line": 468, + "line": 473, "column": 15 }, "end": { - "line": 468, + "line": 473, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 16463, - "end": 16486, + "start": 16673, + "end": 16696, "loc": { "start": { - "line": 468, + "line": 473, "column": 15 }, "end": { - "line": 468, + "line": 473, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 16463, - "end": 16474, + "start": 16673, + "end": 16684, "loc": { "start": { - "line": 468, + "line": 473, "column": 15 }, "end": { - "line": 468, + "line": 473, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 16463, - "end": 16467, + "start": 16673, + "end": 16677, "loc": { "start": { - "line": 468, + "line": 473, "column": 15 }, "end": { - "line": 468, + "line": 473, "column": 19 } } }, "property": { "type": "Identifier", - "start": 16468, - "end": 16474, + "start": 16678, + "end": 16684, "loc": { "start": { - "line": 468, + "line": 473, "column": 20 }, "end": { - "line": 468, + "line": 473, "column": 26 }, "identifierName": "surfer" @@ -28538,15 +28732,15 @@ }, "property": { "type": "Identifier", - "start": 16475, - "end": 16486, + "start": 16685, + "end": 16696, "loc": { "start": { - "line": 468, + "line": 473, "column": 27 }, "end": { - "line": 468, + "line": 473, "column": 38 }, "identifierName": "exportImage" @@ -28558,15 +28752,15 @@ "arguments": [ { "type": "Identifier", - "start": 16487, - "end": 16493, + "start": 16697, + "end": 16703, "loc": { "start": { - "line": 468, + "line": 473, "column": 39 }, "end": { - "line": 468, + "line": 473, "column": 45 }, "identifierName": "format" @@ -28575,15 +28769,15 @@ }, { "type": "Identifier", - "start": 16495, - "end": 16502, + "start": 16705, + "end": 16712, "loc": { "start": { - "line": 468, + "line": 473, "column": 47 }, "end": { - "line": 468, + "line": 473, "column": 54 }, "identifierName": "quality" @@ -28592,15 +28786,15 @@ }, { "type": "Identifier", - "start": 16504, - "end": 16508, + "start": 16714, + "end": 16718, "loc": { "start": { - "line": 468, + "line": 473, "column": 56 }, "end": { - "line": 468, + "line": 473, "column": 60 }, "identifierName": "type" @@ -28618,15 +28812,15 @@ { "type": "CommentBlock", "value": "*\n * Save waveform image as data URI.\n *\n * The default format is `'image/png'`. Other supported types are\n * `'image/jpeg'` and `'image/webp'`.\n *\n * @param {string} format='image/png' A string indicating the image format.\n * The default format type is `'image/png'`.\n * @param {number} quality=1 A number between 0 and 1 indicating the image\n * quality to use for image formats that use lossy compression such as\n * `'image/jpeg'`` and `'image/webp'`.\n * @param {string} type Image data type to return. Either 'blob' (default)\n * or 'dataURL'.\n * @return {string|string[]|Promise} When using `'dataURL'` `type` this returns\n * a single data URL or an array of data URLs, one for each canvas. The `'blob'`\n * `type` returns a `Promise` resolving with an array of `Blob` instances, one\n * for each canvas.\n ", - "start": 15518, - "end": 16397, + "start": 15728, + "end": 16607, "loc": { "start": { - "line": 449, + "line": 454, "column": 4 }, "end": { - "line": 466, + "line": 471, "column": 7 } } @@ -28636,15 +28830,15 @@ { "type": "CommentBlock", "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", - "start": 16522, - "end": 16640, + "start": 16732, + "end": 16850, "loc": { "start": { - "line": 471, + "line": 476, "column": 4 }, "end": { - "line": 475, + "line": 480, "column": 7 } } @@ -28653,15 +28847,15 @@ }, { "type": "ClassMethod", - "start": 16645, - "end": 17053, + "start": 16855, + "end": 17263, "loc": { "start": { - "line": 476, + "line": 481, "column": 4 }, "end": { - "line": 488, + "line": 493, "column": 5 } }, @@ -28669,15 +28863,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16645, - "end": 16659, + "start": 16855, + "end": 16869, "loc": { "start": { - "line": 476, + "line": 481, "column": 4 }, "end": { - "line": 476, + "line": 481, "column": 18 }, "identifierName": "setAudioOutput" @@ -28693,15 +28887,15 @@ "params": [ { "type": "Identifier", - "start": 16660, - "end": 16668, + "start": 16870, + "end": 16878, "loc": { "start": { - "line": 476, + "line": 481, "column": 19 }, "end": { - "line": 476, + "line": 481, "column": 27 }, "identifierName": "deviceId" @@ -28711,44 +28905,44 @@ ], "body": { "type": "BlockStatement", - "start": 16670, - "end": 17053, + "start": 16880, + "end": 17263, "loc": { "start": { - "line": 476, + "line": 481, "column": 29 }, "end": { - "line": 488, + "line": 493, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 16680, - "end": 17047, + "start": 16890, + "end": 17257, "loc": { "start": { - "line": 477, + "line": 482, "column": 8 }, "end": { - "line": 487, + "line": 492, "column": 9 } }, "test": { "type": "Identifier", - "start": 16684, - "end": 16692, + "start": 16894, + "end": 16902, "loc": { "start": { - "line": 477, + "line": 482, "column": 12 }, "end": { - "line": 477, + "line": 482, "column": 20 }, "identifierName": "deviceId" @@ -28757,157 +28951,157 @@ }, "consequent": { "type": "BlockStatement", - "start": 16694, - "end": 17047, + "start": 16904, + "end": 17257, "loc": { "start": { - "line": 477, + "line": 482, "column": 22 }, "end": { - "line": 487, + "line": 492, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 16708, - "end": 17037, + "start": 16918, + "end": 17247, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 486, + "line": 491, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 16708, - "end": 17036, + "start": 16918, + "end": 17246, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 486, + "line": 491, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 16708, - "end": 16878, + "start": 16918, + "end": 17088, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 481, + "line": 486, "column": 20 } }, "object": { "type": "CallExpression", - "start": 16708, - "end": 16872, + "start": 16918, + "end": 17082, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 481, + "line": 486, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 16708, - "end": 16744, + "start": 16918, + "end": 16954, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 478, + "line": 483, "column": 48 } }, "object": { "type": "CallExpression", - "start": 16708, - "end": 16739, + "start": 16918, + "end": 16949, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 478, + "line": 483, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 16708, - "end": 16729, + "start": 16918, + "end": 16939, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 478, + "line": 483, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 16708, - "end": 16719, + "start": 16918, + "end": 16929, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 478, + "line": 483, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 16708, - "end": 16712, + "start": 16918, + "end": 16922, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 478, + "line": 483, "column": 16 } } }, "property": { "type": "Identifier", - "start": 16713, - "end": 16719, + "start": 16923, + "end": 16929, "loc": { "start": { - "line": 478, + "line": 483, "column": 17 }, "end": { - "line": 478, + "line": 483, "column": 23 }, "identifierName": "surfer" @@ -28918,15 +29112,15 @@ }, "property": { "type": "Identifier", - "start": 16720, - "end": 16729, + "start": 16930, + "end": 16939, "loc": { "start": { - "line": 478, + "line": 483, "column": 24 }, "end": { - "line": 478, + "line": 483, "column": 33 }, "identifierName": "setSinkId" @@ -28938,15 +29132,15 @@ "arguments": [ { "type": "Identifier", - "start": 16730, - "end": 16738, + "start": 16940, + "end": 16948, "loc": { "start": { - "line": 478, + "line": 483, "column": 34 }, "end": { - "line": 478, + "line": 483, "column": 42 }, "identifierName": "deviceId" @@ -28957,15 +29151,15 @@ }, "property": { "type": "Identifier", - "start": 16740, - "end": 16744, + "start": 16950, + "end": 16954, "loc": { "start": { - "line": 478, + "line": 483, "column": 44 }, "end": { - "line": 478, + "line": 483, "column": 48 }, "identifierName": "then" @@ -28977,15 +29171,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 16745, - "end": 16871, + "start": 16955, + "end": 17081, "loc": { "start": { - "line": 478, + "line": 483, "column": 49 }, "end": { - "line": 481, + "line": 486, "column": 13 } }, @@ -28996,15 +29190,15 @@ "params": [ { "type": "Identifier", - "start": 16746, - "end": 16752, + "start": 16956, + "end": 16962, "loc": { "start": { - "line": 478, + "line": 483, "column": 50 }, "end": { - "line": 478, + "line": 483, "column": 56 }, "identifierName": "result" @@ -29014,86 +29208,86 @@ ], "body": { "type": "BlockStatement", - "start": 16757, - "end": 16871, + "start": 16967, + "end": 17081, "loc": { "start": { - "line": 478, + "line": 483, "column": 61 }, "end": { - "line": 481, + "line": 486, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 16811, - "end": 16857, + "start": 17021, + "end": 17067, "loc": { "start": { - "line": 480, + "line": 485, "column": 16 }, "end": { - "line": 480, + "line": 485, "column": 62 } }, "expression": { "type": "CallExpression", - "start": 16811, - "end": 16856, + "start": 17021, + "end": 17066, "loc": { "start": { - "line": 480, + "line": 485, "column": 16 }, "end": { - "line": 480, + "line": 485, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 16811, - "end": 16830, + "start": 17021, + "end": 17040, "loc": { "start": { - "line": 480, + "line": 485, "column": 16 }, "end": { - "line": 480, + "line": 485, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 16811, - "end": 16822, + "start": 17021, + "end": 17032, "loc": { "start": { - "line": 480, + "line": 485, "column": 16 }, "end": { - "line": 480, + "line": 485, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 16811, - "end": 16815, + "start": 17021, + "end": 17025, "loc": { "start": { - "line": 480, + "line": 485, "column": 16 }, "end": { - "line": 480, + "line": 485, "column": 20 } }, @@ -29101,15 +29295,15 @@ }, "property": { "type": "Identifier", - "start": 16816, - "end": 16822, + "start": 17026, + "end": 17032, "loc": { "start": { - "line": 480, + "line": 485, "column": 21 }, "end": { - "line": 480, + "line": 485, "column": 27 }, "identifierName": "player" @@ -29121,15 +29315,15 @@ }, "property": { "type": "Identifier", - "start": 16823, - "end": 16830, + "start": 17033, + "end": 17040, "loc": { "start": { - "line": 480, + "line": 485, "column": 28 }, "end": { - "line": 480, + "line": 485, "column": 35 }, "identifierName": "trigger" @@ -29142,29 +29336,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 16831, - "end": 16855, + "start": 17041, + "end": 17065, "loc": { "start": { - "line": 480, + "line": 485, "column": 36 }, "end": { - "line": 480, + "line": 485, "column": 60 } }, "object": { "type": "Identifier", - "start": 16831, - "end": 16836, + "start": 17041, + "end": 17046, "loc": { "start": { - "line": 480, + "line": 485, "column": 36 }, "end": { - "line": 480, + "line": 485, "column": 41 }, "identifierName": "Event" @@ -29173,15 +29367,15 @@ }, "property": { "type": "Identifier", - "start": 16837, - "end": 16855, + "start": 17047, + "end": 17065, "loc": { "start": { - "line": 480, + "line": 485, "column": 42 }, "end": { - "line": 480, + "line": 485, "column": 60 }, "identifierName": "AUDIO_OUTPUT_READY" @@ -29197,15 +29391,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16775, - "end": 16794, + "start": 16985, + "end": 17004, "loc": { "start": { - "line": 479, + "line": 484, "column": 16 }, "end": { - "line": 479, + "line": 484, "column": 35 } } @@ -29220,15 +29414,15 @@ }, "property": { "type": "Identifier", - "start": 16873, - "end": 16878, + "start": 17083, + "end": 17088, "loc": { "start": { - "line": 481, + "line": 486, "column": 15 }, "end": { - "line": 481, + "line": 486, "column": 20 }, "identifierName": "catch" @@ -29240,15 +29434,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 16879, - "end": 17035, + "start": 17089, + "end": 17245, "loc": { "start": { - "line": 481, + "line": 486, "column": 21 }, "end": { - "line": 486, + "line": 491, "column": 13 } }, @@ -29259,15 +29453,15 @@ "params": [ { "type": "Identifier", - "start": 16880, - "end": 16883, + "start": 17090, + "end": 17093, "loc": { "start": { - "line": 481, + "line": 486, "column": 22 }, "end": { - "line": 481, + "line": 486, "column": 25 }, "identifierName": "err" @@ -29277,86 +29471,86 @@ ], "body": { "type": "BlockStatement", - "start": 16888, - "end": 17035, + "start": 17098, + "end": 17245, "loc": { "start": { - "line": 481, + "line": 486, "column": 30 }, "end": { - "line": 486, + "line": 491, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 16942, - "end": 16980, + "start": 17152, + "end": 17190, "loc": { "start": { - "line": 483, + "line": 488, "column": 16 }, "end": { - "line": 483, + "line": 488, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 16942, - "end": 16979, + "start": 17152, + "end": 17189, "loc": { "start": { - "line": 483, + "line": 488, "column": 16 }, "end": { - "line": 483, + "line": 488, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 16942, - "end": 16961, + "start": 17152, + "end": 17171, "loc": { "start": { - "line": 483, + "line": 488, "column": 16 }, "end": { - "line": 483, + "line": 488, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 16942, - "end": 16953, + "start": 17152, + "end": 17163, "loc": { "start": { - "line": 483, + "line": 488, "column": 16 }, "end": { - "line": 483, + "line": 488, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 16942, - "end": 16946, + "start": 17152, + "end": 17156, "loc": { "start": { - "line": 483, + "line": 488, "column": 16 }, "end": { - "line": 483, + "line": 488, "column": 20 } }, @@ -29364,15 +29558,15 @@ }, "property": { "type": "Identifier", - "start": 16947, - "end": 16953, + "start": 17157, + "end": 17163, "loc": { "start": { - "line": 483, + "line": 488, "column": 21 }, "end": { - "line": 483, + "line": 488, "column": 27 }, "identifierName": "player" @@ -29384,15 +29578,15 @@ }, "property": { "type": "Identifier", - "start": 16954, - "end": 16961, + "start": 17164, + "end": 17171, "loc": { "start": { - "line": 483, + "line": 488, "column": 28 }, "end": { - "line": 483, + "line": 488, "column": 35 }, "identifierName": "trigger" @@ -29405,29 +29599,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 16962, - "end": 16973, + "start": 17172, + "end": 17183, "loc": { "start": { - "line": 483, + "line": 488, "column": 36 }, "end": { - "line": 483, + "line": 488, "column": 47 } }, "object": { "type": "Identifier", - "start": 16962, - "end": 16967, + "start": 17172, + "end": 17177, "loc": { "start": { - "line": 483, + "line": 488, "column": 36 }, "end": { - "line": 483, + "line": 488, "column": 41 }, "identifierName": "Event" @@ -29436,15 +29630,15 @@ }, "property": { "type": "Identifier", - "start": 16968, - "end": 16973, + "start": 17178, + "end": 17183, "loc": { "start": { - "line": 483, + "line": 488, "column": 42 }, "end": { - "line": 483, + "line": 488, "column": 47 }, "identifierName": "ERROR" @@ -29455,15 +29649,15 @@ }, { "type": "Identifier", - "start": 16975, - "end": 16978, + "start": 17185, + "end": 17188, "loc": { "start": { - "line": 483, + "line": 488, "column": 49 }, "end": { - "line": 483, + "line": 488, "column": 52 }, "identifierName": "err" @@ -29477,15 +29671,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16906, - "end": 16925, + "start": 17116, + "end": 17135, "loc": { "start": { - "line": 482, + "line": 487, "column": 16 }, "end": { - "line": 482, + "line": 487, "column": 35 } } @@ -29494,72 +29688,72 @@ }, { "type": "ExpressionStatement", - "start": 16998, - "end": 17021, + "start": 17208, + "end": 17231, "loc": { "start": { - "line": 485, + "line": 490, "column": 16 }, "end": { - "line": 485, + "line": 490, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 16998, - "end": 17020, + "start": 17208, + "end": 17230, "loc": { "start": { - "line": 485, + "line": 490, "column": 16 }, "end": { - "line": 485, + "line": 490, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 16998, - "end": 17006, + "start": 17208, + "end": 17216, "loc": { "start": { - "line": 485, + "line": 490, "column": 16 }, "end": { - "line": 485, + "line": 490, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 16998, - "end": 17002, + "start": 17208, + "end": 17212, "loc": { "start": { - "line": 485, + "line": 490, "column": 16 }, "end": { - "line": 485, + "line": 490, "column": 20 } } }, "property": { "type": "Identifier", - "start": 17003, - "end": 17006, + "start": 17213, + "end": 17216, "loc": { "start": { - "line": 485, + "line": 490, "column": 21 }, "end": { - "line": 485, + "line": 490, "column": 24 }, "identifierName": "log" @@ -29571,15 +29765,15 @@ "arguments": [ { "type": "Identifier", - "start": 17007, - "end": 17010, + "start": 17217, + "end": 17220, "loc": { "start": { - "line": 485, + "line": 490, "column": 25 }, "end": { - "line": 485, + "line": 490, "column": 28 }, "identifierName": "err" @@ -29588,15 +29782,15 @@ }, { "type": "StringLiteral", - "start": 17012, - "end": 17019, + "start": 17222, + "end": 17229, "loc": { "start": { - "line": 485, + "line": 490, "column": 30 }, "end": { - "line": 485, + "line": 490, "column": 37 } }, @@ -29629,15 +29823,15 @@ { "type": "CommentBlock", "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", - "start": 16522, - "end": 16640, + "start": 16732, + "end": 16850, "loc": { "start": { - "line": 471, + "line": 476, "column": 4 }, "end": { - "line": 475, + "line": 480, "column": 7 } } @@ -29647,15 +29841,15 @@ { "type": "CommentBlock", "value": "*\n * Get the current time (in seconds) of the stream during playback.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Current time of the stream.\n ", - "start": 17059, - "end": 17258, + "start": 17269, + "end": 17468, "loc": { "start": { - "line": 490, + "line": 495, "column": 4 }, "end": { - "line": 496, + "line": 501, "column": 7 } } @@ -29664,15 +29858,15 @@ }, { "type": "ClassMethod", - "start": 17263, - "end": 17432, + "start": 17473, + "end": 17642, "loc": { "start": { - "line": 497, + "line": 502, "column": 4 }, "end": { - "line": 502, + "line": 507, "column": 5 } }, @@ -29680,15 +29874,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17263, - "end": 17277, + "start": 17473, + "end": 17487, "loc": { "start": { - "line": 497, + "line": 502, "column": 4 }, "end": { - "line": 497, + "line": 502, "column": 18 }, "identifierName": "getCurrentTime" @@ -29704,59 +29898,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 17280, - "end": 17432, + "start": 17490, + "end": 17642, "loc": { "start": { - "line": 497, + "line": 502, "column": 21 }, "end": { - "line": 502, + "line": 507, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 17290, - "end": 17337, + "start": 17500, + "end": 17547, "loc": { "start": { - "line": 498, + "line": 503, "column": 8 }, "end": { - "line": 498, + "line": 503, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17294, - "end": 17336, + "start": 17504, + "end": 17546, "loc": { "start": { - "line": 498, + "line": 503, "column": 12 }, "end": { - "line": 498, + "line": 503, "column": 54 } }, "id": { "type": "Identifier", - "start": 17294, - "end": 17305, + "start": 17504, + "end": 17515, "loc": { "start": { - "line": 498, + "line": 503, "column": 12 }, "end": { - "line": 498, + "line": 503, "column": 23 }, "identifierName": "currentTime" @@ -29765,72 +29959,72 @@ }, "init": { "type": "CallExpression", - "start": 17308, - "end": 17336, + "start": 17518, + "end": 17546, "loc": { "start": { - "line": 498, + "line": 503, "column": 26 }, "end": { - "line": 498, + "line": 503, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 17308, - "end": 17334, + "start": 17518, + "end": 17544, "loc": { "start": { - "line": 498, + "line": 503, "column": 26 }, "end": { - "line": 498, + "line": 503, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 17308, - "end": 17319, + "start": 17518, + "end": 17529, "loc": { "start": { - "line": 498, + "line": 503, "column": 26 }, "end": { - "line": 498, + "line": 503, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 17308, - "end": 17312, + "start": 17518, + "end": 17522, "loc": { "start": { - "line": 498, + "line": 503, "column": 26 }, "end": { - "line": 498, + "line": 503, "column": 30 } } }, "property": { "type": "Identifier", - "start": 17313, - "end": 17319, + "start": 17523, + "end": 17529, "loc": { "start": { - "line": 498, + "line": 503, "column": 31 }, "end": { - "line": 498, + "line": 503, "column": 37 }, "identifierName": "surfer" @@ -29841,15 +30035,15 @@ }, "property": { "type": "Identifier", - "start": 17320, - "end": 17334, + "start": 17530, + "end": 17544, "loc": { "start": { - "line": 498, + "line": 503, "column": 38 }, "end": { - "line": 498, + "line": 503, "column": 52 }, "identifierName": "getCurrentTime" @@ -29866,44 +30060,44 @@ }, { "type": "ExpressionStatement", - "start": 17346, - "end": 17397, + "start": 17556, + "end": 17607, "loc": { "start": { - "line": 499, + "line": 504, "column": 8 }, "end": { - "line": 499, + "line": 504, "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 17346, - "end": 17396, + "start": 17556, + "end": 17606, "loc": { "start": { - "line": 499, + "line": 504, "column": 8 }, "end": { - "line": 499, + "line": 504, "column": 58 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17346, - "end": 17357, + "start": 17556, + "end": 17567, "loc": { "start": { - "line": 499, + "line": 504, "column": 8 }, "end": { - "line": 499, + "line": 504, "column": 19 }, "identifierName": "currentTime" @@ -29912,43 +30106,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 17360, - "end": 17396, + "start": 17570, + "end": 17606, "loc": { "start": { - "line": 499, + "line": 504, "column": 22 }, "end": { - "line": 499, + "line": 504, "column": 58 } }, "test": { "type": "CallExpression", - "start": 17360, - "end": 17378, + "start": 17570, + "end": 17588, "loc": { "start": { - "line": 499, + "line": 504, "column": 22 }, "end": { - "line": 499, + "line": 504, "column": 40 } }, "callee": { "type": "Identifier", - "start": 17360, - "end": 17365, + "start": 17570, + "end": 17575, "loc": { "start": { - "line": 499, + "line": 504, "column": 22 }, "end": { - "line": 499, + "line": 504, "column": 27 }, "identifierName": "isNaN" @@ -29958,15 +30152,15 @@ "arguments": [ { "type": "Identifier", - "start": 17366, - "end": 17377, + "start": 17576, + "end": 17587, "loc": { "start": { - "line": 499, + "line": 504, "column": 28 }, "end": { - "line": 499, + "line": 504, "column": 39 }, "identifierName": "currentTime" @@ -29977,15 +30171,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 17381, - "end": 17382, + "start": 17591, + "end": 17592, "loc": { "start": { - "line": 499, + "line": 504, "column": 43 }, "end": { - "line": 499, + "line": 504, "column": 44 } }, @@ -29997,15 +30191,15 @@ }, "alternate": { "type": "Identifier", - "start": 17385, - "end": 17396, + "start": 17595, + "end": 17606, "loc": { "start": { - "line": 499, + "line": 504, "column": 47 }, "end": { - "line": 499, + "line": 504, "column": 58 }, "identifierName": "currentTime" @@ -30017,29 +30211,29 @@ }, { "type": "ReturnStatement", - "start": 17407, - "end": 17426, + "start": 17617, + "end": 17636, "loc": { "start": { - "line": 501, + "line": 506, "column": 8 }, "end": { - "line": 501, + "line": 506, "column": 27 } }, "argument": { "type": "Identifier", - "start": 17414, - "end": 17425, + "start": 17624, + "end": 17635, "loc": { "start": { - "line": 501, + "line": 506, "column": 15 }, "end": { - "line": 501, + "line": 506, "column": 26 }, "identifierName": "currentTime" @@ -30055,15 +30249,15 @@ { "type": "CommentBlock", "value": "*\n * Get the current time (in seconds) of the stream during playback.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Current time of the stream.\n ", - "start": 17059, - "end": 17258, + "start": 17269, + "end": 17468, "loc": { "start": { - "line": 490, + "line": 495, "column": 4 }, "end": { - "line": 496, + "line": 501, "column": 7 } } @@ -30073,15 +30267,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the current time.\n *\n * @param {number} [currentTime] - Current position of the playhead\n * (in seconds).\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 17438, - "end": 17709, + "start": 17648, + "end": 17919, "loc": { "start": { - "line": 504, + "line": 509, "column": 4 }, "end": { - "line": 511, + "line": 516, "column": 7 } } @@ -30090,15 +30284,15 @@ }, { "type": "ClassMethod", - "start": 17714, - "end": 18835, + "start": 17924, + "end": 19051, "loc": { "start": { - "line": 512, + "line": 517, "column": 4 }, "end": { - "line": 539, + "line": 544, "column": 5 } }, @@ -30106,15 +30300,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17714, - "end": 17728, + "start": 17924, + "end": 17938, "loc": { "start": { - "line": 512, + "line": 517, "column": 4 }, "end": { - "line": 512, + "line": 517, "column": 18 }, "identifierName": "setCurrentTime" @@ -30130,15 +30324,15 @@ "params": [ { "type": "Identifier", - "start": 17729, - "end": 17740, + "start": 17939, + "end": 17950, "loc": { "start": { - "line": 512, + "line": 517, "column": 19 }, "end": { - "line": 512, + "line": 517, "column": 30 }, "identifierName": "currentTime" @@ -30147,15 +30341,15 @@ }, { "type": "Identifier", - "start": 17742, - "end": 17750, + "start": 17952, + "end": 17960, "loc": { "start": { - "line": 512, + "line": 517, "column": 32 }, "end": { - "line": 512, + "line": 517, "column": 40 }, "identifierName": "duration" @@ -30165,58 +30359,58 @@ ], "body": { "type": "BlockStatement", - "start": 17752, - "end": 18835, + "start": 17962, + "end": 19051, "loc": { "start": { - "line": 512, + "line": 517, "column": 42 }, "end": { - "line": 539, + "line": 544, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 17762, - "end": 17860, + "start": 17972, + "end": 18070, "loc": { "start": { - "line": 513, + "line": 518, "column": 8 }, "end": { - "line": 515, + "line": 520, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 17766, - "end": 17791, + "start": 17976, + "end": 18001, "loc": { "start": { - "line": 513, + "line": 518, "column": 12 }, "end": { - "line": 513, + "line": 518, "column": 37 } }, "left": { "type": "Identifier", - "start": 17766, - "end": 17777, + "start": 17976, + "end": 17987, "loc": { "start": { - "line": 513, + "line": 518, "column": 12 }, "end": { - "line": 513, + "line": 518, "column": 23 }, "identifierName": "currentTime" @@ -30226,15 +30420,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 17782, - "end": 17791, + "start": 17992, + "end": 18001, "loc": { "start": { - "line": 513, + "line": 518, "column": 28 }, "end": { - "line": 513, + "line": 518, "column": 37 }, "identifierName": "undefined" @@ -30244,59 +30438,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 17793, - "end": 17860, + "start": 18003, + "end": 18070, "loc": { "start": { - "line": 513, + "line": 518, "column": 39 }, "end": { - "line": 515, + "line": 520, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 17807, - "end": 17850, + "start": 18017, + "end": 18060, "loc": { "start": { - "line": 514, + "line": 519, "column": 12 }, "end": { - "line": 514, + "line": 519, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 17807, - "end": 17849, + "start": 18017, + "end": 18059, "loc": { "start": { - "line": 514, + "line": 519, "column": 12 }, "end": { - "line": 514, + "line": 519, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17807, - "end": 17818, + "start": 18017, + "end": 18028, "loc": { "start": { - "line": 514, + "line": 519, "column": 12 }, "end": { - "line": 514, + "line": 519, "column": 23 }, "identifierName": "currentTime" @@ -30305,72 +30499,72 @@ }, "right": { "type": "CallExpression", - "start": 17821, - "end": 17849, + "start": 18031, + "end": 18059, "loc": { "start": { - "line": 514, + "line": 519, "column": 26 }, "end": { - "line": 514, + "line": 519, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 17821, - "end": 17847, + "start": 18031, + "end": 18057, "loc": { "start": { - "line": 514, + "line": 519, "column": 26 }, "end": { - "line": 514, + "line": 519, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 17821, - "end": 17832, + "start": 18031, + "end": 18042, "loc": { "start": { - "line": 514, + "line": 519, "column": 26 }, "end": { - "line": 514, + "line": 519, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 17821, - "end": 17825, + "start": 18031, + "end": 18035, "loc": { "start": { - "line": 514, + "line": 519, "column": 26 }, "end": { - "line": 514, + "line": 519, "column": 30 } } }, "property": { "type": "Identifier", - "start": 17826, - "end": 17832, + "start": 18036, + "end": 18042, "loc": { "start": { - "line": 514, + "line": 519, "column": 31 }, "end": { - "line": 514, + "line": 519, "column": 37 }, "identifierName": "surfer" @@ -30381,15 +30575,15 @@ }, "property": { "type": "Identifier", - "start": 17833, - "end": 17847, + "start": 18043, + "end": 18057, "loc": { "start": { - "line": 514, + "line": 519, "column": 38 }, "end": { - "line": 514, + "line": 519, "column": 52 }, "identifierName": "getCurrentTime" @@ -30409,43 +30603,43 @@ }, { "type": "IfStatement", - "start": 17870, - "end": 17959, + "start": 18080, + "end": 18169, "loc": { "start": { - "line": 517, + "line": 522, "column": 8 }, "end": { - "line": 519, + "line": 524, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 17874, - "end": 17896, + "start": 18084, + "end": 18106, "loc": { "start": { - "line": 517, + "line": 522, "column": 12 }, "end": { - "line": 517, + "line": 522, "column": 34 } }, "left": { "type": "Identifier", - "start": 17874, - "end": 17882, + "start": 18084, + "end": 18092, "loc": { "start": { - "line": 517, + "line": 522, "column": 12 }, "end": { - "line": 517, + "line": 522, "column": 20 }, "identifierName": "duration" @@ -30455,15 +30649,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 17887, - "end": 17896, + "start": 18097, + "end": 18106, "loc": { "start": { - "line": 517, + "line": 522, "column": 25 }, "end": { - "line": 517, + "line": 522, "column": 34 }, "identifierName": "undefined" @@ -30473,59 +30667,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 17898, - "end": 17959, + "start": 18108, + "end": 18169, "loc": { "start": { - "line": 517, + "line": 522, "column": 36 }, "end": { - "line": 519, + "line": 524, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 17912, - "end": 17949, + "start": 18122, + "end": 18159, "loc": { "start": { - "line": 518, + "line": 523, "column": 12 }, "end": { - "line": 518, + "line": 523, "column": 49 } }, "expression": { "type": "AssignmentExpression", - "start": 17912, - "end": 17948, + "start": 18122, + "end": 18158, "loc": { "start": { - "line": 518, + "line": 523, "column": 12 }, "end": { - "line": 518, + "line": 523, "column": 48 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17912, - "end": 17920, + "start": 18122, + "end": 18130, "loc": { "start": { - "line": 518, + "line": 523, "column": 12 }, "end": { - "line": 518, + "line": 523, "column": 20 }, "identifierName": "duration" @@ -30534,72 +30728,72 @@ }, "right": { "type": "CallExpression", - "start": 17923, - "end": 17948, + "start": 18133, + "end": 18158, "loc": { "start": { - "line": 518, + "line": 523, "column": 23 }, "end": { - "line": 518, + "line": 523, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 17923, - "end": 17946, + "start": 18133, + "end": 18156, "loc": { "start": { - "line": 518, + "line": 523, "column": 23 }, "end": { - "line": 518, + "line": 523, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 17923, - "end": 17934, + "start": 18133, + "end": 18144, "loc": { "start": { - "line": 518, + "line": 523, "column": 23 }, "end": { - "line": 518, + "line": 523, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 17923, - "end": 17927, + "start": 18133, + "end": 18137, "loc": { "start": { - "line": 518, + "line": 523, "column": 23 }, "end": { - "line": 518, + "line": 523, "column": 27 } } }, "property": { "type": "Identifier", - "start": 17928, - "end": 17934, + "start": 18138, + "end": 18144, "loc": { "start": { - "line": 518, + "line": 523, "column": 28 }, "end": { - "line": 518, + "line": 523, "column": 34 }, "identifierName": "surfer" @@ -30610,15 +30804,15 @@ }, "property": { "type": "Identifier", - "start": 17935, - "end": 17946, + "start": 18145, + "end": 18156, "loc": { "start": { - "line": 518, + "line": 523, "column": 35 }, "end": { - "line": 518, + "line": 523, "column": 46 }, "identifierName": "getDuration" @@ -30638,44 +30832,44 @@ }, { "type": "ExpressionStatement", - "start": 17969, - "end": 18020, + "start": 18179, + "end": 18230, "loc": { "start": { - "line": 521, + "line": 526, "column": 8 }, "end": { - "line": 521, + "line": 526, "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 17969, - "end": 18019, + "start": 18179, + "end": 18229, "loc": { "start": { - "line": 521, + "line": 526, "column": 8 }, "end": { - "line": 521, + "line": 526, "column": 58 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17969, - "end": 17980, + "start": 18179, + "end": 18190, "loc": { "start": { - "line": 521, + "line": 526, "column": 8 }, "end": { - "line": 521, + "line": 526, "column": 19 }, "identifierName": "currentTime" @@ -30684,43 +30878,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 17983, - "end": 18019, + "start": 18193, + "end": 18229, "loc": { "start": { - "line": 521, + "line": 526, "column": 22 }, "end": { - "line": 521, + "line": 526, "column": 58 } }, "test": { "type": "CallExpression", - "start": 17983, - "end": 18001, + "start": 18193, + "end": 18211, "loc": { "start": { - "line": 521, + "line": 526, "column": 22 }, "end": { - "line": 521, + "line": 526, "column": 40 } }, "callee": { "type": "Identifier", - "start": 17983, - "end": 17988, + "start": 18193, + "end": 18198, "loc": { "start": { - "line": 521, + "line": 526, "column": 22 }, "end": { - "line": 521, + "line": 526, "column": 27 }, "identifierName": "isNaN" @@ -30730,15 +30924,15 @@ "arguments": [ { "type": "Identifier", - "start": 17989, - "end": 18000, + "start": 18199, + "end": 18210, "loc": { "start": { - "line": 521, + "line": 526, "column": 28 }, "end": { - "line": 521, + "line": 526, "column": 39 }, "identifierName": "currentTime" @@ -30749,15 +30943,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 18004, - "end": 18005, + "start": 18214, + "end": 18215, "loc": { "start": { - "line": 521, + "line": 526, "column": 43 }, "end": { - "line": 521, + "line": 526, "column": 44 } }, @@ -30769,15 +30963,15 @@ }, "alternate": { "type": "Identifier", - "start": 18008, - "end": 18019, + "start": 18218, + "end": 18229, "loc": { "start": { - "line": 521, + "line": 526, "column": 47 }, "end": { - "line": 521, + "line": 526, "column": 58 }, "identifierName": "currentTime" @@ -30789,44 +30983,44 @@ }, { "type": "ExpressionStatement", - "start": 18029, - "end": 18071, + "start": 18239, + "end": 18281, "loc": { "start": { - "line": 522, + "line": 527, "column": 8 }, "end": { - "line": 522, + "line": 527, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 18029, - "end": 18070, + "start": 18239, + "end": 18280, "loc": { "start": { - "line": 522, + "line": 527, "column": 8 }, "end": { - "line": 522, + "line": 527, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 18029, - "end": 18037, + "start": 18239, + "end": 18247, "loc": { "start": { - "line": 522, + "line": 527, "column": 8 }, "end": { - "line": 522, + "line": 527, "column": 16 }, "identifierName": "duration" @@ -30835,43 +31029,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 18040, - "end": 18070, + "start": 18250, + "end": 18280, "loc": { "start": { - "line": 522, + "line": 527, "column": 19 }, "end": { - "line": 522, + "line": 527, "column": 49 } }, "test": { "type": "CallExpression", - "start": 18040, - "end": 18055, + "start": 18250, + "end": 18265, "loc": { "start": { - "line": 522, + "line": 527, "column": 19 }, "end": { - "line": 522, + "line": 527, "column": 34 } }, "callee": { "type": "Identifier", - "start": 18040, - "end": 18045, + "start": 18250, + "end": 18255, "loc": { "start": { - "line": 522, + "line": 527, "column": 19 }, "end": { - "line": 522, + "line": 527, "column": 24 }, "identifierName": "isNaN" @@ -30881,15 +31075,15 @@ "arguments": [ { "type": "Identifier", - "start": 18046, - "end": 18054, + "start": 18256, + "end": 18264, "loc": { "start": { - "line": 522, + "line": 527, "column": 25 }, "end": { - "line": 522, + "line": 527, "column": 33 }, "identifierName": "duration" @@ -30900,15 +31094,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 18058, - "end": 18059, + "start": 18268, + "end": 18269, "loc": { "start": { - "line": 522, + "line": 527, "column": 37 }, "end": { - "line": 522, + "line": 527, "column": 38 } }, @@ -30920,15 +31114,15 @@ }, "alternate": { "type": "Identifier", - "start": 18062, - "end": 18070, + "start": 18272, + "end": 18280, "loc": { "start": { - "line": 522, + "line": 527, "column": 41 }, "end": { - "line": 522, + "line": 527, "column": 49 }, "identifierName": "duration" @@ -30941,15 +31135,15 @@ { "type": "CommentLine", "value": " update current time display component", - "start": 18081, - "end": 18121, + "start": 18291, + "end": 18331, "loc": { "start": { - "line": 524, + "line": 529, "column": 8 }, "end": { - "line": 524, + "line": 529, "column": 48 } } @@ -30958,99 +31152,99 @@ }, { "type": "IfStatement", - "start": 18130, - "end": 18632, + "start": 18340, + "end": 18848, "loc": { "start": { - "line": 525, + "line": 530, "column": 8 }, "end": { - "line": 533, + "line": 538, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 18134, - "end": 18323, + "start": 18344, + "end": 18533, "loc": { "start": { - "line": 525, + "line": 530, "column": 12 }, "end": { - "line": 527, + "line": 532, "column": 75 } }, "left": { "type": "LogicalExpression", - "start": 18134, - "end": 18244, + "start": 18344, + "end": 18454, "loc": { "start": { - "line": 525, + "line": 530, "column": 12 }, "end": { - "line": 526, + "line": 531, "column": 65 } }, "left": { "type": "MemberExpression", - "start": 18134, - "end": 18175, + "start": 18344, + "end": 18385, "loc": { "start": { - "line": 525, + "line": 530, "column": 12 }, "end": { - "line": 525, + "line": 530, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 18134, - "end": 18156, + "start": 18344, + "end": 18366, "loc": { "start": { - "line": 525, + "line": 530, "column": 12 }, "end": { - "line": 525, + "line": 530, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18134, - "end": 18145, + "start": 18344, + "end": 18355, "loc": { "start": { - "line": 525, + "line": 530, "column": 12 }, "end": { - "line": 525, + "line": 530, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18134, - "end": 18138, + "start": 18344, + "end": 18348, "loc": { "start": { - "line": 525, + "line": 530, "column": 12 }, "end": { - "line": 525, + "line": 530, "column": 16 } }, @@ -31058,15 +31252,15 @@ }, "property": { "type": "Identifier", - "start": 18139, - "end": 18145, + "start": 18349, + "end": 18355, "loc": { "start": { - "line": 525, + "line": 530, "column": 17 }, "end": { - "line": 525, + "line": 530, "column": 23 }, "identifierName": "player" @@ -31078,15 +31272,15 @@ }, "property": { "type": "Identifier", - "start": 18146, - "end": 18156, + "start": 18356, + "end": 18366, "loc": { "start": { - "line": 525, + "line": 530, "column": 24 }, "end": { - "line": 525, + "line": 530, "column": 34 }, "identifierName": "controlBar" @@ -31098,15 +31292,15 @@ }, "property": { "type": "Identifier", - "start": 18157, - "end": 18175, + "start": 18367, + "end": 18385, "loc": { "start": { - "line": 525, + "line": 530, "column": 35 }, "end": { - "line": 525, + "line": 530, "column": 53 }, "identifierName": "currentTimeDisplay" @@ -31119,100 +31313,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 18191, - "end": 18244, + "start": 18401, + "end": 18454, "loc": { "start": { - "line": 526, + "line": 531, "column": 12 }, "end": { - "line": 526, + "line": 531, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 18191, - "end": 18242, + "start": 18401, + "end": 18452, "loc": { "start": { - "line": 526, + "line": 531, "column": 12 }, "end": { - "line": 526, + "line": 531, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 18191, - "end": 18232, + "start": 18401, + "end": 18442, "loc": { "start": { - "line": 526, + "line": 531, "column": 12 }, "end": { - "line": 526, + "line": 531, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 18191, - "end": 18213, + "start": 18401, + "end": 18423, "loc": { "start": { - "line": 526, + "line": 531, "column": 12 }, "end": { - "line": 526, + "line": 531, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18191, - "end": 18202, + "start": 18401, + "end": 18412, "loc": { "start": { - "line": 526, + "line": 531, "column": 12 }, "end": { - "line": 526, + "line": 531, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18191, - "end": 18195, + "start": 18401, + "end": 18405, "loc": { "start": { - "line": 526, + "line": 531, "column": 12 }, "end": { - "line": 526, + "line": 531, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18196, - "end": 18202, + "start": 18406, + "end": 18412, "loc": { "start": { - "line": 526, + "line": 531, "column": 17 }, "end": { - "line": 526, + "line": 531, "column": 23 }, "identifierName": "player" @@ -31223,15 +31417,15 @@ }, "property": { "type": "Identifier", - "start": 18203, - "end": 18213, + "start": 18413, + "end": 18423, "loc": { "start": { - "line": 526, + "line": 531, "column": 24 }, "end": { - "line": 526, + "line": 531, "column": 34 }, "identifierName": "controlBar" @@ -31242,15 +31436,15 @@ }, "property": { "type": "Identifier", - "start": 18214, - "end": 18232, + "start": 18424, + "end": 18442, "loc": { "start": { - "line": 526, + "line": 531, "column": 35 }, "end": { - "line": 526, + "line": 531, "column": 53 }, "identifierName": "currentTimeDisplay" @@ -31261,15 +31455,15 @@ }, "property": { "type": "Identifier", - "start": 18233, - "end": 18242, + "start": 18443, + "end": 18452, "loc": { "start": { - "line": 526, + "line": 531, "column": 54 }, "end": { - "line": 526, + "line": 531, "column": 63 }, "identifierName": "contentEl" @@ -31285,114 +31479,114 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 18260, - "end": 18323, + "start": 18470, + "end": 18533, "loc": { "start": { - "line": 527, + "line": 532, "column": 12 }, "end": { - "line": 527, + "line": 532, "column": 75 } }, "object": { "type": "CallExpression", - "start": 18260, - "end": 18313, + "start": 18470, + "end": 18523, "loc": { "start": { - "line": 527, + "line": 532, "column": 12 }, "end": { - "line": 527, + "line": 532, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 18260, - "end": 18311, + "start": 18470, + "end": 18521, "loc": { "start": { - "line": 527, + "line": 532, "column": 12 }, "end": { - "line": 527, + "line": 532, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 18260, - "end": 18301, + "start": 18470, + "end": 18511, "loc": { "start": { - "line": 527, + "line": 532, "column": 12 }, "end": { - "line": 527, + "line": 532, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 18260, - "end": 18282, + "start": 18470, + "end": 18492, "loc": { "start": { - "line": 527, + "line": 532, "column": 12 }, "end": { - "line": 527, + "line": 532, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18260, - "end": 18271, + "start": 18470, + "end": 18481, "loc": { "start": { - "line": 527, + "line": 532, "column": 12 }, "end": { - "line": 527, + "line": 532, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18260, - "end": 18264, + "start": 18470, + "end": 18474, "loc": { "start": { - "line": 527, + "line": 532, "column": 12 }, "end": { - "line": 527, + "line": 532, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18265, - "end": 18271, + "start": 18475, + "end": 18481, "loc": { "start": { - "line": 527, + "line": 532, "column": 17 }, "end": { - "line": 527, + "line": 532, "column": 23 }, "identifierName": "player" @@ -31403,15 +31597,15 @@ }, "property": { "type": "Identifier", - "start": 18272, - "end": 18282, + "start": 18482, + "end": 18492, "loc": { "start": { - "line": 527, + "line": 532, "column": 24 }, "end": { - "line": 527, + "line": 532, "column": 34 }, "identifierName": "controlBar" @@ -31422,15 +31616,15 @@ }, "property": { "type": "Identifier", - "start": 18283, - "end": 18301, + "start": 18493, + "end": 18511, "loc": { "start": { - "line": 527, + "line": 532, "column": 35 }, "end": { - "line": 527, + "line": 532, "column": 53 }, "identifierName": "currentTimeDisplay" @@ -31441,15 +31635,15 @@ }, "property": { "type": "Identifier", - "start": 18302, - "end": 18311, + "start": 18512, + "end": 18521, "loc": { "start": { - "line": 527, + "line": 532, "column": 54 }, "end": { - "line": 527, + "line": 532, "column": 63 }, "identifierName": "contentEl" @@ -31462,15 +31656,15 @@ }, "property": { "type": "Identifier", - "start": 18314, - "end": 18323, + "start": 18524, + "end": 18533, "loc": { "start": { - "line": 527, + "line": 532, "column": 66 }, "end": { - "line": 527, + "line": 532, "column": 75 }, "identifierName": "lastChild" @@ -31483,59 +31677,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 18325, - "end": 18632, + "start": 18535, + "end": 18848, "loc": { "start": { - "line": 527, + "line": 532, "column": 77 }, "end": { - "line": 533, + "line": 538, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 18339, - "end": 18382, + "start": 18549, + "end": 18592, "loc": { "start": { - "line": 528, + "line": 533, "column": 12 }, "end": { - "line": 528, + "line": 533, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 18343, - "end": 18381, + "start": 18553, + "end": 18591, "loc": { "start": { - "line": 528, + "line": 533, "column": 16 }, "end": { - "line": 528, + "line": 533, "column": 54 } }, "id": { "type": "Identifier", - "start": 18343, - "end": 18347, + "start": 18553, + "end": 18557, "loc": { "start": { - "line": 528, + "line": 533, "column": 16 }, "end": { - "line": 528, + "line": 533, "column": 20 }, "identifierName": "time" @@ -31544,43 +31738,43 @@ }, "init": { "type": "CallExpression", - "start": 18350, - "end": 18381, + "start": 18560, + "end": 18591, "loc": { "start": { - "line": 528, + "line": 533, "column": 23 }, "end": { - "line": 528, + "line": 533, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 18350, - "end": 18358, + "start": 18560, + "end": 18568, "loc": { "start": { - "line": 528, + "line": 533, "column": 23 }, "end": { - "line": 528, + "line": 533, "column": 31 } }, "object": { "type": "Identifier", - "start": 18350, - "end": 18354, + "start": 18560, + "end": 18564, "loc": { "start": { - "line": 528, + "line": 533, "column": 23 }, "end": { - "line": 528, + "line": 533, "column": 27 }, "identifierName": "Math" @@ -31589,15 +31783,15 @@ }, "property": { "type": "Identifier", - "start": 18355, - "end": 18358, + "start": 18565, + "end": 18568, "loc": { "start": { - "line": 528, + "line": 533, "column": 28 }, "end": { - "line": 528, + "line": 533, "column": 31 }, "identifierName": "min" @@ -31609,15 +31803,15 @@ "arguments": [ { "type": "Identifier", - "start": 18359, - "end": 18370, + "start": 18569, + "end": 18580, "loc": { "start": { - "line": 528, + "line": 533, "column": 32 }, "end": { - "line": 528, + "line": 533, "column": 43 }, "identifierName": "currentTime" @@ -31626,15 +31820,15 @@ }, { "type": "Identifier", - "start": 18372, - "end": 18380, + "start": 18582, + "end": 18590, "loc": { "start": { - "line": 528, + "line": 533, "column": 45 }, "end": { - "line": 528, + "line": 533, "column": 53 }, "identifierName": "duration" @@ -31649,115 +31843,115 @@ }, { "type": "ExpressionStatement", - "start": 18396, - "end": 18622, + "start": 18606, + "end": 18838, "loc": { "start": { - "line": 530, + "line": 535, "column": 12 }, "end": { - "line": 532, - "column": 73 + "line": 537, + "column": 79 } }, "expression": { "type": "AssignmentExpression", - "start": 18396, - "end": 18621, + "start": 18606, + "end": 18837, "loc": { "start": { - "line": 530, + "line": 535, "column": 12 }, "end": { - "line": 532, - "column": 72 + "line": 537, + "column": 78 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 18396, - "end": 18452, + "start": 18606, + "end": 18662, "loc": { "start": { - "line": 530, + "line": 535, "column": 12 }, "end": { - "line": 530, + "line": 535, "column": 68 } }, "object": { "type": "MemberExpression", - "start": 18396, - "end": 18437, + "start": 18606, + "end": 18647, "loc": { "start": { - "line": 530, + "line": 535, "column": 12 }, "end": { - "line": 530, + "line": 535, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 18396, - "end": 18418, + "start": 18606, + "end": 18628, "loc": { "start": { - "line": 530, + "line": 535, "column": 12 }, "end": { - "line": 530, + "line": 535, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18396, - "end": 18407, + "start": 18606, + "end": 18617, "loc": { "start": { - "line": 530, + "line": 535, "column": 12 }, "end": { - "line": 530, + "line": 535, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18396, - "end": 18400, + "start": 18606, + "end": 18610, "loc": { "start": { - "line": 530, + "line": 535, "column": 12 }, "end": { - "line": 530, + "line": 535, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18401, - "end": 18407, + "start": 18611, + "end": 18617, "loc": { "start": { - "line": 530, + "line": 535, "column": 17 }, "end": { - "line": 530, + "line": 535, "column": 23 }, "identifierName": "player" @@ -31768,15 +31962,15 @@ }, "property": { "type": "Identifier", - "start": 18408, - "end": 18418, + "start": 18618, + "end": 18628, "loc": { "start": { - "line": 530, + "line": 535, "column": 24 }, "end": { - "line": 530, + "line": 535, "column": 34 }, "identifierName": "controlBar" @@ -31787,15 +31981,15 @@ }, "property": { "type": "Identifier", - "start": 18419, - "end": 18437, + "start": 18629, + "end": 18647, "loc": { "start": { - "line": 530, + "line": 535, "column": 35 }, "end": { - "line": 530, + "line": 535, "column": 53 }, "identifierName": "currentTimeDisplay" @@ -31806,15 +32000,15 @@ }, "property": { "type": "Identifier", - "start": 18438, - "end": 18452, + "start": 18648, + "end": 18662, "loc": { "start": { - "line": 530, + "line": 535, "column": 54 }, "end": { - "line": 530, + "line": 535, "column": 68 }, "identifierName": "formattedTime_" @@ -31825,143 +32019,143 @@ }, "right": { "type": "AssignmentExpression", - "start": 18471, - "end": 18621, + "start": 18681, + "end": 18837, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 532, - "column": 72 + "line": 537, + "column": 78 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 18471, - "end": 18546, + "start": 18681, + "end": 18756, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 531, + "line": 536, "column": 91 } }, "object": { "type": "MemberExpression", - "start": 18471, - "end": 18534, + "start": 18681, + "end": 18744, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 531, + "line": 536, "column": 79 } }, "object": { "type": "CallExpression", - "start": 18471, - "end": 18524, + "start": 18681, + "end": 18734, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 531, + "line": 536, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 18471, - "end": 18522, + "start": 18681, + "end": 18732, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 531, + "line": 536, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 18471, - "end": 18512, + "start": 18681, + "end": 18722, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 531, + "line": 536, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 18471, - "end": 18493, + "start": 18681, + "end": 18703, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 531, + "line": 536, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 18471, - "end": 18482, + "start": 18681, + "end": 18692, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 531, + "line": 536, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 18471, - "end": 18475, + "start": 18681, + "end": 18685, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 531, + "line": 536, "column": 20 } } }, "property": { "type": "Identifier", - "start": 18476, - "end": 18482, + "start": 18686, + "end": 18692, "loc": { "start": { - "line": 531, + "line": 536, "column": 21 }, "end": { - "line": 531, + "line": 536, "column": 27 }, "identifierName": "player" @@ -31972,15 +32166,15 @@ }, "property": { "type": "Identifier", - "start": 18483, - "end": 18493, + "start": 18693, + "end": 18703, "loc": { "start": { - "line": 531, + "line": 536, "column": 28 }, "end": { - "line": 531, + "line": 536, "column": 38 }, "identifierName": "controlBar" @@ -31991,15 +32185,15 @@ }, "property": { "type": "Identifier", - "start": 18494, - "end": 18512, + "start": 18704, + "end": 18722, "loc": { "start": { - "line": 531, + "line": 536, "column": 39 }, "end": { - "line": 531, + "line": 536, "column": 57 }, "identifierName": "currentTimeDisplay" @@ -32010,15 +32204,15 @@ }, "property": { "type": "Identifier", - "start": 18513, - "end": 18522, + "start": 18723, + "end": 18732, "loc": { "start": { - "line": 531, + "line": 536, "column": 58 }, "end": { - "line": 531, + "line": 536, "column": 67 }, "identifierName": "contentEl" @@ -32031,15 +32225,15 @@ }, "property": { "type": "Identifier", - "start": 18525, - "end": 18534, + "start": 18735, + "end": 18744, "loc": { "start": { - "line": 531, + "line": 536, "column": 70 }, "end": { - "line": 531, + "line": 536, "column": 79 }, "identifierName": "lastChild" @@ -32050,15 +32244,15 @@ }, "property": { "type": "Identifier", - "start": 18535, - "end": 18546, + "start": 18745, + "end": 18756, "loc": { "start": { - "line": 531, + "line": 536, "column": 80 }, "end": { - "line": 531, + "line": 536, "column": 91 }, "identifierName": "textContent" @@ -32069,48 +32263,79 @@ }, "right": { "type": "CallExpression", - "start": 18569, - "end": 18621, + "start": 18779, + "end": 18837, "loc": { "start": { - "line": 532, + "line": 537, "column": 20 }, "end": { - "line": 532, - "column": 72 + "line": 537, + "column": 78 } }, "callee": { - "type": "Identifier", - "start": 18569, - "end": 18579, + "type": "MemberExpression", + "start": 18779, + "end": 18795, "loc": { "start": { - "line": 532, + "line": 537, "column": 20 }, "end": { - "line": 532, - "column": 30 + "line": 537, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 18779, + "end": 18783, + "loc": { + "start": { + "line": 537, + "column": 20 + }, + "end": { + "line": 537, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 18784, + "end": 18795, + "loc": { + "start": { + "line": 537, + "column": 25 + }, + "end": { + "line": 537, + "column": 36 + }, + "identifierName": "_formatTime" }, - "identifierName": "formatTime" + "name": "_formatTime" }, - "name": "formatTime" + "computed": false }, "arguments": [ { "type": "Identifier", - "start": 18580, - "end": 18584, + "start": 18796, + "end": 18800, "loc": { "start": { - "line": 532, - "column": 31 + "line": 537, + "column": 37 }, "end": { - "line": 532, - "column": 35 + "line": 537, + "column": 41 }, "identifierName": "time" }, @@ -32118,16 +32343,16 @@ }, { "type": "Identifier", - "start": 18586, - "end": 18594, + "start": 18802, + "end": 18810, "loc": { "start": { - "line": 532, - "column": 37 + "line": 537, + "column": 43 }, "end": { - "line": 532, - "column": 45 + "line": 537, + "column": 51 }, "identifierName": "duration" }, @@ -32135,45 +32360,45 @@ }, { "type": "MemberExpression", - "start": 18596, - "end": 18620, + "start": 18812, + "end": 18836, "loc": { "start": { - "line": 532, - "column": 47 + "line": 537, + "column": 53 }, "end": { - "line": 532, - "column": 71 + "line": 537, + "column": 77 } }, "object": { "type": "ThisExpression", - "start": 18596, - "end": 18600, + "start": 18812, + "end": 18816, "loc": { "start": { - "line": 532, - "column": 47 + "line": 537, + "column": 53 }, "end": { - "line": 532, - "column": 51 + "line": 537, + "column": 57 } } }, "property": { "type": "Identifier", - "start": 18601, - "end": 18620, + "start": 18817, + "end": 18836, "loc": { "start": { - "line": 532, - "column": 52 + "line": 537, + "column": 58 }, "end": { - "line": 532, - "column": 71 + "line": 537, + "column": 77 }, "identifierName": "displayMilliseconds" }, @@ -32194,15 +32419,15 @@ { "type": "CommentLine", "value": " update current time display component", - "start": 18081, - "end": 18121, + "start": 18291, + "end": 18331, "loc": { "start": { - "line": 524, + "line": 529, "column": 8 }, "end": { - "line": 524, + "line": 529, "column": 48 } } @@ -32211,86 +32436,86 @@ }, { "type": "IfStatement", - "start": 18642, - "end": 18829, + "start": 18858, + "end": 19045, "loc": { "start": { - "line": 535, + "line": 540, "column": 8 }, "end": { - "line": 538, + "line": 543, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 18646, - "end": 18714, + "start": 18862, + "end": 18930, "loc": { "start": { - "line": 535, + "line": 540, "column": 12 }, "end": { - "line": 535, + "line": 540, "column": 80 } }, "left": { "type": "LogicalExpression", - "start": 18646, - "end": 18689, + "start": 18862, + "end": 18905, "loc": { "start": { - "line": 535, + "line": 540, "column": 12 }, "end": { - "line": 535, + "line": 540, "column": 55 } }, "left": { "type": "MemberExpression", - "start": 18646, - "end": 18668, + "start": 18862, + "end": 18884, "loc": { "start": { - "line": 535, + "line": 540, "column": 12 }, "end": { - "line": 535, + "line": 540, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 18646, - "end": 18650, + "start": 18862, + "end": 18866, "loc": { "start": { - "line": 535, + "line": 540, "column": 12 }, "end": { - "line": 535, + "line": 540, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18651, - "end": 18668, + "start": 18867, + "end": 18884, "loc": { "start": { - "line": 535, + "line": 540, "column": 17 }, "end": { - "line": 535, + "line": 540, "column": 34 }, "identifierName": "textTracksEnabled" @@ -32302,58 +32527,58 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 18672, - "end": 18689, + "start": 18888, + "end": 18905, "loc": { "start": { - "line": 535, + "line": 540, "column": 38 }, "end": { - "line": 535, + "line": 540, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 18672, - "end": 18683, + "start": 18888, + "end": 18899, "loc": { "start": { - "line": 535, + "line": 540, "column": 38 }, "end": { - "line": 535, + "line": 540, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 18672, - "end": 18676, + "start": 18888, + "end": 18892, "loc": { "start": { - "line": 535, + "line": 540, "column": 38 }, "end": { - "line": 535, + "line": 540, "column": 42 } } }, "property": { "type": "Identifier", - "start": 18677, - "end": 18683, + "start": 18893, + "end": 18899, "loc": { "start": { - "line": 535, + "line": 540, "column": 43 }, "end": { - "line": 535, + "line": 540, "column": 49 }, "identifierName": "player" @@ -32364,15 +32589,15 @@ }, "property": { "type": "Identifier", - "start": 18684, - "end": 18689, + "start": 18900, + "end": 18905, "loc": { "start": { - "line": 535, + "line": 540, "column": 50 }, "end": { - "line": 535, + "line": 540, "column": 55 }, "identifierName": "tech_" @@ -32385,72 +32610,72 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 18693, - "end": 18714, + "start": 18909, + "end": 18930, "loc": { "start": { - "line": 535, + "line": 540, "column": 59 }, "end": { - "line": 535, + "line": 540, "column": 80 } }, "object": { "type": "MemberExpression", - "start": 18693, - "end": 18710, + "start": 18909, + "end": 18926, "loc": { "start": { - "line": 535, + "line": 540, "column": 59 }, "end": { - "line": 535, + "line": 540, "column": 76 } }, "object": { "type": "MemberExpression", - "start": 18693, - "end": 18704, + "start": 18909, + "end": 18920, "loc": { "start": { - "line": 535, + "line": 540, "column": 59 }, "end": { - "line": 535, + "line": 540, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 18693, - "end": 18697, + "start": 18909, + "end": 18913, "loc": { "start": { - "line": 535, + "line": 540, "column": 59 }, "end": { - "line": 535, + "line": 540, "column": 63 } } }, "property": { "type": "Identifier", - "start": 18698, - "end": 18704, + "start": 18914, + "end": 18920, "loc": { "start": { - "line": 535, + "line": 540, "column": 64 }, "end": { - "line": 535, + "line": 540, "column": 70 }, "identifierName": "player" @@ -32461,15 +32686,15 @@ }, "property": { "type": "Identifier", - "start": 18705, - "end": 18710, + "start": 18921, + "end": 18926, "loc": { "start": { - "line": 535, + "line": 540, "column": 71 }, "end": { - "line": 535, + "line": 540, "column": 76 }, "identifierName": "tech_" @@ -32480,15 +32705,15 @@ }, "property": { "type": "Identifier", - "start": 18711, - "end": 18714, + "start": 18927, + "end": 18930, "loc": { "start": { - "line": 535, + "line": 540, "column": 77 }, "end": { - "line": 535, + "line": 540, "column": 80 }, "identifierName": "el_" @@ -32500,100 +32725,100 @@ }, "consequent": { "type": "BlockStatement", - "start": 18716, - "end": 18829, + "start": 18932, + "end": 19045, "loc": { "start": { - "line": 535, + "line": 540, "column": 82 }, "end": { - "line": 538, + "line": 543, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 18773, - "end": 18819, + "start": 18989, + "end": 19035, "loc": { "start": { - "line": 537, + "line": 542, "column": 12 }, "end": { - "line": 537, + "line": 542, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 18773, - "end": 18818, + "start": 18989, + "end": 19034, "loc": { "start": { - "line": 537, + "line": 542, "column": 12 }, "end": { - "line": 537, + "line": 542, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 18773, - "end": 18805, + "start": 18989, + "end": 19021, "loc": { "start": { - "line": 537, + "line": 542, "column": 12 }, "end": { - "line": 537, + "line": 542, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 18773, - "end": 18790, + "start": 18989, + "end": 19006, "loc": { "start": { - "line": 537, + "line": 542, "column": 12 }, "end": { - "line": 537, + "line": 542, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 18773, - "end": 18784, + "start": 18989, + "end": 19000, "loc": { "start": { - "line": 537, + "line": 542, "column": 12 }, "end": { - "line": 537, + "line": 542, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18773, - "end": 18777, + "start": 18989, + "end": 18993, "loc": { "start": { - "line": 537, + "line": 542, "column": 12 }, "end": { - "line": 537, + "line": 542, "column": 16 } }, @@ -32601,15 +32826,15 @@ }, "property": { "type": "Identifier", - "start": 18778, - "end": 18784, + "start": 18994, + "end": 19000, "loc": { "start": { - "line": 537, + "line": 542, "column": 17 }, "end": { - "line": 537, + "line": 542, "column": 23 }, "identifierName": "player" @@ -32621,15 +32846,15 @@ }, "property": { "type": "Identifier", - "start": 18785, - "end": 18790, + "start": 19001, + "end": 19006, "loc": { "start": { - "line": 537, + "line": 542, "column": 24 }, "end": { - "line": 537, + "line": 542, "column": 29 }, "identifierName": "tech_" @@ -32641,15 +32866,15 @@ }, "property": { "type": "Identifier", - "start": 18791, - "end": 18805, + "start": 19007, + "end": 19021, "loc": { "start": { - "line": 537, + "line": 542, "column": 30 }, "end": { - "line": 537, + "line": 542, "column": 44 }, "identifierName": "setCurrentTime" @@ -32662,15 +32887,15 @@ "arguments": [ { "type": "Identifier", - "start": 18806, - "end": 18817, + "start": 19022, + "end": 19033, "loc": { "start": { - "line": 537, + "line": 542, "column": 45 }, "end": { - "line": 537, + "line": 542, "column": 56 }, "identifierName": "currentTime" @@ -32684,15 +32909,15 @@ { "type": "CommentLine", "value": " only needed for text tracks", - "start": 18730, - "end": 18760, + "start": 18946, + "end": 18976, "loc": { "start": { - "line": 536, + "line": 541, "column": 12 }, "end": { - "line": 536, + "line": 541, "column": 42 } } @@ -32712,15 +32937,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the current time.\n *\n * @param {number} [currentTime] - Current position of the playhead\n * (in seconds).\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 17438, - "end": 17709, + "start": 17648, + "end": 17919, "loc": { "start": { - "line": 504, + "line": 509, "column": 4 }, "end": { - "line": 511, + "line": 516, "column": 7 } } @@ -32730,15 +32955,15 @@ { "type": "CommentBlock", "value": "*\n * Get the duration of the stream in seconds.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Duration of the stream.\n ", - "start": 18841, - "end": 19014, + "start": 19057, + "end": 19230, "loc": { "start": { - "line": 541, + "line": 546, "column": 4 }, "end": { - "line": 547, + "line": 552, "column": 7 } } @@ -32747,15 +32972,15 @@ }, { "type": "ClassMethod", - "start": 19019, - "end": 19167, + "start": 19235, + "end": 19383, "loc": { "start": { - "line": 548, + "line": 553, "column": 4 }, "end": { - "line": 553, + "line": 558, "column": 5 } }, @@ -32763,15 +32988,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 19019, - "end": 19030, + "start": 19235, + "end": 19246, "loc": { "start": { - "line": 548, + "line": 553, "column": 4 }, "end": { - "line": 548, + "line": 553, "column": 15 }, "identifierName": "getDuration" @@ -32787,59 +33012,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 19033, - "end": 19167, + "start": 19249, + "end": 19383, "loc": { "start": { - "line": 548, + "line": 553, "column": 18 }, "end": { - "line": 553, + "line": 558, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 19043, - "end": 19084, + "start": 19259, + "end": 19300, "loc": { "start": { - "line": 549, + "line": 554, "column": 8 }, "end": { - "line": 549, + "line": 554, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 19047, - "end": 19083, + "start": 19263, + "end": 19299, "loc": { "start": { - "line": 549, + "line": 554, "column": 12 }, "end": { - "line": 549, + "line": 554, "column": 48 } }, "id": { "type": "Identifier", - "start": 19047, - "end": 19055, + "start": 19263, + "end": 19271, "loc": { "start": { - "line": 549, + "line": 554, "column": 12 }, "end": { - "line": 549, + "line": 554, "column": 20 }, "identifierName": "duration" @@ -32848,72 +33073,72 @@ }, "init": { "type": "CallExpression", - "start": 19058, - "end": 19083, + "start": 19274, + "end": 19299, "loc": { "start": { - "line": 549, + "line": 554, "column": 23 }, "end": { - "line": 549, + "line": 554, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 19058, - "end": 19081, + "start": 19274, + "end": 19297, "loc": { "start": { - "line": 549, + "line": 554, "column": 23 }, "end": { - "line": 549, + "line": 554, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 19058, - "end": 19069, + "start": 19274, + "end": 19285, "loc": { "start": { - "line": 549, + "line": 554, "column": 23 }, "end": { - "line": 549, + "line": 554, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 19058, - "end": 19062, + "start": 19274, + "end": 19278, "loc": { "start": { - "line": 549, + "line": 554, "column": 23 }, "end": { - "line": 549, + "line": 554, "column": 27 } } }, "property": { "type": "Identifier", - "start": 19063, - "end": 19069, + "start": 19279, + "end": 19285, "loc": { "start": { - "line": 549, + "line": 554, "column": 28 }, "end": { - "line": 549, + "line": 554, "column": 34 }, "identifierName": "surfer" @@ -32924,15 +33149,15 @@ }, "property": { "type": "Identifier", - "start": 19070, - "end": 19081, + "start": 19286, + "end": 19297, "loc": { "start": { - "line": 549, + "line": 554, "column": 35 }, "end": { - "line": 549, + "line": 554, "column": 46 }, "identifierName": "getDuration" @@ -32949,44 +33174,44 @@ }, { "type": "ExpressionStatement", - "start": 19093, - "end": 19135, + "start": 19309, + "end": 19351, "loc": { "start": { - "line": 550, + "line": 555, "column": 8 }, "end": { - "line": 550, + "line": 555, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 19093, - "end": 19134, + "start": 19309, + "end": 19350, "loc": { "start": { - "line": 550, + "line": 555, "column": 8 }, "end": { - "line": 550, + "line": 555, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 19093, - "end": 19101, + "start": 19309, + "end": 19317, "loc": { "start": { - "line": 550, + "line": 555, "column": 8 }, "end": { - "line": 550, + "line": 555, "column": 16 }, "identifierName": "duration" @@ -32995,43 +33220,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 19104, - "end": 19134, + "start": 19320, + "end": 19350, "loc": { "start": { - "line": 550, + "line": 555, "column": 19 }, "end": { - "line": 550, + "line": 555, "column": 49 } }, "test": { "type": "CallExpression", - "start": 19104, - "end": 19119, + "start": 19320, + "end": 19335, "loc": { "start": { - "line": 550, + "line": 555, "column": 19 }, "end": { - "line": 550, + "line": 555, "column": 34 } }, "callee": { "type": "Identifier", - "start": 19104, - "end": 19109, + "start": 19320, + "end": 19325, "loc": { "start": { - "line": 550, + "line": 555, "column": 19 }, "end": { - "line": 550, + "line": 555, "column": 24 }, "identifierName": "isNaN" @@ -33041,15 +33266,15 @@ "arguments": [ { "type": "Identifier", - "start": 19110, - "end": 19118, + "start": 19326, + "end": 19334, "loc": { "start": { - "line": 550, + "line": 555, "column": 25 }, "end": { - "line": 550, + "line": 555, "column": 33 }, "identifierName": "duration" @@ -33060,15 +33285,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 19122, - "end": 19123, + "start": 19338, + "end": 19339, "loc": { "start": { - "line": 550, + "line": 555, "column": 37 }, "end": { - "line": 550, + "line": 555, "column": 38 } }, @@ -33080,15 +33305,15 @@ }, "alternate": { "type": "Identifier", - "start": 19126, - "end": 19134, + "start": 19342, + "end": 19350, "loc": { "start": { - "line": 550, + "line": 555, "column": 41 }, "end": { - "line": 550, + "line": 555, "column": 49 }, "identifierName": "duration" @@ -33100,29 +33325,29 @@ }, { "type": "ReturnStatement", - "start": 19145, - "end": 19161, + "start": 19361, + "end": 19377, "loc": { "start": { - "line": 552, + "line": 557, "column": 8 }, "end": { - "line": 552, + "line": 557, "column": 24 } }, "argument": { "type": "Identifier", - "start": 19152, - "end": 19160, + "start": 19368, + "end": 19376, "loc": { "start": { - "line": 552, + "line": 557, "column": 15 }, "end": { - "line": 552, + "line": 557, "column": 23 }, "identifierName": "duration" @@ -33138,15 +33363,15 @@ { "type": "CommentBlock", "value": "*\n * Get the duration of the stream in seconds.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Duration of the stream.\n ", - "start": 18841, - "end": 19014, + "start": 19057, + "end": 19230, "loc": { "start": { - "line": 541, + "line": 546, "column": 4 }, "end": { - "line": 547, + "line": 552, "column": 7 } } @@ -33156,15 +33381,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the duration time.\n *\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 19173, - "end": 19348, + "start": 19389, + "end": 19564, "loc": { "start": { - "line": 555, + "line": 560, "column": 4 }, "end": { - "line": 560, + "line": 565, "column": 7 } } @@ -33173,15 +33398,15 @@ }, { "type": "ClassMethod", - "start": 19353, - "end": 20020, + "start": 19569, + "end": 20242, "loc": { "start": { - "line": 561, + "line": 566, "column": 4 }, "end": { - "line": 575, + "line": 580, "column": 5 } }, @@ -33189,15 +33414,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 19353, - "end": 19364, + "start": 19569, + "end": 19580, "loc": { "start": { - "line": 561, + "line": 566, "column": 4 }, "end": { - "line": 561, + "line": 566, "column": 15 }, "identifierName": "setDuration" @@ -33213,15 +33438,15 @@ "params": [ { "type": "Identifier", - "start": 19365, - "end": 19373, + "start": 19581, + "end": 19589, "loc": { "start": { - "line": 561, + "line": 566, "column": 16 }, "end": { - "line": 561, + "line": 566, "column": 24 }, "identifierName": "duration" @@ -33231,58 +33456,58 @@ ], "body": { "type": "BlockStatement", - "start": 19375, - "end": 20020, + "start": 19591, + "end": 20242, "loc": { "start": { - "line": 561, + "line": 566, "column": 26 }, "end": { - "line": 575, + "line": 580, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 19385, - "end": 19474, + "start": 19601, + "end": 19690, "loc": { "start": { - "line": 562, + "line": 567, "column": 8 }, "end": { - "line": 564, + "line": 569, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 19389, - "end": 19411, + "start": 19605, + "end": 19627, "loc": { "start": { - "line": 562, + "line": 567, "column": 12 }, "end": { - "line": 562, + "line": 567, "column": 34 } }, "left": { "type": "Identifier", - "start": 19389, - "end": 19397, + "start": 19605, + "end": 19613, "loc": { "start": { - "line": 562, + "line": 567, "column": 12 }, "end": { - "line": 562, + "line": 567, "column": 20 }, "identifierName": "duration" @@ -33292,15 +33517,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 19402, - "end": 19411, + "start": 19618, + "end": 19627, "loc": { "start": { - "line": 562, + "line": 567, "column": 25 }, "end": { - "line": 562, + "line": 567, "column": 34 }, "identifierName": "undefined" @@ -33310,59 +33535,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 19413, - "end": 19474, + "start": 19629, + "end": 19690, "loc": { "start": { - "line": 562, + "line": 567, "column": 36 }, "end": { - "line": 564, + "line": 569, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 19427, - "end": 19464, + "start": 19643, + "end": 19680, "loc": { "start": { - "line": 563, + "line": 568, "column": 12 }, "end": { - "line": 563, + "line": 568, "column": 49 } }, "expression": { "type": "AssignmentExpression", - "start": 19427, - "end": 19463, + "start": 19643, + "end": 19679, "loc": { "start": { - "line": 563, + "line": 568, "column": 12 }, "end": { - "line": 563, + "line": 568, "column": 48 } }, "operator": "=", "left": { "type": "Identifier", - "start": 19427, - "end": 19435, + "start": 19643, + "end": 19651, "loc": { "start": { - "line": 563, + "line": 568, "column": 12 }, "end": { - "line": 563, + "line": 568, "column": 20 }, "identifierName": "duration" @@ -33371,72 +33596,72 @@ }, "right": { "type": "CallExpression", - "start": 19438, - "end": 19463, + "start": 19654, + "end": 19679, "loc": { "start": { - "line": 563, + "line": 568, "column": 23 }, "end": { - "line": 563, + "line": 568, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 19438, - "end": 19461, + "start": 19654, + "end": 19677, "loc": { "start": { - "line": 563, + "line": 568, "column": 23 }, "end": { - "line": 563, + "line": 568, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 19438, - "end": 19449, + "start": 19654, + "end": 19665, "loc": { "start": { - "line": 563, + "line": 568, "column": 23 }, "end": { - "line": 563, + "line": 568, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 19438, - "end": 19442, + "start": 19654, + "end": 19658, "loc": { "start": { - "line": 563, + "line": 568, "column": 23 }, "end": { - "line": 563, + "line": 568, "column": 27 } } }, "property": { "type": "Identifier", - "start": 19443, - "end": 19449, + "start": 19659, + "end": 19665, "loc": { "start": { - "line": 563, + "line": 568, "column": 28 }, "end": { - "line": 563, + "line": 568, "column": 34 }, "identifierName": "surfer" @@ -33447,15 +33672,15 @@ }, "property": { "type": "Identifier", - "start": 19450, - "end": 19461, + "start": 19666, + "end": 19677, "loc": { "start": { - "line": 563, + "line": 568, "column": 35 }, "end": { - "line": 563, + "line": 568, "column": 46 }, "identifierName": "getDuration" @@ -33475,44 +33700,44 @@ }, { "type": "ExpressionStatement", - "start": 19483, - "end": 19525, + "start": 19699, + "end": 19741, "loc": { "start": { - "line": 565, + "line": 570, "column": 8 }, "end": { - "line": 565, + "line": 570, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 19483, - "end": 19524, + "start": 19699, + "end": 19740, "loc": { "start": { - "line": 565, + "line": 570, "column": 8 }, "end": { - "line": 565, + "line": 570, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 19483, - "end": 19491, + "start": 19699, + "end": 19707, "loc": { "start": { - "line": 565, + "line": 570, "column": 8 }, "end": { - "line": 565, + "line": 570, "column": 16 }, "identifierName": "duration" @@ -33521,43 +33746,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 19494, - "end": 19524, + "start": 19710, + "end": 19740, "loc": { "start": { - "line": 565, + "line": 570, "column": 19 }, "end": { - "line": 565, + "line": 570, "column": 49 } }, "test": { "type": "CallExpression", - "start": 19494, - "end": 19509, + "start": 19710, + "end": 19725, "loc": { "start": { - "line": 565, + "line": 570, "column": 19 }, "end": { - "line": 565, + "line": 570, "column": 34 } }, "callee": { "type": "Identifier", - "start": 19494, - "end": 19499, + "start": 19710, + "end": 19715, "loc": { "start": { - "line": 565, + "line": 570, "column": 19 }, "end": { - "line": 565, + "line": 570, "column": 24 }, "identifierName": "isNaN" @@ -33567,15 +33792,15 @@ "arguments": [ { "type": "Identifier", - "start": 19500, - "end": 19508, + "start": 19716, + "end": 19724, "loc": { "start": { - "line": 565, + "line": 570, "column": 25 }, "end": { - "line": 565, + "line": 570, "column": 33 }, "identifierName": "duration" @@ -33586,15 +33811,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 19512, - "end": 19513, + "start": 19728, + "end": 19729, "loc": { "start": { - "line": 565, + "line": 570, "column": 37 }, "end": { - "line": 565, + "line": 570, "column": 38 } }, @@ -33606,15 +33831,15 @@ }, "alternate": { "type": "Identifier", - "start": 19516, - "end": 19524, + "start": 19732, + "end": 19740, "loc": { "start": { - "line": 565, + "line": 570, "column": 41 }, "end": { - "line": 565, + "line": 570, "column": 49 }, "identifierName": "duration" @@ -33627,15 +33852,15 @@ { "type": "CommentLine", "value": " update duration display component", - "start": 19535, - "end": 19571, + "start": 19751, + "end": 19787, "loc": { "start": { - "line": 567, + "line": 572, "column": 8 }, "end": { - "line": 567, + "line": 572, "column": 44 } } @@ -33644,99 +33869,99 @@ }, { "type": "IfStatement", - "start": 19580, - "end": 20014, + "start": 19796, + "end": 20236, "loc": { "start": { - "line": 568, + "line": 573, "column": 8 }, "end": { - "line": 574, + "line": 579, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 19584, - "end": 19764, + "start": 19800, + "end": 19980, "loc": { "start": { - "line": 568, + "line": 573, "column": 12 }, "end": { - "line": 570, + "line": 575, "column": 72 } }, "left": { "type": "LogicalExpression", - "start": 19584, - "end": 19688, + "start": 19800, + "end": 19904, "loc": { "start": { - "line": 568, + "line": 573, "column": 12 }, "end": { - "line": 569, + "line": 574, "column": 62 } }, "left": { "type": "MemberExpression", - "start": 19584, - "end": 19622, + "start": 19800, + "end": 19838, "loc": { "start": { - "line": 568, + "line": 573, "column": 12 }, "end": { - "line": 568, + "line": 573, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19584, - "end": 19606, + "start": 19800, + "end": 19822, "loc": { "start": { - "line": 568, + "line": 573, "column": 12 }, "end": { - "line": 568, + "line": 573, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19584, - "end": 19595, + "start": 19800, + "end": 19811, "loc": { "start": { - "line": 568, + "line": 573, "column": 12 }, "end": { - "line": 568, + "line": 573, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19584, - "end": 19588, + "start": 19800, + "end": 19804, "loc": { "start": { - "line": 568, + "line": 573, "column": 12 }, "end": { - "line": 568, + "line": 573, "column": 16 } }, @@ -33744,15 +33969,15 @@ }, "property": { "type": "Identifier", - "start": 19589, - "end": 19595, + "start": 19805, + "end": 19811, "loc": { "start": { - "line": 568, + "line": 573, "column": 17 }, "end": { - "line": 568, + "line": 573, "column": 23 }, "identifierName": "player" @@ -33764,15 +33989,15 @@ }, "property": { "type": "Identifier", - "start": 19596, - "end": 19606, + "start": 19812, + "end": 19822, "loc": { "start": { - "line": 568, + "line": 573, "column": 24 }, "end": { - "line": 568, + "line": 573, "column": 34 }, "identifierName": "controlBar" @@ -33784,15 +34009,15 @@ }, "property": { "type": "Identifier", - "start": 19607, - "end": 19622, + "start": 19823, + "end": 19838, "loc": { "start": { - "line": 568, + "line": 573, "column": 35 }, "end": { - "line": 568, + "line": 573, "column": 50 }, "identifierName": "durationDisplay" @@ -33805,100 +34030,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 19638, - "end": 19688, + "start": 19854, + "end": 19904, "loc": { "start": { - "line": 569, + "line": 574, "column": 12 }, "end": { - "line": 569, + "line": 574, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 19638, - "end": 19686, + "start": 19854, + "end": 19902, "loc": { "start": { - "line": 569, + "line": 574, "column": 12 }, "end": { - "line": 569, + "line": 574, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 19638, - "end": 19676, + "start": 19854, + "end": 19892, "loc": { "start": { - "line": 569, + "line": 574, "column": 12 }, "end": { - "line": 569, + "line": 574, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19638, - "end": 19660, + "start": 19854, + "end": 19876, "loc": { "start": { - "line": 569, + "line": 574, "column": 12 }, "end": { - "line": 569, + "line": 574, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19638, - "end": 19649, + "start": 19854, + "end": 19865, "loc": { "start": { - "line": 569, + "line": 574, "column": 12 }, "end": { - "line": 569, + "line": 574, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19638, - "end": 19642, + "start": 19854, + "end": 19858, "loc": { "start": { - "line": 569, + "line": 574, "column": 12 }, "end": { - "line": 569, + "line": 574, "column": 16 } } }, "property": { "type": "Identifier", - "start": 19643, - "end": 19649, + "start": 19859, + "end": 19865, "loc": { "start": { - "line": 569, + "line": 574, "column": 17 }, "end": { - "line": 569, + "line": 574, "column": 23 }, "identifierName": "player" @@ -33909,15 +34134,15 @@ }, "property": { "type": "Identifier", - "start": 19650, - "end": 19660, + "start": 19866, + "end": 19876, "loc": { "start": { - "line": 569, + "line": 574, "column": 24 }, "end": { - "line": 569, + "line": 574, "column": 34 }, "identifierName": "controlBar" @@ -33928,15 +34153,15 @@ }, "property": { "type": "Identifier", - "start": 19661, - "end": 19676, + "start": 19877, + "end": 19892, "loc": { "start": { - "line": 569, + "line": 574, "column": 35 }, "end": { - "line": 569, + "line": 574, "column": 50 }, "identifierName": "durationDisplay" @@ -33947,15 +34172,15 @@ }, "property": { "type": "Identifier", - "start": 19677, - "end": 19686, + "start": 19893, + "end": 19902, "loc": { "start": { - "line": 569, + "line": 574, "column": 51 }, "end": { - "line": 569, + "line": 574, "column": 60 }, "identifierName": "contentEl" @@ -33971,114 +34196,114 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 19704, - "end": 19764, + "start": 19920, + "end": 19980, "loc": { "start": { - "line": 570, + "line": 575, "column": 12 }, "end": { - "line": 570, + "line": 575, "column": 72 } }, "object": { "type": "CallExpression", - "start": 19704, - "end": 19754, + "start": 19920, + "end": 19970, "loc": { "start": { - "line": 570, + "line": 575, "column": 12 }, "end": { - "line": 570, + "line": 575, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 19704, - "end": 19752, + "start": 19920, + "end": 19968, "loc": { "start": { - "line": 570, + "line": 575, "column": 12 }, "end": { - "line": 570, + "line": 575, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 19704, - "end": 19742, + "start": 19920, + "end": 19958, "loc": { "start": { - "line": 570, + "line": 575, "column": 12 }, "end": { - "line": 570, + "line": 575, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19704, - "end": 19726, + "start": 19920, + "end": 19942, "loc": { "start": { - "line": 570, + "line": 575, "column": 12 }, "end": { - "line": 570, + "line": 575, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19704, - "end": 19715, + "start": 19920, + "end": 19931, "loc": { "start": { - "line": 570, + "line": 575, "column": 12 }, "end": { - "line": 570, + "line": 575, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19704, - "end": 19708, + "start": 19920, + "end": 19924, "loc": { "start": { - "line": 570, + "line": 575, "column": 12 }, "end": { - "line": 570, + "line": 575, "column": 16 } } }, "property": { "type": "Identifier", - "start": 19709, - "end": 19715, + "start": 19925, + "end": 19931, "loc": { "start": { - "line": 570, + "line": 575, "column": 17 }, "end": { - "line": 570, + "line": 575, "column": 23 }, "identifierName": "player" @@ -34089,15 +34314,15 @@ }, "property": { "type": "Identifier", - "start": 19716, - "end": 19726, + "start": 19932, + "end": 19942, "loc": { "start": { - "line": 570, + "line": 575, "column": 24 }, "end": { - "line": 570, + "line": 575, "column": 34 }, "identifierName": "controlBar" @@ -34108,15 +34333,15 @@ }, "property": { "type": "Identifier", - "start": 19727, - "end": 19742, + "start": 19943, + "end": 19958, "loc": { "start": { - "line": 570, + "line": 575, "column": 35 }, "end": { - "line": 570, + "line": 575, "column": 50 }, "identifierName": "durationDisplay" @@ -34127,15 +34352,15 @@ }, "property": { "type": "Identifier", - "start": 19743, - "end": 19752, + "start": 19959, + "end": 19968, "loc": { "start": { - "line": 570, + "line": 575, "column": 51 }, "end": { - "line": 570, + "line": 575, "column": 60 }, "identifierName": "contentEl" @@ -34148,15 +34373,15 @@ }, "property": { "type": "Identifier", - "start": 19755, - "end": 19764, + "start": 19971, + "end": 19980, "loc": { "start": { - "line": 570, + "line": 575, "column": 63 }, "end": { - "line": 570, + "line": 575, "column": 72 }, "identifierName": "lastChild" @@ -34169,130 +34394,130 @@ }, "consequent": { "type": "BlockStatement", - "start": 19766, - "end": 20014, + "start": 19982, + "end": 20236, "loc": { "start": { - "line": 570, + "line": 575, "column": 74 }, "end": { - "line": 574, + "line": 579, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 19780, - "end": 20004, + "start": 19996, + "end": 20226, "loc": { "start": { - "line": 571, + "line": 576, "column": 12 }, "end": { - "line": 573, - "column": 77 + "line": 578, + "column": 83 } }, "expression": { "type": "AssignmentExpression", - "start": 19780, - "end": 20003, + "start": 19996, + "end": 20225, "loc": { "start": { - "line": 571, + "line": 576, "column": 12 }, "end": { - "line": 573, - "column": 76 + "line": 578, + "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19780, - "end": 19833, + "start": 19996, + "end": 20049, "loc": { "start": { - "line": 571, + "line": 576, "column": 12 }, "end": { - "line": 571, + "line": 576, "column": 65 } }, "object": { "type": "MemberExpression", - "start": 19780, - "end": 19818, + "start": 19996, + "end": 20034, "loc": { "start": { - "line": 571, + "line": 576, "column": 12 }, "end": { - "line": 571, + "line": 576, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19780, - "end": 19802, + "start": 19996, + "end": 20018, "loc": { "start": { - "line": 571, + "line": 576, "column": 12 }, "end": { - "line": 571, + "line": 576, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19780, - "end": 19791, + "start": 19996, + "end": 20007, "loc": { "start": { - "line": 571, + "line": 576, "column": 12 }, "end": { - "line": 571, + "line": 576, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19780, - "end": 19784, + "start": 19996, + "end": 20000, "loc": { "start": { - "line": 571, + "line": 576, "column": 12 }, "end": { - "line": 571, + "line": 576, "column": 16 } } }, "property": { "type": "Identifier", - "start": 19785, - "end": 19791, + "start": 20001, + "end": 20007, "loc": { "start": { - "line": 571, + "line": 576, "column": 17 }, "end": { - "line": 571, + "line": 576, "column": 23 }, "identifierName": "player" @@ -34303,15 +34528,15 @@ }, "property": { "type": "Identifier", - "start": 19792, - "end": 19802, + "start": 20008, + "end": 20018, "loc": { "start": { - "line": 571, + "line": 576, "column": 24 }, "end": { - "line": 571, + "line": 576, "column": 34 }, "identifierName": "controlBar" @@ -34322,15 +34547,15 @@ }, "property": { "type": "Identifier", - "start": 19803, - "end": 19818, + "start": 20019, + "end": 20034, "loc": { "start": { - "line": 571, + "line": 576, "column": 35 }, "end": { - "line": 571, + "line": 576, "column": 50 }, "identifierName": "durationDisplay" @@ -34341,15 +34566,15 @@ }, "property": { "type": "Identifier", - "start": 19819, - "end": 19833, + "start": 20035, + "end": 20049, "loc": { "start": { - "line": 571, + "line": 576, "column": 51 }, "end": { - "line": 571, + "line": 576, "column": 65 }, "identifierName": "formattedTime_" @@ -34360,143 +34585,143 @@ }, "right": { "type": "AssignmentExpression", - "start": 19852, - "end": 20003, + "start": 20068, + "end": 20225, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 573, - "column": 76 + "line": 578, + "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19852, - "end": 19924, + "start": 20068, + "end": 20140, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 572, + "line": 577, "column": 88 } }, "object": { "type": "MemberExpression", - "start": 19852, - "end": 19912, + "start": 20068, + "end": 20128, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 572, + "line": 577, "column": 76 } }, "object": { "type": "CallExpression", - "start": 19852, - "end": 19902, + "start": 20068, + "end": 20118, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 572, + "line": 577, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 19852, - "end": 19900, + "start": 20068, + "end": 20116, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 572, + "line": 577, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 19852, - "end": 19890, + "start": 20068, + "end": 20106, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 572, + "line": 577, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 19852, - "end": 19874, + "start": 20068, + "end": 20090, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 572, + "line": 577, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 19852, - "end": 19863, + "start": 20068, + "end": 20079, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 572, + "line": 577, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 19852, - "end": 19856, + "start": 20068, + "end": 20072, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 572, + "line": 577, "column": 20 } } }, "property": { "type": "Identifier", - "start": 19857, - "end": 19863, + "start": 20073, + "end": 20079, "loc": { "start": { - "line": 572, + "line": 577, "column": 21 }, "end": { - "line": 572, + "line": 577, "column": 27 }, "identifierName": "player" @@ -34507,15 +34732,15 @@ }, "property": { "type": "Identifier", - "start": 19864, - "end": 19874, + "start": 20080, + "end": 20090, "loc": { "start": { - "line": 572, + "line": 577, "column": 28 }, "end": { - "line": 572, + "line": 577, "column": 38 }, "identifierName": "controlBar" @@ -34526,15 +34751,15 @@ }, "property": { "type": "Identifier", - "start": 19875, - "end": 19890, + "start": 20091, + "end": 20106, "loc": { "start": { - "line": 572, + "line": 577, "column": 39 }, "end": { - "line": 572, + "line": 577, "column": 54 }, "identifierName": "durationDisplay" @@ -34545,15 +34770,15 @@ }, "property": { "type": "Identifier", - "start": 19891, - "end": 19900, + "start": 20107, + "end": 20116, "loc": { "start": { - "line": 572, + "line": 577, "column": 55 }, "end": { - "line": 572, + "line": 577, "column": 64 }, "identifierName": "contentEl" @@ -34566,15 +34791,15 @@ }, "property": { "type": "Identifier", - "start": 19903, - "end": 19912, + "start": 20119, + "end": 20128, "loc": { "start": { - "line": 572, + "line": 577, "column": 67 }, "end": { - "line": 572, + "line": 577, "column": 76 }, "identifierName": "lastChild" @@ -34585,15 +34810,15 @@ }, "property": { "type": "Identifier", - "start": 19913, - "end": 19924, + "start": 20129, + "end": 20140, "loc": { "start": { - "line": 572, + "line": 577, "column": 77 }, "end": { - "line": 572, + "line": 577, "column": 88 }, "identifierName": "textContent" @@ -34604,48 +34829,79 @@ }, "right": { "type": "CallExpression", - "start": 19947, - "end": 20003, + "start": 20163, + "end": 20225, "loc": { "start": { - "line": 573, + "line": 578, "column": 20 }, "end": { - "line": 573, - "column": 76 + "line": 578, + "column": 82 } }, "callee": { - "type": "Identifier", - "start": 19947, - "end": 19957, + "type": "MemberExpression", + "start": 20163, + "end": 20179, "loc": { "start": { - "line": 573, + "line": 578, "column": 20 }, "end": { - "line": 573, - "column": 30 + "line": 578, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 20163, + "end": 20167, + "loc": { + "start": { + "line": 578, + "column": 20 + }, + "end": { + "line": 578, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 20168, + "end": 20179, + "loc": { + "start": { + "line": 578, + "column": 25 + }, + "end": { + "line": 578, + "column": 36 + }, + "identifierName": "_formatTime" }, - "identifierName": "formatTime" + "name": "_formatTime" }, - "name": "formatTime" + "computed": false }, "arguments": [ { "type": "Identifier", - "start": 19958, - "end": 19966, + "start": 20180, + "end": 20188, "loc": { "start": { - "line": 573, - "column": 31 + "line": 578, + "column": 37 }, "end": { - "line": 573, - "column": 39 + "line": 578, + "column": 45 }, "identifierName": "duration" }, @@ -34653,16 +34909,16 @@ }, { "type": "Identifier", - "start": 19968, - "end": 19976, + "start": 20190, + "end": 20198, "loc": { "start": { - "line": 573, - "column": 41 + "line": 578, + "column": 47 }, "end": { - "line": 573, - "column": 49 + "line": 578, + "column": 55 }, "identifierName": "duration" }, @@ -34670,45 +34926,45 @@ }, { "type": "MemberExpression", - "start": 19978, - "end": 20002, + "start": 20200, + "end": 20224, "loc": { "start": { - "line": 573, - "column": 51 + "line": 578, + "column": 57 }, "end": { - "line": 573, - "column": 75 + "line": 578, + "column": 81 } }, "object": { "type": "ThisExpression", - "start": 19978, - "end": 19982, + "start": 20200, + "end": 20204, "loc": { "start": { - "line": 573, - "column": 51 + "line": 578, + "column": 57 }, "end": { - "line": 573, - "column": 55 + "line": 578, + "column": 61 } } }, "property": { "type": "Identifier", - "start": 19983, - "end": 20002, + "start": 20205, + "end": 20224, "loc": { "start": { - "line": 573, - "column": 56 + "line": 578, + "column": 62 }, "end": { - "line": 573, - "column": 75 + "line": 578, + "column": 81 }, "identifierName": "displayMilliseconds" }, @@ -34729,15 +34985,15 @@ { "type": "CommentLine", "value": " update duration display component", - "start": 19535, - "end": 19571, + "start": 19751, + "end": 19787, "loc": { "start": { - "line": 567, + "line": 572, "column": 8 }, "end": { - "line": 567, + "line": 572, "column": 44 } } @@ -34752,15 +35008,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the duration time.\n *\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 19173, - "end": 19348, + "start": 19389, + "end": 19564, "loc": { "start": { - "line": 555, + "line": 560, "column": 4 }, "end": { - "line": 560, + "line": 565, "column": 7 } } @@ -34770,15 +35026,15 @@ { "type": "CommentBlock", "value": "*\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n ", - "start": 20026, - "end": 20143, + "start": 20248, + "end": 20365, "loc": { "start": { - "line": 577, + "line": 582, "column": 4 }, "end": { - "line": 582, + "line": 587, "column": 7 } } @@ -34787,15 +35043,15 @@ }, { "type": "ClassMethod", - "start": 20148, - "end": 21348, + "start": 20370, + "end": 21570, "loc": { "start": { - "line": 583, + "line": 588, "column": 4 }, "end": { - "line": 622, + "line": 627, "column": 5 } }, @@ -34803,15 +35059,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 20148, - "end": 20159, + "start": 20370, + "end": 20381, "loc": { "start": { - "line": 583, + "line": 588, "column": 4 }, "end": { - "line": 583, + "line": 588, "column": 15 }, "identifierName": "onWaveReady" @@ -34827,88 +35083,88 @@ "params": [], "body": { "type": "BlockStatement", - "start": 20162, - "end": 21348, + "start": 20384, + "end": 21570, "loc": { "start": { - "line": 583, + "line": 588, "column": 18 }, "end": { - "line": 622, + "line": 627, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 20172, - "end": 20194, + "start": 20394, + "end": 20416, "loc": { "start": { - "line": 584, + "line": 589, "column": 8 }, "end": { - "line": 584, + "line": 589, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 20172, - "end": 20193, + "start": 20394, + "end": 20415, "loc": { "start": { - "line": 584, + "line": 589, "column": 8 }, "end": { - "line": 584, + "line": 589, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 20172, - "end": 20186, + "start": 20394, + "end": 20408, "loc": { "start": { - "line": 584, + "line": 589, "column": 8 }, "end": { - "line": 584, + "line": 589, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 20172, - "end": 20176, + "start": 20394, + "end": 20398, "loc": { "start": { - "line": 584, + "line": 589, "column": 8 }, "end": { - "line": 584, + "line": 589, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20177, - "end": 20186, + "start": 20399, + "end": 20408, "loc": { "start": { - "line": 584, + "line": 589, "column": 13 }, "end": { - "line": 584, + "line": 589, "column": 22 }, "identifierName": "waveReady" @@ -34919,15 +35175,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 20189, - "end": 20193, + "start": 20411, + "end": 20415, "loc": { "start": { - "line": 584, + "line": 589, "column": 25 }, "end": { - "line": 584, + "line": 589, "column": 29 } }, @@ -34937,73 +35193,73 @@ }, { "type": "ExpressionStatement", - "start": 20203, - "end": 20229, + "start": 20425, + "end": 20451, "loc": { "start": { - "line": 585, + "line": 590, "column": 8 }, "end": { - "line": 585, + "line": 590, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 20203, - "end": 20228, + "start": 20425, + "end": 20450, "loc": { "start": { - "line": 585, + "line": 590, "column": 8 }, "end": { - "line": 585, + "line": 590, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 20203, - "end": 20220, + "start": 20425, + "end": 20442, "loc": { "start": { - "line": 585, + "line": 590, "column": 8 }, "end": { - "line": 585, + "line": 590, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 20203, - "end": 20207, + "start": 20425, + "end": 20429, "loc": { "start": { - "line": 585, + "line": 590, "column": 8 }, "end": { - "line": 585, + "line": 590, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20208, - "end": 20220, + "start": 20430, + "end": 20442, "loc": { "start": { - "line": 585, + "line": 590, "column": 13 }, "end": { - "line": 585, + "line": 590, "column": 25 }, "identifierName": "waveFinished" @@ -35014,15 +35270,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 20223, - "end": 20228, + "start": 20445, + "end": 20450, "loc": { "start": { - "line": 585, + "line": 590, "column": 28 }, "end": { - "line": 585, + "line": 590, "column": 33 } }, @@ -35032,73 +35288,73 @@ }, { "type": "ExpressionStatement", - "start": 20238, - "end": 20260, + "start": 20460, + "end": 20482, "loc": { "start": { - "line": 586, + "line": 591, "column": 8 }, "end": { - "line": 586, + "line": 591, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 20238, - "end": 20259, + "start": 20460, + "end": 20481, "loc": { "start": { - "line": 586, + "line": 591, "column": 8 }, "end": { - "line": 586, + "line": 591, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 20238, - "end": 20251, + "start": 20460, + "end": 20473, "loc": { "start": { - "line": 586, + "line": 591, "column": 8 }, "end": { - "line": 586, + "line": 591, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 20238, - "end": 20242, + "start": 20460, + "end": 20464, "loc": { "start": { - "line": 586, + "line": 591, "column": 8 }, "end": { - "line": 586, + "line": 591, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20243, - "end": 20251, + "start": 20465, + "end": 20473, "loc": { "start": { - "line": 586, + "line": 591, "column": 13 }, "end": { - "line": 586, + "line": 591, "column": 21 }, "identifierName": "liveMode" @@ -35109,15 +35365,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 20254, - "end": 20259, + "start": 20476, + "end": 20481, "loc": { "start": { - "line": 586, + "line": 591, "column": 24 }, "end": { - "line": 586, + "line": 591, "column": 29 } }, @@ -35127,72 +35383,72 @@ }, { "type": "ExpressionStatement", - "start": 20270, - "end": 20300, + "start": 20492, + "end": 20522, "loc": { "start": { - "line": 588, + "line": 593, "column": 8 }, "end": { - "line": 588, + "line": 593, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 20270, - "end": 20299, + "start": 20492, + "end": 20521, "loc": { "start": { - "line": 588, + "line": 593, "column": 8 }, "end": { - "line": 588, + "line": 593, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 20270, - "end": 20278, + "start": 20492, + "end": 20500, "loc": { "start": { - "line": 588, + "line": 593, "column": 8 }, "end": { - "line": 588, + "line": 593, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 20270, - "end": 20274, + "start": 20492, + "end": 20496, "loc": { "start": { - "line": 588, + "line": 593, "column": 8 }, "end": { - "line": 588, + "line": 593, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20275, - "end": 20278, + "start": 20497, + "end": 20500, "loc": { "start": { - "line": 588, + "line": 593, "column": 13 }, "end": { - "line": 588, + "line": 593, "column": 16 }, "identifierName": "log" @@ -35204,15 +35460,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 20279, - "end": 20298, + "start": 20501, + "end": 20520, "loc": { "start": { - "line": 588, + "line": 593, "column": 17 }, "end": { - "line": 588, + "line": 593, "column": 36 } }, @@ -35227,86 +35483,86 @@ }, { "type": "ExpressionStatement", - "start": 20309, - "end": 20347, + "start": 20531, + "end": 20569, "loc": { "start": { - "line": 589, + "line": 594, "column": 8 }, "end": { - "line": 589, + "line": 594, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 20309, - "end": 20346, + "start": 20531, + "end": 20568, "loc": { "start": { - "line": 589, + "line": 594, "column": 8 }, "end": { - "line": 589, + "line": 594, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 20309, - "end": 20328, + "start": 20531, + "end": 20550, "loc": { "start": { - "line": 589, + "line": 594, "column": 8 }, "end": { - "line": 589, + "line": 594, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 20309, - "end": 20320, + "start": 20531, + "end": 20542, "loc": { "start": { - "line": 589, + "line": 594, "column": 8 }, "end": { - "line": 589, + "line": 594, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 20309, - "end": 20313, + "start": 20531, + "end": 20535, "loc": { "start": { - "line": 589, + "line": 594, "column": 8 }, "end": { - "line": 589, + "line": 594, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20314, - "end": 20320, + "start": 20536, + "end": 20542, "loc": { "start": { - "line": 589, + "line": 594, "column": 13 }, "end": { - "line": 589, + "line": 594, "column": 19 }, "identifierName": "player" @@ -35317,15 +35573,15 @@ }, "property": { "type": "Identifier", - "start": 20321, - "end": 20328, + "start": 20543, + "end": 20550, "loc": { "start": { - "line": 589, + "line": 594, "column": 20 }, "end": { - "line": 589, + "line": 594, "column": 27 }, "identifierName": "trigger" @@ -35337,29 +35593,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 20329, - "end": 20345, + "start": 20551, + "end": 20567, "loc": { "start": { - "line": 589, + "line": 594, "column": 28 }, "end": { - "line": 589, + "line": 594, "column": 44 } }, "object": { "type": "Identifier", - "start": 20329, - "end": 20334, + "start": 20551, + "end": 20556, "loc": { "start": { - "line": 589, + "line": 594, "column": 28 }, "end": { - "line": 589, + "line": 594, "column": 33 }, "identifierName": "Event" @@ -35368,15 +35624,15 @@ }, "property": { "type": "Identifier", - "start": 20335, - "end": 20345, + "start": 20557, + "end": 20567, "loc": { "start": { - "line": 589, + "line": 594, "column": 34 }, "end": { - "line": 589, + "line": 594, "column": 44 }, "identifierName": "WAVE_READY" @@ -35390,72 +35646,72 @@ }, { "type": "IfStatement", - "start": 20357, - "end": 20749, + "start": 20579, + "end": 20971, "loc": { "start": { - "line": 591, + "line": 596, "column": 8 }, "end": { - "line": 601, + "line": 606, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 20361, - "end": 20386, + "start": 20583, + "end": 20608, "loc": { "start": { - "line": 591, + "line": 596, "column": 12 }, "end": { - "line": 591, + "line": 596, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 20361, - "end": 20373, + "start": 20583, + "end": 20595, "loc": { "start": { - "line": 591, + "line": 596, "column": 12 }, "end": { - "line": 591, + "line": 596, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 20361, - "end": 20365, + "start": 20583, + "end": 20587, "loc": { "start": { - "line": 591, + "line": 596, "column": 12 }, "end": { - "line": 591, + "line": 596, "column": 16 } } }, "property": { "type": "Identifier", - "start": 20366, - "end": 20373, + "start": 20588, + "end": 20595, "loc": { "start": { - "line": 591, + "line": 596, "column": 17 }, "end": { - "line": 591, + "line": 596, "column": 24 }, "identifierName": "backend" @@ -35467,15 +35723,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 20378, - "end": 20386, + "start": 20600, + "end": 20608, "loc": { "start": { - "line": 591, + "line": 596, "column": 29 }, "end": { - "line": 591, + "line": 596, "column": 37 }, "identifierName": "WEBAUDIO" @@ -35485,72 +35741,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 20388, - "end": 20749, + "start": 20610, + "end": 20971, "loc": { "start": { - "line": 591, + "line": 596, "column": 39 }, "end": { - "line": 601, + "line": 606, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 20437, - "end": 20459, + "start": 20659, + "end": 20681, "loc": { "start": { - "line": 593, + "line": 598, "column": 12 }, "end": { - "line": 593, + "line": 598, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 20437, - "end": 20458, + "start": 20659, + "end": 20680, "loc": { "start": { - "line": 593, + "line": 598, "column": 12 }, "end": { - "line": 593, + "line": 598, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 20437, - "end": 20456, + "start": 20659, + "end": 20678, "loc": { "start": { - "line": 593, + "line": 598, "column": 12 }, "end": { - "line": 593, + "line": 598, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 20437, - "end": 20441, + "start": 20659, + "end": 20663, "loc": { "start": { - "line": 593, + "line": 598, "column": 12 }, "end": { - "line": 593, + "line": 598, "column": 16 } }, @@ -35558,15 +35814,15 @@ }, "property": { "type": "Identifier", - "start": 20442, - "end": 20456, + "start": 20664, + "end": 20678, "loc": { "start": { - "line": 593, + "line": 598, "column": 17 }, "end": { - "line": 593, + "line": 598, "column": 31 }, "identifierName": "setCurrentTime" @@ -35583,15 +35839,15 @@ { "type": "CommentLine", "value": " update time display", - "start": 20402, - "end": 20424, + "start": 20624, + "end": 20646, "loc": { "start": { - "line": 592, + "line": 597, "column": 12 }, "end": { - "line": 592, + "line": 597, "column": 34 } } @@ -35600,72 +35856,72 @@ }, { "type": "ExpressionStatement", - "start": 20472, - "end": 20491, + "start": 20694, + "end": 20713, "loc": { "start": { - "line": 594, + "line": 599, "column": 12 }, "end": { - "line": 594, + "line": 599, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 20472, - "end": 20490, + "start": 20694, + "end": 20712, "loc": { "start": { - "line": 594, + "line": 599, "column": 12 }, "end": { - "line": 594, + "line": 599, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 20472, - "end": 20488, + "start": 20694, + "end": 20710, "loc": { "start": { - "line": 594, + "line": 599, "column": 12 }, "end": { - "line": 594, + "line": 599, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 20472, - "end": 20476, + "start": 20694, + "end": 20698, "loc": { "start": { - "line": 594, + "line": 599, "column": 12 }, "end": { - "line": 594, + "line": 599, "column": 16 } } }, "property": { "type": "Identifier", - "start": 20477, - "end": 20488, + "start": 20699, + "end": 20710, "loc": { "start": { - "line": 594, + "line": 599, "column": 17 }, "end": { - "line": 594, + "line": 599, "column": 28 }, "identifierName": "setDuration" @@ -35680,15 +35936,15 @@ { "type": "CommentLine", "value": " enable and show play button", - "start": 20505, - "end": 20535, + "start": 20727, + "end": 20757, "loc": { "start": { - "line": 596, + "line": 601, "column": 12 }, "end": { - "line": 596, + "line": 601, "column": 42 } } @@ -35697,99 +35953,99 @@ }, { "type": "IfStatement", - "start": 20548, - "end": 20739, + "start": 20770, + "end": 20961, "loc": { "start": { - "line": 597, + "line": 602, "column": 12 }, "end": { - "line": 600, + "line": 605, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 20552, - "end": 20664, + "start": 20774, + "end": 20886, "loc": { "start": { - "line": 597, + "line": 602, "column": 16 }, "end": { - "line": 598, + "line": 603, "column": 61 } }, "left": { "type": "BinaryExpression", - "start": 20552, - "end": 20599, + "start": 20774, + "end": 20821, "loc": { "start": { - "line": 597, + "line": 602, "column": 16 }, "end": { - "line": 597, + "line": 602, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 20552, - "end": 20585, + "start": 20774, + "end": 20807, "loc": { "start": { - "line": 597, + "line": 602, "column": 16 }, "end": { - "line": 597, + "line": 602, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20552, - "end": 20574, + "start": 20774, + "end": 20796, "loc": { "start": { - "line": 597, + "line": 602, "column": 16 }, "end": { - "line": 597, + "line": 602, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20552, - "end": 20563, + "start": 20774, + "end": 20785, "loc": { "start": { - "line": 597, + "line": 602, "column": 16 }, "end": { - "line": 597, + "line": 602, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20552, - "end": 20556, + "start": 20774, + "end": 20778, "loc": { "start": { - "line": 597, + "line": 602, "column": 16 }, "end": { - "line": 597, + "line": 602, "column": 20 } }, @@ -35797,15 +36053,15 @@ }, "property": { "type": "Identifier", - "start": 20557, - "end": 20563, + "start": 20779, + "end": 20785, "loc": { "start": { - "line": 597, + "line": 602, "column": 21 }, "end": { - "line": 597, + "line": 602, "column": 27 }, "identifierName": "player" @@ -35817,15 +36073,15 @@ }, "property": { "type": "Identifier", - "start": 20564, - "end": 20574, + "start": 20786, + "end": 20796, "loc": { "start": { - "line": 597, + "line": 602, "column": 28 }, "end": { - "line": 597, + "line": 602, "column": 38 }, "identifierName": "controlBar" @@ -35837,15 +36093,15 @@ }, "property": { "type": "Identifier", - "start": 20575, - "end": 20585, + "start": 20797, + "end": 20807, "loc": { "start": { - "line": 597, + "line": 602, "column": 39 }, "end": { - "line": 597, + "line": 602, "column": 49 }, "identifierName": "playToggle" @@ -35858,15 +36114,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 20590, - "end": 20599, + "start": 20812, + "end": 20821, "loc": { "start": { - "line": 597, + "line": 602, "column": 54 }, "end": { - "line": 597, + "line": 602, "column": 63 }, "identifierName": "undefined" @@ -35878,100 +36134,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 20619, - "end": 20664, + "start": 20841, + "end": 20886, "loc": { "start": { - "line": 598, + "line": 603, "column": 16 }, "end": { - "line": 598, + "line": 603, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 20619, - "end": 20662, + "start": 20841, + "end": 20884, "loc": { "start": { - "line": 598, + "line": 603, "column": 16 }, "end": { - "line": 598, + "line": 603, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 20619, - "end": 20652, + "start": 20841, + "end": 20874, "loc": { "start": { - "line": 598, + "line": 603, "column": 16 }, "end": { - "line": 598, + "line": 603, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20619, - "end": 20641, + "start": 20841, + "end": 20863, "loc": { "start": { - "line": 598, + "line": 603, "column": 16 }, "end": { - "line": 598, + "line": 603, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20619, - "end": 20630, + "start": 20841, + "end": 20852, "loc": { "start": { - "line": 598, + "line": 603, "column": 16 }, "end": { - "line": 598, + "line": 603, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20619, - "end": 20623, + "start": 20841, + "end": 20845, "loc": { "start": { - "line": 598, + "line": 603, "column": 16 }, "end": { - "line": 598, + "line": 603, "column": 20 } } }, "property": { "type": "Identifier", - "start": 20624, - "end": 20630, + "start": 20846, + "end": 20852, "loc": { "start": { - "line": 598, + "line": 603, "column": 21 }, "end": { - "line": 598, + "line": 603, "column": 27 }, "identifierName": "player" @@ -35982,15 +36238,15 @@ }, "property": { "type": "Identifier", - "start": 20631, - "end": 20641, + "start": 20853, + "end": 20863, "loc": { "start": { - "line": 598, + "line": 603, "column": 28 }, "end": { - "line": 598, + "line": 603, "column": 38 }, "identifierName": "controlBar" @@ -36001,15 +36257,15 @@ }, "property": { "type": "Identifier", - "start": 20642, - "end": 20652, + "start": 20864, + "end": 20874, "loc": { "start": { - "line": 598, + "line": 603, "column": 39 }, "end": { - "line": 598, + "line": 603, "column": 49 }, "identifierName": "playToggle" @@ -36020,15 +36276,15 @@ }, "property": { "type": "Identifier", - "start": 20653, - "end": 20662, + "start": 20875, + "end": 20884, "loc": { "start": { - "line": 598, + "line": 603, "column": 50 }, "end": { - "line": 598, + "line": 603, "column": 59 }, "identifierName": "contentEl" @@ -36043,129 +36299,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 20666, - "end": 20739, + "start": 20888, + "end": 20961, "loc": { "start": { - "line": 598, + "line": 603, "column": 63 }, "end": { - "line": 600, + "line": 605, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 20684, - "end": 20725, + "start": 20906, + "end": 20947, "loc": { "start": { - "line": 599, + "line": 604, "column": 16 }, "end": { - "line": 599, + "line": 604, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 20684, - "end": 20724, + "start": 20906, + "end": 20946, "loc": { "start": { - "line": 599, + "line": 604, "column": 16 }, "end": { - "line": 599, + "line": 604, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 20684, - "end": 20722, + "start": 20906, + "end": 20944, "loc": { "start": { - "line": 599, + "line": 604, "column": 16 }, "end": { - "line": 599, + "line": 604, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 20684, - "end": 20717, + "start": 20906, + "end": 20939, "loc": { "start": { - "line": 599, + "line": 604, "column": 16 }, "end": { - "line": 599, + "line": 604, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20684, - "end": 20706, + "start": 20906, + "end": 20928, "loc": { "start": { - "line": 599, + "line": 604, "column": 16 }, "end": { - "line": 599, + "line": 604, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20684, - "end": 20695, + "start": 20906, + "end": 20917, "loc": { "start": { - "line": 599, + "line": 604, "column": 16 }, "end": { - "line": 599, + "line": 604, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20684, - "end": 20688, + "start": 20906, + "end": 20910, "loc": { "start": { - "line": 599, + "line": 604, "column": 16 }, "end": { - "line": 599, + "line": 604, "column": 20 } } }, "property": { "type": "Identifier", - "start": 20689, - "end": 20695, + "start": 20911, + "end": 20917, "loc": { "start": { - "line": 599, + "line": 604, "column": 21 }, "end": { - "line": 599, + "line": 604, "column": 27 }, "identifierName": "player" @@ -36176,15 +36432,15 @@ }, "property": { "type": "Identifier", - "start": 20696, - "end": 20706, + "start": 20918, + "end": 20928, "loc": { "start": { - "line": 599, + "line": 604, "column": 28 }, "end": { - "line": 599, + "line": 604, "column": 38 }, "identifierName": "controlBar" @@ -36195,15 +36451,15 @@ }, "property": { "type": "Identifier", - "start": 20707, - "end": 20717, + "start": 20929, + "end": 20939, "loc": { "start": { - "line": 599, + "line": 604, "column": 39 }, "end": { - "line": 599, + "line": 604, "column": 49 }, "identifierName": "playToggle" @@ -36214,15 +36470,15 @@ }, "property": { "type": "Identifier", - "start": 20718, - "end": 20722, + "start": 20940, + "end": 20944, "loc": { "start": { - "line": 599, + "line": 604, "column": 50 }, "end": { - "line": 599, + "line": 604, "column": 54 }, "identifierName": "show" @@ -36242,15 +36498,15 @@ { "type": "CommentLine", "value": " enable and show play button", - "start": 20505, - "end": 20535, + "start": 20727, + "end": 20757, "loc": { "start": { - "line": 596, + "line": 601, "column": 12 }, "end": { - "line": 596, + "line": 601, "column": 42 } } @@ -36266,15 +36522,15 @@ { "type": "CommentLine", "value": " hide loading spinner", - "start": 20759, - "end": 20782, + "start": 20981, + "end": 21004, "loc": { "start": { - "line": 603, + "line": 608, "column": 8 }, "end": { - "line": 603, + "line": 608, "column": 31 } } @@ -36283,85 +36539,85 @@ }, { "type": "IfStatement", - "start": 20791, - "end": 20893, + "start": 21013, + "end": 21115, "loc": { "start": { - "line": 604, + "line": 609, "column": 8 }, "end": { - "line": 606, + "line": 611, "column": 9 } }, "test": { "type": "CallExpression", - "start": 20795, - "end": 20833, + "start": 21017, + "end": 21055, "loc": { "start": { - "line": 604, + "line": 609, "column": 12 }, "end": { - "line": 604, + "line": 609, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 20795, - "end": 20831, + "start": 21017, + "end": 21053, "loc": { "start": { - "line": 604, + "line": 609, "column": 12 }, "end": { - "line": 604, + "line": 609, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 20795, - "end": 20821, + "start": 21017, + "end": 21043, "loc": { "start": { - "line": 604, + "line": 609, "column": 12 }, "end": { - "line": 604, + "line": 609, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20795, - "end": 20806, + "start": 21017, + "end": 21028, "loc": { "start": { - "line": 604, + "line": 609, "column": 12 }, "end": { - "line": 604, + "line": 609, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 20795, - "end": 20799, + "start": 21017, + "end": 21021, "loc": { "start": { - "line": 604, + "line": 609, "column": 12 }, "end": { - "line": 604, + "line": 609, "column": 16 } }, @@ -36369,15 +36625,15 @@ }, "property": { "type": "Identifier", - "start": 20800, - "end": 20806, + "start": 21022, + "end": 21028, "loc": { "start": { - "line": 604, + "line": 609, "column": 17 }, "end": { - "line": 604, + "line": 609, "column": 23 }, "identifierName": "player" @@ -36389,15 +36645,15 @@ }, "property": { "type": "Identifier", - "start": 20807, - "end": 20821, + "start": 21029, + "end": 21043, "loc": { "start": { - "line": 604, + "line": 609, "column": 24 }, "end": { - "line": 604, + "line": 609, "column": 38 }, "identifierName": "loadingSpinner" @@ -36409,15 +36665,15 @@ }, "property": { "type": "Identifier", - "start": 20822, - "end": 20831, + "start": 21044, + "end": 21053, "loc": { "start": { - "line": 604, + "line": 609, "column": 39 }, "end": { - "line": 604, + "line": 609, "column": 48 }, "identifierName": "contentEl" @@ -36432,115 +36688,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 20835, - "end": 20893, + "start": 21057, + "end": 21115, "loc": { "start": { - "line": 604, + "line": 609, "column": 52 }, "end": { - "line": 606, + "line": 611, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 20849, - "end": 20883, + "start": 21071, + "end": 21105, "loc": { "start": { - "line": 605, + "line": 610, "column": 12 }, "end": { - "line": 605, + "line": 610, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 20849, - "end": 20882, + "start": 21071, + "end": 21104, "loc": { "start": { - "line": 605, + "line": 610, "column": 12 }, "end": { - "line": 605, + "line": 610, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 20849, - "end": 20880, + "start": 21071, + "end": 21102, "loc": { "start": { - "line": 605, + "line": 610, "column": 12 }, "end": { - "line": 605, + "line": 610, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 20849, - "end": 20875, + "start": 21071, + "end": 21097, "loc": { "start": { - "line": 605, + "line": 610, "column": 12 }, "end": { - "line": 605, + "line": 610, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20849, - "end": 20860, + "start": 21071, + "end": 21082, "loc": { "start": { - "line": 605, + "line": 610, "column": 12 }, "end": { - "line": 605, + "line": 610, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 20849, - "end": 20853, + "start": 21071, + "end": 21075, "loc": { "start": { - "line": 605, + "line": 610, "column": 12 }, "end": { - "line": 605, + "line": 610, "column": 16 } } }, "property": { "type": "Identifier", - "start": 20854, - "end": 20860, + "start": 21076, + "end": 21082, "loc": { "start": { - "line": 605, + "line": 610, "column": 17 }, "end": { - "line": 605, + "line": 610, "column": 23 }, "identifierName": "player" @@ -36551,15 +36807,15 @@ }, "property": { "type": "Identifier", - "start": 20861, - "end": 20875, + "start": 21083, + "end": 21097, "loc": { "start": { - "line": 605, + "line": 610, "column": 24 }, "end": { - "line": 605, + "line": 610, "column": 38 }, "identifierName": "loadingSpinner" @@ -36570,15 +36826,15 @@ }, "property": { "type": "Identifier", - "start": 20876, - "end": 20880, + "start": 21098, + "end": 21102, "loc": { "start": { - "line": 605, + "line": 610, "column": 39 }, "end": { - "line": 605, + "line": 610, "column": 43 }, "identifierName": "hide" @@ -36599,15 +36855,15 @@ { "type": "CommentLine", "value": " hide loading spinner", - "start": 20759, - "end": 20782, + "start": 20981, + "end": 21004, "loc": { "start": { - "line": 603, + "line": 608, "column": 8 }, "end": { - "line": 603, + "line": 608, "column": 31 } } @@ -36617,15 +36873,15 @@ { "type": "CommentLine", "value": " auto-play when ready (if enabled)", - "start": 20903, - "end": 20939, + "start": 21125, + "end": 21161, "loc": { "start": { - "line": 608, + "line": 613, "column": 8 }, "end": { - "line": 608, + "line": 613, "column": 44 } } @@ -36634,85 +36890,85 @@ }, { "type": "IfStatement", - "start": 20948, - "end": 21342, + "start": 21170, + "end": 21564, "loc": { "start": { - "line": 609, + "line": 614, "column": 8 }, "end": { - "line": 621, + "line": 626, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 20952, - "end": 20990, + "start": 21174, + "end": 21212, "loc": { "start": { - "line": 609, + "line": 614, "column": 12 }, "end": { - "line": 609, + "line": 614, "column": 50 } }, "left": { "type": "MemberExpression", - "start": 20952, - "end": 20981, + "start": 21174, + "end": 21203, "loc": { "start": { - "line": 609, + "line": 614, "column": 12 }, "end": { - "line": 609, + "line": 614, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 20952, - "end": 20972, + "start": 21174, + "end": 21194, "loc": { "start": { - "line": 609, + "line": 614, "column": 12 }, "end": { - "line": 609, + "line": 614, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 20952, - "end": 20963, + "start": 21174, + "end": 21185, "loc": { "start": { - "line": 609, + "line": 614, "column": 12 }, "end": { - "line": 609, + "line": 614, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 20952, - "end": 20956, + "start": 21174, + "end": 21178, "loc": { "start": { - "line": 609, + "line": 614, "column": 12 }, "end": { - "line": 609, + "line": 614, "column": 16 } }, @@ -36720,15 +36976,15 @@ }, "property": { "type": "Identifier", - "start": 20957, - "end": 20963, + "start": 21179, + "end": 21185, "loc": { "start": { - "line": 609, + "line": 614, "column": 17 }, "end": { - "line": 609, + "line": 614, "column": 23 }, "identifierName": "player" @@ -36740,15 +36996,15 @@ }, "property": { "type": "Identifier", - "start": 20964, - "end": 20972, + "start": 21186, + "end": 21194, "loc": { "start": { - "line": 609, + "line": 614, "column": 24 }, "end": { - "line": 609, + "line": 614, "column": 32 }, "identifierName": "options_" @@ -36760,15 +37016,15 @@ }, "property": { "type": "Identifier", - "start": 20973, - "end": 20981, + "start": 21195, + "end": 21203, "loc": { "start": { - "line": 609, + "line": 614, "column": 33 }, "end": { - "line": 609, + "line": 614, "column": 41 }, "identifierName": "autoplay" @@ -36781,15 +37037,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 20986, - "end": 20990, + "start": 21208, + "end": 21212, "loc": { "start": { - "line": 609, + "line": 614, "column": 46 }, "end": { - "line": 609, + "line": 614, "column": 50 } }, @@ -36799,72 +37055,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 20992, - "end": 21342, + "start": 21214, + "end": 21564, "loc": { "start": { - "line": 609, + "line": 614, "column": 52 }, "end": { - "line": 621, + "line": 626, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 21066, - "end": 21084, + "start": 21288, + "end": 21306, "loc": { "start": { - "line": 611, + "line": 616, "column": 12 }, "end": { - "line": 611, + "line": 616, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 21066, - "end": 21083, + "start": 21288, + "end": 21305, "loc": { "start": { - "line": 611, + "line": 616, "column": 12 }, "end": { - "line": 611, + "line": 616, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 21066, - "end": 21080, + "start": 21288, + "end": 21302, "loc": { "start": { - "line": 611, + "line": 616, "column": 12 }, "end": { - "line": 611, + "line": 616, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 21066, - "end": 21070, + "start": 21288, + "end": 21292, "loc": { "start": { - "line": 611, + "line": 616, "column": 12 }, "end": { - "line": 611, + "line": 616, "column": 16 } }, @@ -36872,15 +37128,15 @@ }, "property": { "type": "Identifier", - "start": 21071, - "end": 21080, + "start": 21293, + "end": 21302, "loc": { "start": { - "line": 611, + "line": 616, "column": 17 }, "end": { - "line": 611, + "line": 616, "column": 26 }, "identifierName": "setVolume" @@ -36893,15 +37149,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 21081, - "end": 21082, + "start": 21303, + "end": 21304, "loc": { "start": { - "line": 611, + "line": 616, "column": 27 }, "end": { - "line": 611, + "line": 616, "column": 28 } }, @@ -36918,15 +37174,15 @@ { "type": "CommentLine", "value": " autoplay is only allowed when audio is muted", - "start": 21006, - "end": 21053, + "start": 21228, + "end": 21275, "loc": { "start": { - "line": 610, + "line": 615, "column": 12 }, "end": { - "line": 610, + "line": 615, "column": 59 } } @@ -36936,15 +37192,15 @@ { "type": "CommentLine", "value": " try auto-play", - "start": 21098, - "end": 21114, + "start": 21320, + "end": 21336, "loc": { "start": { - "line": 613, + "line": 618, "column": 12 }, "end": { - "line": 613, + "line": 618, "column": 28 } } @@ -36953,57 +37209,57 @@ }, { "type": "IfStatement", - "start": 21127, - "end": 21332, + "start": 21349, + "end": 21554, "loc": { "start": { - "line": 614, + "line": 619, "column": 12 }, "end": { - "line": 620, + "line": 625, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 21131, - "end": 21156, + "start": 21353, + "end": 21378, "loc": { "start": { - "line": 614, + "line": 619, "column": 16 }, "end": { - "line": 614, + "line": 619, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 21131, - "end": 21143, + "start": 21353, + "end": 21365, "loc": { "start": { - "line": 614, + "line": 619, "column": 16 }, "end": { - "line": 614, + "line": 619, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 21131, - "end": 21135, + "start": 21353, + "end": 21357, "loc": { "start": { - "line": 614, + "line": 619, "column": 16 }, "end": { - "line": 614, + "line": 619, "column": 20 } }, @@ -37011,15 +37267,15 @@ }, "property": { "type": "Identifier", - "start": 21136, - "end": 21143, + "start": 21358, + "end": 21365, "loc": { "start": { - "line": 614, + "line": 619, "column": 21 }, "end": { - "line": 614, + "line": 619, "column": 28 }, "identifierName": "backend" @@ -37032,15 +37288,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 21148, - "end": 21156, + "start": 21370, + "end": 21378, "loc": { "start": { - "line": 614, + "line": 619, "column": 33 }, "end": { - "line": 614, + "line": 619, "column": 41 }, "identifierName": "WEBAUDIO" @@ -37051,87 +37307,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 21158, - "end": 21202, + "start": 21380, + "end": 21424, "loc": { "start": { - "line": 614, + "line": 619, "column": 43 }, "end": { - "line": 616, + "line": 621, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 21176, - "end": 21188, + "start": 21398, + "end": 21410, "loc": { "start": { - "line": 615, + "line": 620, "column": 16 }, "end": { - "line": 615, + "line": 620, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 21176, - "end": 21187, + "start": 21398, + "end": 21409, "loc": { "start": { - "line": 615, + "line": 620, "column": 16 }, "end": { - "line": 615, + "line": 620, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 21176, - "end": 21185, + "start": 21398, + "end": 21407, "loc": { "start": { - "line": 615, + "line": 620, "column": 16 }, "end": { - "line": 615, + "line": 620, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 21176, - "end": 21180, + "start": 21398, + "end": 21402, "loc": { "start": { - "line": 615, + "line": 620, "column": 16 }, "end": { - "line": 615, + "line": 620, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21181, - "end": 21185, + "start": 21403, + "end": 21407, "loc": { "start": { - "line": 615, + "line": 620, "column": 21 }, "end": { - "line": 615, + "line": 620, "column": 25 }, "identifierName": "play" @@ -37148,129 +37404,129 @@ }, "alternate": { "type": "BlockStatement", - "start": 21208, - "end": 21332, + "start": 21430, + "end": 21554, "loc": { "start": { - "line": 616, + "line": 621, "column": 19 }, "end": { - "line": 620, + "line": 625, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 21226, - "end": 21318, + "start": 21448, + "end": 21540, "loc": { "start": { - "line": 617, + "line": 622, "column": 16 }, "end": { - "line": 619, + "line": 624, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 21226, - "end": 21317, + "start": 21448, + "end": 21539, "loc": { "start": { - "line": 617, + "line": 622, "column": 16 }, "end": { - "line": 619, + "line": 624, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 21226, - "end": 21250, + "start": 21448, + "end": 21472, "loc": { "start": { - "line": 617, + "line": 622, "column": 16 }, "end": { - "line": 617, + "line": 622, "column": 40 } }, "object": { "type": "CallExpression", - "start": 21226, - "end": 21244, + "start": 21448, + "end": 21466, "loc": { "start": { - "line": 617, + "line": 622, "column": 16 }, "end": { - "line": 617, + "line": 622, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 21226, - "end": 21242, + "start": 21448, + "end": 21464, "loc": { "start": { - "line": 617, + "line": 622, "column": 16 }, "end": { - "line": 617, + "line": 622, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 21226, - "end": 21237, + "start": 21448, + "end": 21459, "loc": { "start": { - "line": 617, + "line": 622, "column": 16 }, "end": { - "line": 617, + "line": 622, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 21226, - "end": 21230, + "start": 21448, + "end": 21452, "loc": { "start": { - "line": 617, + "line": 622, "column": 16 }, "end": { - "line": 617, + "line": 622, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21231, - "end": 21237, + "start": 21453, + "end": 21459, "loc": { "start": { - "line": 617, + "line": 622, "column": 21 }, "end": { - "line": 617, + "line": 622, "column": 27 }, "identifierName": "player" @@ -37281,15 +37537,15 @@ }, "property": { "type": "Identifier", - "start": 21238, - "end": 21242, + "start": 21460, + "end": 21464, "loc": { "start": { - "line": 617, + "line": 622, "column": 28 }, "end": { - "line": 617, + "line": 622, "column": 32 }, "identifierName": "play" @@ -37302,15 +37558,15 @@ }, "property": { "type": "Identifier", - "start": 21245, - "end": 21250, + "start": 21467, + "end": 21472, "loc": { "start": { - "line": 617, + "line": 622, "column": 35 }, "end": { - "line": 617, + "line": 622, "column": 40 }, "identifierName": "catch" @@ -37322,15 +37578,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 21251, - "end": 21316, + "start": 21473, + "end": 21538, "loc": { "start": { - "line": 617, + "line": 622, "column": 41 }, "end": { - "line": 619, + "line": 624, "column": 17 } }, @@ -37341,15 +37597,15 @@ "params": [ { "type": "Identifier", - "start": 21251, - "end": 21252, + "start": 21473, + "end": 21474, "loc": { "start": { - "line": 617, + "line": 622, "column": 41 }, "end": { - "line": 617, + "line": 622, "column": 42 }, "identifierName": "e" @@ -37359,87 +37615,87 @@ ], "body": { "type": "BlockStatement", - "start": 21256, - "end": 21316, + "start": 21478, + "end": 21538, "loc": { "start": { - "line": 617, + "line": 622, "column": 46 }, "end": { - "line": 619, + "line": 624, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 21278, - "end": 21298, + "start": 21500, + "end": 21520, "loc": { "start": { - "line": 618, + "line": 623, "column": 20 }, "end": { - "line": 618, + "line": 623, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 21278, - "end": 21297, + "start": 21500, + "end": 21519, "loc": { "start": { - "line": 618, + "line": 623, "column": 20 }, "end": { - "line": 618, + "line": 623, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 21278, - "end": 21294, + "start": 21500, + "end": 21516, "loc": { "start": { - "line": 618, + "line": 623, "column": 20 }, "end": { - "line": 618, + "line": 623, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 21278, - "end": 21282, + "start": 21500, + "end": 21504, "loc": { "start": { - "line": 618, + "line": 623, "column": 20 }, "end": { - "line": 618, + "line": 623, "column": 24 } } }, "property": { "type": "Identifier", - "start": 21283, - "end": 21294, + "start": 21505, + "end": 21516, "loc": { "start": { - "line": 618, + "line": 623, "column": 25 }, "end": { - "line": 618, + "line": 623, "column": 36 }, "identifierName": "onWaveError" @@ -37451,15 +37707,15 @@ "arguments": [ { "type": "Identifier", - "start": 21295, - "end": 21296, + "start": 21517, + "end": 21518, "loc": { "start": { - "line": 618, + "line": 623, "column": 37 }, "end": { - "line": 618, + "line": 623, "column": 38 }, "identifierName": "e" @@ -37483,15 +37739,15 @@ { "type": "CommentLine", "value": " try auto-play", - "start": 21098, - "end": 21114, + "start": 21320, + "end": 21336, "loc": { "start": { - "line": 613, + "line": 618, "column": 12 }, "end": { - "line": 613, + "line": 618, "column": 28 } } @@ -37506,15 +37762,15 @@ { "type": "CommentLine", "value": " auto-play when ready (if enabled)", - "start": 20903, - "end": 20939, + "start": 21125, + "end": 21161, "loc": { "start": { - "line": 608, + "line": 613, "column": 8 }, "end": { - "line": 608, + "line": 613, "column": 44 } } @@ -37529,15 +37785,15 @@ { "type": "CommentBlock", "value": "*\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n ", - "start": 20026, - "end": 20143, + "start": 20248, + "end": 20365, "loc": { "start": { - "line": 577, + "line": 582, "column": 4 }, "end": { - "line": 582, + "line": 587, "column": 7 } } @@ -37547,15 +37803,15 @@ { "type": "CommentBlock", "value": "*\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n ", - "start": 21354, - "end": 21461, + "start": 21576, + "end": 21683, "loc": { "start": { - "line": 624, + "line": 629, "column": 4 }, "end": { - "line": 629, + "line": 634, "column": 7 } } @@ -37564,15 +37820,15 @@ }, { "type": "ClassMethod", - "start": 21466, - "end": 22665, + "start": 21688, + "end": 22887, "loc": { "start": { - "line": 630, + "line": 635, "column": 4 }, "end": { - "line": 665, + "line": 670, "column": 5 } }, @@ -37580,15 +37836,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 21466, - "end": 21478, + "start": 21688, + "end": 21700, "loc": { "start": { - "line": 630, + "line": 635, "column": 4 }, "end": { - "line": 630, + "line": 635, "column": 16 }, "identifierName": "onWaveFinish" @@ -37604,87 +37860,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 21481, - "end": 22665, + "start": 21703, + "end": 22887, "loc": { "start": { - "line": 630, + "line": 635, "column": 19 }, "end": { - "line": 665, + "line": 670, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 21491, - "end": 21521, + "start": 21713, + "end": 21743, "loc": { "start": { - "line": 631, + "line": 636, "column": 8 }, "end": { - "line": 631, + "line": 636, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 21491, - "end": 21520, + "start": 21713, + "end": 21742, "loc": { "start": { - "line": 631, + "line": 636, "column": 8 }, "end": { - "line": 631, + "line": 636, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 21491, - "end": 21499, + "start": 21713, + "end": 21721, "loc": { "start": { - "line": 631, + "line": 636, "column": 8 }, "end": { - "line": 631, + "line": 636, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 21491, - "end": 21495, + "start": 21713, + "end": 21717, "loc": { "start": { - "line": 631, + "line": 636, "column": 8 }, "end": { - "line": 631, + "line": 636, "column": 12 } } }, "property": { "type": "Identifier", - "start": 21496, - "end": 21499, + "start": 21718, + "end": 21721, "loc": { "start": { - "line": 631, + "line": 636, "column": 13 }, "end": { - "line": 631, + "line": 636, "column": 16 }, "identifierName": "log" @@ -37696,15 +37952,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 21500, - "end": 21519, + "start": 21722, + "end": 21741, "loc": { "start": { - "line": 631, + "line": 636, "column": 17 }, "end": { - "line": 631, + "line": 636, "column": 36 } }, @@ -37720,15 +37976,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 21531, - "end": 21550, + "start": 21753, + "end": 21772, "loc": { "start": { - "line": 633, + "line": 638, "column": 8 }, "end": { - "line": 633, + "line": 638, "column": 27 } } @@ -37737,71 +37993,71 @@ }, { "type": "ExpressionStatement", - "start": 21559, - "end": 21602, + "start": 21781, + "end": 21824, "loc": { "start": { - "line": 634, + "line": 639, "column": 8 }, "end": { - "line": 634, + "line": 639, "column": 51 } }, "expression": { "type": "CallExpression", - "start": 21559, - "end": 21601, + "start": 21781, + "end": 21823, "loc": { "start": { - "line": 634, + "line": 639, "column": 8 }, "end": { - "line": 634, + "line": 639, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 21559, - "end": 21578, + "start": 21781, + "end": 21800, "loc": { "start": { - "line": 634, + "line": 639, "column": 8 }, "end": { - "line": 634, + "line": 639, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 21559, - "end": 21570, + "start": 21781, + "end": 21792, "loc": { "start": { - "line": 634, + "line": 639, "column": 8 }, "end": { - "line": 634, + "line": 639, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 21559, - "end": 21563, + "start": 21781, + "end": 21785, "loc": { "start": { - "line": 634, + "line": 639, "column": 8 }, "end": { - "line": 634, + "line": 639, "column": 12 } }, @@ -37809,15 +38065,15 @@ }, "property": { "type": "Identifier", - "start": 21564, - "end": 21570, + "start": 21786, + "end": 21792, "loc": { "start": { - "line": 634, + "line": 639, "column": 13 }, "end": { - "line": 634, + "line": 639, "column": 19 }, "identifierName": "player" @@ -37829,15 +38085,15 @@ }, "property": { "type": "Identifier", - "start": 21571, - "end": 21578, + "start": 21793, + "end": 21800, "loc": { "start": { - "line": 634, + "line": 639, "column": 20 }, "end": { - "line": 634, + "line": 639, "column": 27 }, "identifierName": "trigger" @@ -37850,29 +38106,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 21579, - "end": 21600, + "start": 21801, + "end": 21822, "loc": { "start": { - "line": 634, + "line": 639, "column": 28 }, "end": { - "line": 634, + "line": 639, "column": 49 } }, "object": { "type": "Identifier", - "start": 21579, - "end": 21584, + "start": 21801, + "end": 21806, "loc": { "start": { - "line": 634, + "line": 639, "column": 28 }, "end": { - "line": 634, + "line": 639, "column": 33 }, "identifierName": "Event" @@ -37881,15 +38137,15 @@ }, "property": { "type": "Identifier", - "start": 21585, - "end": 21600, + "start": 21807, + "end": 21822, "loc": { "start": { - "line": 634, + "line": 639, "column": 34 }, "end": { - "line": 634, + "line": 639, "column": 49 }, "identifierName": "PLAYBACK_FINISH" @@ -37905,15 +38161,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 21531, - "end": 21550, + "start": 21753, + "end": 21772, "loc": { "start": { - "line": 633, + "line": 638, "column": 8 }, "end": { - "line": 633, + "line": 638, "column": 27 } } @@ -37923,15 +38179,15 @@ { "type": "CommentLine", "value": " check if loop is enabled", - "start": 21612, - "end": 21639, + "start": 21834, + "end": 21861, "loc": { "start": { - "line": 636, + "line": 641, "column": 8 }, "end": { - "line": 636, + "line": 641, "column": 35 } } @@ -37940,85 +38196,85 @@ }, { "type": "IfStatement", - "start": 21648, - "end": 22659, + "start": 21870, + "end": 22881, "loc": { "start": { - "line": 637, + "line": 642, "column": 8 }, "end": { - "line": 664, + "line": 669, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 21652, - "end": 21686, + "start": 21874, + "end": 21908, "loc": { "start": { - "line": 637, + "line": 642, "column": 12 }, "end": { - "line": 637, + "line": 642, "column": 46 } }, "left": { "type": "MemberExpression", - "start": 21652, - "end": 21677, + "start": 21874, + "end": 21899, "loc": { "start": { - "line": 637, + "line": 642, "column": 12 }, "end": { - "line": 637, + "line": 642, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 21652, - "end": 21672, + "start": 21874, + "end": 21894, "loc": { "start": { - "line": 637, + "line": 642, "column": 12 }, "end": { - "line": 637, + "line": 642, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 21652, - "end": 21663, + "start": 21874, + "end": 21885, "loc": { "start": { - "line": 637, + "line": 642, "column": 12 }, "end": { - "line": 637, + "line": 642, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 21652, - "end": 21656, + "start": 21874, + "end": 21878, "loc": { "start": { - "line": 637, + "line": 642, "column": 12 }, "end": { - "line": 637, + "line": 642, "column": 16 } }, @@ -38026,15 +38282,15 @@ }, "property": { "type": "Identifier", - "start": 21657, - "end": 21663, + "start": 21879, + "end": 21885, "loc": { "start": { - "line": 637, + "line": 642, "column": 17 }, "end": { - "line": 637, + "line": 642, "column": 23 }, "identifierName": "player" @@ -38046,15 +38302,15 @@ }, "property": { "type": "Identifier", - "start": 21664, - "end": 21672, + "start": 21886, + "end": 21894, "loc": { "start": { - "line": 637, + "line": 642, "column": 24 }, "end": { - "line": 637, + "line": 642, "column": 32 }, "identifierName": "options_" @@ -38066,15 +38322,15 @@ }, "property": { "type": "Identifier", - "start": 21673, - "end": 21677, + "start": 21895, + "end": 21899, "loc": { "start": { - "line": 637, + "line": 642, "column": 33 }, "end": { - "line": 637, + "line": 642, "column": 37 }, "identifierName": "loop" @@ -38087,15 +38343,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 21682, - "end": 21686, + "start": 21904, + "end": 21908, "loc": { "start": { - "line": 637, + "line": 642, "column": 42 }, "end": { - "line": 637, + "line": 642, "column": 46 } }, @@ -38105,87 +38361,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 21688, - "end": 21857, + "start": 21910, + "end": 22079, "loc": { "start": { - "line": 637, + "line": 642, "column": 48 }, "end": { - "line": 643, + "line": 648, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 21702, - "end": 21847, + "start": 21924, + "end": 22069, "loc": { "start": { - "line": 638, + "line": 643, "column": 12 }, "end": { - "line": 642, + "line": 647, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 21706, - "end": 21731, + "start": 21928, + "end": 21953, "loc": { "start": { - "line": 638, + "line": 643, "column": 16 }, "end": { - "line": 638, + "line": 643, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 21706, - "end": 21718, + "start": 21928, + "end": 21940, "loc": { "start": { - "line": 638, + "line": 643, "column": 16 }, "end": { - "line": 638, + "line": 643, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 21706, - "end": 21710, + "start": 21928, + "end": 21932, "loc": { "start": { - "line": 638, + "line": 643, "column": 16 }, "end": { - "line": 638, + "line": 643, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21711, - "end": 21718, + "start": 21933, + "end": 21940, "loc": { "start": { - "line": 638, + "line": 643, "column": 21 }, "end": { - "line": 638, + "line": 643, "column": 28 }, "identifierName": "backend" @@ -38197,15 +38453,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 21723, - "end": 21731, + "start": 21945, + "end": 21953, "loc": { "start": { - "line": 638, + "line": 643, "column": 33 }, "end": { - "line": 638, + "line": 643, "column": 41 }, "identifierName": "WEBAUDIO" @@ -38215,86 +38471,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 21733, - "end": 21847, + "start": 21955, + "end": 22069, "loc": { "start": { - "line": 638, + "line": 643, "column": 43 }, "end": { - "line": 642, + "line": 647, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 21785, - "end": 21804, + "start": 22007, + "end": 22026, "loc": { "start": { - "line": 640, + "line": 645, "column": 16 }, "end": { - "line": 640, + "line": 645, "column": 35 } }, "expression": { "type": "CallExpression", - "start": 21785, - "end": 21803, + "start": 22007, + "end": 22025, "loc": { "start": { - "line": 640, + "line": 645, "column": 16 }, "end": { - "line": 640, + "line": 645, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 21785, - "end": 21801, + "start": 22007, + "end": 22023, "loc": { "start": { - "line": 640, + "line": 645, "column": 16 }, "end": { - "line": 640, + "line": 645, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 21785, - "end": 21796, + "start": 22007, + "end": 22018, "loc": { "start": { - "line": 640, + "line": 645, "column": 16 }, "end": { - "line": 640, + "line": 645, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 21785, - "end": 21789, + "start": 22007, + "end": 22011, "loc": { "start": { - "line": 640, + "line": 645, "column": 16 }, "end": { - "line": 640, + "line": 645, "column": 20 } }, @@ -38302,15 +38558,15 @@ }, "property": { "type": "Identifier", - "start": 21790, - "end": 21796, + "start": 22012, + "end": 22018, "loc": { "start": { - "line": 640, + "line": 645, "column": 21 }, "end": { - "line": 640, + "line": 645, "column": 27 }, "identifierName": "surfer" @@ -38322,15 +38578,15 @@ }, "property": { "type": "Identifier", - "start": 21797, - "end": 21801, + "start": 22019, + "end": 22023, "loc": { "start": { - "line": 640, + "line": 645, "column": 28 }, "end": { - "line": 640, + "line": 645, "column": 32 }, "identifierName": "stop" @@ -38347,15 +38603,15 @@ { "type": "CommentLine", "value": " reset waveform", - "start": 21751, - "end": 21768, + "start": 21973, + "end": 21990, "loc": { "start": { - "line": 639, + "line": 644, "column": 16 }, "end": { - "line": 639, + "line": 644, "column": 33 } } @@ -38364,72 +38620,72 @@ }, { "type": "ExpressionStatement", - "start": 21821, - "end": 21833, + "start": 22043, + "end": 22055, "loc": { "start": { - "line": 641, + "line": 646, "column": 16 }, "end": { - "line": 641, + "line": 646, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 21821, - "end": 21832, + "start": 22043, + "end": 22054, "loc": { "start": { - "line": 641, + "line": 646, "column": 16 }, "end": { - "line": 641, + "line": 646, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 21821, - "end": 21830, + "start": 22043, + "end": 22052, "loc": { "start": { - "line": 641, + "line": 646, "column": 16 }, "end": { - "line": 641, + "line": 646, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 21821, - "end": 21825, + "start": 22043, + "end": 22047, "loc": { "start": { - "line": 641, + "line": 646, "column": 16 }, "end": { - "line": 641, + "line": 646, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21826, - "end": 21830, + "start": 22048, + "end": 22052, "loc": { "start": { - "line": 641, + "line": 646, "column": 21 }, "end": { - "line": 641, + "line": 646, "column": 25 }, "identifierName": "play" @@ -38451,73 +38707,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 21863, - "end": 22659, + "start": 22085, + "end": 22881, "loc": { "start": { - "line": 643, + "line": 648, "column": 15 }, "end": { - "line": 664, + "line": 669, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 21901, - "end": 21926, + "start": 22123, + "end": 22148, "loc": { "start": { - "line": 645, + "line": 650, "column": 12 }, "end": { - "line": 645, + "line": 650, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 21901, - "end": 21925, + "start": 22123, + "end": 22147, "loc": { "start": { - "line": 645, + "line": 650, "column": 12 }, "end": { - "line": 645, + "line": 650, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 21901, - "end": 21918, + "start": 22123, + "end": 22140, "loc": { "start": { - "line": 645, + "line": 650, "column": 12 }, "end": { - "line": 645, + "line": 650, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 21901, - "end": 21905, + "start": 22123, + "end": 22127, "loc": { "start": { - "line": 645, + "line": 650, "column": 12 }, "end": { - "line": 645, + "line": 650, "column": 16 } }, @@ -38525,15 +38781,15 @@ }, "property": { "type": "Identifier", - "start": 21906, - "end": 21918, + "start": 22128, + "end": 22140, "loc": { "start": { - "line": 645, + "line": 650, "column": 17 }, "end": { - "line": 645, + "line": 650, "column": 29 }, "identifierName": "waveFinished" @@ -38545,15 +38801,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 21921, - "end": 21925, + "start": 22143, + "end": 22147, "loc": { "start": { - "line": 645, + "line": 650, "column": 32 }, "end": { - "line": 645, + "line": 650, "column": 36 } }, @@ -38565,15 +38821,15 @@ { "type": "CommentLine", "value": " finished", - "start": 21877, - "end": 21888, + "start": 22099, + "end": 22110, "loc": { "start": { - "line": 644, + "line": 649, "column": 12 }, "end": { - "line": 644, + "line": 649, "column": 23 } } @@ -38582,72 +38838,72 @@ }, { "type": "IfStatement", - "start": 21940, - "end": 22649, + "start": 22162, + "end": 22871, "loc": { "start": { - "line": 647, + "line": 652, "column": 12 }, "end": { - "line": 663, + "line": 668, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 21944, - "end": 21969, + "start": 22166, + "end": 22191, "loc": { "start": { - "line": 647, + "line": 652, "column": 16 }, "end": { - "line": 647, + "line": 652, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 21944, - "end": 21956, + "start": 22166, + "end": 22178, "loc": { "start": { - "line": 647, + "line": 652, "column": 16 }, "end": { - "line": 647, + "line": 652, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 21944, - "end": 21948, + "start": 22166, + "end": 22170, "loc": { "start": { - "line": 647, + "line": 652, "column": 16 }, "end": { - "line": 647, + "line": 652, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21949, - "end": 21956, + "start": 22171, + "end": 22178, "loc": { "start": { - "line": 647, + "line": 652, "column": 21 }, "end": { - "line": 647, + "line": 652, "column": 28 }, "identifierName": "backend" @@ -38659,15 +38915,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 21961, - "end": 21969, + "start": 22183, + "end": 22191, "loc": { "start": { - "line": 647, + "line": 652, "column": 33 }, "end": { - "line": 647, + "line": 652, "column": 41 }, "identifierName": "WEBAUDIO" @@ -38677,72 +38933,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 21971, - "end": 22649, + "start": 22193, + "end": 22871, "loc": { "start": { - "line": 647, + "line": 652, "column": 43 }, "end": { - "line": 663, + "line": 668, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 22021, - "end": 22034, + "start": 22243, + "end": 22256, "loc": { "start": { - "line": 649, + "line": 654, "column": 16 }, "end": { - "line": 649, + "line": 654, "column": 29 } }, "expression": { "type": "CallExpression", - "start": 22021, - "end": 22033, + "start": 22243, + "end": 22255, "loc": { "start": { - "line": 649, + "line": 654, "column": 16 }, "end": { - "line": 649, + "line": 654, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 22021, - "end": 22031, + "start": 22243, + "end": 22253, "loc": { "start": { - "line": 649, + "line": 654, "column": 16 }, "end": { - "line": 649, + "line": 654, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 22021, - "end": 22025, + "start": 22243, + "end": 22247, "loc": { "start": { - "line": 649, + "line": 654, "column": 16 }, "end": { - "line": 649, + "line": 654, "column": 20 } }, @@ -38750,15 +39006,15 @@ }, "property": { "type": "Identifier", - "start": 22026, - "end": 22031, + "start": 22248, + "end": 22253, "loc": { "start": { - "line": 649, + "line": 654, "column": 21 }, "end": { - "line": 649, + "line": 654, "column": 26 }, "identifierName": "pause" @@ -38775,15 +39031,15 @@ { "type": "CommentLine", "value": " pause player", - "start": 21989, - "end": 22004, + "start": 22211, + "end": 22226, "loc": { "start": { - "line": 648, + "line": 653, "column": 16 }, "end": { - "line": 648, + "line": 653, "column": 31 } } @@ -38793,15 +39049,15 @@ { "type": "CommentLine", "value": " show the replay state of play toggle", - "start": 22052, - "end": 22091, + "start": 22274, + "end": 22313, "loc": { "start": { - "line": 651, + "line": 656, "column": 16 }, "end": { - "line": 651, + "line": 656, "column": 55 } } @@ -38810,71 +39066,71 @@ }, { "type": "ExpressionStatement", - "start": 22108, - "end": 22141, + "start": 22330, + "end": 22363, "loc": { "start": { - "line": 652, + "line": 657, "column": 16 }, "end": { - "line": 652, + "line": 657, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 22108, - "end": 22140, + "start": 22330, + "end": 22362, "loc": { "start": { - "line": 652, + "line": 657, "column": 16 }, "end": { - "line": 652, + "line": 657, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 22108, - "end": 22127, + "start": 22330, + "end": 22349, "loc": { "start": { - "line": 652, + "line": 657, "column": 16 }, "end": { - "line": 652, + "line": 657, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 22108, - "end": 22119, + "start": 22330, + "end": 22341, "loc": { "start": { - "line": 652, + "line": 657, "column": 16 }, "end": { - "line": 652, + "line": 657, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 22108, - "end": 22112, + "start": 22330, + "end": 22334, "loc": { "start": { - "line": 652, + "line": 657, "column": 16 }, "end": { - "line": 652, + "line": 657, "column": 20 } }, @@ -38882,15 +39138,15 @@ }, "property": { "type": "Identifier", - "start": 22113, - "end": 22119, + "start": 22335, + "end": 22341, "loc": { "start": { - "line": 652, + "line": 657, "column": 21 }, "end": { - "line": 652, + "line": 657, "column": 27 }, "identifierName": "player" @@ -38902,15 +39158,15 @@ }, "property": { "type": "Identifier", - "start": 22120, - "end": 22127, + "start": 22342, + "end": 22349, "loc": { "start": { - "line": 652, + "line": 657, "column": 28 }, "end": { - "line": 652, + "line": 657, "column": 35 }, "identifierName": "trigger" @@ -38923,29 +39179,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 22128, - "end": 22139, + "start": 22350, + "end": 22361, "loc": { "start": { - "line": 652, + "line": 657, "column": 36 }, "end": { - "line": 652, + "line": 657, "column": 47 } }, "object": { "type": "Identifier", - "start": 22128, - "end": 22133, + "start": 22350, + "end": 22355, "loc": { "start": { - "line": 652, + "line": 657, "column": 36 }, "end": { - "line": 652, + "line": 657, "column": 41 }, "identifierName": "Event" @@ -38954,15 +39210,15 @@ }, "property": { "type": "Identifier", - "start": 22134, - "end": 22139, + "start": 22356, + "end": 22361, "loc": { "start": { - "line": 652, + "line": 657, "column": 42 }, "end": { - "line": 652, + "line": 657, "column": 47 }, "identifierName": "ENDED" @@ -38978,15 +39234,15 @@ { "type": "CommentLine", "value": " show the replay state of play toggle", - "start": 22052, - "end": 22091, + "start": 22274, + "end": 22313, "loc": { "start": { - "line": 651, + "line": 656, "column": 16 }, "end": { - "line": 651, + "line": 656, "column": 55 } } @@ -38996,15 +39252,15 @@ { "type": "CommentLine", "value": " this gets called once after the clip has ended and the user", - "start": 22159, - "end": 22221, + "start": 22381, + "end": 22443, "loc": { "start": { - "line": 654, + "line": 659, "column": 16 }, "end": { - "line": 654, + "line": 659, "column": 78 } } @@ -39012,15 +39268,15 @@ { "type": "CommentLine", "value": " seeks so that we can change the replay button back to a play", - "start": 22238, - "end": 22301, + "start": 22460, + "end": 22523, "loc": { "start": { - "line": 655, + "line": 660, "column": 16 }, "end": { - "line": 655, + "line": 660, "column": 79 } } @@ -39028,15 +39284,15 @@ { "type": "CommentLine", "value": " button", - "start": 22318, - "end": 22327, + "start": 22540, + "end": 22549, "loc": { "start": { - "line": 656, + "line": 661, "column": 16 }, "end": { - "line": 656, + "line": 661, "column": 25 } } @@ -39045,71 +39301,71 @@ }, { "type": "ExpressionStatement", - "start": 22344, - "end": 22635, + "start": 22566, + "end": 22857, "loc": { "start": { - "line": 657, + "line": 662, "column": 16 }, "end": { - "line": 662, + "line": 667, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 22344, - "end": 22634, + "start": 22566, + "end": 22856, "loc": { "start": { - "line": 657, + "line": 662, "column": 16 }, "end": { - "line": 662, + "line": 667, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 22344, - "end": 22360, + "start": 22566, + "end": 22582, "loc": { "start": { - "line": 657, + "line": 662, "column": 16 }, "end": { - "line": 657, + "line": 662, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 22344, - "end": 22355, + "start": 22566, + "end": 22577, "loc": { "start": { - "line": 657, + "line": 662, "column": 16 }, "end": { - "line": 657, + "line": 662, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 22344, - "end": 22348, + "start": 22566, + "end": 22570, "loc": { "start": { - "line": 657, + "line": 662, "column": 16 }, "end": { - "line": 657, + "line": 662, "column": 20 } }, @@ -39117,15 +39373,15 @@ }, "property": { "type": "Identifier", - "start": 22349, - "end": 22355, + "start": 22571, + "end": 22577, "loc": { "start": { - "line": 657, + "line": 662, "column": 21 }, "end": { - "line": 657, + "line": 662, "column": 27 }, "identifierName": "surfer" @@ -39137,15 +39393,15 @@ }, "property": { "type": "Identifier", - "start": 22356, - "end": 22360, + "start": 22578, + "end": 22582, "loc": { "start": { - "line": 657, + "line": 662, "column": 28 }, "end": { - "line": 657, + "line": 662, "column": 32 }, "identifierName": "once" @@ -39158,29 +39414,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 22361, - "end": 22371, + "start": 22583, + "end": 22593, "loc": { "start": { - "line": 657, + "line": 662, "column": 33 }, "end": { - "line": 657, + "line": 662, "column": 43 } }, "object": { "type": "Identifier", - "start": 22361, - "end": 22366, + "start": 22583, + "end": 22588, "loc": { "start": { - "line": 657, + "line": 662, "column": 33 }, "end": { - "line": 657, + "line": 662, "column": 38 }, "identifierName": "Event" @@ -39189,15 +39445,15 @@ }, "property": { "type": "Identifier", - "start": 22367, - "end": 22371, + "start": 22589, + "end": 22593, "loc": { "start": { - "line": 657, + "line": 662, "column": 39 }, "end": { - "line": 657, + "line": 662, "column": 43 }, "identifierName": "SEEK" @@ -39208,15 +39464,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 22373, - "end": 22633, + "start": 22595, + "end": 22855, "loc": { "start": { - "line": 657, + "line": 662, "column": 45 }, "end": { - "line": 662, + "line": 667, "column": 17 } }, @@ -39227,115 +39483,115 @@ "params": [], "body": { "type": "BlockStatement", - "start": 22379, - "end": 22633, + "start": 22601, + "end": 22855, "loc": { "start": { - "line": 657, + "line": 662, "column": 51 }, "end": { - "line": 662, + "line": 667, "column": 17 } }, "body": [ { "type": "IfStatement", - "start": 22401, - "end": 22561, + "start": 22623, + "end": 22783, "loc": { "start": { - "line": 658, + "line": 663, "column": 20 }, "end": { - "line": 660, + "line": 665, "column": 21 } }, "test": { "type": "BinaryExpression", - "start": 22405, - "end": 22452, + "start": 22627, + "end": 22674, "loc": { "start": { - "line": 658, + "line": 663, "column": 24 }, "end": { - "line": 658, + "line": 663, "column": 71 } }, "left": { "type": "MemberExpression", - "start": 22405, - "end": 22438, + "start": 22627, + "end": 22660, "loc": { "start": { - "line": 658, + "line": 663, "column": 24 }, "end": { - "line": 658, + "line": 663, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 22405, - "end": 22427, + "start": 22627, + "end": 22649, "loc": { "start": { - "line": 658, + "line": 663, "column": 24 }, "end": { - "line": 658, + "line": 663, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 22405, - "end": 22416, + "start": 22627, + "end": 22638, "loc": { "start": { - "line": 658, + "line": 663, "column": 24 }, "end": { - "line": 658, + "line": 663, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 22405, - "end": 22409, + "start": 22627, + "end": 22631, "loc": { "start": { - "line": 658, + "line": 663, "column": 24 }, "end": { - "line": 658, + "line": 663, "column": 28 } } }, "property": { "type": "Identifier", - "start": 22410, - "end": 22416, + "start": 22632, + "end": 22638, "loc": { "start": { - "line": 658, + "line": 663, "column": 29 }, "end": { - "line": 658, + "line": 663, "column": 35 }, "identifierName": "player" @@ -39346,15 +39602,15 @@ }, "property": { "type": "Identifier", - "start": 22417, - "end": 22427, + "start": 22639, + "end": 22649, "loc": { "start": { - "line": 658, + "line": 663, "column": 36 }, "end": { - "line": 658, + "line": 663, "column": 46 }, "identifierName": "controlBar" @@ -39365,15 +39621,15 @@ }, "property": { "type": "Identifier", - "start": 22428, - "end": 22438, + "start": 22650, + "end": 22660, "loc": { "start": { - "line": 658, + "line": 663, "column": 47 }, "end": { - "line": 658, + "line": 663, "column": 57 }, "identifierName": "playToggle" @@ -39385,15 +39641,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 22443, - "end": 22452, + "start": 22665, + "end": 22674, "loc": { "start": { - "line": 658, + "line": 663, "column": 62 }, "end": { - "line": 658, + "line": 663, "column": 71 }, "identifierName": "undefined" @@ -39403,129 +39659,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 22454, - "end": 22561, + "start": 22676, + "end": 22783, "loc": { "start": { - "line": 658, + "line": 663, "column": 73 }, "end": { - "line": 660, + "line": 665, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 22480, - "end": 22539, + "start": 22702, + "end": 22761, "loc": { "start": { - "line": 659, + "line": 664, "column": 24 }, "end": { - "line": 659, + "line": 664, "column": 83 } }, "expression": { "type": "CallExpression", - "start": 22480, - "end": 22538, + "start": 22702, + "end": 22760, "loc": { "start": { - "line": 659, + "line": 664, "column": 24 }, "end": { - "line": 659, + "line": 664, "column": 82 } }, "callee": { "type": "MemberExpression", - "start": 22480, - "end": 22525, + "start": 22702, + "end": 22747, "loc": { "start": { - "line": 659, + "line": 664, "column": 24 }, "end": { - "line": 659, + "line": 664, "column": 69 } }, "object": { "type": "MemberExpression", - "start": 22480, - "end": 22513, + "start": 22702, + "end": 22735, "loc": { "start": { - "line": 659, + "line": 664, "column": 24 }, "end": { - "line": 659, + "line": 664, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 22480, - "end": 22502, + "start": 22702, + "end": 22724, "loc": { "start": { - "line": 659, + "line": 664, "column": 24 }, "end": { - "line": 659, + "line": 664, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 22480, - "end": 22491, + "start": 22702, + "end": 22713, "loc": { "start": { - "line": 659, + "line": 664, "column": 24 }, "end": { - "line": 659, + "line": 664, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 22480, - "end": 22484, + "start": 22702, + "end": 22706, "loc": { "start": { - "line": 659, + "line": 664, "column": 24 }, "end": { - "line": 659, + "line": 664, "column": 28 } } }, "property": { "type": "Identifier", - "start": 22485, - "end": 22491, + "start": 22707, + "end": 22713, "loc": { "start": { - "line": 659, + "line": 664, "column": 29 }, "end": { - "line": 659, + "line": 664, "column": 35 }, "identifierName": "player" @@ -39536,15 +39792,15 @@ }, "property": { "type": "Identifier", - "start": 22492, - "end": 22502, + "start": 22714, + "end": 22724, "loc": { "start": { - "line": 659, + "line": 664, "column": 36 }, "end": { - "line": 659, + "line": 664, "column": 46 }, "identifierName": "controlBar" @@ -39555,15 +39811,15 @@ }, "property": { "type": "Identifier", - "start": 22503, - "end": 22513, + "start": 22725, + "end": 22735, "loc": { "start": { - "line": 659, + "line": 664, "column": 47 }, "end": { - "line": 659, + "line": 664, "column": 57 }, "identifierName": "playToggle" @@ -39574,15 +39830,15 @@ }, "property": { "type": "Identifier", - "start": 22514, - "end": 22525, + "start": 22736, + "end": 22747, "loc": { "start": { - "line": 659, + "line": 664, "column": 58 }, "end": { - "line": 659, + "line": 664, "column": 69 }, "identifierName": "removeClass" @@ -39594,15 +39850,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 22526, - "end": 22537, + "start": 22748, + "end": 22759, "loc": { "start": { - "line": 659, + "line": 664, "column": 70 }, "end": { - "line": 659, + "line": 664, "column": 81 } }, @@ -39622,86 +39878,86 @@ }, { "type": "ExpressionStatement", - "start": 22582, - "end": 22615, + "start": 22804, + "end": 22837, "loc": { "start": { - "line": 661, + "line": 666, "column": 20 }, "end": { - "line": 661, + "line": 666, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 22582, - "end": 22614, + "start": 22804, + "end": 22836, "loc": { "start": { - "line": 661, + "line": 666, "column": 20 }, "end": { - "line": 661, + "line": 666, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 22582, - "end": 22601, + "start": 22804, + "end": 22823, "loc": { "start": { - "line": 661, + "line": 666, "column": 20 }, "end": { - "line": 661, + "line": 666, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 22582, - "end": 22593, + "start": 22804, + "end": 22815, "loc": { "start": { - "line": 661, + "line": 666, "column": 20 }, "end": { - "line": 661, + "line": 666, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 22582, - "end": 22586, + "start": 22804, + "end": 22808, "loc": { "start": { - "line": 661, + "line": 666, "column": 20 }, "end": { - "line": 661, + "line": 666, "column": 24 } } }, "property": { "type": "Identifier", - "start": 22587, - "end": 22593, + "start": 22809, + "end": 22815, "loc": { "start": { - "line": 661, + "line": 666, "column": 25 }, "end": { - "line": 661, + "line": 666, "column": 31 }, "identifierName": "player" @@ -39712,15 +39968,15 @@ }, "property": { "type": "Identifier", - "start": 22594, - "end": 22601, + "start": 22816, + "end": 22823, "loc": { "start": { - "line": 661, + "line": 666, "column": 32 }, "end": { - "line": 661, + "line": 666, "column": 39 }, "identifierName": "trigger" @@ -39732,29 +39988,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 22602, - "end": 22613, + "start": 22824, + "end": 22835, "loc": { "start": { - "line": 661, + "line": 666, "column": 40 }, "end": { - "line": 661, + "line": 666, "column": 51 } }, "object": { "type": "Identifier", - "start": 22602, - "end": 22607, + "start": 22824, + "end": 22829, "loc": { "start": { - "line": 661, + "line": 666, "column": 40 }, "end": { - "line": 661, + "line": 666, "column": 45 }, "identifierName": "Event" @@ -39763,15 +40019,15 @@ }, "property": { "type": "Identifier", - "start": 22608, - "end": 22613, + "start": 22830, + "end": 22835, "loc": { "start": { - "line": 661, + "line": 666, "column": 46 }, "end": { - "line": 661, + "line": 666, "column": 51 }, "identifierName": "PAUSE" @@ -39794,15 +40050,15 @@ { "type": "CommentLine", "value": " this gets called once after the clip has ended and the user", - "start": 22159, - "end": 22221, + "start": 22381, + "end": 22443, "loc": { "start": { - "line": 654, + "line": 659, "column": 16 }, "end": { - "line": 654, + "line": 659, "column": 78 } } @@ -39810,15 +40066,15 @@ { "type": "CommentLine", "value": " seeks so that we can change the replay button back to a play", - "start": 22238, - "end": 22301, + "start": 22460, + "end": 22523, "loc": { "start": { - "line": 655, + "line": 660, "column": 16 }, "end": { - "line": 655, + "line": 660, "column": 79 } } @@ -39826,15 +40082,15 @@ { "type": "CommentLine", "value": " button", - "start": 22318, - "end": 22327, + "start": 22540, + "end": 22549, "loc": { "start": { - "line": 656, + "line": 661, "column": 16 }, "end": { - "line": 656, + "line": 661, "column": 25 } } @@ -39853,15 +40109,15 @@ { "type": "CommentLine", "value": " check if loop is enabled", - "start": 21612, - "end": 21639, + "start": 21834, + "end": 21861, "loc": { "start": { - "line": 636, + "line": 641, "column": 8 }, "end": { - "line": 636, + "line": 641, "column": 35 } } @@ -39876,15 +40132,15 @@ { "type": "CommentBlock", "value": "*\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n ", - "start": 21354, - "end": 21461, + "start": 21576, + "end": 21683, "loc": { "start": { - "line": 624, + "line": 629, "column": 4 }, "end": { - "line": 629, + "line": 634, "column": 7 } } @@ -39894,15 +40150,15 @@ { "type": "CommentBlock", "value": "*\n * Fires continuously during audio playback.\n *\n * @param {number} time - Current time/location of the playhead.\n * @private\n ", - "start": 22671, - "end": 22823, + "start": 22893, + "end": 23045, "loc": { "start": { - "line": 667, + "line": 672, "column": 4 }, "end": { - "line": 672, + "line": 677, "column": 7 } } @@ -39911,15 +40167,15 @@ }, { "type": "ClassMethod", - "start": 22828, - "end": 22887, + "start": 23050, + "end": 23109, "loc": { "start": { - "line": 673, + "line": 678, "column": 4 }, "end": { - "line": 675, + "line": 680, "column": 5 } }, @@ -39927,15 +40183,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 22828, - "end": 22842, + "start": 23050, + "end": 23064, "loc": { "start": { - "line": 673, + "line": 678, "column": 4 }, "end": { - "line": 673, + "line": 678, "column": 18 }, "identifierName": "onWaveProgress" @@ -39951,15 +40207,15 @@ "params": [ { "type": "Identifier", - "start": 22843, - "end": 22847, + "start": 23065, + "end": 23069, "loc": { "start": { - "line": 673, + "line": 678, "column": 19 }, "end": { - "line": 673, + "line": 678, "column": 23 }, "identifierName": "time" @@ -39969,87 +40225,87 @@ ], "body": { "type": "BlockStatement", - "start": 22849, - "end": 22887, + "start": 23071, + "end": 23109, "loc": { "start": { - "line": 673, + "line": 678, "column": 25 }, "end": { - "line": 675, + "line": 680, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 22859, - "end": 22881, + "start": 23081, + "end": 23103, "loc": { "start": { - "line": 674, + "line": 679, "column": 8 }, "end": { - "line": 674, + "line": 679, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 22859, - "end": 22880, + "start": 23081, + "end": 23102, "loc": { "start": { - "line": 674, + "line": 679, "column": 8 }, "end": { - "line": 674, + "line": 679, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 22859, - "end": 22878, + "start": 23081, + "end": 23100, "loc": { "start": { - "line": 674, + "line": 679, "column": 8 }, "end": { - "line": 674, + "line": 679, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 22859, - "end": 22863, + "start": 23081, + "end": 23085, "loc": { "start": { - "line": 674, + "line": 679, "column": 8 }, "end": { - "line": 674, + "line": 679, "column": 12 } } }, "property": { "type": "Identifier", - "start": 22864, - "end": 22878, + "start": 23086, + "end": 23100, "loc": { "start": { - "line": 674, + "line": 679, "column": 13 }, "end": { - "line": 674, + "line": 679, "column": 27 }, "identifierName": "setCurrentTime" @@ -40069,15 +40325,15 @@ { "type": "CommentBlock", "value": "*\n * Fires continuously during audio playback.\n *\n * @param {number} time - Current time/location of the playhead.\n * @private\n ", - "start": 22671, - "end": 22823, + "start": 22893, + "end": 23045, "loc": { "start": { - "line": 667, + "line": 672, "column": 4 }, "end": { - "line": 672, + "line": 677, "column": 7 } } @@ -40087,15 +40343,15 @@ { "type": "CommentBlock", "value": "*\n * Fires during seeking of the waveform.\n *\n * @private\n ", - "start": 22893, - "end": 22972, + "start": 23115, + "end": 23194, "loc": { "start": { - "line": 677, + "line": 682, "column": 4 }, "end": { - "line": 681, + "line": 686, "column": 7 } } @@ -40104,15 +40360,15 @@ }, { "type": "ClassMethod", - "start": 22977, - "end": 23028, + "start": 23199, + "end": 23250, "loc": { "start": { - "line": 682, + "line": 687, "column": 4 }, "end": { - "line": 684, + "line": 689, "column": 5 } }, @@ -40120,15 +40376,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 22977, - "end": 22987, + "start": 23199, + "end": 23209, "loc": { "start": { - "line": 682, + "line": 687, "column": 4 }, "end": { - "line": 682, + "line": 687, "column": 14 }, "identifierName": "onWaveSeek" @@ -40144,87 +40400,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 22990, - "end": 23028, + "start": 23212, + "end": 23250, "loc": { "start": { - "line": 682, + "line": 687, "column": 17 }, "end": { - "line": 684, + "line": 689, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 23000, - "end": 23022, + "start": 23222, + "end": 23244, "loc": { "start": { - "line": 683, + "line": 688, "column": 8 }, "end": { - "line": 683, + "line": 688, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 23000, - "end": 23021, + "start": 23222, + "end": 23243, "loc": { "start": { - "line": 683, + "line": 688, "column": 8 }, "end": { - "line": 683, + "line": 688, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 23000, - "end": 23019, + "start": 23222, + "end": 23241, "loc": { "start": { - "line": 683, + "line": 688, "column": 8 }, "end": { - "line": 683, + "line": 688, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 23000, - "end": 23004, + "start": 23222, + "end": 23226, "loc": { "start": { - "line": 683, + "line": 688, "column": 8 }, "end": { - "line": 683, + "line": 688, "column": 12 } } }, "property": { "type": "Identifier", - "start": 23005, - "end": 23019, + "start": 23227, + "end": 23241, "loc": { "start": { - "line": 683, + "line": 688, "column": 13 }, "end": { - "line": 683, + "line": 688, "column": 27 }, "identifierName": "setCurrentTime" @@ -40244,15 +40500,15 @@ { "type": "CommentBlock", "value": "*\n * Fires during seeking of the waveform.\n *\n * @private\n ", - "start": 22893, - "end": 22972, + "start": 23115, + "end": 23194, "loc": { "start": { - "line": 677, + "line": 682, "column": 4 }, "end": { - "line": 681, + "line": 686, "column": 7 } } @@ -40262,15 +40518,15 @@ { "type": "CommentBlock", "value": "*\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n ", - "start": 23034, - "end": 23144, + "start": 23256, + "end": 23366, "loc": { "start": { - "line": 686, + "line": 691, "column": 4 }, "end": { - "line": 691, + "line": 696, "column": 7 } } @@ -40279,15 +40535,15 @@ }, { "type": "ClassMethod", - "start": 23149, - "end": 23542, + "start": 23371, + "end": 23764, "loc": { "start": { - "line": 692, + "line": 697, "column": 4 }, "end": { - "line": 703, + "line": 708, "column": 5 } }, @@ -40295,15 +40551,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 23149, - "end": 23160, + "start": 23371, + "end": 23382, "loc": { "start": { - "line": 692, + "line": 697, "column": 4 }, "end": { - "line": 692, + "line": 697, "column": 15 }, "identifierName": "onWaveError" @@ -40319,15 +40575,15 @@ "params": [ { "type": "Identifier", - "start": 23161, - "end": 23166, + "start": 23383, + "end": 23388, "loc": { "start": { - "line": 692, + "line": 697, "column": 16 }, "end": { - "line": 692, + "line": 697, "column": 21 }, "identifierName": "error" @@ -40337,86 +40593,86 @@ ], "body": { "type": "BlockStatement", - "start": 23168, - "end": 23542, + "start": 23390, + "end": 23764, "loc": { "start": { - "line": 692, + "line": 697, "column": 23 }, "end": { - "line": 703, + "line": 708, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 23206, - "end": 23536, + "start": 23428, + "end": 23758, "loc": { "start": { - "line": 694, + "line": 699, "column": 8 }, "end": { - "line": 702, + "line": 707, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 23210, - "end": 23353, + "start": 23432, + "end": 23575, "loc": { "start": { - "line": 694, + "line": 699, "column": 12 }, "end": { - "line": 695, + "line": 700, "column": 98 } }, "left": { "type": "LogicalExpression", - "start": 23210, - "end": 23251, + "start": 23432, + "end": 23473, "loc": { "start": { - "line": 694, + "line": 699, "column": 12 }, "end": { - "line": 694, + "line": 699, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 23210, - "end": 23220, + "start": 23432, + "end": 23442, "loc": { "start": { - "line": 694, + "line": 699, "column": 12 }, "end": { - "line": 694, + "line": 699, "column": 22 } }, "object": { "type": "Identifier", - "start": 23210, - "end": 23215, + "start": 23432, + "end": 23437, "loc": { "start": { - "line": 694, + "line": 699, "column": 12 }, "end": { - "line": 694, + "line": 699, "column": 17 }, "identifierName": "error" @@ -40426,15 +40682,15 @@ }, "property": { "type": "Identifier", - "start": 23216, - "end": 23220, + "start": 23438, + "end": 23442, "loc": { "start": { - "line": 694, + "line": 699, "column": 18 }, "end": { - "line": 694, + "line": 699, "column": 22 }, "identifierName": "name" @@ -40447,43 +40703,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 23224, - "end": 23251, + "start": 23446, + "end": 23473, "loc": { "start": { - "line": 694, + "line": 699, "column": 26 }, "end": { - "line": 694, + "line": 699, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 23224, - "end": 23234, + "start": 23446, + "end": 23456, "loc": { "start": { - "line": 694, + "line": 699, "column": 26 }, "end": { - "line": 694, + "line": 699, "column": 36 } }, "object": { "type": "Identifier", - "start": 23224, - "end": 23229, + "start": 23446, + "end": 23451, "loc": { "start": { - "line": 694, + "line": 699, "column": 26 }, "end": { - "line": 694, + "line": 699, "column": 31 }, "identifierName": "error" @@ -40492,15 +40748,15 @@ }, "property": { "type": "Identifier", - "start": 23230, - "end": 23234, + "start": 23452, + "end": 23456, "loc": { "start": { - "line": 694, + "line": 699, "column": 32 }, "end": { - "line": 694, + "line": 699, "column": 36 }, "identifierName": "name" @@ -40512,15 +40768,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 23239, - "end": 23251, + "start": 23461, + "end": 23473, "loc": { "start": { - "line": 694, + "line": 699, "column": 41 }, "end": { - "line": 694, + "line": 699, "column": 53 } }, @@ -40536,57 +40792,57 @@ "operator": "||", "right": { "type": "LogicalExpression", - "start": 23267, - "end": 23353, + "start": 23489, + "end": 23575, "loc": { "start": { - "line": 695, + "line": 700, "column": 12 }, "end": { - "line": 695, + "line": 700, "column": 98 } }, "left": { "type": "BinaryExpression", - "start": 23267, - "end": 23296, + "start": 23489, + "end": 23518, "loc": { "start": { - "line": 695, + "line": 700, "column": 12 }, "end": { - "line": 695, + "line": 700, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 23267, - "end": 23277, + "start": 23489, + "end": 23499, "loc": { "start": { - "line": 695, + "line": 700, "column": 12 }, "end": { - "line": 695, + "line": 700, "column": 22 } }, "object": { "type": "Identifier", - "start": 23267, - "end": 23272, + "start": 23489, + "end": 23494, "loc": { "start": { - "line": 695, + "line": 700, "column": 12 }, "end": { - "line": 695, + "line": 700, "column": 17 }, "identifierName": "error" @@ -40595,15 +40851,15 @@ }, "property": { "type": "Identifier", - "start": 23273, - "end": 23277, + "start": 23495, + "end": 23499, "loc": { "start": { - "line": 695, + "line": 700, "column": 18 }, "end": { - "line": 695, + "line": 700, "column": 22 }, "identifierName": "name" @@ -40615,15 +40871,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 23282, - "end": 23296, + "start": 23504, + "end": 23518, "loc": { "start": { - "line": 695, + "line": 700, "column": 27 }, "end": { - "line": 695, + "line": 700, "column": 41 } }, @@ -40637,57 +40893,57 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 23300, - "end": 23353, + "start": 23522, + "end": 23575, "loc": { "start": { - "line": 695, + "line": 700, "column": 45 }, "end": { - "line": 695, + "line": 700, "column": 98 } }, "callee": { "type": "MemberExpression", - "start": 23300, - "end": 23324, + "start": 23522, + "end": 23546, "loc": { "start": { - "line": 695, + "line": 700, "column": 45 }, "end": { - "line": 695, + "line": 700, "column": 69 } }, "object": { "type": "MemberExpression", - "start": 23300, - "end": 23313, + "start": 23522, + "end": 23535, "loc": { "start": { - "line": 695, + "line": 700, "column": 45 }, "end": { - "line": 695, + "line": 700, "column": 58 } }, "object": { "type": "Identifier", - "start": 23300, - "end": 23305, + "start": 23522, + "end": 23527, "loc": { "start": { - "line": 695, + "line": 700, "column": 45 }, "end": { - "line": 695, + "line": 700, "column": 50 }, "identifierName": "error" @@ -40696,15 +40952,15 @@ }, "property": { "type": "Identifier", - "start": 23306, - "end": 23313, + "start": 23528, + "end": 23535, "loc": { "start": { - "line": 695, + "line": 700, "column": 51 }, "end": { - "line": 695, + "line": 700, "column": 58 }, "identifierName": "message" @@ -40715,15 +40971,15 @@ }, "property": { "type": "Identifier", - "start": 23314, - "end": 23324, + "start": 23536, + "end": 23546, "loc": { "start": { - "line": 695, + "line": 700, "column": 59 }, "end": { - "line": 695, + "line": 700, "column": 69 }, "identifierName": "startsWith" @@ -40735,15 +40991,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23325, - "end": 23352, + "start": 23547, + "end": 23574, "loc": { "start": { - "line": 695, + "line": 700, "column": 70 }, "end": { - "line": 695, + "line": 700, "column": 97 } }, @@ -40760,101 +41016,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 23363, - "end": 23427, + "start": 23585, + "end": 23649, "loc": { "start": { - "line": 696, + "line": 701, "column": 8 }, "end": { - "line": 698, + "line": 703, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23377, - "end": 23417, + "start": 23599, + "end": 23639, "loc": { "start": { - "line": 697, + "line": 702, "column": 12 }, "end": { - "line": 697, + "line": 702, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 23377, - "end": 23416, + "start": 23599, + "end": 23638, "loc": { "start": { - "line": 697, + "line": 702, "column": 12 }, "end": { - "line": 697, + "line": 702, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 23377, - "end": 23396, + "start": 23599, + "end": 23618, "loc": { "start": { - "line": 697, + "line": 702, "column": 12 }, "end": { - "line": 697, + "line": 702, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 23377, - "end": 23388, + "start": 23599, + "end": 23610, "loc": { "start": { - "line": 697, + "line": 702, "column": 12 }, "end": { - "line": 697, + "line": 702, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23377, - "end": 23381, + "start": 23599, + "end": 23603, "loc": { "start": { - "line": 697, + "line": 702, "column": 12 }, "end": { - "line": 697, + "line": 702, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23382, - "end": 23388, + "start": 23604, + "end": 23610, "loc": { "start": { - "line": 697, + "line": 702, "column": 17 }, "end": { - "line": 697, + "line": 702, "column": 23 }, "identifierName": "player" @@ -40865,15 +41121,15 @@ }, "property": { "type": "Identifier", - "start": 23389, - "end": 23396, + "start": 23611, + "end": 23618, "loc": { "start": { - "line": 697, + "line": 702, "column": 24 }, "end": { - "line": 697, + "line": 702, "column": 31 }, "identifierName": "trigger" @@ -40885,29 +41141,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 23397, - "end": 23408, + "start": 23619, + "end": 23630, "loc": { "start": { - "line": 697, + "line": 702, "column": 32 }, "end": { - "line": 697, + "line": 702, "column": 43 } }, "object": { "type": "Identifier", - "start": 23397, - "end": 23402, + "start": 23619, + "end": 23624, "loc": { "start": { - "line": 697, + "line": 702, "column": 32 }, "end": { - "line": 697, + "line": 702, "column": 37 }, "identifierName": "Event" @@ -40916,15 +41172,15 @@ }, "property": { "type": "Identifier", - "start": 23403, - "end": 23408, + "start": 23625, + "end": 23630, "loc": { "start": { - "line": 697, + "line": 702, "column": 38 }, "end": { - "line": 697, + "line": 702, "column": 43 }, "identifierName": "ABORT" @@ -40935,15 +41191,15 @@ }, { "type": "Identifier", - "start": 23410, - "end": 23415, + "start": 23632, + "end": 23637, "loc": { "start": { - "line": 697, + "line": 702, "column": 45 }, "end": { - "line": 697, + "line": 702, "column": 50 }, "identifierName": "error" @@ -40958,101 +41214,101 @@ }, "alternate": { "type": "BlockStatement", - "start": 23433, - "end": 23536, + "start": 23655, + "end": 23758, "loc": { "start": { - "line": 698, + "line": 703, "column": 15 }, "end": { - "line": 702, + "line": 707, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23447, - "end": 23487, + "start": 23669, + "end": 23709, "loc": { "start": { - "line": 699, + "line": 704, "column": 12 }, "end": { - "line": 699, + "line": 704, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 23447, - "end": 23486, + "start": 23669, + "end": 23708, "loc": { "start": { - "line": 699, + "line": 704, "column": 12 }, "end": { - "line": 699, + "line": 704, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 23447, - "end": 23466, + "start": 23669, + "end": 23688, "loc": { "start": { - "line": 699, + "line": 704, "column": 12 }, "end": { - "line": 699, + "line": 704, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 23447, - "end": 23458, + "start": 23669, + "end": 23680, "loc": { "start": { - "line": 699, + "line": 704, "column": 12 }, "end": { - "line": 699, + "line": 704, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23447, - "end": 23451, + "start": 23669, + "end": 23673, "loc": { "start": { - "line": 699, + "line": 704, "column": 12 }, "end": { - "line": 699, + "line": 704, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23452, - "end": 23458, + "start": 23674, + "end": 23680, "loc": { "start": { - "line": 699, + "line": 704, "column": 17 }, "end": { - "line": 699, + "line": 704, "column": 23 }, "identifierName": "player" @@ -41063,15 +41319,15 @@ }, "property": { "type": "Identifier", - "start": 23459, - "end": 23466, + "start": 23681, + "end": 23688, "loc": { "start": { - "line": 699, + "line": 704, "column": 24 }, "end": { - "line": 699, + "line": 704, "column": 31 }, "identifierName": "trigger" @@ -41083,29 +41339,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 23467, - "end": 23478, + "start": 23689, + "end": 23700, "loc": { "start": { - "line": 699, + "line": 704, "column": 32 }, "end": { - "line": 699, + "line": 704, "column": 43 } }, "object": { "type": "Identifier", - "start": 23467, - "end": 23472, + "start": 23689, + "end": 23694, "loc": { "start": { - "line": 699, + "line": 704, "column": 32 }, "end": { - "line": 699, + "line": 704, "column": 37 }, "identifierName": "Event" @@ -41114,15 +41370,15 @@ }, "property": { "type": "Identifier", - "start": 23473, - "end": 23478, + "start": 23695, + "end": 23700, "loc": { "start": { - "line": 699, + "line": 704, "column": 38 }, "end": { - "line": 699, + "line": 704, "column": 43 }, "identifierName": "ERROR" @@ -41133,15 +41389,15 @@ }, { "type": "Identifier", - "start": 23480, - "end": 23485, + "start": 23702, + "end": 23707, "loc": { "start": { - "line": 699, + "line": 704, "column": 45 }, "end": { - "line": 699, + "line": 704, "column": 50 }, "identifierName": "error" @@ -41153,72 +41409,72 @@ }, { "type": "ExpressionStatement", - "start": 23501, - "end": 23526, + "start": 23723, + "end": 23748, "loc": { "start": { - "line": 701, + "line": 706, "column": 12 }, "end": { - "line": 701, + "line": 706, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 23501, - "end": 23525, + "start": 23723, + "end": 23747, "loc": { "start": { - "line": 701, + "line": 706, "column": 12 }, "end": { - "line": 701, + "line": 706, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 23501, - "end": 23509, + "start": 23723, + "end": 23731, "loc": { "start": { - "line": 701, + "line": 706, "column": 12 }, "end": { - "line": 701, + "line": 706, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 23501, - "end": 23505, + "start": 23723, + "end": 23727, "loc": { "start": { - "line": 701, + "line": 706, "column": 12 }, "end": { - "line": 701, + "line": 706, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23506, - "end": 23509, + "start": 23728, + "end": 23731, "loc": { "start": { - "line": 701, + "line": 706, "column": 17 }, "end": { - "line": 701, + "line": 706, "column": 20 }, "identifierName": "log" @@ -41230,15 +41486,15 @@ "arguments": [ { "type": "Identifier", - "start": 23510, - "end": 23515, + "start": 23732, + "end": 23737, "loc": { "start": { - "line": 701, + "line": 706, "column": 21 }, "end": { - "line": 701, + "line": 706, "column": 26 }, "identifierName": "error" @@ -41247,15 +41503,15 @@ }, { "type": "StringLiteral", - "start": 23517, - "end": 23524, + "start": 23739, + "end": 23746, "loc": { "start": { - "line": 701, + "line": 706, "column": 28 }, "end": { - "line": 701, + "line": 706, "column": 35 } }, @@ -41275,15 +41531,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 23178, - "end": 23197, + "start": 23400, + "end": 23419, "loc": { "start": { - "line": 693, + "line": 698, "column": 8 }, "end": { - "line": 693, + "line": 698, "column": 27 } } @@ -41298,15 +41554,15 @@ { "type": "CommentBlock", "value": "*\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n ", - "start": 23034, - "end": 23144, + "start": 23256, + "end": 23366, "loc": { "start": { - "line": 686, + "line": 691, "column": 4 }, "end": { - "line": 691, + "line": 696, "column": 7 } } @@ -41316,15 +41572,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the play toggle is clicked.\n * @private\n ", - "start": 23548, - "end": 23621, + "start": 23770, + "end": 23843, "loc": { "start": { - "line": 705, + "line": 710, "column": 4 }, "end": { - "line": 708, + "line": 713, "column": 7 } } @@ -41333,15 +41589,15 @@ }, { "type": "ClassMethod", - "start": 23626, - "end": 23981, + "start": 23848, + "end": 24203, "loc": { "start": { - "line": 709, + "line": 714, "column": 4 }, "end": { - "line": 719, + "line": 724, "column": 5 } }, @@ -41349,15 +41605,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 23626, - "end": 23638, + "start": 23848, + "end": 23860, "loc": { "start": { - "line": 709, + "line": 714, "column": 4 }, "end": { - "line": 709, + "line": 714, "column": 16 }, "identifierName": "onPlayToggle" @@ -41373,129 +41629,129 @@ "params": [], "body": { "type": "BlockStatement", - "start": 23641, - "end": 23981, + "start": 23863, + "end": 24203, "loc": { "start": { - "line": 709, + "line": 714, "column": 19 }, "end": { - "line": 719, + "line": 724, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 23651, - "end": 23858, + "start": 23873, + "end": 24080, "loc": { "start": { - "line": 710, + "line": 715, "column": 8 }, "end": { - "line": 713, + "line": 718, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 23655, - "end": 23773, + "start": 23877, + "end": 23995, "loc": { "start": { - "line": 710, + "line": 715, "column": 12 }, "end": { - "line": 711, + "line": 716, "column": 67 } }, "left": { "type": "BinaryExpression", - "start": 23655, - "end": 23702, + "start": 23877, + "end": 23924, "loc": { "start": { - "line": 710, + "line": 715, "column": 12 }, "end": { - "line": 710, + "line": 715, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 23655, - "end": 23688, + "start": 23877, + "end": 23910, "loc": { "start": { - "line": 710, + "line": 715, "column": 12 }, "end": { - "line": 710, + "line": 715, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 23655, - "end": 23677, + "start": 23877, + "end": 23899, "loc": { "start": { - "line": 710, + "line": 715, "column": 12 }, "end": { - "line": 710, + "line": 715, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 23655, - "end": 23666, + "start": 23877, + "end": 23888, "loc": { "start": { - "line": 710, + "line": 715, "column": 12 }, "end": { - "line": 710, + "line": 715, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23655, - "end": 23659, + "start": 23877, + "end": 23881, "loc": { "start": { - "line": 710, + "line": 715, "column": 12 }, "end": { - "line": 710, + "line": 715, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23660, - "end": 23666, + "start": 23882, + "end": 23888, "loc": { "start": { - "line": 710, + "line": 715, "column": 17 }, "end": { - "line": 710, + "line": 715, "column": 23 }, "identifierName": "player" @@ -41506,15 +41762,15 @@ }, "property": { "type": "Identifier", - "start": 23667, - "end": 23677, + "start": 23889, + "end": 23899, "loc": { "start": { - "line": 710, + "line": 715, "column": 24 }, "end": { - "line": 710, + "line": 715, "column": 34 }, "identifierName": "controlBar" @@ -41525,15 +41781,15 @@ }, "property": { "type": "Identifier", - "start": 23678, - "end": 23688, + "start": 23900, + "end": 23910, "loc": { "start": { - "line": 710, + "line": 715, "column": 35 }, "end": { - "line": 710, + "line": 715, "column": 45 }, "identifierName": "playToggle" @@ -41545,15 +41801,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 23693, - "end": 23702, + "start": 23915, + "end": 23924, "loc": { "start": { - "line": 710, + "line": 715, "column": 50 }, "end": { - "line": 710, + "line": 715, "column": 59 }, "identifierName": "undefined" @@ -41564,100 +41820,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 23718, - "end": 23773, + "start": 23940, + "end": 23995, "loc": { "start": { - "line": 711, + "line": 716, "column": 12 }, "end": { - "line": 711, + "line": 716, "column": 67 } }, "callee": { "type": "MemberExpression", - "start": 23718, - "end": 23760, + "start": 23940, + "end": 23982, "loc": { "start": { - "line": 711, + "line": 716, "column": 12 }, "end": { - "line": 711, + "line": 716, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 23718, - "end": 23751, + "start": 23940, + "end": 23973, "loc": { "start": { - "line": 711, + "line": 716, "column": 12 }, "end": { - "line": 711, + "line": 716, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 23718, - "end": 23740, + "start": 23940, + "end": 23962, "loc": { "start": { - "line": 711, + "line": 716, "column": 12 }, "end": { - "line": 711, + "line": 716, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 23718, - "end": 23729, + "start": 23940, + "end": 23951, "loc": { "start": { - "line": 711, + "line": 716, "column": 12 }, "end": { - "line": 711, + "line": 716, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23718, - "end": 23722, + "start": 23940, + "end": 23944, "loc": { "start": { - "line": 711, + "line": 716, "column": 12 }, "end": { - "line": 711, + "line": 716, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23723, - "end": 23729, + "start": 23945, + "end": 23951, "loc": { "start": { - "line": 711, + "line": 716, "column": 17 }, "end": { - "line": 711, + "line": 716, "column": 23 }, "identifierName": "player" @@ -41668,15 +41924,15 @@ }, "property": { "type": "Identifier", - "start": 23730, - "end": 23740, + "start": 23952, + "end": 23962, "loc": { "start": { - "line": 711, + "line": 716, "column": 24 }, "end": { - "line": 711, + "line": 716, "column": 34 }, "identifierName": "controlBar" @@ -41687,15 +41943,15 @@ }, "property": { "type": "Identifier", - "start": 23741, - "end": 23751, + "start": 23963, + "end": 23973, "loc": { "start": { - "line": 711, + "line": 716, "column": 35 }, "end": { - "line": 711, + "line": 716, "column": 45 }, "identifierName": "playToggle" @@ -41706,15 +41962,15 @@ }, "property": { "type": "Identifier", - "start": 23752, - "end": 23760, + "start": 23974, + "end": 23982, "loc": { "start": { - "line": 711, + "line": 716, "column": 46 }, "end": { - "line": 711, + "line": 716, "column": 54 }, "identifierName": "hasClass" @@ -41726,15 +41982,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23761, - "end": 23772, + "start": 23983, + "end": 23994, "loc": { "start": { - "line": 711, + "line": 716, "column": 55 }, "end": { - "line": 711, + "line": 716, "column": 66 } }, @@ -41749,129 +42005,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 23775, - "end": 23858, + "start": 23997, + "end": 24080, "loc": { "start": { - "line": 711, + "line": 716, "column": 69 }, "end": { - "line": 713, + "line": 718, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23789, - "end": 23848, + "start": 24011, + "end": 24070, "loc": { "start": { - "line": 712, + "line": 717, "column": 12 }, "end": { - "line": 712, + "line": 717, "column": 71 } }, "expression": { "type": "CallExpression", - "start": 23789, - "end": 23847, + "start": 24011, + "end": 24069, "loc": { "start": { - "line": 712, + "line": 717, "column": 12 }, "end": { - "line": 712, + "line": 717, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 23789, - "end": 23834, + "start": 24011, + "end": 24056, "loc": { "start": { - "line": 712, + "line": 717, "column": 12 }, "end": { - "line": 712, + "line": 717, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 23789, - "end": 23822, + "start": 24011, + "end": 24044, "loc": { "start": { - "line": 712, + "line": 717, "column": 12 }, "end": { - "line": 712, + "line": 717, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 23789, - "end": 23811, + "start": 24011, + "end": 24033, "loc": { "start": { - "line": 712, + "line": 717, "column": 12 }, "end": { - "line": 712, + "line": 717, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 23789, - "end": 23800, + "start": 24011, + "end": 24022, "loc": { "start": { - "line": 712, + "line": 717, "column": 12 }, "end": { - "line": 712, + "line": 717, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23789, - "end": 23793, + "start": 24011, + "end": 24015, "loc": { "start": { - "line": 712, + "line": 717, "column": 12 }, "end": { - "line": 712, + "line": 717, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23794, - "end": 23800, + "start": 24016, + "end": 24022, "loc": { "start": { - "line": 712, + "line": 717, "column": 17 }, "end": { - "line": 712, + "line": 717, "column": 23 }, "identifierName": "player" @@ -41882,15 +42138,15 @@ }, "property": { "type": "Identifier", - "start": 23801, - "end": 23811, + "start": 24023, + "end": 24033, "loc": { "start": { - "line": 712, + "line": 717, "column": 24 }, "end": { - "line": 712, + "line": 717, "column": 34 }, "identifierName": "controlBar" @@ -41901,15 +42157,15 @@ }, "property": { "type": "Identifier", - "start": 23812, - "end": 23822, + "start": 24034, + "end": 24044, "loc": { "start": { - "line": 712, + "line": 717, "column": 35 }, "end": { - "line": 712, + "line": 717, "column": 45 }, "identifierName": "playToggle" @@ -41920,15 +42176,15 @@ }, "property": { "type": "Identifier", - "start": 23823, - "end": 23834, + "start": 24045, + "end": 24056, "loc": { "start": { - "line": 712, + "line": 717, "column": 46 }, "end": { - "line": 712, + "line": 717, "column": 57 }, "identifierName": "removeClass" @@ -41940,15 +42196,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23835, - "end": 23846, + "start": 24057, + "end": 24068, "loc": { "start": { - "line": 712, + "line": 717, "column": 58 }, "end": { - "line": 712, + "line": 717, "column": 69 } }, @@ -41968,86 +42224,86 @@ }, { "type": "IfStatement", - "start": 23867, - "end": 23975, + "start": 24089, + "end": 24197, "loc": { "start": { - "line": 714, + "line": 719, "column": 8 }, "end": { - "line": 718, + "line": 723, "column": 9 } }, "test": { "type": "CallExpression", - "start": 23871, - "end": 23894, + "start": 24093, + "end": 24116, "loc": { "start": { - "line": 714, + "line": 719, "column": 12 }, "end": { - "line": 714, + "line": 719, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 23871, - "end": 23892, + "start": 24093, + "end": 24114, "loc": { "start": { - "line": 714, + "line": 719, "column": 12 }, "end": { - "line": 714, + "line": 719, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 23871, - "end": 23882, + "start": 24093, + "end": 24104, "loc": { "start": { - "line": 714, + "line": 719, "column": 12 }, "end": { - "line": 714, + "line": 719, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23871, - "end": 23875, + "start": 24093, + "end": 24097, "loc": { "start": { - "line": 714, + "line": 719, "column": 12 }, "end": { - "line": 714, + "line": 719, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23876, - "end": 23882, + "start": 24098, + "end": 24104, "loc": { "start": { - "line": 714, + "line": 719, "column": 17 }, "end": { - "line": 714, + "line": 719, "column": 23 }, "identifierName": "surfer" @@ -42058,15 +42314,15 @@ }, "property": { "type": "Identifier", - "start": 23883, - "end": 23892, + "start": 24105, + "end": 24114, "loc": { "start": { - "line": 714, + "line": 719, "column": 24 }, "end": { - "line": 714, + "line": 719, "column": 33 }, "identifierName": "isPlaying" @@ -42079,87 +42335,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 23896, - "end": 23933, + "start": 24118, + "end": 24155, "loc": { "start": { - "line": 714, + "line": 719, "column": 37 }, "end": { - "line": 716, + "line": 721, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23910, - "end": 23923, + "start": 24132, + "end": 24145, "loc": { "start": { - "line": 715, + "line": 720, "column": 12 }, "end": { - "line": 715, + "line": 720, "column": 25 } }, "expression": { "type": "CallExpression", - "start": 23910, - "end": 23922, + "start": 24132, + "end": 24144, "loc": { "start": { - "line": 715, + "line": 720, "column": 12 }, "end": { - "line": 715, + "line": 720, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 23910, - "end": 23920, + "start": 24132, + "end": 24142, "loc": { "start": { - "line": 715, + "line": 720, "column": 12 }, "end": { - "line": 715, + "line": 720, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 23910, - "end": 23914, + "start": 24132, + "end": 24136, "loc": { "start": { - "line": 715, + "line": 720, "column": 12 }, "end": { - "line": 715, + "line": 720, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23915, - "end": 23920, + "start": 24137, + "end": 24142, "loc": { "start": { - "line": 715, + "line": 720, "column": 17 }, "end": { - "line": 715, + "line": 720, "column": 22 }, "identifierName": "pause" @@ -42176,87 +42432,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 23939, - "end": 23975, + "start": 24161, + "end": 24197, "loc": { "start": { - "line": 716, + "line": 721, "column": 15 }, "end": { - "line": 718, + "line": 723, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23953, - "end": 23965, + "start": 24175, + "end": 24187, "loc": { "start": { - "line": 717, + "line": 722, "column": 12 }, "end": { - "line": 717, + "line": 722, "column": 24 } }, "expression": { "type": "CallExpression", - "start": 23953, - "end": 23964, + "start": 24175, + "end": 24186, "loc": { "start": { - "line": 717, + "line": 722, "column": 12 }, "end": { - "line": 717, + "line": 722, "column": 23 } }, "callee": { "type": "MemberExpression", - "start": 23953, - "end": 23962, + "start": 24175, + "end": 24184, "loc": { "start": { - "line": 717, + "line": 722, "column": 12 }, "end": { - "line": 717, + "line": 722, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 23953, - "end": 23957, + "start": 24175, + "end": 24179, "loc": { "start": { - "line": 717, + "line": 722, "column": 12 }, "end": { - "line": 717, + "line": 722, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23958, - "end": 23962, + "start": 24180, + "end": 24184, "loc": { "start": { - "line": 717, + "line": 722, "column": 17 }, "end": { - "line": 717, + "line": 722, "column": 21 }, "identifierName": "play" @@ -42280,15 +42536,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the play toggle is clicked.\n * @private\n ", - "start": 23548, - "end": 23621, + "start": 23770, + "end": 23843, "loc": { "start": { - "line": 705, + "line": 710, "column": 4 }, "end": { - "line": 708, + "line": 713, "column": 7 } } @@ -42298,15 +42554,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the volume in the video.js player changes.\n * @private\n ", - "start": 23987, - "end": 24075, + "start": 24209, + "end": 24297, "loc": { "start": { - "line": 721, + "line": 726, "column": 4 }, "end": { - "line": 724, + "line": 729, "column": 7 } } @@ -42315,15 +42571,15 @@ }, { "type": "ClassMethod", - "start": 24080, - "end": 24323, + "start": 24302, + "end": 24545, "loc": { "start": { - "line": 725, + "line": 730, "column": 4 }, "end": { - "line": 734, + "line": 739, "column": 5 } }, @@ -42331,15 +42587,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 24080, - "end": 24094, + "start": 24302, + "end": 24316, "loc": { "start": { - "line": 725, + "line": 730, "column": 4 }, "end": { - "line": 725, + "line": 730, "column": 18 }, "identifierName": "onVolumeChange" @@ -42355,59 +42611,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 24097, - "end": 24323, + "start": 24319, + "end": 24545, "loc": { "start": { - "line": 725, + "line": 730, "column": 21 }, "end": { - "line": 734, + "line": 739, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 24107, - "end": 24141, + "start": 24329, + "end": 24363, "loc": { "start": { - "line": 726, + "line": 731, "column": 8 }, "end": { - "line": 726, + "line": 731, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24111, - "end": 24140, + "start": 24333, + "end": 24362, "loc": { "start": { - "line": 726, + "line": 731, "column": 12 }, "end": { - "line": 726, + "line": 731, "column": 41 } }, "id": { "type": "Identifier", - "start": 24111, - "end": 24117, + "start": 24333, + "end": 24339, "loc": { "start": { - "line": 726, + "line": 731, "column": 12 }, "end": { - "line": 726, + "line": 731, "column": 18 }, "identifierName": "volume" @@ -42416,72 +42672,72 @@ }, "init": { "type": "CallExpression", - "start": 24120, - "end": 24140, + "start": 24342, + "end": 24362, "loc": { "start": { - "line": 726, + "line": 731, "column": 21 }, "end": { - "line": 726, + "line": 731, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 24120, - "end": 24138, + "start": 24342, + "end": 24360, "loc": { "start": { - "line": 726, + "line": 731, "column": 21 }, "end": { - "line": 726, + "line": 731, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 24120, - "end": 24131, + "start": 24342, + "end": 24353, "loc": { "start": { - "line": 726, + "line": 731, "column": 21 }, "end": { - "line": 726, + "line": 731, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 24120, - "end": 24124, + "start": 24342, + "end": 24346, "loc": { "start": { - "line": 726, + "line": 731, "column": 21 }, "end": { - "line": 726, + "line": 731, "column": 25 } } }, "property": { "type": "Identifier", - "start": 24125, - "end": 24131, + "start": 24347, + "end": 24353, "loc": { "start": { - "line": 726, + "line": 731, "column": 26 }, "end": { - "line": 726, + "line": 731, "column": 32 }, "identifierName": "player" @@ -42492,15 +42748,15 @@ }, "property": { "type": "Identifier", - "start": 24132, - "end": 24138, + "start": 24354, + "end": 24360, "loc": { "start": { - "line": 726, + "line": 731, "column": 33 }, "end": { - "line": 726, + "line": 731, "column": 39 }, "identifierName": "volume" @@ -42517,86 +42773,86 @@ }, { "type": "IfStatement", - "start": 24150, - "end": 24238, + "start": 24372, + "end": 24460, "loc": { "start": { - "line": 727, + "line": 732, "column": 8 }, "end": { - "line": 730, + "line": 735, "column": 9 } }, "test": { "type": "CallExpression", - "start": 24154, - "end": 24173, + "start": 24376, + "end": 24395, "loc": { "start": { - "line": 727, + "line": 732, "column": 12 }, "end": { - "line": 727, + "line": 732, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 24154, - "end": 24171, + "start": 24376, + "end": 24393, "loc": { "start": { - "line": 727, + "line": 732, "column": 12 }, "end": { - "line": 727, + "line": 732, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 24154, - "end": 24165, + "start": 24376, + "end": 24387, "loc": { "start": { - "line": 727, + "line": 732, "column": 12 }, "end": { - "line": 727, + "line": 732, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 24154, - "end": 24158, + "start": 24376, + "end": 24380, "loc": { "start": { - "line": 727, + "line": 732, "column": 12 }, "end": { - "line": 727, + "line": 732, "column": 16 } } }, "property": { "type": "Identifier", - "start": 24159, - "end": 24165, + "start": 24381, + "end": 24387, "loc": { "start": { - "line": 727, + "line": 732, "column": 17 }, "end": { - "line": 727, + "line": 732, "column": 23 }, "identifierName": "player" @@ -42607,15 +42863,15 @@ }, "property": { "type": "Identifier", - "start": 24166, - "end": 24171, + "start": 24388, + "end": 24393, "loc": { "start": { - "line": 727, + "line": 732, "column": 24 }, "end": { - "line": 727, + "line": 732, "column": 29 }, "identifierName": "muted" @@ -42628,59 +42884,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 24175, - "end": 24238, + "start": 24397, + "end": 24460, "loc": { "start": { - "line": 727, + "line": 732, "column": 33 }, "end": { - "line": 730, + "line": 735, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 24217, - "end": 24228, + "start": 24439, + "end": 24450, "loc": { "start": { - "line": 729, + "line": 734, "column": 12 }, "end": { - "line": 729, + "line": 734, "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 24217, - "end": 24227, + "start": 24439, + "end": 24449, "loc": { "start": { - "line": 729, + "line": 734, "column": 12 }, "end": { - "line": 729, + "line": 734, "column": 22 } }, "operator": "=", "left": { "type": "Identifier", - "start": 24217, - "end": 24223, + "start": 24439, + "end": 24445, "loc": { "start": { - "line": 729, + "line": 734, "column": 12 }, "end": { - "line": 729, + "line": 734, "column": 18 }, "identifierName": "volume" @@ -42690,15 +42946,15 @@ }, "right": { "type": "NumericLiteral", - "start": 24226, - "end": 24227, + "start": 24448, + "end": 24449, "loc": { "start": { - "line": 729, + "line": 734, "column": 21 }, "end": { - "line": 729, + "line": 734, "column": 22 } }, @@ -42714,15 +42970,15 @@ { "type": "CommentLine", "value": " muted volume", - "start": 24189, - "end": 24204, + "start": 24411, + "end": 24426, "loc": { "start": { - "line": 728, + "line": 733, "column": 12 }, "end": { - "line": 728, + "line": 733, "column": 27 } } @@ -42738,15 +42994,15 @@ { "type": "CommentLine", "value": " update wavesurfer.js volume", - "start": 24248, - "end": 24278, + "start": 24470, + "end": 24500, "loc": { "start": { - "line": 732, + "line": 737, "column": 8 }, "end": { - "line": 732, + "line": 737, "column": 38 } } @@ -42755,71 +43011,71 @@ }, { "type": "ExpressionStatement", - "start": 24287, - "end": 24317, + "start": 24509, + "end": 24539, "loc": { "start": { - "line": 733, + "line": 738, "column": 8 }, "end": { - "line": 733, + "line": 738, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 24287, - "end": 24316, + "start": 24509, + "end": 24538, "loc": { "start": { - "line": 733, + "line": 738, "column": 8 }, "end": { - "line": 733, + "line": 738, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 24287, - "end": 24308, + "start": 24509, + "end": 24530, "loc": { "start": { - "line": 733, + "line": 738, "column": 8 }, "end": { - "line": 733, + "line": 738, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 24287, - "end": 24298, + "start": 24509, + "end": 24520, "loc": { "start": { - "line": 733, + "line": 738, "column": 8 }, "end": { - "line": 733, + "line": 738, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 24287, - "end": 24291, + "start": 24509, + "end": 24513, "loc": { "start": { - "line": 733, + "line": 738, "column": 8 }, "end": { - "line": 733, + "line": 738, "column": 12 } }, @@ -42827,15 +43083,15 @@ }, "property": { "type": "Identifier", - "start": 24292, - "end": 24298, + "start": 24514, + "end": 24520, "loc": { "start": { - "line": 733, + "line": 738, "column": 13 }, "end": { - "line": 733, + "line": 738, "column": 19 }, "identifierName": "surfer" @@ -42847,15 +43103,15 @@ }, "property": { "type": "Identifier", - "start": 24299, - "end": 24308, + "start": 24521, + "end": 24530, "loc": { "start": { - "line": 733, + "line": 738, "column": 20 }, "end": { - "line": 733, + "line": 738, "column": 29 }, "identifierName": "setVolume" @@ -42868,15 +43124,15 @@ "arguments": [ { "type": "Identifier", - "start": 24309, - "end": 24315, + "start": 24531, + "end": 24537, "loc": { "start": { - "line": 733, + "line": 738, "column": 30 }, "end": { - "line": 733, + "line": 738, "column": 36 }, "identifierName": "volume" @@ -42890,15 +43146,15 @@ { "type": "CommentLine", "value": " update wavesurfer.js volume", - "start": 24248, - "end": 24278, + "start": 24470, + "end": 24500, "loc": { "start": { - "line": 732, + "line": 737, "column": 8 }, "end": { - "line": 732, + "line": 737, "column": 38 } } @@ -42913,15 +43169,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the volume in the video.js player changes.\n * @private\n ", - "start": 23987, - "end": 24075, + "start": 24209, + "end": 24297, "loc": { "start": { - "line": 721, + "line": 726, "column": 4 }, "end": { - "line": 724, + "line": 729, "column": 7 } } @@ -42931,15 +43187,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n ", - "start": 24329, - "end": 24433, + "start": 24551, + "end": 24655, "loc": { "start": { - "line": 736, + "line": 741, "column": 4 }, "end": { - "line": 739, + "line": 744, "column": 7 } } @@ -42948,15 +43204,15 @@ }, { "type": "ClassMethod", - "start": 24438, - "end": 25412, + "start": 24660, + "end": 25634, "loc": { "start": { - "line": 740, + "line": 745, "column": 4 }, "end": { - "line": 766, + "line": 771, "column": 5 } }, @@ -42964,15 +43220,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 24438, - "end": 24452, + "start": 24660, + "end": 24674, "loc": { "start": { - "line": 740, + "line": 745, "column": 4 }, "end": { - "line": 740, + "line": 745, "column": 18 }, "identifierName": "onScreenChange" @@ -42988,59 +43244,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 24455, - "end": 25412, + "start": 24677, + "end": 25634, "loc": { "start": { - "line": 740, + "line": 745, "column": 21 }, "end": { - "line": 766, + "line": 771, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 24589, - "end": 25406, + "start": 24811, + "end": 25628, "loc": { "start": { - "line": 743, + "line": 748, "column": 8 }, "end": { - "line": 765, + "line": 770, "column": 16 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24593, - "end": 25405, + "start": 24815, + "end": 25627, "loc": { "start": { - "line": 743, + "line": 748, "column": 12 }, "end": { - "line": 765, + "line": 770, "column": 15 } }, "id": { "type": "Identifier", - "start": 24593, - "end": 24608, + "start": 24815, + "end": 24830, "loc": { "start": { - "line": 743, + "line": 748, "column": 12 }, "end": { - "line": 743, + "line": 748, "column": 27 }, "identifierName": "fullscreenDelay" @@ -43050,72 +43306,72 @@ }, "init": { "type": "CallExpression", - "start": 24611, - "end": 25405, + "start": 24833, + "end": 25627, "loc": { "start": { - "line": 743, + "line": 748, "column": 30 }, "end": { - "line": 765, + "line": 770, "column": 15 } }, "callee": { "type": "MemberExpression", - "start": 24611, - "end": 24634, + "start": 24833, + "end": 24856, "loc": { "start": { - "line": 743, + "line": 748, "column": 30 }, "end": { - "line": 743, + "line": 748, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 24611, - "end": 24622, + "start": 24833, + "end": 24844, "loc": { "start": { - "line": 743, + "line": 748, "column": 30 }, "end": { - "line": 743, + "line": 748, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 24611, - "end": 24615, + "start": 24833, + "end": 24837, "loc": { "start": { - "line": 743, + "line": 748, "column": 30 }, "end": { - "line": 743, + "line": 748, "column": 34 } } }, "property": { "type": "Identifier", - "start": 24616, - "end": 24622, + "start": 24838, + "end": 24844, "loc": { "start": { - "line": 743, + "line": 748, "column": 35 }, "end": { - "line": 743, + "line": 748, "column": 41 }, "identifierName": "player" @@ -43126,15 +43382,15 @@ }, "property": { "type": "Identifier", - "start": 24623, - "end": 24634, + "start": 24845, + "end": 24856, "loc": { "start": { - "line": 743, + "line": 748, "column": 42 }, "end": { - "line": 743, + "line": 748, "column": 53 }, "identifierName": "setInterval" @@ -43146,15 +43402,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 24635, - "end": 25399, + "start": 24857, + "end": 25621, "loc": { "start": { - "line": 743, + "line": 748, "column": 54 }, "end": { - "line": 765, + "line": 770, "column": 9 } }, @@ -43165,59 +43421,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 24641, - "end": 25399, + "start": 24863, + "end": 25621, "loc": { "start": { - "line": 743, + "line": 748, "column": 60 }, "end": { - "line": 765, + "line": 770, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 24655, - "end": 24701, + "start": 24877, + "end": 24923, "loc": { "start": { - "line": 744, + "line": 749, "column": 12 }, "end": { - "line": 744, + "line": 749, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24659, - "end": 24700, + "start": 24881, + "end": 24922, "loc": { "start": { - "line": 744, + "line": 749, "column": 16 }, "end": { - "line": 744, + "line": 749, "column": 57 } }, "id": { "type": "Identifier", - "start": 24659, - "end": 24671, + "start": 24881, + "end": 24893, "loc": { "start": { - "line": 744, + "line": 749, "column": 16 }, "end": { - "line": 744, + "line": 749, "column": 28 }, "identifierName": "isFullscreen" @@ -43226,72 +43482,72 @@ }, "init": { "type": "CallExpression", - "start": 24674, - "end": 24700, + "start": 24896, + "end": 24922, "loc": { "start": { - "line": 744, + "line": 749, "column": 31 }, "end": { - "line": 744, + "line": 749, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 24674, - "end": 24698, + "start": 24896, + "end": 24920, "loc": { "start": { - "line": 744, + "line": 749, "column": 31 }, "end": { - "line": 744, + "line": 749, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 24674, - "end": 24685, + "start": 24896, + "end": 24907, "loc": { "start": { - "line": 744, + "line": 749, "column": 31 }, "end": { - "line": 744, + "line": 749, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 24674, - "end": 24678, + "start": 24896, + "end": 24900, "loc": { "start": { - "line": 744, + "line": 749, "column": 31 }, "end": { - "line": 744, + "line": 749, "column": 35 } } }, "property": { "type": "Identifier", - "start": 24679, - "end": 24685, + "start": 24901, + "end": 24907, "loc": { "start": { - "line": 744, + "line": 749, "column": 36 }, "end": { - "line": 744, + "line": 749, "column": 42 }, "identifierName": "player" @@ -43302,15 +43558,15 @@ }, "property": { "type": "Identifier", - "start": 24686, - "end": 24698, + "start": 24908, + "end": 24920, "loc": { "start": { - "line": 744, + "line": 749, "column": 43 }, "end": { - "line": 744, + "line": 749, "column": 55 }, "identifierName": "isFullscreen" @@ -43327,44 +43583,44 @@ }, { "type": "VariableDeclaration", - "start": 24714, - "end": 24738, + "start": 24936, + "end": 24960, "loc": { "start": { - "line": 745, + "line": 750, "column": 12 }, "end": { - "line": 745, + "line": 750, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24718, - "end": 24726, + "start": 24940, + "end": 24948, "loc": { "start": { - "line": 745, + "line": 750, "column": 16 }, "end": { - "line": 745, + "line": 750, "column": 24 } }, "id": { "type": "Identifier", - "start": 24718, - "end": 24726, + "start": 24940, + "end": 24948, "loc": { "start": { - "line": 745, + "line": 750, "column": 16 }, "end": { - "line": 745, + "line": 750, "column": 24 }, "identifierName": "newWidth" @@ -43375,29 +43631,29 @@ }, { "type": "VariableDeclarator", - "start": 24728, - "end": 24737, + "start": 24950, + "end": 24959, "loc": { "start": { - "line": 745, + "line": 750, "column": 26 }, "end": { - "line": 745, + "line": 750, "column": 35 } }, "id": { "type": "Identifier", - "start": 24728, - "end": 24737, + "start": 24950, + "end": 24959, "loc": { "start": { - "line": 745, + "line": 750, "column": 26 }, "end": { - "line": 745, + "line": 750, "column": 35 }, "identifierName": "newHeight" @@ -43411,29 +43667,29 @@ }, { "type": "IfStatement", - "start": 24751, - "end": 24928, + "start": 24973, + "end": 25150, "loc": { "start": { - "line": 746, + "line": 751, "column": 12 }, "end": { - "line": 750, + "line": 755, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 24755, - "end": 24768, + "start": 24977, + "end": 24990, "loc": { "start": { - "line": 746, + "line": 751, "column": 16 }, "end": { - "line": 746, + "line": 751, "column": 29 } }, @@ -43441,15 +43697,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 24756, - "end": 24768, + "start": 24978, + "end": 24990, "loc": { "start": { - "line": 746, + "line": 751, "column": 17 }, "end": { - "line": 746, + "line": 751, "column": 29 }, "identifierName": "isFullscreen" @@ -43462,59 +43718,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 24770, - "end": 24928, + "start": 24992, + "end": 25150, "loc": { "start": { - "line": 746, + "line": 751, "column": 31 }, "end": { - "line": 750, + "line": 755, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 24835, - "end": 24865, + "start": 25057, + "end": 25087, "loc": { "start": { - "line": 748, + "line": 753, "column": 16 }, "end": { - "line": 748, + "line": 753, "column": 46 } }, "expression": { "type": "AssignmentExpression", - "start": 24835, - "end": 24864, + "start": 25057, + "end": 25086, "loc": { "start": { - "line": 748, + "line": 753, "column": 16 }, "end": { - "line": 748, + "line": 753, "column": 45 } }, "operator": "=", "left": { "type": "Identifier", - "start": 24835, - "end": 24843, + "start": 25057, + "end": 25065, "loc": { "start": { - "line": 748, + "line": 753, "column": 16 }, "end": { - "line": 748, + "line": 753, "column": 24 }, "identifierName": "newWidth" @@ -43524,44 +43780,44 @@ }, "right": { "type": "MemberExpression", - "start": 24846, - "end": 24864, + "start": 25068, + "end": 25086, "loc": { "start": { - "line": 748, + "line": 753, "column": 27 }, "end": { - "line": 748, + "line": 753, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 24846, - "end": 24850, + "start": 25068, + "end": 25072, "loc": { "start": { - "line": 748, + "line": 753, "column": 27 }, "end": { - "line": 748, + "line": 753, "column": 31 } } }, "property": { "type": "Identifier", - "start": 24851, - "end": 24864, + "start": 25073, + "end": 25086, "loc": { "start": { - "line": 748, + "line": 753, "column": 32 }, "end": { - "line": 748, + "line": 753, "column": 45 }, "identifierName": "originalWidth" @@ -43576,15 +43832,15 @@ { "type": "CommentLine", "value": " restore original dimensions", - "start": 24788, - "end": 24818, + "start": 25010, + "end": 25040, "loc": { "start": { - "line": 747, + "line": 752, "column": 16 }, "end": { - "line": 747, + "line": 752, "column": 46 } } @@ -43593,44 +43849,44 @@ }, { "type": "ExpressionStatement", - "start": 24882, - "end": 24914, + "start": 25104, + "end": 25136, "loc": { "start": { - "line": 749, + "line": 754, "column": 16 }, "end": { - "line": 749, + "line": 754, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 24882, - "end": 24913, + "start": 25104, + "end": 25135, "loc": { "start": { - "line": 749, + "line": 754, "column": 16 }, "end": { - "line": 749, + "line": 754, "column": 47 } }, "operator": "=", "left": { "type": "Identifier", - "start": 24882, - "end": 24891, + "start": 25104, + "end": 25113, "loc": { "start": { - "line": 749, + "line": 754, "column": 16 }, "end": { - "line": 749, + "line": 754, "column": 25 }, "identifierName": "newHeight" @@ -43639,44 +43895,44 @@ }, "right": { "type": "MemberExpression", - "start": 24894, - "end": 24913, + "start": 25116, + "end": 25135, "loc": { "start": { - "line": 749, + "line": 754, "column": 28 }, "end": { - "line": 749, + "line": 754, "column": 47 } }, "object": { "type": "ThisExpression", - "start": 24894, - "end": 24898, + "start": 25116, + "end": 25120, "loc": { "start": { - "line": 749, + "line": 754, "column": 28 }, "end": { - "line": 749, + "line": 754, "column": 32 } } }, "property": { "type": "Identifier", - "start": 24899, - "end": 24913, + "start": 25121, + "end": 25135, "loc": { "start": { - "line": 749, + "line": 754, "column": 33 }, "end": { - "line": 749, + "line": 754, "column": 47 }, "identifierName": "originalHeight" @@ -43694,58 +43950,58 @@ }, { "type": "IfStatement", - "start": 24942, - "end": 25286, + "start": 25164, + "end": 25508, "loc": { "start": { - "line": 752, + "line": 757, "column": 12 }, "end": { - "line": 760, + "line": 765, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 24946, - "end": 24960, + "start": 25168, + "end": 25182, "loc": { "start": { - "line": 752, + "line": 757, "column": 16 }, "end": { - "line": 752, + "line": 757, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 24946, - "end": 24950, + "start": 25168, + "end": 25172, "loc": { "start": { - "line": 752, + "line": 757, "column": 16 }, "end": { - "line": 752, + "line": 757, "column": 20 } } }, "property": { "type": "Identifier", - "start": 24951, - "end": 24960, + "start": 25173, + "end": 25182, "loc": { "start": { - "line": 752, + "line": 757, "column": 21 }, "end": { - "line": 752, + "line": 757, "column": 30 }, "identifierName": "waveReady" @@ -43756,87 +44012,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 24962, - "end": 25286, + "start": 25184, + "end": 25508, "loc": { "start": { - "line": 752, + "line": 757, "column": 32 }, "end": { - "line": 760, + "line": 765, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 24980, - "end": 25188, + "start": 25202, + "end": 25410, "loc": { "start": { - "line": 753, + "line": 758, "column": 16 }, "end": { - "line": 757, + "line": 762, "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 24984, - "end": 25031, + "start": 25206, + "end": 25253, "loc": { "start": { - "line": 753, + "line": 758, "column": 20 }, "end": { - "line": 753, + "line": 758, "column": 67 } }, "left": { "type": "MemberExpression", - "start": 24984, - "end": 24997, + "start": 25206, + "end": 25219, "loc": { "start": { - "line": 753, + "line": 758, "column": 20 }, "end": { - "line": 753, + "line": 758, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 24984, - "end": 24988, + "start": 25206, + "end": 25210, "loc": { "start": { - "line": 753, + "line": 758, "column": 20 }, "end": { - "line": 753, + "line": 758, "column": 24 } } }, "property": { "type": "Identifier", - "start": 24989, - "end": 24997, + "start": 25211, + "end": 25219, "loc": { "start": { - "line": 753, + "line": 758, "column": 25 }, "end": { - "line": 753, + "line": 758, "column": 33 }, "identifierName": "liveMode" @@ -43848,15 +44104,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 25001, - "end": 25031, + "start": 25223, + "end": 25253, "loc": { "start": { - "line": 753, + "line": 758, "column": 37 }, "end": { - "line": 753, + "line": 758, "column": 67 } }, @@ -43864,72 +44120,72 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 25002, - "end": 25031, + "start": 25224, + "end": 25253, "loc": { "start": { - "line": 753, + "line": 758, "column": 38 }, "end": { - "line": 753, + "line": 758, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 25002, - "end": 25024, + "start": 25224, + "end": 25246, "loc": { "start": { - "line": 753, + "line": 758, "column": 38 }, "end": { - "line": 753, + "line": 758, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 25002, - "end": 25013, + "start": 25224, + "end": 25235, "loc": { "start": { - "line": 753, + "line": 758, "column": 38 }, "end": { - "line": 753, + "line": 758, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 25002, - "end": 25006, + "start": 25224, + "end": 25228, "loc": { "start": { - "line": 753, + "line": 758, "column": 38 }, "end": { - "line": 753, + "line": 758, "column": 42 } } }, "property": { "type": "Identifier", - "start": 25007, - "end": 25013, + "start": 25229, + "end": 25235, "loc": { "start": { - "line": 753, + "line": 758, "column": 43 }, "end": { - "line": 753, + "line": 758, "column": 49 }, "identifierName": "surfer" @@ -43940,15 +44196,15 @@ }, "property": { "type": "Identifier", - "start": 25014, - "end": 25024, + "start": 25236, + "end": 25246, "loc": { "start": { - "line": 753, + "line": 758, "column": 50 }, "end": { - "line": 753, + "line": 758, "column": 60 }, "identifierName": "microphone" @@ -43959,15 +44215,15 @@ }, "property": { "type": "Identifier", - "start": 25025, - "end": 25031, + "start": 25247, + "end": 25253, "loc": { "start": { - "line": 753, + "line": 758, "column": 61 }, "end": { - "line": 753, + "line": 758, "column": 67 }, "identifierName": "active" @@ -43983,30 +44239,30 @@ }, "consequent": { "type": "BlockStatement", - "start": 25033, - "end": 25188, + "start": 25255, + "end": 25410, "loc": { "start": { - "line": 753, + "line": 758, "column": 69 }, "end": { - "line": 757, + "line": 762, "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 25163, - "end": 25170, + "start": 25385, + "end": 25392, "loc": { "start": { - "line": 756, + "line": 761, "column": 20 }, "end": { - "line": 756, + "line": 761, "column": 27 } }, @@ -44015,15 +44271,15 @@ { "type": "CommentLine", "value": " we're in live mode but the microphone hasn't been", - "start": 25055, - "end": 25107, + "start": 25277, + "end": 25329, "loc": { "start": { - "line": 754, + "line": 759, "column": 20 }, "end": { - "line": 754, + "line": 759, "column": 72 } } @@ -44031,15 +44287,15 @@ { "type": "CommentLine", "value": " started yet", - "start": 25128, - "end": 25142, + "start": 25350, + "end": 25364, "loc": { "start": { - "line": 755, + "line": 760, "column": 20 }, "end": { - "line": 755, + "line": 760, "column": 34 } } @@ -44055,15 +44311,15 @@ { "type": "CommentLine", "value": " redraw", - "start": 25205, - "end": 25214, + "start": 25427, + "end": 25436, "loc": { "start": { - "line": 758, + "line": 763, "column": 16 }, "end": { - "line": 758, + "line": 763, "column": 25 } } @@ -44072,57 +44328,57 @@ }, { "type": "ExpressionStatement", - "start": 25231, - "end": 25272, + "start": 25453, + "end": 25494, "loc": { "start": { - "line": 759, + "line": 764, "column": 16 }, "end": { - "line": 759, + "line": 764, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 25231, - "end": 25271, + "start": 25453, + "end": 25493, "loc": { "start": { - "line": 759, + "line": 764, "column": 16 }, "end": { - "line": 759, + "line": 764, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 25231, - "end": 25250, + "start": 25453, + "end": 25472, "loc": { "start": { - "line": 759, + "line": 764, "column": 16 }, "end": { - "line": 759, + "line": 764, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 25231, - "end": 25235, + "start": 25453, + "end": 25457, "loc": { "start": { - "line": 759, + "line": 764, "column": 16 }, "end": { - "line": 759, + "line": 764, "column": 20 } }, @@ -44130,15 +44386,15 @@ }, "property": { "type": "Identifier", - "start": 25236, - "end": 25250, + "start": 25458, + "end": 25472, "loc": { "start": { - "line": 759, + "line": 764, "column": 21 }, "end": { - "line": 759, + "line": 764, "column": 35 }, "identifierName": "redrawWaveform" @@ -44151,15 +44407,15 @@ "arguments": [ { "type": "Identifier", - "start": 25251, - "end": 25259, + "start": 25473, + "end": 25481, "loc": { "start": { - "line": 759, + "line": 764, "column": 36 }, "end": { - "line": 759, + "line": 764, "column": 44 }, "identifierName": "newWidth" @@ -44168,15 +44424,15 @@ }, { "type": "Identifier", - "start": 25261, - "end": 25270, + "start": 25483, + "end": 25492, "loc": { "start": { - "line": 759, + "line": 764, "column": 46 }, "end": { - "line": 759, + "line": 764, "column": 55 }, "identifierName": "newHeight" @@ -44190,15 +44446,15 @@ { "type": "CommentLine", "value": " redraw", - "start": 25205, - "end": 25214, + "start": 25427, + "end": 25436, "loc": { "start": { - "line": 758, + "line": 763, "column": 16 }, "end": { - "line": 758, + "line": 763, "column": 25 } } @@ -44214,15 +44470,15 @@ { "type": "CommentLine", "value": " stop fullscreenDelay interval", - "start": 25300, - "end": 25332, + "start": 25522, + "end": 25554, "loc": { "start": { - "line": 762, + "line": 767, "column": 12 }, "end": { - "line": 762, + "line": 767, "column": 44 } } @@ -44231,71 +44487,71 @@ }, { "type": "ExpressionStatement", - "start": 25345, - "end": 25388, + "start": 25567, + "end": 25610, "loc": { "start": { - "line": 763, + "line": 768, "column": 12 }, "end": { - "line": 763, + "line": 768, "column": 55 } }, "expression": { "type": "CallExpression", - "start": 25345, - "end": 25387, + "start": 25567, + "end": 25609, "loc": { "start": { - "line": 763, + "line": 768, "column": 12 }, "end": { - "line": 763, + "line": 768, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 25345, - "end": 25370, + "start": 25567, + "end": 25592, "loc": { "start": { - "line": 763, + "line": 768, "column": 12 }, "end": { - "line": 763, + "line": 768, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 25345, - "end": 25356, + "start": 25567, + "end": 25578, "loc": { "start": { - "line": 763, + "line": 768, "column": 12 }, "end": { - "line": 763, + "line": 768, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 25345, - "end": 25349, + "start": 25567, + "end": 25571, "loc": { "start": { - "line": 763, + "line": 768, "column": 12 }, "end": { - "line": 763, + "line": 768, "column": 16 } }, @@ -44303,15 +44559,15 @@ }, "property": { "type": "Identifier", - "start": 25350, - "end": 25356, + "start": 25572, + "end": 25578, "loc": { "start": { - "line": 763, + "line": 768, "column": 17 }, "end": { - "line": 763, + "line": 768, "column": 23 }, "identifierName": "player" @@ -44323,15 +44579,15 @@ }, "property": { "type": "Identifier", - "start": 25357, - "end": 25370, + "start": 25579, + "end": 25592, "loc": { "start": { - "line": 763, + "line": 768, "column": 24 }, "end": { - "line": 763, + "line": 768, "column": 37 }, "identifierName": "clearInterval" @@ -44344,15 +44600,15 @@ "arguments": [ { "type": "Identifier", - "start": 25371, - "end": 25386, + "start": 25593, + "end": 25608, "loc": { "start": { - "line": 763, + "line": 768, "column": 38 }, "end": { - "line": 763, + "line": 768, "column": 53 }, "identifierName": "fullscreenDelay" @@ -44366,15 +44622,15 @@ { "type": "CommentLine", "value": " stop fullscreenDelay interval", - "start": 25300, - "end": 25332, + "start": 25522, + "end": 25554, "loc": { "start": { - "line": 762, + "line": 767, "column": 12 }, "end": { - "line": 762, + "line": 767, "column": 44 } } @@ -44387,15 +44643,15 @@ }, { "type": "NumericLiteral", - "start": 25401, - "end": 25404, + "start": 25623, + "end": 25626, "loc": { "start": { - "line": 765, + "line": 770, "column": 11 }, "end": { - "line": 765, + "line": 770, "column": 14 } }, @@ -44415,15 +44671,15 @@ { "type": "CommentLine", "value": " execute with tiny delay so the player element completes", - "start": 24465, - "end": 24523, + "start": 24687, + "end": 24745, "loc": { "start": { - "line": 741, + "line": 746, "column": 8 }, "end": { - "line": 741, + "line": 746, "column": 66 } } @@ -44431,15 +44687,15 @@ { "type": "CommentLine", "value": " rendering and correct dimensions are reported", - "start": 24532, - "end": 24580, + "start": 24754, + "end": 24802, "loc": { "start": { - "line": 742, + "line": 747, "column": 8 }, "end": { - "line": 742, + "line": 747, "column": 56 } } @@ -44454,15 +44710,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n ", - "start": 24329, - "end": 24433, + "start": 24551, + "end": 24655, "loc": { "start": { - "line": 736, + "line": 741, "column": 4 }, "end": { - "line": 739, + "line": 744, "column": 7 } } @@ -44472,15 +44728,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player is resized.\n *\n * @private\n ", - "start": 25418, - "end": 25502, + "start": 25640, + "end": 25724, "loc": { "start": { - "line": 768, + "line": 773, "column": 4 }, "end": { - "line": 772, + "line": 777, "column": 7 } } @@ -44489,15 +44745,15 @@ }, { "type": "ClassMethod", - "start": 25507, - "end": 25648, + "start": 25729, + "end": 25870, "loc": { "start": { - "line": 773, + "line": 778, "column": 4 }, "end": { - "line": 778, + "line": 783, "column": 5 } }, @@ -44505,15 +44761,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 25507, - "end": 25521, + "start": 25729, + "end": 25743, "loc": { "start": { - "line": 773, + "line": 778, "column": 4 }, "end": { - "line": 773, + "line": 778, "column": 18 }, "identifierName": "onResizeChange" @@ -44529,87 +44785,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 25524, - "end": 25648, + "start": 25746, + "end": 25870, "loc": { "start": { - "line": 773, + "line": 778, "column": 21 }, "end": { - "line": 778, + "line": 783, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 25534, - "end": 25642, + "start": 25756, + "end": 25864, "loc": { "start": { - "line": 774, + "line": 779, "column": 8 }, "end": { - "line": 777, + "line": 782, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 25538, - "end": 25563, + "start": 25760, + "end": 25785, "loc": { "start": { - "line": 774, + "line": 779, "column": 12 }, "end": { - "line": 774, + "line": 779, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 25538, - "end": 25549, + "start": 25760, + "end": 25771, "loc": { "start": { - "line": 774, + "line": 779, "column": 12 }, "end": { - "line": 774, + "line": 779, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 25538, - "end": 25542, + "start": 25760, + "end": 25764, "loc": { "start": { - "line": 774, + "line": 779, "column": 12 }, "end": { - "line": 774, + "line": 779, "column": 16 } } }, "property": { "type": "Identifier", - "start": 25543, - "end": 25549, + "start": 25765, + "end": 25771, "loc": { "start": { - "line": 774, + "line": 779, "column": 17 }, "end": { - "line": 774, + "line": 779, "column": 23 }, "identifierName": "surfer" @@ -44621,15 +44877,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 25554, - "end": 25563, + "start": 25776, + "end": 25785, "loc": { "start": { - "line": 774, + "line": 779, "column": 28 }, "end": { - "line": 774, + "line": 779, "column": 37 }, "identifierName": "undefined" @@ -44639,72 +44895,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 25565, - "end": 25642, + "start": 25787, + "end": 25864, "loc": { "start": { - "line": 774, + "line": 779, "column": 39 }, "end": { - "line": 777, + "line": 782, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 25610, - "end": 25632, + "start": 25832, + "end": 25854, "loc": { "start": { - "line": 776, + "line": 781, "column": 12 }, "end": { - "line": 776, + "line": 781, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 25610, - "end": 25631, + "start": 25832, + "end": 25853, "loc": { "start": { - "line": 776, + "line": 781, "column": 12 }, "end": { - "line": 776, + "line": 781, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 25610, - "end": 25629, + "start": 25832, + "end": 25851, "loc": { "start": { - "line": 776, + "line": 781, "column": 12 }, "end": { - "line": 776, + "line": 781, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 25610, - "end": 25614, + "start": 25832, + "end": 25836, "loc": { "start": { - "line": 776, + "line": 781, "column": 12 }, "end": { - "line": 776, + "line": 781, "column": 16 } }, @@ -44712,15 +44968,15 @@ }, "property": { "type": "Identifier", - "start": 25615, - "end": 25629, + "start": 25837, + "end": 25851, "loc": { "start": { - "line": 776, + "line": 781, "column": 17 }, "end": { - "line": 776, + "line": 781, "column": 31 }, "identifierName": "redrawWaveform" @@ -44737,15 +44993,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 25579, - "end": 25597, + "start": 25801, + "end": 25819, "loc": { "start": { - "line": 775, + "line": 780, "column": 12 }, "end": { - "line": 775, + "line": 780, "column": 30 } } @@ -44765,15 +45021,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player is resized.\n *\n * @private\n ", - "start": 25418, - "end": 25502, + "start": 25640, + "end": 25724, "loc": { "start": { - "line": 768, + "line": 773, "column": 4 }, "end": { - "line": 772, + "line": 777, "column": 7 } } @@ -44783,15 +45039,15 @@ { "type": "CommentBlock", "value": "*\n * Redraw waveform.\n *\n * @param {number} [newWidth] - New width for the waveform.\n * @param {number} [newHeight] - New height for the waveform.\n * @private\n ", - "start": 25654, - "end": 25842, + "start": 25876, + "end": 26064, "loc": { "start": { - "line": 780, + "line": 785, "column": 4 }, "end": { - "line": 786, + "line": 791, "column": 7 } } @@ -44800,15 +45056,15 @@ }, { "type": "ClassMethod", - "start": 25847, - "end": 26926, + "start": 26069, + "end": 27148, "loc": { "start": { - "line": 787, + "line": 792, "column": 4 }, "end": { - "line": 816, + "line": 821, "column": 5 } }, @@ -44816,15 +45072,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 25847, - "end": 25861, + "start": 26069, + "end": 26083, "loc": { "start": { - "line": 787, + "line": 792, "column": 4 }, "end": { - "line": 787, + "line": 792, "column": 18 }, "identifierName": "redrawWaveform" @@ -44840,15 +45096,15 @@ "params": [ { "type": "Identifier", - "start": 25862, - "end": 25870, + "start": 26084, + "end": 26092, "loc": { "start": { - "line": 787, + "line": 792, "column": 19 }, "end": { - "line": 787, + "line": 792, "column": 27 }, "identifierName": "newWidth" @@ -44857,15 +45113,15 @@ }, { "type": "Identifier", - "start": 25872, - "end": 25881, + "start": 26094, + "end": 26103, "loc": { "start": { - "line": 787, + "line": 792, "column": 29 }, "end": { - "line": 787, + "line": 792, "column": 38 }, "identifierName": "newHeight" @@ -44875,44 +45131,44 @@ ], "body": { "type": "BlockStatement", - "start": 25883, - "end": 26926, + "start": 26105, + "end": 27148, "loc": { "start": { - "line": 787, + "line": 792, "column": 40 }, "end": { - "line": 816, + "line": 821, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 25893, - "end": 26920, + "start": 26115, + "end": 27142, "loc": { "start": { - "line": 788, + "line": 793, "column": 8 }, "end": { - "line": 815, + "line": 820, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 25897, - "end": 25916, + "start": 26119, + "end": 26138, "loc": { "start": { - "line": 788, + "line": 793, "column": 12 }, "end": { - "line": 788, + "line": 793, "column": 31 } }, @@ -44920,58 +45176,58 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 25898, - "end": 25916, + "start": 26120, + "end": 26138, "loc": { "start": { - "line": 788, + "line": 793, "column": 13 }, "end": { - "line": 788, + "line": 793, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 25898, - "end": 25914, + "start": 26120, + "end": 26136, "loc": { "start": { - "line": 788, + "line": 793, "column": 13 }, "end": { - "line": 788, + "line": 793, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 25898, - "end": 25902, + "start": 26120, + "end": 26124, "loc": { "start": { - "line": 788, + "line": 793, "column": 13 }, "end": { - "line": 788, + "line": 793, "column": 17 } } }, "property": { "type": "Identifier", - "start": 25903, - "end": 25914, + "start": 26125, + "end": 26136, "loc": { "start": { - "line": 788, + "line": 793, "column": 18 }, "end": { - "line": 788, + "line": 793, "column": 29 }, "identifierName": "isDestroyed" @@ -44988,87 +45244,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 25918, - "end": 26920, + "start": 26140, + "end": 27142, "loc": { "start": { - "line": 788, + "line": 793, "column": 33 }, "end": { - "line": 815, + "line": 820, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 25932, - "end": 26334, + "start": 26154, + "end": 26556, "loc": { "start": { - "line": 789, + "line": 794, "column": 12 }, "end": { - "line": 799, + "line": 804, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 25936, - "end": 25951, + "start": 26158, + "end": 26173, "loc": { "start": { - "line": 789, + "line": 794, "column": 16 }, "end": { - "line": 789, + "line": 794, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 25936, - "end": 25947, + "start": 26158, + "end": 26169, "loc": { "start": { - "line": 789, + "line": 794, "column": 16 }, "end": { - "line": 789, + "line": 794, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 25936, - "end": 25940, + "start": 26158, + "end": 26162, "loc": { "start": { - "line": 789, + "line": 794, "column": 16 }, "end": { - "line": 789, + "line": 794, "column": 20 } } }, "property": { "type": "Identifier", - "start": 25941, - "end": 25947, + "start": 26163, + "end": 26169, "loc": { "start": { - "line": 789, + "line": 794, "column": 21 }, "end": { - "line": 789, + "line": 794, "column": 27 }, "identifierName": "player" @@ -45079,15 +45335,15 @@ }, "property": { "type": "Identifier", - "start": 25948, - "end": 25951, + "start": 26170, + "end": 26173, "loc": { "start": { - "line": 789, + "line": 794, "column": 28 }, "end": { - "line": 789, + "line": 794, "column": 31 }, "identifierName": "el_" @@ -45098,59 +45354,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 25953, - "end": 26334, + "start": 26175, + "end": 26556, "loc": { "start": { - "line": 789, + "line": 794, "column": 33 }, "end": { - "line": 799, + "line": 804, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 25971, - "end": 26022, + "start": 26193, + "end": 26244, "loc": { "start": { - "line": 790, + "line": 795, "column": 16 }, "end": { - "line": 790, + "line": 795, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 25975, - "end": 26021, + "start": 26197, + "end": 26243, "loc": { "start": { - "line": 790, + "line": 795, "column": 20 }, "end": { - "line": 790, + "line": 795, "column": 66 } }, "id": { "type": "Identifier", - "start": 25975, - "end": 25979, + "start": 26197, + "end": 26201, "loc": { "start": { - "line": 790, + "line": 795, "column": 20 }, "end": { - "line": 790, + "line": 795, "column": 24 }, "identifierName": "rect" @@ -45159,86 +45415,86 @@ }, "init": { "type": "CallExpression", - "start": 25982, - "end": 26021, + "start": 26204, + "end": 26243, "loc": { "start": { - "line": 790, + "line": 795, "column": 27 }, "end": { - "line": 790, + "line": 795, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 25982, - "end": 26019, + "start": 26204, + "end": 26241, "loc": { "start": { - "line": 790, + "line": 795, "column": 27 }, "end": { - "line": 790, + "line": 795, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 25982, - "end": 25997, + "start": 26204, + "end": 26219, "loc": { "start": { - "line": 790, + "line": 795, "column": 27 }, "end": { - "line": 790, + "line": 795, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 25982, - "end": 25993, + "start": 26204, + "end": 26215, "loc": { "start": { - "line": 790, + "line": 795, "column": 27 }, "end": { - "line": 790, + "line": 795, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 25982, - "end": 25986, + "start": 26204, + "end": 26208, "loc": { "start": { - "line": 790, + "line": 795, "column": 27 }, "end": { - "line": 790, + "line": 795, "column": 31 } } }, "property": { "type": "Identifier", - "start": 25987, - "end": 25993, + "start": 26209, + "end": 26215, "loc": { "start": { - "line": 790, + "line": 795, "column": 32 }, "end": { - "line": 790, + "line": 795, "column": 38 }, "identifierName": "player" @@ -45249,15 +45505,15 @@ }, "property": { "type": "Identifier", - "start": 25994, - "end": 25997, + "start": 26216, + "end": 26219, "loc": { "start": { - "line": 790, + "line": 795, "column": 39 }, "end": { - "line": 790, + "line": 795, "column": 42 }, "identifierName": "el_" @@ -45268,15 +45524,15 @@ }, "property": { "type": "Identifier", - "start": 25998, - "end": 26019, + "start": 26220, + "end": 26241, "loc": { "start": { - "line": 790, + "line": 795, "column": 43 }, "end": { - "line": 790, + "line": 795, "column": 64 }, "identifierName": "getBoundingClientRect" @@ -45293,43 +45549,43 @@ }, { "type": "IfStatement", - "start": 26039, - "end": 26169, + "start": 26261, + "end": 26391, "loc": { "start": { - "line": 791, + "line": 796, "column": 16 }, "end": { - "line": 794, + "line": 799, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 26043, - "end": 26065, + "start": 26265, + "end": 26287, "loc": { "start": { - "line": 791, + "line": 796, "column": 20 }, "end": { - "line": 791, + "line": 796, "column": 42 } }, "left": { "type": "Identifier", - "start": 26043, - "end": 26051, + "start": 26265, + "end": 26273, "loc": { "start": { - "line": 791, + "line": 796, "column": 20 }, "end": { - "line": 791, + "line": 796, "column": 28 }, "identifierName": "newWidth" @@ -45339,15 +45595,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 26056, - "end": 26065, + "start": 26278, + "end": 26287, "loc": { "start": { - "line": 791, + "line": 796, "column": 33 }, "end": { - "line": 791, + "line": 796, "column": 42 }, "identifierName": "undefined" @@ -45357,59 +45613,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 26067, - "end": 26169, + "start": 26289, + "end": 26391, "loc": { "start": { - "line": 791, + "line": 796, "column": 44 }, "end": { - "line": 794, + "line": 799, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 26129, - "end": 26151, + "start": 26351, + "end": 26373, "loc": { "start": { - "line": 793, + "line": 798, "column": 20 }, "end": { - "line": 793, + "line": 798, "column": 42 } }, "expression": { "type": "AssignmentExpression", - "start": 26129, - "end": 26150, + "start": 26351, + "end": 26372, "loc": { "start": { - "line": 793, + "line": 798, "column": 20 }, "end": { - "line": 793, + "line": 798, "column": 41 } }, "operator": "=", "left": { "type": "Identifier", - "start": 26129, - "end": 26137, + "start": 26351, + "end": 26359, "loc": { "start": { - "line": 793, + "line": 798, "column": 20 }, "end": { - "line": 793, + "line": 798, "column": 28 }, "identifierName": "newWidth" @@ -45419,29 +45675,29 @@ }, "right": { "type": "MemberExpression", - "start": 26140, - "end": 26150, + "start": 26362, + "end": 26372, "loc": { "start": { - "line": 793, + "line": 798, "column": 31 }, "end": { - "line": 793, + "line": 798, "column": 41 } }, "object": { "type": "Identifier", - "start": 26140, - "end": 26144, + "start": 26362, + "end": 26366, "loc": { "start": { - "line": 793, + "line": 798, "column": 31 }, "end": { - "line": 793, + "line": 798, "column": 35 }, "identifierName": "rect" @@ -45450,15 +45706,15 @@ }, "property": { "type": "Identifier", - "start": 26145, - "end": 26150, + "start": 26367, + "end": 26372, "loc": { "start": { - "line": 793, + "line": 798, "column": 36 }, "end": { - "line": 793, + "line": 798, "column": 41 }, "identifierName": "width" @@ -45473,15 +45729,15 @@ { "type": "CommentLine", "value": " get player width", - "start": 26089, - "end": 26108, + "start": 26311, + "end": 26330, "loc": { "start": { - "line": 792, + "line": 797, "column": 20 }, "end": { - "line": 792, + "line": 797, "column": 39 } } @@ -45495,43 +45751,43 @@ }, { "type": "IfStatement", - "start": 26186, - "end": 26320, + "start": 26408, + "end": 26542, "loc": { "start": { - "line": 795, + "line": 800, "column": 16 }, "end": { - "line": 798, + "line": 803, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 26190, - "end": 26213, + "start": 26412, + "end": 26435, "loc": { "start": { - "line": 795, + "line": 800, "column": 20 }, "end": { - "line": 795, + "line": 800, "column": 43 } }, "left": { "type": "Identifier", - "start": 26190, - "end": 26199, + "start": 26412, + "end": 26421, "loc": { "start": { - "line": 795, + "line": 800, "column": 20 }, "end": { - "line": 795, + "line": 800, "column": 29 }, "identifierName": "newHeight" @@ -45541,15 +45797,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 26204, - "end": 26213, + "start": 26426, + "end": 26435, "loc": { "start": { - "line": 795, + "line": 800, "column": 34 }, "end": { - "line": 795, + "line": 800, "column": 43 }, "identifierName": "undefined" @@ -45559,59 +45815,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 26215, - "end": 26320, + "start": 26437, + "end": 26542, "loc": { "start": { - "line": 795, + "line": 800, "column": 45 }, "end": { - "line": 798, + "line": 803, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 26278, - "end": 26302, + "start": 26500, + "end": 26524, "loc": { "start": { - "line": 797, + "line": 802, "column": 20 }, "end": { - "line": 797, + "line": 802, "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 26278, - "end": 26301, + "start": 26500, + "end": 26523, "loc": { "start": { - "line": 797, + "line": 802, "column": 20 }, "end": { - "line": 797, + "line": 802, "column": 43 } }, "operator": "=", "left": { "type": "Identifier", - "start": 26278, - "end": 26287, + "start": 26500, + "end": 26509, "loc": { "start": { - "line": 797, + "line": 802, "column": 20 }, "end": { - "line": 797, + "line": 802, "column": 29 }, "identifierName": "newHeight" @@ -45621,29 +45877,29 @@ }, "right": { "type": "MemberExpression", - "start": 26290, - "end": 26301, + "start": 26512, + "end": 26523, "loc": { "start": { - "line": 797, + "line": 802, "column": 32 }, "end": { - "line": 797, + "line": 802, "column": 43 } }, "object": { "type": "Identifier", - "start": 26290, - "end": 26294, + "start": 26512, + "end": 26516, "loc": { "start": { - "line": 797, + "line": 802, "column": 32 }, "end": { - "line": 797, + "line": 802, "column": 36 }, "identifierName": "rect" @@ -45652,15 +45908,15 @@ }, "property": { "type": "Identifier", - "start": 26295, - "end": 26301, + "start": 26517, + "end": 26523, "loc": { "start": { - "line": 797, + "line": 802, "column": 37 }, "end": { - "line": 797, + "line": 802, "column": 43 }, "identifierName": "height" @@ -45675,15 +45931,15 @@ { "type": "CommentLine", "value": " get player height", - "start": 26237, - "end": 26257, + "start": 26459, + "end": 26479, "loc": { "start": { - "line": 796, + "line": 801, "column": 20 }, "end": { - "line": 796, + "line": 801, "column": 40 } } @@ -45704,15 +45960,15 @@ { "type": "CommentLine", "value": " destroy old drawing", - "start": 26348, - "end": 26370, + "start": 26570, + "end": 26592, "loc": { "start": { - "line": 801, + "line": 806, "column": 12 }, "end": { - "line": 801, + "line": 806, "column": 34 } } @@ -45721,85 +45977,85 @@ }, { "type": "ExpressionStatement", - "start": 26383, - "end": 26412, + "start": 26605, + "end": 26634, "loc": { "start": { - "line": 802, + "line": 807, "column": 12 }, "end": { - "line": 802, + "line": 807, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 26383, - "end": 26411, + "start": 26605, + "end": 26633, "loc": { "start": { - "line": 802, + "line": 807, "column": 12 }, "end": { - "line": 802, + "line": 807, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 26383, - "end": 26409, + "start": 26605, + "end": 26631, "loc": { "start": { - "line": 802, + "line": 807, "column": 12 }, "end": { - "line": 802, + "line": 807, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 26383, - "end": 26401, + "start": 26605, + "end": 26623, "loc": { "start": { - "line": 802, + "line": 807, "column": 12 }, "end": { - "line": 802, + "line": 807, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26383, - "end": 26394, + "start": 26605, + "end": 26616, "loc": { "start": { - "line": 802, + "line": 807, "column": 12 }, "end": { - "line": 802, + "line": 807, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26383, - "end": 26387, + "start": 26605, + "end": 26609, "loc": { "start": { - "line": 802, + "line": 807, "column": 12 }, "end": { - "line": 802, + "line": 807, "column": 16 } }, @@ -45807,15 +46063,15 @@ }, "property": { "type": "Identifier", - "start": 26388, - "end": 26394, + "start": 26610, + "end": 26616, "loc": { "start": { - "line": 802, + "line": 807, "column": 17 }, "end": { - "line": 802, + "line": 807, "column": 23 }, "identifierName": "surfer" @@ -45827,15 +46083,15 @@ }, "property": { "type": "Identifier", - "start": 26395, - "end": 26401, + "start": 26617, + "end": 26623, "loc": { "start": { - "line": 802, + "line": 807, "column": 24 }, "end": { - "line": 802, + "line": 807, "column": 30 }, "identifierName": "drawer" @@ -45847,15 +46103,15 @@ }, "property": { "type": "Identifier", - "start": 26402, - "end": 26409, + "start": 26624, + "end": 26631, "loc": { "start": { - "line": 802, + "line": 807, "column": 31 }, "end": { - "line": 802, + "line": 807, "column": 38 }, "identifierName": "destroy" @@ -45872,15 +46128,15 @@ { "type": "CommentLine", "value": " destroy old drawing", - "start": 26348, - "end": 26370, + "start": 26570, + "end": 26592, "loc": { "start": { - "line": 801, + "line": 806, "column": 12 }, "end": { - "line": 801, + "line": 806, "column": 34 } } @@ -45890,15 +46146,15 @@ { "type": "CommentLine", "value": " set new dimensions", - "start": 26426, - "end": 26447, + "start": 26648, + "end": 26669, "loc": { "start": { - "line": 804, + "line": 809, "column": 12 }, "end": { - "line": 804, + "line": 809, "column": 33 } } @@ -45907,86 +46163,86 @@ }, { "type": "ExpressionStatement", - "start": 26460, - "end": 26496, + "start": 26682, + "end": 26718, "loc": { "start": { - "line": 805, + "line": 810, "column": 12 }, "end": { - "line": 805, + "line": 810, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 26460, - "end": 26495, + "start": 26682, + "end": 26717, "loc": { "start": { - "line": 805, + "line": 810, "column": 12 }, "end": { - "line": 805, + "line": 810, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26460, - "end": 26484, + "start": 26682, + "end": 26706, "loc": { "start": { - "line": 805, + "line": 810, "column": 12 }, "end": { - "line": 805, + "line": 810, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 26460, - "end": 26478, + "start": 26682, + "end": 26700, "loc": { "start": { - "line": 805, + "line": 810, "column": 12 }, "end": { - "line": 805, + "line": 810, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26460, - "end": 26471, + "start": 26682, + "end": 26693, "loc": { "start": { - "line": 805, + "line": 810, "column": 12 }, "end": { - "line": 805, + "line": 810, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26460, - "end": 26464, + "start": 26682, + "end": 26686, "loc": { "start": { - "line": 805, + "line": 810, "column": 12 }, "end": { - "line": 805, + "line": 810, "column": 16 } }, @@ -45994,15 +46250,15 @@ }, "property": { "type": "Identifier", - "start": 26465, - "end": 26471, + "start": 26687, + "end": 26693, "loc": { "start": { - "line": 805, + "line": 810, "column": 17 }, "end": { - "line": 805, + "line": 810, "column": 23 }, "identifierName": "surfer" @@ -46014,15 +46270,15 @@ }, "property": { "type": "Identifier", - "start": 26472, - "end": 26478, + "start": 26694, + "end": 26700, "loc": { "start": { - "line": 805, + "line": 810, "column": 24 }, "end": { - "line": 805, + "line": 810, "column": 30 }, "identifierName": "params" @@ -46034,15 +46290,15 @@ }, "property": { "type": "Identifier", - "start": 26479, - "end": 26484, + "start": 26701, + "end": 26706, "loc": { "start": { - "line": 805, + "line": 810, "column": 31 }, "end": { - "line": 805, + "line": 810, "column": 36 }, "identifierName": "width" @@ -46054,15 +46310,15 @@ }, "right": { "type": "Identifier", - "start": 26487, - "end": 26495, + "start": 26709, + "end": 26717, "loc": { "start": { - "line": 805, + "line": 810, "column": 39 }, "end": { - "line": 805, + "line": 810, "column": 47 }, "identifierName": "newWidth" @@ -46075,15 +46331,15 @@ { "type": "CommentLine", "value": " set new dimensions", - "start": 26426, - "end": 26447, + "start": 26648, + "end": 26669, "loc": { "start": { - "line": 804, + "line": 809, "column": 12 }, "end": { - "line": 804, + "line": 809, "column": 33 } } @@ -46092,101 +46348,101 @@ }, { "type": "ExpressionStatement", - "start": 26509, - "end": 26581, + "start": 26731, + "end": 26803, "loc": { "start": { - "line": 806, + "line": 811, "column": 12 }, "end": { - "line": 806, + "line": 811, "column": 84 } }, "expression": { "type": "AssignmentExpression", - "start": 26509, - "end": 26580, + "start": 26731, + "end": 26802, "loc": { "start": { - "line": 806, + "line": 811, "column": 12 }, "end": { - "line": 806, + "line": 811, "column": 83 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26509, - "end": 26534, + "start": 26731, + "end": 26756, "loc": { "start": { - "line": 806, + "line": 811, "column": 12 }, "end": { - "line": 806, + "line": 811, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 26509, - "end": 26527, + "start": 26731, + "end": 26749, "loc": { "start": { - "line": 806, + "line": 811, "column": 12 }, "end": { - "line": 806, + "line": 811, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26509, - "end": 26520, + "start": 26731, + "end": 26742, "loc": { "start": { - "line": 806, + "line": 811, "column": 12 }, "end": { - "line": 806, + "line": 811, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26509, - "end": 26513, + "start": 26731, + "end": 26735, "loc": { "start": { - "line": 806, + "line": 811, "column": 12 }, "end": { - "line": 806, + "line": 811, "column": 16 } } }, "property": { "type": "Identifier", - "start": 26514, - "end": 26520, + "start": 26736, + "end": 26742, "loc": { "start": { - "line": 806, + "line": 811, "column": 17 }, "end": { - "line": 806, + "line": 811, "column": 23 }, "identifierName": "surfer" @@ -46197,15 +46453,15 @@ }, "property": { "type": "Identifier", - "start": 26521, - "end": 26527, + "start": 26743, + "end": 26749, "loc": { "start": { - "line": 806, + "line": 811, "column": 24 }, "end": { - "line": 806, + "line": 811, "column": 30 }, "identifierName": "params" @@ -46216,15 +46472,15 @@ }, "property": { "type": "Identifier", - "start": 26528, - "end": 26534, + "start": 26750, + "end": 26756, "loc": { "start": { - "line": 806, + "line": 811, "column": 31 }, "end": { - "line": 806, + "line": 811, "column": 37 }, "identifierName": "height" @@ -46235,29 +46491,29 @@ }, "right": { "type": "BinaryExpression", - "start": 26537, - "end": 26580, + "start": 26759, + "end": 26802, "loc": { "start": { - "line": 806, + "line": 811, "column": 40 }, "end": { - "line": 806, + "line": 811, "column": 83 } }, "left": { "type": "Identifier", - "start": 26537, - "end": 26546, + "start": 26759, + "end": 26768, "loc": { "start": { - "line": 806, + "line": 811, "column": 40 }, "end": { - "line": 806, + "line": 811, "column": 49 }, "identifierName": "newHeight" @@ -46267,86 +46523,86 @@ "operator": "-", "right": { "type": "CallExpression", - "start": 26549, - "end": 26580, + "start": 26771, + "end": 26802, "loc": { "start": { - "line": 806, + "line": 811, "column": 52 }, "end": { - "line": 806, + "line": 811, "column": 83 } }, "callee": { "type": "MemberExpression", - "start": 26549, - "end": 26578, + "start": 26771, + "end": 26800, "loc": { "start": { - "line": 806, + "line": 811, "column": 52 }, "end": { - "line": 806, + "line": 811, "column": 81 } }, "object": { "type": "MemberExpression", - "start": 26549, - "end": 26571, + "start": 26771, + "end": 26793, "loc": { "start": { - "line": 806, + "line": 811, "column": 52 }, "end": { - "line": 806, + "line": 811, "column": 74 } }, "object": { "type": "MemberExpression", - "start": 26549, - "end": 26560, + "start": 26771, + "end": 26782, "loc": { "start": { - "line": 806, + "line": 811, "column": 52 }, "end": { - "line": 806, + "line": 811, "column": 63 } }, "object": { "type": "ThisExpression", - "start": 26549, - "end": 26553, + "start": 26771, + "end": 26775, "loc": { "start": { - "line": 806, + "line": 811, "column": 52 }, "end": { - "line": 806, + "line": 811, "column": 56 } } }, "property": { "type": "Identifier", - "start": 26554, - "end": 26560, + "start": 26776, + "end": 26782, "loc": { "start": { - "line": 806, + "line": 811, "column": 57 }, "end": { - "line": 806, + "line": 811, "column": 63 }, "identifierName": "player" @@ -46357,15 +46613,15 @@ }, "property": { "type": "Identifier", - "start": 26561, - "end": 26571, + "start": 26783, + "end": 26793, "loc": { "start": { - "line": 806, + "line": 811, "column": 64 }, "end": { - "line": 806, + "line": 811, "column": 74 }, "identifierName": "controlBar" @@ -46376,15 +46632,15 @@ }, "property": { "type": "Identifier", - "start": 26572, - "end": 26578, + "start": 26794, + "end": 26800, "loc": { "start": { - "line": 806, + "line": 811, "column": 75 }, "end": { - "line": 806, + "line": 811, "column": 81 }, "identifierName": "height" @@ -46401,15 +46657,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 26595, - "end": 26613, + "start": 26817, + "end": 26835, "loc": { "start": { - "line": 808, + "line": 813, "column": 12 }, "end": { - "line": 808, + "line": 813, "column": 30 } } @@ -46418,71 +46674,71 @@ }, { "type": "ExpressionStatement", - "start": 26626, - "end": 26653, + "start": 26848, + "end": 26875, "loc": { "start": { - "line": 809, + "line": 814, "column": 12 }, "end": { - "line": 809, + "line": 814, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 26626, - "end": 26652, + "start": 26848, + "end": 26874, "loc": { "start": { - "line": 809, + "line": 814, "column": 12 }, "end": { - "line": 809, + "line": 814, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 26626, - "end": 26650, + "start": 26848, + "end": 26872, "loc": { "start": { - "line": 809, + "line": 814, "column": 12 }, "end": { - "line": 809, + "line": 814, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 26626, - "end": 26637, + "start": 26848, + "end": 26859, "loc": { "start": { - "line": 809, + "line": 814, "column": 12 }, "end": { - "line": 809, + "line": 814, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26626, - "end": 26630, + "start": 26848, + "end": 26852, "loc": { "start": { - "line": 809, + "line": 814, "column": 12 }, "end": { - "line": 809, + "line": 814, "column": 16 } }, @@ -46490,15 +46746,15 @@ }, "property": { "type": "Identifier", - "start": 26631, - "end": 26637, + "start": 26853, + "end": 26859, "loc": { "start": { - "line": 809, + "line": 814, "column": 17 }, "end": { - "line": 809, + "line": 814, "column": 23 }, "identifierName": "surfer" @@ -46510,15 +46766,15 @@ }, "property": { "type": "Identifier", - "start": 26638, - "end": 26650, + "start": 26860, + "end": 26872, "loc": { "start": { - "line": 809, + "line": 814, "column": 24 }, "end": { - "line": 809, + "line": 814, "column": 36 }, "identifierName": "createDrawer" @@ -46535,15 +46791,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 26595, - "end": 26613, + "start": 26817, + "end": 26835, "loc": { "start": { - "line": 808, + "line": 813, "column": 12 }, "end": { - "line": 808, + "line": 813, "column": 30 } } @@ -46552,115 +46808,115 @@ }, { "type": "ExpressionStatement", - "start": 26666, - "end": 26725, + "start": 26888, + "end": 26947, "loc": { "start": { - "line": 810, + "line": 815, "column": 12 }, "end": { - "line": 810, + "line": 815, "column": 71 } }, "expression": { "type": "AssignmentExpression", - "start": 26666, - "end": 26724, + "start": 26888, + "end": 26946, "loc": { "start": { - "line": 810, + "line": 815, "column": 12 }, "end": { - "line": 810, + "line": 815, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26666, - "end": 26702, + "start": 26888, + "end": 26924, "loc": { "start": { - "line": 810, + "line": 815, "column": 12 }, "end": { - "line": 810, + "line": 815, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 26666, - "end": 26692, + "start": 26888, + "end": 26914, "loc": { "start": { - "line": 810, + "line": 815, "column": 12 }, "end": { - "line": 810, + "line": 815, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 26666, - "end": 26684, + "start": 26888, + "end": 26906, "loc": { "start": { - "line": 810, + "line": 815, "column": 12 }, "end": { - "line": 810, + "line": 815, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26666, - "end": 26677, + "start": 26888, + "end": 26899, "loc": { "start": { - "line": 810, + "line": 815, "column": 12 }, "end": { - "line": 810, + "line": 815, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26666, - "end": 26670, + "start": 26888, + "end": 26892, "loc": { "start": { - "line": 810, + "line": 815, "column": 12 }, "end": { - "line": 810, + "line": 815, "column": 16 } } }, "property": { "type": "Identifier", - "start": 26671, - "end": 26677, + "start": 26893, + "end": 26899, "loc": { "start": { - "line": 810, + "line": 815, "column": 17 }, "end": { - "line": 810, + "line": 815, "column": 23 }, "identifierName": "surfer" @@ -46671,15 +46927,15 @@ }, "property": { "type": "Identifier", - "start": 26678, - "end": 26684, + "start": 26900, + "end": 26906, "loc": { "start": { - "line": 810, + "line": 815, "column": 24 }, "end": { - "line": 810, + "line": 815, "column": 30 }, "identifierName": "drawer" @@ -46690,15 +46946,15 @@ }, "property": { "type": "Identifier", - "start": 26685, - "end": 26692, + "start": 26907, + "end": 26914, "loc": { "start": { - "line": 810, + "line": 815, "column": 31 }, "end": { - "line": 810, + "line": 815, "column": 38 }, "identifierName": "wrapper" @@ -46709,15 +46965,15 @@ }, "property": { "type": "Identifier", - "start": 26693, - "end": 26702, + "start": 26915, + "end": 26924, "loc": { "start": { - "line": 810, + "line": 815, "column": 39 }, "end": { - "line": 810, + "line": 815, "column": 48 }, "identifierName": "className" @@ -46728,15 +46984,15 @@ }, "right": { "type": "Identifier", - "start": 26705, - "end": 26724, + "start": 26927, + "end": 26946, "loc": { "start": { - "line": 810, + "line": 815, "column": 51 }, "end": { - "line": 810, + "line": 815, "column": 70 }, "identifierName": "wavesurferClassName" @@ -46747,86 +47003,86 @@ }, { "type": "ExpressionStatement", - "start": 26738, - "end": 26763, + "start": 26960, + "end": 26985, "loc": { "start": { - "line": 811, + "line": 816, "column": 12 }, "end": { - "line": 811, + "line": 816, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 26738, - "end": 26762, + "start": 26960, + "end": 26984, "loc": { "start": { - "line": 811, + "line": 816, "column": 12 }, "end": { - "line": 811, + "line": 816, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 26738, - "end": 26760, + "start": 26960, + "end": 26982, "loc": { "start": { - "line": 811, + "line": 816, "column": 12 }, "end": { - "line": 811, + "line": 816, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 26738, - "end": 26749, + "start": 26960, + "end": 26971, "loc": { "start": { - "line": 811, + "line": 816, "column": 12 }, "end": { - "line": 811, + "line": 816, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26738, - "end": 26742, + "start": 26960, + "end": 26964, "loc": { "start": { - "line": 811, + "line": 816, "column": 12 }, "end": { - "line": 811, + "line": 816, "column": 16 } } }, "property": { "type": "Identifier", - "start": 26743, - "end": 26749, + "start": 26965, + "end": 26971, "loc": { "start": { - "line": 811, + "line": 816, "column": 17 }, "end": { - "line": 811, + "line": 816, "column": 23 }, "identifierName": "surfer" @@ -46837,15 +47093,15 @@ }, "property": { "type": "Identifier", - "start": 26750, - "end": 26760, + "start": 26972, + "end": 26982, "loc": { "start": { - "line": 811, + "line": 816, "column": 24 }, "end": { - "line": 811, + "line": 816, "column": 34 }, "identifierName": "drawBuffer" @@ -46860,15 +47116,15 @@ { "type": "CommentLine", "value": " make sure playhead is restored at right position", - "start": 26777, - "end": 26828, + "start": 26999, + "end": 27050, "loc": { "start": { - "line": 813, + "line": 818, "column": 12 }, "end": { - "line": 813, + "line": 818, "column": 63 } } @@ -46877,85 +47133,85 @@ }, { "type": "ExpressionStatement", - "start": 26841, - "end": 26910, + "start": 27063, + "end": 27132, "loc": { "start": { - "line": 814, + "line": 819, "column": 12 }, "end": { - "line": 814, + "line": 819, "column": 81 } }, "expression": { "type": "CallExpression", - "start": 26841, - "end": 26909, + "start": 27063, + "end": 27131, "loc": { "start": { - "line": 814, + "line": 819, "column": 12 }, "end": { - "line": 814, + "line": 819, "column": 80 } }, "callee": { "type": "MemberExpression", - "start": 26841, - "end": 26868, + "start": 27063, + "end": 27090, "loc": { "start": { - "line": 814, + "line": 819, "column": 12 }, "end": { - "line": 814, + "line": 819, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 26841, - "end": 26859, + "start": 27063, + "end": 27081, "loc": { "start": { - "line": 814, + "line": 819, "column": 12 }, "end": { - "line": 814, + "line": 819, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26841, - "end": 26852, + "start": 27063, + "end": 27074, "loc": { "start": { - "line": 814, + "line": 819, "column": 12 }, "end": { - "line": 814, + "line": 819, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26841, - "end": 26845, + "start": 27063, + "end": 27067, "loc": { "start": { - "line": 814, + "line": 819, "column": 12 }, "end": { - "line": 814, + "line": 819, "column": 16 } }, @@ -46963,15 +47219,15 @@ }, "property": { "type": "Identifier", - "start": 26846, - "end": 26852, + "start": 27068, + "end": 27074, "loc": { "start": { - "line": 814, + "line": 819, "column": 17 }, "end": { - "line": 814, + "line": 819, "column": 23 }, "identifierName": "surfer" @@ -46983,15 +47239,15 @@ }, "property": { "type": "Identifier", - "start": 26853, - "end": 26859, + "start": 27075, + "end": 27081, "loc": { "start": { - "line": 814, + "line": 819, "column": 24 }, "end": { - "line": 814, + "line": 819, "column": 30 }, "identifierName": "drawer" @@ -47003,15 +47259,15 @@ }, "property": { "type": "Identifier", - "start": 26860, - "end": 26868, + "start": 27082, + "end": 27090, "loc": { "start": { - "line": 814, + "line": 819, "column": 31 }, "end": { - "line": 814, + "line": 819, "column": 39 }, "identifierName": "progress" @@ -47024,86 +47280,86 @@ "arguments": [ { "type": "CallExpression", - "start": 26869, - "end": 26908, + "start": 27091, + "end": 27130, "loc": { "start": { - "line": 814, + "line": 819, "column": 40 }, "end": { - "line": 814, + "line": 819, "column": 79 } }, "callee": { "type": "MemberExpression", - "start": 26869, - "end": 26906, + "start": 27091, + "end": 27128, "loc": { "start": { - "line": 814, + "line": 819, "column": 40 }, "end": { - "line": 814, + "line": 819, "column": 77 } }, "object": { "type": "MemberExpression", - "start": 26869, - "end": 26888, + "start": 27091, + "end": 27110, "loc": { "start": { - "line": 814, + "line": 819, "column": 40 }, "end": { - "line": 814, + "line": 819, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 26869, - "end": 26880, + "start": 27091, + "end": 27102, "loc": { "start": { - "line": 814, + "line": 819, "column": 40 }, "end": { - "line": 814, + "line": 819, "column": 51 } }, "object": { "type": "ThisExpression", - "start": 26869, - "end": 26873, + "start": 27091, + "end": 27095, "loc": { "start": { - "line": 814, + "line": 819, "column": 40 }, "end": { - "line": 814, + "line": 819, "column": 44 } } }, "property": { "type": "Identifier", - "start": 26874, - "end": 26880, + "start": 27096, + "end": 27102, "loc": { "start": { - "line": 814, + "line": 819, "column": 45 }, "end": { - "line": 814, + "line": 819, "column": 51 }, "identifierName": "surfer" @@ -47114,15 +47370,15 @@ }, "property": { "type": "Identifier", - "start": 26881, - "end": 26888, + "start": 27103, + "end": 27110, "loc": { "start": { - "line": 814, + "line": 819, "column": 52 }, "end": { - "line": 814, + "line": 819, "column": 59 }, "identifierName": "backend" @@ -47133,15 +47389,15 @@ }, "property": { "type": "Identifier", - "start": 26889, - "end": 26906, + "start": 27111, + "end": 27128, "loc": { "start": { - "line": 814, + "line": 819, "column": 60 }, "end": { - "line": 814, + "line": 819, "column": 77 }, "identifierName": "getPlayedPercents" @@ -47159,15 +47415,15 @@ { "type": "CommentLine", "value": " make sure playhead is restored at right position", - "start": 26777, - "end": 26828, + "start": 26999, + "end": 27050, "loc": { "start": { - "line": 813, + "line": 818, "column": 12 }, "end": { - "line": 813, + "line": 818, "column": 63 } } @@ -47187,15 +47443,15 @@ { "type": "CommentBlock", "value": "*\n * Redraw waveform.\n *\n * @param {number} [newWidth] - New width for the waveform.\n * @param {number} [newHeight] - New height for the waveform.\n * @private\n ", - "start": 25654, - "end": 25842, + "start": 25876, + "end": 26064, "loc": { "start": { - "line": 780, + "line": 785, "column": 4 }, "end": { - "line": 786, + "line": 791, "column": 7 } } @@ -47205,15 +47461,15 @@ { "type": "CommentBlock", "value": "*\n * Log message to console (if the debug option is enabled).\n *\n * @private\n * @param {Array} args - The arguments to be passed to the matching console\n * method.\n * @param {string} logType - The name of the console method to use.\n ", - "start": 26932, - "end": 27201, + "start": 27154, + "end": 27423, "loc": { "start": { - "line": 818, + "line": 823, "column": 4 }, "end": { - "line": 825, + "line": 830, "column": 7 } } @@ -47222,15 +47478,15 @@ }, { "type": "ClassMethod", - "start": 27206, - "end": 27272, + "start": 27428, + "end": 27494, "loc": { "start": { - "line": 826, + "line": 831, "column": 4 }, "end": { - "line": 828, + "line": 833, "column": 5 } }, @@ -47238,15 +47494,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 27206, - "end": 27209, + "start": 27428, + "end": 27431, "loc": { "start": { - "line": 826, + "line": 831, "column": 4 }, "end": { - "line": 826, + "line": 831, "column": 7 }, "identifierName": "log" @@ -47262,15 +47518,15 @@ "params": [ { "type": "Identifier", - "start": 27210, - "end": 27214, + "start": 27432, + "end": 27436, "loc": { "start": { - "line": 826, + "line": 831, "column": 8 }, "end": { - "line": 826, + "line": 831, "column": 12 }, "identifierName": "args" @@ -47279,15 +47535,15 @@ }, { "type": "Identifier", - "start": 27216, - "end": 27223, + "start": 27438, + "end": 27445, "loc": { "start": { - "line": 826, + "line": 831, "column": 14 }, "end": { - "line": 826, + "line": 831, "column": 21 }, "identifierName": "logType" @@ -47297,58 +47553,58 @@ ], "body": { "type": "BlockStatement", - "start": 27225, - "end": 27272, + "start": 27447, + "end": 27494, "loc": { "start": { - "line": 826, + "line": 831, "column": 23 }, "end": { - "line": 828, + "line": 833, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 27235, - "end": 27266, + "start": 27457, + "end": 27488, "loc": { "start": { - "line": 827, + "line": 832, "column": 8 }, "end": { - "line": 827, + "line": 832, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 27235, - "end": 27265, + "start": 27457, + "end": 27487, "loc": { "start": { - "line": 827, + "line": 832, "column": 8 }, "end": { - "line": 827, + "line": 832, "column": 38 } }, "callee": { "type": "Identifier", - "start": 27235, - "end": 27238, + "start": 27457, + "end": 27460, "loc": { "start": { - "line": 827, + "line": 832, "column": 8 }, "end": { - "line": 827, + "line": 832, "column": 11 }, "identifierName": "log" @@ -47358,15 +47614,15 @@ "arguments": [ { "type": "Identifier", - "start": 27239, - "end": 27243, + "start": 27461, + "end": 27465, "loc": { "start": { - "line": 827, + "line": 832, "column": 12 }, "end": { - "line": 827, + "line": 832, "column": 16 }, "identifierName": "args" @@ -47375,15 +47631,15 @@ }, { "type": "Identifier", - "start": 27245, - "end": 27252, + "start": 27467, + "end": 27474, "loc": { "start": { - "line": 827, + "line": 832, "column": 18 }, "end": { - "line": 827, + "line": 832, "column": 25 }, "identifierName": "logType" @@ -47392,44 +47648,44 @@ }, { "type": "MemberExpression", - "start": 27254, - "end": 27264, + "start": 27476, + "end": 27486, "loc": { "start": { - "line": 827, + "line": 832, "column": 27 }, "end": { - "line": 827, + "line": 832, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 27254, - "end": 27258, + "start": 27476, + "end": 27480, "loc": { "start": { - "line": 827, + "line": 832, "column": 27 }, "end": { - "line": 827, + "line": 832, "column": 31 } } }, "property": { "type": "Identifier", - "start": 27259, - "end": 27264, + "start": 27481, + "end": 27486, "loc": { "start": { - "line": 827, + "line": 832, "column": 32 }, "end": { - "line": 827, + "line": 832, "column": 37 }, "identifierName": "debug" @@ -47442,21 +47698,361 @@ } } ], - "directives": [] + "directives": [], + "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Log message to console (if the debug option is enabled).\n *\n * @private\n * @param {Array} args - The arguments to be passed to the matching console\n * method.\n * @param {string} logType - The name of the console method to use.\n ", - "start": 26932, - "end": 27201, + "start": 27154, + "end": 27423, + "loc": { + "start": { + "line": 823, + "column": 4 + }, + "end": { + "line": 830, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Replaces the default `formatTime` implementation with a custom implementation.\n *\n * @param {function} customImplementation - A function which will be used in place\n * of the default `formatTime` implementation. Will receive the current time\n * in seconds and the guide (in seconds) as arguments.\n ", + "start": 27500, + "end": 27839, + "loc": { + "start": { + "line": 835, + "column": 4 + }, + "end": { + "line": 841, + "column": 7 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 27844, + "end": 27986, + "loc": { + "start": { + "line": 842, + "column": 4 + }, + "end": { + "line": 846, + "column": 5 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 27844, + "end": 27857, + "loc": { + "start": { + "line": 842, + "column": 4 + }, + "end": { + "line": 842, + "column": 17 + }, + "identifierName": "setFormatTime" + }, + "name": "setFormatTime", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 27858, + "end": 27878, + "loc": { + "start": { + "line": 842, + "column": 18 + }, + "end": { + "line": 842, + "column": 38 + }, + "identifierName": "customImplementation" + }, + "name": "customImplementation" + } + ], + "body": { + "type": "BlockStatement", + "start": 27880, + "end": 27986, + "loc": { + "start": { + "line": 842, + "column": 40 + }, + "end": { + "line": 846, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 27890, + "end": 27930, + "loc": { + "start": { + "line": 843, + "column": 8 + }, + "end": { + "line": 843, + "column": 48 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 27890, + "end": 27929, + "loc": { + "start": { + "line": 843, + "column": 8 + }, + "end": { + "line": 843, + "column": 47 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 27890, + "end": 27906, + "loc": { + "start": { + "line": 843, + "column": 8 + }, + "end": { + "line": 843, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 27890, + "end": 27894, + "loc": { + "start": { + "line": 843, + "column": 8 + }, + "end": { + "line": 843, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 27895, + "end": 27906, + "loc": { + "start": { + "line": 843, + "column": 13 + }, + "end": { + "line": 843, + "column": 24 + }, + "identifierName": "_formatTime" + }, + "name": "_formatTime" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 27909, + "end": 27929, + "loc": { + "start": { + "line": 843, + "column": 27 + }, + "end": { + "line": 843, + "column": 47 + }, + "identifierName": "customImplementation" + }, + "name": "customImplementation" + } + } + }, + { + "type": "ExpressionStatement", + "start": 27940, + "end": 27980, + "loc": { + "start": { + "line": 845, + "column": 8 + }, + "end": { + "line": 845, + "column": 48 + } + }, + "expression": { + "type": "CallExpression", + "start": 27940, + "end": 27979, + "loc": { + "start": { + "line": 845, + "column": 8 + }, + "end": { + "line": 845, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 27940, + "end": 27961, + "loc": { + "start": { + "line": 845, + "column": 8 + }, + "end": { + "line": 845, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 27940, + "end": 27947, + "loc": { + "start": { + "line": 845, + "column": 8 + }, + "end": { + "line": 845, + "column": 15 + }, + "identifierName": "videojs" + }, + "name": "videojs" + }, + "property": { + "type": "Identifier", + "start": 27948, + "end": 27961, + "loc": { + "start": { + "line": 845, + "column": 16 + }, + "end": { + "line": 845, + "column": 29 + }, + "identifierName": "setFormatTime" + }, + "name": "setFormatTime" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 27962, + "end": 27978, + "loc": { + "start": { + "line": 845, + "column": 30 + }, + "end": { + "line": 845, + "column": 46 + } + }, + "object": { + "type": "ThisExpression", + "start": 27962, + "end": 27966, + "loc": { + "start": { + "line": 845, + "column": 30 + }, + "end": { + "line": 845, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 27967, + "end": 27978, + "loc": { + "start": { + "line": 845, + "column": 35 + }, + "end": { + "line": 845, + "column": 46 + }, + "identifierName": "_formatTime" + }, + "name": "_formatTime" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Replaces the default `formatTime` implementation with a custom implementation.\n *\n * @param {function} customImplementation - A function which will be used in place\n * of the default `formatTime` implementation. Will receive the current time\n * in seconds and the guide (in seconds) as arguments.\n ", + "start": 27500, + "end": 27839, "loc": { "start": { - "line": 818, + "line": 835, "column": 4 }, "end": { - "line": 825, + "line": 841, "column": 7 } } @@ -47472,58 +48068,58 @@ }, { "type": "ExpressionStatement", - "start": 27315, - "end": 27348, + "start": 28029, + "end": 28062, "loc": { "start": { - "line": 832, + "line": 850, "column": 0 }, "end": { - "line": 832, + "line": 850, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 27315, - "end": 27347, + "start": 28029, + "end": 28061, "loc": { "start": { - "line": 832, + "line": 850, "column": 0 }, "end": { - "line": 832, + "line": 850, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 27315, - "end": 27333, + "start": 28029, + "end": 28047, "loc": { "start": { - "line": 832, + "line": 850, "column": 0 }, "end": { - "line": 832, + "line": 850, "column": 18 } }, "object": { "type": "Identifier", - "start": 27315, - "end": 27325, + "start": 28029, + "end": 28039, "loc": { "start": { - "line": 832, + "line": 850, "column": 0 }, "end": { - "line": 832, + "line": 850, "column": 10 }, "identifierName": "Wavesurfer" @@ -47533,15 +48129,15 @@ }, "property": { "type": "Identifier", - "start": 27326, - "end": 27333, + "start": 28040, + "end": 28047, "loc": { "start": { - "line": 832, + "line": 850, "column": 11 }, "end": { - "line": 832, + "line": 850, "column": 18 }, "identifierName": "VERSION" @@ -47553,15 +48149,15 @@ }, "right": { "type": "Identifier", - "start": 27336, - "end": 27347, + "start": 28050, + "end": 28061, "loc": { "start": { - "line": 832, + "line": 850, "column": 21 }, "end": { - "line": 832, + "line": 850, "column": 32 }, "identifierName": "__VERSION__" @@ -47574,15 +48170,15 @@ { "type": "CommentLine", "value": " version nr is injected during build", - "start": 27276, - "end": 27314, + "start": 27990, + "end": 28028, "loc": { "start": { - "line": 831, + "line": 849, "column": 0 }, "end": { - "line": 831, + "line": 849, "column": 38 } } @@ -47592,15 +48188,15 @@ { "type": "CommentLine", "value": " register plugin once", - "start": 27350, - "end": 27373, + "start": 28064, + "end": 28087, "loc": { "start": { - "line": 834, + "line": 852, "column": 0 }, "end": { - "line": 834, + "line": 852, "column": 23 } } @@ -47609,58 +48205,58 @@ }, { "type": "ExpressionStatement", - "start": 27374, - "end": 27406, + "start": 28088, + "end": 28120, "loc": { "start": { - "line": 835, + "line": 853, "column": 0 }, "end": { - "line": 835, + "line": 853, "column": 32 } }, "expression": { "type": "AssignmentExpression", - "start": 27374, - "end": 27405, + "start": 28088, + "end": 28119, "loc": { "start": { - "line": 835, + "line": 853, "column": 0 }, "end": { - "line": 835, + "line": 853, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 27374, - "end": 27392, + "start": 28088, + "end": 28106, "loc": { "start": { - "line": 835, + "line": 853, "column": 0 }, "end": { - "line": 835, + "line": 853, "column": 18 } }, "object": { "type": "Identifier", - "start": 27374, - "end": 27381, + "start": 28088, + "end": 28095, "loc": { "start": { - "line": 835, + "line": 853, "column": 0 }, "end": { - "line": 835, + "line": 853, "column": 7 }, "identifierName": "videojs" @@ -47670,15 +48266,15 @@ }, "property": { "type": "Identifier", - "start": 27382, - "end": 27392, + "start": 28096, + "end": 28106, "loc": { "start": { - "line": 835, + "line": 853, "column": 8 }, "end": { - "line": 835, + "line": 853, "column": 18 }, "identifierName": "Wavesurfer" @@ -47690,15 +48286,15 @@ }, "right": { "type": "Identifier", - "start": 27395, - "end": 27405, + "start": 28109, + "end": 28119, "loc": { "start": { - "line": 835, + "line": 853, "column": 21 }, "end": { - "line": 835, + "line": 853, "column": 31 }, "identifierName": "Wavesurfer" @@ -47711,15 +48307,15 @@ { "type": "CommentLine", "value": " register plugin once", - "start": 27350, - "end": 27373, + "start": 28064, + "end": 28087, "loc": { "start": { - "line": 834, + "line": 852, "column": 0 }, "end": { - "line": 834, + "line": 852, "column": 23 } } @@ -47728,71 +48324,71 @@ }, { "type": "IfStatement", - "start": 27407, - "end": 27531, + "start": 28121, + "end": 28245, "loc": { "start": { - "line": 836, + "line": 854, "column": 0 }, "end": { - "line": 838, + "line": 856, "column": 1 } }, "test": { "type": "BinaryExpression", - "start": 27411, - "end": 27464, + "start": 28125, + "end": 28178, "loc": { "start": { - "line": 836, + "line": 854, "column": 4 }, "end": { - "line": 836, + "line": 854, "column": 57 } }, "left": { "type": "CallExpression", - "start": 27411, - "end": 27450, + "start": 28125, + "end": 28164, "loc": { "start": { - "line": 836, + "line": 854, "column": 4 }, "end": { - "line": 836, + "line": 854, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 27411, - "end": 27428, + "start": 28125, + "end": 28142, "loc": { "start": { - "line": 836, + "line": 854, "column": 4 }, "end": { - "line": 836, + "line": 854, "column": 21 } }, "object": { "type": "Identifier", - "start": 27411, - "end": 27418, + "start": 28125, + "end": 28132, "loc": { "start": { - "line": 836, + "line": 854, "column": 4 }, "end": { - "line": 836, + "line": 854, "column": 11 }, "identifierName": "videojs" @@ -47801,15 +48397,15 @@ }, "property": { "type": "Identifier", - "start": 27419, - "end": 27428, + "start": 28133, + "end": 28142, "loc": { "start": { - "line": 836, + "line": 854, "column": 12 }, "end": { - "line": 836, + "line": 854, "column": 21 }, "identifierName": "getPlugin" @@ -47821,15 +48417,15 @@ "arguments": [ { "type": "Identifier", - "start": 27429, - "end": 27449, + "start": 28143, + "end": 28163, "loc": { "start": { - "line": 836, + "line": 854, "column": 22 }, "end": { - "line": 836, + "line": 854, "column": 42 }, "identifierName": "wavesurferPluginName" @@ -47841,15 +48437,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 27455, - "end": 27464, + "start": 28169, + "end": 28178, "loc": { "start": { - "line": 836, + "line": 854, "column": 48 }, "end": { - "line": 836, + "line": 854, "column": 57 }, "identifierName": "undefined" @@ -47859,72 +48455,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 27466, - "end": 27531, + "start": 28180, + "end": 28245, "loc": { "start": { - "line": 836, + "line": 854, "column": 59 }, "end": { - "line": 838, + "line": 856, "column": 1 } }, "body": [ { "type": "ExpressionStatement", - "start": 27472, - "end": 27529, + "start": 28186, + "end": 28243, "loc": { "start": { - "line": 837, + "line": 855, "column": 4 }, "end": { - "line": 837, + "line": 855, "column": 61 } }, "expression": { "type": "CallExpression", - "start": 27472, - "end": 27528, + "start": 28186, + "end": 28242, "loc": { "start": { - "line": 837, + "line": 855, "column": 4 }, "end": { - "line": 837, + "line": 855, "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 27472, - "end": 27494, + "start": 28186, + "end": 28208, "loc": { "start": { - "line": 837, + "line": 855, "column": 4 }, "end": { - "line": 837, + "line": 855, "column": 26 } }, "object": { "type": "Identifier", - "start": 27472, - "end": 27479, + "start": 28186, + "end": 28193, "loc": { "start": { - "line": 837, + "line": 855, "column": 4 }, "end": { - "line": 837, + "line": 855, "column": 11 }, "identifierName": "videojs" @@ -47933,15 +48529,15 @@ }, "property": { "type": "Identifier", - "start": 27480, - "end": 27494, + "start": 28194, + "end": 28208, "loc": { "start": { - "line": 837, + "line": 855, "column": 12 }, "end": { - "line": 837, + "line": 855, "column": 26 }, "identifierName": "registerPlugin" @@ -47953,15 +48549,15 @@ "arguments": [ { "type": "Identifier", - "start": 27495, - "end": 27515, + "start": 28209, + "end": 28229, "loc": { "start": { - "line": 837, + "line": 855, "column": 27 }, "end": { - "line": 837, + "line": 855, "column": 47 }, "identifierName": "wavesurferPluginName" @@ -47970,15 +48566,15 @@ }, { "type": "Identifier", - "start": 27517, - "end": 27527, + "start": 28231, + "end": 28241, "loc": { "start": { - "line": 837, + "line": 855, "column": 49 }, "end": { - "line": 837, + "line": 855, "column": 59 }, "identifierName": "Wavesurfer" @@ -47997,15 +48593,15 @@ { "type": "CommentLine", "value": " register a star-middleware", - "start": 27533, - "end": 27562, + "start": 28247, + "end": 28276, "loc": { "start": { - "line": 840, + "line": 858, "column": 0 }, "end": { - "line": 840, + "line": 858, "column": 29 } } @@ -48014,57 +48610,57 @@ }, { "type": "ExpressionStatement", - "start": 27563, - "end": 27714, + "start": 28277, + "end": 28428, "loc": { "start": { - "line": 841, + "line": 859, "column": 0 }, "end": { - "line": 846, + "line": 864, "column": 3 } }, "expression": { "type": "CallExpression", - "start": 27563, - "end": 27713, + "start": 28277, + "end": 28427, "loc": { "start": { - "line": 841, + "line": 859, "column": 0 }, "end": { - "line": 846, + "line": 864, "column": 2 } }, "callee": { "type": "MemberExpression", - "start": 27563, - "end": 27574, + "start": 28277, + "end": 28288, "loc": { "start": { - "line": 841, + "line": 859, "column": 0 }, "end": { - "line": 841, + "line": 859, "column": 11 } }, "object": { "type": "Identifier", - "start": 27563, - "end": 27570, + "start": 28277, + "end": 28284, "loc": { "start": { - "line": 841, + "line": 859, "column": 0 }, "end": { - "line": 841, + "line": 859, "column": 7 }, "identifierName": "videojs" @@ -48074,15 +48670,15 @@ }, "property": { "type": "Identifier", - "start": 27571, - "end": 27574, + "start": 28285, + "end": 28288, "loc": { "start": { - "line": 841, + "line": 859, "column": 8 }, "end": { - "line": 841, + "line": 859, "column": 11 }, "identifierName": "use" @@ -48095,15 +48691,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 27575, - "end": 27578, + "start": 28289, + "end": 28292, "loc": { "start": { - "line": 841, + "line": 859, "column": 12 }, "end": { - "line": 841, + "line": 859, "column": 15 } }, @@ -48115,15 +48711,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 27580, - "end": 27712, + "start": 28294, + "end": 28426, "loc": { "start": { - "line": 841, + "line": 859, "column": 17 }, "end": { - "line": 846, + "line": 864, "column": 1 } }, @@ -48134,15 +48730,15 @@ "params": [ { "type": "Identifier", - "start": 27580, - "end": 27586, + "start": 28294, + "end": 28300, "loc": { "start": { - "line": 841, + "line": 859, "column": 17 }, "end": { - "line": 841, + "line": 859, "column": 23 }, "identifierName": "player" @@ -48152,73 +48748,73 @@ ], "body": { "type": "BlockStatement", - "start": 27590, - "end": 27712, + "start": 28304, + "end": 28426, "loc": { "start": { - "line": 841, + "line": 859, "column": 27 }, "end": { - "line": 846, + "line": 864, "column": 1 } }, "body": [ { "type": "ExpressionStatement", - "start": 27639, - "end": 27676, + "start": 28353, + "end": 28390, "loc": { "start": { - "line": 843, + "line": 861, "column": 4 }, "end": { - "line": 843, + "line": 861, "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 27639, - "end": 27675, + "start": 28353, + "end": 28389, "loc": { "start": { - "line": 843, + "line": 861, "column": 4 }, "end": { - "line": 843, + "line": 861, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 27639, - "end": 27666, + "start": 28353, + "end": 28380, "loc": { "start": { - "line": 843, + "line": 861, "column": 4 }, "end": { - "line": 843, + "line": 861, "column": 31 } }, "object": { "type": "Identifier", - "start": 27639, - "end": 27659, + "start": 28353, + "end": 28373, "loc": { "start": { - "line": 843, + "line": 861, "column": 4 }, "end": { - "line": 843, + "line": 861, "column": 24 }, "identifierName": "WavesurferMiddleware" @@ -48228,15 +48824,15 @@ }, "property": { "type": "Identifier", - "start": 27660, - "end": 27666, + "start": 28374, + "end": 28380, "loc": { "start": { - "line": 843, + "line": 861, "column": 25 }, "end": { - "line": 843, + "line": 861, "column": 31 }, "identifierName": "player" @@ -48248,15 +48844,15 @@ }, "right": { "type": "Identifier", - "start": 27669, - "end": 27675, + "start": 28383, + "end": 28389, "loc": { "start": { - "line": 843, + "line": 861, "column": 34 }, "end": { - "line": 843, + "line": 861, "column": 40 }, "identifierName": "player" @@ -48269,15 +48865,15 @@ { "type": "CommentLine", "value": " make player available on middleware", - "start": 27596, - "end": 27634, + "start": 28310, + "end": 28348, "loc": { "start": { - "line": 842, + "line": 860, "column": 4 }, "end": { - "line": 842, + "line": 860, "column": 42 } } @@ -48286,29 +48882,29 @@ }, { "type": "ReturnStatement", - "start": 27682, - "end": 27710, + "start": 28396, + "end": 28424, "loc": { "start": { - "line": 845, + "line": 863, "column": 4 }, "end": { - "line": 845, + "line": 863, "column": 32 } }, "argument": { "type": "Identifier", - "start": 27689, - "end": 27709, + "start": 28403, + "end": 28423, "loc": { "start": { - "line": 845, + "line": 863, "column": 11 }, "end": { - "line": 845, + "line": 863, "column": 31 }, "identifierName": "WavesurferMiddleware" @@ -48327,15 +48923,15 @@ { "type": "CommentLine", "value": " register a star-middleware", - "start": 27533, - "end": 27562, + "start": 28247, + "end": 28276, "loc": { "start": { - "line": 840, + "line": 858, "column": 0 }, "end": { - "line": 840, + "line": 858, "column": 29 } } @@ -48344,15 +48940,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 27716, - "end": 27736, + "start": 28430, + "end": 28450, "loc": { "start": { - "line": 848, + "line": 866, "column": 0 }, "end": { - "line": 848, + "line": 866, "column": 20 } }, @@ -48360,29 +48956,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 27724, - "end": 27734, + "start": 28438, + "end": 28448, "loc": { "start": { - "line": 848, + "line": 866, "column": 8 }, "end": { - "line": 848, + "line": 866, "column": 18 } }, "local": { "type": "Identifier", - "start": 27724, - "end": 27734, + "start": 28438, + "end": 28448, "loc": { "start": { - "line": 848, + "line": 866, "column": 8 }, "end": { - "line": 848, + "line": 866, "column": 18 }, "identifierName": "Wavesurfer" @@ -48391,15 +48987,15 @@ }, "exported": { "type": "Identifier", - "start": 27724, - "end": 27734, + "start": 28438, + "end": 28448, "loc": { "start": { - "line": 848, + "line": 866, "column": 8 }, "end": { - "line": 848, + "line": 866, "column": 18 }, "identifierName": "Wavesurfer" @@ -48412,29 +49008,29 @@ }, { "type": "ExportNamedDeclaration", - "start": 27716, - "end": 27736, + "start": 28430, + "end": 28450, "loc": { "start": { - "line": 848, + "line": 866, "column": 0 }, "end": { - "line": 848, + "line": 866, "column": 20 } }, "declaration": { "type": "ClassDeclaration", "start": 942, - "end": 27274, + "end": 27988, "loc": { "start": { "line": 35, "column": 0 }, "end": { - "line": 829, + "line": 847, "column": 1 } }, @@ -48476,14 +49072,14 @@ "body": { "type": "ClassBody", "start": 974, - "end": 27274, + "end": 27988, "loc": { "start": { "line": 35, "column": 32 }, "end": { - "line": 829, + "line": 847, "column": 1 } }, @@ -48491,14 +49087,14 @@ { "type": "ClassMethod", "start": 1172, - "end": 2027, + "end": 2287, "loc": { "start": { "line": 42, "column": 4 }, "end": { - "line": 65, + "line": 71, "column": 5 } }, @@ -48566,14 +49162,14 @@ "body": { "type": "BlockStatement", "start": 1201, - "end": 2027, + "end": 2287, "loc": { "start": { "line": 42, "column": 33 }, "end": { - "line": 65, + "line": 71, "column": 5 } }, @@ -49978,9 +50574,9 @@ "trailingComments": [ { "type": "CommentLine", - "value": " use custom video.js time format", + "value": " use custom time format for video.js player", "start": 1742, - "end": 1776, + "end": 1787, "loc": { "start": { "line": 58, @@ -49988,306 +50584,700 @@ }, "end": { "line": 58, - "column": 42 + "column": 53 } } } ] }, { - "type": "ExpressionStatement", - "start": 1785, - "end": 1913, + "type": "IfStatement", + "start": 1796, + "end": 2173, "loc": { "start": { "line": 59, "column": 8 }, "end": { - "line": 61, - "column": 11 + "line": 67, + "column": 9 } }, - "expression": { - "type": "CallExpression", - "start": 1785, - "end": 1912, + "test": { + "type": "LogicalExpression", + "start": 1800, + "end": 1862, "loc": { "start": { "line": 59, - "column": 8 + "column": 12 }, "end": { - "line": 61, - "column": 10 + "line": 59, + "column": 74 } }, - "callee": { + "left": { "type": "MemberExpression", - "start": 1785, - "end": 1806, + "start": 1800, + "end": 1818, "loc": { "start": { "line": 59, - "column": 8 + "column": 12 }, "end": { "line": 59, - "column": 29 + "column": 30 } }, "object": { "type": "Identifier", - "start": 1785, - "end": 1792, + "start": 1800, + "end": 1807, "loc": { "start": { "line": 59, - "column": 8 + "column": 12 }, "end": { "line": 59, - "column": 15 + "column": 19 }, - "identifierName": "videojs" + "identifierName": "options" }, - "name": "videojs", + "name": "options", "leadingComments": null }, "property": { "type": "Identifier", - "start": 1793, - "end": 1806, + "start": 1808, + "end": 1818, "loc": { "start": { "line": 59, - "column": 16 + "column": 20 }, "end": { "line": 59, - "column": 29 + "column": 30 }, - "identifierName": "setFormatTime" + "identifierName": "formatTime" }, - "name": "setFormatTime" + "name": "formatTime" }, "computed": false, "leadingComments": null }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 1807, - "end": 1911, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 1822, + "end": 1862, + "loc": { + "start": { + "line": 59, + "column": 34 + }, + "end": { + "line": 59, + "column": 74 + } + }, + "left": { + "type": "UnaryExpression", + "start": 1822, + "end": 1847, "loc": { "start": { "line": 59, - "column": 30 + "column": 34 }, "end": { - "line": 61, - "column": 9 + "line": 59, + "column": 59 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "operator": "typeof", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 1829, + "end": 1847, + "loc": { + "start": { + "line": 59, + "column": 41 + }, + "end": { + "line": 59, + "column": 59 + } + }, + "object": { "type": "Identifier", - "start": 1808, - "end": 1815, + "start": 1829, + "end": 1836, "loc": { "start": { "line": 59, - "column": 31 + "column": 41 }, "end": { "line": 59, - "column": 38 + "column": 48 }, - "identifierName": "seconds" + "identifierName": "options" }, - "name": "seconds" + "name": "options" }, - { + "property": { "type": "Identifier", - "start": 1817, - "end": 1822, + "start": 1837, + "end": 1847, "loc": { "start": { "line": 59, - "column": 40 + "column": 49 }, "end": { "line": 59, - "column": 45 + "column": 59 }, - "identifierName": "guide" + "identifierName": "formatTime" }, - "name": "guide" + "name": "formatTime" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 1852, + "end": 1862, + "loc": { + "start": { + "line": 59, + "column": 64 + }, + "end": { + "line": 59, + "column": 74 } - ], - "body": { - "type": "BlockStatement", - "start": 1827, - "end": 1911, + }, + "extra": { + "rawValue": "function", + "raw": "'function'" + }, + "value": "function" + } + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 1864, + "end": 1967, + "loc": { + "start": { + "line": 59, + "column": 76 + }, + "end": { + "line": 62, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1918, + "end": 1957, + "loc": { + "start": { + "line": 61, + "column": 12 + }, + "end": { + "line": 61, + "column": 51 + } + }, + "expression": { + "type": "CallExpression", + "start": 1918, + "end": 1956, "loc": { "start": { - "line": 59, - "column": 50 + "line": 61, + "column": 12 }, "end": { "line": 61, - "column": 9 + "column": 50 } }, - "body": [ - { - "type": "ReturnStatement", - "start": 1841, - "end": 1901, + "callee": { + "type": "MemberExpression", + "start": 1918, + "end": 1936, + "loc": { + "start": { + "line": 61, + "column": 12 + }, + "end": { + "line": 61, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 1918, + "end": 1922, "loc": { "start": { - "line": 60, + "line": 61, "column": 12 }, "end": { - "line": 60, - "column": 72 + "line": 61, + "column": 16 } }, - "argument": { - "type": "CallExpression", - "start": 1848, - "end": 1900, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1923, + "end": 1936, + "loc": { + "start": { + "line": 61, + "column": 17 + }, + "end": { + "line": 61, + "column": 30 + }, + "identifierName": "setFormatTime" + }, + "name": "setFormatTime" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 1937, + "end": 1955, + "loc": { + "start": { + "line": 61, + "column": 31 + }, + "end": { + "line": 61, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 1937, + "end": 1944, "loc": { "start": { - "line": 60, - "column": 19 + "line": 61, + "column": 31 }, "end": { - "line": 60, - "column": 71 - } + "line": 61, + "column": 38 + }, + "identifierName": "options" }, - "callee": { + "name": "options" + }, + "property": { + "type": "Identifier", + "start": 1945, + "end": 1955, + "loc": { + "start": { + "line": 61, + "column": 39 + }, + "end": { + "line": 61, + "column": 49 + }, + "identifierName": "formatTime" + }, + "name": "formatTime" + }, + "computed": false + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " user-supplied formatTime", + "start": 1878, + "end": 1905, + "loc": { + "start": { + "line": 60, + "column": 12 + }, + "end": { + "line": 60, + "column": 39 + } + } + } + ] + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 1973, + "end": 2173, + "loc": { + "start": { + "line": 62, + "column": 15 + }, + "end": { + "line": 67, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2030, + "end": 2163, + "loc": { + "start": { + "line": 64, + "column": 12 + }, + "end": { + "line": 66, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 2030, + "end": 2162, + "loc": { + "start": { + "line": 64, + "column": 12 + }, + "end": { + "line": 66, + "column": 14 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2030, + "end": 2048, + "loc": { + "start": { + "line": 64, + "column": 12 + }, + "end": { + "line": 64, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 2030, + "end": 2034, + "loc": { + "start": { + "line": 64, + "column": 12 + }, + "end": { + "line": 64, + "column": 16 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 2035, + "end": 2048, + "loc": { + "start": { + "line": 64, + "column": 17 + }, + "end": { + "line": 64, + "column": 30 + }, + "identifierName": "setFormatTime" + }, + "name": "setFormatTime" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 2049, + "end": 2161, + "loc": { + "start": { + "line": 64, + "column": 31 + }, + "end": { + "line": 66, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { "type": "Identifier", - "start": 1848, - "end": 1858, + "start": 2050, + "end": 2057, "loc": { "start": { - "line": 60, - "column": 19 + "line": 64, + "column": 32 }, "end": { - "line": 60, - "column": 29 + "line": 64, + "column": 39 }, - "identifierName": "formatTime" + "identifierName": "seconds" }, - "name": "formatTime" + "name": "seconds" }, - "arguments": [ - { - "type": "Identifier", - "start": 1859, - "end": 1866, - "loc": { - "start": { - "line": 60, - "column": 30 - }, - "end": { - "line": 60, - "column": 37 - }, - "identifierName": "seconds" + { + "type": "Identifier", + "start": 2059, + "end": 2064, + "loc": { + "start": { + "line": 64, + "column": 41 }, - "name": "seconds" - }, - { - "type": "Identifier", - "start": 1868, - "end": 1873, - "loc": { - "start": { - "line": 60, - "column": 39 - }, - "end": { - "line": 60, - "column": 44 - }, - "identifierName": "guide" + "end": { + "line": 64, + "column": 46 }, - "name": "guide" + "identifierName": "guide" + }, + "name": "guide" + } + ], + "body": { + "type": "BlockStatement", + "start": 2069, + "end": 2161, + "loc": { + "start": { + "line": 64, + "column": 51 }, + "end": { + "line": 66, + "column": 13 + } + }, + "body": [ { - "type": "MemberExpression", - "start": 1875, - "end": 1899, + "type": "ReturnStatement", + "start": 2087, + "end": 2147, "loc": { "start": { - "line": 60, - "column": 46 + "line": 65, + "column": 16 }, "end": { - "line": 60, - "column": 70 + "line": 65, + "column": 76 } }, - "object": { - "type": "ThisExpression", - "start": 1875, - "end": 1879, + "argument": { + "type": "CallExpression", + "start": 2094, + "end": 2146, "loc": { "start": { - "line": 60, - "column": 46 + "line": 65, + "column": 23 }, "end": { - "line": 60, - "column": 50 + "line": 65, + "column": 75 } - } - }, - "property": { - "type": "Identifier", - "start": 1880, - "end": 1899, - "loc": { - "start": { - "line": 60, - "column": 51 - }, - "end": { - "line": 60, - "column": 70 + }, + "callee": { + "type": "Identifier", + "start": 2094, + "end": 2104, + "loc": { + "start": { + "line": 65, + "column": 23 + }, + "end": { + "line": 65, + "column": 33 + }, + "identifierName": "formatTime" }, - "identifierName": "displayMilliseconds" + "name": "formatTime" }, - "name": "displayMilliseconds" - }, - "computed": false + "arguments": [ + { + "type": "Identifier", + "start": 2105, + "end": 2112, + "loc": { + "start": { + "line": 65, + "column": 34 + }, + "end": { + "line": 65, + "column": 41 + }, + "identifierName": "seconds" + }, + "name": "seconds" + }, + { + "type": "Identifier", + "start": 2114, + "end": 2119, + "loc": { + "start": { + "line": 65, + "column": 43 + }, + "end": { + "line": 65, + "column": 48 + }, + "identifierName": "guide" + }, + "name": "guide" + }, + { + "type": "MemberExpression", + "start": 2121, + "end": 2145, + "loc": { + "start": { + "line": 65, + "column": 50 + }, + "end": { + "line": 65, + "column": 74 + } + }, + "object": { + "type": "ThisExpression", + "start": 2121, + "end": 2125, + "loc": { + "start": { + "line": 65, + "column": 50 + }, + "end": { + "line": 65, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "start": 2126, + "end": 2145, + "loc": { + "start": { + "line": 65, + "column": 55 + }, + "end": { + "line": 65, + "column": 74 + }, + "identifierName": "displayMilliseconds" + }, + "name": "displayMilliseconds" + }, + "computed": false + } + ] + } } - ] + ], + "directives": [] } } ], - "directives": [] - } + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " plugin's default formatTime", + "start": 1987, + "end": 2017, + "loc": { + "start": { + "line": 63, + "column": 12 + }, + "end": { + "line": 63, + "column": 42 + } + } + } + ] } ], - "leadingComments": null + "directives": [], + "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", - "value": " use custom video.js time format", + "value": " use custom time format for video.js player", "start": 1742, - "end": 1776, + "end": 1787, "loc": { "start": { "line": 58, @@ -50295,7 +51285,7 @@ }, "end": { "line": 58, - "column": 42 + "column": 53 } } } @@ -50304,15 +51294,15 @@ { "type": "CommentLine", "value": " wait until player ui is ready", - "start": 1923, - "end": 1955, + "start": 2183, + "end": 2215, "loc": { "start": { - "line": 63, + "line": 69, "column": 8 }, "end": { - "line": 63, + "line": 69, "column": 40 } } @@ -50321,71 +51311,71 @@ }, { "type": "ExpressionStatement", - "start": 1964, - "end": 2021, + "start": 2224, + "end": 2281, "loc": { "start": { - "line": 64, + "line": 70, "column": 8 }, "end": { - "line": 64, + "line": 70, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 1964, - "end": 2020, + "start": 2224, + "end": 2280, "loc": { "start": { - "line": 64, + "line": 70, "column": 8 }, "end": { - "line": 64, + "line": 70, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 1964, - "end": 1979, + "start": 2224, + "end": 2239, "loc": { "start": { - "line": 64, + "line": 70, "column": 8 }, "end": { - "line": 64, + "line": 70, "column": 23 } }, "object": { "type": "MemberExpression", - "start": 1964, - "end": 1975, + "start": 2224, + "end": 2235, "loc": { "start": { - "line": 64, + "line": 70, "column": 8 }, "end": { - "line": 64, + "line": 70, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 1964, - "end": 1968, + "start": 2224, + "end": 2228, "loc": { "start": { - "line": 64, + "line": 70, "column": 8 }, "end": { - "line": 64, + "line": 70, "column": 12 } }, @@ -50393,15 +51383,15 @@ }, "property": { "type": "Identifier", - "start": 1969, - "end": 1975, + "start": 2229, + "end": 2235, "loc": { "start": { - "line": 64, + "line": 70, "column": 13 }, "end": { - "line": 64, + "line": 70, "column": 19 }, "identifierName": "player" @@ -50413,15 +51403,15 @@ }, "property": { "type": "Identifier", - "start": 1976, - "end": 1979, + "start": 2236, + "end": 2239, "loc": { "start": { - "line": 64, + "line": 70, "column": 20 }, "end": { - "line": 64, + "line": 70, "column": 23 }, "identifierName": "one" @@ -50434,29 +51424,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 1980, - "end": 1991, + "start": 2240, + "end": 2251, "loc": { "start": { - "line": 64, + "line": 70, "column": 24 }, "end": { - "line": 64, + "line": 70, "column": 35 } }, "object": { "type": "Identifier", - "start": 1980, - "end": 1985, + "start": 2240, + "end": 2245, "loc": { "start": { - "line": 64, + "line": 70, "column": 24 }, "end": { - "line": 64, + "line": 70, "column": 29 }, "identifierName": "Event" @@ -50465,15 +51455,15 @@ }, "property": { "type": "Identifier", - "start": 1986, - "end": 1991, + "start": 2246, + "end": 2251, "loc": { "start": { - "line": 64, + "line": 70, "column": 30 }, "end": { - "line": 64, + "line": 70, "column": 35 }, "identifierName": "READY" @@ -50484,72 +51474,72 @@ }, { "type": "CallExpression", - "start": 1993, - "end": 2019, + "start": 2253, + "end": 2279, "loc": { "start": { - "line": 64, + "line": 70, "column": 37 }, "end": { - "line": 64, + "line": 70, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 1993, - "end": 2013, + "start": 2253, + "end": 2273, "loc": { "start": { - "line": 64, + "line": 70, "column": 37 }, "end": { - "line": 64, + "line": 70, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 1993, - "end": 2008, + "start": 2253, + "end": 2268, "loc": { "start": { - "line": 64, + "line": 70, "column": 37 }, "end": { - "line": 64, + "line": 70, "column": 52 } }, "object": { "type": "ThisExpression", - "start": 1993, - "end": 1997, + "start": 2253, + "end": 2257, "loc": { "start": { - "line": 64, + "line": 70, "column": 37 }, "end": { - "line": 64, + "line": 70, "column": 41 } } }, "property": { "type": "Identifier", - "start": 1998, - "end": 2008, + "start": 2258, + "end": 2268, "loc": { "start": { - "line": 64, + "line": 70, "column": 42 }, "end": { - "line": 64, + "line": 70, "column": 52 }, "identifierName": "initialize" @@ -50560,15 +51550,15 @@ }, "property": { "type": "Identifier", - "start": 2009, - "end": 2013, + "start": 2269, + "end": 2273, "loc": { "start": { - "line": 64, + "line": 70, "column": 53 }, "end": { - "line": 64, + "line": 70, "column": 57 }, "identifierName": "bind" @@ -50580,15 +51570,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 2014, - "end": 2018, + "start": 2274, + "end": 2278, "loc": { "start": { - "line": 64, + "line": 70, "column": 58 }, "end": { - "line": 64, + "line": 70, "column": 62 } } @@ -50602,15 +51592,15 @@ { "type": "CommentLine", "value": " wait until player ui is ready", - "start": 1923, - "end": 1955, + "start": 2183, + "end": 2215, "loc": { "start": { - "line": 63, + "line": 69, "column": 8 }, "end": { - "line": 63, + "line": 69, "column": 40 } } @@ -50643,15 +51633,15 @@ { "type": "CommentBlock", "value": "*\n * Player UI is ready: customize controls.\n *\n * @private\n ", - "start": 2033, - "end": 2114, + "start": 2293, + "end": 2374, "loc": { "start": { - "line": 67, + "line": 73, "column": 4 }, "end": { - "line": 71, + "line": 77, "column": 7 } } @@ -50660,15 +51650,15 @@ }, { "type": "ClassMethod", - "start": 2119, - "end": 6783, + "start": 2379, + "end": 7043, "loc": { "start": { - "line": 72, + "line": 78, "column": 4 }, "end": { - "line": 181, + "line": 187, "column": 5 } }, @@ -50676,15 +51666,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2119, - "end": 2129, + "start": 2379, + "end": 2389, "loc": { "start": { - "line": 72, + "line": 78, "column": 4 }, "end": { - "line": 72, + "line": 78, "column": 14 }, "identifierName": "initialize" @@ -50700,86 +51690,86 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2132, - "end": 6783, + "start": 2392, + "end": 7043, "loc": { "start": { - "line": 72, + "line": 78, "column": 17 }, "end": { - "line": 181, + "line": 187, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 2174, - "end": 2276, + "start": 2434, + "end": 2536, "loc": { "start": { - "line": 74, + "line": 80, "column": 8 }, "end": { - "line": 76, + "line": 82, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 2178, - "end": 2217, + "start": 2438, + "end": 2477, "loc": { "start": { - "line": 74, + "line": 80, "column": 12 }, "end": { - "line": 74, + "line": 80, "column": 51 } }, "left": { "type": "MemberExpression", - "start": 2178, - "end": 2203, + "start": 2438, + "end": 2463, "loc": { "start": { - "line": 74, + "line": 80, "column": 12 }, "end": { - "line": 74, + "line": 80, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 2178, - "end": 2189, + "start": 2438, + "end": 2449, "loc": { "start": { - "line": 74, + "line": 80, "column": 12 }, "end": { - "line": 74, + "line": 80, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2178, - "end": 2182, + "start": 2438, + "end": 2442, "loc": { "start": { - "line": 74, + "line": 80, "column": 12 }, "end": { - "line": 74, + "line": 80, "column": 16 } }, @@ -50787,15 +51777,15 @@ }, "property": { "type": "Identifier", - "start": 2183, - "end": 2189, + "start": 2443, + "end": 2449, "loc": { "start": { - "line": 74, + "line": 80, "column": 17 }, "end": { - "line": 74, + "line": 80, "column": 23 }, "identifierName": "player" @@ -50807,15 +51797,15 @@ }, "property": { "type": "Identifier", - "start": 2190, - "end": 2203, + "start": 2450, + "end": 2463, "loc": { "start": { - "line": 74, + "line": 80, "column": 24 }, "end": { - "line": 74, + "line": 80, "column": 37 }, "identifierName": "bigPlayButton" @@ -50828,15 +51818,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 2208, - "end": 2217, + "start": 2468, + "end": 2477, "loc": { "start": { - "line": 74, + "line": 80, "column": 42 }, "end": { - "line": 74, + "line": 80, "column": 51 }, "identifierName": "undefined" @@ -50847,115 +51837,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 2219, - "end": 2276, + "start": 2479, + "end": 2536, "loc": { "start": { - "line": 74, + "line": 80, "column": 53 }, "end": { - "line": 76, + "line": 82, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 2233, - "end": 2266, + "start": 2493, + "end": 2526, "loc": { "start": { - "line": 75, + "line": 81, "column": 12 }, "end": { - "line": 75, + "line": 81, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 2233, - "end": 2265, + "start": 2493, + "end": 2525, "loc": { "start": { - "line": 75, + "line": 81, "column": 12 }, "end": { - "line": 75, + "line": 81, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 2233, - "end": 2263, + "start": 2493, + "end": 2523, "loc": { "start": { - "line": 75, + "line": 81, "column": 12 }, "end": { - "line": 75, + "line": 81, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 2233, - "end": 2258, + "start": 2493, + "end": 2518, "loc": { "start": { - "line": 75, + "line": 81, "column": 12 }, "end": { - "line": 75, + "line": 81, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 2233, - "end": 2244, + "start": 2493, + "end": 2504, "loc": { "start": { - "line": 75, + "line": 81, "column": 12 }, "end": { - "line": 75, + "line": 81, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2233, - "end": 2237, + "start": 2493, + "end": 2497, "loc": { "start": { - "line": 75, + "line": 81, "column": 12 }, "end": { - "line": 75, + "line": 81, "column": 16 } } }, "property": { "type": "Identifier", - "start": 2238, - "end": 2244, + "start": 2498, + "end": 2504, "loc": { "start": { - "line": 75, + "line": 81, "column": 17 }, "end": { - "line": 75, + "line": 81, "column": 23 }, "identifierName": "player" @@ -50966,15 +51956,15 @@ }, "property": { "type": "Identifier", - "start": 2245, - "end": 2258, + "start": 2505, + "end": 2518, "loc": { "start": { - "line": 75, + "line": 81, "column": 24 }, "end": { - "line": 75, + "line": 81, "column": 37 }, "identifierName": "bigPlayButton" @@ -50985,15 +51975,15 @@ }, "property": { "type": "Identifier", - "start": 2259, - "end": 2263, + "start": 2519, + "end": 2523, "loc": { "start": { - "line": 75, + "line": 81, "column": 38 }, "end": { - "line": 75, + "line": 81, "column": 42 }, "identifierName": "hide" @@ -51014,15 +52004,15 @@ { "type": "CommentLine", "value": " hide big play button", - "start": 2142, - "end": 2165, + "start": 2402, + "end": 2425, "loc": { "start": { - "line": 73, + "line": 79, "column": 8 }, "end": { - "line": 73, + "line": 79, "column": 31 } } @@ -51032,15 +52022,15 @@ { "type": "CommentLine", "value": " parse options", - "start": 2286, - "end": 2302, + "start": 2546, + "end": 2562, "loc": { "start": { - "line": 78, + "line": 84, "column": 8 }, "end": { - "line": 78, + "line": 84, "column": 24 } } @@ -51049,44 +52039,44 @@ }, { "type": "VariableDeclaration", - "start": 2311, - "end": 2390, + "start": 2571, + "end": 2650, "loc": { "start": { - "line": 79, + "line": 85, "column": 8 }, "end": { - "line": 79, + "line": 85, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2315, - "end": 2389, + "start": 2575, + "end": 2649, "loc": { "start": { - "line": 79, + "line": 85, "column": 12 }, "end": { - "line": 79, + "line": 85, "column": 86 } }, "id": { "type": "Identifier", - "start": 2315, - "end": 2328, + "start": 2575, + "end": 2588, "loc": { "start": { - "line": 79, + "line": 85, "column": 12 }, "end": { - "line": 79, + "line": 85, "column": 25 }, "identifierName": "mergedOptions" @@ -51096,58 +52086,58 @@ }, "init": { "type": "CallExpression", - "start": 2331, - "end": 2389, + "start": 2591, + "end": 2649, "loc": { "start": { - "line": 79, + "line": 85, "column": 28 }, "end": { - "line": 79, + "line": 85, "column": 86 } }, "callee": { "type": "MemberExpression", - "start": 2331, - "end": 2348, + "start": 2591, + "end": 2608, "loc": { "start": { - "line": 79, + "line": 85, "column": 28 }, "end": { - "line": 79, + "line": 85, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 2331, - "end": 2335, + "start": 2591, + "end": 2595, "loc": { "start": { - "line": 79, + "line": 85, "column": 28 }, "end": { - "line": 79, + "line": 85, "column": 32 } } }, "property": { "type": "Identifier", - "start": 2336, - "end": 2348, + "start": 2596, + "end": 2608, "loc": { "start": { - "line": 79, + "line": 85, "column": 33 }, "end": { - "line": 79, + "line": 85, "column": 45 }, "identifierName": "parseOptions" @@ -51159,86 +52149,86 @@ "arguments": [ { "type": "MemberExpression", - "start": 2349, - "end": 2388, + "start": 2609, + "end": 2648, "loc": { "start": { - "line": 79, + "line": 85, "column": 46 }, "end": { - "line": 79, + "line": 85, "column": 85 } }, "object": { "type": "MemberExpression", - "start": 2349, - "end": 2377, + "start": 2609, + "end": 2637, "loc": { "start": { - "line": 79, + "line": 85, "column": 46 }, "end": { - "line": 79, + "line": 85, "column": 74 } }, "object": { "type": "MemberExpression", - "start": 2349, - "end": 2369, + "start": 2609, + "end": 2629, "loc": { "start": { - "line": 79, + "line": 85, "column": 46 }, "end": { - "line": 79, + "line": 85, "column": 66 } }, "object": { "type": "MemberExpression", - "start": 2349, - "end": 2360, + "start": 2609, + "end": 2620, "loc": { "start": { - "line": 79, + "line": 85, "column": 46 }, "end": { - "line": 79, + "line": 85, "column": 57 } }, "object": { "type": "ThisExpression", - "start": 2349, - "end": 2353, + "start": 2609, + "end": 2613, "loc": { "start": { - "line": 79, + "line": 85, "column": 46 }, "end": { - "line": 79, + "line": 85, "column": 50 } } }, "property": { "type": "Identifier", - "start": 2354, - "end": 2360, + "start": 2614, + "end": 2620, "loc": { "start": { - "line": 79, + "line": 85, "column": 51 }, "end": { - "line": 79, + "line": 85, "column": 57 }, "identifierName": "player" @@ -51249,15 +52239,15 @@ }, "property": { "type": "Identifier", - "start": 2361, - "end": 2369, + "start": 2621, + "end": 2629, "loc": { "start": { - "line": 79, + "line": 85, "column": 58 }, "end": { - "line": 79, + "line": 85, "column": 66 }, "identifierName": "options_" @@ -51268,15 +52258,15 @@ }, "property": { "type": "Identifier", - "start": 2370, - "end": 2377, + "start": 2630, + "end": 2637, "loc": { "start": { - "line": 79, + "line": 85, "column": 67 }, "end": { - "line": 79, + "line": 85, "column": 74 }, "identifierName": "plugins" @@ -51287,15 +52277,15 @@ }, "property": { "type": "Identifier", - "start": 2378, - "end": 2388, + "start": 2638, + "end": 2648, "loc": { "start": { - "line": 79, + "line": 85, "column": 75 }, "end": { - "line": 79, + "line": 85, "column": 85 }, "identifierName": "wavesurfer" @@ -51314,15 +52304,15 @@ { "type": "CommentLine", "value": " parse options", - "start": 2286, - "end": 2302, + "start": 2546, + "end": 2562, "loc": { "start": { - "line": 78, + "line": 84, "column": 8 }, "end": { - "line": 78, + "line": 84, "column": 24 } } @@ -51332,15 +52322,15 @@ { "type": "CommentLine", "value": " controls", - "start": 2400, - "end": 2411, + "start": 2660, + "end": 2671, "loc": { "start": { - "line": 81, + "line": 87, "column": 8 }, "end": { - "line": 81, + "line": 87, "column": 19 } } @@ -51349,85 +52339,85 @@ }, { "type": "IfStatement", - "start": 2420, - "end": 4550, + "start": 2680, + "end": 4810, "loc": { "start": { - "line": 82, + "line": 88, "column": 8 }, "end": { - "line": 126, + "line": 132, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 2424, - "end": 2462, + "start": 2684, + "end": 2722, "loc": { "start": { - "line": 82, + "line": 88, "column": 12 }, "end": { - "line": 82, + "line": 88, "column": 50 } }, "left": { "type": "MemberExpression", - "start": 2424, - "end": 2453, + "start": 2684, + "end": 2713, "loc": { "start": { - "line": 82, + "line": 88, "column": 12 }, "end": { - "line": 82, + "line": 88, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 2424, - "end": 2444, + "start": 2684, + "end": 2704, "loc": { "start": { - "line": 82, + "line": 88, "column": 12 }, "end": { - "line": 82, + "line": 88, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 2424, - "end": 2435, + "start": 2684, + "end": 2695, "loc": { "start": { - "line": 82, + "line": 88, "column": 12 }, "end": { - "line": 82, + "line": 88, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2424, - "end": 2428, + "start": 2684, + "end": 2688, "loc": { "start": { - "line": 82, + "line": 88, "column": 12 }, "end": { - "line": 82, + "line": 88, "column": 16 } }, @@ -51435,15 +52425,15 @@ }, "property": { "type": "Identifier", - "start": 2429, - "end": 2435, + "start": 2689, + "end": 2695, "loc": { "start": { - "line": 82, + "line": 88, "column": 17 }, "end": { - "line": 82, + "line": 88, "column": 23 }, "identifierName": "player" @@ -51455,15 +52445,15 @@ }, "property": { "type": "Identifier", - "start": 2436, - "end": 2444, + "start": 2696, + "end": 2704, "loc": { "start": { - "line": 82, + "line": 88, "column": 24 }, "end": { - "line": 82, + "line": 88, "column": 32 }, "identifierName": "options_" @@ -51475,15 +52465,15 @@ }, "property": { "type": "Identifier", - "start": 2445, - "end": 2453, + "start": 2705, + "end": 2713, "loc": { "start": { - "line": 82, + "line": 88, "column": 33 }, "end": { - "line": 82, + "line": 88, "column": 41 }, "identifierName": "controls" @@ -51496,15 +52486,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 2458, - "end": 2462, + "start": 2718, + "end": 2722, "loc": { "start": { - "line": 82, + "line": 88, "column": 46 }, "end": { - "line": 82, + "line": 88, "column": 50 } }, @@ -51514,100 +52504,100 @@ }, "consequent": { "type": "BlockStatement", - "start": 2464, - "end": 4550, + "start": 2724, + "end": 4810, "loc": { "start": { - "line": 82, + "line": 88, "column": 52 }, "end": { - "line": 126, + "line": 132, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 2666, - "end": 2696, + "start": 2926, + "end": 2956, "loc": { "start": { - "line": 86, + "line": 92, "column": 12 }, "end": { - "line": 86, + "line": 92, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 2666, - "end": 2695, + "start": 2926, + "end": 2955, "loc": { "start": { - "line": 86, + "line": 92, "column": 12 }, "end": { - "line": 86, + "line": 92, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 2666, - "end": 2693, + "start": 2926, + "end": 2953, "loc": { "start": { - "line": 86, + "line": 92, "column": 12 }, "end": { - "line": 86, + "line": 92, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 2666, - "end": 2688, + "start": 2926, + "end": 2948, "loc": { "start": { - "line": 86, + "line": 92, "column": 12 }, "end": { - "line": 86, + "line": 92, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 2666, - "end": 2677, + "start": 2926, + "end": 2937, "loc": { "start": { - "line": 86, + "line": 92, "column": 12 }, "end": { - "line": 86, + "line": 92, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2666, - "end": 2670, + "start": 2926, + "end": 2930, "loc": { "start": { - "line": 86, + "line": 92, "column": 12 }, "end": { - "line": 86, + "line": 92, "column": 16 } }, @@ -51615,15 +52605,15 @@ }, "property": { "type": "Identifier", - "start": 2671, - "end": 2677, + "start": 2931, + "end": 2937, "loc": { "start": { - "line": 86, + "line": 92, "column": 17 }, "end": { - "line": 86, + "line": 92, "column": 23 }, "identifierName": "player" @@ -51635,15 +52625,15 @@ }, "property": { "type": "Identifier", - "start": 2678, - "end": 2688, + "start": 2938, + "end": 2948, "loc": { "start": { - "line": 86, + "line": 92, "column": 24 }, "end": { - "line": 86, + "line": 92, "column": 34 }, "identifierName": "controlBar" @@ -51655,15 +52645,15 @@ }, "property": { "type": "Identifier", - "start": 2689, - "end": 2693, + "start": 2949, + "end": 2953, "loc": { "start": { - "line": 86, + "line": 92, "column": 35 }, "end": { - "line": 86, + "line": 92, "column": 39 }, "identifierName": "show" @@ -51680,15 +52670,15 @@ { "type": "CommentLine", "value": " make sure controlBar is showing.", - "start": 2478, - "end": 2513, + "start": 2738, + "end": 2773, "loc": { "start": { - "line": 83, + "line": 89, "column": 12 }, "end": { - "line": 83, + "line": 89, "column": 47 } } @@ -51696,15 +52686,15 @@ { "type": "CommentLine", "value": " video.js hides the controlbar by default because it expects", - "start": 2526, - "end": 2588, + "start": 2786, + "end": 2848, "loc": { "start": { - "line": 84, + "line": 90, "column": 12 }, "end": { - "line": 84, + "line": 90, "column": 74 } } @@ -51712,15 +52702,15 @@ { "type": "CommentLine", "value": " the user to click on the 'big play button' first.", - "start": 2601, - "end": 2653, + "start": 2861, + "end": 2913, "loc": { "start": { - "line": 85, + "line": 91, "column": 12 }, "end": { - "line": 85, + "line": 91, "column": 64 } } @@ -51729,129 +52719,129 @@ }, { "type": "ExpressionStatement", - "start": 2709, - "end": 2759, + "start": 2969, + "end": 3019, "loc": { "start": { - "line": 87, + "line": 93, "column": 12 }, "end": { - "line": 87, + "line": 93, "column": 62 } }, "expression": { "type": "AssignmentExpression", - "start": 2709, - "end": 2758, + "start": 2969, + "end": 3018, "loc": { "start": { - "line": 87, + "line": 93, "column": 12 }, "end": { - "line": 87, + "line": 93, "column": 61 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2709, - "end": 2749, + "start": 2969, + "end": 3009, "loc": { "start": { - "line": 87, + "line": 93, "column": 12 }, "end": { - "line": 87, + "line": 93, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 2709, - "end": 2741, + "start": 2969, + "end": 3001, "loc": { "start": { - "line": 87, + "line": 93, "column": 12 }, "end": { - "line": 87, + "line": 93, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 2709, - "end": 2735, + "start": 2969, + "end": 2995, "loc": { "start": { - "line": 87, + "line": 93, "column": 12 }, "end": { - "line": 87, + "line": 93, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 2709, - "end": 2731, + "start": 2969, + "end": 2991, "loc": { "start": { - "line": 87, + "line": 93, "column": 12 }, "end": { - "line": 87, + "line": 93, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 2709, - "end": 2720, + "start": 2969, + "end": 2980, "loc": { "start": { - "line": 87, + "line": 93, "column": 12 }, "end": { - "line": 87, + "line": 93, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2709, - "end": 2713, + "start": 2969, + "end": 2973, "loc": { "start": { - "line": 87, + "line": 93, "column": 12 }, "end": { - "line": 87, + "line": 93, "column": 16 } } }, "property": { "type": "Identifier", - "start": 2714, - "end": 2720, + "start": 2974, + "end": 2980, "loc": { "start": { - "line": 87, + "line": 93, "column": 17 }, "end": { - "line": 87, + "line": 93, "column": 23 }, "identifierName": "player" @@ -51862,15 +52852,15 @@ }, "property": { "type": "Identifier", - "start": 2721, - "end": 2731, + "start": 2981, + "end": 2991, "loc": { "start": { - "line": 87, + "line": 93, "column": 24 }, "end": { - "line": 87, + "line": 93, "column": 34 }, "identifierName": "controlBar" @@ -51881,15 +52871,15 @@ }, "property": { "type": "Identifier", - "start": 2732, - "end": 2735, + "start": 2992, + "end": 2995, "loc": { "start": { - "line": 87, + "line": 93, "column": 35 }, "end": { - "line": 87, + "line": 93, "column": 38 }, "identifierName": "el_" @@ -51900,15 +52890,15 @@ }, "property": { "type": "Identifier", - "start": 2736, - "end": 2741, + "start": 2996, + "end": 3001, "loc": { "start": { - "line": 87, + "line": 93, "column": 39 }, "end": { - "line": 87, + "line": 93, "column": 44 }, "identifierName": "style" @@ -51919,15 +52909,15 @@ }, "property": { "type": "Identifier", - "start": 2742, - "end": 2749, + "start": 3002, + "end": 3009, "loc": { "start": { - "line": 87, + "line": 93, "column": 45 }, "end": { - "line": 87, + "line": 93, "column": 52 }, "identifierName": "display" @@ -51938,15 +52928,15 @@ }, "right": { "type": "StringLiteral", - "start": 2752, - "end": 2758, + "start": 3012, + "end": 3018, "loc": { "start": { - "line": 87, + "line": 93, "column": 55 }, "end": { - "line": 87, + "line": 93, "column": 61 } }, @@ -51961,15 +52951,15 @@ { "type": "CommentLine", "value": " progress control is only supported with the MediaElement backend", - "start": 2773, - "end": 2840, + "start": 3033, + "end": 3100, "loc": { "start": { - "line": 89, + "line": 95, "column": 12 }, "end": { - "line": 89, + "line": 95, "column": 79 } } @@ -51978,71 +52968,71 @@ }, { "type": "IfStatement", - "start": 2853, - "end": 3034, + "start": 3113, + "end": 3294, "loc": { "start": { - "line": 90, + "line": 96, "column": 12 }, "end": { - "line": 93, + "line": 99, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 2857, - "end": 2954, + "start": 3117, + "end": 3214, "loc": { "start": { - "line": 90, + "line": 96, "column": 16 }, "end": { - "line": 91, + "line": 97, "column": 68 } }, "left": { "type": "BinaryExpression", - "start": 2857, - "end": 2882, + "start": 3117, + "end": 3142, "loc": { "start": { - "line": 90, + "line": 96, "column": 16 }, "end": { - "line": 90, + "line": 96, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 2857, - "end": 2869, + "start": 3117, + "end": 3129, "loc": { "start": { - "line": 90, + "line": 96, "column": 16 }, "end": { - "line": 90, + "line": 96, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 2857, - "end": 2861, + "start": 3117, + "end": 3121, "loc": { "start": { - "line": 90, + "line": 96, "column": 16 }, "end": { - "line": 90, + "line": 96, "column": 20 } }, @@ -52050,15 +53040,15 @@ }, "property": { "type": "Identifier", - "start": 2862, - "end": 2869, + "start": 3122, + "end": 3129, "loc": { "start": { - "line": 90, + "line": 96, "column": 21 }, "end": { - "line": 90, + "line": 96, "column": 28 }, "identifierName": "backend" @@ -52071,15 +53061,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2874, - "end": 2882, + "start": 3134, + "end": 3142, "loc": { "start": { - "line": 90, + "line": 96, "column": 33 }, "end": { - "line": 90, + "line": 96, "column": 41 }, "identifierName": "WEBAUDIO" @@ -52091,86 +53081,86 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 2902, - "end": 2954, + "start": 3162, + "end": 3214, "loc": { "start": { - "line": 91, + "line": 97, "column": 16 }, "end": { - "line": 91, + "line": 97, "column": 68 } }, "left": { "type": "MemberExpression", - "start": 2902, - "end": 2940, + "start": 3162, + "end": 3200, "loc": { "start": { - "line": 91, + "line": 97, "column": 16 }, "end": { - "line": 91, + "line": 97, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 2902, - "end": 2924, + "start": 3162, + "end": 3184, "loc": { "start": { - "line": 91, + "line": 97, "column": 16 }, "end": { - "line": 91, + "line": 97, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 2902, - "end": 2913, + "start": 3162, + "end": 3173, "loc": { "start": { - "line": 91, + "line": 97, "column": 16 }, "end": { - "line": 91, + "line": 97, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 2902, - "end": 2906, + "start": 3162, + "end": 3166, "loc": { "start": { - "line": 91, + "line": 97, "column": 16 }, "end": { - "line": 91, + "line": 97, "column": 20 } } }, "property": { "type": "Identifier", - "start": 2907, - "end": 2913, + "start": 3167, + "end": 3173, "loc": { "start": { - "line": 91, + "line": 97, "column": 21 }, "end": { - "line": 91, + "line": 97, "column": 27 }, "identifierName": "player" @@ -52181,15 +53171,15 @@ }, "property": { "type": "Identifier", - "start": 2914, - "end": 2924, + "start": 3174, + "end": 3184, "loc": { "start": { - "line": 91, + "line": 97, "column": 28 }, "end": { - "line": 91, + "line": 97, "column": 38 }, "identifierName": "controlBar" @@ -52200,15 +53190,15 @@ }, "property": { "type": "Identifier", - "start": 2925, - "end": 2940, + "start": 3185, + "end": 3200, "loc": { "start": { - "line": 91, + "line": 97, "column": 39 }, "end": { - "line": 91, + "line": 97, "column": 54 }, "identifierName": "progressControl" @@ -52220,15 +53210,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 2945, - "end": 2954, + "start": 3205, + "end": 3214, "loc": { "start": { - "line": 91, + "line": 97, "column": 59 }, "end": { - "line": 91, + "line": 97, "column": 68 }, "identifierName": "undefined" @@ -52240,129 +53230,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 2956, - "end": 3034, + "start": 3216, + "end": 3294, "loc": { "start": { - "line": 91, + "line": 97, "column": 70 }, "end": { - "line": 93, + "line": 99, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 2974, - "end": 3020, + "start": 3234, + "end": 3280, "loc": { "start": { - "line": 92, + "line": 98, "column": 16 }, "end": { - "line": 92, + "line": 98, "column": 62 } }, "expression": { "type": "CallExpression", - "start": 2974, - "end": 3019, + "start": 3234, + "end": 3279, "loc": { "start": { - "line": 92, + "line": 98, "column": 16 }, "end": { - "line": 92, + "line": 98, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 2974, - "end": 3017, + "start": 3234, + "end": 3277, "loc": { "start": { - "line": 92, + "line": 98, "column": 16 }, "end": { - "line": 92, + "line": 98, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 2974, - "end": 3012, + "start": 3234, + "end": 3272, "loc": { "start": { - "line": 92, + "line": 98, "column": 16 }, "end": { - "line": 92, + "line": 98, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 2974, - "end": 2996, + "start": 3234, + "end": 3256, "loc": { "start": { - "line": 92, + "line": 98, "column": 16 }, "end": { - "line": 92, + "line": 98, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 2974, - "end": 2985, + "start": 3234, + "end": 3245, "loc": { "start": { - "line": 92, + "line": 98, "column": 16 }, "end": { - "line": 92, + "line": 98, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 2974, - "end": 2978, + "start": 3234, + "end": 3238, "loc": { "start": { - "line": 92, + "line": 98, "column": 16 }, "end": { - "line": 92, + "line": 98, "column": 20 } } }, "property": { "type": "Identifier", - "start": 2979, - "end": 2985, + "start": 3239, + "end": 3245, "loc": { "start": { - "line": 92, + "line": 98, "column": 21 }, "end": { - "line": 92, + "line": 98, "column": 27 }, "identifierName": "player" @@ -52373,15 +53363,15 @@ }, "property": { "type": "Identifier", - "start": 2986, - "end": 2996, + "start": 3246, + "end": 3256, "loc": { "start": { - "line": 92, + "line": 98, "column": 28 }, "end": { - "line": 92, + "line": 98, "column": 38 }, "identifierName": "controlBar" @@ -52392,15 +53382,15 @@ }, "property": { "type": "Identifier", - "start": 2997, - "end": 3012, + "start": 3257, + "end": 3272, "loc": { "start": { - "line": 92, + "line": 98, "column": 39 }, "end": { - "line": 92, + "line": 98, "column": 54 }, "identifierName": "progressControl" @@ -52411,15 +53401,15 @@ }, "property": { "type": "Identifier", - "start": 3013, - "end": 3017, + "start": 3273, + "end": 3277, "loc": { "start": { - "line": 92, + "line": 98, "column": 55 }, "end": { - "line": 92, + "line": 98, "column": 59 }, "identifierName": "hide" @@ -52440,15 +53430,15 @@ { "type": "CommentLine", "value": " progress control is only supported with the MediaElement backend", - "start": 2773, - "end": 2840, + "start": 3033, + "end": 3100, "loc": { "start": { - "line": 89, + "line": 95, "column": 12 }, "end": { - "line": 89, + "line": 95, "column": 79 } } @@ -52458,15 +53448,15 @@ { "type": "CommentLine", "value": " disable Picture-In-Picture toggle introduced in video.js 7.6.0", - "start": 3048, - "end": 3113, + "start": 3308, + "end": 3373, "loc": { "start": { - "line": 95, + "line": 101, "column": 12 }, "end": { - "line": 95, + "line": 101, "column": 77 } } @@ -52474,15 +53464,15 @@ { "type": "CommentLine", "value": " until there is support for canvas in the Picture-In-Picture", - "start": 3126, - "end": 3188, + "start": 3386, + "end": 3448, "loc": { "start": { - "line": 96, + "line": 102, "column": 12 }, "end": { - "line": 96, + "line": 102, "column": 74 } } @@ -52490,15 +53480,15 @@ { "type": "CommentLine", "value": " browser API (see https://www.chromestatus.com/features/4844605453369344)", - "start": 3201, - "end": 3276, + "start": 3461, + "end": 3536, "loc": { "start": { - "line": 97, + "line": 103, "column": 12 }, "end": { - "line": 97, + "line": 103, "column": 87 } } @@ -52507,85 +53497,85 @@ }, { "type": "IfStatement", - "start": 3289, - "end": 3439, + "start": 3549, + "end": 3699, "loc": { "start": { - "line": 98, + "line": 104, "column": 12 }, "end": { - "line": 100, + "line": 106, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 3293, - "end": 3352, + "start": 3553, + "end": 3612, "loc": { "start": { - "line": 98, + "line": 104, "column": 16 }, "end": { - "line": 98, + "line": 104, "column": 75 } }, "left": { "type": "MemberExpression", - "start": 3293, - "end": 3338, + "start": 3553, + "end": 3598, "loc": { "start": { - "line": 98, + "line": 104, "column": 16 }, "end": { - "line": 98, + "line": 104, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 3293, - "end": 3315, + "start": 3553, + "end": 3575, "loc": { "start": { - "line": 98, + "line": 104, "column": 16 }, "end": { - "line": 98, + "line": 104, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 3293, - "end": 3304, + "start": 3553, + "end": 3564, "loc": { "start": { - "line": 98, + "line": 104, "column": 16 }, "end": { - "line": 98, + "line": 104, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 3293, - "end": 3297, + "start": 3553, + "end": 3557, "loc": { "start": { - "line": 98, + "line": 104, "column": 16 }, "end": { - "line": 98, + "line": 104, "column": 20 } }, @@ -52593,15 +53583,15 @@ }, "property": { "type": "Identifier", - "start": 3298, - "end": 3304, + "start": 3558, + "end": 3564, "loc": { "start": { - "line": 98, + "line": 104, "column": 21 }, "end": { - "line": 98, + "line": 104, "column": 27 }, "identifierName": "player" @@ -52613,15 +53603,15 @@ }, "property": { "type": "Identifier", - "start": 3305, - "end": 3315, + "start": 3565, + "end": 3575, "loc": { "start": { - "line": 98, + "line": 104, "column": 28 }, "end": { - "line": 98, + "line": 104, "column": 38 }, "identifierName": "controlBar" @@ -52633,15 +53623,15 @@ }, "property": { "type": "Identifier", - "start": 3316, - "end": 3338, + "start": 3576, + "end": 3598, "loc": { "start": { - "line": 98, + "line": 104, "column": 39 }, "end": { - "line": 98, + "line": 104, "column": 61 }, "identifierName": "pictureInPictureToggle" @@ -52654,15 +53644,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 3343, - "end": 3352, + "start": 3603, + "end": 3612, "loc": { "start": { - "line": 98, + "line": 104, "column": 66 }, "end": { - "line": 98, + "line": 104, "column": 75 }, "identifierName": "undefined" @@ -52673,129 +53663,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 3354, - "end": 3439, + "start": 3614, + "end": 3699, "loc": { "start": { - "line": 98, + "line": 104, "column": 77 }, "end": { - "line": 100, + "line": 106, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 3372, - "end": 3425, + "start": 3632, + "end": 3685, "loc": { "start": { - "line": 99, + "line": 105, "column": 16 }, "end": { - "line": 99, + "line": 105, "column": 69 } }, "expression": { "type": "CallExpression", - "start": 3372, - "end": 3424, + "start": 3632, + "end": 3684, "loc": { "start": { - "line": 99, + "line": 105, "column": 16 }, "end": { - "line": 99, + "line": 105, "column": 68 } }, "callee": { "type": "MemberExpression", - "start": 3372, - "end": 3422, + "start": 3632, + "end": 3682, "loc": { "start": { - "line": 99, + "line": 105, "column": 16 }, "end": { - "line": 99, + "line": 105, "column": 66 } }, "object": { "type": "MemberExpression", - "start": 3372, - "end": 3417, + "start": 3632, + "end": 3677, "loc": { "start": { - "line": 99, + "line": 105, "column": 16 }, "end": { - "line": 99, + "line": 105, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 3372, - "end": 3394, + "start": 3632, + "end": 3654, "loc": { "start": { - "line": 99, + "line": 105, "column": 16 }, "end": { - "line": 99, + "line": 105, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 3372, - "end": 3383, + "start": 3632, + "end": 3643, "loc": { "start": { - "line": 99, + "line": 105, "column": 16 }, "end": { - "line": 99, + "line": 105, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 3372, - "end": 3376, + "start": 3632, + "end": 3636, "loc": { "start": { - "line": 99, + "line": 105, "column": 16 }, "end": { - "line": 99, + "line": 105, "column": 20 } } }, "property": { "type": "Identifier", - "start": 3377, - "end": 3383, + "start": 3637, + "end": 3643, "loc": { "start": { - "line": 99, + "line": 105, "column": 21 }, "end": { - "line": 99, + "line": 105, "column": 27 }, "identifierName": "player" @@ -52806,15 +53796,15 @@ }, "property": { "type": "Identifier", - "start": 3384, - "end": 3394, + "start": 3644, + "end": 3654, "loc": { "start": { - "line": 99, + "line": 105, "column": 28 }, "end": { - "line": 99, + "line": 105, "column": 38 }, "identifierName": "controlBar" @@ -52825,15 +53815,15 @@ }, "property": { "type": "Identifier", - "start": 3395, - "end": 3417, + "start": 3655, + "end": 3677, "loc": { "start": { - "line": 99, + "line": 105, "column": 39 }, "end": { - "line": 99, + "line": 105, "column": 61 }, "identifierName": "pictureInPictureToggle" @@ -52844,15 +53834,15 @@ }, "property": { "type": "Identifier", - "start": 3418, - "end": 3422, + "start": 3678, + "end": 3682, "loc": { "start": { - "line": 99, + "line": 105, "column": 62 }, "end": { - "line": 99, + "line": 105, "column": 66 }, "identifierName": "hide" @@ -52873,15 +53863,15 @@ { "type": "CommentLine", "value": " disable Picture-In-Picture toggle introduced in video.js 7.6.0", - "start": 3048, - "end": 3113, + "start": 3308, + "end": 3373, "loc": { "start": { - "line": 95, + "line": 101, "column": 12 }, "end": { - "line": 95, + "line": 101, "column": 77 } } @@ -52889,15 +53879,15 @@ { "type": "CommentLine", "value": " until there is support for canvas in the Picture-In-Picture", - "start": 3126, - "end": 3188, + "start": 3386, + "end": 3448, "loc": { "start": { - "line": 96, + "line": 102, "column": 12 }, "end": { - "line": 96, + "line": 102, "column": 74 } } @@ -52905,15 +53895,15 @@ { "type": "CommentLine", "value": " browser API (see https://www.chromestatus.com/features/4844605453369344)", - "start": 3201, - "end": 3276, + "start": 3461, + "end": 3536, "loc": { "start": { - "line": 97, + "line": 103, "column": 12 }, "end": { - "line": 97, + "line": 103, "column": 87 } } @@ -52923,15 +53913,15 @@ { "type": "CommentLine", "value": " make sure time displays are visible", - "start": 3453, - "end": 3491, + "start": 3713, + "end": 3751, "loc": { "start": { - "line": 102, + "line": 108, "column": 12 }, "end": { - "line": 102, + "line": 108, "column": 50 } } @@ -52940,44 +53930,44 @@ }, { "type": "VariableDeclaration", - "start": 3504, - "end": 3578, + "start": 3764, + "end": 3838, "loc": { "start": { - "line": 103, + "line": 109, "column": 12 }, "end": { - "line": 103, + "line": 109, "column": 86 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3508, - "end": 3577, + "start": 3768, + "end": 3837, "loc": { "start": { - "line": 103, + "line": 109, "column": 16 }, "end": { - "line": 103, + "line": 109, "column": 85 } }, "id": { "type": "Identifier", - "start": 3508, - "end": 3518, + "start": 3768, + "end": 3778, "loc": { "start": { - "line": 103, + "line": 109, "column": 16 }, "end": { - "line": 103, + "line": 109, "column": 26 }, "identifierName": "uiElements" @@ -52987,30 +53977,30 @@ }, "init": { "type": "ArrayExpression", - "start": 3521, - "end": 3577, + "start": 3781, + "end": 3837, "loc": { "start": { - "line": 103, + "line": 109, "column": 29 }, "end": { - "line": 103, + "line": 109, "column": 85 } }, "elements": [ { "type": "StringLiteral", - "start": 3522, - "end": 3542, + "start": 3782, + "end": 3802, "loc": { "start": { - "line": 103, + "line": 109, "column": 30 }, "end": { - "line": 103, + "line": 109, "column": 50 } }, @@ -53022,15 +54012,15 @@ }, { "type": "StringLiteral", - "start": 3544, - "end": 3557, + "start": 3804, + "end": 3817, "loc": { "start": { - "line": 103, + "line": 109, "column": 52 }, "end": { - "line": 103, + "line": 109, "column": 65 } }, @@ -53042,15 +54032,15 @@ }, { "type": "StringLiteral", - "start": 3559, - "end": 3576, + "start": 3819, + "end": 3836, "loc": { "start": { - "line": 103, + "line": 109, "column": 67 }, "end": { - "line": 103, + "line": 109, "column": 84 } }, @@ -53070,15 +54060,15 @@ { "type": "CommentLine", "value": " make sure time displays are visible", - "start": 3453, - "end": 3491, + "start": 3713, + "end": 3751, "loc": { "start": { - "line": 102, + "line": 108, "column": 12 }, "end": { - "line": 102, + "line": 108, "column": 50 } } @@ -53087,57 +54077,57 @@ }, { "type": "ExpressionStatement", - "start": 3591, - "end": 3960, + "start": 3851, + "end": 4220, "loc": { "start": { - "line": 104, + "line": 110, "column": 12 }, "end": { - "line": 112, + "line": 118, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 3591, - "end": 3959, + "start": 3851, + "end": 4219, "loc": { "start": { - "line": 104, + "line": 110, "column": 12 }, "end": { - "line": 112, + "line": 118, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 3591, - "end": 3609, + "start": 3851, + "end": 3869, "loc": { "start": { - "line": 104, + "line": 110, "column": 12 }, "end": { - "line": 104, + "line": 110, "column": 30 } }, "object": { "type": "Identifier", - "start": 3591, - "end": 3601, + "start": 3851, + "end": 3861, "loc": { "start": { - "line": 104, + "line": 110, "column": 12 }, "end": { - "line": 104, + "line": 110, "column": 22 }, "identifierName": "uiElements" @@ -53146,15 +54136,15 @@ }, "property": { "type": "Identifier", - "start": 3602, - "end": 3609, + "start": 3862, + "end": 3869, "loc": { "start": { - "line": 104, + "line": 110, "column": 23 }, "end": { - "line": 104, + "line": 110, "column": 30 }, "identifierName": "forEach" @@ -53166,15 +54156,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 3610, - "end": 3958, + "start": 3870, + "end": 4218, "loc": { "start": { - "line": 104, + "line": 110, "column": 31 }, "end": { - "line": 112, + "line": 118, "column": 13 } }, @@ -53185,15 +54175,15 @@ "params": [ { "type": "Identifier", - "start": 3611, - "end": 3618, + "start": 3871, + "end": 3878, "loc": { "start": { - "line": 104, + "line": 110, "column": 32 }, "end": { - "line": 104, + "line": 110, "column": 39 }, "identifierName": "element" @@ -53203,59 +54193,59 @@ ], "body": { "type": "BlockStatement", - "start": 3623, - "end": 3958, + "start": 3883, + "end": 4218, "loc": { "start": { - "line": 104, + "line": 110, "column": 44 }, "end": { - "line": 112, + "line": 118, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 3746, - "end": 3788, + "start": 4006, + "end": 4048, "loc": { "start": { - "line": 107, + "line": 113, "column": 16 }, "end": { - "line": 107, + "line": 113, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 3746, - "end": 3787, + "start": 4006, + "end": 4047, "loc": { "start": { - "line": 107, + "line": 113, "column": 16 }, "end": { - "line": 107, + "line": 113, "column": 57 } }, "operator": "=", "left": { "type": "Identifier", - "start": 3746, - "end": 3753, + "start": 4006, + "end": 4013, "loc": { "start": { - "line": 107, + "line": 113, "column": 16 }, "end": { - "line": 107, + "line": 113, "column": 23 }, "identifierName": "element" @@ -53265,72 +54255,72 @@ }, "right": { "type": "MemberExpression", - "start": 3756, - "end": 3787, + "start": 4016, + "end": 4047, "loc": { "start": { - "line": 107, + "line": 113, "column": 26 }, "end": { - "line": 107, + "line": 113, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 3756, - "end": 3778, + "start": 4016, + "end": 4038, "loc": { "start": { - "line": 107, + "line": 113, "column": 26 }, "end": { - "line": 107, + "line": 113, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 3756, - "end": 3767, + "start": 4016, + "end": 4027, "loc": { "start": { - "line": 107, + "line": 113, "column": 26 }, "end": { - "line": 107, + "line": 113, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 3756, - "end": 3760, + "start": 4016, + "end": 4020, "loc": { "start": { - "line": 107, + "line": 113, "column": 26 }, "end": { - "line": 107, + "line": 113, "column": 30 } } }, "property": { "type": "Identifier", - "start": 3761, - "end": 3767, + "start": 4021, + "end": 4027, "loc": { "start": { - "line": 107, + "line": 113, "column": 31 }, "end": { - "line": 107, + "line": 113, "column": 37 }, "identifierName": "player" @@ -53341,15 +54331,15 @@ }, "property": { "type": "Identifier", - "start": 3768, - "end": 3778, + "start": 4028, + "end": 4038, "loc": { "start": { - "line": 107, + "line": 113, "column": 38 }, "end": { - "line": 107, + "line": 113, "column": 48 }, "identifierName": "controlBar" @@ -53360,15 +54350,15 @@ }, "property": { "type": "Identifier", - "start": 3779, - "end": 3786, + "start": 4039, + "end": 4046, "loc": { "start": { - "line": 107, + "line": 113, "column": 49 }, "end": { - "line": 107, + "line": 113, "column": 56 }, "identifierName": "element" @@ -53383,15 +54373,15 @@ { "type": "CommentLine", "value": " ignore and show when essential elements have been disabled", - "start": 3641, - "end": 3702, + "start": 3901, + "end": 3962, "loc": { "start": { - "line": 105, + "line": 111, "column": 16 }, "end": { - "line": 105, + "line": 111, "column": 77 } } @@ -53399,15 +54389,15 @@ { "type": "CommentLine", "value": " by user", - "start": 3719, - "end": 3729, + "start": 3979, + "end": 3989, "loc": { "start": { - "line": 106, + "line": 112, "column": 16 }, "end": { - "line": 106, + "line": 112, "column": 26 } } @@ -53416,43 +54406,43 @@ }, { "type": "IfStatement", - "start": 3805, - "end": 3944, + "start": 4065, + "end": 4204, "loc": { "start": { - "line": 108, + "line": 114, "column": 16 }, "end": { - "line": 111, + "line": 117, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 3809, - "end": 3830, + "start": 4069, + "end": 4090, "loc": { "start": { - "line": 108, + "line": 114, "column": 20 }, "end": { - "line": 108, + "line": 114, "column": 41 } }, "left": { "type": "Identifier", - "start": 3809, - "end": 3816, + "start": 4069, + "end": 4076, "loc": { "start": { - "line": 108, + "line": 114, "column": 20 }, "end": { - "line": 108, + "line": 114, "column": 27 }, "identifierName": "element" @@ -53462,15 +54452,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 3821, - "end": 3830, + "start": 4081, + "end": 4090, "loc": { "start": { - "line": 108, + "line": 114, "column": 32 }, "end": { - "line": 108, + "line": 114, "column": 41 }, "identifierName": "undefined" @@ -53480,101 +54470,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 3832, - "end": 3944, + "start": 4092, + "end": 4204, "loc": { "start": { - "line": 108, + "line": 114, "column": 43 }, "end": { - "line": 111, + "line": 117, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 3854, - "end": 3890, + "start": 4114, + "end": 4150, "loc": { "start": { - "line": 109, + "line": 115, "column": 20 }, "end": { - "line": 109, + "line": 115, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 3854, - "end": 3889, + "start": 4114, + "end": 4149, "loc": { "start": { - "line": 109, + "line": 115, "column": 20 }, "end": { - "line": 109, + "line": 115, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3854, - "end": 3879, + "start": 4114, + "end": 4139, "loc": { "start": { - "line": 109, + "line": 115, "column": 20 }, "end": { - "line": 109, + "line": 115, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 3854, - "end": 3871, + "start": 4114, + "end": 4131, "loc": { "start": { - "line": 109, + "line": 115, "column": 20 }, "end": { - "line": 109, + "line": 115, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 3854, - "end": 3865, + "start": 4114, + "end": 4125, "loc": { "start": { - "line": 109, + "line": 115, "column": 20 }, "end": { - "line": 109, + "line": 115, "column": 31 } }, "object": { "type": "Identifier", - "start": 3854, - "end": 3861, + "start": 4114, + "end": 4121, "loc": { "start": { - "line": 109, + "line": 115, "column": 20 }, "end": { - "line": 109, + "line": 115, "column": 27 }, "identifierName": "element" @@ -53583,15 +54573,15 @@ }, "property": { "type": "Identifier", - "start": 3862, - "end": 3865, + "start": 4122, + "end": 4125, "loc": { "start": { - "line": 109, + "line": 115, "column": 28 }, "end": { - "line": 109, + "line": 115, "column": 31 }, "identifierName": "el_" @@ -53602,15 +54592,15 @@ }, "property": { "type": "Identifier", - "start": 3866, - "end": 3871, + "start": 4126, + "end": 4131, "loc": { "start": { - "line": 109, + "line": 115, "column": 32 }, "end": { - "line": 109, + "line": 115, "column": 37 }, "identifierName": "style" @@ -53621,15 +54611,15 @@ }, "property": { "type": "Identifier", - "start": 3872, - "end": 3879, + "start": 4132, + "end": 4139, "loc": { "start": { - "line": 109, + "line": 115, "column": 38 }, "end": { - "line": 109, + "line": 115, "column": 45 }, "identifierName": "display" @@ -53640,15 +54630,15 @@ }, "right": { "type": "StringLiteral", - "start": 3882, - "end": 3889, + "start": 4142, + "end": 4149, "loc": { "start": { - "line": 109, + "line": 115, "column": 48 }, "end": { - "line": 109, + "line": 115, "column": 55 } }, @@ -53662,57 +54652,57 @@ }, { "type": "ExpressionStatement", - "start": 3911, - "end": 3926, + "start": 4171, + "end": 4186, "loc": { "start": { - "line": 110, + "line": 116, "column": 20 }, "end": { - "line": 110, + "line": 116, "column": 35 } }, "expression": { "type": "CallExpression", - "start": 3911, - "end": 3925, + "start": 4171, + "end": 4185, "loc": { "start": { - "line": 110, + "line": 116, "column": 20 }, "end": { - "line": 110, + "line": 116, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 3911, - "end": 3923, + "start": 4171, + "end": 4183, "loc": { "start": { - "line": 110, + "line": 116, "column": 20 }, "end": { - "line": 110, + "line": 116, "column": 32 } }, "object": { "type": "Identifier", - "start": 3911, - "end": 3918, + "start": 4171, + "end": 4178, "loc": { "start": { - "line": 110, + "line": 116, "column": 20 }, "end": { - "line": 110, + "line": 116, "column": 27 }, "identifierName": "element" @@ -53721,15 +54711,15 @@ }, "property": { "type": "Identifier", - "start": 3919, - "end": 3923, + "start": 4179, + "end": 4183, "loc": { "start": { - "line": 110, + "line": 116, "column": 28 }, "end": { - "line": 110, + "line": 116, "column": 32 }, "identifierName": "show" @@ -53755,100 +54745,100 @@ }, { "type": "IfStatement", - "start": 3973, - "end": 4119, + "start": 4233, + "end": 4379, "loc": { "start": { - "line": 113, + "line": 119, "column": 12 }, "end": { - "line": 115, + "line": 121, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 3977, - "end": 4034, + "start": 4237, + "end": 4294, "loc": { "start": { - "line": 113, + "line": 119, "column": 16 }, "end": { - "line": 113, + "line": 119, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 3977, - "end": 4020, + "start": 4237, + "end": 4280, "loc": { "start": { - "line": 113, + "line": 119, "column": 16 }, "end": { - "line": 113, + "line": 119, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 3977, - "end": 3999, + "start": 4237, + "end": 4259, "loc": { "start": { - "line": 113, + "line": 119, "column": 16 }, "end": { - "line": 113, + "line": 119, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 3977, - "end": 3988, + "start": 4237, + "end": 4248, "loc": { "start": { - "line": 113, + "line": 119, "column": 16 }, "end": { - "line": 113, + "line": 119, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 3977, - "end": 3981, + "start": 4237, + "end": 4241, "loc": { "start": { - "line": 113, + "line": 119, "column": 16 }, "end": { - "line": 113, + "line": 119, "column": 20 } } }, "property": { "type": "Identifier", - "start": 3982, - "end": 3988, + "start": 4242, + "end": 4248, "loc": { "start": { - "line": 113, + "line": 119, "column": 21 }, "end": { - "line": 113, + "line": 119, "column": 27 }, "identifierName": "player" @@ -53859,15 +54849,15 @@ }, "property": { "type": "Identifier", - "start": 3989, - "end": 3999, + "start": 4249, + "end": 4259, "loc": { "start": { - "line": 113, + "line": 119, "column": 28 }, "end": { - "line": 113, + "line": 119, "column": 38 }, "identifierName": "controlBar" @@ -53878,15 +54868,15 @@ }, "property": { "type": "Identifier", - "start": 4000, - "end": 4020, + "start": 4260, + "end": 4280, "loc": { "start": { - "line": 113, + "line": 119, "column": 39 }, "end": { - "line": 113, + "line": 119, "column": 59 }, "identifierName": "remainingTimeDisplay" @@ -53898,15 +54888,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 4025, - "end": 4034, + "start": 4285, + "end": 4294, "loc": { "start": { - "line": 113, + "line": 119, "column": 64 }, "end": { - "line": 113, + "line": 119, "column": 73 }, "identifierName": "undefined" @@ -53916,129 +54906,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 4036, - "end": 4119, + "start": 4296, + "end": 4379, "loc": { "start": { - "line": 113, + "line": 119, "column": 75 }, "end": { - "line": 115, + "line": 121, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 4054, - "end": 4105, + "start": 4314, + "end": 4365, "loc": { "start": { - "line": 114, + "line": 120, "column": 16 }, "end": { - "line": 114, + "line": 120, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 4054, - "end": 4104, + "start": 4314, + "end": 4364, "loc": { "start": { - "line": 114, + "line": 120, "column": 16 }, "end": { - "line": 114, + "line": 120, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 4054, - "end": 4102, + "start": 4314, + "end": 4362, "loc": { "start": { - "line": 114, + "line": 120, "column": 16 }, "end": { - "line": 114, + "line": 120, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 4054, - "end": 4097, + "start": 4314, + "end": 4357, "loc": { "start": { - "line": 114, + "line": 120, "column": 16 }, "end": { - "line": 114, + "line": 120, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 4054, - "end": 4076, + "start": 4314, + "end": 4336, "loc": { "start": { - "line": 114, + "line": 120, "column": 16 }, "end": { - "line": 114, + "line": 120, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4054, - "end": 4065, + "start": 4314, + "end": 4325, "loc": { "start": { - "line": 114, + "line": 120, "column": 16 }, "end": { - "line": 114, + "line": 120, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4054, - "end": 4058, + "start": 4314, + "end": 4318, "loc": { "start": { - "line": 114, + "line": 120, "column": 16 }, "end": { - "line": 114, + "line": 120, "column": 20 } } }, "property": { "type": "Identifier", - "start": 4059, - "end": 4065, + "start": 4319, + "end": 4325, "loc": { "start": { - "line": 114, + "line": 120, "column": 21 }, "end": { - "line": 114, + "line": 120, "column": 27 }, "identifierName": "player" @@ -54049,15 +55039,15 @@ }, "property": { "type": "Identifier", - "start": 4066, - "end": 4076, + "start": 4326, + "end": 4336, "loc": { "start": { - "line": 114, + "line": 120, "column": 28 }, "end": { - "line": 114, + "line": 120, "column": 38 }, "identifierName": "controlBar" @@ -54068,15 +55058,15 @@ }, "property": { "type": "Identifier", - "start": 4077, - "end": 4097, + "start": 4337, + "end": 4357, "loc": { "start": { - "line": 114, + "line": 120, "column": 39 }, "end": { - "line": 114, + "line": 120, "column": 59 }, "identifierName": "remainingTimeDisplay" @@ -54087,15 +55077,15 @@ }, "property": { "type": "Identifier", - "start": 4098, - "end": 4102, + "start": 4358, + "end": 4362, "loc": { "start": { - "line": 114, + "line": 120, "column": 60 }, "end": { - "line": 114, + "line": 120, "column": 64 }, "identifierName": "hide" @@ -54114,86 +55104,86 @@ }, { "type": "IfStatement", - "start": 4133, - "end": 4540, + "start": 4393, + "end": 4800, "loc": { "start": { - "line": 117, + "line": 123, "column": 12 }, "end": { - "line": 125, + "line": 131, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 4137, - "end": 4229, + "start": 4397, + "end": 4489, "loc": { "start": { - "line": 117, + "line": 123, "column": 16 }, "end": { - "line": 118, + "line": 124, "column": 63 } }, "left": { "type": "BinaryExpression", - "start": 4137, - "end": 4162, + "start": 4397, + "end": 4422, "loc": { "start": { - "line": 117, + "line": 123, "column": 16 }, "end": { - "line": 117, + "line": 123, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 4137, - "end": 4149, + "start": 4397, + "end": 4409, "loc": { "start": { - "line": 117, + "line": 123, "column": 16 }, "end": { - "line": 117, + "line": 123, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 4137, - "end": 4141, + "start": 4397, + "end": 4401, "loc": { "start": { - "line": 117, + "line": 123, "column": 16 }, "end": { - "line": 117, + "line": 123, "column": 20 } } }, "property": { "type": "Identifier", - "start": 4142, - "end": 4149, + "start": 4402, + "end": 4409, "loc": { "start": { - "line": 117, + "line": 123, "column": 21 }, "end": { - "line": 117, + "line": 123, "column": 28 }, "identifierName": "backend" @@ -54205,15 +55195,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4154, - "end": 4162, + "start": 4414, + "end": 4422, "loc": { "start": { - "line": 117, + "line": 123, "column": 33 }, "end": { - "line": 117, + "line": 123, "column": 41 }, "identifierName": "WEBAUDIO" @@ -54224,86 +55214,86 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 4182, - "end": 4229, + "start": 4442, + "end": 4489, "loc": { "start": { - "line": 118, + "line": 124, "column": 16 }, "end": { - "line": 118, + "line": 124, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 4182, - "end": 4215, + "start": 4442, + "end": 4475, "loc": { "start": { - "line": 118, + "line": 124, "column": 16 }, "end": { - "line": 118, + "line": 124, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 4182, - "end": 4204, + "start": 4442, + "end": 4464, "loc": { "start": { - "line": 118, + "line": 124, "column": 16 }, "end": { - "line": 118, + "line": 124, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4182, - "end": 4193, + "start": 4442, + "end": 4453, "loc": { "start": { - "line": 118, + "line": 124, "column": 16 }, "end": { - "line": 118, + "line": 124, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4182, - "end": 4186, + "start": 4442, + "end": 4446, "loc": { "start": { - "line": 118, + "line": 124, "column": 16 }, "end": { - "line": 118, + "line": 124, "column": 20 } } }, "property": { "type": "Identifier", - "start": 4187, - "end": 4193, + "start": 4447, + "end": 4453, "loc": { "start": { - "line": 118, + "line": 124, "column": 21 }, "end": { - "line": 118, + "line": 124, "column": 27 }, "identifierName": "player" @@ -54314,15 +55304,15 @@ }, "property": { "type": "Identifier", - "start": 4194, - "end": 4204, + "start": 4454, + "end": 4464, "loc": { "start": { - "line": 118, + "line": 124, "column": 28 }, "end": { - "line": 118, + "line": 124, "column": 38 }, "identifierName": "controlBar" @@ -54333,15 +55323,15 @@ }, "property": { "type": "Identifier", - "start": 4205, - "end": 4215, + "start": 4465, + "end": 4475, "loc": { "start": { - "line": 118, + "line": 124, "column": 39 }, "end": { - "line": 118, + "line": 124, "column": 49 }, "identifierName": "playToggle" @@ -54353,15 +55343,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 4220, - "end": 4229, + "start": 4480, + "end": 4489, "loc": { "start": { - "line": 118, + "line": 124, "column": 54 }, "end": { - "line": 118, + "line": 124, "column": 63 }, "identifierName": "undefined" @@ -54372,114 +55362,114 @@ }, "consequent": { "type": "BlockStatement", - "start": 4231, - "end": 4540, + "start": 4491, + "end": 4800, "loc": { "start": { - "line": 118, + "line": 124, "column": 65 }, "end": { - "line": 125, + "line": 131, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 4299, - "end": 4404, + "start": 4559, + "end": 4664, "loc": { "start": { - "line": 120, + "line": 126, "column": 16 }, "end": { - "line": 121, + "line": 127, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 4299, - "end": 4403, + "start": 4559, + "end": 4663, "loc": { "start": { - "line": 120, + "line": 126, "column": 16 }, "end": { - "line": 121, + "line": 127, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 4299, - "end": 4335, + "start": 4559, + "end": 4595, "loc": { "start": { - "line": 120, + "line": 126, "column": 16 }, "end": { - "line": 120, + "line": 126, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 4299, - "end": 4332, + "start": 4559, + "end": 4592, "loc": { "start": { - "line": 120, + "line": 126, "column": 16 }, "end": { - "line": 120, + "line": 126, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 4299, - "end": 4321, + "start": 4559, + "end": 4581, "loc": { "start": { - "line": 120, + "line": 126, "column": 16 }, "end": { - "line": 120, + "line": 126, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4299, - "end": 4310, + "start": 4559, + "end": 4570, "loc": { "start": { - "line": 120, + "line": 126, "column": 16 }, "end": { - "line": 120, + "line": 126, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4299, - "end": 4303, + "start": 4559, + "end": 4563, "loc": { "start": { - "line": 120, + "line": 126, "column": 16 }, "end": { - "line": 120, + "line": 126, "column": 20 } }, @@ -54487,15 +55477,15 @@ }, "property": { "type": "Identifier", - "start": 4304, - "end": 4310, + "start": 4564, + "end": 4570, "loc": { "start": { - "line": 120, + "line": 126, "column": 21 }, "end": { - "line": 120, + "line": 126, "column": 27 }, "identifierName": "player" @@ -54507,15 +55497,15 @@ }, "property": { "type": "Identifier", - "start": 4311, - "end": 4321, + "start": 4571, + "end": 4581, "loc": { "start": { - "line": 120, + "line": 126, "column": 28 }, "end": { - "line": 120, + "line": 126, "column": 38 }, "identifierName": "controlBar" @@ -54527,15 +55517,15 @@ }, "property": { "type": "Identifier", - "start": 4322, - "end": 4332, + "start": 4582, + "end": 4592, "loc": { "start": { - "line": 120, + "line": 126, "column": 39 }, "end": { - "line": 120, + "line": 126, "column": 49 }, "identifierName": "playToggle" @@ -54547,15 +55537,15 @@ }, "property": { "type": "Identifier", - "start": 4333, - "end": 4335, + "start": 4593, + "end": 4595, "loc": { "start": { - "line": 120, + "line": 126, "column": 50 }, "end": { - "line": 120, + "line": 126, "column": 52 }, "identifierName": "on" @@ -54568,30 +55558,30 @@ "arguments": [ { "type": "ArrayExpression", - "start": 4336, - "end": 4352, + "start": 4596, + "end": 4612, "loc": { "start": { - "line": 120, + "line": 126, "column": 53 }, "end": { - "line": 120, + "line": 126, "column": 69 } }, "elements": [ { "type": "StringLiteral", - "start": 4337, - "end": 4342, + "start": 4597, + "end": 4602, "loc": { "start": { - "line": 120, + "line": 126, "column": 54 }, "end": { - "line": 120, + "line": 126, "column": 59 } }, @@ -54603,15 +55593,15 @@ }, { "type": "StringLiteral", - "start": 4344, - "end": 4351, + "start": 4604, + "end": 4611, "loc": { "start": { - "line": 120, + "line": 126, "column": 61 }, "end": { - "line": 120, + "line": 126, "column": 68 } }, @@ -54625,72 +55615,72 @@ }, { "type": "CallExpression", - "start": 4374, - "end": 4402, + "start": 4634, + "end": 4662, "loc": { "start": { - "line": 121, + "line": 127, "column": 20 }, "end": { - "line": 121, + "line": 127, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 4374, - "end": 4396, + "start": 4634, + "end": 4656, "loc": { "start": { - "line": 121, + "line": 127, "column": 20 }, "end": { - "line": 121, + "line": 127, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 4374, - "end": 4391, + "start": 4634, + "end": 4651, "loc": { "start": { - "line": 121, + "line": 127, "column": 20 }, "end": { - "line": 121, + "line": 127, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 4374, - "end": 4378, + "start": 4634, + "end": 4638, "loc": { "start": { - "line": 121, + "line": 127, "column": 20 }, "end": { - "line": 121, + "line": 127, "column": 24 } } }, "property": { "type": "Identifier", - "start": 4379, - "end": 4391, + "start": 4639, + "end": 4651, "loc": { "start": { - "line": 121, + "line": 127, "column": 25 }, "end": { - "line": 121, + "line": 127, "column": 37 }, "identifierName": "onPlayToggle" @@ -54701,15 +55691,15 @@ }, "property": { "type": "Identifier", - "start": 4392, - "end": 4396, + "start": 4652, + "end": 4656, "loc": { "start": { - "line": 121, + "line": 127, "column": 38 }, "end": { - "line": 121, + "line": 127, "column": 42 }, "identifierName": "bind" @@ -54721,15 +55711,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4397, - "end": 4401, + "start": 4657, + "end": 4661, "loc": { "start": { - "line": 121, + "line": 127, "column": 43 }, "end": { - "line": 121, + "line": 127, "column": 47 } } @@ -54743,15 +55733,15 @@ { "type": "CommentLine", "value": " handle play toggle interaction", - "start": 4249, - "end": 4282, + "start": 4509, + "end": 4542, "loc": { "start": { - "line": 119, + "line": 125, "column": 16 }, "end": { - "line": 119, + "line": 125, "column": 49 } } @@ -54761,15 +55751,15 @@ { "type": "CommentLine", "value": " disable play button until waveform is ready", - "start": 4422, - "end": 4468, + "start": 4682, + "end": 4728, "loc": { "start": { - "line": 123, + "line": 129, "column": 16 }, "end": { - "line": 123, + "line": 129, "column": 62 } } @@ -54778,99 +55768,99 @@ }, { "type": "ExpressionStatement", - "start": 4485, - "end": 4526, + "start": 4745, + "end": 4786, "loc": { "start": { - "line": 124, + "line": 130, "column": 16 }, "end": { - "line": 124, + "line": 130, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 4485, - "end": 4525, + "start": 4745, + "end": 4785, "loc": { "start": { - "line": 124, + "line": 130, "column": 16 }, "end": { - "line": 124, + "line": 130, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 4485, - "end": 4523, + "start": 4745, + "end": 4783, "loc": { "start": { - "line": 124, + "line": 130, "column": 16 }, "end": { - "line": 124, + "line": 130, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 4485, - "end": 4518, + "start": 4745, + "end": 4778, "loc": { "start": { - "line": 124, + "line": 130, "column": 16 }, "end": { - "line": 124, + "line": 130, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 4485, - "end": 4507, + "start": 4745, + "end": 4767, "loc": { "start": { - "line": 124, + "line": 130, "column": 16 }, "end": { - "line": 124, + "line": 130, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4485, - "end": 4496, + "start": 4745, + "end": 4756, "loc": { "start": { - "line": 124, + "line": 130, "column": 16 }, "end": { - "line": 124, + "line": 130, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4485, - "end": 4489, + "start": 4745, + "end": 4749, "loc": { "start": { - "line": 124, + "line": 130, "column": 16 }, "end": { - "line": 124, + "line": 130, "column": 20 } }, @@ -54878,15 +55868,15 @@ }, "property": { "type": "Identifier", - "start": 4490, - "end": 4496, + "start": 4750, + "end": 4756, "loc": { "start": { - "line": 124, + "line": 130, "column": 21 }, "end": { - "line": 124, + "line": 130, "column": 27 }, "identifierName": "player" @@ -54898,15 +55888,15 @@ }, "property": { "type": "Identifier", - "start": 4497, - "end": 4507, + "start": 4757, + "end": 4767, "loc": { "start": { - "line": 124, + "line": 130, "column": 28 }, "end": { - "line": 124, + "line": 130, "column": 38 }, "identifierName": "controlBar" @@ -54918,15 +55908,15 @@ }, "property": { "type": "Identifier", - "start": 4508, - "end": 4518, + "start": 4768, + "end": 4778, "loc": { "start": { - "line": 124, + "line": 130, "column": 39 }, "end": { - "line": 124, + "line": 130, "column": 49 }, "identifierName": "playToggle" @@ -54938,15 +55928,15 @@ }, "property": { "type": "Identifier", - "start": 4519, - "end": 4523, + "start": 4779, + "end": 4783, "loc": { "start": { - "line": 124, + "line": 130, "column": 50 }, "end": { - "line": 124, + "line": 130, "column": 54 }, "identifierName": "hide" @@ -54963,15 +55953,15 @@ { "type": "CommentLine", "value": " disable play button until waveform is ready", - "start": 4422, - "end": 4468, + "start": 4682, + "end": 4728, "loc": { "start": { - "line": 123, + "line": 129, "column": 16 }, "end": { - "line": 123, + "line": 129, "column": 62 } } @@ -54992,15 +55982,15 @@ { "type": "CommentLine", "value": " controls", - "start": 2400, - "end": 2411, + "start": 2660, + "end": 2671, "loc": { "start": { - "line": 81, + "line": 87, "column": 8 }, "end": { - "line": 81, + "line": 87, "column": 19 } } @@ -55010,15 +56000,15 @@ { "type": "CommentLine", "value": " wavesurfer.js setup", - "start": 4560, - "end": 4582, + "start": 4820, + "end": 4842, "loc": { "start": { - "line": 128, + "line": 134, "column": 8 }, "end": { - "line": 128, + "line": 134, "column": 30 } } @@ -55027,58 +56017,58 @@ }, { "type": "ExpressionStatement", - "start": 4591, - "end": 4638, + "start": 4851, + "end": 4898, "loc": { "start": { - "line": 129, + "line": 135, "column": 8 }, "end": { - "line": 129, + "line": 135, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 4591, - "end": 4637, + "start": 4851, + "end": 4897, "loc": { "start": { - "line": 129, + "line": 135, "column": 8 }, "end": { - "line": 129, + "line": 135, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4591, - "end": 4602, + "start": 4851, + "end": 4862, "loc": { "start": { - "line": 129, + "line": 135, "column": 8 }, "end": { - "line": 129, + "line": 135, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 4591, - "end": 4595, + "start": 4851, + "end": 4855, "loc": { "start": { - "line": 129, + "line": 135, "column": 8 }, "end": { - "line": 129, + "line": 135, "column": 12 } }, @@ -55086,15 +56076,15 @@ }, "property": { "type": "Identifier", - "start": 4596, - "end": 4602, + "start": 4856, + "end": 4862, "loc": { "start": { - "line": 129, + "line": 135, "column": 13 }, "end": { - "line": 129, + "line": 135, "column": 19 }, "identifierName": "surfer" @@ -55106,43 +56096,43 @@ }, "right": { "type": "CallExpression", - "start": 4605, - "end": 4637, + "start": 4865, + "end": 4897, "loc": { "start": { - "line": 129, + "line": 135, "column": 22 }, "end": { - "line": 129, + "line": 135, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 4605, - "end": 4622, + "start": 4865, + "end": 4882, "loc": { "start": { - "line": 129, + "line": 135, "column": 22 }, "end": { - "line": 129, + "line": 135, "column": 39 } }, "object": { "type": "Identifier", - "start": 4605, - "end": 4615, + "start": 4865, + "end": 4875, "loc": { "start": { - "line": 129, + "line": 135, "column": 22 }, "end": { - "line": 129, + "line": 135, "column": 32 }, "identifierName": "WaveSurfer" @@ -55151,15 +56141,15 @@ }, "property": { "type": "Identifier", - "start": 4616, - "end": 4622, + "start": 4876, + "end": 4882, "loc": { "start": { - "line": 129, + "line": 135, "column": 33 }, "end": { - "line": 129, + "line": 135, "column": 39 }, "identifierName": "create" @@ -55171,15 +56161,15 @@ "arguments": [ { "type": "Identifier", - "start": 4623, - "end": 4636, + "start": 4883, + "end": 4896, "loc": { "start": { - "line": 129, + "line": 135, "column": 40 }, "end": { - "line": 129, + "line": 135, "column": 53 }, "identifierName": "mergedOptions" @@ -55194,15 +56184,15 @@ { "type": "CommentLine", "value": " wavesurfer.js setup", - "start": 4560, - "end": 4582, + "start": 4820, + "end": 4842, "loc": { "start": { - "line": 128, + "line": 134, "column": 8 }, "end": { - "line": 128, + "line": 134, "column": 30 } } @@ -55211,86 +56201,86 @@ }, { "type": "ExpressionStatement", - "start": 4647, - "end": 4704, + "start": 4907, + "end": 4964, "loc": { "start": { - "line": 130, + "line": 136, "column": 8 }, "end": { - "line": 130, + "line": 136, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 4647, - "end": 4703, + "start": 4907, + "end": 4963, "loc": { "start": { - "line": 130, + "line": 136, "column": 8 }, "end": { - "line": 130, + "line": 136, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 4647, - "end": 4661, + "start": 4907, + "end": 4921, "loc": { "start": { - "line": 130, + "line": 136, "column": 8 }, "end": { - "line": 130, + "line": 136, "column": 22 } }, "object": { "type": "MemberExpression", - "start": 4647, - "end": 4658, + "start": 4907, + "end": 4918, "loc": { "start": { - "line": 130, + "line": 136, "column": 8 }, "end": { - "line": 130, + "line": 136, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 4647, - "end": 4651, + "start": 4907, + "end": 4911, "loc": { "start": { - "line": 130, + "line": 136, "column": 8 }, "end": { - "line": 130, + "line": 136, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4652, - "end": 4658, + "start": 4912, + "end": 4918, "loc": { "start": { - "line": 130, + "line": 136, "column": 13 }, "end": { - "line": 130, + "line": 136, "column": 19 }, "identifierName": "surfer" @@ -55301,15 +56291,15 @@ }, "property": { "type": "Identifier", - "start": 4659, - "end": 4661, + "start": 4919, + "end": 4921, "loc": { "start": { - "line": 130, + "line": 136, "column": 20 }, "end": { - "line": 130, + "line": 136, "column": 22 }, "identifierName": "on" @@ -55321,29 +56311,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4662, - "end": 4673, + "start": 4922, + "end": 4933, "loc": { "start": { - "line": 130, + "line": 136, "column": 23 }, "end": { - "line": 130, + "line": 136, "column": 34 } }, "object": { "type": "Identifier", - "start": 4662, - "end": 4667, + "start": 4922, + "end": 4927, "loc": { "start": { - "line": 130, + "line": 136, "column": 23 }, "end": { - "line": 130, + "line": 136, "column": 28 }, "identifierName": "Event" @@ -55352,15 +56342,15 @@ }, "property": { "type": "Identifier", - "start": 4668, - "end": 4673, + "start": 4928, + "end": 4933, "loc": { "start": { - "line": 130, + "line": 136, "column": 29 }, "end": { - "line": 130, + "line": 136, "column": 34 }, "identifierName": "ERROR" @@ -55371,72 +56361,72 @@ }, { "type": "CallExpression", - "start": 4675, - "end": 4702, + "start": 4935, + "end": 4962, "loc": { "start": { - "line": 130, + "line": 136, "column": 36 }, "end": { - "line": 130, + "line": 136, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 4675, - "end": 4696, + "start": 4935, + "end": 4956, "loc": { "start": { - "line": 130, + "line": 136, "column": 36 }, "end": { - "line": 130, + "line": 136, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 4675, - "end": 4691, + "start": 4935, + "end": 4951, "loc": { "start": { - "line": 130, + "line": 136, "column": 36 }, "end": { - "line": 130, + "line": 136, "column": 52 } }, "object": { "type": "ThisExpression", - "start": 4675, - "end": 4679, + "start": 4935, + "end": 4939, "loc": { "start": { - "line": 130, + "line": 136, "column": 36 }, "end": { - "line": 130, + "line": 136, "column": 40 } } }, "property": { "type": "Identifier", - "start": 4680, - "end": 4691, + "start": 4940, + "end": 4951, "loc": { "start": { - "line": 130, + "line": 136, "column": 41 }, "end": { - "line": 130, + "line": 136, "column": 52 }, "identifierName": "onWaveError" @@ -55447,15 +56437,15 @@ }, "property": { "type": "Identifier", - "start": 4692, - "end": 4696, + "start": 4952, + "end": 4956, "loc": { "start": { - "line": 130, + "line": 136, "column": 53 }, "end": { - "line": 130, + "line": 136, "column": 57 }, "identifierName": "bind" @@ -55467,15 +56457,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4697, - "end": 4701, + "start": 4957, + "end": 4961, "loc": { "start": { - "line": 130, + "line": 136, "column": 58 }, "end": { - "line": 130, + "line": 136, "column": 62 } } @@ -55487,86 +56477,86 @@ }, { "type": "ExpressionStatement", - "start": 4713, - "end": 4772, + "start": 4973, + "end": 5032, "loc": { "start": { - "line": 131, + "line": 137, "column": 8 }, "end": { - "line": 131, + "line": 137, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 4713, - "end": 4771, + "start": 4973, + "end": 5031, "loc": { "start": { - "line": 131, + "line": 137, "column": 8 }, "end": { - "line": 131, + "line": 137, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 4713, - "end": 4727, + "start": 4973, + "end": 4987, "loc": { "start": { - "line": 131, + "line": 137, "column": 8 }, "end": { - "line": 131, + "line": 137, "column": 22 } }, "object": { "type": "MemberExpression", - "start": 4713, - "end": 4724, + "start": 4973, + "end": 4984, "loc": { "start": { - "line": 131, + "line": 137, "column": 8 }, "end": { - "line": 131, + "line": 137, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 4713, - "end": 4717, + "start": 4973, + "end": 4977, "loc": { "start": { - "line": 131, + "line": 137, "column": 8 }, "end": { - "line": 131, + "line": 137, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4718, - "end": 4724, + "start": 4978, + "end": 4984, "loc": { "start": { - "line": 131, + "line": 137, "column": 13 }, "end": { - "line": 131, + "line": 137, "column": 19 }, "identifierName": "surfer" @@ -55577,15 +56567,15 @@ }, "property": { "type": "Identifier", - "start": 4725, - "end": 4727, + "start": 4985, + "end": 4987, "loc": { "start": { - "line": 131, + "line": 137, "column": 20 }, "end": { - "line": 131, + "line": 137, "column": 22 }, "identifierName": "on" @@ -55597,29 +56587,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4728, - "end": 4740, + "start": 4988, + "end": 5000, "loc": { "start": { - "line": 131, + "line": 137, "column": 23 }, "end": { - "line": 131, + "line": 137, "column": 35 } }, "object": { "type": "Identifier", - "start": 4728, - "end": 4733, + "start": 4988, + "end": 4993, "loc": { "start": { - "line": 131, + "line": 137, "column": 23 }, "end": { - "line": 131, + "line": 137, "column": 28 }, "identifierName": "Event" @@ -55628,15 +56618,15 @@ }, "property": { "type": "Identifier", - "start": 4734, - "end": 4740, + "start": 4994, + "end": 5000, "loc": { "start": { - "line": 131, + "line": 137, "column": 29 }, "end": { - "line": 131, + "line": 137, "column": 35 }, "identifierName": "FINISH" @@ -55647,72 +56637,72 @@ }, { "type": "CallExpression", - "start": 4742, - "end": 4770, + "start": 5002, + "end": 5030, "loc": { "start": { - "line": 131, + "line": 137, "column": 37 }, "end": { - "line": 131, + "line": 137, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 4742, - "end": 4764, + "start": 5002, + "end": 5024, "loc": { "start": { - "line": 131, + "line": 137, "column": 37 }, "end": { - "line": 131, + "line": 137, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 4742, - "end": 4759, + "start": 5002, + "end": 5019, "loc": { "start": { - "line": 131, + "line": 137, "column": 37 }, "end": { - "line": 131, + "line": 137, "column": 54 } }, "object": { "type": "ThisExpression", - "start": 4742, - "end": 4746, + "start": 5002, + "end": 5006, "loc": { "start": { - "line": 131, + "line": 137, "column": 37 }, "end": { - "line": 131, + "line": 137, "column": 41 } } }, "property": { "type": "Identifier", - "start": 4747, - "end": 4759, + "start": 5007, + "end": 5019, "loc": { "start": { - "line": 131, + "line": 137, "column": 42 }, "end": { - "line": 131, + "line": 137, "column": 54 }, "identifierName": "onWaveFinish" @@ -55723,15 +56713,15 @@ }, "property": { "type": "Identifier", - "start": 4760, - "end": 4764, + "start": 5020, + "end": 5024, "loc": { "start": { - "line": 131, + "line": 137, "column": 55 }, "end": { - "line": 131, + "line": 137, "column": 59 }, "identifierName": "bind" @@ -55743,15 +56733,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4765, - "end": 4769, + "start": 5025, + "end": 5029, "loc": { "start": { - "line": 131, + "line": 137, "column": 60 }, "end": { - "line": 131, + "line": 137, "column": 64 } } @@ -55763,73 +56753,73 @@ }, { "type": "ExpressionStatement", - "start": 4781, - "end": 4823, + "start": 5041, + "end": 5083, "loc": { "start": { - "line": 132, + "line": 138, "column": 8 }, "end": { - "line": 132, + "line": 138, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 4781, - "end": 4822, + "start": 5041, + "end": 5082, "loc": { "start": { - "line": 132, + "line": 138, "column": 8 }, "end": { - "line": 132, + "line": 138, "column": 49 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4781, - "end": 4793, + "start": 5041, + "end": 5053, "loc": { "start": { - "line": 132, + "line": 138, "column": 8 }, "end": { - "line": 132, + "line": 138, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 4781, - "end": 4785, + "start": 5041, + "end": 5045, "loc": { "start": { - "line": 132, + "line": 138, "column": 8 }, "end": { - "line": 132, + "line": 138, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4786, - "end": 4793, + "start": 5046, + "end": 5053, "loc": { "start": { - "line": 132, + "line": 138, "column": 13 }, "end": { - "line": 132, + "line": 138, "column": 20 }, "identifierName": "backend" @@ -55840,72 +56830,72 @@ }, "right": { "type": "MemberExpression", - "start": 4796, - "end": 4822, + "start": 5056, + "end": 5082, "loc": { "start": { - "line": 132, + "line": 138, "column": 23 }, "end": { - "line": 132, + "line": 138, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 4796, - "end": 4814, + "start": 5056, + "end": 5074, "loc": { "start": { - "line": 132, + "line": 138, "column": 23 }, "end": { - "line": 132, + "line": 138, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 4796, - "end": 4807, + "start": 5056, + "end": 5067, "loc": { "start": { - "line": 132, + "line": 138, "column": 23 }, "end": { - "line": 132, + "line": 138, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 4796, - "end": 4800, + "start": 5056, + "end": 5060, "loc": { "start": { - "line": 132, + "line": 138, "column": 23 }, "end": { - "line": 132, + "line": 138, "column": 27 } } }, "property": { "type": "Identifier", - "start": 4801, - "end": 4807, + "start": 5061, + "end": 5067, "loc": { "start": { - "line": 132, + "line": 138, "column": 28 }, "end": { - "line": 132, + "line": 138, "column": 34 }, "identifierName": "surfer" @@ -55916,15 +56906,15 @@ }, "property": { "type": "Identifier", - "start": 4808, - "end": 4814, + "start": 5068, + "end": 5074, "loc": { "start": { - "line": 132, + "line": 138, "column": 35 }, "end": { - "line": 132, + "line": 138, "column": 41 }, "identifierName": "params" @@ -55935,15 +56925,15 @@ }, "property": { "type": "Identifier", - "start": 4815, - "end": 4822, + "start": 5075, + "end": 5082, "loc": { "start": { - "line": 132, + "line": 138, "column": 42 }, "end": { - "line": 132, + "line": 138, "column": 49 }, "identifierName": "backend" @@ -55956,72 +56946,72 @@ }, { "type": "ExpressionStatement", - "start": 4832, - "end": 4894, + "start": 5092, + "end": 5154, "loc": { "start": { - "line": 133, + "line": 139, "column": 8 }, "end": { - "line": 133, + "line": 139, "column": 70 } }, "expression": { "type": "CallExpression", - "start": 4832, - "end": 4893, + "start": 5092, + "end": 5153, "loc": { "start": { - "line": 133, + "line": 139, "column": 8 }, "end": { - "line": 133, + "line": 139, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 4832, - "end": 4840, + "start": 5092, + "end": 5100, "loc": { "start": { - "line": 133, + "line": 139, "column": 8 }, "end": { - "line": 133, + "line": 139, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 4832, - "end": 4836, + "start": 5092, + "end": 5096, "loc": { "start": { - "line": 133, + "line": 139, "column": 8 }, "end": { - "line": 133, + "line": 139, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4837, - "end": 4840, + "start": 5097, + "end": 5100, "loc": { "start": { - "line": 133, + "line": 139, "column": 13 }, "end": { - "line": 133, + "line": 139, "column": 16 }, "identifierName": "log" @@ -56033,43 +57023,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 4841, - "end": 4892, + "start": 5101, + "end": 5152, "loc": { "start": { - "line": 133, + "line": 139, "column": 17 }, "end": { - "line": 133, + "line": 139, "column": 68 } }, "left": { "type": "BinaryExpression", - "start": 4841, - "end": 4878, + "start": 5101, + "end": 5138, "loc": { "start": { - "line": 133, + "line": 139, "column": 17 }, "end": { - "line": 133, + "line": 139, "column": 54 } }, "left": { "type": "StringLiteral", - "start": 4841, - "end": 4863, + "start": 5101, + "end": 5123, "loc": { "start": { - "line": 133, + "line": 139, "column": 17 }, "end": { - "line": 133, + "line": 139, "column": 39 } }, @@ -56082,44 +57072,44 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 4866, - "end": 4878, + "start": 5126, + "end": 5138, "loc": { "start": { - "line": 133, + "line": 139, "column": 42 }, "end": { - "line": 133, + "line": 139, "column": 54 } }, "object": { "type": "ThisExpression", - "start": 4866, - "end": 4870, + "start": 5126, + "end": 5130, "loc": { "start": { - "line": 133, + "line": 139, "column": 42 }, "end": { - "line": 133, + "line": 139, "column": 46 } } }, "property": { "type": "Identifier", - "start": 4871, - "end": 4878, + "start": 5131, + "end": 5138, "loc": { "start": { - "line": 133, + "line": 139, "column": 47 }, "end": { - "line": 133, + "line": 139, "column": 54 }, "identifierName": "backend" @@ -56132,15 +57122,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 4881, - "end": 4892, + "start": 5141, + "end": 5152, "loc": { "start": { - "line": 133, + "line": 139, "column": 57 }, "end": { - "line": 133, + "line": 139, "column": 68 } }, @@ -56157,15 +57147,15 @@ { "type": "CommentLine", "value": " check if the wavesurfer.js microphone plugin is enabled", - "start": 4904, - "end": 4962, + "start": 5164, + "end": 5222, "loc": { "start": { - "line": 135, + "line": 141, "column": 8 }, "end": { - "line": 135, + "line": 141, "column": 66 } } @@ -56174,43 +57164,43 @@ }, { "type": "IfStatement", - "start": 4971, - "end": 5523, + "start": 5231, + "end": 5783, "loc": { "start": { - "line": 136, + "line": 142, "column": 8 }, "end": { - "line": 148, + "line": 154, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 4975, - "end": 5041, + "start": 5235, + "end": 5301, "loc": { "start": { - "line": 136, + "line": 142, "column": 12 }, "end": { - "line": 136, + "line": 142, "column": 78 } }, "left": { "type": "StringLiteral", - "start": 4975, - "end": 4987, + "start": 5235, + "end": 5247, "loc": { "start": { - "line": 136, + "line": 142, "column": 12 }, "end": { - "line": 136, + "line": 142, "column": 24 } }, @@ -56224,114 +57214,114 @@ "operator": "in", "right": { "type": "CallExpression", - "start": 4991, - "end": 5041, + "start": 5251, + "end": 5301, "loc": { "start": { - "line": 136, + "line": 142, "column": 28 }, "end": { - "line": 136, + "line": 142, "column": 78 } }, "callee": { "type": "MemberExpression", - "start": 4991, - "end": 5039, + "start": 5251, + "end": 5299, "loc": { "start": { - "line": 136, + "line": 142, "column": 28 }, "end": { - "line": 136, + "line": 142, "column": 76 } }, "object": { "type": "MemberExpression", - "start": 4991, - "end": 5022, + "start": 5251, + "end": 5282, "loc": { "start": { - "line": 136, + "line": 142, "column": 28 }, "end": { - "line": 136, + "line": 142, "column": 59 } }, "object": { "type": "CallExpression", - "start": 4991, - "end": 5015, + "start": 5251, + "end": 5275, "loc": { "start": { - "line": 136, + "line": 142, "column": 28 }, "end": { - "line": 136, + "line": 142, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 4991, - "end": 5013, + "start": 5251, + "end": 5273, "loc": { "start": { - "line": 136, + "line": 142, "column": 28 }, "end": { - "line": 136, + "line": 142, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 4991, - "end": 5002, + "start": 5251, + "end": 5262, "loc": { "start": { - "line": 136, + "line": 142, "column": 28 }, "end": { - "line": 136, + "line": 142, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 4991, - "end": 4995, + "start": 5251, + "end": 5255, "loc": { "start": { - "line": 136, + "line": 142, "column": 28 }, "end": { - "line": 136, + "line": 142, "column": 32 } } }, "property": { "type": "Identifier", - "start": 4996, - "end": 5002, + "start": 5256, + "end": 5262, "loc": { "start": { - "line": 136, + "line": 142, "column": 33 }, "end": { - "line": 136, + "line": 142, "column": 39 }, "identifierName": "player" @@ -56342,15 +57332,15 @@ }, "property": { "type": "Identifier", - "start": 5003, - "end": 5013, + "start": 5263, + "end": 5273, "loc": { "start": { - "line": 136, + "line": 142, "column": 40 }, "end": { - "line": 136, + "line": 142, "column": 50 }, "identifierName": "wavesurfer" @@ -56363,15 +57353,15 @@ }, "property": { "type": "Identifier", - "start": 5016, - "end": 5022, + "start": 5276, + "end": 5282, "loc": { "start": { - "line": 136, + "line": 142, "column": 53 }, "end": { - "line": 136, + "line": 142, "column": 59 }, "identifierName": "surfer" @@ -56382,15 +57372,15 @@ }, "property": { "type": "Identifier", - "start": 5023, - "end": 5039, + "start": 5283, + "end": 5299, "loc": { "start": { - "line": 136, + "line": 142, "column": 60 }, "end": { - "line": 136, + "line": 142, "column": 76 }, "identifierName": "getActivePlugins" @@ -56405,73 +57395,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 5043, - "end": 5523, + "start": 5303, + "end": 5783, "loc": { "start": { - "line": 136, + "line": 142, "column": 80 }, "end": { - "line": 148, + "line": 154, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 5109, - "end": 5130, + "start": 5369, + "end": 5390, "loc": { "start": { - "line": 138, + "line": 144, "column": 12 }, "end": { - "line": 138, + "line": 144, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 5109, - "end": 5129, + "start": 5369, + "end": 5389, "loc": { "start": { - "line": 138, + "line": 144, "column": 12 }, "end": { - "line": 138, + "line": 144, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5109, - "end": 5122, + "start": 5369, + "end": 5382, "loc": { "start": { - "line": 138, + "line": 144, "column": 12 }, "end": { - "line": 138, + "line": 144, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 5109, - "end": 5113, + "start": 5369, + "end": 5373, "loc": { "start": { - "line": 138, + "line": 144, "column": 12 }, "end": { - "line": 138, + "line": 144, "column": 16 } }, @@ -56479,15 +57469,15 @@ }, "property": { "type": "Identifier", - "start": 5114, - "end": 5122, + "start": 5374, + "end": 5382, "loc": { "start": { - "line": 138, + "line": 144, "column": 17 }, "end": { - "line": 138, + "line": 144, "column": 25 }, "identifierName": "liveMode" @@ -56499,15 +57489,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 5125, - "end": 5129, + "start": 5385, + "end": 5389, "loc": { "start": { - "line": 138, + "line": 144, "column": 28 }, "end": { - "line": 138, + "line": 144, "column": 32 } }, @@ -56519,15 +57509,15 @@ { "type": "CommentLine", "value": " enable audio input from a microphone", - "start": 5057, - "end": 5096, + "start": 5317, + "end": 5356, "loc": { "start": { - "line": 137, + "line": 143, "column": 12 }, "end": { - "line": 137, + "line": 143, "column": 51 } } @@ -56536,73 +57526,73 @@ }, { "type": "ExpressionStatement", - "start": 5143, - "end": 5165, + "start": 5403, + "end": 5425, "loc": { "start": { - "line": 139, + "line": 145, "column": 12 }, "end": { - "line": 139, + "line": 145, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 5143, - "end": 5164, + "start": 5403, + "end": 5424, "loc": { "start": { - "line": 139, + "line": 145, "column": 12 }, "end": { - "line": 139, + "line": 145, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5143, - "end": 5157, + "start": 5403, + "end": 5417, "loc": { "start": { - "line": 139, + "line": 145, "column": 12 }, "end": { - "line": 139, + "line": 145, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 5143, - "end": 5147, + "start": 5403, + "end": 5407, "loc": { "start": { - "line": 139, + "line": 145, "column": 12 }, "end": { - "line": 139, + "line": 145, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5148, - "end": 5157, + "start": 5408, + "end": 5417, "loc": { "start": { - "line": 139, + "line": 145, "column": 17 }, "end": { - "line": 139, + "line": 145, "column": 26 }, "identifierName": "waveReady" @@ -56613,15 +57603,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 5160, - "end": 5164, + "start": 5420, + "end": 5424, "loc": { "start": { - "line": 139, + "line": 145, "column": 29 }, "end": { - "line": 139, + "line": 145, "column": 33 } }, @@ -56631,72 +57621,72 @@ }, { "type": "ExpressionStatement", - "start": 5178, - "end": 5231, + "start": 5438, + "end": 5491, "loc": { "start": { - "line": 140, + "line": 146, "column": 12 }, "end": { - "line": 140, + "line": 146, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 5178, - "end": 5230, + "start": 5438, + "end": 5490, "loc": { "start": { - "line": 140, + "line": 146, "column": 12 }, "end": { - "line": 140, + "line": 146, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 5178, - "end": 5186, + "start": 5438, + "end": 5446, "loc": { "start": { - "line": 140, + "line": 146, "column": 12 }, "end": { - "line": 140, + "line": 146, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 5178, - "end": 5182, + "start": 5438, + "end": 5442, "loc": { "start": { - "line": 140, + "line": 146, "column": 12 }, "end": { - "line": 140, + "line": 146, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5183, - "end": 5186, + "start": 5443, + "end": 5446, "loc": { "start": { - "line": 140, + "line": 146, "column": 17 }, "end": { - "line": 140, + "line": 146, "column": 20 }, "identifierName": "log" @@ -56708,15 +57698,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5187, - "end": 5229, + "start": 5447, + "end": 5489, "loc": { "start": { - "line": 140, + "line": 146, "column": 21 }, "end": { - "line": 140, + "line": 146, "column": 63 } }, @@ -56732,15 +57722,15 @@ { "type": "CommentLine", "value": " in live mode, show play button at startup", - "start": 5245, - "end": 5289, + "start": 5505, + "end": 5549, "loc": { "start": { - "line": 142, + "line": 148, "column": 12 }, "end": { - "line": 142, + "line": 148, "column": 56 } } @@ -56749,99 +57739,99 @@ }, { "type": "ExpressionStatement", - "start": 5302, - "end": 5343, + "start": 5562, + "end": 5603, "loc": { "start": { - "line": 143, + "line": 149, "column": 12 }, "end": { - "line": 143, + "line": 149, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 5302, - "end": 5342, + "start": 5562, + "end": 5602, "loc": { "start": { - "line": 143, + "line": 149, "column": 12 }, "end": { - "line": 143, + "line": 149, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 5302, - "end": 5340, + "start": 5562, + "end": 5600, "loc": { "start": { - "line": 143, + "line": 149, "column": 12 }, "end": { - "line": 143, + "line": 149, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 5302, - "end": 5335, + "start": 5562, + "end": 5595, "loc": { "start": { - "line": 143, + "line": 149, "column": 12 }, "end": { - "line": 143, + "line": 149, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 5302, - "end": 5324, + "start": 5562, + "end": 5584, "loc": { "start": { - "line": 143, + "line": 149, "column": 12 }, "end": { - "line": 143, + "line": 149, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 5302, - "end": 5313, + "start": 5562, + "end": 5573, "loc": { "start": { - "line": 143, + "line": 149, "column": 12 }, "end": { - "line": 143, + "line": 149, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 5302, - "end": 5306, + "start": 5562, + "end": 5566, "loc": { "start": { - "line": 143, + "line": 149, "column": 12 }, "end": { - "line": 143, + "line": 149, "column": 16 } }, @@ -56849,15 +57839,15 @@ }, "property": { "type": "Identifier", - "start": 5307, - "end": 5313, + "start": 5567, + "end": 5573, "loc": { "start": { - "line": 143, + "line": 149, "column": 17 }, "end": { - "line": 143, + "line": 149, "column": 23 }, "identifierName": "player" @@ -56869,15 +57859,15 @@ }, "property": { "type": "Identifier", - "start": 5314, - "end": 5324, + "start": 5574, + "end": 5584, "loc": { "start": { - "line": 143, + "line": 149, "column": 24 }, "end": { - "line": 143, + "line": 149, "column": 34 }, "identifierName": "controlBar" @@ -56889,15 +57879,15 @@ }, "property": { "type": "Identifier", - "start": 5325, - "end": 5335, + "start": 5585, + "end": 5595, "loc": { "start": { - "line": 143, + "line": 149, "column": 35 }, "end": { - "line": 143, + "line": 149, "column": 45 }, "identifierName": "playToggle" @@ -56909,15 +57899,15 @@ }, "property": { "type": "Identifier", - "start": 5336, - "end": 5340, + "start": 5596, + "end": 5600, "loc": { "start": { - "line": 143, + "line": 149, "column": 46 }, "end": { - "line": 143, + "line": 149, "column": 50 }, "identifierName": "show" @@ -56934,15 +57924,15 @@ { "type": "CommentLine", "value": " in live mode, show play button at startup", - "start": 5245, - "end": 5289, + "start": 5505, + "end": 5549, "loc": { "start": { - "line": 142, + "line": 148, "column": 12 }, "end": { - "line": 142, + "line": 148, "column": 56 } } @@ -56952,15 +57942,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js microphone plugin events", - "start": 5357, - "end": 5409, + "start": 5617, + "end": 5669, "loc": { "start": { - "line": 145, + "line": 151, "column": 12 }, "end": { - "line": 145, + "line": 151, "column": 64 } } @@ -56969,85 +57959,85 @@ }, { "type": "ExpressionStatement", - "start": 5422, - "end": 5513, + "start": 5682, + "end": 5773, "loc": { "start": { - "line": 146, + "line": 152, "column": 12 }, "end": { - "line": 147, + "line": 153, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 5422, - "end": 5512, + "start": 5682, + "end": 5772, "loc": { "start": { - "line": 146, + "line": 152, "column": 12 }, "end": { - "line": 147, + "line": 153, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 5422, - "end": 5447, + "start": 5682, + "end": 5707, "loc": { "start": { - "line": 146, + "line": 152, "column": 12 }, "end": { - "line": 146, + "line": 152, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 5422, - "end": 5444, + "start": 5682, + "end": 5704, "loc": { "start": { - "line": 146, + "line": 152, "column": 12 }, "end": { - "line": 146, + "line": 152, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 5422, - "end": 5433, + "start": 5682, + "end": 5693, "loc": { "start": { - "line": 146, + "line": 152, "column": 12 }, "end": { - "line": 146, + "line": 152, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 5422, - "end": 5426, + "start": 5682, + "end": 5686, "loc": { "start": { - "line": 146, + "line": 152, "column": 12 }, "end": { - "line": 146, + "line": 152, "column": 16 } }, @@ -57055,15 +58045,15 @@ }, "property": { "type": "Identifier", - "start": 5427, - "end": 5433, + "start": 5687, + "end": 5693, "loc": { "start": { - "line": 146, + "line": 152, "column": 17 }, "end": { - "line": 146, + "line": 152, "column": 23 }, "identifierName": "surfer" @@ -57075,15 +58065,15 @@ }, "property": { "type": "Identifier", - "start": 5434, - "end": 5444, + "start": 5694, + "end": 5704, "loc": { "start": { - "line": 146, + "line": 152, "column": 24 }, "end": { - "line": 146, + "line": 152, "column": 34 }, "identifierName": "microphone" @@ -57095,15 +58085,15 @@ }, "property": { "type": "Identifier", - "start": 5445, - "end": 5447, + "start": 5705, + "end": 5707, "loc": { "start": { - "line": 146, + "line": 152, "column": 35 }, "end": { - "line": 146, + "line": 152, "column": 37 }, "identifierName": "on" @@ -57116,29 +58106,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 5448, - "end": 5466, + "start": 5708, + "end": 5726, "loc": { "start": { - "line": 146, + "line": 152, "column": 38 }, "end": { - "line": 146, + "line": 152, "column": 56 } }, "object": { "type": "Identifier", - "start": 5448, - "end": 5453, + "start": 5708, + "end": 5713, "loc": { "start": { - "line": 146, + "line": 152, "column": 38 }, "end": { - "line": 146, + "line": 152, "column": 43 }, "identifierName": "Event" @@ -57147,15 +58137,15 @@ }, "property": { "type": "Identifier", - "start": 5454, - "end": 5466, + "start": 5714, + "end": 5726, "loc": { "start": { - "line": 146, + "line": 152, "column": 44 }, "end": { - "line": 146, + "line": 152, "column": 56 }, "identifierName": "DEVICE_ERROR" @@ -57166,72 +58156,72 @@ }, { "type": "CallExpression", - "start": 5484, - "end": 5511, + "start": 5744, + "end": 5771, "loc": { "start": { - "line": 147, + "line": 153, "column": 16 }, "end": { - "line": 147, + "line": 153, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 5484, - "end": 5505, + "start": 5744, + "end": 5765, "loc": { "start": { - "line": 147, + "line": 153, "column": 16 }, "end": { - "line": 147, + "line": 153, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 5484, - "end": 5500, + "start": 5744, + "end": 5760, "loc": { "start": { - "line": 147, + "line": 153, "column": 16 }, "end": { - "line": 147, + "line": 153, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 5484, - "end": 5488, + "start": 5744, + "end": 5748, "loc": { "start": { - "line": 147, + "line": 153, "column": 16 }, "end": { - "line": 147, + "line": 153, "column": 20 } } }, "property": { "type": "Identifier", - "start": 5489, - "end": 5500, + "start": 5749, + "end": 5760, "loc": { "start": { - "line": 147, + "line": 153, "column": 21 }, "end": { - "line": 147, + "line": 153, "column": 32 }, "identifierName": "onWaveError" @@ -57242,15 +58232,15 @@ }, "property": { "type": "Identifier", - "start": 5501, - "end": 5505, + "start": 5761, + "end": 5765, "loc": { "start": { - "line": 147, + "line": 153, "column": 33 }, "end": { - "line": 147, + "line": 153, "column": 37 }, "identifierName": "bind" @@ -57262,15 +58252,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5506, - "end": 5510, + "start": 5766, + "end": 5770, "loc": { "start": { - "line": 147, + "line": 153, "column": 38 }, "end": { - "line": 147, + "line": 153, "column": 42 } } @@ -57284,15 +58274,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js microphone plugin events", - "start": 5357, - "end": 5409, + "start": 5617, + "end": 5669, "loc": { "start": { - "line": 145, + "line": 151, "column": 12 }, "end": { - "line": 145, + "line": 151, "column": 64 } } @@ -57308,15 +58298,15 @@ { "type": "CommentLine", "value": " check if the wavesurfer.js microphone plugin is enabled", - "start": 4904, - "end": 4962, + "start": 5164, + "end": 5222, "loc": { "start": { - "line": 135, + "line": 141, "column": 8 }, "end": { - "line": 135, + "line": 141, "column": 66 } } @@ -57326,15 +58316,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js events", - "start": 5533, - "end": 5567, + "start": 5793, + "end": 5827, "loc": { "start": { - "line": 150, + "line": 156, "column": 8 }, "end": { - "line": 150, + "line": 156, "column": 42 } } @@ -57343,58 +58333,58 @@ }, { "type": "ExpressionStatement", - "start": 5576, - "end": 5623, + "start": 5836, + "end": 5883, "loc": { "start": { - "line": 151, + "line": 157, "column": 8 }, "end": { - "line": 151, + "line": 157, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 5576, - "end": 5622, + "start": 5836, + "end": 5882, "loc": { "start": { - "line": 151, + "line": 157, "column": 8 }, "end": { - "line": 151, + "line": 157, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5576, - "end": 5592, + "start": 5836, + "end": 5852, "loc": { "start": { - "line": 151, + "line": 157, "column": 8 }, "end": { - "line": 151, + "line": 157, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 5576, - "end": 5580, + "start": 5836, + "end": 5840, "loc": { "start": { - "line": 151, + "line": 157, "column": 8 }, "end": { - "line": 151, + "line": 157, "column": 12 } }, @@ -57402,15 +58392,15 @@ }, "property": { "type": "Identifier", - "start": 5581, - "end": 5592, + "start": 5841, + "end": 5852, "loc": { "start": { - "line": 151, + "line": 157, "column": 13 }, "end": { - "line": 151, + "line": 157, "column": 24 }, "identifierName": "surferReady" @@ -57422,72 +58412,72 @@ }, "right": { "type": "CallExpression", - "start": 5595, - "end": 5622, + "start": 5855, + "end": 5882, "loc": { "start": { - "line": 151, + "line": 157, "column": 27 }, "end": { - "line": 151, + "line": 157, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 5595, - "end": 5616, + "start": 5855, + "end": 5876, "loc": { "start": { - "line": 151, + "line": 157, "column": 27 }, "end": { - "line": 151, + "line": 157, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 5595, - "end": 5611, + "start": 5855, + "end": 5871, "loc": { "start": { - "line": 151, + "line": 157, "column": 27 }, "end": { - "line": 151, + "line": 157, "column": 43 } }, "object": { "type": "ThisExpression", - "start": 5595, - "end": 5599, + "start": 5855, + "end": 5859, "loc": { "start": { - "line": 151, + "line": 157, "column": 27 }, "end": { - "line": 151, + "line": 157, "column": 31 } } }, "property": { "type": "Identifier", - "start": 5600, - "end": 5611, + "start": 5860, + "end": 5871, "loc": { "start": { - "line": 151, + "line": 157, "column": 32 }, "end": { - "line": 151, + "line": 157, "column": 43 }, "identifierName": "onWaveReady" @@ -57498,15 +58488,15 @@ }, "property": { "type": "Identifier", - "start": 5612, - "end": 5616, + "start": 5872, + "end": 5876, "loc": { "start": { - "line": 151, + "line": 157, "column": 44 }, "end": { - "line": 151, + "line": 157, "column": 48 }, "identifierName": "bind" @@ -57518,15 +58508,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5617, - "end": 5621, + "start": 5877, + "end": 5881, "loc": { "start": { - "line": 151, + "line": 157, "column": 49 }, "end": { - "line": 151, + "line": 157, "column": 53 } } @@ -57539,15 +58529,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js events", - "start": 5533, - "end": 5567, + "start": 5793, + "end": 5827, "loc": { "start": { - "line": 150, + "line": 156, "column": 8 }, "end": { - "line": 150, + "line": 156, "column": 42 } } @@ -57556,72 +58546,72 @@ }, { "type": "IfStatement", - "start": 5632, - "end": 5943, + "start": 5892, + "end": 6203, "loc": { "start": { - "line": 152, + "line": 158, "column": 8 }, "end": { - "line": 160, + "line": 166, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 5636, - "end": 5661, + "start": 5896, + "end": 5921, "loc": { "start": { - "line": 152, + "line": 158, "column": 12 }, "end": { - "line": 152, + "line": 158, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 5636, - "end": 5648, + "start": 5896, + "end": 5908, "loc": { "start": { - "line": 152, + "line": 158, "column": 12 }, "end": { - "line": 152, + "line": 158, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 5636, - "end": 5640, + "start": 5896, + "end": 5900, "loc": { "start": { - "line": 152, + "line": 158, "column": 12 }, "end": { - "line": 152, + "line": 158, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5641, - "end": 5648, + "start": 5901, + "end": 5908, "loc": { "start": { - "line": 152, + "line": 158, "column": 17 }, "end": { - "line": 152, + "line": 158, "column": 24 }, "identifierName": "backend" @@ -57633,15 +58623,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 5653, - "end": 5661, + "start": 5913, + "end": 5921, "loc": { "start": { - "line": 152, + "line": 158, "column": 29 }, "end": { - "line": 152, + "line": 158, "column": 37 }, "identifierName": "WEBAUDIO" @@ -57651,88 +58641,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 5663, - "end": 5943, + "start": 5923, + "end": 6203, "loc": { "start": { - "line": 152, + "line": 158, "column": 39 }, "end": { - "line": 160, + "line": 166, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 5677, - "end": 5730, + "start": 5937, + "end": 5990, "loc": { "start": { - "line": 153, + "line": 159, "column": 12 }, "end": { - "line": 153, + "line": 159, "column": 65 } }, "expression": { "type": "AssignmentExpression", - "start": 5677, - "end": 5729, + "start": 5937, + "end": 5989, "loc": { "start": { - "line": 153, + "line": 159, "column": 12 }, "end": { - "line": 153, + "line": 159, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5677, - "end": 5696, + "start": 5937, + "end": 5956, "loc": { "start": { - "line": 153, + "line": 159, "column": 12 }, "end": { - "line": 153, + "line": 159, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 5677, - "end": 5681, + "start": 5937, + "end": 5941, "loc": { "start": { - "line": 153, + "line": 159, "column": 12 }, "end": { - "line": 153, + "line": 159, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5682, - "end": 5696, + "start": 5942, + "end": 5956, "loc": { "start": { - "line": 153, + "line": 159, "column": 17 }, "end": { - "line": 153, + "line": 159, "column": 31 }, "identifierName": "surferProgress" @@ -57743,72 +58733,72 @@ }, "right": { "type": "CallExpression", - "start": 5699, - "end": 5729, + "start": 5959, + "end": 5989, "loc": { "start": { - "line": 153, + "line": 159, "column": 34 }, "end": { - "line": 153, + "line": 159, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 5699, - "end": 5723, + "start": 5959, + "end": 5983, "loc": { "start": { - "line": 153, + "line": 159, "column": 34 }, "end": { - "line": 153, + "line": 159, "column": 58 } }, "object": { "type": "MemberExpression", - "start": 5699, - "end": 5718, + "start": 5959, + "end": 5978, "loc": { "start": { - "line": 153, + "line": 159, "column": 34 }, "end": { - "line": 153, + "line": 159, "column": 53 } }, "object": { "type": "ThisExpression", - "start": 5699, - "end": 5703, + "start": 5959, + "end": 5963, "loc": { "start": { - "line": 153, + "line": 159, "column": 34 }, "end": { - "line": 153, + "line": 159, "column": 38 } } }, "property": { "type": "Identifier", - "start": 5704, - "end": 5718, + "start": 5964, + "end": 5978, "loc": { "start": { - "line": 153, + "line": 159, "column": 39 }, "end": { - "line": 153, + "line": 159, "column": 53 }, "identifierName": "onWaveProgress" @@ -57819,15 +58809,15 @@ }, "property": { "type": "Identifier", - "start": 5719, - "end": 5723, + "start": 5979, + "end": 5983, "loc": { "start": { - "line": 153, + "line": 159, "column": 54 }, "end": { - "line": 153, + "line": 159, "column": 58 }, "identifierName": "bind" @@ -57839,15 +58829,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5724, - "end": 5728, + "start": 5984, + "end": 5988, "loc": { "start": { - "line": 153, + "line": 159, "column": 59 }, "end": { - "line": 153, + "line": 159, "column": 63 } } @@ -57858,73 +58848,73 @@ }, { "type": "ExpressionStatement", - "start": 5743, - "end": 5788, + "start": 6003, + "end": 6048, "loc": { "start": { - "line": 154, + "line": 160, "column": 12 }, "end": { - "line": 154, + "line": 160, "column": 57 } }, "expression": { "type": "AssignmentExpression", - "start": 5743, - "end": 5787, + "start": 6003, + "end": 6047, "loc": { "start": { - "line": 154, + "line": 160, "column": 12 }, "end": { - "line": 154, + "line": 160, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5743, - "end": 5758, + "start": 6003, + "end": 6018, "loc": { "start": { - "line": 154, + "line": 160, "column": 12 }, "end": { - "line": 154, + "line": 160, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 5743, - "end": 5747, + "start": 6003, + "end": 6007, "loc": { "start": { - "line": 154, + "line": 160, "column": 12 }, "end": { - "line": 154, + "line": 160, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5748, - "end": 5758, + "start": 6008, + "end": 6018, "loc": { "start": { - "line": 154, + "line": 160, "column": 17 }, "end": { - "line": 154, + "line": 160, "column": 27 }, "identifierName": "surferSeek" @@ -57935,72 +58925,72 @@ }, "right": { "type": "CallExpression", - "start": 5761, - "end": 5787, + "start": 6021, + "end": 6047, "loc": { "start": { - "line": 154, + "line": 160, "column": 30 }, "end": { - "line": 154, + "line": 160, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 5761, - "end": 5781, + "start": 6021, + "end": 6041, "loc": { "start": { - "line": 154, + "line": 160, "column": 30 }, "end": { - "line": 154, + "line": 160, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 5761, - "end": 5776, + "start": 6021, + "end": 6036, "loc": { "start": { - "line": 154, + "line": 160, "column": 30 }, "end": { - "line": 154, + "line": 160, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 5761, - "end": 5765, + "start": 6021, + "end": 6025, "loc": { "start": { - "line": 154, + "line": 160, "column": 30 }, "end": { - "line": 154, + "line": 160, "column": 34 } } }, "property": { "type": "Identifier", - "start": 5766, - "end": 5776, + "start": 6026, + "end": 6036, "loc": { "start": { - "line": 154, + "line": 160, "column": 35 }, "end": { - "line": 154, + "line": 160, "column": 45 }, "identifierName": "onWaveSeek" @@ -58011,15 +59001,15 @@ }, "property": { "type": "Identifier", - "start": 5777, - "end": 5781, + "start": 6037, + "end": 6041, "loc": { "start": { - "line": 154, + "line": 160, "column": 46 }, "end": { - "line": 154, + "line": 160, "column": 50 }, "identifierName": "bind" @@ -58031,15 +59021,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 5782, - "end": 5786, + "start": 6042, + "end": 6046, "loc": { "start": { - "line": 154, + "line": 160, "column": 51 }, "end": { - "line": 154, + "line": 160, "column": 55 } } @@ -58051,15 +59041,15 @@ { "type": "CommentLine", "value": " make sure volume is muted when requested", - "start": 5802, - "end": 5845, + "start": 6062, + "end": 6105, "loc": { "start": { - "line": 156, + "line": 162, "column": 12 }, "end": { - "line": 156, + "line": 162, "column": 55 } } @@ -58068,71 +59058,71 @@ }, { "type": "IfStatement", - "start": 5858, - "end": 5933, + "start": 6118, + "end": 6193, "loc": { "start": { - "line": 157, + "line": 163, "column": 12 }, "end": { - "line": 159, + "line": 165, "column": 13 } }, "test": { "type": "CallExpression", - "start": 5862, - "end": 5881, + "start": 6122, + "end": 6141, "loc": { "start": { - "line": 157, + "line": 163, "column": 16 }, "end": { - "line": 157, + "line": 163, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 5862, - "end": 5879, + "start": 6122, + "end": 6139, "loc": { "start": { - "line": 157, + "line": 163, "column": 16 }, "end": { - "line": 157, + "line": 163, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 5862, - "end": 5873, + "start": 6122, + "end": 6133, "loc": { "start": { - "line": 157, + "line": 163, "column": 16 }, "end": { - "line": 157, + "line": 163, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 5862, - "end": 5866, + "start": 6122, + "end": 6126, "loc": { "start": { - "line": 157, + "line": 163, "column": 16 }, "end": { - "line": 157, + "line": 163, "column": 20 } }, @@ -58140,15 +59130,15 @@ }, "property": { "type": "Identifier", - "start": 5867, - "end": 5873, + "start": 6127, + "end": 6133, "loc": { "start": { - "line": 157, + "line": 163, "column": 21 }, "end": { - "line": 157, + "line": 163, "column": 27 }, "identifierName": "player" @@ -58160,15 +59150,15 @@ }, "property": { "type": "Identifier", - "start": 5874, - "end": 5879, + "start": 6134, + "end": 6139, "loc": { "start": { - "line": 157, + "line": 163, "column": 28 }, "end": { - "line": 157, + "line": 163, "column": 33 }, "identifierName": "muted" @@ -58183,87 +59173,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 5883, - "end": 5933, + "start": 6143, + "end": 6193, "loc": { "start": { - "line": 157, + "line": 163, "column": 37 }, "end": { - "line": 159, + "line": 165, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 5901, - "end": 5919, + "start": 6161, + "end": 6179, "loc": { "start": { - "line": 158, + "line": 164, "column": 16 }, "end": { - "line": 158, + "line": 164, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 5901, - "end": 5918, + "start": 6161, + "end": 6178, "loc": { "start": { - "line": 158, + "line": 164, "column": 16 }, "end": { - "line": 158, + "line": 164, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 5901, - "end": 5915, + "start": 6161, + "end": 6175, "loc": { "start": { - "line": 158, + "line": 164, "column": 16 }, "end": { - "line": 158, + "line": 164, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 5901, - "end": 5905, + "start": 6161, + "end": 6165, "loc": { "start": { - "line": 158, + "line": 164, "column": 16 }, "end": { - "line": 158, + "line": 164, "column": 20 } } }, "property": { "type": "Identifier", - "start": 5906, - "end": 5915, + "start": 6166, + "end": 6175, "loc": { "start": { - "line": 158, + "line": 164, "column": 21 }, "end": { - "line": 158, + "line": 164, "column": 30 }, "identifierName": "setVolume" @@ -58275,15 +59265,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 5916, - "end": 5917, + "start": 6176, + "end": 6177, "loc": { "start": { - "line": 158, + "line": 164, "column": 31 }, "end": { - "line": 158, + "line": 164, "column": 32 } }, @@ -58304,15 +59294,15 @@ { "type": "CommentLine", "value": " make sure volume is muted when requested", - "start": 5802, - "end": 5845, + "start": 6062, + "end": 6105, "loc": { "start": { - "line": 156, + "line": 162, "column": 12 }, "end": { - "line": 156, + "line": 162, "column": 55 } } @@ -58328,15 +59318,15 @@ { "type": "CommentLine", "value": " only listen to the wavesurfer.js playback events when not", - "start": 5953, - "end": 6013, + "start": 6213, + "end": 6273, "loc": { "start": { - "line": 162, + "line": 168, "column": 8 }, "end": { - "line": 162, + "line": 168, "column": 68 } } @@ -58344,15 +59334,15 @@ { "type": "CommentLine", "value": " in live mode", - "start": 6022, - "end": 6037, + "start": 6282, + "end": 6297, "loc": { "start": { - "line": 163, + "line": 169, "column": 8 }, "end": { - "line": 163, + "line": 169, "column": 23 } } @@ -58361,29 +59351,29 @@ }, { "type": "IfStatement", - "start": 6046, - "end": 6121, + "start": 6306, + "end": 6381, "loc": { "start": { - "line": 164, + "line": 170, "column": 8 }, "end": { - "line": 166, + "line": 172, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 6050, - "end": 6064, + "start": 6310, + "end": 6324, "loc": { "start": { - "line": 164, + "line": 170, "column": 12 }, "end": { - "line": 164, + "line": 170, "column": 26 } }, @@ -58391,29 +59381,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 6051, - "end": 6064, + "start": 6311, + "end": 6324, "loc": { "start": { - "line": 164, + "line": 170, "column": 13 }, "end": { - "line": 164, + "line": 170, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 6051, - "end": 6055, + "start": 6311, + "end": 6315, "loc": { "start": { - "line": 164, + "line": 170, "column": 13 }, "end": { - "line": 164, + "line": 170, "column": 17 } }, @@ -58421,15 +59411,15 @@ }, "property": { "type": "Identifier", - "start": 6056, - "end": 6064, + "start": 6316, + "end": 6324, "loc": { "start": { - "line": 164, + "line": 170, "column": 18 }, "end": { - "line": 164, + "line": 170, "column": 26 }, "identifierName": "liveMode" @@ -58446,87 +59436,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 6066, - "end": 6121, + "start": 6326, + "end": 6381, "loc": { "start": { - "line": 164, + "line": 170, "column": 28 }, "end": { - "line": 166, + "line": 172, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 6080, - "end": 6111, + "start": 6340, + "end": 6371, "loc": { "start": { - "line": 165, + "line": 171, "column": 12 }, "end": { - "line": 165, + "line": 171, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 6080, - "end": 6110, + "start": 6340, + "end": 6370, "loc": { "start": { - "line": 165, + "line": 171, "column": 12 }, "end": { - "line": 165, + "line": 171, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 6080, - "end": 6104, + "start": 6340, + "end": 6364, "loc": { "start": { - "line": 165, + "line": 171, "column": 12 }, "end": { - "line": 165, + "line": 171, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 6080, - "end": 6084, + "start": 6340, + "end": 6344, "loc": { "start": { - "line": 165, + "line": 171, "column": 12 }, "end": { - "line": 165, + "line": 171, "column": 16 } } }, "property": { "type": "Identifier", - "start": 6085, - "end": 6104, + "start": 6345, + "end": 6364, "loc": { "start": { - "line": 165, + "line": 171, "column": 17 }, "end": { - "line": 165, + "line": 171, "column": 36 }, "identifierName": "setupPlaybackEvents" @@ -58538,15 +59528,15 @@ "arguments": [ { "type": "BooleanLiteral", - "start": 6105, - "end": 6109, + "start": 6365, + "end": 6369, "loc": { "start": { - "line": 165, + "line": 171, "column": 37 }, "end": { - "line": 165, + "line": 171, "column": 41 } }, @@ -58564,15 +59554,15 @@ { "type": "CommentLine", "value": " only listen to the wavesurfer.js playback events when not", - "start": 5953, - "end": 6013, + "start": 6213, + "end": 6273, "loc": { "start": { - "line": 162, + "line": 168, "column": 8 }, "end": { - "line": 162, + "line": 168, "column": 68 } } @@ -58580,15 +59570,15 @@ { "type": "CommentLine", "value": " in live mode", - "start": 6022, - "end": 6037, + "start": 6282, + "end": 6297, "loc": { "start": { - "line": 163, + "line": 169, "column": 8 }, "end": { - "line": 163, + "line": 169, "column": 23 } } @@ -58598,15 +59588,15 @@ { "type": "CommentLine", "value": " video.js player events", - "start": 6131, - "end": 6156, + "start": 6391, + "end": 6416, "loc": { "start": { - "line": 168, + "line": 174, "column": 8 }, "end": { - "line": 168, + "line": 174, "column": 33 } } @@ -58615,71 +59605,71 @@ }, { "type": "ExpressionStatement", - "start": 6165, - "end": 6232, + "start": 6425, + "end": 6492, "loc": { "start": { - "line": 169, + "line": 175, "column": 8 }, "end": { - "line": 169, + "line": 175, "column": 75 } }, "expression": { "type": "CallExpression", - "start": 6165, - "end": 6231, + "start": 6425, + "end": 6491, "loc": { "start": { - "line": 169, + "line": 175, "column": 8 }, "end": { - "line": 169, + "line": 175, "column": 74 } }, "callee": { "type": "MemberExpression", - "start": 6165, - "end": 6179, + "start": 6425, + "end": 6439, "loc": { "start": { - "line": 169, + "line": 175, "column": 8 }, "end": { - "line": 169, + "line": 175, "column": 22 } }, "object": { "type": "MemberExpression", - "start": 6165, - "end": 6176, + "start": 6425, + "end": 6436, "loc": { "start": { - "line": 169, + "line": 175, "column": 8 }, "end": { - "line": 169, + "line": 175, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 6165, - "end": 6169, + "start": 6425, + "end": 6429, "loc": { "start": { - "line": 169, + "line": 175, "column": 8 }, "end": { - "line": 169, + "line": 175, "column": 12 } }, @@ -58687,15 +59677,15 @@ }, "property": { "type": "Identifier", - "start": 6170, - "end": 6176, + "start": 6430, + "end": 6436, "loc": { "start": { - "line": 169, + "line": 175, "column": 13 }, "end": { - "line": 169, + "line": 175, "column": 19 }, "identifierName": "player" @@ -58707,15 +59697,15 @@ }, "property": { "type": "Identifier", - "start": 6177, - "end": 6179, + "start": 6437, + "end": 6439, "loc": { "start": { - "line": 169, + "line": 175, "column": 20 }, "end": { - "line": 169, + "line": 175, "column": 22 }, "identifierName": "on" @@ -58728,29 +59718,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 6180, - "end": 6198, + "start": 6440, + "end": 6458, "loc": { "start": { - "line": 169, + "line": 175, "column": 23 }, "end": { - "line": 169, + "line": 175, "column": 41 } }, "object": { "type": "Identifier", - "start": 6180, - "end": 6185, + "start": 6440, + "end": 6445, "loc": { "start": { - "line": 169, + "line": 175, "column": 23 }, "end": { - "line": 169, + "line": 175, "column": 28 }, "identifierName": "Event" @@ -58759,15 +59749,15 @@ }, "property": { "type": "Identifier", - "start": 6186, - "end": 6198, + "start": 6446, + "end": 6458, "loc": { "start": { - "line": 169, + "line": 175, "column": 29 }, "end": { - "line": 169, + "line": 175, "column": 41 }, "identifierName": "VOLUMECHANGE" @@ -58778,72 +59768,72 @@ }, { "type": "CallExpression", - "start": 6200, - "end": 6230, + "start": 6460, + "end": 6490, "loc": { "start": { - "line": 169, + "line": 175, "column": 43 }, "end": { - "line": 169, + "line": 175, "column": 73 } }, "callee": { "type": "MemberExpression", - "start": 6200, - "end": 6224, + "start": 6460, + "end": 6484, "loc": { "start": { - "line": 169, + "line": 175, "column": 43 }, "end": { - "line": 169, + "line": 175, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 6200, - "end": 6219, + "start": 6460, + "end": 6479, "loc": { "start": { - "line": 169, + "line": 175, "column": 43 }, "end": { - "line": 169, + "line": 175, "column": 62 } }, "object": { "type": "ThisExpression", - "start": 6200, - "end": 6204, + "start": 6460, + "end": 6464, "loc": { "start": { - "line": 169, + "line": 175, "column": 43 }, "end": { - "line": 169, + "line": 175, "column": 47 } } }, "property": { "type": "Identifier", - "start": 6205, - "end": 6219, + "start": 6465, + "end": 6479, "loc": { "start": { - "line": 169, + "line": 175, "column": 48 }, "end": { - "line": 169, + "line": 175, "column": 62 }, "identifierName": "onVolumeChange" @@ -58854,15 +59844,15 @@ }, "property": { "type": "Identifier", - "start": 6220, - "end": 6224, + "start": 6480, + "end": 6484, "loc": { "start": { - "line": 169, + "line": 175, "column": 63 }, "end": { - "line": 169, + "line": 175, "column": 67 }, "identifierName": "bind" @@ -58874,15 +59864,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 6225, - "end": 6229, + "start": 6485, + "end": 6489, "loc": { "start": { - "line": 169, + "line": 175, "column": 68 }, "end": { - "line": 169, + "line": 175, "column": 72 } } @@ -58896,15 +59886,15 @@ { "type": "CommentLine", "value": " video.js player events", - "start": 6131, - "end": 6156, + "start": 6391, + "end": 6416, "loc": { "start": { - "line": 168, + "line": 174, "column": 8 }, "end": { - "line": 168, + "line": 174, "column": 33 } } @@ -58913,86 +59903,86 @@ }, { "type": "ExpressionStatement", - "start": 6241, - "end": 6312, + "start": 6501, + "end": 6572, "loc": { "start": { - "line": 170, + "line": 176, "column": 8 }, "end": { - "line": 170, + "line": 176, "column": 79 } }, "expression": { "type": "CallExpression", - "start": 6241, - "end": 6311, + "start": 6501, + "end": 6571, "loc": { "start": { - "line": 170, + "line": 176, "column": 8 }, "end": { - "line": 170, + "line": 176, "column": 78 } }, "callee": { "type": "MemberExpression", - "start": 6241, - "end": 6255, + "start": 6501, + "end": 6515, "loc": { "start": { - "line": 170, + "line": 176, "column": 8 }, "end": { - "line": 170, + "line": 176, "column": 22 } }, "object": { "type": "MemberExpression", - "start": 6241, - "end": 6252, + "start": 6501, + "end": 6512, "loc": { "start": { - "line": 170, + "line": 176, "column": 8 }, "end": { - "line": 170, + "line": 176, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 6241, - "end": 6245, + "start": 6501, + "end": 6505, "loc": { "start": { - "line": 170, + "line": 176, "column": 8 }, "end": { - "line": 170, + "line": 176, "column": 12 } } }, "property": { "type": "Identifier", - "start": 6246, - "end": 6252, + "start": 6506, + "end": 6512, "loc": { "start": { - "line": 170, + "line": 176, "column": 13 }, "end": { - "line": 170, + "line": 176, "column": 19 }, "identifierName": "player" @@ -59003,15 +59993,15 @@ }, "property": { "type": "Identifier", - "start": 6253, - "end": 6255, + "start": 6513, + "end": 6515, "loc": { "start": { - "line": 170, + "line": 176, "column": 20 }, "end": { - "line": 170, + "line": 176, "column": 22 }, "identifierName": "on" @@ -59023,29 +60013,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 6256, - "end": 6278, + "start": 6516, + "end": 6538, "loc": { "start": { - "line": 170, + "line": 176, "column": 23 }, "end": { - "line": 170, + "line": 176, "column": 45 } }, "object": { "type": "Identifier", - "start": 6256, - "end": 6261, + "start": 6516, + "end": 6521, "loc": { "start": { - "line": 170, + "line": 176, "column": 23 }, "end": { - "line": 170, + "line": 176, "column": 28 }, "identifierName": "Event" @@ -59054,15 +60044,15 @@ }, "property": { "type": "Identifier", - "start": 6262, - "end": 6278, + "start": 6522, + "end": 6538, "loc": { "start": { - "line": 170, + "line": 176, "column": 29 }, "end": { - "line": 170, + "line": 176, "column": 45 }, "identifierName": "FULLSCREENCHANGE" @@ -59073,72 +60063,72 @@ }, { "type": "CallExpression", - "start": 6280, - "end": 6310, + "start": 6540, + "end": 6570, "loc": { "start": { - "line": 170, + "line": 176, "column": 47 }, "end": { - "line": 170, + "line": 176, "column": 77 } }, "callee": { "type": "MemberExpression", - "start": 6280, - "end": 6304, + "start": 6540, + "end": 6564, "loc": { "start": { - "line": 170, + "line": 176, "column": 47 }, "end": { - "line": 170, + "line": 176, "column": 71 } }, "object": { "type": "MemberExpression", - "start": 6280, - "end": 6299, + "start": 6540, + "end": 6559, "loc": { "start": { - "line": 170, + "line": 176, "column": 47 }, "end": { - "line": 170, + "line": 176, "column": 66 } }, "object": { "type": "ThisExpression", - "start": 6280, - "end": 6284, + "start": 6540, + "end": 6544, "loc": { "start": { - "line": 170, + "line": 176, "column": 47 }, "end": { - "line": 170, + "line": 176, "column": 51 } } }, "property": { "type": "Identifier", - "start": 6285, - "end": 6299, + "start": 6545, + "end": 6559, "loc": { "start": { - "line": 170, + "line": 176, "column": 52 }, "end": { - "line": 170, + "line": 176, "column": 66 }, "identifierName": "onScreenChange" @@ -59149,15 +60139,15 @@ }, "property": { "type": "Identifier", - "start": 6300, - "end": 6304, + "start": 6560, + "end": 6564, "loc": { "start": { - "line": 170, + "line": 176, "column": 67 }, "end": { - "line": 170, + "line": 176, "column": 71 }, "identifierName": "bind" @@ -59169,15 +60159,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 6305, - "end": 6309, + "start": 6565, + "end": 6569, "loc": { "start": { - "line": 170, + "line": 176, "column": 72 }, "end": { - "line": 170, + "line": 176, "column": 76 } } @@ -59190,15 +60180,15 @@ { "type": "CommentLine", "value": " video.js fluid option", - "start": 6322, - "end": 6346, + "start": 6582, + "end": 6606, "loc": { "start": { - "line": 172, + "line": 178, "column": 8 }, "end": { - "line": 172, + "line": 178, "column": 32 } } @@ -59207,85 +60197,85 @@ }, { "type": "IfStatement", - "start": 6355, - "end": 6777, + "start": 6615, + "end": 7037, "loc": { "start": { - "line": 173, + "line": 179, "column": 8 }, "end": { - "line": 180, + "line": 186, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 6359, - "end": 6394, + "start": 6619, + "end": 6654, "loc": { "start": { - "line": 173, + "line": 179, "column": 12 }, "end": { - "line": 173, + "line": 179, "column": 47 } }, "left": { "type": "MemberExpression", - "start": 6359, - "end": 6385, + "start": 6619, + "end": 6645, "loc": { "start": { - "line": 173, + "line": 179, "column": 12 }, "end": { - "line": 173, + "line": 179, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 6359, - "end": 6379, + "start": 6619, + "end": 6639, "loc": { "start": { - "line": 173, + "line": 179, "column": 12 }, "end": { - "line": 173, + "line": 179, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 6359, - "end": 6370, + "start": 6619, + "end": 6630, "loc": { "start": { - "line": 173, + "line": 179, "column": 12 }, "end": { - "line": 173, + "line": 179, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 6359, - "end": 6363, + "start": 6619, + "end": 6623, "loc": { "start": { - "line": 173, + "line": 179, "column": 12 }, "end": { - "line": 173, + "line": 179, "column": 16 } }, @@ -59293,15 +60283,15 @@ }, "property": { "type": "Identifier", - "start": 6364, - "end": 6370, + "start": 6624, + "end": 6630, "loc": { "start": { - "line": 173, + "line": 179, "column": 17 }, "end": { - "line": 173, + "line": 179, "column": 23 }, "identifierName": "player" @@ -59313,15 +60303,15 @@ }, "property": { "type": "Identifier", - "start": 6371, - "end": 6379, + "start": 6631, + "end": 6639, "loc": { "start": { - "line": 173, + "line": 179, "column": 24 }, "end": { - "line": 173, + "line": 179, "column": 32 }, "identifierName": "options_" @@ -59333,15 +60323,15 @@ }, "property": { "type": "Identifier", - "start": 6380, - "end": 6385, + "start": 6640, + "end": 6645, "loc": { "start": { - "line": 173, + "line": 179, "column": 33 }, "end": { - "line": 173, + "line": 179, "column": 38 }, "identifierName": "fluid" @@ -59354,15 +60344,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 6390, - "end": 6394, + "start": 6650, + "end": 6654, "loc": { "start": { - "line": 173, + "line": 179, "column": 43 }, "end": { - "line": 173, + "line": 179, "column": 47 } }, @@ -59372,115 +60362,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 6396, - "end": 6777, + "start": 6656, + "end": 7037, "loc": { "start": { - "line": 173, + "line": 179, "column": 49 }, "end": { - "line": 180, + "line": 186, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 6475, - "end": 6534, + "start": 6735, + "end": 6794, "loc": { "start": { - "line": 175, + "line": 181, "column": 12 }, "end": { - "line": 175, + "line": 181, "column": 71 } }, "expression": { "type": "AssignmentExpression", - "start": 6475, - "end": 6533, + "start": 6735, + "end": 6793, "loc": { "start": { - "line": 175, + "line": 181, "column": 12 }, "end": { - "line": 175, + "line": 181, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6475, - "end": 6511, + "start": 6735, + "end": 6771, "loc": { "start": { - "line": 175, + "line": 181, "column": 12 }, "end": { - "line": 175, + "line": 181, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 6475, - "end": 6501, + "start": 6735, + "end": 6761, "loc": { "start": { - "line": 175, + "line": 181, "column": 12 }, "end": { - "line": 175, + "line": 181, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 6475, - "end": 6493, + "start": 6735, + "end": 6753, "loc": { "start": { - "line": 175, + "line": 181, "column": 12 }, "end": { - "line": 175, + "line": 181, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 6475, - "end": 6486, + "start": 6735, + "end": 6746, "loc": { "start": { - "line": 175, + "line": 181, "column": 12 }, "end": { - "line": 175, + "line": 181, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 6475, - "end": 6479, + "start": 6735, + "end": 6739, "loc": { "start": { - "line": 175, + "line": 181, "column": 12 }, "end": { - "line": 175, + "line": 181, "column": 16 } }, @@ -59488,15 +60478,15 @@ }, "property": { "type": "Identifier", - "start": 6480, - "end": 6486, + "start": 6740, + "end": 6746, "loc": { "start": { - "line": 175, + "line": 181, "column": 17 }, "end": { - "line": 175, + "line": 181, "column": 23 }, "identifierName": "surfer" @@ -59508,15 +60498,15 @@ }, "property": { "type": "Identifier", - "start": 6487, - "end": 6493, + "start": 6747, + "end": 6753, "loc": { "start": { - "line": 175, + "line": 181, "column": 24 }, "end": { - "line": 175, + "line": 181, "column": 30 }, "identifierName": "drawer" @@ -59528,15 +60518,15 @@ }, "property": { "type": "Identifier", - "start": 6494, - "end": 6501, + "start": 6754, + "end": 6761, "loc": { "start": { - "line": 175, + "line": 181, "column": 31 }, "end": { - "line": 175, + "line": 181, "column": 38 }, "identifierName": "wrapper" @@ -59548,15 +60538,15 @@ }, "property": { "type": "Identifier", - "start": 6502, - "end": 6511, + "start": 6762, + "end": 6771, "loc": { "start": { - "line": 175, + "line": 181, "column": 39 }, "end": { - "line": 175, + "line": 181, "column": 48 }, "identifierName": "className" @@ -59568,15 +60558,15 @@ }, "right": { "type": "Identifier", - "start": 6514, - "end": 6533, + "start": 6774, + "end": 6793, "loc": { "start": { - "line": 175, + "line": 181, "column": 51 }, "end": { - "line": 175, + "line": 181, "column": 70 }, "identifierName": "wavesurferClassName" @@ -59589,15 +60579,15 @@ { "type": "CommentLine", "value": " give wave element a classname so it can be styled", - "start": 6410, - "end": 6462, + "start": 6670, + "end": 6722, "loc": { "start": { - "line": 174, + "line": 180, "column": 12 }, "end": { - "line": 174, + "line": 180, "column": 64 } } @@ -59607,15 +60597,15 @@ { "type": "CommentLine", "value": " listen for window resize events", - "start": 6547, - "end": 6581, + "start": 6807, + "end": 6841, "loc": { "start": { - "line": 176, + "line": 182, "column": 12 }, "end": { - "line": 176, + "line": 182, "column": 46 } } @@ -59624,58 +60614,58 @@ }, { "type": "ExpressionStatement", - "start": 6594, - "end": 6695, + "start": 6854, + "end": 6955, "loc": { "start": { - "line": 177, + "line": 183, "column": 12 }, "end": { - "line": 178, + "line": 184, "column": 53 } }, "expression": { "type": "AssignmentExpression", - "start": 6594, - "end": 6694, + "start": 6854, + "end": 6954, "loc": { "start": { - "line": 177, + "line": 183, "column": 12 }, "end": { - "line": 178, + "line": 184, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6594, - "end": 6613, + "start": 6854, + "end": 6873, "loc": { "start": { - "line": 177, + "line": 183, "column": 12 }, "end": { - "line": 177, + "line": 183, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 6594, - "end": 6598, + "start": 6854, + "end": 6858, "loc": { "start": { - "line": 177, + "line": 183, "column": 12 }, "end": { - "line": 177, + "line": 183, "column": 16 } }, @@ -59683,15 +60673,15 @@ }, "property": { "type": "Identifier", - "start": 6599, - "end": 6613, + "start": 6859, + "end": 6873, "loc": { "start": { - "line": 177, + "line": 183, "column": 17 }, "end": { - "line": 177, + "line": 183, "column": 31 }, "identifierName": "responsiveWave" @@ -59703,57 +60693,57 @@ }, "right": { "type": "CallExpression", - "start": 6616, - "end": 6694, + "start": 6876, + "end": 6954, "loc": { "start": { - "line": 177, + "line": 183, "column": 34 }, "end": { - "line": 178, + "line": 184, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 6616, - "end": 6640, + "start": 6876, + "end": 6900, "loc": { "start": { - "line": 177, + "line": 183, "column": 34 }, "end": { - "line": 177, + "line": 183, "column": 58 } }, "object": { "type": "MemberExpression", - "start": 6616, - "end": 6631, + "start": 6876, + "end": 6891, "loc": { "start": { - "line": 177, + "line": 183, "column": 34 }, "end": { - "line": 177, + "line": 183, "column": 49 } }, "object": { "type": "Identifier", - "start": 6616, - "end": 6626, + "start": 6876, + "end": 6886, "loc": { "start": { - "line": 177, + "line": 183, "column": 34 }, "end": { - "line": 177, + "line": 183, "column": 44 }, "identifierName": "WaveSurfer" @@ -59762,15 +60752,15 @@ }, "property": { "type": "Identifier", - "start": 6627, - "end": 6631, + "start": 6887, + "end": 6891, "loc": { "start": { - "line": 177, + "line": 183, "column": 45 }, "end": { - "line": 177, + "line": 183, "column": 49 }, "identifierName": "util" @@ -59781,15 +60771,15 @@ }, "property": { "type": "Identifier", - "start": 6632, - "end": 6640, + "start": 6892, + "end": 6900, "loc": { "start": { - "line": 177, + "line": 183, "column": 50 }, "end": { - "line": 177, + "line": 183, "column": 58 }, "identifierName": "debounce" @@ -59801,72 +60791,72 @@ "arguments": [ { "type": "CallExpression", - "start": 6658, - "end": 6688, + "start": 6918, + "end": 6948, "loc": { "start": { - "line": 178, + "line": 184, "column": 16 }, "end": { - "line": 178, + "line": 184, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 6658, - "end": 6682, + "start": 6918, + "end": 6942, "loc": { "start": { - "line": 178, + "line": 184, "column": 16 }, "end": { - "line": 178, + "line": 184, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 6658, - "end": 6677, + "start": 6918, + "end": 6937, "loc": { "start": { - "line": 178, + "line": 184, "column": 16 }, "end": { - "line": 178, + "line": 184, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 6658, - "end": 6662, + "start": 6918, + "end": 6922, "loc": { "start": { - "line": 178, + "line": 184, "column": 16 }, "end": { - "line": 178, + "line": 184, "column": 20 } } }, "property": { "type": "Identifier", - "start": 6663, - "end": 6677, + "start": 6923, + "end": 6937, "loc": { "start": { - "line": 178, + "line": 184, "column": 21 }, "end": { - "line": 178, + "line": 184, "column": 35 }, "identifierName": "onResizeChange" @@ -59877,15 +60867,15 @@ }, "property": { "type": "Identifier", - "start": 6678, - "end": 6682, + "start": 6938, + "end": 6942, "loc": { "start": { - "line": 178, + "line": 184, "column": 36 }, "end": { - "line": 178, + "line": 184, "column": 40 }, "identifierName": "bind" @@ -59897,15 +60887,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 6683, - "end": 6687, + "start": 6943, + "end": 6947, "loc": { "start": { - "line": 178, + "line": 184, "column": 41 }, "end": { - "line": 178, + "line": 184, "column": 45 } } @@ -59914,15 +60904,15 @@ }, { "type": "NumericLiteral", - "start": 6690, - "end": 6693, + "start": 6950, + "end": 6953, "loc": { "start": { - "line": 178, + "line": 184, "column": 48 }, "end": { - "line": 178, + "line": 184, "column": 51 } }, @@ -59940,15 +60930,15 @@ { "type": "CommentLine", "value": " listen for window resize events", - "start": 6547, - "end": 6581, + "start": 6807, + "end": 6841, "loc": { "start": { - "line": 176, + "line": 182, "column": 12 }, "end": { - "line": 176, + "line": 182, "column": 46 } } @@ -59957,57 +60947,57 @@ }, { "type": "ExpressionStatement", - "start": 6708, - "end": 6767, + "start": 6968, + "end": 7027, "loc": { "start": { - "line": 179, + "line": 185, "column": 12 }, "end": { - "line": 179, + "line": 185, "column": 71 } }, "expression": { "type": "CallExpression", - "start": 6708, - "end": 6766, + "start": 6968, + "end": 7026, "loc": { "start": { - "line": 179, + "line": 185, "column": 12 }, "end": { - "line": 179, + "line": 185, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 6708, - "end": 6731, + "start": 6968, + "end": 6991, "loc": { "start": { - "line": 179, + "line": 185, "column": 12 }, "end": { - "line": 179, + "line": 185, "column": 35 } }, "object": { "type": "Identifier", - "start": 6708, - "end": 6714, + "start": 6968, + "end": 6974, "loc": { "start": { - "line": 179, + "line": 185, "column": 12 }, "end": { - "line": 179, + "line": 185, "column": 18 }, "identifierName": "window" @@ -60016,15 +61006,15 @@ }, "property": { "type": "Identifier", - "start": 6715, - "end": 6731, + "start": 6975, + "end": 6991, "loc": { "start": { - "line": 179, + "line": 185, "column": 19 }, "end": { - "line": 179, + "line": 185, "column": 35 }, "identifierName": "addEventListener" @@ -60036,29 +61026,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 6732, - "end": 6744, + "start": 6992, + "end": 7004, "loc": { "start": { - "line": 179, + "line": 185, "column": 36 }, "end": { - "line": 179, + "line": 185, "column": 48 } }, "object": { "type": "Identifier", - "start": 6732, - "end": 6737, + "start": 6992, + "end": 6997, "loc": { "start": { - "line": 179, + "line": 185, "column": 36 }, "end": { - "line": 179, + "line": 185, "column": 41 }, "identifierName": "Event" @@ -60067,15 +61057,15 @@ }, "property": { "type": "Identifier", - "start": 6738, - "end": 6744, + "start": 6998, + "end": 7004, "loc": { "start": { - "line": 179, + "line": 185, "column": 42 }, "end": { - "line": 179, + "line": 185, "column": 48 }, "identifierName": "RESIZE" @@ -60086,44 +61076,44 @@ }, { "type": "MemberExpression", - "start": 6746, - "end": 6765, + "start": 7006, + "end": 7025, "loc": { "start": { - "line": 179, + "line": 185, "column": 50 }, "end": { - "line": 179, + "line": 185, "column": 69 } }, "object": { "type": "ThisExpression", - "start": 6746, - "end": 6750, + "start": 7006, + "end": 7010, "loc": { "start": { - "line": 179, + "line": 185, "column": 50 }, "end": { - "line": 179, + "line": 185, "column": 54 } } }, "property": { "type": "Identifier", - "start": 6751, - "end": 6765, + "start": 7011, + "end": 7025, "loc": { "start": { - "line": 179, + "line": 185, "column": 55 }, "end": { - "line": 179, + "line": 185, "column": 69 }, "identifierName": "responsiveWave" @@ -60143,15 +61133,15 @@ { "type": "CommentLine", "value": " video.js fluid option", - "start": 6322, - "end": 6346, + "start": 6582, + "end": 6606, "loc": { "start": { - "line": 172, + "line": 178, "column": 8 }, "end": { - "line": 172, + "line": 178, "column": 32 } } @@ -60166,15 +61156,15 @@ { "type": "CommentBlock", "value": "*\n * Player UI is ready: customize controls.\n *\n * @private\n ", - "start": 2033, - "end": 2114, + "start": 2293, + "end": 2374, "loc": { "start": { - "line": 67, + "line": 73, "column": 4 }, "end": { - "line": 71, + "line": 77, "column": 7 } } @@ -60184,15 +61174,15 @@ { "type": "CommentBlock", "value": "*\n * Initializes the waveform options.\n *\n * @private\n * @param {Object} surferOpts - Plugin options.\n * @returns {Object} - Updated `surferOpts` object.\n ", - "start": 6789, - "end": 6972, + "start": 7049, + "end": 7232, "loc": { "start": { - "line": 183, + "line": 189, "column": 4 }, "end": { - "line": 189, + "line": 195, "column": 7 } } @@ -60201,15 +61191,15 @@ }, { "type": "ClassMethod", - "start": 6977, - "end": 8986, + "start": 7237, + "end": 9246, "loc": { "start": { - "line": 190, + "line": 196, "column": 4 }, "end": { - "line": 237, + "line": 243, "column": 5 } }, @@ -60217,15 +61207,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6977, - "end": 6989, + "start": 7237, + "end": 7249, "loc": { "start": { - "line": 190, + "line": 196, "column": 4 }, "end": { - "line": 190, + "line": 196, "column": 16 }, "identifierName": "parseOptions" @@ -60241,29 +61231,29 @@ "params": [ { "type": "AssignmentPattern", - "start": 6990, - "end": 7005, + "start": 7250, + "end": 7265, "loc": { "start": { - "line": 190, + "line": 196, "column": 17 }, "end": { - "line": 190, + "line": 196, "column": 32 } }, "left": { "type": "Identifier", - "start": 6990, - "end": 7000, + "start": 7250, + "end": 7260, "loc": { "start": { - "line": 190, + "line": 196, "column": 17 }, "end": { - "line": 190, + "line": 196, "column": 27 }, "identifierName": "surferOpts" @@ -60272,15 +61262,15 @@ }, "right": { "type": "ObjectExpression", - "start": 7003, - "end": 7005, + "start": 7263, + "end": 7265, "loc": { "start": { - "line": 190, + "line": 196, "column": 30 }, "end": { - "line": 190, + "line": 196, "column": 32 } }, @@ -60290,59 +61280,59 @@ ], "body": { "type": "BlockStatement", - "start": 7007, - "end": 8986, + "start": 7267, + "end": 9246, "loc": { "start": { - "line": 190, + "line": 196, "column": 34 }, "end": { - "line": 237, + "line": 243, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 7017, - "end": 7068, + "start": 7277, + "end": 7328, "loc": { "start": { - "line": 191, + "line": 197, "column": 8 }, "end": { - "line": 191, + "line": 197, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7021, - "end": 7067, + "start": 7281, + "end": 7327, "loc": { "start": { - "line": 191, + "line": 197, "column": 12 }, "end": { - "line": 191, + "line": 197, "column": 58 } }, "id": { "type": "Identifier", - "start": 7021, - "end": 7025, + "start": 7281, + "end": 7285, "loc": { "start": { - "line": 191, + "line": 197, "column": 12 }, "end": { - "line": 191, + "line": 197, "column": 16 }, "identifierName": "rect" @@ -60351,86 +61341,86 @@ }, "init": { "type": "CallExpression", - "start": 7028, - "end": 7067, + "start": 7288, + "end": 7327, "loc": { "start": { - "line": 191, + "line": 197, "column": 19 }, "end": { - "line": 191, + "line": 197, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 7028, - "end": 7065, + "start": 7288, + "end": 7325, "loc": { "start": { - "line": 191, + "line": 197, "column": 19 }, "end": { - "line": 191, + "line": 197, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 7028, - "end": 7043, + "start": 7288, + "end": 7303, "loc": { "start": { - "line": 191, + "line": 197, "column": 19 }, "end": { - "line": 191, + "line": 197, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 7028, - "end": 7039, + "start": 7288, + "end": 7299, "loc": { "start": { - "line": 191, + "line": 197, "column": 19 }, "end": { - "line": 191, + "line": 197, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 7028, - "end": 7032, + "start": 7288, + "end": 7292, "loc": { "start": { - "line": 191, + "line": 197, "column": 19 }, "end": { - "line": 191, + "line": 197, "column": 23 } } }, "property": { "type": "Identifier", - "start": 7033, - "end": 7039, + "start": 7293, + "end": 7299, "loc": { "start": { - "line": 191, + "line": 197, "column": 24 }, "end": { - "line": 191, + "line": 197, "column": 30 }, "identifierName": "player" @@ -60441,15 +61431,15 @@ }, "property": { "type": "Identifier", - "start": 7040, - "end": 7043, + "start": 7300, + "end": 7303, "loc": { "start": { - "line": 191, + "line": 197, "column": 31 }, "end": { - "line": 191, + "line": 197, "column": 34 }, "identifierName": "el_" @@ -60460,15 +61450,15 @@ }, "property": { "type": "Identifier", - "start": 7044, - "end": 7065, + "start": 7304, + "end": 7325, "loc": { "start": { - "line": 191, + "line": 197, "column": 35 }, "end": { - "line": 191, + "line": 197, "column": 56 }, "identifierName": "getBoundingClientRect" @@ -60485,73 +61475,73 @@ }, { "type": "ExpressionStatement", - "start": 7077, - "end": 7139, + "start": 7337, + "end": 7399, "loc": { "start": { - "line": 192, + "line": 198, "column": 8 }, "end": { - "line": 192, + "line": 198, "column": 70 } }, "expression": { "type": "AssignmentExpression", - "start": 7077, - "end": 7138, + "start": 7337, + "end": 7398, "loc": { "start": { - "line": 192, + "line": 198, "column": 8 }, "end": { - "line": 192, + "line": 198, "column": 69 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 7077, - "end": 7095, + "start": 7337, + "end": 7355, "loc": { "start": { - "line": 192, + "line": 198, "column": 8 }, "end": { - "line": 192, + "line": 198, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 7077, - "end": 7081, + "start": 7337, + "end": 7341, "loc": { "start": { - "line": 192, + "line": 198, "column": 8 }, "end": { - "line": 192, + "line": 198, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7082, - "end": 7095, + "start": 7342, + "end": 7355, "loc": { "start": { - "line": 192, + "line": 198, "column": 13 }, "end": { - "line": 192, + "line": 198, "column": 26 }, "identifierName": "originalWidth" @@ -60562,86 +61552,86 @@ }, "right": { "type": "LogicalExpression", - "start": 7098, - "end": 7138, + "start": 7358, + "end": 7398, "loc": { "start": { - "line": 192, + "line": 198, "column": 29 }, "end": { - "line": 192, + "line": 198, "column": 69 } }, "left": { "type": "MemberExpression", - "start": 7098, - "end": 7124, + "start": 7358, + "end": 7384, "loc": { "start": { - "line": 192, + "line": 198, "column": 29 }, "end": { - "line": 192, + "line": 198, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 7098, - "end": 7118, + "start": 7358, + "end": 7378, "loc": { "start": { - "line": 192, + "line": 198, "column": 29 }, "end": { - "line": 192, + "line": 198, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 7098, - "end": 7109, + "start": 7358, + "end": 7369, "loc": { "start": { - "line": 192, + "line": 198, "column": 29 }, "end": { - "line": 192, + "line": 198, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 7098, - "end": 7102, + "start": 7358, + "end": 7362, "loc": { "start": { - "line": 192, + "line": 198, "column": 29 }, "end": { - "line": 192, + "line": 198, "column": 33 } } }, "property": { "type": "Identifier", - "start": 7103, - "end": 7109, + "start": 7363, + "end": 7369, "loc": { "start": { - "line": 192, + "line": 198, "column": 34 }, "end": { - "line": 192, + "line": 198, "column": 40 }, "identifierName": "player" @@ -60652,15 +61642,15 @@ }, "property": { "type": "Identifier", - "start": 7110, - "end": 7118, + "start": 7370, + "end": 7378, "loc": { "start": { - "line": 192, + "line": 198, "column": 41 }, "end": { - "line": 192, + "line": 198, "column": 49 }, "identifierName": "options_" @@ -60671,15 +61661,15 @@ }, "property": { "type": "Identifier", - "start": 7119, - "end": 7124, + "start": 7379, + "end": 7384, "loc": { "start": { - "line": 192, + "line": 198, "column": 50 }, "end": { - "line": 192, + "line": 198, "column": 55 }, "identifierName": "width" @@ -60691,29 +61681,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 7128, - "end": 7138, + "start": 7388, + "end": 7398, "loc": { "start": { - "line": 192, + "line": 198, "column": 59 }, "end": { - "line": 192, + "line": 198, "column": 69 } }, "object": { "type": "Identifier", - "start": 7128, - "end": 7132, + "start": 7388, + "end": 7392, "loc": { "start": { - "line": 192, + "line": 198, "column": 59 }, "end": { - "line": 192, + "line": 198, "column": 63 }, "identifierName": "rect" @@ -60722,15 +61712,15 @@ }, "property": { "type": "Identifier", - "start": 7133, - "end": 7138, + "start": 7393, + "end": 7398, "loc": { "start": { - "line": 192, + "line": 198, "column": 64 }, "end": { - "line": 192, + "line": 198, "column": 69 }, "identifierName": "width" @@ -60744,73 +61734,73 @@ }, { "type": "ExpressionStatement", - "start": 7148, - "end": 7213, + "start": 7408, + "end": 7473, "loc": { "start": { - "line": 193, + "line": 199, "column": 8 }, "end": { - "line": 193, + "line": 199, "column": 73 } }, "expression": { "type": "AssignmentExpression", - "start": 7148, - "end": 7212, + "start": 7408, + "end": 7472, "loc": { "start": { - "line": 193, + "line": 199, "column": 8 }, "end": { - "line": 193, + "line": 199, "column": 72 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 7148, - "end": 7167, + "start": 7408, + "end": 7427, "loc": { "start": { - "line": 193, + "line": 199, "column": 8 }, "end": { - "line": 193, + "line": 199, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 7148, - "end": 7152, + "start": 7408, + "end": 7412, "loc": { "start": { - "line": 193, + "line": 199, "column": 8 }, "end": { - "line": 193, + "line": 199, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7153, - "end": 7167, + "start": 7413, + "end": 7427, "loc": { "start": { - "line": 193, + "line": 199, "column": 13 }, "end": { - "line": 193, + "line": 199, "column": 27 }, "identifierName": "originalHeight" @@ -60821,86 +61811,86 @@ }, "right": { "type": "LogicalExpression", - "start": 7170, - "end": 7212, + "start": 7430, + "end": 7472, "loc": { "start": { - "line": 193, + "line": 199, "column": 30 }, "end": { - "line": 193, + "line": 199, "column": 72 } }, "left": { "type": "MemberExpression", - "start": 7170, - "end": 7197, + "start": 7430, + "end": 7457, "loc": { "start": { - "line": 193, + "line": 199, "column": 30 }, "end": { - "line": 193, + "line": 199, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 7170, - "end": 7190, + "start": 7430, + "end": 7450, "loc": { "start": { - "line": 193, + "line": 199, "column": 30 }, "end": { - "line": 193, + "line": 199, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 7170, - "end": 7181, + "start": 7430, + "end": 7441, "loc": { "start": { - "line": 193, + "line": 199, "column": 30 }, "end": { - "line": 193, + "line": 199, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 7170, - "end": 7174, + "start": 7430, + "end": 7434, "loc": { "start": { - "line": 193, + "line": 199, "column": 30 }, "end": { - "line": 193, + "line": 199, "column": 34 } } }, "property": { "type": "Identifier", - "start": 7175, - "end": 7181, + "start": 7435, + "end": 7441, "loc": { "start": { - "line": 193, + "line": 199, "column": 35 }, "end": { - "line": 193, + "line": 199, "column": 41 }, "identifierName": "player" @@ -60911,15 +61901,15 @@ }, "property": { "type": "Identifier", - "start": 7182, - "end": 7190, + "start": 7442, + "end": 7450, "loc": { "start": { - "line": 193, + "line": 199, "column": 42 }, "end": { - "line": 193, + "line": 199, "column": 50 }, "identifierName": "options_" @@ -60930,15 +61920,15 @@ }, "property": { "type": "Identifier", - "start": 7191, - "end": 7197, + "start": 7451, + "end": 7457, "loc": { "start": { - "line": 193, + "line": 199, "column": 51 }, "end": { - "line": 193, + "line": 199, "column": 57 }, "identifierName": "height" @@ -60950,29 +61940,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 7201, - "end": 7212, + "start": 7461, + "end": 7472, "loc": { "start": { - "line": 193, + "line": 199, "column": 61 }, "end": { - "line": 193, + "line": 199, "column": 72 } }, "object": { "type": "Identifier", - "start": 7201, - "end": 7205, + "start": 7461, + "end": 7465, "loc": { "start": { - "line": 193, + "line": 199, "column": 61 }, "end": { - "line": 193, + "line": 199, "column": 65 }, "identifierName": "rect" @@ -60981,15 +61971,15 @@ }, "property": { "type": "Identifier", - "start": 7206, - "end": 7212, + "start": 7466, + "end": 7472, "loc": { "start": { - "line": 193, + "line": 199, "column": 66 }, "end": { - "line": 193, + "line": 199, "column": 72 }, "identifierName": "height" @@ -61004,15 +61994,15 @@ { "type": "CommentLine", "value": " controlbar", - "start": 7223, - "end": 7236, + "start": 7483, + "end": 7496, "loc": { "start": { - "line": 195, + "line": 201, "column": 8 }, "end": { - "line": 195, + "line": 201, "column": 21 } } @@ -61021,44 +62011,44 @@ }, { "type": "VariableDeclaration", - "start": 7245, - "end": 7300, + "start": 7505, + "end": 7560, "loc": { "start": { - "line": 196, + "line": 202, "column": 8 }, "end": { - "line": 196, + "line": 202, "column": 63 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7249, - "end": 7299, + "start": 7509, + "end": 7559, "loc": { "start": { - "line": 196, + "line": 202, "column": 12 }, "end": { - "line": 196, + "line": 202, "column": 62 } }, "id": { "type": "Identifier", - "start": 7249, - "end": 7265, + "start": 7509, + "end": 7525, "loc": { "start": { - "line": 196, + "line": 202, "column": 12 }, "end": { - "line": 196, + "line": 202, "column": 28 }, "identifierName": "controlBarHeight" @@ -61068,86 +62058,86 @@ }, "init": { "type": "CallExpression", - "start": 7268, - "end": 7299, + "start": 7528, + "end": 7559, "loc": { "start": { - "line": 196, + "line": 202, "column": 31 }, "end": { - "line": 196, + "line": 202, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 7268, - "end": 7297, + "start": 7528, + "end": 7557, "loc": { "start": { - "line": 196, + "line": 202, "column": 31 }, "end": { - "line": 196, + "line": 202, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 7268, - "end": 7290, + "start": 7528, + "end": 7550, "loc": { "start": { - "line": 196, + "line": 202, "column": 31 }, "end": { - "line": 196, + "line": 202, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 7268, - "end": 7279, + "start": 7528, + "end": 7539, "loc": { "start": { - "line": 196, + "line": 202, "column": 31 }, "end": { - "line": 196, + "line": 202, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 7268, - "end": 7272, + "start": 7528, + "end": 7532, "loc": { "start": { - "line": 196, + "line": 202, "column": 31 }, "end": { - "line": 196, + "line": 202, "column": 35 } } }, "property": { "type": "Identifier", - "start": 7273, - "end": 7279, + "start": 7533, + "end": 7539, "loc": { "start": { - "line": 196, + "line": 202, "column": 36 }, "end": { - "line": 196, + "line": 202, "column": 42 }, "identifierName": "player" @@ -61158,15 +62148,15 @@ }, "property": { "type": "Identifier", - "start": 7280, - "end": 7290, + "start": 7540, + "end": 7550, "loc": { "start": { - "line": 196, + "line": 202, "column": 43 }, "end": { - "line": 196, + "line": 202, "column": 53 }, "identifierName": "controlBar" @@ -61177,15 +62167,15 @@ }, "property": { "type": "Identifier", - "start": 7291, - "end": 7297, + "start": 7551, + "end": 7557, "loc": { "start": { - "line": 196, + "line": 202, "column": 54 }, "end": { - "line": 196, + "line": 202, "column": 60 }, "identifierName": "height" @@ -61204,15 +62194,15 @@ { "type": "CommentLine", "value": " controlbar", - "start": 7223, - "end": 7236, + "start": 7483, + "end": 7496, "loc": { "start": { - "line": 195, + "line": 201, "column": 8 }, "end": { - "line": 195, + "line": 201, "column": 21 } } @@ -61221,114 +62211,114 @@ }, { "type": "IfStatement", - "start": 7309, - "end": 7639, + "start": 7569, + "end": 7899, "loc": { "start": { - "line": 197, + "line": 203, "column": 8 }, "end": { - "line": 202, + "line": 208, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 7313, - "end": 7377, + "start": 7573, + "end": 7637, "loc": { "start": { - "line": 197, + "line": 203, "column": 12 }, "end": { - "line": 197, + "line": 203, "column": 76 } }, "left": { "type": "BinaryExpression", - "start": 7313, - "end": 7351, + "start": 7573, + "end": 7611, "loc": { "start": { - "line": 197, + "line": 203, "column": 12 }, "end": { - "line": 197, + "line": 203, "column": 50 } }, "left": { "type": "MemberExpression", - "start": 7313, - "end": 7342, + "start": 7573, + "end": 7602, "loc": { "start": { - "line": 197, + "line": 203, "column": 12 }, "end": { - "line": 197, + "line": 203, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 7313, - "end": 7333, + "start": 7573, + "end": 7593, "loc": { "start": { - "line": 197, + "line": 203, "column": 12 }, "end": { - "line": 197, + "line": 203, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 7313, - "end": 7324, + "start": 7573, + "end": 7584, "loc": { "start": { - "line": 197, + "line": 203, "column": 12 }, "end": { - "line": 197, + "line": 203, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 7313, - "end": 7317, + "start": 7573, + "end": 7577, "loc": { "start": { - "line": 197, + "line": 203, "column": 12 }, "end": { - "line": 197, + "line": 203, "column": 16 } } }, "property": { "type": "Identifier", - "start": 7318, - "end": 7324, + "start": 7578, + "end": 7584, "loc": { "start": { - "line": 197, + "line": 203, "column": 17 }, "end": { - "line": 197, + "line": 203, "column": 23 }, "identifierName": "player" @@ -61339,15 +62329,15 @@ }, "property": { "type": "Identifier", - "start": 7325, - "end": 7333, + "start": 7585, + "end": 7593, "loc": { "start": { - "line": 197, + "line": 203, "column": 24 }, "end": { - "line": 197, + "line": 203, "column": 32 }, "identifierName": "options_" @@ -61358,15 +62348,15 @@ }, "property": { "type": "Identifier", - "start": 7334, - "end": 7342, + "start": 7594, + "end": 7602, "loc": { "start": { - "line": 197, + "line": 203, "column": 33 }, "end": { - "line": 197, + "line": 203, "column": 41 }, "identifierName": "controls" @@ -61378,15 +62368,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 7347, - "end": 7351, + "start": 7607, + "end": 7611, "loc": { "start": { - "line": 197, + "line": 203, "column": 46 }, "end": { - "line": 197, + "line": 203, "column": 50 } }, @@ -61396,29 +62386,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 7355, - "end": 7377, + "start": 7615, + "end": 7637, "loc": { "start": { - "line": 197, + "line": 203, "column": 54 }, "end": { - "line": 197, + "line": 203, "column": 76 } }, "left": { "type": "Identifier", - "start": 7355, - "end": 7371, + "start": 7615, + "end": 7631, "loc": { "start": { - "line": 197, + "line": 203, "column": 54 }, "end": { - "line": 197, + "line": 203, "column": 70 }, "identifierName": "controlBarHeight" @@ -61428,15 +62418,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 7376, - "end": 7377, + "start": 7636, + "end": 7637, "loc": { "start": { - "line": 197, + "line": 203, "column": 75 }, "end": { - "line": 197, + "line": 203, "column": 76 } }, @@ -61450,59 +62440,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 7379, - "end": 7639, + "start": 7639, + "end": 7899, "loc": { "start": { - "line": 197, + "line": 203, "column": 78 }, "end": { - "line": 202, + "line": 208, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 7607, - "end": 7629, + "start": 7867, + "end": 7889, "loc": { "start": { - "line": 201, + "line": 207, "column": 12 }, "end": { - "line": 201, + "line": 207, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 7607, - "end": 7628, + "start": 7867, + "end": 7888, "loc": { "start": { - "line": 201, + "line": 207, "column": 12 }, "end": { - "line": 201, + "line": 207, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7607, - "end": 7623, + "start": 7867, + "end": 7883, "loc": { "start": { - "line": 201, + "line": 207, "column": 12 }, "end": { - "line": 201, + "line": 207, "column": 28 }, "identifierName": "controlBarHeight" @@ -61512,15 +62502,15 @@ }, "right": { "type": "NumericLiteral", - "start": 7626, - "end": 7628, + "start": 7886, + "end": 7888, "loc": { "start": { - "line": 201, + "line": 207, "column": 31 }, "end": { - "line": 201, + "line": 207, "column": 33 } }, @@ -61536,15 +62526,15 @@ { "type": "CommentLine", "value": " the dimensions of the controlbar are not known yet, but we", - "start": 7393, - "end": 7454, + "start": 7653, + "end": 7714, "loc": { "start": { - "line": 198, + "line": 204, "column": 12 }, "end": { - "line": 198, + "line": 204, "column": 73 } } @@ -61552,15 +62542,15 @@ { "type": "CommentLine", "value": " need it now, so we can calculate the height of the waveform.", - "start": 7467, - "end": 7530, + "start": 7727, + "end": 7790, "loc": { "start": { - "line": 199, + "line": 205, "column": 12 }, "end": { - "line": 199, + "line": 205, "column": 75 } } @@ -61568,15 +62558,15 @@ { "type": "CommentLine", "value": " The default height is 30px, so use that instead.", - "start": 7543, - "end": 7594, + "start": 7803, + "end": 7854, "loc": { "start": { - "line": 200, + "line": 206, "column": 12 }, "end": { - "line": 200, + "line": 206, "column": 63 } } @@ -61592,15 +62582,15 @@ { "type": "CommentLine", "value": " set waveform element and dimensions", - "start": 7649, - "end": 7687, + "start": 7909, + "end": 7947, "loc": { "start": { - "line": 204, + "line": 210, "column": 8 }, "end": { - "line": 204, + "line": 210, "column": 46 } } @@ -61608,15 +62598,15 @@ { "type": "CommentLine", "value": " Set the container to player's container if \"container\" option is", - "start": 7696, - "end": 7763, + "start": 7956, + "end": 8023, "loc": { "start": { - "line": 205, + "line": 211, "column": 8 }, "end": { - "line": 205, + "line": 211, "column": 75 } } @@ -61624,15 +62614,15 @@ { "type": "CommentLine", "value": " not provided. If a waveform needs to be appended to your custom", - "start": 7772, - "end": 7838, + "start": 8032, + "end": 8098, "loc": { "start": { - "line": 206, + "line": 212, "column": 8 }, "end": { - "line": 206, + "line": 212, "column": 74 } } @@ -61640,15 +62630,15 @@ { "type": "CommentLine", "value": " element, then use below option. For example:", - "start": 7847, - "end": 7894, + "start": 8107, + "end": 8154, "loc": { "start": { - "line": 207, + "line": 213, "column": 8 }, "end": { - "line": 207, + "line": 213, "column": 55 } } @@ -61656,15 +62646,15 @@ { "type": "CommentLine", "value": " container: document.querySelector(\"#vjs-waveform\")", - "start": 7903, - "end": 7956, + "start": 8163, + "end": 8216, "loc": { "start": { - "line": 208, + "line": 214, "column": 8 }, "end": { - "line": 208, + "line": 214, "column": 61 } } @@ -61673,57 +62663,57 @@ }, { "type": "IfStatement", - "start": 7965, - "end": 8068, + "start": 8225, + "end": 8328, "loc": { "start": { - "line": 209, + "line": 215, "column": 8 }, "end": { - "line": 211, + "line": 217, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 7969, - "end": 8003, + "start": 8229, + "end": 8263, "loc": { "start": { - "line": 209, + "line": 215, "column": 12 }, "end": { - "line": 209, + "line": 215, "column": 46 } }, "left": { "type": "MemberExpression", - "start": 7969, - "end": 7989, + "start": 8229, + "end": 8249, "loc": { "start": { - "line": 209, + "line": 215, "column": 12 }, "end": { - "line": 209, + "line": 215, "column": 32 } }, "object": { "type": "Identifier", - "start": 7969, - "end": 7979, + "start": 8229, + "end": 8239, "loc": { "start": { - "line": 209, + "line": 215, "column": 12 }, "end": { - "line": 209, + "line": 215, "column": 22 }, "identifierName": "surferOpts" @@ -61733,15 +62723,15 @@ }, "property": { "type": "Identifier", - "start": 7980, - "end": 7989, + "start": 8240, + "end": 8249, "loc": { "start": { - "line": 209, + "line": 215, "column": 23 }, "end": { - "line": 209, + "line": 215, "column": 32 }, "identifierName": "container" @@ -61754,15 +62744,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 7994, - "end": 8003, + "start": 8254, + "end": 8263, "loc": { "start": { - "line": 209, + "line": 215, "column": 37 }, "end": { - "line": 209, + "line": 215, "column": 46 }, "identifierName": "undefined" @@ -61773,73 +62763,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 8005, - "end": 8068, + "start": 8265, + "end": 8328, "loc": { "start": { - "line": 209, + "line": 215, "column": 48 }, "end": { - "line": 211, + "line": 217, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8019, - "end": 8058, + "start": 8279, + "end": 8318, "loc": { "start": { - "line": 210, + "line": 216, "column": 12 }, "end": { - "line": 210, + "line": 216, "column": 51 } }, "expression": { "type": "AssignmentExpression", - "start": 8019, - "end": 8057, + "start": 8279, + "end": 8317, "loc": { "start": { - "line": 210, + "line": 216, "column": 12 }, "end": { - "line": 210, + "line": 216, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8019, - "end": 8039, + "start": 8279, + "end": 8299, "loc": { "start": { - "line": 210, + "line": 216, "column": 12 }, "end": { - "line": 210, + "line": 216, "column": 32 } }, "object": { "type": "Identifier", - "start": 8019, - "end": 8029, + "start": 8279, + "end": 8289, "loc": { "start": { - "line": 210, + "line": 216, "column": 12 }, "end": { - "line": 210, + "line": 216, "column": 22 }, "identifierName": "surferOpts" @@ -61848,15 +62838,15 @@ }, "property": { "type": "Identifier", - "start": 8030, - "end": 8039, + "start": 8290, + "end": 8299, "loc": { "start": { - "line": 210, + "line": 216, "column": 23 }, "end": { - "line": 210, + "line": 216, "column": 32 }, "identifierName": "container" @@ -61867,58 +62857,58 @@ }, "right": { "type": "MemberExpression", - "start": 8042, - "end": 8057, + "start": 8302, + "end": 8317, "loc": { "start": { - "line": 210, + "line": 216, "column": 35 }, "end": { - "line": 210, + "line": 216, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 8042, - "end": 8053, + "start": 8302, + "end": 8313, "loc": { "start": { - "line": 210, + "line": 216, "column": 35 }, "end": { - "line": 210, + "line": 216, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 8042, - "end": 8046, + "start": 8302, + "end": 8306, "loc": { "start": { - "line": 210, + "line": 216, "column": 35 }, "end": { - "line": 210, + "line": 216, "column": 39 } } }, "property": { "type": "Identifier", - "start": 8047, - "end": 8053, + "start": 8307, + "end": 8313, "loc": { "start": { - "line": 210, + "line": 216, "column": 40 }, "end": { - "line": 210, + "line": 216, "column": 46 }, "identifierName": "player" @@ -61929,15 +62919,15 @@ }, "property": { "type": "Identifier", - "start": 8054, - "end": 8057, + "start": 8314, + "end": 8317, "loc": { "start": { - "line": 210, + "line": 216, "column": 47 }, "end": { - "line": 210, + "line": 216, "column": 50 }, "identifierName": "el_" @@ -61957,15 +62947,15 @@ { "type": "CommentLine", "value": " set waveform element and dimensions", - "start": 7649, - "end": 7687, + "start": 7909, + "end": 7947, "loc": { "start": { - "line": 204, + "line": 210, "column": 8 }, "end": { - "line": 204, + "line": 210, "column": 46 } } @@ -61973,15 +62963,15 @@ { "type": "CommentLine", "value": " Set the container to player's container if \"container\" option is", - "start": 7696, - "end": 7763, + "start": 7956, + "end": 8023, "loc": { "start": { - "line": 205, + "line": 211, "column": 8 }, "end": { - "line": 205, + "line": 211, "column": 75 } } @@ -61989,15 +62979,15 @@ { "type": "CommentLine", "value": " not provided. If a waveform needs to be appended to your custom", - "start": 7772, - "end": 7838, + "start": 8032, + "end": 8098, "loc": { "start": { - "line": 206, + "line": 212, "column": 8 }, "end": { - "line": 206, + "line": 212, "column": 74 } } @@ -62005,15 +62995,15 @@ { "type": "CommentLine", "value": " element, then use below option. For example:", - "start": 7847, - "end": 7894, + "start": 8107, + "end": 8154, "loc": { "start": { - "line": 207, + "line": 213, "column": 8 }, "end": { - "line": 207, + "line": 213, "column": 55 } } @@ -62021,15 +63011,15 @@ { "type": "CommentLine", "value": " container: document.querySelector(\"#vjs-waveform\")", - "start": 7903, - "end": 7956, + "start": 8163, + "end": 8216, "loc": { "start": { - "line": 208, + "line": 214, "column": 8 }, "end": { - "line": 208, + "line": 214, "column": 61 } } @@ -62039,15 +63029,15 @@ { "type": "CommentLine", "value": " set the height of generated waveform if user has provided height", - "start": 8078, - "end": 8145, + "start": 8338, + "end": 8405, "loc": { "start": { - "line": 213, + "line": 219, "column": 8 }, "end": { - "line": 213, + "line": 219, "column": 75 } } @@ -62055,15 +63045,15 @@ { "type": "CommentLine", "value": " from options. If height of waveform need to be customized then use", - "start": 8154, - "end": 8223, + "start": 8414, + "end": 8483, "loc": { "start": { - "line": 214, + "line": 220, "column": 8 }, "end": { - "line": 214, + "line": 220, "column": 77 } } @@ -62071,15 +63061,15 @@ { "type": "CommentLine", "value": " option below. For example: waveformHeight: 30", - "start": 8232, - "end": 8280, + "start": 8492, + "end": 8540, "loc": { "start": { - "line": 215, + "line": 221, "column": 8 }, "end": { - "line": 215, + "line": 221, "column": 56 } } @@ -62088,57 +63078,57 @@ }, { "type": "IfStatement", - "start": 8289, - "end": 8530, + "start": 8549, + "end": 8790, "loc": { "start": { - "line": 216, + "line": 222, "column": 8 }, "end": { - "line": 221, + "line": 227, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 8293, - "end": 8332, + "start": 8553, + "end": 8592, "loc": { "start": { - "line": 216, + "line": 222, "column": 12 }, "end": { - "line": 216, + "line": 222, "column": 51 } }, "left": { "type": "MemberExpression", - "start": 8293, - "end": 8318, + "start": 8553, + "end": 8578, "loc": { "start": { - "line": 216, + "line": 222, "column": 12 }, "end": { - "line": 216, + "line": 222, "column": 37 } }, "object": { "type": "Identifier", - "start": 8293, - "end": 8303, + "start": 8553, + "end": 8563, "loc": { "start": { - "line": 216, + "line": 222, "column": 12 }, "end": { - "line": 216, + "line": 222, "column": 22 }, "identifierName": "surferOpts" @@ -62148,15 +63138,15 @@ }, "property": { "type": "Identifier", - "start": 8304, - "end": 8318, + "start": 8564, + "end": 8578, "loc": { "start": { - "line": 216, + "line": 222, "column": 23 }, "end": { - "line": 216, + "line": 222, "column": 37 }, "identifierName": "waveformHeight" @@ -62169,15 +63159,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 8323, - "end": 8332, + "start": 8583, + "end": 8592, "loc": { "start": { - "line": 216, + "line": 222, "column": 42 }, "end": { - "line": 216, + "line": 222, "column": 51 }, "identifierName": "undefined" @@ -62188,59 +63178,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 8334, - "end": 8454, + "start": 8594, + "end": 8714, "loc": { "start": { - "line": 216, + "line": 222, "column": 53 }, "end": { - "line": 219, + "line": 225, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 8348, - "end": 8379, + "start": 8608, + "end": 8639, "loc": { "start": { - "line": 217, + "line": 223, "column": 12 }, "end": { - "line": 217, + "line": 223, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8352, - "end": 8378, + "start": 8612, + "end": 8638, "loc": { "start": { - "line": 217, + "line": 223, "column": 16 }, "end": { - "line": 217, + "line": 223, "column": 42 } }, "id": { "type": "Identifier", - "start": 8352, - "end": 8364, + "start": 8612, + "end": 8624, "loc": { "start": { - "line": 217, + "line": 223, "column": 16 }, "end": { - "line": 217, + "line": 223, "column": 28 }, "identifierName": "playerHeight" @@ -62249,29 +63239,29 @@ }, "init": { "type": "MemberExpression", - "start": 8367, - "end": 8378, + "start": 8627, + "end": 8638, "loc": { "start": { - "line": 217, + "line": 223, "column": 31 }, "end": { - "line": 217, + "line": 223, "column": 42 } }, "object": { "type": "Identifier", - "start": 8367, - "end": 8371, + "start": 8627, + "end": 8631, "loc": { "start": { - "line": 217, + "line": 223, "column": 31 }, "end": { - "line": 217, + "line": 223, "column": 35 }, "identifierName": "rect" @@ -62280,15 +63270,15 @@ }, "property": { "type": "Identifier", - "start": 8372, - "end": 8378, + "start": 8632, + "end": 8638, "loc": { "start": { - "line": 217, + "line": 223, "column": 36 }, "end": { - "line": 217, + "line": 223, "column": 42 }, "identifierName": "height" @@ -62303,58 +63293,58 @@ }, { "type": "ExpressionStatement", - "start": 8392, - "end": 8444, + "start": 8652, + "end": 8704, "loc": { "start": { - "line": 218, + "line": 224, "column": 12 }, "end": { - "line": 218, + "line": 224, "column": 64 } }, "expression": { "type": "AssignmentExpression", - "start": 8392, - "end": 8443, + "start": 8652, + "end": 8703, "loc": { "start": { - "line": 218, + "line": 224, "column": 12 }, "end": { - "line": 218, + "line": 224, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8392, - "end": 8409, + "start": 8652, + "end": 8669, "loc": { "start": { - "line": 218, + "line": 224, "column": 12 }, "end": { - "line": 218, + "line": 224, "column": 29 } }, "object": { "type": "Identifier", - "start": 8392, - "end": 8402, + "start": 8652, + "end": 8662, "loc": { "start": { - "line": 218, + "line": 224, "column": 12 }, "end": { - "line": 218, + "line": 224, "column": 22 }, "identifierName": "surferOpts" @@ -62363,15 +63353,15 @@ }, "property": { "type": "Identifier", - "start": 8403, - "end": 8409, + "start": 8663, + "end": 8669, "loc": { "start": { - "line": 218, + "line": 224, "column": 23 }, "end": { - "line": 218, + "line": 224, "column": 29 }, "identifierName": "height" @@ -62382,29 +63372,29 @@ }, "right": { "type": "BinaryExpression", - "start": 8412, - "end": 8443, + "start": 8672, + "end": 8703, "loc": { "start": { - "line": 218, + "line": 224, "column": 32 }, "end": { - "line": 218, + "line": 224, "column": 63 } }, "left": { "type": "Identifier", - "start": 8412, - "end": 8424, + "start": 8672, + "end": 8684, "loc": { "start": { - "line": 218, + "line": 224, "column": 32 }, "end": { - "line": 218, + "line": 224, "column": 44 }, "identifierName": "playerHeight" @@ -62414,15 +63404,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 8427, - "end": 8443, + "start": 8687, + "end": 8703, "loc": { "start": { - "line": 218, + "line": 224, "column": 47 }, "end": { - "line": 218, + "line": 224, "column": 63 }, "identifierName": "controlBarHeight" @@ -62437,73 +63427,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 8460, - "end": 8530, + "start": 8720, + "end": 8790, "loc": { "start": { - "line": 219, + "line": 225, "column": 15 }, "end": { - "line": 221, + "line": 227, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8474, - "end": 8520, + "start": 8734, + "end": 8780, "loc": { "start": { - "line": 220, + "line": 226, "column": 12 }, "end": { - "line": 220, + "line": 226, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 8474, - "end": 8519, + "start": 8734, + "end": 8779, "loc": { "start": { - "line": 220, + "line": 226, "column": 12 }, "end": { - "line": 220, + "line": 226, "column": 57 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8474, - "end": 8491, + "start": 8734, + "end": 8751, "loc": { "start": { - "line": 220, + "line": 226, "column": 12 }, "end": { - "line": 220, + "line": 226, "column": 29 } }, "object": { "type": "Identifier", - "start": 8474, - "end": 8484, + "start": 8734, + "end": 8744, "loc": { "start": { - "line": 220, + "line": 226, "column": 12 }, "end": { - "line": 220, + "line": 226, "column": 22 }, "identifierName": "surferOpts" @@ -62512,15 +63502,15 @@ }, "property": { "type": "Identifier", - "start": 8485, - "end": 8491, + "start": 8745, + "end": 8751, "loc": { "start": { - "line": 220, + "line": 226, "column": 23 }, "end": { - "line": 220, + "line": 226, "column": 29 }, "identifierName": "height" @@ -62531,29 +63521,29 @@ }, "right": { "type": "MemberExpression", - "start": 8494, - "end": 8519, + "start": 8754, + "end": 8779, "loc": { "start": { - "line": 220, + "line": 226, "column": 32 }, "end": { - "line": 220, + "line": 226, "column": 57 } }, "object": { "type": "Identifier", - "start": 8494, - "end": 8504, + "start": 8754, + "end": 8764, "loc": { "start": { - "line": 220, + "line": 226, "column": 32 }, "end": { - "line": 220, + "line": 226, "column": 42 }, "identifierName": "surferOpts" @@ -62562,15 +63552,15 @@ }, "property": { "type": "Identifier", - "start": 8505, - "end": 8519, + "start": 8765, + "end": 8779, "loc": { "start": { - "line": 220, + "line": 226, "column": 43 }, "end": { - "line": 220, + "line": 226, "column": 57 }, "identifierName": "waveformHeight" @@ -62589,15 +63579,15 @@ { "type": "CommentLine", "value": " set the height of generated waveform if user has provided height", - "start": 8078, - "end": 8145, + "start": 8338, + "end": 8405, "loc": { "start": { - "line": 213, + "line": 219, "column": 8 }, "end": { - "line": 213, + "line": 219, "column": 75 } } @@ -62605,15 +63595,15 @@ { "type": "CommentLine", "value": " from options. If height of waveform need to be customized then use", - "start": 8154, - "end": 8223, + "start": 8414, + "end": 8483, "loc": { "start": { - "line": 214, + "line": 220, "column": 8 }, "end": { - "line": 214, + "line": 220, "column": 77 } } @@ -62621,15 +63611,15 @@ { "type": "CommentLine", "value": " option below. For example: waveformHeight: 30", - "start": 8232, - "end": 8280, + "start": 8492, + "end": 8540, "loc": { "start": { - "line": 215, + "line": 221, "column": 8 }, "end": { - "line": 215, + "line": 221, "column": 56 } } @@ -62639,15 +63629,15 @@ { "type": "CommentLine", "value": " split channels", - "start": 8540, - "end": 8557, + "start": 8800, + "end": 8817, "loc": { "start": { - "line": 223, + "line": 229, "column": 8 }, "end": { - "line": 223, + "line": 229, "column": 25 } } @@ -62656,57 +63646,57 @@ }, { "type": "IfStatement", - "start": 8566, - "end": 8680, + "start": 8826, + "end": 8940, "loc": { "start": { - "line": 224, + "line": 230, "column": 8 }, "end": { - "line": 226, + "line": 232, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 8570, - "end": 8631, + "start": 8830, + "end": 8891, "loc": { "start": { - "line": 224, + "line": 230, "column": 12 }, "end": { - "line": 224, + "line": 230, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 8570, - "end": 8594, + "start": 8830, + "end": 8854, "loc": { "start": { - "line": 224, + "line": 230, "column": 12 }, "end": { - "line": 224, + "line": 230, "column": 36 } }, "object": { "type": "Identifier", - "start": 8570, - "end": 8580, + "start": 8830, + "end": 8840, "loc": { "start": { - "line": 224, + "line": 230, "column": 12 }, "end": { - "line": 224, + "line": 230, "column": 22 }, "identifierName": "surferOpts" @@ -62716,15 +63706,15 @@ }, "property": { "type": "Identifier", - "start": 8581, - "end": 8594, + "start": 8841, + "end": 8854, "loc": { "start": { - "line": 224, + "line": 230, "column": 23 }, "end": { - "line": 224, + "line": 230, "column": 36 }, "identifierName": "splitChannels" @@ -62737,43 +63727,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 8598, - "end": 8631, + "start": 8858, + "end": 8891, "loc": { "start": { - "line": 224, + "line": 230, "column": 40 }, "end": { - "line": 224, + "line": 230, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 8598, - "end": 8622, + "start": 8858, + "end": 8882, "loc": { "start": { - "line": 224, + "line": 230, "column": 40 }, "end": { - "line": 224, + "line": 230, "column": 64 } }, "object": { "type": "Identifier", - "start": 8598, - "end": 8608, + "start": 8858, + "end": 8868, "loc": { "start": { - "line": 224, + "line": 230, "column": 40 }, "end": { - "line": 224, + "line": 230, "column": 50 }, "identifierName": "surferOpts" @@ -62782,15 +63772,15 @@ }, "property": { "type": "Identifier", - "start": 8609, - "end": 8622, + "start": 8869, + "end": 8882, "loc": { "start": { - "line": 224, + "line": 230, "column": 51 }, "end": { - "line": 224, + "line": 230, "column": 64 }, "identifierName": "splitChannels" @@ -62802,15 +63792,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 8627, - "end": 8631, + "start": 8887, + "end": 8891, "loc": { "start": { - "line": 224, + "line": 230, "column": 69 }, "end": { - "line": 224, + "line": 230, "column": 73 } }, @@ -62821,73 +63811,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 8633, - "end": 8680, + "start": 8893, + "end": 8940, "loc": { "start": { - "line": 224, + "line": 230, "column": 75 }, "end": { - "line": 226, + "line": 232, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8647, - "end": 8670, + "start": 8907, + "end": 8930, "loc": { "start": { - "line": 225, + "line": 231, "column": 12 }, "end": { - "line": 225, + "line": 231, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 8647, - "end": 8669, + "start": 8907, + "end": 8929, "loc": { "start": { - "line": 225, + "line": 231, "column": 12 }, "end": { - "line": 225, + "line": 231, "column": 34 } }, "operator": "/=", "left": { "type": "MemberExpression", - "start": 8647, - "end": 8664, + "start": 8907, + "end": 8924, "loc": { "start": { - "line": 225, + "line": 231, "column": 12 }, "end": { - "line": 225, + "line": 231, "column": 29 } }, "object": { "type": "Identifier", - "start": 8647, - "end": 8657, + "start": 8907, + "end": 8917, "loc": { "start": { - "line": 225, + "line": 231, "column": 12 }, "end": { - "line": 225, + "line": 231, "column": 22 }, "identifierName": "surferOpts" @@ -62896,15 +63886,15 @@ }, "property": { "type": "Identifier", - "start": 8658, - "end": 8664, + "start": 8918, + "end": 8924, "loc": { "start": { - "line": 225, + "line": 231, "column": 23 }, "end": { - "line": 225, + "line": 231, "column": 29 }, "identifierName": "height" @@ -62915,15 +63905,15 @@ }, "right": { "type": "NumericLiteral", - "start": 8668, - "end": 8669, + "start": 8928, + "end": 8929, "loc": { "start": { - "line": 225, + "line": 231, "column": 33 }, "end": { - "line": 225, + "line": 231, "column": 34 } }, @@ -62944,15 +63934,15 @@ { "type": "CommentLine", "value": " split channels", - "start": 8540, - "end": 8557, + "start": 8800, + "end": 8817, "loc": { "start": { - "line": 223, + "line": 229, "column": 8 }, "end": { - "line": 223, + "line": 229, "column": 25 } } @@ -62962,15 +63952,15 @@ { "type": "CommentLine", "value": " use MediaElement as default wavesurfer.js backend if one is not", - "start": 8690, - "end": 8756, + "start": 8950, + "end": 9016, "loc": { "start": { - "line": 228, + "line": 234, "column": 8 }, "end": { - "line": 228, + "line": 234, "column": 74 } } @@ -62978,15 +63968,15 @@ { "type": "CommentLine", "value": " specified", - "start": 8765, - "end": 8777, + "start": 9025, + "end": 9037, "loc": { "start": { - "line": 229, + "line": 235, "column": 8 }, "end": { - "line": 229, + "line": 235, "column": 20 } } @@ -62995,43 +63985,43 @@ }, { "type": "IfStatement", - "start": 8786, - "end": 8952, + "start": 9046, + "end": 9212, "loc": { "start": { - "line": 230, + "line": 236, "column": 8 }, "end": { - "line": 234, + "line": 240, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 8790, - "end": 8813, + "start": 9050, + "end": 9073, "loc": { "start": { - "line": 230, + "line": 236, "column": 12 }, "end": { - "line": 230, + "line": 236, "column": 35 } }, "left": { "type": "StringLiteral", - "start": 8790, - "end": 8799, + "start": 9050, + "end": 9059, "loc": { "start": { - "line": 230, + "line": 236, "column": 12 }, "end": { - "line": 230, + "line": 236, "column": 21 } }, @@ -63045,15 +64035,15 @@ "operator": "in", "right": { "type": "Identifier", - "start": 8803, - "end": 8813, + "start": 9063, + "end": 9073, "loc": { "start": { - "line": 230, + "line": 236, "column": 25 }, "end": { - "line": 230, + "line": 236, "column": 35 }, "identifierName": "surferOpts" @@ -63064,88 +64054,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 8815, - "end": 8873, + "start": 9075, + "end": 9133, "loc": { "start": { - "line": 230, + "line": 236, "column": 37 }, "end": { - "line": 232, + "line": 238, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8829, - "end": 8863, + "start": 9089, + "end": 9123, "loc": { "start": { - "line": 231, + "line": 237, "column": 12 }, "end": { - "line": 231, + "line": 237, "column": 46 } }, "expression": { "type": "AssignmentExpression", - "start": 8829, - "end": 8862, + "start": 9089, + "end": 9122, "loc": { "start": { - "line": 231, + "line": 237, "column": 12 }, "end": { - "line": 231, + "line": 237, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8829, - "end": 8841, + "start": 9089, + "end": 9101, "loc": { "start": { - "line": 231, + "line": 237, "column": 12 }, "end": { - "line": 231, + "line": 237, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 8829, - "end": 8833, + "start": 9089, + "end": 9093, "loc": { "start": { - "line": 231, + "line": 237, "column": 12 }, "end": { - "line": 231, + "line": 237, "column": 16 } } }, "property": { "type": "Identifier", - "start": 8834, - "end": 8841, + "start": 9094, + "end": 9101, "loc": { "start": { - "line": 231, + "line": 237, "column": 17 }, "end": { - "line": 231, + "line": 237, "column": 24 }, "identifierName": "backend" @@ -63156,29 +64146,29 @@ }, "right": { "type": "MemberExpression", - "start": 8844, - "end": 8862, + "start": 9104, + "end": 9122, "loc": { "start": { - "line": 231, + "line": 237, "column": 27 }, "end": { - "line": 231, + "line": 237, "column": 45 } }, "object": { "type": "Identifier", - "start": 8844, - "end": 8854, + "start": 9104, + "end": 9114, "loc": { "start": { - "line": 231, + "line": 237, "column": 27 }, "end": { - "line": 231, + "line": 237, "column": 37 }, "identifierName": "surferOpts" @@ -63187,15 +64177,15 @@ }, "property": { "type": "Identifier", - "start": 8855, - "end": 8862, + "start": 9115, + "end": 9122, "loc": { "start": { - "line": 231, + "line": 237, "column": 38 }, "end": { - "line": 231, + "line": 237, "column": 45 }, "identifierName": "backend" @@ -63211,73 +64201,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 8879, - "end": 8952, + "start": 9139, + "end": 9212, "loc": { "start": { - "line": 232, + "line": 238, "column": 15 }, "end": { - "line": 234, + "line": 240, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8893, - "end": 8942, + "start": 9153, + "end": 9202, "loc": { "start": { - "line": 233, + "line": 239, "column": 12 }, "end": { - "line": 233, + "line": 239, "column": 61 } }, "expression": { "type": "AssignmentExpression", - "start": 8893, - "end": 8941, + "start": 9153, + "end": 9201, "loc": { "start": { - "line": 233, + "line": 239, "column": 12 }, "end": { - "line": 233, + "line": 239, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8893, - "end": 8911, + "start": 9153, + "end": 9171, "loc": { "start": { - "line": 233, + "line": 239, "column": 12 }, "end": { - "line": 233, + "line": 239, "column": 30 } }, "object": { "type": "Identifier", - "start": 8893, - "end": 8903, + "start": 9153, + "end": 9163, "loc": { "start": { - "line": 233, + "line": 239, "column": 12 }, "end": { - "line": 233, + "line": 239, "column": 22 }, "identifierName": "surferOpts" @@ -63286,15 +64276,15 @@ }, "property": { "type": "Identifier", - "start": 8904, - "end": 8911, + "start": 9164, + "end": 9171, "loc": { "start": { - "line": 233, + "line": 239, "column": 23 }, "end": { - "line": 233, + "line": 239, "column": 30 }, "identifierName": "backend" @@ -63305,59 +64295,59 @@ }, "right": { "type": "AssignmentExpression", - "start": 8914, - "end": 8941, + "start": 9174, + "end": 9201, "loc": { "start": { - "line": 233, + "line": 239, "column": 33 }, "end": { - "line": 233, + "line": 239, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8914, - "end": 8926, + "start": 9174, + "end": 9186, "loc": { "start": { - "line": 233, + "line": 239, "column": 33 }, "end": { - "line": 233, + "line": 239, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 8914, - "end": 8918, + "start": 9174, + "end": 9178, "loc": { "start": { - "line": 233, + "line": 239, "column": 33 }, "end": { - "line": 233, + "line": 239, "column": 37 } } }, "property": { "type": "Identifier", - "start": 8919, - "end": 8926, + "start": 9179, + "end": 9186, "loc": { "start": { - "line": 233, + "line": 239, "column": 38 }, "end": { - "line": 233, + "line": 239, "column": 45 }, "identifierName": "backend" @@ -63368,15 +64358,15 @@ }, "right": { "type": "Identifier", - "start": 8929, - "end": 8941, + "start": 9189, + "end": 9201, "loc": { "start": { - "line": 233, + "line": 239, "column": 48 }, "end": { - "line": 233, + "line": 239, "column": 60 }, "identifierName": "MEDIAELEMENT" @@ -63393,15 +64383,15 @@ { "type": "CommentLine", "value": " use MediaElement as default wavesurfer.js backend if one is not", - "start": 8690, - "end": 8756, + "start": 8950, + "end": 9016, "loc": { "start": { - "line": 228, + "line": 234, "column": 8 }, "end": { - "line": 228, + "line": 234, "column": 74 } } @@ -63409,15 +64399,15 @@ { "type": "CommentLine", "value": " specified", - "start": 8765, - "end": 8777, + "start": 9025, + "end": 9037, "loc": { "start": { - "line": 229, + "line": 235, "column": 8 }, "end": { - "line": 229, + "line": 235, "column": 20 } } @@ -63426,29 +64416,29 @@ }, { "type": "ReturnStatement", - "start": 8962, - "end": 8980, + "start": 9222, + "end": 9240, "loc": { "start": { - "line": 236, + "line": 242, "column": 8 }, "end": { - "line": 236, + "line": 242, "column": 26 } }, "argument": { "type": "Identifier", - "start": 8969, - "end": 8979, + "start": 9229, + "end": 9239, "loc": { "start": { - "line": 236, + "line": 242, "column": 15 }, "end": { - "line": 236, + "line": 242, "column": 25 }, "identifierName": "surferOpts" @@ -63464,15 +64454,15 @@ { "type": "CommentBlock", "value": "*\n * Initializes the waveform options.\n *\n * @private\n * @param {Object} surferOpts - Plugin options.\n * @returns {Object} - Updated `surferOpts` object.\n ", - "start": 6789, - "end": 6972, + "start": 7049, + "end": 7232, "loc": { "start": { - "line": 183, + "line": 189, "column": 4 }, "end": { - "line": 189, + "line": 195, "column": 7 } } @@ -63482,15 +64472,15 @@ { "type": "CommentBlock", "value": "*\n * Starts or stops listening to events related to audio-playback.\n *\n * @param {boolean} enable - Start or stop listening to playback\n * related events.\n * @private\n ", - "start": 8992, - "end": 9192, + "start": 9252, + "end": 9452, "loc": { "start": { - "line": 239, + "line": 245, "column": 4 }, "end": { - "line": 245, + "line": 251, "column": 7 } } @@ -63499,15 +64489,15 @@ }, { "type": "ClassMethod", - "start": 9197, - "end": 9816, + "start": 9457, + "end": 10076, "loc": { "start": { - "line": 246, + "line": 252, "column": 4 }, "end": { - "line": 260, + "line": 266, "column": 5 } }, @@ -63515,15 +64505,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9197, - "end": 9216, + "start": 9457, + "end": 9476, "loc": { "start": { - "line": 246, + "line": 252, "column": 4 }, "end": { - "line": 246, + "line": 252, "column": 23 }, "identifierName": "setupPlaybackEvents" @@ -63539,15 +64529,15 @@ "params": [ { "type": "Identifier", - "start": 9217, - "end": 9223, + "start": 9477, + "end": 9483, "loc": { "start": { - "line": 246, + "line": 252, "column": 24 }, "end": { - "line": 246, + "line": 252, "column": 30 }, "identifierName": "enable" @@ -63557,58 +64547,58 @@ ], "body": { "type": "BlockStatement", - "start": 9225, - "end": 9816, + "start": 9485, + "end": 10076, "loc": { "start": { - "line": 246, + "line": 252, "column": 32 }, "end": { - "line": 260, + "line": 266, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 9235, - "end": 9810, + "start": 9495, + "end": 10070, "loc": { "start": { - "line": 247, + "line": 253, "column": 8 }, "end": { - "line": 259, + "line": 265, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 9239, - "end": 9255, + "start": 9499, + "end": 9515, "loc": { "start": { - "line": 247, + "line": 253, "column": 12 }, "end": { - "line": 247, + "line": 253, "column": 28 } }, "left": { "type": "Identifier", - "start": 9239, - "end": 9245, + "start": 9499, + "end": 9505, "loc": { "start": { - "line": 247, + "line": 253, "column": 12 }, "end": { - "line": 247, + "line": 253, "column": 18 }, "identifierName": "enable" @@ -63618,15 +64608,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 9250, - "end": 9255, + "start": 9510, + "end": 9515, "loc": { "start": { - "line": 247, + "line": 253, "column": 23 }, "end": { - "line": 247, + "line": 253, "column": 28 } }, @@ -63635,101 +64625,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9257, - "end": 9520, + "start": 9517, + "end": 9780, "loc": { "start": { - "line": 247, + "line": 253, "column": 30 }, "end": { - "line": 253, + "line": 259, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9271, - "end": 9317, + "start": 9531, + "end": 9577, "loc": { "start": { - "line": 248, + "line": 254, "column": 12 }, "end": { - "line": 248, + "line": 254, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 9271, - "end": 9316, + "start": 9531, + "end": 9576, "loc": { "start": { - "line": 248, + "line": 254, "column": 12 }, "end": { - "line": 248, + "line": 254, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 9271, - "end": 9285, + "start": 9531, + "end": 9545, "loc": { "start": { - "line": 248, + "line": 254, "column": 12 }, "end": { - "line": 248, + "line": 254, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 9271, - "end": 9282, + "start": 9531, + "end": 9542, "loc": { "start": { - "line": 248, + "line": 254, "column": 12 }, "end": { - "line": 248, + "line": 254, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9271, - "end": 9275, + "start": 9531, + "end": 9535, "loc": { "start": { - "line": 248, + "line": 254, "column": 12 }, "end": { - "line": 248, + "line": 254, "column": 16 } } }, "property": { "type": "Identifier", - "start": 9276, - "end": 9282, + "start": 9536, + "end": 9542, "loc": { "start": { - "line": 248, + "line": 254, "column": 17 }, "end": { - "line": 248, + "line": 254, "column": 23 }, "identifierName": "surfer" @@ -63740,15 +64730,15 @@ }, "property": { "type": "Identifier", - "start": 9283, - "end": 9285, + "start": 9543, + "end": 9545, "loc": { "start": { - "line": 248, + "line": 254, "column": 24 }, "end": { - "line": 248, + "line": 254, "column": 26 }, "identifierName": "un" @@ -63760,29 +64750,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9286, - "end": 9297, + "start": 9546, + "end": 9557, "loc": { "start": { - "line": 248, + "line": 254, "column": 27 }, "end": { - "line": 248, + "line": 254, "column": 38 } }, "object": { "type": "Identifier", - "start": 9286, - "end": 9291, + "start": 9546, + "end": 9551, "loc": { "start": { - "line": 248, + "line": 254, "column": 27 }, "end": { - "line": 248, + "line": 254, "column": 32 }, "identifierName": "Event" @@ -63791,15 +64781,15 @@ }, "property": { "type": "Identifier", - "start": 9292, - "end": 9297, + "start": 9552, + "end": 9557, "loc": { "start": { - "line": 248, + "line": 254, "column": 33 }, "end": { - "line": 248, + "line": 254, "column": 38 }, "identifierName": "READY" @@ -63810,44 +64800,44 @@ }, { "type": "MemberExpression", - "start": 9299, - "end": 9315, + "start": 9559, + "end": 9575, "loc": { "start": { - "line": 248, + "line": 254, "column": 40 }, "end": { - "line": 248, + "line": 254, "column": 56 } }, "object": { "type": "ThisExpression", - "start": 9299, - "end": 9303, + "start": 9559, + "end": 9563, "loc": { "start": { - "line": 248, + "line": 254, "column": 40 }, "end": { - "line": 248, + "line": 254, "column": 44 } } }, "property": { "type": "Identifier", - "start": 9304, - "end": 9315, + "start": 9564, + "end": 9575, "loc": { "start": { - "line": 248, + "line": 254, "column": 45 }, "end": { - "line": 248, + "line": 254, "column": 56 }, "identifierName": "surferReady" @@ -63861,72 +64851,72 @@ }, { "type": "IfStatement", - "start": 9330, - "end": 9510, + "start": 9590, + "end": 9770, "loc": { "start": { - "line": 249, + "line": 255, "column": 12 }, "end": { - "line": 252, + "line": 258, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 9334, - "end": 9359, + "start": 9594, + "end": 9619, "loc": { "start": { - "line": 249, + "line": 255, "column": 16 }, "end": { - "line": 249, + "line": 255, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 9334, - "end": 9346, + "start": 9594, + "end": 9606, "loc": { "start": { - "line": 249, + "line": 255, "column": 16 }, "end": { - "line": 249, + "line": 255, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 9334, - "end": 9338, + "start": 9594, + "end": 9598, "loc": { "start": { - "line": 249, + "line": 255, "column": 16 }, "end": { - "line": 249, + "line": 255, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9339, - "end": 9346, + "start": 9599, + "end": 9606, "loc": { "start": { - "line": 249, + "line": 255, "column": 21 }, "end": { - "line": 249, + "line": 255, "column": 28 }, "identifierName": "backend" @@ -63938,15 +64928,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 9351, - "end": 9359, + "start": 9611, + "end": 9619, "loc": { "start": { - "line": 249, + "line": 255, "column": 33 }, "end": { - "line": 249, + "line": 255, "column": 41 }, "identifierName": "WEBAUDIO" @@ -63956,101 +64946,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9361, - "end": 9510, + "start": 9621, + "end": 9770, "loc": { "start": { - "line": 249, + "line": 255, "column": 43 }, "end": { - "line": 252, + "line": 258, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9379, - "end": 9435, + "start": 9639, + "end": 9695, "loc": { "start": { - "line": 250, + "line": 256, "column": 16 }, "end": { - "line": 250, + "line": 256, "column": 72 } }, "expression": { "type": "CallExpression", - "start": 9379, - "end": 9434, + "start": 9639, + "end": 9694, "loc": { "start": { - "line": 250, + "line": 256, "column": 16 }, "end": { - "line": 250, + "line": 256, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 9379, - "end": 9393, + "start": 9639, + "end": 9653, "loc": { "start": { - "line": 250, + "line": 256, "column": 16 }, "end": { - "line": 250, + "line": 256, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9379, - "end": 9390, + "start": 9639, + "end": 9650, "loc": { "start": { - "line": 250, + "line": 256, "column": 16 }, "end": { - "line": 250, + "line": 256, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9379, - "end": 9383, + "start": 9639, + "end": 9643, "loc": { "start": { - "line": 250, + "line": 256, "column": 16 }, "end": { - "line": 250, + "line": 256, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9384, - "end": 9390, + "start": 9644, + "end": 9650, "loc": { "start": { - "line": 250, + "line": 256, "column": 21 }, "end": { - "line": 250, + "line": 256, "column": 27 }, "identifierName": "surfer" @@ -64061,15 +65051,15 @@ }, "property": { "type": "Identifier", - "start": 9391, - "end": 9393, + "start": 9651, + "end": 9653, "loc": { "start": { - "line": 250, + "line": 256, "column": 28 }, "end": { - "line": 250, + "line": 256, "column": 30 }, "identifierName": "un" @@ -64081,29 +65071,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9394, - "end": 9412, + "start": 9654, + "end": 9672, "loc": { "start": { - "line": 250, + "line": 256, "column": 31 }, "end": { - "line": 250, + "line": 256, "column": 49 } }, "object": { "type": "Identifier", - "start": 9394, - "end": 9399, + "start": 9654, + "end": 9659, "loc": { "start": { - "line": 250, + "line": 256, "column": 31 }, "end": { - "line": 250, + "line": 256, "column": 36 }, "identifierName": "Event" @@ -64112,15 +65102,15 @@ }, "property": { "type": "Identifier", - "start": 9400, - "end": 9412, + "start": 9660, + "end": 9672, "loc": { "start": { - "line": 250, + "line": 256, "column": 37 }, "end": { - "line": 250, + "line": 256, "column": 49 }, "identifierName": "AUDIOPROCESS" @@ -64131,44 +65121,44 @@ }, { "type": "MemberExpression", - "start": 9414, - "end": 9433, + "start": 9674, + "end": 9693, "loc": { "start": { - "line": 250, + "line": 256, "column": 51 }, "end": { - "line": 250, + "line": 256, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 9414, - "end": 9418, + "start": 9674, + "end": 9678, "loc": { "start": { - "line": 250, + "line": 256, "column": 51 }, "end": { - "line": 250, + "line": 256, "column": 55 } } }, "property": { "type": "Identifier", - "start": 9419, - "end": 9433, + "start": 9679, + "end": 9693, "loc": { "start": { - "line": 250, + "line": 256, "column": 56 }, "end": { - "line": 250, + "line": 256, "column": 70 }, "identifierName": "surferProgress" @@ -64182,86 +65172,86 @@ }, { "type": "ExpressionStatement", - "start": 9452, - "end": 9496, + "start": 9712, + "end": 9756, "loc": { "start": { - "line": 251, + "line": 257, "column": 16 }, "end": { - "line": 251, + "line": 257, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 9452, - "end": 9495, + "start": 9712, + "end": 9755, "loc": { "start": { - "line": 251, + "line": 257, "column": 16 }, "end": { - "line": 251, + "line": 257, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 9452, - "end": 9466, + "start": 9712, + "end": 9726, "loc": { "start": { - "line": 251, + "line": 257, "column": 16 }, "end": { - "line": 251, + "line": 257, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9452, - "end": 9463, + "start": 9712, + "end": 9723, "loc": { "start": { - "line": 251, + "line": 257, "column": 16 }, "end": { - "line": 251, + "line": 257, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9452, - "end": 9456, + "start": 9712, + "end": 9716, "loc": { "start": { - "line": 251, + "line": 257, "column": 16 }, "end": { - "line": 251, + "line": 257, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9457, - "end": 9463, + "start": 9717, + "end": 9723, "loc": { "start": { - "line": 251, + "line": 257, "column": 21 }, "end": { - "line": 251, + "line": 257, "column": 27 }, "identifierName": "surfer" @@ -64272,15 +65262,15 @@ }, "property": { "type": "Identifier", - "start": 9464, - "end": 9466, + "start": 9724, + "end": 9726, "loc": { "start": { - "line": 251, + "line": 257, "column": 28 }, "end": { - "line": 251, + "line": 257, "column": 30 }, "identifierName": "un" @@ -64292,29 +65282,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9467, - "end": 9477, + "start": 9727, + "end": 9737, "loc": { "start": { - "line": 251, + "line": 257, "column": 31 }, "end": { - "line": 251, + "line": 257, "column": 41 } }, "object": { "type": "Identifier", - "start": 9467, - "end": 9472, + "start": 9727, + "end": 9732, "loc": { "start": { - "line": 251, + "line": 257, "column": 31 }, "end": { - "line": 251, + "line": 257, "column": 36 }, "identifierName": "Event" @@ -64323,15 +65313,15 @@ }, "property": { "type": "Identifier", - "start": 9473, - "end": 9477, + "start": 9733, + "end": 9737, "loc": { "start": { - "line": 251, + "line": 257, "column": 37 }, "end": { - "line": 251, + "line": 257, "column": 41 }, "identifierName": "SEEK" @@ -64342,44 +65332,44 @@ }, { "type": "MemberExpression", - "start": 9479, - "end": 9494, + "start": 9739, + "end": 9754, "loc": { "start": { - "line": 251, + "line": 257, "column": 43 }, "end": { - "line": 251, + "line": 257, "column": 58 } }, "object": { "type": "ThisExpression", - "start": 9479, - "end": 9483, + "start": 9739, + "end": 9743, "loc": { "start": { - "line": 251, + "line": 257, "column": 43 }, "end": { - "line": 251, + "line": 257, "column": 47 } } }, "property": { "type": "Identifier", - "start": 9484, - "end": 9494, + "start": 9744, + "end": 9754, "loc": { "start": { - "line": 251, + "line": 257, "column": 48 }, "end": { - "line": 251, + "line": 257, "column": 58 }, "identifierName": "surferSeek" @@ -64401,43 +65391,43 @@ }, "alternate": { "type": "IfStatement", - "start": 9526, - "end": 9810, + "start": 9786, + "end": 10070, "loc": { "start": { - "line": 253, + "line": 259, "column": 15 }, "end": { - "line": 259, + "line": 265, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 9530, - "end": 9545, + "start": 9790, + "end": 9805, "loc": { "start": { - "line": 253, + "line": 259, "column": 19 }, "end": { - "line": 253, + "line": 259, "column": 34 } }, "left": { "type": "Identifier", - "start": 9530, - "end": 9536, + "start": 9790, + "end": 9796, "loc": { "start": { - "line": 253, + "line": 259, "column": 19 }, "end": { - "line": 253, + "line": 259, "column": 25 }, "identifierName": "enable" @@ -64447,15 +65437,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 9541, - "end": 9545, + "start": 9801, + "end": 9805, "loc": { "start": { - "line": 253, + "line": 259, "column": 30 }, "end": { - "line": 253, + "line": 259, "column": 34 } }, @@ -64464,101 +65454,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9547, - "end": 9810, + "start": 9807, + "end": 10070, "loc": { "start": { - "line": 253, + "line": 259, "column": 36 }, "end": { - "line": 259, + "line": 265, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9561, - "end": 9607, + "start": 9821, + "end": 9867, "loc": { "start": { - "line": 254, + "line": 260, "column": 12 }, "end": { - "line": 254, + "line": 260, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 9561, - "end": 9606, + "start": 9821, + "end": 9866, "loc": { "start": { - "line": 254, + "line": 260, "column": 12 }, "end": { - "line": 254, + "line": 260, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 9561, - "end": 9575, + "start": 9821, + "end": 9835, "loc": { "start": { - "line": 254, + "line": 260, "column": 12 }, "end": { - "line": 254, + "line": 260, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 9561, - "end": 9572, + "start": 9821, + "end": 9832, "loc": { "start": { - "line": 254, + "line": 260, "column": 12 }, "end": { - "line": 254, + "line": 260, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9561, - "end": 9565, + "start": 9821, + "end": 9825, "loc": { "start": { - "line": 254, + "line": 260, "column": 12 }, "end": { - "line": 254, + "line": 260, "column": 16 } } }, "property": { "type": "Identifier", - "start": 9566, - "end": 9572, + "start": 9826, + "end": 9832, "loc": { "start": { - "line": 254, + "line": 260, "column": 17 }, "end": { - "line": 254, + "line": 260, "column": 23 }, "identifierName": "surfer" @@ -64569,15 +65559,15 @@ }, "property": { "type": "Identifier", - "start": 9573, - "end": 9575, + "start": 9833, + "end": 9835, "loc": { "start": { - "line": 254, + "line": 260, "column": 24 }, "end": { - "line": 254, + "line": 260, "column": 26 }, "identifierName": "on" @@ -64589,29 +65579,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9576, - "end": 9587, + "start": 9836, + "end": 9847, "loc": { "start": { - "line": 254, + "line": 260, "column": 27 }, "end": { - "line": 254, + "line": 260, "column": 38 } }, "object": { "type": "Identifier", - "start": 9576, - "end": 9581, + "start": 9836, + "end": 9841, "loc": { "start": { - "line": 254, + "line": 260, "column": 27 }, "end": { - "line": 254, + "line": 260, "column": 32 }, "identifierName": "Event" @@ -64620,15 +65610,15 @@ }, "property": { "type": "Identifier", - "start": 9582, - "end": 9587, + "start": 9842, + "end": 9847, "loc": { "start": { - "line": 254, + "line": 260, "column": 33 }, "end": { - "line": 254, + "line": 260, "column": 38 }, "identifierName": "READY" @@ -64639,44 +65629,44 @@ }, { "type": "MemberExpression", - "start": 9589, - "end": 9605, + "start": 9849, + "end": 9865, "loc": { "start": { - "line": 254, + "line": 260, "column": 40 }, "end": { - "line": 254, + "line": 260, "column": 56 } }, "object": { "type": "ThisExpression", - "start": 9589, - "end": 9593, + "start": 9849, + "end": 9853, "loc": { "start": { - "line": 254, + "line": 260, "column": 40 }, "end": { - "line": 254, + "line": 260, "column": 44 } } }, "property": { "type": "Identifier", - "start": 9594, - "end": 9605, + "start": 9854, + "end": 9865, "loc": { "start": { - "line": 254, + "line": 260, "column": 45 }, "end": { - "line": 254, + "line": 260, "column": 56 }, "identifierName": "surferReady" @@ -64690,72 +65680,72 @@ }, { "type": "IfStatement", - "start": 9620, - "end": 9800, + "start": 9880, + "end": 10060, "loc": { "start": { - "line": 255, + "line": 261, "column": 12 }, "end": { - "line": 258, + "line": 264, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 9624, - "end": 9649, + "start": 9884, + "end": 9909, "loc": { "start": { - "line": 255, + "line": 261, "column": 16 }, "end": { - "line": 255, + "line": 261, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 9624, - "end": 9636, + "start": 9884, + "end": 9896, "loc": { "start": { - "line": 255, + "line": 261, "column": 16 }, "end": { - "line": 255, + "line": 261, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 9624, - "end": 9628, + "start": 9884, + "end": 9888, "loc": { "start": { - "line": 255, + "line": 261, "column": 16 }, "end": { - "line": 255, + "line": 261, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9629, - "end": 9636, + "start": 9889, + "end": 9896, "loc": { "start": { - "line": 255, + "line": 261, "column": 21 }, "end": { - "line": 255, + "line": 261, "column": 28 }, "identifierName": "backend" @@ -64767,15 +65757,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 9641, - "end": 9649, + "start": 9901, + "end": 9909, "loc": { "start": { - "line": 255, + "line": 261, "column": 33 }, "end": { - "line": 255, + "line": 261, "column": 41 }, "identifierName": "WEBAUDIO" @@ -64785,101 +65775,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9651, - "end": 9800, + "start": 9911, + "end": 10060, "loc": { "start": { - "line": 255, + "line": 261, "column": 43 }, "end": { - "line": 258, + "line": 264, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9669, - "end": 9725, + "start": 9929, + "end": 9985, "loc": { "start": { - "line": 256, + "line": 262, "column": 16 }, "end": { - "line": 256, + "line": 262, "column": 72 } }, "expression": { "type": "CallExpression", - "start": 9669, - "end": 9724, + "start": 9929, + "end": 9984, "loc": { "start": { - "line": 256, + "line": 262, "column": 16 }, "end": { - "line": 256, + "line": 262, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 9669, - "end": 9683, + "start": 9929, + "end": 9943, "loc": { "start": { - "line": 256, + "line": 262, "column": 16 }, "end": { - "line": 256, + "line": 262, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9669, - "end": 9680, + "start": 9929, + "end": 9940, "loc": { "start": { - "line": 256, + "line": 262, "column": 16 }, "end": { - "line": 256, + "line": 262, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9669, - "end": 9673, + "start": 9929, + "end": 9933, "loc": { "start": { - "line": 256, + "line": 262, "column": 16 }, "end": { - "line": 256, + "line": 262, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9674, - "end": 9680, + "start": 9934, + "end": 9940, "loc": { "start": { - "line": 256, + "line": 262, "column": 21 }, "end": { - "line": 256, + "line": 262, "column": 27 }, "identifierName": "surfer" @@ -64890,15 +65880,15 @@ }, "property": { "type": "Identifier", - "start": 9681, - "end": 9683, + "start": 9941, + "end": 9943, "loc": { "start": { - "line": 256, + "line": 262, "column": 28 }, "end": { - "line": 256, + "line": 262, "column": 30 }, "identifierName": "on" @@ -64910,29 +65900,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9684, - "end": 9702, + "start": 9944, + "end": 9962, "loc": { "start": { - "line": 256, + "line": 262, "column": 31 }, "end": { - "line": 256, + "line": 262, "column": 49 } }, "object": { "type": "Identifier", - "start": 9684, - "end": 9689, + "start": 9944, + "end": 9949, "loc": { "start": { - "line": 256, + "line": 262, "column": 31 }, "end": { - "line": 256, + "line": 262, "column": 36 }, "identifierName": "Event" @@ -64941,15 +65931,15 @@ }, "property": { "type": "Identifier", - "start": 9690, - "end": 9702, + "start": 9950, + "end": 9962, "loc": { "start": { - "line": 256, + "line": 262, "column": 37 }, "end": { - "line": 256, + "line": 262, "column": 49 }, "identifierName": "AUDIOPROCESS" @@ -64960,44 +65950,44 @@ }, { "type": "MemberExpression", - "start": 9704, - "end": 9723, + "start": 9964, + "end": 9983, "loc": { "start": { - "line": 256, + "line": 262, "column": 51 }, "end": { - "line": 256, + "line": 262, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 9704, - "end": 9708, + "start": 9964, + "end": 9968, "loc": { "start": { - "line": 256, + "line": 262, "column": 51 }, "end": { - "line": 256, + "line": 262, "column": 55 } } }, "property": { "type": "Identifier", - "start": 9709, - "end": 9723, + "start": 9969, + "end": 9983, "loc": { "start": { - "line": 256, + "line": 262, "column": 56 }, "end": { - "line": 256, + "line": 262, "column": 70 }, "identifierName": "surferProgress" @@ -65011,86 +66001,86 @@ }, { "type": "ExpressionStatement", - "start": 9742, - "end": 9786, + "start": 10002, + "end": 10046, "loc": { "start": { - "line": 257, + "line": 263, "column": 16 }, "end": { - "line": 257, + "line": 263, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 9742, - "end": 9785, + "start": 10002, + "end": 10045, "loc": { "start": { - "line": 257, + "line": 263, "column": 16 }, "end": { - "line": 257, + "line": 263, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 9742, - "end": 9756, + "start": 10002, + "end": 10016, "loc": { "start": { - "line": 257, + "line": 263, "column": 16 }, "end": { - "line": 257, + "line": 263, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9742, - "end": 9753, + "start": 10002, + "end": 10013, "loc": { "start": { - "line": 257, + "line": 263, "column": 16 }, "end": { - "line": 257, + "line": 263, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9742, - "end": 9746, + "start": 10002, + "end": 10006, "loc": { "start": { - "line": 257, + "line": 263, "column": 16 }, "end": { - "line": 257, + "line": 263, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9747, - "end": 9753, + "start": 10007, + "end": 10013, "loc": { "start": { - "line": 257, + "line": 263, "column": 21 }, "end": { - "line": 257, + "line": 263, "column": 27 }, "identifierName": "surfer" @@ -65101,15 +66091,15 @@ }, "property": { "type": "Identifier", - "start": 9754, - "end": 9756, + "start": 10014, + "end": 10016, "loc": { "start": { - "line": 257, + "line": 263, "column": 28 }, "end": { - "line": 257, + "line": 263, "column": 30 }, "identifierName": "on" @@ -65121,29 +66111,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9757, - "end": 9767, + "start": 10017, + "end": 10027, "loc": { "start": { - "line": 257, + "line": 263, "column": 31 }, "end": { - "line": 257, + "line": 263, "column": 41 } }, "object": { "type": "Identifier", - "start": 9757, - "end": 9762, + "start": 10017, + "end": 10022, "loc": { "start": { - "line": 257, + "line": 263, "column": 31 }, "end": { - "line": 257, + "line": 263, "column": 36 }, "identifierName": "Event" @@ -65152,15 +66142,15 @@ }, "property": { "type": "Identifier", - "start": 9763, - "end": 9767, + "start": 10023, + "end": 10027, "loc": { "start": { - "line": 257, + "line": 263, "column": 37 }, "end": { - "line": 257, + "line": 263, "column": 41 }, "identifierName": "SEEK" @@ -65171,44 +66161,44 @@ }, { "type": "MemberExpression", - "start": 9769, - "end": 9784, + "start": 10029, + "end": 10044, "loc": { "start": { - "line": 257, + "line": 263, "column": 43 }, "end": { - "line": 257, + "line": 263, "column": 58 } }, "object": { "type": "ThisExpression", - "start": 9769, - "end": 9773, + "start": 10029, + "end": 10033, "loc": { "start": { - "line": 257, + "line": 263, "column": 43 }, "end": { - "line": 257, + "line": 263, "column": 47 } } }, "property": { "type": "Identifier", - "start": 9774, - "end": 9784, + "start": 10034, + "end": 10044, "loc": { "start": { - "line": 257, + "line": 263, "column": 48 }, "end": { - "line": 257, + "line": 263, "column": 58 }, "identifierName": "surferSeek" @@ -65239,15 +66229,15 @@ { "type": "CommentBlock", "value": "*\n * Starts or stops listening to events related to audio-playback.\n *\n * @param {boolean} enable - Start or stop listening to playback\n * related events.\n * @private\n ", - "start": 8992, - "end": 9192, + "start": 9252, + "end": 9452, "loc": { "start": { - "line": 239, + "line": 245, "column": 4 }, "end": { - "line": 245, + "line": 251, "column": 7 } } @@ -65257,15 +66247,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 9822, - "end": 10114, + "start": 10082, + "end": 10374, "loc": { "start": { - "line": 262, + "line": 268, "column": 4 }, "end": { - "line": 269, + "line": 275, "column": 7 } } @@ -65274,15 +66264,15 @@ }, { "type": "ClassMethod", - "start": 10119, - "end": 10765, + "start": 10379, + "end": 11025, "loc": { "start": { - "line": 270, + "line": 276, "column": 4 }, "end": { - "line": 288, + "line": 294, "column": 5 } }, @@ -65290,15 +66280,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10119, - "end": 10123, + "start": 10379, + "end": 10383, "loc": { "start": { - "line": 270, + "line": 276, "column": 4 }, "end": { - "line": 270, + "line": 276, "column": 8 }, "identifierName": "load" @@ -65314,15 +66304,15 @@ "params": [ { "type": "Identifier", - "start": 10124, - "end": 10127, + "start": 10384, + "end": 10387, "loc": { "start": { - "line": 270, + "line": 276, "column": 9 }, "end": { - "line": 270, + "line": 276, "column": 12 }, "identifierName": "url" @@ -65331,15 +66321,15 @@ }, { "type": "Identifier", - "start": 10129, - "end": 10134, + "start": 10389, + "end": 10394, "loc": { "start": { - "line": 270, + "line": 276, "column": 14 }, "end": { - "line": 270, + "line": 276, "column": 19 }, "identifierName": "peaks" @@ -65349,72 +66339,72 @@ ], "body": { "type": "BlockStatement", - "start": 10136, - "end": 10765, + "start": 10396, + "end": 11025, "loc": { "start": { - "line": 270, + "line": 276, "column": 21 }, "end": { - "line": 288, + "line": 294, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 10146, - "end": 10759, + "start": 10406, + "end": 11019, "loc": { "start": { - "line": 271, + "line": 277, "column": 8 }, "end": { - "line": 287, + "line": 293, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 10150, - "end": 10192, + "start": 10410, + "end": 10452, "loc": { "start": { - "line": 271, + "line": 277, "column": 12 }, "end": { - "line": 271, + "line": 277, "column": 54 } }, "left": { "type": "BinaryExpression", - "start": 10150, - "end": 10169, + "start": 10410, + "end": 10429, "loc": { "start": { - "line": 271, + "line": 277, "column": 12 }, "end": { - "line": 271, + "line": 277, "column": 31 } }, "left": { "type": "Identifier", - "start": 10150, - "end": 10153, + "start": 10410, + "end": 10413, "loc": { "start": { - "line": 271, + "line": 277, "column": 12 }, "end": { - "line": 271, + "line": 277, "column": 15 }, "identifierName": "url" @@ -65424,15 +66414,15 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 10165, - "end": 10169, + "start": 10425, + "end": 10429, "loc": { "start": { - "line": 271, + "line": 277, "column": 27 }, "end": { - "line": 271, + "line": 277, "column": 31 }, "identifierName": "Blob" @@ -65443,29 +66433,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 10173, - "end": 10192, + "start": 10433, + "end": 10452, "loc": { "start": { - "line": 271, + "line": 277, "column": 35 }, "end": { - "line": 271, + "line": 277, "column": 54 } }, "left": { "type": "Identifier", - "start": 10173, - "end": 10176, + "start": 10433, + "end": 10436, "loc": { "start": { - "line": 271, + "line": 277, "column": 35 }, "end": { - "line": 271, + "line": 277, "column": 38 }, "identifierName": "url" @@ -65475,15 +66465,15 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 10188, - "end": 10192, + "start": 10448, + "end": 10452, "loc": { "start": { - "line": 271, + "line": 277, "column": 50 }, "end": { - "line": 271, + "line": 277, "column": 54 }, "identifierName": "File" @@ -65494,87 +66484,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 10194, - "end": 10308, + "start": 10454, + "end": 10568, "loc": { "start": { - "line": 271, + "line": 277, "column": 56 }, "end": { - "line": 274, + "line": 280, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 10208, - "end": 10259, + "start": 10468, + "end": 10519, "loc": { "start": { - "line": 272, + "line": 278, "column": 12 }, "end": { - "line": 272, + "line": 278, "column": 63 } }, "expression": { "type": "CallExpression", - "start": 10208, - "end": 10258, + "start": 10468, + "end": 10518, "loc": { "start": { - "line": 272, + "line": 278, "column": 12 }, "end": { - "line": 272, + "line": 278, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 10208, - "end": 10216, + "start": 10468, + "end": 10476, "loc": { "start": { - "line": 272, + "line": 278, "column": 12 }, "end": { - "line": 272, + "line": 278, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 10208, - "end": 10212, + "start": 10468, + "end": 10472, "loc": { "start": { - "line": 272, + "line": 278, "column": 12 }, "end": { - "line": 272, + "line": 278, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10213, - "end": 10216, + "start": 10473, + "end": 10476, "loc": { "start": { - "line": 272, + "line": 278, "column": 17 }, "end": { - "line": 272, + "line": 278, "column": 20 }, "identifierName": "log" @@ -65586,29 +66576,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10217, - "end": 10257, + "start": 10477, + "end": 10517, "loc": { "start": { - "line": 272, + "line": 278, "column": 21 }, "end": { - "line": 272, + "line": 278, "column": 61 } }, "left": { "type": "StringLiteral", - "start": 10217, - "end": 10235, + "start": 10477, + "end": 10495, "loc": { "start": { - "line": 272, + "line": 278, "column": 21 }, "end": { - "line": 272, + "line": 278, "column": 39 } }, @@ -65621,43 +66611,43 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 10238, - "end": 10257, + "start": 10498, + "end": 10517, "loc": { "start": { - "line": 272, + "line": 278, "column": 42 }, "end": { - "line": 272, + "line": 278, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 10238, - "end": 10252, + "start": 10498, + "end": 10512, "loc": { "start": { - "line": 272, + "line": 278, "column": 42 }, "end": { - "line": 272, + "line": 278, "column": 56 } }, "object": { "type": "Identifier", - "start": 10238, - "end": 10242, + "start": 10498, + "end": 10502, "loc": { "start": { - "line": 272, + "line": 278, "column": 42 }, "end": { - "line": 272, + "line": 278, "column": 46 }, "identifierName": "JSON" @@ -65666,15 +66656,15 @@ }, "property": { "type": "Identifier", - "start": 10243, - "end": 10252, + "start": 10503, + "end": 10512, "loc": { "start": { - "line": 272, + "line": 278, "column": 47 }, "end": { - "line": 272, + "line": 278, "column": 56 }, "identifierName": "stringify" @@ -65686,15 +66676,15 @@ "arguments": [ { "type": "Identifier", - "start": 10253, - "end": 10256, + "start": 10513, + "end": 10516, "loc": { "start": { - "line": 272, + "line": 278, "column": 57 }, "end": { - "line": 272, + "line": 278, "column": 60 }, "identifierName": "url" @@ -65709,86 +66699,86 @@ }, { "type": "ExpressionStatement", - "start": 10272, - "end": 10298, + "start": 10532, + "end": 10558, "loc": { "start": { - "line": 273, + "line": 279, "column": 12 }, "end": { - "line": 273, + "line": 279, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 10272, - "end": 10297, + "start": 10532, + "end": 10557, "loc": { "start": { - "line": 273, + "line": 279, "column": 12 }, "end": { - "line": 273, + "line": 279, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 10272, - "end": 10292, + "start": 10532, + "end": 10552, "loc": { "start": { - "line": 273, + "line": 279, "column": 12 }, "end": { - "line": 273, + "line": 279, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 10272, - "end": 10283, + "start": 10532, + "end": 10543, "loc": { "start": { - "line": 273, + "line": 279, "column": 12 }, "end": { - "line": 273, + "line": 279, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 10272, - "end": 10276, + "start": 10532, + "end": 10536, "loc": { "start": { - "line": 273, + "line": 279, "column": 12 }, "end": { - "line": 273, + "line": 279, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10277, - "end": 10283, + "start": 10537, + "end": 10543, "loc": { "start": { - "line": 273, + "line": 279, "column": 17 }, "end": { - "line": 273, + "line": 279, "column": 23 }, "identifierName": "surfer" @@ -65799,15 +66789,15 @@ }, "property": { "type": "Identifier", - "start": 10284, - "end": 10292, + "start": 10544, + "end": 10552, "loc": { "start": { - "line": 273, + "line": 279, "column": 24 }, "end": { - "line": 273, + "line": 279, "column": 32 }, "identifierName": "loadBlob" @@ -65819,15 +66809,15 @@ "arguments": [ { "type": "Identifier", - "start": 10293, - "end": 10296, + "start": 10553, + "end": 10556, "loc": { "start": { - "line": 273, + "line": 279, "column": 33 }, "end": { - "line": 273, + "line": 279, "column": 36 }, "identifierName": "url" @@ -65842,58 +66832,58 @@ }, "alternate": { "type": "BlockStatement", - "start": 10314, - "end": 10759, + "start": 10574, + "end": 11019, "loc": { "start": { - "line": 274, + "line": 280, "column": 15 }, "end": { - "line": 287, + "line": 293, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 10377, - "end": 10749, + "start": 10637, + "end": 11009, "loc": { "start": { - "line": 276, + "line": 282, "column": 12 }, "end": { - "line": 286, + "line": 292, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 10381, - "end": 10400, + "start": 10641, + "end": 10660, "loc": { "start": { - "line": 276, + "line": 282, "column": 16 }, "end": { - "line": 276, + "line": 282, "column": 35 } }, "left": { "type": "Identifier", - "start": 10381, - "end": 10386, + "start": 10641, + "end": 10646, "loc": { "start": { - "line": 276, + "line": 282, "column": 16 }, "end": { - "line": 276, + "line": 282, "column": 21 }, "identifierName": "peaks" @@ -65904,15 +66894,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 10391, - "end": 10400, + "start": 10651, + "end": 10660, "loc": { "start": { - "line": 276, + "line": 282, "column": 26 }, "end": { - "line": 276, + "line": 282, "column": 35 }, "identifierName": "undefined" @@ -65923,87 +66913,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 10402, - "end": 10461, + "start": 10662, + "end": 10721, "loc": { "start": { - "line": 276, + "line": 282, "column": 37 }, "end": { - "line": 278, + "line": 284, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 10420, - "end": 10447, + "start": 10680, + "end": 10707, "loc": { "start": { - "line": 277, + "line": 283, "column": 16 }, "end": { - "line": 277, + "line": 283, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 10420, - "end": 10446, + "start": 10680, + "end": 10706, "loc": { "start": { - "line": 277, + "line": 283, "column": 16 }, "end": { - "line": 277, + "line": 283, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 10420, - "end": 10434, + "start": 10680, + "end": 10694, "loc": { "start": { - "line": 277, + "line": 283, "column": 16 }, "end": { - "line": 277, + "line": 283, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 10420, - "end": 10424, + "start": 10680, + "end": 10684, "loc": { "start": { - "line": 277, + "line": 283, "column": 16 }, "end": { - "line": 277, + "line": 283, "column": 20 } } }, "property": { "type": "Identifier", - "start": 10425, - "end": 10434, + "start": 10685, + "end": 10694, "loc": { "start": { - "line": 277, + "line": 283, "column": 21 }, "end": { - "line": 277, + "line": 283, "column": 30 }, "identifierName": "loadPeaks" @@ -66015,15 +67005,15 @@ "arguments": [ { "type": "Identifier", - "start": 10435, - "end": 10438, + "start": 10695, + "end": 10698, "loc": { "start": { - "line": 277, + "line": 283, "column": 31 }, "end": { - "line": 277, + "line": 283, "column": 34 }, "identifierName": "url" @@ -66032,15 +67022,15 @@ }, { "type": "Identifier", - "start": 10440, - "end": 10445, + "start": 10700, + "end": 10705, "loc": { "start": { - "line": 277, + "line": 283, "column": 36 }, "end": { - "line": 277, + "line": 283, "column": 41 }, "identifierName": "peaks" @@ -66055,58 +67045,58 @@ }, "alternate": { "type": "BlockStatement", - "start": 10467, - "end": 10749, + "start": 10727, + "end": 11009, "loc": { "start": { - "line": 278, + "line": 284, "column": 19 }, "end": { - "line": 286, + "line": 292, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 10513, - "end": 10696, + "start": 10773, + "end": 10956, "loc": { "start": { - "line": 280, + "line": 286, "column": 16 }, "end": { - "line": 284, + "line": 290, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 10517, - "end": 10540, + "start": 10777, + "end": 10800, "loc": { "start": { - "line": 280, + "line": 286, "column": 20 }, "end": { - "line": 280, + "line": 286, "column": 43 } }, "left": { "type": "UnaryExpression", - "start": 10517, - "end": 10527, + "start": 10777, + "end": 10787, "loc": { "start": { - "line": 280, + "line": 286, "column": 20 }, "end": { - "line": 280, + "line": 286, "column": 30 } }, @@ -66114,15 +67104,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 10524, - "end": 10527, + "start": 10784, + "end": 10787, "loc": { "start": { - "line": 280, + "line": 286, "column": 27 }, "end": { - "line": 280, + "line": 286, "column": 30 }, "identifierName": "url" @@ -66138,15 +67128,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 10532, - "end": 10540, + "start": 10792, + "end": 10800, "loc": { "start": { - "line": 280, + "line": 286, "column": 35 }, "end": { - "line": 280, + "line": 286, "column": 43 } }, @@ -66160,87 +67150,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 10542, - "end": 10614, + "start": 10802, + "end": 10874, "loc": { "start": { - "line": 280, + "line": 286, "column": 45 }, "end": { - "line": 282, + "line": 288, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 10564, - "end": 10596, + "start": 10824, + "end": 10856, "loc": { "start": { - "line": 281, + "line": 287, "column": 20 }, "end": { - "line": 281, + "line": 287, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 10564, - "end": 10595, + "start": 10824, + "end": 10855, "loc": { "start": { - "line": 281, + "line": 287, "column": 20 }, "end": { - "line": 281, + "line": 287, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 10564, - "end": 10572, + "start": 10824, + "end": 10832, "loc": { "start": { - "line": 281, + "line": 287, "column": 20 }, "end": { - "line": 281, + "line": 287, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 10564, - "end": 10568, + "start": 10824, + "end": 10828, "loc": { "start": { - "line": 281, + "line": 287, "column": 20 }, "end": { - "line": 281, + "line": 287, "column": 24 } } }, "property": { "type": "Identifier", - "start": 10569, - "end": 10572, + "start": 10829, + "end": 10832, "loc": { "start": { - "line": 281, + "line": 287, "column": 25 }, "end": { - "line": 281, + "line": 287, "column": 28 }, "identifierName": "log" @@ -66252,29 +67242,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10573, - "end": 10594, + "start": 10833, + "end": 10854, "loc": { "start": { - "line": 281, + "line": 287, "column": 29 }, "end": { - "line": 281, + "line": 287, "column": 50 } }, "left": { "type": "StringLiteral", - "start": 10573, - "end": 10588, + "start": 10833, + "end": 10848, "loc": { "start": { - "line": 281, + "line": 287, "column": 29 }, "end": { - "line": 281, + "line": 287, "column": 44 } }, @@ -66287,15 +67277,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 10591, - "end": 10594, + "start": 10851, + "end": 10854, "loc": { "start": { - "line": 281, + "line": 287, "column": 47 }, "end": { - "line": 281, + "line": 287, "column": 50 }, "identifierName": "url" @@ -66311,87 +67301,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 10620, - "end": 10696, + "start": 10880, + "end": 10956, "loc": { "start": { - "line": 282, + "line": 288, "column": 23 }, "end": { - "line": 284, + "line": 290, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 10642, - "end": 10678, + "start": 10902, + "end": 10938, "loc": { "start": { - "line": 283, + "line": 289, "column": 20 }, "end": { - "line": 283, + "line": 289, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 10642, - "end": 10677, + "start": 10902, + "end": 10937, "loc": { "start": { - "line": 283, + "line": 289, "column": 20 }, "end": { - "line": 283, + "line": 289, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 10642, - "end": 10650, + "start": 10902, + "end": 10910, "loc": { "start": { - "line": 283, + "line": 289, "column": 20 }, "end": { - "line": 283, + "line": 289, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 10642, - "end": 10646, + "start": 10902, + "end": 10906, "loc": { "start": { - "line": 283, + "line": 289, "column": 20 }, "end": { - "line": 283, + "line": 289, "column": 24 } } }, "property": { "type": "Identifier", - "start": 10647, - "end": 10650, + "start": 10907, + "end": 10910, "loc": { "start": { - "line": 283, + "line": 289, "column": 25 }, "end": { - "line": 283, + "line": 289, "column": 28 }, "identifierName": "log" @@ -66403,29 +67393,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10651, - "end": 10676, + "start": 10911, + "end": 10936, "loc": { "start": { - "line": 283, + "line": 289, "column": 29 }, "end": { - "line": 283, + "line": 289, "column": 54 } }, "left": { "type": "StringLiteral", - "start": 10651, - "end": 10670, + "start": 10911, + "end": 10930, "loc": { "start": { - "line": 283, + "line": 289, "column": 29 }, "end": { - "line": 283, + "line": 289, "column": 48 } }, @@ -66438,15 +67428,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 10673, - "end": 10676, + "start": 10933, + "end": 10936, "loc": { "start": { - "line": 283, + "line": 289, "column": 51 }, "end": { - "line": 283, + "line": 289, "column": 54 }, "identifierName": "url" @@ -66464,15 +67454,15 @@ { "type": "CommentLine", "value": " no peaks", - "start": 10485, - "end": 10496, + "start": 10745, + "end": 10756, "loc": { "start": { - "line": 279, + "line": 285, "column": 16 }, "end": { - "line": 279, + "line": 285, "column": 27 } } @@ -66481,86 +67471,86 @@ }, { "type": "ExpressionStatement", - "start": 10713, - "end": 10735, + "start": 10973, + "end": 10995, "loc": { "start": { - "line": 285, + "line": 291, "column": 16 }, "end": { - "line": 285, + "line": 291, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 10713, - "end": 10734, + "start": 10973, + "end": 10994, "loc": { "start": { - "line": 285, + "line": 291, "column": 16 }, "end": { - "line": 285, + "line": 291, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 10713, - "end": 10729, + "start": 10973, + "end": 10989, "loc": { "start": { - "line": 285, + "line": 291, "column": 16 }, "end": { - "line": 285, + "line": 291, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 10713, - "end": 10724, + "start": 10973, + "end": 10984, "loc": { "start": { - "line": 285, + "line": 291, "column": 16 }, "end": { - "line": 285, + "line": 291, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 10713, - "end": 10717, + "start": 10973, + "end": 10977, "loc": { "start": { - "line": 285, + "line": 291, "column": 16 }, "end": { - "line": 285, + "line": 291, "column": 20 } } }, "property": { "type": "Identifier", - "start": 10718, - "end": 10724, + "start": 10978, + "end": 10984, "loc": { "start": { - "line": 285, + "line": 291, "column": 21 }, "end": { - "line": 285, + "line": 291, "column": 27 }, "identifierName": "surfer" @@ -66571,15 +67561,15 @@ }, "property": { "type": "Identifier", - "start": 10725, - "end": 10729, + "start": 10985, + "end": 10989, "loc": { "start": { - "line": 285, + "line": 291, "column": 28 }, "end": { - "line": 285, + "line": 291, "column": 32 }, "identifierName": "load" @@ -66591,15 +67581,15 @@ "arguments": [ { "type": "Identifier", - "start": 10730, - "end": 10733, + "start": 10990, + "end": 10993, "loc": { "start": { - "line": 285, + "line": 291, "column": 33 }, "end": { - "line": 285, + "line": 291, "column": 36 }, "identifierName": "url" @@ -66616,15 +67606,15 @@ { "type": "CommentLine", "value": " load peak data from array or file", - "start": 10328, - "end": 10364, + "start": 10588, + "end": 10624, "loc": { "start": { - "line": 275, + "line": 281, "column": 12 }, "end": { - "line": 275, + "line": 281, "column": 48 } } @@ -66643,15 +67633,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 9822, - "end": 10114, + "start": 10082, + "end": 10374, "loc": { "start": { - "line": 262, + "line": 268, "column": 4 }, "end": { - "line": 269, + "line": 275, "column": 7 } } @@ -66661,15 +67651,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 10771, - "end": 11063, + "start": 11031, + "end": 11323, "loc": { "start": { - "line": 290, + "line": 296, "column": 4 }, "end": { - "line": 297, + "line": 303, "column": 7 } } @@ -66678,15 +67668,15 @@ }, { "type": "ClassMethod", - "start": 11068, - "end": 12521, + "start": 11328, + "end": 12731, "loc": { "start": { - "line": 298, + "line": 304, "column": 4 }, "end": { - "line": 334, + "line": 339, "column": 5 } }, @@ -66694,15 +67684,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11068, - "end": 11077, + "start": 11328, + "end": 11337, "loc": { "start": { - "line": 298, + "line": 304, "column": 4 }, "end": { - "line": 298, + "line": 304, "column": 13 }, "identifierName": "loadPeaks" @@ -66718,15 +67708,15 @@ "params": [ { "type": "Identifier", - "start": 11078, - "end": 11081, + "start": 11338, + "end": 11341, "loc": { "start": { - "line": 298, + "line": 304, "column": 14 }, "end": { - "line": 298, + "line": 304, "column": 17 }, "identifierName": "url" @@ -66735,15 +67725,15 @@ }, { "type": "Identifier", - "start": 11083, - "end": 11088, + "start": 11343, + "end": 11348, "loc": { "start": { - "line": 298, + "line": 304, "column": 19 }, "end": { - "line": 298, + "line": 304, "column": 24 }, "identifierName": "peaks" @@ -66753,72 +67743,72 @@ ], "body": { "type": "BlockStatement", - "start": 11090, - "end": 12521, + "start": 11350, + "end": 12731, "loc": { "start": { - "line": 298, + "line": 304, "column": 26 }, "end": { - "line": 334, + "line": 339, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 11100, - "end": 12515, + "start": 11360, + "end": 12725, "loc": { "start": { - "line": 299, + "line": 305, "column": 8 }, "end": { - "line": 333, + "line": 338, "column": 9 } }, "test": { "type": "CallExpression", - "start": 11104, - "end": 11124, + "start": 11364, + "end": 11384, "loc": { "start": { - "line": 299, + "line": 305, "column": 12 }, "end": { - "line": 299, + "line": 305, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 11104, - "end": 11117, + "start": 11364, + "end": 11377, "loc": { "start": { - "line": 299, + "line": 305, "column": 12 }, "end": { - "line": 299, + "line": 305, "column": 25 } }, "object": { "type": "Identifier", - "start": 11104, - "end": 11109, + "start": 11364, + "end": 11369, "loc": { "start": { - "line": 299, + "line": 305, "column": 12 }, "end": { - "line": 299, + "line": 305, "column": 17 }, "identifierName": "Array" @@ -66827,15 +67817,15 @@ }, "property": { "type": "Identifier", - "start": 11110, - "end": 11117, + "start": 11370, + "end": 11377, "loc": { "start": { - "line": 299, + "line": 305, "column": 18 }, "end": { - "line": 299, + "line": 305, "column": 25 }, "identifierName": "isArray" @@ -66847,15 +67837,15 @@ "arguments": [ { "type": "Identifier", - "start": 11118, - "end": 11123, + "start": 11378, + "end": 11383, "loc": { "start": { - "line": 299, + "line": 305, "column": 26 }, "end": { - "line": 299, + "line": 305, "column": 31 }, "identifierName": "peaks" @@ -66866,72 +67856,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 11126, - "end": 11283, + "start": 11386, + "end": 11543, "loc": { "start": { - "line": 299, + "line": 305, "column": 34 }, "end": { - "line": 303, + "line": 309, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 11179, - "end": 11231, + "start": 11439, + "end": 11491, "loc": { "start": { - "line": 301, + "line": 307, "column": 12 }, "end": { - "line": 301, + "line": 307, "column": 64 } }, "expression": { "type": "CallExpression", - "start": 11179, - "end": 11230, + "start": 11439, + "end": 11490, "loc": { "start": { - "line": 301, + "line": 307, "column": 12 }, "end": { - "line": 301, + "line": 307, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 11179, - "end": 11187, + "start": 11439, + "end": 11447, "loc": { "start": { - "line": 301, + "line": 307, "column": 12 }, "end": { - "line": 301, + "line": 307, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 11179, - "end": 11183, + "start": 11439, + "end": 11443, "loc": { "start": { - "line": 301, + "line": 307, "column": 12 }, "end": { - "line": 301, + "line": 307, "column": 16 } }, @@ -66939,15 +67929,15 @@ }, "property": { "type": "Identifier", - "start": 11184, - "end": 11187, + "start": 11444, + "end": 11447, "loc": { "start": { - "line": 301, + "line": 307, "column": 17 }, "end": { - "line": 301, + "line": 307, "column": 20 }, "identifierName": "log" @@ -66960,29 +67950,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11188, - "end": 11229, + "start": 11448, + "end": 11489, "loc": { "start": { - "line": 301, + "line": 307, "column": 21 }, "end": { - "line": 301, + "line": 307, "column": 62 } }, "left": { "type": "StringLiteral", - "start": 11188, - "end": 11223, + "start": 11448, + "end": 11483, "loc": { "start": { - "line": 301, + "line": 307, "column": 21 }, "end": { - "line": 301, + "line": 307, "column": 56 } }, @@ -66995,15 +67985,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 11226, - "end": 11229, + "start": 11486, + "end": 11489, "loc": { "start": { - "line": 301, + "line": 307, "column": 59 }, "end": { - "line": 301, + "line": 307, "column": 62 }, "identifierName": "url" @@ -67018,15 +68008,15 @@ { "type": "CommentLine", "value": " use supplied peaks data", - "start": 11140, - "end": 11166, + "start": 11400, + "end": 11426, "loc": { "start": { - "line": 300, + "line": 306, "column": 12 }, "end": { - "line": 300, + "line": 306, "column": 38 } } @@ -67035,86 +68025,86 @@ }, { "type": "ExpressionStatement", - "start": 11244, - "end": 11273, + "start": 11504, + "end": 11533, "loc": { "start": { - "line": 302, + "line": 308, "column": 12 }, "end": { - "line": 302, + "line": 308, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 11244, - "end": 11272, + "start": 11504, + "end": 11532, "loc": { "start": { - "line": 302, + "line": 308, "column": 12 }, "end": { - "line": 302, + "line": 308, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 11244, - "end": 11260, + "start": 11504, + "end": 11520, "loc": { "start": { - "line": 302, + "line": 308, "column": 12 }, "end": { - "line": 302, + "line": 308, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 11244, - "end": 11255, + "start": 11504, + "end": 11515, "loc": { "start": { - "line": 302, + "line": 308, "column": 12 }, "end": { - "line": 302, + "line": 308, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 11244, - "end": 11248, + "start": 11504, + "end": 11508, "loc": { "start": { - "line": 302, + "line": 308, "column": 12 }, "end": { - "line": 302, + "line": 308, "column": 16 } } }, "property": { "type": "Identifier", - "start": 11249, - "end": 11255, + "start": 11509, + "end": 11515, "loc": { "start": { - "line": 302, + "line": 308, "column": 17 }, "end": { - "line": 302, + "line": 308, "column": 23 }, "identifierName": "surfer" @@ -67125,15 +68115,15 @@ }, "property": { "type": "Identifier", - "start": 11256, - "end": 11260, + "start": 11516, + "end": 11520, "loc": { "start": { - "line": 302, + "line": 308, "column": 24 }, "end": { - "line": 302, + "line": 308, "column": 28 }, "identifierName": "load" @@ -67145,15 +68135,15 @@ "arguments": [ { "type": "Identifier", - "start": 11261, - "end": 11264, + "start": 11521, + "end": 11524, "loc": { "start": { - "line": 302, + "line": 308, "column": 29 }, "end": { - "line": 302, + "line": 308, "column": 32 }, "identifierName": "url" @@ -67162,15 +68152,15 @@ }, { "type": "Identifier", - "start": 11266, - "end": 11271, + "start": 11526, + "end": 11531, "loc": { "start": { - "line": 302, + "line": 308, "column": 34 }, "end": { - "line": 302, + "line": 308, "column": 39 }, "identifierName": "peaks" @@ -67185,59 +68175,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 11289, - "end": 12515, + "start": 11549, + "end": 12725, "loc": { "start": { - "line": 303, + "line": 309, "column": 15 }, "end": { - "line": 333, + "line": 338, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 11343, - "end": 11445, + "start": 11603, + "end": 11705, "loc": { "start": { - "line": 305, + "line": 311, "column": 12 }, "end": { - "line": 308, + "line": 314, "column": 14 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11347, - "end": 11444, + "start": 11607, + "end": 11704, "loc": { "start": { - "line": 305, + "line": 311, "column": 16 }, "end": { - "line": 308, + "line": 314, "column": 13 } }, "id": { "type": "Identifier", - "start": 11347, - "end": 11361, + "start": 11607, + "end": 11621, "loc": { "start": { - "line": 305, + "line": 311, "column": 16 }, "end": { - "line": 305, + "line": 311, "column": 30 }, "identifierName": "requestOptions" @@ -67247,30 +68237,30 @@ }, "init": { "type": "ObjectExpression", - "start": 11364, - "end": 11444, + "start": 11624, + "end": 11704, "loc": { "start": { - "line": 305, + "line": 311, "column": 33 }, "end": { - "line": 308, + "line": 314, "column": 13 } }, "properties": [ { "type": "ObjectProperty", - "start": 11382, - "end": 11392, + "start": 11642, + "end": 11652, "loc": { "start": { - "line": 306, + "line": 312, "column": 16 }, "end": { - "line": 306, + "line": 312, "column": 26 } }, @@ -67279,15 +68269,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11382, - "end": 11385, + "start": 11642, + "end": 11645, "loc": { "start": { - "line": 306, + "line": 312, "column": 16 }, "end": { - "line": 306, + "line": 312, "column": 19 }, "identifierName": "url" @@ -67296,15 +68286,15 @@ }, "value": { "type": "Identifier", - "start": 11387, - "end": 11392, + "start": 11647, + "end": 11652, "loc": { "start": { - "line": 306, + "line": 312, "column": 21 }, "end": { - "line": 306, + "line": 312, "column": 26 }, "identifierName": "peaks" @@ -67314,15 +68304,15 @@ }, { "type": "ObjectProperty", - "start": 11410, - "end": 11430, + "start": 11670, + "end": 11690, "loc": { "start": { - "line": 307, + "line": 313, "column": 16 }, "end": { - "line": 307, + "line": 313, "column": 36 } }, @@ -67331,15 +68321,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11410, - "end": 11422, + "start": 11670, + "end": 11682, "loc": { "start": { - "line": 307, + "line": 313, "column": 16 }, "end": { - "line": 307, + "line": 313, "column": 28 }, "identifierName": "responseType" @@ -67348,15 +68338,15 @@ }, "value": { "type": "StringLiteral", - "start": 11424, - "end": 11430, + "start": 11684, + "end": 11690, "loc": { "start": { - "line": 307, + "line": 313, "column": 30 }, "end": { - "line": 307, + "line": 313, "column": 36 } }, @@ -67377,15 +68367,15 @@ { "type": "CommentLine", "value": " load peak data from file", - "start": 11303, - "end": 11330, + "start": 11563, + "end": 11590, "loc": { "start": { - "line": 304, + "line": 310, "column": 12 }, "end": { - "line": 304, + "line": 310, "column": 39 } } @@ -67395,15 +68385,15 @@ { "type": "CommentLine", "value": " supply xhr options, if any", - "start": 11459, - "end": 11488, + "start": 11719, + "end": 11748, "loc": { "start": { - "line": 310, + "line": 316, "column": 12 }, "end": { - "line": 310, + "line": 316, "column": 41 } } @@ -67412,113 +68402,113 @@ }, { "type": "IfStatement", - "start": 11501, - "end": 11661, + "start": 11761, + "end": 11921, "loc": { "start": { - "line": 311, + "line": 317, "column": 12 }, "end": { - "line": 313, + "line": 319, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 11505, - "end": 11562, + "start": 11765, + "end": 11822, "loc": { "start": { - "line": 311, + "line": 317, "column": 16 }, "end": { - "line": 311, + "line": 317, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 11505, - "end": 11548, + "start": 11765, + "end": 11808, "loc": { "start": { - "line": 311, + "line": 317, "column": 16 }, "end": { - "line": 311, + "line": 317, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 11505, - "end": 11544, + "start": 11765, + "end": 11804, "loc": { "start": { - "line": 311, + "line": 317, "column": 16 }, "end": { - "line": 311, + "line": 317, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 11505, - "end": 11533, + "start": 11765, + "end": 11793, "loc": { "start": { - "line": 311, + "line": 317, "column": 16 }, "end": { - "line": 311, + "line": 317, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 11505, - "end": 11525, + "start": 11765, + "end": 11785, "loc": { "start": { - "line": 311, + "line": 317, "column": 16 }, "end": { - "line": 311, + "line": 317, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 11505, - "end": 11516, + "start": 11765, + "end": 11776, "loc": { "start": { - "line": 311, + "line": 317, "column": 16 }, "end": { - "line": 311, + "line": 317, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 11505, - "end": 11509, + "start": 11765, + "end": 11769, "loc": { "start": { - "line": 311, + "line": 317, "column": 16 }, "end": { - "line": 311, + "line": 317, "column": 20 } }, @@ -67526,15 +68516,15 @@ }, "property": { "type": "Identifier", - "start": 11510, - "end": 11516, + "start": 11770, + "end": 11776, "loc": { "start": { - "line": 311, + "line": 317, "column": 21 }, "end": { - "line": 311, + "line": 317, "column": 27 }, "identifierName": "player" @@ -67546,15 +68536,15 @@ }, "property": { "type": "Identifier", - "start": 11517, - "end": 11525, + "start": 11777, + "end": 11785, "loc": { "start": { - "line": 311, + "line": 317, "column": 28 }, "end": { - "line": 311, + "line": 317, "column": 36 }, "identifierName": "options_" @@ -67566,15 +68556,15 @@ }, "property": { "type": "Identifier", - "start": 11526, - "end": 11533, + "start": 11786, + "end": 11793, "loc": { "start": { - "line": 311, + "line": 317, "column": 37 }, "end": { - "line": 311, + "line": 317, "column": 44 }, "identifierName": "plugins" @@ -67586,15 +68576,15 @@ }, "property": { "type": "Identifier", - "start": 11534, - "end": 11544, + "start": 11794, + "end": 11804, "loc": { "start": { - "line": 311, + "line": 317, "column": 45 }, "end": { - "line": 311, + "line": 317, "column": 55 }, "identifierName": "wavesurfer" @@ -67606,15 +68596,15 @@ }, "property": { "type": "Identifier", - "start": 11545, - "end": 11548, + "start": 11805, + "end": 11808, "loc": { "start": { - "line": 311, + "line": 317, "column": 56 }, "end": { - "line": 311, + "line": 317, "column": 59 }, "identifierName": "xhr" @@ -67627,15 +68617,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 11553, - "end": 11562, + "start": 11813, + "end": 11822, "loc": { "start": { - "line": 311, + "line": 317, "column": 64 }, "end": { - "line": 311, + "line": 317, "column": 73 }, "identifierName": "undefined" @@ -67646,73 +68636,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 11564, - "end": 11661, + "start": 11824, + "end": 11921, "loc": { "start": { - "line": 311, + "line": 317, "column": 75 }, "end": { - "line": 313, + "line": 319, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 11582, - "end": 11647, + "start": 11842, + "end": 11907, "loc": { "start": { - "line": 312, + "line": 318, "column": 16 }, "end": { - "line": 312, + "line": 318, "column": 81 } }, "expression": { "type": "AssignmentExpression", - "start": 11582, - "end": 11646, + "start": 11842, + "end": 11906, "loc": { "start": { - "line": 312, + "line": 318, "column": 16 }, "end": { - "line": 312, + "line": 318, "column": 80 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 11582, - "end": 11600, + "start": 11842, + "end": 11860, "loc": { "start": { - "line": 312, + "line": 318, "column": 16 }, "end": { - "line": 312, + "line": 318, "column": 34 } }, "object": { "type": "Identifier", - "start": 11582, - "end": 11596, + "start": 11842, + "end": 11856, "loc": { "start": { - "line": 312, + "line": 318, "column": 16 }, "end": { - "line": 312, + "line": 318, "column": 30 }, "identifierName": "requestOptions" @@ -67721,15 +68711,15 @@ }, "property": { "type": "Identifier", - "start": 11597, - "end": 11600, + "start": 11857, + "end": 11860, "loc": { "start": { - "line": 312, + "line": 318, "column": 31 }, "end": { - "line": 312, + "line": 318, "column": 34 }, "identifierName": "xhr" @@ -67740,100 +68730,100 @@ }, "right": { "type": "MemberExpression", - "start": 11603, - "end": 11646, + "start": 11863, + "end": 11906, "loc": { "start": { - "line": 312, + "line": 318, "column": 37 }, "end": { - "line": 312, + "line": 318, "column": 80 } }, "object": { "type": "MemberExpression", - "start": 11603, - "end": 11642, + "start": 11863, + "end": 11902, "loc": { "start": { - "line": 312, + "line": 318, "column": 37 }, "end": { - "line": 312, + "line": 318, "column": 76 } }, "object": { "type": "MemberExpression", - "start": 11603, - "end": 11631, + "start": 11863, + "end": 11891, "loc": { "start": { - "line": 312, + "line": 318, "column": 37 }, "end": { - "line": 312, + "line": 318, "column": 65 } }, "object": { "type": "MemberExpression", - "start": 11603, - "end": 11623, + "start": 11863, + "end": 11883, "loc": { "start": { - "line": 312, + "line": 318, "column": 37 }, "end": { - "line": 312, + "line": 318, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 11603, - "end": 11614, + "start": 11863, + "end": 11874, "loc": { "start": { - "line": 312, + "line": 318, "column": 37 }, "end": { - "line": 312, + "line": 318, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 11603, - "end": 11607, + "start": 11863, + "end": 11867, "loc": { "start": { - "line": 312, + "line": 318, "column": 37 }, "end": { - "line": 312, + "line": 318, "column": 41 } } }, "property": { "type": "Identifier", - "start": 11608, - "end": 11614, + "start": 11868, + "end": 11874, "loc": { "start": { - "line": 312, + "line": 318, "column": 42 }, "end": { - "line": 312, + "line": 318, "column": 48 }, "identifierName": "player" @@ -67844,15 +68834,15 @@ }, "property": { "type": "Identifier", - "start": 11615, - "end": 11623, + "start": 11875, + "end": 11883, "loc": { "start": { - "line": 312, + "line": 318, "column": 49 }, "end": { - "line": 312, + "line": 318, "column": 57 }, "identifierName": "options_" @@ -67863,15 +68853,15 @@ }, "property": { "type": "Identifier", - "start": 11624, - "end": 11631, + "start": 11884, + "end": 11891, "loc": { "start": { - "line": 312, + "line": 318, "column": 58 }, "end": { - "line": 312, + "line": 318, "column": 65 }, "identifierName": "plugins" @@ -67882,15 +68872,15 @@ }, "property": { "type": "Identifier", - "start": 11632, - "end": 11642, + "start": 11892, + "end": 11902, "loc": { "start": { - "line": 312, + "line": 318, "column": 66 }, "end": { - "line": 312, + "line": 318, "column": 76 }, "identifierName": "wavesurfer" @@ -67901,15 +68891,15 @@ }, "property": { "type": "Identifier", - "start": 11643, - "end": 11646, + "start": 11903, + "end": 11906, "loc": { "start": { - "line": 312, + "line": 318, "column": 77 }, "end": { - "line": 312, + "line": 318, "column": 80 }, "identifierName": "xhr" @@ -67928,15 +68918,15 @@ { "type": "CommentLine", "value": " supply xhr options, if any", - "start": 11459, - "end": 11488, + "start": 11719, + "end": 11748, "loc": { "start": { - "line": 310, + "line": 316, "column": 12 }, "end": { - "line": 310, + "line": 316, "column": 41 } } @@ -67945,44 +68935,44 @@ }, { "type": "VariableDeclaration", - "start": 11674, - "end": 11730, + "start": 11934, + "end": 11990, "loc": { "start": { - "line": 314, + "line": 320, "column": 12 }, "end": { - "line": 314, + "line": 320, "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11678, - "end": 11729, + "start": 11938, + "end": 11989, "loc": { "start": { - "line": 314, + "line": 320, "column": 16 }, "end": { - "line": 314, + "line": 320, "column": 67 } }, "id": { "type": "Identifier", - "start": 11678, - "end": 11685, + "start": 11938, + "end": 11945, "loc": { "start": { - "line": 314, + "line": 320, "column": 16 }, "end": { - "line": 314, + "line": 320, "column": 23 }, "identifierName": "request" @@ -67991,57 +68981,57 @@ }, "init": { "type": "CallExpression", - "start": 11688, - "end": 11729, + "start": 11948, + "end": 11989, "loc": { "start": { - "line": 314, + "line": 320, "column": 26 }, "end": { - "line": 314, + "line": 320, "column": 67 } }, "callee": { "type": "MemberExpression", - "start": 11688, - "end": 11713, + "start": 11948, + "end": 11973, "loc": { "start": { - "line": 314, + "line": 320, "column": 26 }, "end": { - "line": 314, + "line": 320, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 11688, - "end": 11703, + "start": 11948, + "end": 11963, "loc": { "start": { - "line": 314, + "line": 320, "column": 26 }, "end": { - "line": 314, + "line": 320, "column": 41 } }, "object": { "type": "Identifier", - "start": 11688, - "end": 11698, + "start": 11948, + "end": 11958, "loc": { "start": { - "line": 314, + "line": 320, "column": 26 }, "end": { - "line": 314, + "line": 320, "column": 36 }, "identifierName": "WaveSurfer" @@ -68050,15 +69040,15 @@ }, "property": { "type": "Identifier", - "start": 11699, - "end": 11703, + "start": 11959, + "end": 11963, "loc": { "start": { - "line": 314, + "line": 320, "column": 37 }, "end": { - "line": 314, + "line": 320, "column": 41 }, "identifierName": "util" @@ -68069,15 +69059,15 @@ }, "property": { "type": "Identifier", - "start": 11704, - "end": 11713, + "start": 11964, + "end": 11973, "loc": { "start": { - "line": 314, + "line": 320, "column": 42 }, "end": { - "line": 314, + "line": 320, "column": 51 }, "identifierName": "fetchFile" @@ -68089,15 +69079,15 @@ "arguments": [ { "type": "Identifier", - "start": 11714, - "end": 11728, + "start": 11974, + "end": 11988, "loc": { "start": { - "line": 314, + "line": 320, "column": 52 }, "end": { - "line": 314, + "line": 320, "column": 66 }, "identifierName": "requestOptions" @@ -68112,57 +69102,57 @@ }, { "type": "ExpressionStatement", - "start": 11744, - "end": 12216, + "start": 12004, + "end": 12476, "loc": { "start": { - "line": 316, + "line": 322, "column": 12 }, "end": { - "line": 326, + "line": 332, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 11744, - "end": 12215, + "start": 12004, + "end": 12475, "loc": { "start": { - "line": 316, + "line": 322, "column": 12 }, "end": { - "line": 326, + "line": 332, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 11744, - "end": 11756, + "start": 12004, + "end": 12016, "loc": { "start": { - "line": 316, + "line": 322, "column": 12 }, "end": { - "line": 316, + "line": 322, "column": 24 } }, "object": { "type": "Identifier", - "start": 11744, - "end": 11751, + "start": 12004, + "end": 12011, "loc": { "start": { - "line": 316, + "line": 322, "column": 12 }, "end": { - "line": 316, + "line": 322, "column": 19 }, "identifierName": "request" @@ -68171,15 +69161,15 @@ }, "property": { "type": "Identifier", - "start": 11752, - "end": 11756, + "start": 12012, + "end": 12016, "loc": { "start": { - "line": 316, + "line": 322, "column": 20 }, "end": { - "line": 316, + "line": 322, "column": 24 }, "identifierName": "once" @@ -68191,15 +69181,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 11757, - "end": 11766, + "start": 12017, + "end": 12026, "loc": { "start": { - "line": 316, + "line": 322, "column": 25 }, "end": { - "line": 316, + "line": 322, "column": 34 } }, @@ -68211,15 +69201,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 11768, - "end": 12214, + "start": 12028, + "end": 12474, "loc": { "start": { - "line": 316, + "line": 322, "column": 36 }, "end": { - "line": 326, + "line": 332, "column": 13 } }, @@ -68230,15 +69220,15 @@ "params": [ { "type": "Identifier", - "start": 11768, - "end": 11772, + "start": 12028, + "end": 12032, "loc": { "start": { - "line": 316, + "line": 322, "column": 36 }, "end": { - "line": 316, + "line": 322, "column": 40 }, "identifierName": "data" @@ -68248,87 +69238,87 @@ ], "body": { "type": "BlockStatement", - "start": 11776, - "end": 12214, + "start": 12036, + "end": 12474, "loc": { "start": { - "line": 316, + "line": 322, "column": 44 }, "end": { - "line": 326, + "line": 332, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 11794, - "end": 11837, + "start": 12054, + "end": 12097, "loc": { "start": { - "line": 317, + "line": 323, "column": 16 }, "end": { - "line": 317, + "line": 323, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 11794, - "end": 11836, + "start": 12054, + "end": 12096, "loc": { "start": { - "line": 317, + "line": 323, "column": 16 }, "end": { - "line": 317, + "line": 323, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 11794, - "end": 11802, + "start": 12054, + "end": 12062, "loc": { "start": { - "line": 317, + "line": 323, "column": 16 }, "end": { - "line": 317, + "line": 323, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 11794, - "end": 11798, + "start": 12054, + "end": 12058, "loc": { "start": { - "line": 317, + "line": 323, "column": 16 }, "end": { - "line": 317, + "line": 323, "column": 20 } } }, "property": { "type": "Identifier", - "start": 11799, - "end": 11802, + "start": 12059, + "end": 12062, "loc": { "start": { - "line": 317, + "line": 323, "column": 21 }, "end": { - "line": 317, + "line": 323, "column": 24 }, "identifierName": "log" @@ -68340,29 +69330,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11803, - "end": 11835, + "start": 12063, + "end": 12095, "loc": { "start": { - "line": 317, + "line": 323, "column": 25 }, "end": { - "line": 317, + "line": 323, "column": 57 } }, "left": { "type": "StringLiteral", - "start": 11803, - "end": 11827, + "start": 12063, + "end": 12087, "loc": { "start": { - "line": 317, + "line": 323, "column": 25 }, "end": { - "line": 317, + "line": 323, "column": 49 } }, @@ -68375,15 +69365,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 11830, - "end": 11835, + "start": 12090, + "end": 12095, "loc": { "start": { - "line": 317, + "line": 323, "column": 52 }, "end": { - "line": 317, + "line": 323, "column": 57 }, "identifierName": "peaks" @@ -68397,15 +69387,15 @@ { "type": "CommentLine", "value": " check for data property containing peaks", - "start": 11854, - "end": 11897, + "start": 12114, + "end": 12157, "loc": { "start": { - "line": 318, + "line": 324, "column": 16 }, "end": { - "line": 318, + "line": 324, "column": 59 } } @@ -68414,43 +69404,43 @@ }, { "type": "IfStatement", - "start": 11914, - "end": 12200, + "start": 12174, + "end": 12460, "loc": { "start": { - "line": 319, + "line": 325, "column": 16 }, "end": { - "line": 325, + "line": 331, "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 11918, - "end": 11935, + "start": 12178, + "end": 12195, "loc": { "start": { - "line": 319, + "line": 325, "column": 20 }, "end": { - "line": 319, + "line": 325, "column": 37 } }, "left": { "type": "Identifier", - "start": 11918, - "end": 11922, + "start": 12178, + "end": 12182, "loc": { "start": { - "line": 319, + "line": 325, "column": 20 }, "end": { - "line": 319, + "line": 325, "column": 24 }, "identifierName": "data" @@ -68461,29 +69451,29 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 11926, - "end": 11935, + "start": 12186, + "end": 12195, "loc": { "start": { - "line": 319, + "line": 325, "column": 28 }, "end": { - "line": 319, + "line": 325, "column": 37 } }, "object": { "type": "Identifier", - "start": 11926, - "end": 11930, + "start": 12186, + "end": 12190, "loc": { "start": { - "line": 319, + "line": 325, "column": 28 }, "end": { - "line": 319, + "line": 325, "column": 32 }, "identifierName": "data" @@ -68492,15 +69482,15 @@ }, "property": { "type": "Identifier", - "start": 11931, - "end": 11935, + "start": 12191, + "end": 12195, "loc": { "start": { - "line": 319, + "line": 325, "column": 33 }, "end": { - "line": 319, + "line": 325, "column": 37 }, "identifierName": "data" @@ -68513,101 +69503,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 11937, - "end": 12010, + "start": 12197, + "end": 12270, "loc": { "start": { - "line": 319, + "line": 325, "column": 39 }, "end": { - "line": 321, + "line": 327, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 11959, - "end": 11992, + "start": 12219, + "end": 12252, "loc": { "start": { - "line": 320, + "line": 326, "column": 20 }, "end": { - "line": 320, + "line": 326, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 11959, - "end": 11991, + "start": 12219, + "end": 12251, "loc": { "start": { - "line": 320, + "line": 326, "column": 20 }, "end": { - "line": 320, + "line": 326, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 11959, - "end": 11975, + "start": 12219, + "end": 12235, "loc": { "start": { - "line": 320, + "line": 326, "column": 20 }, "end": { - "line": 320, + "line": 326, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 11959, - "end": 11970, + "start": 12219, + "end": 12230, "loc": { "start": { - "line": 320, + "line": 326, "column": 20 }, "end": { - "line": 320, + "line": 326, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 11959, - "end": 11963, + "start": 12219, + "end": 12223, "loc": { "start": { - "line": 320, + "line": 326, "column": 20 }, "end": { - "line": 320, + "line": 326, "column": 24 } } }, "property": { "type": "Identifier", - "start": 11964, - "end": 11970, + "start": 12224, + "end": 12230, "loc": { "start": { - "line": 320, + "line": 326, "column": 25 }, "end": { - "line": 320, + "line": 326, "column": 31 }, "identifierName": "surfer" @@ -68618,15 +69608,15 @@ }, "property": { "type": "Identifier", - "start": 11971, - "end": 11975, + "start": 12231, + "end": 12235, "loc": { "start": { - "line": 320, + "line": 326, "column": 32 }, "end": { - "line": 320, + "line": 326, "column": 36 }, "identifierName": "load" @@ -68638,15 +69628,15 @@ "arguments": [ { "type": "Identifier", - "start": 11976, - "end": 11979, + "start": 12236, + "end": 12239, "loc": { "start": { - "line": 320, + "line": 326, "column": 37 }, "end": { - "line": 320, + "line": 326, "column": 40 }, "identifierName": "url" @@ -68655,29 +69645,29 @@ }, { "type": "MemberExpression", - "start": 11981, - "end": 11990, + "start": 12241, + "end": 12250, "loc": { "start": { - "line": 320, + "line": 326, "column": 42 }, "end": { - "line": 320, + "line": 326, "column": 51 } }, "object": { "type": "Identifier", - "start": 11981, - "end": 11985, + "start": 12241, + "end": 12245, "loc": { "start": { - "line": 320, + "line": 326, "column": 42 }, "end": { - "line": 320, + "line": 326, "column": 46 }, "identifierName": "data" @@ -68686,15 +69676,15 @@ }, "property": { "type": "Identifier", - "start": 11986, - "end": 11990, + "start": 12246, + "end": 12250, "loc": { "start": { - "line": 320, + "line": 326, "column": 47 }, "end": { - "line": 320, + "line": 326, "column": 51 }, "identifierName": "data" @@ -68711,101 +69701,101 @@ }, "alternate": { "type": "BlockStatement", - "start": 12016, - "end": 12200, + "start": 12276, + "end": 12460, "loc": { "start": { - "line": 321, + "line": 327, "column": 23 }, "end": { - "line": 325, + "line": 331, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 12038, - "end": 12138, + "start": 12298, + "end": 12398, "loc": { "start": { - "line": 322, + "line": 328, "column": 20 }, "end": { - "line": 323, + "line": 329, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 12038, - "end": 12137, + "start": 12298, + "end": 12397, "loc": { "start": { - "line": 322, + "line": 328, "column": 20 }, "end": { - "line": 323, + "line": 329, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 12038, - "end": 12057, + "start": 12298, + "end": 12317, "loc": { "start": { - "line": 322, + "line": 328, "column": 20 }, "end": { - "line": 322, + "line": 328, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 12038, - "end": 12049, + "start": 12298, + "end": 12309, "loc": { "start": { - "line": 322, + "line": 328, "column": 20 }, "end": { - "line": 322, + "line": 328, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 12038, - "end": 12042, + "start": 12298, + "end": 12302, "loc": { "start": { - "line": 322, + "line": 328, "column": 20 }, "end": { - "line": 322, + "line": 328, "column": 24 } } }, "property": { "type": "Identifier", - "start": 12043, - "end": 12049, + "start": 12303, + "end": 12309, "loc": { "start": { - "line": 322, + "line": 328, "column": 25 }, "end": { - "line": 322, + "line": 328, "column": 31 }, "identifierName": "player" @@ -68816,15 +69806,15 @@ }, "property": { "type": "Identifier", - "start": 12050, - "end": 12057, + "start": 12310, + "end": 12317, "loc": { "start": { - "line": 322, + "line": 328, "column": 32 }, "end": { - "line": 322, + "line": 328, "column": 39 }, "identifierName": "trigger" @@ -68836,29 +69826,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 12058, - "end": 12069, + "start": 12318, + "end": 12329, "loc": { "start": { - "line": 322, + "line": 328, "column": 40 }, "end": { - "line": 322, + "line": 328, "column": 51 } }, "object": { "type": "Identifier", - "start": 12058, - "end": 12063, + "start": 12318, + "end": 12323, "loc": { "start": { - "line": 322, + "line": 328, "column": 40 }, "end": { - "line": 322, + "line": 328, "column": 45 }, "identifierName": "Event" @@ -68867,15 +69857,15 @@ }, "property": { "type": "Identifier", - "start": 12064, - "end": 12069, + "start": 12324, + "end": 12329, "loc": { "start": { - "line": 322, + "line": 328, "column": 46 }, "end": { - "line": 322, + "line": 328, "column": 51 }, "identifierName": "ERROR" @@ -68886,29 +69876,29 @@ }, { "type": "BinaryExpression", - "start": 12095, - "end": 12136, + "start": 12355, + "end": 12396, "loc": { "start": { - "line": 323, + "line": 329, "column": 24 }, "end": { - "line": 323, + "line": 329, "column": 65 } }, "left": { "type": "StringLiteral", - "start": 12095, - "end": 12128, + "start": 12355, + "end": 12388, "loc": { "start": { - "line": 323, + "line": 329, "column": 24 }, "end": { - "line": 323, + "line": 329, "column": 57 } }, @@ -68921,15 +69911,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 12131, - "end": 12136, + "start": 12391, + "end": 12396, "loc": { "start": { - "line": 323, + "line": 329, "column": 60 }, "end": { - "line": 323, + "line": 329, "column": 65 }, "identifierName": "peaks" @@ -68942,72 +69932,72 @@ }, { "type": "ExpressionStatement", - "start": 12159, - "end": 12182, + "start": 12419, + "end": 12442, "loc": { "start": { - "line": 324, + "line": 330, "column": 20 }, "end": { - "line": 324, + "line": 330, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 12159, - "end": 12181, + "start": 12419, + "end": 12441, "loc": { "start": { - "line": 324, + "line": 330, "column": 20 }, "end": { - "line": 324, + "line": 330, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 12159, - "end": 12167, + "start": 12419, + "end": 12427, "loc": { "start": { - "line": 324, + "line": 330, "column": 20 }, "end": { - "line": 324, + "line": 330, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 12159, - "end": 12163, + "start": 12419, + "end": 12423, "loc": { "start": { - "line": 324, + "line": 330, "column": 20 }, "end": { - "line": 324, + "line": 330, "column": 24 } } }, "property": { "type": "Identifier", - "start": 12164, - "end": 12167, + "start": 12424, + "end": 12427, "loc": { "start": { - "line": 324, + "line": 330, "column": 25 }, "end": { - "line": 324, + "line": 330, "column": 28 }, "identifierName": "log" @@ -69019,15 +70009,15 @@ "arguments": [ { "type": "Identifier", - "start": 12168, - "end": 12171, + "start": 12428, + "end": 12431, "loc": { "start": { - "line": 324, + "line": 330, "column": 29 }, "end": { - "line": 324, + "line": 330, "column": 32 }, "identifierName": "err" @@ -69036,15 +70026,15 @@ }, { "type": "StringLiteral", - "start": 12173, - "end": 12180, + "start": 12433, + "end": 12440, "loc": { "start": { - "line": 324, + "line": 330, "column": 34 }, "end": { - "line": 324, + "line": 330, "column": 41 } }, @@ -69064,15 +70054,15 @@ { "type": "CommentLine", "value": " check for data property containing peaks", - "start": 11854, - "end": 11897, + "start": 12114, + "end": 12157, "loc": { "start": { - "line": 318, + "line": 324, "column": 16 }, "end": { - "line": 318, + "line": 324, "column": 59 } } @@ -69088,57 +70078,57 @@ }, { "type": "ExpressionStatement", - "start": 12229, - "end": 12505, + "start": 12489, + "end": 12715, "loc": { "start": { - "line": 327, + "line": 333, "column": 12 }, "end": { - "line": 332, + "line": 337, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 12229, - "end": 12504, + "start": 12489, + "end": 12714, "loc": { "start": { - "line": 327, + "line": 333, "column": 12 }, "end": { - "line": 332, + "line": 337, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 12229, - "end": 12239, + "start": 12489, + "end": 12501, "loc": { "start": { - "line": 327, + "line": 333, "column": 12 }, "end": { - "line": 327, - "column": 22 + "line": 333, + "column": 24 } }, "object": { "type": "Identifier", - "start": 12229, - "end": 12236, + "start": 12489, + "end": 12496, "loc": { "start": { - "line": 327, + "line": 333, "column": 12 }, "end": { - "line": 327, + "line": 333, "column": 19 }, "identifierName": "request" @@ -69147,36 +70137,36 @@ }, "property": { "type": "Identifier", - "start": 12237, - "end": 12239, + "start": 12497, + "end": 12501, "loc": { "start": { - "line": 327, + "line": 333, "column": 20 }, "end": { - "line": 327, - "column": 22 + "line": 333, + "column": 24 }, - "identifierName": "on" + "identifierName": "once" }, - "name": "on" + "name": "once" }, "computed": false }, "arguments": [ { "type": "StringLiteral", - "start": 12240, - "end": 12247, + "start": 12502, + "end": 12509, "loc": { "start": { - "line": 327, - "column": 23 + "line": 333, + "column": 25 }, "end": { - "line": 327, - "column": 30 + "line": 333, + "column": 32 } }, "extra": { @@ -69187,15 +70177,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 12249, - "end": 12503, + "start": 12511, + "end": 12713, "loc": { "start": { - "line": 327, - "column": 32 + "line": 333, + "column": 34 }, "end": { - "line": 332, + "line": 337, "column": 13 } }, @@ -69206,16 +70196,16 @@ "params": [ { "type": "Identifier", - "start": 12249, - "end": 12250, + "start": 12511, + "end": 12512, "loc": { "start": { - "line": 327, - "column": 32 + "line": 333, + "column": 34 }, "end": { - "line": 327, - "column": 33 + "line": 333, + "column": 35 }, "identifierName": "e" }, @@ -69224,150 +70214,233 @@ ], "body": { "type": "BlockStatement", - "start": 12254, - "end": 12503, + "start": 12516, + "end": 12713, "loc": { "start": { - "line": 327, - "column": 37 + "line": 333, + "column": 39 }, "end": { - "line": 332, + "line": 337, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12272, - "end": 12401, + "start": 12534, + "end": 12699, "loc": { "start": { - "line": 328, + "line": 334, "column": 16 }, "end": { - "line": 329, - "column": 73 + "line": 336, + "column": 65 } }, "expression": { "type": "CallExpression", - "start": 12272, - "end": 12400, + "start": 12534, + "end": 12698, "loc": { "start": { - "line": 328, + "line": 334, "column": 16 }, "end": { - "line": 329, - "column": 72 + "line": 336, + "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 12272, - "end": 12280, + "start": 12534, + "end": 12553, "loc": { "start": { - "line": 328, + "line": 334, "column": 16 }, "end": { - "line": 328, - "column": 24 + "line": 334, + "column": 35 } }, "object": { - "type": "ThisExpression", - "start": 12272, - "end": 12276, + "type": "MemberExpression", + "start": 12534, + "end": 12545, "loc": { "start": { - "line": 328, + "line": 334, "column": 16 }, "end": { - "line": 328, - "column": 20 + "line": 334, + "column": 27 } - } + }, + "object": { + "type": "ThisExpression", + "start": 12534, + "end": 12538, + "loc": { + "start": { + "line": 334, + "column": 16 + }, + "end": { + "line": 334, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 12539, + "end": 12545, + "loc": { + "start": { + "line": 334, + "column": 21 + }, + "end": { + "line": 334, + "column": 27 + }, + "identifierName": "player" + }, + "name": "player" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 12277, - "end": 12280, + "start": 12546, + "end": 12553, "loc": { "start": { - "line": 328, - "column": 21 + "line": 334, + "column": 28 }, "end": { - "line": 328, - "column": 24 + "line": 334, + "column": 35 }, - "identifierName": "log" + "identifierName": "trigger" }, - "name": "log" + "name": "trigger" }, "computed": false }, "arguments": [ + { + "type": "MemberExpression", + "start": 12554, + "end": 12565, + "loc": { + "start": { + "line": 334, + "column": 36 + }, + "end": { + "line": 334, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 12554, + "end": 12559, + "loc": { + "start": { + "line": 334, + "column": 36 + }, + "end": { + "line": 334, + "column": 41 + }, + "identifierName": "Event" + }, + "name": "Event" + }, + "property": { + "type": "Identifier", + "start": 12560, + "end": 12565, + "loc": { + "start": { + "line": 334, + "column": 42 + }, + "end": { + "line": 334, + "column": 47 + }, + "identifierName": "ERROR" + }, + "name": "ERROR" + }, + "computed": false + }, { "type": "BinaryExpression", - "start": 12281, - "end": 12391, + "start": 12587, + "end": 12697, "loc": { "start": { - "line": 328, - "column": 25 + "line": 335, + "column": 20 }, "end": { - "line": 329, + "line": 336, "column": 63 } }, "left": { "type": "BinaryExpression", - "start": 12281, - "end": 12365, + "start": 12587, + "end": 12671, "loc": { "start": { - "line": 328, - "column": 25 + "line": 335, + "column": 20 }, "end": { - "line": 329, + "line": 336, "column": 37 } }, "left": { "type": "BinaryExpression", - "start": 12281, - "end": 12325, + "start": 12587, + "end": 12631, "loc": { "start": { - "line": 328, - "column": 25 + "line": 335, + "column": 20 }, "end": { - "line": 328, - "column": 69 + "line": 335, + "column": 64 } }, "left": { "type": "StringLiteral", - "start": 12281, - "end": 12317, + "start": 12587, + "end": 12623, "loc": { "start": { - "line": 328, - "column": 25 + "line": 335, + "column": 20 }, "end": { - "line": 328, - "column": 61 + "line": 335, + "column": 56 } }, "extra": { @@ -69379,16 +70452,16 @@ "operator": "+", "right": { "type": "Identifier", - "start": 12320, - "end": 12325, + "start": 12626, + "end": 12631, "loc": { "start": { - "line": 328, - "column": 64 + "line": 335, + "column": 59 }, "end": { - "line": 328, - "column": 69 + "line": 335, + "column": 64 }, "identifierName": "peaks" }, @@ -69398,15 +70471,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 12348, - "end": 12365, + "start": 12654, + "end": 12671, "loc": { "start": { - "line": 329, + "line": 336, "column": 20 }, "end": { - "line": 329, + "line": 336, "column": 37 } }, @@ -69420,43 +70493,43 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 12368, - "end": 12391, + "start": 12674, + "end": 12697, "loc": { "start": { - "line": 329, + "line": 336, "column": 40 }, "end": { - "line": 329, + "line": 336, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 12368, - "end": 12384, + "start": 12674, + "end": 12690, "loc": { "start": { - "line": 329, + "line": 336, "column": 40 }, "end": { - "line": 329, + "line": 336, "column": 56 } }, "object": { "type": "Identifier", - "start": 12368, - "end": 12375, + "start": 12674, + "end": 12681, "loc": { "start": { - "line": 329, + "line": 336, "column": 40 }, "end": { - "line": 329, + "line": 336, "column": 47 }, "identifierName": "request" @@ -69465,15 +70538,15 @@ }, "property": { "type": "Identifier", - "start": 12376, - "end": 12384, + "start": 12682, + "end": 12690, "loc": { "start": { - "line": 329, + "line": 336, "column": 48 }, "end": { - "line": 329, + "line": 336, "column": 56 }, "identifierName": "response" @@ -69484,15 +70557,15 @@ }, "property": { "type": "Identifier", - "start": 12385, - "end": 12391, + "start": 12691, + "end": 12697, "loc": { "start": { - "line": 329, + "line": 336, "column": 57 }, "end": { - "line": 329, + "line": 336, "column": 63 }, "identifierName": "status" @@ -69501,289 +70574,6 @@ }, "computed": false } - }, - { - "type": "StringLiteral", - "start": 12393, - "end": 12399, - "loc": { - "start": { - "line": 329, - "column": 65 - }, - "end": { - "line": 329, - "column": 71 - } - }, - "extra": { - "rawValue": "warn", - "raw": "'warn'" - }, - "value": "warn" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 12418, - "end": 12450, - "loc": { - "start": { - "line": 330, - "column": 16 - }, - "end": { - "line": 330, - "column": 48 - } - }, - "expression": { - "type": "CallExpression", - "start": 12418, - "end": 12449, - "loc": { - "start": { - "line": 330, - "column": 16 - }, - "end": { - "line": 330, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 12418, - "end": 12426, - "loc": { - "start": { - "line": 330, - "column": 16 - }, - "end": { - "line": 330, - "column": 24 - } - }, - "object": { - "type": "ThisExpression", - "start": 12418, - "end": 12422, - "loc": { - "start": { - "line": 330, - "column": 16 - }, - "end": { - "line": 330, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 12423, - "end": 12426, - "loc": { - "start": { - "line": 330, - "column": 21 - }, - "end": { - "line": 330, - "column": 24 - }, - "identifierName": "log" - }, - "name": "log" - }, - "computed": false - }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 12427, - "end": 12448, - "loc": { - "start": { - "line": 330, - "column": 25 - }, - "end": { - "line": 330, - "column": 46 - } - }, - "left": { - "type": "StringLiteral", - "start": 12427, - "end": 12442, - "loc": { - "start": { - "line": 330, - "column": 25 - }, - "end": { - "line": 330, - "column": 40 - } - }, - "extra": { - "rawValue": "Loading URL: ", - "raw": "'Loading URL: '" - }, - "value": "Loading URL: " - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 12445, - "end": 12448, - "loc": { - "start": { - "line": 330, - "column": 43 - }, - "end": { - "line": 330, - "column": 46 - }, - "identifierName": "url" - }, - "name": "url" - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 12467, - "end": 12489, - "loc": { - "start": { - "line": 331, - "column": 16 - }, - "end": { - "line": 331, - "column": 38 - } - }, - "expression": { - "type": "CallExpression", - "start": 12467, - "end": 12488, - "loc": { - "start": { - "line": 331, - "column": 16 - }, - "end": { - "line": 331, - "column": 37 - } - }, - "callee": { - "type": "MemberExpression", - "start": 12467, - "end": 12483, - "loc": { - "start": { - "line": 331, - "column": 16 - }, - "end": { - "line": 331, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 12467, - "end": 12478, - "loc": { - "start": { - "line": 331, - "column": 16 - }, - "end": { - "line": 331, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 12467, - "end": 12471, - "loc": { - "start": { - "line": 331, - "column": 16 - }, - "end": { - "line": 331, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 12472, - "end": 12478, - "loc": { - "start": { - "line": 331, - "column": 21 - }, - "end": { - "line": 331, - "column": 27 - }, - "identifierName": "surfer" - }, - "name": "surfer" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 12479, - "end": 12483, - "loc": { - "start": { - "line": 331, - "column": 28 - }, - "end": { - "line": 331, - "column": 32 - }, - "identifierName": "load" - }, - "name": "load" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 12484, - "end": 12487, - "loc": { - "start": { - "line": 331, - "column": 33 - }, - "end": { - "line": 331, - "column": 36 - }, - "identifierName": "url" - }, - "name": "url" } ] } @@ -69807,15 +70597,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 10771, - "end": 11063, + "start": 11031, + "end": 11323, "loc": { "start": { - "line": 290, + "line": 296, "column": 4 }, "end": { - "line": 297, + "line": 303, "column": 7 } } @@ -69825,15 +70615,15 @@ { "type": "CommentBlock", "value": "*\n * Start/resume playback or microphone.\n ", - "start": 12527, - "end": 12582, + "start": 12737, + "end": 12792, "loc": { "start": { - "line": 336, + "line": 341, "column": 4 }, "end": { - "line": 338, + "line": 343, "column": 7 } } @@ -69842,15 +70632,15 @@ }, { "type": "ClassMethod", - "start": 12587, - "end": 13627, + "start": 12797, + "end": 13837, "loc": { "start": { - "line": 339, + "line": 344, "column": 4 }, "end": { - "line": 372, + "line": 377, "column": 5 } }, @@ -69858,15 +70648,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12587, - "end": 12591, + "start": 12797, + "end": 12801, "loc": { "start": { - "line": 339, + "line": 344, "column": 4 }, "end": { - "line": 339, + "line": 344, "column": 8 }, "identifierName": "play" @@ -69882,114 +70672,114 @@ "params": [], "body": { "type": "BlockStatement", - "start": 12594, - "end": 13627, + "start": 12804, + "end": 13837, "loc": { "start": { - "line": 339, + "line": 344, "column": 11 }, "end": { - "line": 372, + "line": 377, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 12633, - "end": 12818, + "start": 12843, + "end": 13028, "loc": { "start": { - "line": 341, + "line": 346, "column": 8 }, "end": { - "line": 344, + "line": 349, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 12637, - "end": 12745, + "start": 12847, + "end": 12955, "loc": { "start": { - "line": 341, + "line": 346, "column": 12 }, "end": { - "line": 342, + "line": 347, "column": 57 } }, "left": { "type": "BinaryExpression", - "start": 12637, - "end": 12684, + "start": 12847, + "end": 12894, "loc": { "start": { - "line": 341, + "line": 346, "column": 12 }, "end": { - "line": 341, + "line": 346, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 12637, - "end": 12670, + "start": 12847, + "end": 12880, "loc": { "start": { - "line": 341, + "line": 346, "column": 12 }, "end": { - "line": 341, + "line": 346, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 12637, - "end": 12659, + "start": 12847, + "end": 12869, "loc": { "start": { - "line": 341, + "line": 346, "column": 12 }, "end": { - "line": 341, + "line": 346, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12637, - "end": 12648, + "start": 12847, + "end": 12858, "loc": { "start": { - "line": 341, + "line": 346, "column": 12 }, "end": { - "line": 341, + "line": 346, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12637, - "end": 12641, + "start": 12847, + "end": 12851, "loc": { "start": { - "line": 341, + "line": 346, "column": 12 }, "end": { - "line": 341, + "line": 346, "column": 16 } }, @@ -69997,15 +70787,15 @@ }, "property": { "type": "Identifier", - "start": 12642, - "end": 12648, + "start": 12852, + "end": 12858, "loc": { "start": { - "line": 341, + "line": 346, "column": 17 }, "end": { - "line": 341, + "line": 346, "column": 23 }, "identifierName": "player" @@ -70017,15 +70807,15 @@ }, "property": { "type": "Identifier", - "start": 12649, - "end": 12659, + "start": 12859, + "end": 12869, "loc": { "start": { - "line": 341, + "line": 346, "column": 24 }, "end": { - "line": 341, + "line": 346, "column": 34 }, "identifierName": "controlBar" @@ -70037,15 +70827,15 @@ }, "property": { "type": "Identifier", - "start": 12660, - "end": 12670, + "start": 12870, + "end": 12880, "loc": { "start": { - "line": 341, + "line": 346, "column": 35 }, "end": { - "line": 341, + "line": 346, "column": 45 }, "identifierName": "playToggle" @@ -70058,15 +70848,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 12675, - "end": 12684, + "start": 12885, + "end": 12894, "loc": { "start": { - "line": 341, + "line": 346, "column": 50 }, "end": { - "line": 341, + "line": 346, "column": 59 }, "identifierName": "undefined" @@ -70078,100 +70868,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 12700, - "end": 12745, + "start": 12910, + "end": 12955, "loc": { "start": { - "line": 342, + "line": 347, "column": 12 }, "end": { - "line": 342, + "line": 347, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 12700, - "end": 12743, + "start": 12910, + "end": 12953, "loc": { "start": { - "line": 342, + "line": 347, "column": 12 }, "end": { - "line": 342, + "line": 347, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 12700, - "end": 12733, + "start": 12910, + "end": 12943, "loc": { "start": { - "line": 342, + "line": 347, "column": 12 }, "end": { - "line": 342, + "line": 347, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 12700, - "end": 12722, + "start": 12910, + "end": 12932, "loc": { "start": { - "line": 342, + "line": 347, "column": 12 }, "end": { - "line": 342, + "line": 347, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12700, - "end": 12711, + "start": 12910, + "end": 12921, "loc": { "start": { - "line": 342, + "line": 347, "column": 12 }, "end": { - "line": 342, + "line": 347, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12700, - "end": 12704, + "start": 12910, + "end": 12914, "loc": { "start": { - "line": 342, + "line": 347, "column": 12 }, "end": { - "line": 342, + "line": 347, "column": 16 } } }, "property": { "type": "Identifier", - "start": 12705, - "end": 12711, + "start": 12915, + "end": 12921, "loc": { "start": { - "line": 342, + "line": 347, "column": 17 }, "end": { - "line": 342, + "line": 347, "column": 23 }, "identifierName": "player" @@ -70182,15 +70972,15 @@ }, "property": { "type": "Identifier", - "start": 12712, - "end": 12722, + "start": 12922, + "end": 12932, "loc": { "start": { - "line": 342, + "line": 347, "column": 24 }, "end": { - "line": 342, + "line": 347, "column": 34 }, "identifierName": "controlBar" @@ -70201,15 +70991,15 @@ }, "property": { "type": "Identifier", - "start": 12723, - "end": 12733, + "start": 12933, + "end": 12943, "loc": { "start": { - "line": 342, + "line": 347, "column": 35 }, "end": { - "line": 342, + "line": 347, "column": 45 }, "identifierName": "playToggle" @@ -70220,15 +71010,15 @@ }, "property": { "type": "Identifier", - "start": 12734, - "end": 12743, + "start": 12944, + "end": 12953, "loc": { "start": { - "line": 342, + "line": 347, "column": 46 }, "end": { - "line": 342, + "line": 347, "column": 55 }, "identifierName": "contentEl" @@ -70243,129 +71033,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 12747, - "end": 12818, + "start": 12957, + "end": 13028, "loc": { "start": { - "line": 342, + "line": 347, "column": 59 }, "end": { - "line": 344, + "line": 349, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 12761, - "end": 12808, + "start": 12971, + "end": 13018, "loc": { "start": { - "line": 343, + "line": 348, "column": 12 }, "end": { - "line": 343, + "line": 348, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 12761, - "end": 12807, + "start": 12971, + "end": 13017, "loc": { "start": { - "line": 343, + "line": 348, "column": 12 }, "end": { - "line": 343, + "line": 348, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 12761, - "end": 12805, + "start": 12971, + "end": 13015, "loc": { "start": { - "line": 343, + "line": 348, "column": 12 }, "end": { - "line": 343, + "line": 348, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 12761, - "end": 12794, + "start": 12971, + "end": 13004, "loc": { "start": { - "line": 343, + "line": 348, "column": 12 }, "end": { - "line": 343, + "line": 348, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 12761, - "end": 12783, + "start": 12971, + "end": 12993, "loc": { "start": { - "line": 343, + "line": 348, "column": 12 }, "end": { - "line": 343, + "line": 348, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12761, - "end": 12772, + "start": 12971, + "end": 12982, "loc": { "start": { - "line": 343, + "line": 348, "column": 12 }, "end": { - "line": 343, + "line": 348, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12761, - "end": 12765, + "start": 12971, + "end": 12975, "loc": { "start": { - "line": 343, + "line": 348, "column": 12 }, "end": { - "line": 343, + "line": 348, "column": 16 } } }, "property": { "type": "Identifier", - "start": 12766, - "end": 12772, + "start": 12976, + "end": 12982, "loc": { "start": { - "line": 343, + "line": 348, "column": 17 }, "end": { - "line": 343, + "line": 348, "column": 23 }, "identifierName": "player" @@ -70376,15 +71166,15 @@ }, "property": { "type": "Identifier", - "start": 12773, - "end": 12783, + "start": 12983, + "end": 12993, "loc": { "start": { - "line": 343, + "line": 348, "column": 24 }, "end": { - "line": 343, + "line": 348, "column": 34 }, "identifierName": "controlBar" @@ -70395,15 +71185,15 @@ }, "property": { "type": "Identifier", - "start": 12784, - "end": 12794, + "start": 12994, + "end": 13004, "loc": { "start": { - "line": 343, + "line": 348, "column": 35 }, "end": { - "line": 343, + "line": 348, "column": 45 }, "identifierName": "playToggle" @@ -70414,15 +71204,15 @@ }, "property": { "type": "Identifier", - "start": 12795, - "end": 12805, + "start": 13005, + "end": 13015, "loc": { "start": { - "line": 343, + "line": 348, "column": 46 }, "end": { - "line": 343, + "line": 348, "column": 56 }, "identifierName": "handlePlay" @@ -70442,15 +71232,15 @@ { "type": "CommentLine", "value": " show pause button", - "start": 12604, - "end": 12624, + "start": 12814, + "end": 12834, "loc": { "start": { - "line": 340, + "line": 345, "column": 8 }, "end": { - "line": 340, + "line": 345, "column": 28 } } @@ -70459,58 +71249,58 @@ }, { "type": "IfStatement", - "start": 12828, - "end": 13621, + "start": 13038, + "end": 13831, "loc": { "start": { - "line": 346, + "line": 351, "column": 8 }, "end": { - "line": 371, + "line": 376, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 12832, - "end": 12845, + "start": 13042, + "end": 13055, "loc": { "start": { - "line": 346, + "line": 351, "column": 12 }, "end": { - "line": 346, + "line": 351, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 12832, - "end": 12836, + "start": 13042, + "end": 13046, "loc": { "start": { - "line": 346, + "line": 351, "column": 12 }, "end": { - "line": 346, + "line": 351, "column": 16 } } }, "property": { "type": "Identifier", - "start": 12837, - "end": 12845, + "start": 13047, + "end": 13055, "loc": { "start": { - "line": 346, + "line": 351, "column": 17 }, "end": { - "line": 346, + "line": 351, "column": 25 }, "identifierName": "liveMode" @@ -70521,44 +71311,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 12847, - "end": 13406, + "start": 13057, + "end": 13616, "loc": { "start": { - "line": 346, + "line": 351, "column": 27 }, "end": { - "line": 363, + "line": 368, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 12914, - "end": 13396, + "start": 13124, + "end": 13606, "loc": { "start": { - "line": 348, + "line": 353, "column": 12 }, "end": { - "line": 362, + "line": 367, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 12918, - "end": 12948, + "start": 13128, + "end": 13158, "loc": { "start": { - "line": 348, + "line": 353, "column": 16 }, "end": { - "line": 348, + "line": 353, "column": 46 } }, @@ -70566,57 +71356,57 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 12919, - "end": 12948, + "start": 13129, + "end": 13158, "loc": { "start": { - "line": 348, + "line": 353, "column": 17 }, "end": { - "line": 348, + "line": 353, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 12919, - "end": 12941, + "start": 13129, + "end": 13151, "loc": { "start": { - "line": 348, + "line": 353, "column": 17 }, "end": { - "line": 348, + "line": 353, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 12919, - "end": 12930, + "start": 13129, + "end": 13140, "loc": { "start": { - "line": 348, + "line": 353, "column": 17 }, "end": { - "line": 348, + "line": 353, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 12919, - "end": 12923, + "start": 13129, + "end": 13133, "loc": { "start": { - "line": 348, + "line": 353, "column": 17 }, "end": { - "line": 348, + "line": 353, "column": 21 } }, @@ -70624,15 +71414,15 @@ }, "property": { "type": "Identifier", - "start": 12924, - "end": 12930, + "start": 13134, + "end": 13140, "loc": { "start": { - "line": 348, + "line": 353, "column": 22 }, "end": { - "line": 348, + "line": 353, "column": 28 }, "identifierName": "surfer" @@ -70644,15 +71434,15 @@ }, "property": { "type": "Identifier", - "start": 12931, - "end": 12941, + "start": 13141, + "end": 13151, "loc": { "start": { - "line": 348, + "line": 353, "column": 29 }, "end": { - "line": 348, + "line": 353, "column": 39 }, "identifierName": "microphone" @@ -70664,15 +71454,15 @@ }, "property": { "type": "Identifier", - "start": 12942, - "end": 12948, + "start": 13152, + "end": 13158, "loc": { "start": { - "line": 348, + "line": 353, "column": 40 }, "end": { - "line": 348, + "line": 353, "column": 46 }, "identifierName": "active" @@ -70689,87 +71479,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 12962, - "end": 13071, + "start": 13172, + "end": 13281, "loc": { "start": { - "line": 349, + "line": 354, "column": 12 }, "end": { - "line": 352, + "line": 357, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12980, - "end": 13009, + "start": 13190, + "end": 13219, "loc": { "start": { - "line": 350, + "line": 355, "column": 16 }, "end": { - "line": 350, + "line": 355, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 12980, - "end": 13008, + "start": 13190, + "end": 13218, "loc": { "start": { - "line": 350, + "line": 355, "column": 16 }, "end": { - "line": 350, + "line": 355, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 12980, - "end": 12988, + "start": 13190, + "end": 13198, "loc": { "start": { - "line": 350, + "line": 355, "column": 16 }, "end": { - "line": 350, + "line": 355, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 12980, - "end": 12984, + "start": 13190, + "end": 13194, "loc": { "start": { - "line": 350, + "line": 355, "column": 16 }, "end": { - "line": 350, + "line": 355, "column": 20 } } }, "property": { "type": "Identifier", - "start": 12985, - "end": 12988, + "start": 13195, + "end": 13198, "loc": { "start": { - "line": 350, + "line": 355, "column": 21 }, "end": { - "line": 350, + "line": 355, "column": 24 }, "identifierName": "log" @@ -70781,15 +71571,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 12989, - "end": 13007, + "start": 13199, + "end": 13217, "loc": { "start": { - "line": 350, + "line": 355, "column": 25 }, "end": { - "line": 350, + "line": 355, "column": 43 } }, @@ -70804,100 +71594,100 @@ }, { "type": "ExpressionStatement", - "start": 13026, - "end": 13057, + "start": 13236, + "end": 13267, "loc": { "start": { - "line": 351, + "line": 356, "column": 16 }, "end": { - "line": 351, + "line": 356, "column": 47 } }, "expression": { "type": "CallExpression", - "start": 13026, - "end": 13056, + "start": 13236, + "end": 13266, "loc": { "start": { - "line": 351, + "line": 356, "column": 16 }, "end": { - "line": 351, + "line": 356, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 13026, - "end": 13054, + "start": 13236, + "end": 13264, "loc": { "start": { - "line": 351, + "line": 356, "column": 16 }, "end": { - "line": 351, + "line": 356, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 13026, - "end": 13048, + "start": 13236, + "end": 13258, "loc": { "start": { - "line": 351, + "line": 356, "column": 16 }, "end": { - "line": 351, + "line": 356, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 13026, - "end": 13037, + "start": 13236, + "end": 13247, "loc": { "start": { - "line": 351, + "line": 356, "column": 16 }, "end": { - "line": 351, + "line": 356, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 13026, - "end": 13030, + "start": 13236, + "end": 13240, "loc": { "start": { - "line": 351, + "line": 356, "column": 16 }, "end": { - "line": 351, + "line": 356, "column": 20 } } }, "property": { "type": "Identifier", - "start": 13031, - "end": 13037, + "start": 13241, + "end": 13247, "loc": { "start": { - "line": 351, + "line": 356, "column": 21 }, "end": { - "line": 351, + "line": 356, "column": 27 }, "identifierName": "surfer" @@ -70908,15 +71698,15 @@ }, "property": { "type": "Identifier", - "start": 13038, - "end": 13048, + "start": 13248, + "end": 13258, "loc": { "start": { - "line": 351, + "line": 356, "column": 28 }, "end": { - "line": 351, + "line": 356, "column": 38 }, "identifierName": "microphone" @@ -70927,15 +71717,15 @@ }, "property": { "type": "Identifier", - "start": 13049, - "end": 13054, + "start": 13259, + "end": 13264, "loc": { "start": { - "line": 351, + "line": 356, "column": 39 }, "end": { - "line": 351, + "line": 356, "column": 44 }, "identifierName": "start" @@ -70952,59 +71742,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 13077, - "end": 13396, + "start": 13287, + "end": 13606, "loc": { "start": { - "line": 352, + "line": 357, "column": 19 }, "end": { - "line": 362, + "line": 367, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 13128, - "end": 13172, + "start": 13338, + "end": 13382, "loc": { "start": { - "line": 354, + "line": 359, "column": 16 }, "end": { - "line": 354, + "line": 359, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13132, - "end": 13171, + "start": 13342, + "end": 13381, "loc": { "start": { - "line": 354, + "line": 359, "column": 20 }, "end": { - "line": 354, + "line": 359, "column": 59 } }, "id": { "type": "Identifier", - "start": 13132, - "end": 13138, + "start": 13342, + "end": 13348, "loc": { "start": { - "line": 354, + "line": 359, "column": 20 }, "end": { - "line": 354, + "line": 359, "column": 26 }, "identifierName": "paused" @@ -71014,15 +71804,15 @@ }, "init": { "type": "UnaryExpression", - "start": 13141, - "end": 13171, + "start": 13351, + "end": 13381, "loc": { "start": { - "line": 354, + "line": 359, "column": 29 }, "end": { - "line": 354, + "line": 359, "column": 59 } }, @@ -71030,72 +71820,72 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 13142, - "end": 13171, + "start": 13352, + "end": 13381, "loc": { "start": { - "line": 354, + "line": 359, "column": 30 }, "end": { - "line": 354, + "line": 359, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 13142, - "end": 13164, + "start": 13352, + "end": 13374, "loc": { "start": { - "line": 354, + "line": 359, "column": 30 }, "end": { - "line": 354, + "line": 359, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 13142, - "end": 13153, + "start": 13352, + "end": 13363, "loc": { "start": { - "line": 354, + "line": 359, "column": 30 }, "end": { - "line": 354, + "line": 359, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 13142, - "end": 13146, + "start": 13352, + "end": 13356, "loc": { "start": { - "line": 354, + "line": 359, "column": 30 }, "end": { - "line": 354, + "line": 359, "column": 34 } } }, "property": { "type": "Identifier", - "start": 13147, - "end": 13153, + "start": 13357, + "end": 13363, "loc": { "start": { - "line": 354, + "line": 359, "column": 35 }, "end": { - "line": 354, + "line": 359, "column": 41 }, "identifierName": "surfer" @@ -71106,15 +71896,15 @@ }, "property": { "type": "Identifier", - "start": 13154, - "end": 13164, + "start": 13364, + "end": 13374, "loc": { "start": { - "line": 354, + "line": 359, "column": 42 }, "end": { - "line": 354, + "line": 359, "column": 52 }, "identifierName": "microphone" @@ -71125,15 +71915,15 @@ }, "property": { "type": "Identifier", - "start": 13165, - "end": 13171, + "start": 13375, + "end": 13381, "loc": { "start": { - "line": 354, + "line": 359, "column": 53 }, "end": { - "line": 354, + "line": 359, "column": 59 }, "identifierName": "paused" @@ -71154,15 +71944,15 @@ { "type": "CommentLine", "value": " toggle paused", - "start": 13095, - "end": 13111, + "start": 13305, + "end": 13321, "loc": { "start": { - "line": 353, + "line": 358, "column": 16 }, "end": { - "line": 353, + "line": 358, "column": 32 } } @@ -71171,29 +71961,29 @@ }, { "type": "IfStatement", - "start": 13190, - "end": 13382, + "start": 13400, + "end": 13592, "loc": { "start": { - "line": 356, + "line": 361, "column": 16 }, "end": { - "line": 361, + "line": 366, "column": 17 } }, "test": { "type": "Identifier", - "start": 13194, - "end": 13200, + "start": 13404, + "end": 13410, "loc": { "start": { - "line": 356, + "line": 361, "column": 20 }, "end": { - "line": 356, + "line": 361, "column": 26 }, "identifierName": "paused" @@ -71202,87 +71992,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 13202, - "end": 13255, + "start": 13412, + "end": 13465, "loc": { "start": { - "line": 356, + "line": 361, "column": 28 }, "end": { - "line": 358, + "line": 363, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 13224, - "end": 13237, + "start": 13434, + "end": 13447, "loc": { "start": { - "line": 357, + "line": 362, "column": 20 }, "end": { - "line": 357, + "line": 362, "column": 33 } }, "expression": { "type": "CallExpression", - "start": 13224, - "end": 13236, + "start": 13434, + "end": 13446, "loc": { "start": { - "line": 357, + "line": 362, "column": 20 }, "end": { - "line": 357, + "line": 362, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 13224, - "end": 13234, + "start": 13434, + "end": 13444, "loc": { "start": { - "line": 357, + "line": 362, "column": 20 }, "end": { - "line": 357, + "line": 362, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 13224, - "end": 13228, + "start": 13434, + "end": 13438, "loc": { "start": { - "line": 357, + "line": 362, "column": 20 }, "end": { - "line": 357, + "line": 362, "column": 24 } } }, "property": { "type": "Identifier", - "start": 13229, - "end": 13234, + "start": 13439, + "end": 13444, "loc": { "start": { - "line": 357, + "line": 362, "column": 25 }, "end": { - "line": 357, + "line": 362, "column": 30 }, "identifierName": "pause" @@ -71299,87 +72089,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 13261, - "end": 13382, + "start": 13471, + "end": 13592, "loc": { "start": { - "line": 358, + "line": 363, "column": 23 }, "end": { - "line": 361, + "line": 366, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 13283, - "end": 13313, + "start": 13493, + "end": 13523, "loc": { "start": { - "line": 359, + "line": 364, "column": 20 }, "end": { - "line": 359, + "line": 364, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 13283, - "end": 13312, + "start": 13493, + "end": 13522, "loc": { "start": { - "line": 359, + "line": 364, "column": 20 }, "end": { - "line": 359, + "line": 364, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 13283, - "end": 13291, + "start": 13493, + "end": 13501, "loc": { "start": { - "line": 359, + "line": 364, "column": 20 }, "end": { - "line": 359, + "line": 364, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 13283, - "end": 13287, + "start": 13493, + "end": 13497, "loc": { "start": { - "line": 359, + "line": 364, "column": 20 }, "end": { - "line": 359, + "line": 364, "column": 24 } } }, "property": { "type": "Identifier", - "start": 13288, - "end": 13291, + "start": 13498, + "end": 13501, "loc": { "start": { - "line": 359, + "line": 364, "column": 25 }, "end": { - "line": 359, + "line": 364, "column": 28 }, "identifierName": "log" @@ -71391,15 +72181,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13292, - "end": 13311, + "start": 13502, + "end": 13521, "loc": { "start": { - "line": 359, + "line": 364, "column": 29 }, "end": { - "line": 359, + "line": 364, "column": 48 } }, @@ -71414,100 +72204,100 @@ }, { "type": "ExpressionStatement", - "start": 13334, - "end": 13364, + "start": 13544, + "end": 13574, "loc": { "start": { - "line": 360, + "line": 365, "column": 20 }, "end": { - "line": 360, + "line": 365, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 13334, - "end": 13363, + "start": 13544, + "end": 13573, "loc": { "start": { - "line": 360, + "line": 365, "column": 20 }, "end": { - "line": 360, + "line": 365, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 13334, - "end": 13361, + "start": 13544, + "end": 13571, "loc": { "start": { - "line": 360, + "line": 365, "column": 20 }, "end": { - "line": 360, + "line": 365, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 13334, - "end": 13356, + "start": 13544, + "end": 13566, "loc": { "start": { - "line": 360, + "line": 365, "column": 20 }, "end": { - "line": 360, + "line": 365, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 13334, - "end": 13345, + "start": 13544, + "end": 13555, "loc": { "start": { - "line": 360, + "line": 365, "column": 20 }, "end": { - "line": 360, + "line": 365, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 13334, - "end": 13338, + "start": 13544, + "end": 13548, "loc": { "start": { - "line": 360, + "line": 365, "column": 20 }, "end": { - "line": 360, + "line": 365, "column": 24 } } }, "property": { "type": "Identifier", - "start": 13339, - "end": 13345, + "start": 13549, + "end": 13555, "loc": { "start": { - "line": 360, + "line": 365, "column": 25 }, "end": { - "line": 360, + "line": 365, "column": 31 }, "identifierName": "surfer" @@ -71518,15 +72308,15 @@ }, "property": { "type": "Identifier", - "start": 13346, - "end": 13356, + "start": 13556, + "end": 13566, "loc": { "start": { - "line": 360, + "line": 365, "column": 32 }, "end": { - "line": 360, + "line": 365, "column": 42 }, "identifierName": "microphone" @@ -71537,15 +72327,15 @@ }, "property": { "type": "Identifier", - "start": 13357, - "end": 13361, + "start": 13567, + "end": 13571, "loc": { "start": { - "line": 360, + "line": 365, "column": 43 }, "end": { - "line": 360, + "line": 365, "column": 47 }, "identifierName": "play" @@ -71568,15 +72358,15 @@ { "type": "CommentLine", "value": " start/resume microphone visualization", - "start": 12861, - "end": 12901, + "start": 13071, + "end": 13111, "loc": { "start": { - "line": 347, + "line": 352, "column": 12 }, "end": { - "line": 347, + "line": 352, "column": 52 } } @@ -71588,87 +72378,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 13412, - "end": 13621, + "start": 13622, + "end": 13831, "loc": { "start": { - "line": 363, + "line": 368, "column": 15 }, "end": { - "line": 371, + "line": 376, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 13426, - "end": 13453, + "start": 13636, + "end": 13663, "loc": { "start": { - "line": 364, + "line": 369, "column": 12 }, "end": { - "line": 364, + "line": 369, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 13426, - "end": 13452, + "start": 13636, + "end": 13662, "loc": { "start": { - "line": 364, + "line": 369, "column": 12 }, "end": { - "line": 364, + "line": 369, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 13426, - "end": 13434, + "start": 13636, + "end": 13644, "loc": { "start": { - "line": 364, + "line": 369, "column": 12 }, "end": { - "line": 364, + "line": 369, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 13426, - "end": 13430, + "start": 13636, + "end": 13640, "loc": { "start": { - "line": 364, + "line": 369, "column": 12 }, "end": { - "line": 364, + "line": 369, "column": 16 } } }, "property": { "type": "Identifier", - "start": 13431, - "end": 13434, + "start": 13641, + "end": 13644, "loc": { "start": { - "line": 364, + "line": 369, "column": 17 }, "end": { - "line": 364, + "line": 369, "column": 20 }, "identifierName": "log" @@ -71680,15 +72470,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13435, - "end": 13451, + "start": 13645, + "end": 13661, "loc": { "start": { - "line": 364, + "line": 369, "column": 21 }, "end": { - "line": 364, + "line": 369, "column": 37 } }, @@ -71704,15 +72494,15 @@ { "type": "CommentLine", "value": " put video.js player UI in playback mode", - "start": 13467, - "end": 13509, + "start": 13677, + "end": 13719, "loc": { "start": { - "line": 366, + "line": 371, "column": 12 }, "end": { - "line": 366, + "line": 371, "column": 54 } } @@ -71721,71 +72511,71 @@ }, { "type": "ExpressionStatement", - "start": 13522, - "end": 13541, + "start": 13732, + "end": 13751, "loc": { "start": { - "line": 367, + "line": 372, "column": 12 }, "end": { - "line": 367, + "line": 372, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 13522, - "end": 13540, + "start": 13732, + "end": 13750, "loc": { "start": { - "line": 367, + "line": 372, "column": 12 }, "end": { - "line": 367, + "line": 372, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 13522, - "end": 13538, + "start": 13732, + "end": 13748, "loc": { "start": { - "line": 367, + "line": 372, "column": 12 }, "end": { - "line": 367, + "line": 372, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 13522, - "end": 13533, + "start": 13732, + "end": 13743, "loc": { "start": { - "line": 367, + "line": 372, "column": 12 }, "end": { - "line": 367, + "line": 372, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13522, - "end": 13526, + "start": 13732, + "end": 13736, "loc": { "start": { - "line": 367, + "line": 372, "column": 12 }, "end": { - "line": 367, + "line": 372, "column": 16 } }, @@ -71793,15 +72583,15 @@ }, "property": { "type": "Identifier", - "start": 13527, - "end": 13533, + "start": 13737, + "end": 13743, "loc": { "start": { - "line": 367, + "line": 372, "column": 17 }, "end": { - "line": 367, + "line": 372, "column": 23 }, "identifierName": "player" @@ -71813,15 +72603,15 @@ }, "property": { "type": "Identifier", - "start": 13534, - "end": 13538, + "start": 13744, + "end": 13748, "loc": { "start": { - "line": 367, + "line": 372, "column": 24 }, "end": { - "line": 367, + "line": 372, "column": 28 }, "identifierName": "play" @@ -71838,15 +72628,15 @@ { "type": "CommentLine", "value": " put video.js player UI in playback mode", - "start": 13467, - "end": 13509, + "start": 13677, + "end": 13719, "loc": { "start": { - "line": 366, + "line": 371, "column": 12 }, "end": { - "line": 366, + "line": 371, "column": 54 } } @@ -71856,15 +72646,15 @@ { "type": "CommentLine", "value": " start surfer playback", - "start": 13555, - "end": 13579, + "start": 13765, + "end": 13789, "loc": { "start": { - "line": 369, + "line": 374, "column": 12 }, "end": { - "line": 369, + "line": 374, "column": 36 } } @@ -71873,71 +72663,71 @@ }, { "type": "ExpressionStatement", - "start": 13592, - "end": 13611, + "start": 13802, + "end": 13821, "loc": { "start": { - "line": 370, + "line": 375, "column": 12 }, "end": { - "line": 370, + "line": 375, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 13592, - "end": 13610, + "start": 13802, + "end": 13820, "loc": { "start": { - "line": 370, + "line": 375, "column": 12 }, "end": { - "line": 370, + "line": 375, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 13592, - "end": 13608, + "start": 13802, + "end": 13818, "loc": { "start": { - "line": 370, + "line": 375, "column": 12 }, "end": { - "line": 370, + "line": 375, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 13592, - "end": 13603, + "start": 13802, + "end": 13813, "loc": { "start": { - "line": 370, + "line": 375, "column": 12 }, "end": { - "line": 370, + "line": 375, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13592, - "end": 13596, + "start": 13802, + "end": 13806, "loc": { "start": { - "line": 370, + "line": 375, "column": 12 }, "end": { - "line": 370, + "line": 375, "column": 16 } }, @@ -71945,15 +72735,15 @@ }, "property": { "type": "Identifier", - "start": 13597, - "end": 13603, + "start": 13807, + "end": 13813, "loc": { "start": { - "line": 370, + "line": 375, "column": 17 }, "end": { - "line": 370, + "line": 375, "column": 23 }, "identifierName": "surfer" @@ -71965,15 +72755,15 @@ }, "property": { "type": "Identifier", - "start": 13604, - "end": 13608, + "start": 13814, + "end": 13818, "loc": { "start": { - "line": 370, + "line": 375, "column": 24 }, "end": { - "line": 370, + "line": 375, "column": 28 }, "identifierName": "play" @@ -71990,15 +72780,15 @@ { "type": "CommentLine", "value": " start surfer playback", - "start": 13555, - "end": 13579, + "start": 13765, + "end": 13789, "loc": { "start": { - "line": 369, + "line": 374, "column": 12 }, "end": { - "line": 369, + "line": 374, "column": 36 } } @@ -72017,15 +72807,15 @@ { "type": "CommentBlock", "value": "*\n * Start/resume playback or microphone.\n ", - "start": 12527, - "end": 12582, + "start": 12737, + "end": 12792, "loc": { "start": { - "line": 336, + "line": 341, "column": 4 }, "end": { - "line": 338, + "line": 343, "column": 7 } } @@ -72035,15 +72825,15 @@ { "type": "CommentBlock", "value": "*\n * Pauses playback or microphone visualization.\n ", - "start": 13633, - "end": 13696, + "start": 13843, + "end": 13906, "loc": { "start": { - "line": 374, + "line": 379, "column": 4 }, "end": { - "line": 376, + "line": 381, "column": 7 } } @@ -72052,15 +72842,15 @@ }, { "type": "ClassMethod", - "start": 13701, - "end": 14433, + "start": 13911, + "end": 14643, "loc": { "start": { - "line": 377, + "line": 382, "column": 4 }, "end": { - "line": 401, + "line": 406, "column": 5 } }, @@ -72068,15 +72858,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13701, - "end": 13706, + "start": 13911, + "end": 13916, "loc": { "start": { - "line": 377, + "line": 382, "column": 4 }, "end": { - "line": 377, + "line": 382, "column": 9 }, "identifierName": "pause" @@ -72092,114 +72882,114 @@ "params": [], "body": { "type": "BlockStatement", - "start": 13709, - "end": 14433, + "start": 13919, + "end": 14643, "loc": { "start": { - "line": 377, + "line": 382, "column": 12 }, "end": { - "line": 401, + "line": 406, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 13747, - "end": 13933, + "start": 13957, + "end": 14143, "loc": { "start": { - "line": 379, + "line": 384, "column": 8 }, "end": { - "line": 382, + "line": 387, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 13751, - "end": 13859, + "start": 13961, + "end": 14069, "loc": { "start": { - "line": 379, + "line": 384, "column": 12 }, "end": { - "line": 380, + "line": 385, "column": 57 } }, "left": { "type": "BinaryExpression", - "start": 13751, - "end": 13798, + "start": 13961, + "end": 14008, "loc": { "start": { - "line": 379, + "line": 384, "column": 12 }, "end": { - "line": 379, + "line": 384, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 13751, - "end": 13784, + "start": 13961, + "end": 13994, "loc": { "start": { - "line": 379, + "line": 384, "column": 12 }, "end": { - "line": 379, + "line": 384, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 13751, - "end": 13773, + "start": 13961, + "end": 13983, "loc": { "start": { - "line": 379, + "line": 384, "column": 12 }, "end": { - "line": 379, + "line": 384, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 13751, - "end": 13762, + "start": 13961, + "end": 13972, "loc": { "start": { - "line": 379, + "line": 384, "column": 12 }, "end": { - "line": 379, + "line": 384, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13751, - "end": 13755, + "start": 13961, + "end": 13965, "loc": { "start": { - "line": 379, + "line": 384, "column": 12 }, "end": { - "line": 379, + "line": 384, "column": 16 } }, @@ -72207,15 +72997,15 @@ }, "property": { "type": "Identifier", - "start": 13756, - "end": 13762, + "start": 13966, + "end": 13972, "loc": { "start": { - "line": 379, + "line": 384, "column": 17 }, "end": { - "line": 379, + "line": 384, "column": 23 }, "identifierName": "player" @@ -72227,15 +73017,15 @@ }, "property": { "type": "Identifier", - "start": 13763, - "end": 13773, + "start": 13973, + "end": 13983, "loc": { "start": { - "line": 379, + "line": 384, "column": 24 }, "end": { - "line": 379, + "line": 384, "column": 34 }, "identifierName": "controlBar" @@ -72247,15 +73037,15 @@ }, "property": { "type": "Identifier", - "start": 13774, - "end": 13784, + "start": 13984, + "end": 13994, "loc": { "start": { - "line": 379, + "line": 384, "column": 35 }, "end": { - "line": 379, + "line": 384, "column": 45 }, "identifierName": "playToggle" @@ -72268,15 +73058,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 13789, - "end": 13798, + "start": 13999, + "end": 14008, "loc": { "start": { - "line": 379, + "line": 384, "column": 50 }, "end": { - "line": 379, + "line": 384, "column": 59 }, "identifierName": "undefined" @@ -72288,100 +73078,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 13814, - "end": 13859, + "start": 14024, + "end": 14069, "loc": { "start": { - "line": 380, + "line": 385, "column": 12 }, "end": { - "line": 380, + "line": 385, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 13814, - "end": 13857, + "start": 14024, + "end": 14067, "loc": { "start": { - "line": 380, + "line": 385, "column": 12 }, "end": { - "line": 380, + "line": 385, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 13814, - "end": 13847, + "start": 14024, + "end": 14057, "loc": { "start": { - "line": 380, + "line": 385, "column": 12 }, "end": { - "line": 380, + "line": 385, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 13814, - "end": 13836, + "start": 14024, + "end": 14046, "loc": { "start": { - "line": 380, + "line": 385, "column": 12 }, "end": { - "line": 380, + "line": 385, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 13814, - "end": 13825, + "start": 14024, + "end": 14035, "loc": { "start": { - "line": 380, + "line": 385, "column": 12 }, "end": { - "line": 380, + "line": 385, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13814, - "end": 13818, + "start": 14024, + "end": 14028, "loc": { "start": { - "line": 380, + "line": 385, "column": 12 }, "end": { - "line": 380, + "line": 385, "column": 16 } } }, "property": { "type": "Identifier", - "start": 13819, - "end": 13825, + "start": 14029, + "end": 14035, "loc": { "start": { - "line": 380, + "line": 385, "column": 17 }, "end": { - "line": 380, + "line": 385, "column": 23 }, "identifierName": "player" @@ -72392,15 +73182,15 @@ }, "property": { "type": "Identifier", - "start": 13826, - "end": 13836, + "start": 14036, + "end": 14046, "loc": { "start": { - "line": 380, + "line": 385, "column": 24 }, "end": { - "line": 380, + "line": 385, "column": 34 }, "identifierName": "controlBar" @@ -72411,15 +73201,15 @@ }, "property": { "type": "Identifier", - "start": 13837, - "end": 13847, + "start": 14047, + "end": 14057, "loc": { "start": { - "line": 380, + "line": 385, "column": 35 }, "end": { - "line": 380, + "line": 385, "column": 45 }, "identifierName": "playToggle" @@ -72430,15 +73220,15 @@ }, "property": { "type": "Identifier", - "start": 13848, - "end": 13857, + "start": 14058, + "end": 14067, "loc": { "start": { - "line": 380, + "line": 385, "column": 46 }, "end": { - "line": 380, + "line": 385, "column": 55 }, "identifierName": "contentEl" @@ -72453,129 +73243,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 13861, - "end": 13933, + "start": 14071, + "end": 14143, "loc": { "start": { - "line": 380, + "line": 385, "column": 59 }, "end": { - "line": 382, + "line": 387, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 13875, - "end": 13923, + "start": 14085, + "end": 14133, "loc": { "start": { - "line": 381, + "line": 386, "column": 12 }, "end": { - "line": 381, + "line": 386, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 13875, - "end": 13922, + "start": 14085, + "end": 14132, "loc": { "start": { - "line": 381, + "line": 386, "column": 12 }, "end": { - "line": 381, + "line": 386, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 13875, - "end": 13920, + "start": 14085, + "end": 14130, "loc": { "start": { - "line": 381, + "line": 386, "column": 12 }, "end": { - "line": 381, + "line": 386, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 13875, - "end": 13908, + "start": 14085, + "end": 14118, "loc": { "start": { - "line": 381, + "line": 386, "column": 12 }, "end": { - "line": 381, + "line": 386, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 13875, - "end": 13897, + "start": 14085, + "end": 14107, "loc": { "start": { - "line": 381, + "line": 386, "column": 12 }, "end": { - "line": 381, + "line": 386, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 13875, - "end": 13886, + "start": 14085, + "end": 14096, "loc": { "start": { - "line": 381, + "line": 386, "column": 12 }, "end": { - "line": 381, + "line": 386, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13875, - "end": 13879, + "start": 14085, + "end": 14089, "loc": { "start": { - "line": 381, + "line": 386, "column": 12 }, "end": { - "line": 381, + "line": 386, "column": 16 } } }, "property": { "type": "Identifier", - "start": 13880, - "end": 13886, + "start": 14090, + "end": 14096, "loc": { "start": { - "line": 381, + "line": 386, "column": 17 }, "end": { - "line": 381, + "line": 386, "column": 23 }, "identifierName": "player" @@ -72586,15 +73376,15 @@ }, "property": { "type": "Identifier", - "start": 13887, - "end": 13897, + "start": 14097, + "end": 14107, "loc": { "start": { - "line": 381, + "line": 386, "column": 24 }, "end": { - "line": 381, + "line": 386, "column": 34 }, "identifierName": "controlBar" @@ -72605,15 +73395,15 @@ }, "property": { "type": "Identifier", - "start": 13898, - "end": 13908, + "start": 14108, + "end": 14118, "loc": { "start": { - "line": 381, + "line": 386, "column": 35 }, "end": { - "line": 381, + "line": 386, "column": 45 }, "identifierName": "playToggle" @@ -72624,15 +73414,15 @@ }, "property": { "type": "Identifier", - "start": 13909, - "end": 13920, + "start": 14119, + "end": 14130, "loc": { "start": { - "line": 381, + "line": 386, "column": 46 }, "end": { - "line": 381, + "line": 386, "column": 57 }, "identifierName": "handlePause" @@ -72652,15 +73442,15 @@ { "type": "CommentLine", "value": " show play button", - "start": 13719, - "end": 13738, + "start": 13929, + "end": 13948, "loc": { "start": { - "line": 378, + "line": 383, "column": 8 }, "end": { - "line": 378, + "line": 383, "column": 27 } } @@ -72669,58 +73459,58 @@ }, { "type": "IfStatement", - "start": 13943, - "end": 14427, + "start": 14153, + "end": 14637, "loc": { "start": { - "line": 384, + "line": 389, "column": 8 }, "end": { - "line": 400, + "line": 405, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 13947, - "end": 13960, + "start": 14157, + "end": 14170, "loc": { "start": { - "line": 384, + "line": 389, "column": 12 }, "end": { - "line": 384, + "line": 389, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 13947, - "end": 13951, + "start": 14157, + "end": 14161, "loc": { "start": { - "line": 384, + "line": 389, "column": 12 }, "end": { - "line": 384, + "line": 389, "column": 16 } } }, "property": { "type": "Identifier", - "start": 13952, - "end": 13960, + "start": 14162, + "end": 14170, "loc": { "start": { - "line": 384, + "line": 389, "column": 17 }, "end": { - "line": 384, + "line": 389, "column": 25 }, "identifierName": "liveMode" @@ -72731,72 +73521,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 13962, - "end": 14105, + "start": 14172, + "end": 14315, "loc": { "start": { - "line": 384, + "line": 389, "column": 27 }, "end": { - "line": 388, + "line": 393, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14022, - "end": 14051, + "start": 14232, + "end": 14261, "loc": { "start": { - "line": 386, + "line": 391, "column": 12 }, "end": { - "line": 386, + "line": 391, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 14022, - "end": 14050, + "start": 14232, + "end": 14260, "loc": { "start": { - "line": 386, + "line": 391, "column": 12 }, "end": { - "line": 386, + "line": 391, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 14022, - "end": 14030, + "start": 14232, + "end": 14240, "loc": { "start": { - "line": 386, + "line": 391, "column": 12 }, "end": { - "line": 386, + "line": 391, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 14022, - "end": 14026, + "start": 14232, + "end": 14236, "loc": { "start": { - "line": 386, + "line": 391, "column": 12 }, "end": { - "line": 386, + "line": 391, "column": 16 } }, @@ -72804,15 +73594,15 @@ }, "property": { "type": "Identifier", - "start": 14027, - "end": 14030, + "start": 14237, + "end": 14240, "loc": { "start": { - "line": 386, + "line": 391, "column": 17 }, "end": { - "line": 386, + "line": 391, "column": 20 }, "identifierName": "log" @@ -72825,15 +73615,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14031, - "end": 14049, + "start": 14241, + "end": 14259, "loc": { "start": { - "line": 386, + "line": 391, "column": 21 }, "end": { - "line": 386, + "line": 391, "column": 39 } }, @@ -72850,15 +73640,15 @@ { "type": "CommentLine", "value": " pause microphone visualization", - "start": 13976, - "end": 14009, + "start": 14186, + "end": 14219, "loc": { "start": { - "line": 385, + "line": 390, "column": 12 }, "end": { - "line": 385, + "line": 390, "column": 45 } } @@ -72867,100 +73657,100 @@ }, { "type": "ExpressionStatement", - "start": 14064, - "end": 14095, + "start": 14274, + "end": 14305, "loc": { "start": { - "line": 387, + "line": 392, "column": 12 }, "end": { - "line": 387, + "line": 392, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 14064, - "end": 14094, + "start": 14274, + "end": 14304, "loc": { "start": { - "line": 387, + "line": 392, "column": 12 }, "end": { - "line": 387, + "line": 392, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 14064, - "end": 14092, + "start": 14274, + "end": 14302, "loc": { "start": { - "line": 387, + "line": 392, "column": 12 }, "end": { - "line": 387, + "line": 392, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 14064, - "end": 14086, + "start": 14274, + "end": 14296, "loc": { "start": { - "line": 387, + "line": 392, "column": 12 }, "end": { - "line": 387, + "line": 392, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 14064, - "end": 14075, + "start": 14274, + "end": 14285, "loc": { "start": { - "line": 387, + "line": 392, "column": 12 }, "end": { - "line": 387, + "line": 392, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14064, - "end": 14068, + "start": 14274, + "end": 14278, "loc": { "start": { - "line": 387, + "line": 392, "column": 12 }, "end": { - "line": 387, + "line": 392, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14069, - "end": 14075, + "start": 14279, + "end": 14285, "loc": { "start": { - "line": 387, + "line": 392, "column": 17 }, "end": { - "line": 387, + "line": 392, "column": 23 }, "identifierName": "surfer" @@ -72971,15 +73761,15 @@ }, "property": { "type": "Identifier", - "start": 14076, - "end": 14086, + "start": 14286, + "end": 14296, "loc": { "start": { - "line": 387, + "line": 392, "column": 24 }, "end": { - "line": 387, + "line": 392, "column": 34 }, "identifierName": "microphone" @@ -72990,15 +73780,15 @@ }, "property": { "type": "Identifier", - "start": 14087, - "end": 14092, + "start": 14297, + "end": 14302, "loc": { "start": { - "line": 387, + "line": 392, "column": 35 }, "end": { - "line": 387, + "line": 392, "column": 40 }, "identifierName": "pause" @@ -73015,72 +73805,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 14111, - "end": 14427, + "start": 14321, + "end": 14637, "loc": { "start": { - "line": 388, + "line": 393, "column": 15 }, "end": { - "line": 400, + "line": 405, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14155, - "end": 14182, + "start": 14365, + "end": 14392, "loc": { "start": { - "line": 390, + "line": 395, "column": 12 }, "end": { - "line": 390, + "line": 395, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 14155, - "end": 14181, + "start": 14365, + "end": 14391, "loc": { "start": { - "line": 390, + "line": 395, "column": 12 }, "end": { - "line": 390, + "line": 395, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 14155, - "end": 14163, + "start": 14365, + "end": 14373, "loc": { "start": { - "line": 390, + "line": 395, "column": 12 }, "end": { - "line": 390, + "line": 395, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 14155, - "end": 14159, + "start": 14365, + "end": 14369, "loc": { "start": { - "line": 390, + "line": 395, "column": 12 }, "end": { - "line": 390, + "line": 395, "column": 16 } }, @@ -73088,15 +73878,15 @@ }, "property": { "type": "Identifier", - "start": 14160, - "end": 14163, + "start": 14370, + "end": 14373, "loc": { "start": { - "line": 390, + "line": 395, "column": 17 }, "end": { - "line": 390, + "line": 395, "column": 20 }, "identifierName": "log" @@ -73109,15 +73899,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14164, - "end": 14180, + "start": 14374, + "end": 14390, "loc": { "start": { - "line": 390, + "line": 395, "column": 21 }, "end": { - "line": 390, + "line": 395, "column": 37 } }, @@ -73134,15 +73924,15 @@ { "type": "CommentLine", "value": " pause playback", - "start": 14125, - "end": 14142, + "start": 14335, + "end": 14352, "loc": { "start": { - "line": 389, + "line": 394, "column": 12 }, "end": { - "line": 389, + "line": 394, "column": 29 } } @@ -73151,29 +73941,29 @@ }, { "type": "IfStatement", - "start": 14196, - "end": 14381, + "start": 14406, + "end": 14591, "loc": { "start": { - "line": 392, + "line": 397, "column": 12 }, "end": { - "line": 397, + "line": 402, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 14200, - "end": 14218, + "start": 14410, + "end": 14428, "loc": { "start": { - "line": 392, + "line": 397, "column": 16 }, "end": { - "line": 392, + "line": 397, "column": 34 } }, @@ -73181,44 +73971,44 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 14201, - "end": 14218, + "start": 14411, + "end": 14428, "loc": { "start": { - "line": 392, + "line": 397, "column": 17 }, "end": { - "line": 392, + "line": 397, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 14201, - "end": 14205, + "start": 14411, + "end": 14415, "loc": { "start": { - "line": 392, + "line": 397, "column": 17 }, "end": { - "line": 392, + "line": 397, "column": 21 } } }, "property": { "type": "Identifier", - "start": 14206, - "end": 14218, + "start": 14416, + "end": 14428, "loc": { "start": { - "line": 392, + "line": 397, "column": 22 }, "end": { - "line": 392, + "line": 397, "column": 34 }, "identifierName": "waveFinished" @@ -73233,86 +74023,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 14220, - "end": 14317, + "start": 14430, + "end": 14527, "loc": { "start": { - "line": 392, + "line": 397, "column": 36 }, "end": { - "line": 395, + "line": 400, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14283, - "end": 14303, + "start": 14493, + "end": 14513, "loc": { "start": { - "line": 394, + "line": 399, "column": 16 }, "end": { - "line": 394, + "line": 399, "column": 36 } }, "expression": { "type": "CallExpression", - "start": 14283, - "end": 14302, + "start": 14493, + "end": 14512, "loc": { "start": { - "line": 394, + "line": 399, "column": 16 }, "end": { - "line": 394, + "line": 399, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 14283, - "end": 14300, + "start": 14493, + "end": 14510, "loc": { "start": { - "line": 394, + "line": 399, "column": 16 }, "end": { - "line": 394, + "line": 399, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 14283, - "end": 14294, + "start": 14493, + "end": 14504, "loc": { "start": { - "line": 394, + "line": 399, "column": 16 }, "end": { - "line": 394, + "line": 399, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 14283, - "end": 14287, + "start": 14493, + "end": 14497, "loc": { "start": { - "line": 394, + "line": 399, "column": 16 }, "end": { - "line": 394, + "line": 399, "column": 20 } }, @@ -73320,15 +74110,15 @@ }, "property": { "type": "Identifier", - "start": 14288, - "end": 14294, + "start": 14498, + "end": 14504, "loc": { "start": { - "line": 394, + "line": 399, "column": 21 }, "end": { - "line": 394, + "line": 399, "column": 27 }, "identifierName": "surfer" @@ -73340,15 +74130,15 @@ }, "property": { "type": "Identifier", - "start": 14295, - "end": 14300, + "start": 14505, + "end": 14510, "loc": { "start": { - "line": 394, + "line": 399, "column": 28 }, "end": { - "line": 394, + "line": 399, "column": 33 }, "identifierName": "pause" @@ -73365,15 +74155,15 @@ { "type": "CommentLine", "value": " pause wavesurfer playback", - "start": 14238, - "end": 14266, + "start": 14448, + "end": 14476, "loc": { "start": { - "line": 393, + "line": 398, "column": 16 }, "end": { - "line": 393, + "line": 398, "column": 44 } } @@ -73385,88 +74175,88 @@ }, "alternate": { "type": "BlockStatement", - "start": 14323, - "end": 14381, + "start": 14533, + "end": 14591, "loc": { "start": { - "line": 395, + "line": 400, "column": 19 }, "end": { - "line": 397, + "line": 402, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14341, - "end": 14367, + "start": 14551, + "end": 14577, "loc": { "start": { - "line": 396, + "line": 401, "column": 16 }, "end": { - "line": 396, + "line": 401, "column": 42 } }, "expression": { "type": "AssignmentExpression", - "start": 14341, - "end": 14366, + "start": 14551, + "end": 14576, "loc": { "start": { - "line": 396, + "line": 401, "column": 16 }, "end": { - "line": 396, + "line": 401, "column": 41 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 14341, - "end": 14358, + "start": 14551, + "end": 14568, "loc": { "start": { - "line": 396, + "line": 401, "column": 16 }, "end": { - "line": 396, + "line": 401, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 14341, - "end": 14345, + "start": 14551, + "end": 14555, "loc": { "start": { - "line": 396, + "line": 401, "column": 16 }, "end": { - "line": 396, + "line": 401, "column": 20 } } }, "property": { "type": "Identifier", - "start": 14346, - "end": 14358, + "start": 14556, + "end": 14568, "loc": { "start": { - "line": 396, + "line": 401, "column": 21 }, "end": { - "line": 396, + "line": 401, "column": 33 }, "identifierName": "waveFinished" @@ -73477,15 +74267,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 14361, - "end": 14366, + "start": 14571, + "end": 14576, "loc": { "start": { - "line": 396, + "line": 401, "column": 36 }, "end": { - "line": 396, + "line": 401, "column": 41 } }, @@ -73499,72 +74289,72 @@ }, { "type": "ExpressionStatement", - "start": 14395, - "end": 14417, + "start": 14605, + "end": 14627, "loc": { "start": { - "line": 399, + "line": 404, "column": 12 }, "end": { - "line": 399, + "line": 404, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 14395, - "end": 14416, + "start": 14605, + "end": 14626, "loc": { "start": { - "line": 399, + "line": 404, "column": 12 }, "end": { - "line": 399, + "line": 404, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 14395, - "end": 14414, + "start": 14605, + "end": 14624, "loc": { "start": { - "line": 399, + "line": 404, "column": 12 }, "end": { - "line": 399, + "line": 404, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 14395, - "end": 14399, + "start": 14605, + "end": 14609, "loc": { "start": { - "line": 399, + "line": 404, "column": 12 }, "end": { - "line": 399, + "line": 404, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14400, - "end": 14414, + "start": 14610, + "end": 14624, "loc": { "start": { - "line": 399, + "line": 404, "column": 17 }, "end": { - "line": 399, + "line": 404, "column": 31 }, "identifierName": "setCurrentTime" @@ -73588,15 +74378,15 @@ { "type": "CommentBlock", "value": "*\n * Pauses playback or microphone visualization.\n ", - "start": 13633, - "end": 13696, + "start": 13843, + "end": 13906, "loc": { "start": { - "line": 374, + "line": 379, "column": 4 }, "end": { - "line": 376, + "line": 381, "column": 7 } } @@ -73606,15 +74396,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n ", - "start": 14439, - "end": 14466, + "start": 14649, + "end": 14676, "loc": { "start": { - "line": 403, + "line": 408, "column": 4 }, "end": { - "line": 405, + "line": 410, "column": 7 } } @@ -73623,15 +74413,15 @@ }, { "type": "ClassMethod", - "start": 14471, - "end": 14866, + "start": 14681, + "end": 15076, "loc": { "start": { - "line": 406, + "line": 411, "column": 4 }, "end": { - "line": 417, + "line": 422, "column": 5 } }, @@ -73639,15 +74429,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14471, - "end": 14478, + "start": 14681, + "end": 14688, "loc": { "start": { - "line": 406, + "line": 411, "column": 4 }, "end": { - "line": 406, + "line": 411, "column": 11 }, "identifierName": "dispose" @@ -73663,73 +74453,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 14481, - "end": 14866, + "start": 14691, + "end": 15076, "loc": { "start": { - "line": 406, + "line": 411, "column": 14 }, "end": { - "line": 417, + "line": 422, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 14491, - "end": 14822, + "start": 14701, + "end": 15032, "loc": { "start": { - "line": 407, + "line": 412, "column": 8 }, "end": { - "line": 415, + "line": 420, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 14495, - "end": 14506, + "start": 14705, + "end": 14716, "loc": { "start": { - "line": 407, + "line": 412, "column": 12 }, "end": { - "line": 407, + "line": 412, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14495, - "end": 14499, + "start": 14705, + "end": 14709, "loc": { "start": { - "line": 407, + "line": 412, "column": 12 }, "end": { - "line": 407, + "line": 412, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14500, - "end": 14506, + "start": 14710, + "end": 14716, "loc": { "start": { - "line": 407, + "line": 412, "column": 17 }, "end": { - "line": 407, + "line": 412, "column": 23 }, "identifierName": "surfer" @@ -73740,87 +74530,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 14508, - "end": 14822, + "start": 14718, + "end": 15032, "loc": { "start": { - "line": 407, + "line": 412, "column": 25 }, "end": { - "line": 415, + "line": 420, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 14522, - "end": 14734, + "start": 14732, + "end": 14944, "loc": { "start": { - "line": 408, + "line": 413, "column": 12 }, "end": { - "line": 412, + "line": 417, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 14526, - "end": 14565, + "start": 14736, + "end": 14775, "loc": { "start": { - "line": 408, + "line": 413, "column": 16 }, "end": { - "line": 408, + "line": 413, "column": 55 } }, "left": { "type": "MemberExpression", - "start": 14526, - "end": 14539, + "start": 14736, + "end": 14749, "loc": { "start": { - "line": 408, + "line": 413, "column": 16 }, "end": { - "line": 408, + "line": 413, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 14526, - "end": 14530, + "start": 14736, + "end": 14740, "loc": { "start": { - "line": 408, + "line": 413, "column": 16 }, "end": { - "line": 408, + "line": 413, "column": 20 } } }, "property": { "type": "Identifier", - "start": 14531, - "end": 14539, + "start": 14741, + "end": 14749, "loc": { "start": { - "line": 408, + "line": 413, "column": 21 }, "end": { - "line": 408, + "line": 413, "column": 29 }, "identifierName": "liveMode" @@ -73832,58 +74622,58 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 14543, - "end": 14565, + "start": 14753, + "end": 14775, "loc": { "start": { - "line": 408, + "line": 413, "column": 33 }, "end": { - "line": 408, + "line": 413, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 14543, - "end": 14554, + "start": 14753, + "end": 14764, "loc": { "start": { - "line": 408, + "line": 413, "column": 33 }, "end": { - "line": 408, + "line": 413, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 14543, - "end": 14547, + "start": 14753, + "end": 14757, "loc": { "start": { - "line": 408, + "line": 413, "column": 33 }, "end": { - "line": 408, + "line": 413, "column": 37 } } }, "property": { "type": "Identifier", - "start": 14548, - "end": 14554, + "start": 14758, + "end": 14764, "loc": { "start": { - "line": 408, + "line": 413, "column": 38 }, "end": { - "line": 408, + "line": 413, "column": 44 }, "identifierName": "surfer" @@ -73894,15 +74684,15 @@ }, "property": { "type": "Identifier", - "start": 14555, - "end": 14565, + "start": 14765, + "end": 14775, "loc": { "start": { - "line": 408, + "line": 413, "column": 45 }, "end": { - "line": 408, + "line": 413, "column": 55 }, "identifierName": "microphone" @@ -73914,100 +74704,100 @@ }, "consequent": { "type": "BlockStatement", - "start": 14567, - "end": 14734, + "start": 14777, + "end": 14944, "loc": { "start": { - "line": 408, + "line": 413, "column": 57 }, "end": { - "line": 412, + "line": 417, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14630, - "end": 14663, + "start": 14840, + "end": 14873, "loc": { "start": { - "line": 410, + "line": 415, "column": 16 }, "end": { - "line": 410, + "line": 415, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 14630, - "end": 14662, + "start": 14840, + "end": 14872, "loc": { "start": { - "line": 410, + "line": 415, "column": 16 }, "end": { - "line": 410, + "line": 415, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 14630, - "end": 14660, + "start": 14840, + "end": 14870, "loc": { "start": { - "line": 410, + "line": 415, "column": 16 }, "end": { - "line": 410, + "line": 415, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 14630, - "end": 14652, + "start": 14840, + "end": 14862, "loc": { "start": { - "line": 410, + "line": 415, "column": 16 }, "end": { - "line": 410, + "line": 415, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 14630, - "end": 14641, + "start": 14840, + "end": 14851, "loc": { "start": { - "line": 410, + "line": 415, "column": 16 }, "end": { - "line": 410, + "line": 415, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 14630, - "end": 14634, + "start": 14840, + "end": 14844, "loc": { "start": { - "line": 410, + "line": 415, "column": 16 }, "end": { - "line": 410, + "line": 415, "column": 20 } }, @@ -74015,15 +74805,15 @@ }, "property": { "type": "Identifier", - "start": 14635, - "end": 14641, + "start": 14845, + "end": 14851, "loc": { "start": { - "line": 410, + "line": 415, "column": 21 }, "end": { - "line": 410, + "line": 415, "column": 27 }, "identifierName": "surfer" @@ -74035,15 +74825,15 @@ }, "property": { "type": "Identifier", - "start": 14642, - "end": 14652, + "start": 14852, + "end": 14862, "loc": { "start": { - "line": 410, + "line": 415, "column": 28 }, "end": { - "line": 410, + "line": 415, "column": 38 }, "identifierName": "microphone" @@ -74055,15 +74845,15 @@ }, "property": { "type": "Identifier", - "start": 14653, - "end": 14660, + "start": 14863, + "end": 14870, "loc": { "start": { - "line": 410, + "line": 415, "column": 39 }, "end": { - "line": 410, + "line": 415, "column": 46 }, "identifierName": "destroy" @@ -74080,15 +74870,15 @@ { "type": "CommentLine", "value": " destroy microphone plugin", - "start": 14585, - "end": 14613, + "start": 14795, + "end": 14823, "loc": { "start": { - "line": 409, + "line": 414, "column": 16 }, "end": { - "line": 409, + "line": 414, "column": 44 } } @@ -74097,72 +74887,72 @@ }, { "type": "ExpressionStatement", - "start": 14680, - "end": 14720, + "start": 14890, + "end": 14930, "loc": { "start": { - "line": 411, + "line": 416, "column": 16 }, "end": { - "line": 411, + "line": 416, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 14680, - "end": 14719, + "start": 14890, + "end": 14929, "loc": { "start": { - "line": 411, + "line": 416, "column": 16 }, "end": { - "line": 411, + "line": 416, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 14680, - "end": 14688, + "start": 14890, + "end": 14898, "loc": { "start": { - "line": 411, + "line": 416, "column": 16 }, "end": { - "line": 411, + "line": 416, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 14680, - "end": 14684, + "start": 14890, + "end": 14894, "loc": { "start": { - "line": 411, + "line": 416, "column": 16 }, "end": { - "line": 411, + "line": 416, "column": 20 } } }, "property": { "type": "Identifier", - "start": 14685, - "end": 14688, + "start": 14895, + "end": 14898, "loc": { "start": { - "line": 411, + "line": 416, "column": 21 }, "end": { - "line": 411, + "line": 416, "column": 24 }, "identifierName": "log" @@ -74174,15 +74964,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14689, - "end": 14718, + "start": 14899, + "end": 14928, "loc": { "start": { - "line": 411, + "line": 416, "column": 25 }, "end": { - "line": 411, + "line": 416, "column": 54 } }, @@ -74204,15 +74994,15 @@ { "type": "CommentLine", "value": " destroy wavesurfer instance", - "start": 14747, - "end": 14777, + "start": 14957, + "end": 14987, "loc": { "start": { - "line": 413, + "line": 418, "column": 12 }, "end": { - "line": 413, + "line": 418, "column": 42 } } @@ -74221,71 +75011,71 @@ }, { "type": "ExpressionStatement", - "start": 14790, - "end": 14812, + "start": 15000, + "end": 15022, "loc": { "start": { - "line": 414, + "line": 419, "column": 12 }, "end": { - "line": 414, + "line": 419, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 14790, - "end": 14811, + "start": 15000, + "end": 15021, "loc": { "start": { - "line": 414, + "line": 419, "column": 12 }, "end": { - "line": 414, + "line": 419, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 14790, - "end": 14809, + "start": 15000, + "end": 15019, "loc": { "start": { - "line": 414, + "line": 419, "column": 12 }, "end": { - "line": 414, + "line": 419, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 14790, - "end": 14801, + "start": 15000, + "end": 15011, "loc": { "start": { - "line": 414, + "line": 419, "column": 12 }, "end": { - "line": 414, + "line": 419, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14790, - "end": 14794, + "start": 15000, + "end": 15004, "loc": { "start": { - "line": 414, + "line": 419, "column": 12 }, "end": { - "line": 414, + "line": 419, "column": 16 } }, @@ -74293,15 +75083,15 @@ }, "property": { "type": "Identifier", - "start": 14795, - "end": 14801, + "start": 15005, + "end": 15011, "loc": { "start": { - "line": 414, + "line": 419, "column": 17 }, "end": { - "line": 414, + "line": 419, "column": 23 }, "identifierName": "surfer" @@ -74313,15 +75103,15 @@ }, "property": { "type": "Identifier", - "start": 14802, - "end": 14809, + "start": 15012, + "end": 15019, "loc": { "start": { - "line": 414, + "line": 419, "column": 24 }, "end": { - "line": 414, + "line": 419, "column": 31 }, "identifierName": "destroy" @@ -74338,15 +75128,15 @@ { "type": "CommentLine", "value": " destroy wavesurfer instance", - "start": 14747, - "end": 14777, + "start": 14957, + "end": 14987, "loc": { "start": { - "line": 413, + "line": 418, "column": 12 }, "end": { - "line": 413, + "line": 418, "column": 42 } } @@ -74360,72 +75150,72 @@ }, { "type": "ExpressionStatement", - "start": 14831, - "end": 14860, + "start": 15041, + "end": 15070, "loc": { "start": { - "line": 416, + "line": 421, "column": 8 }, "end": { - "line": 416, + "line": 421, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 14831, - "end": 14859, + "start": 15041, + "end": 15069, "loc": { "start": { - "line": 416, + "line": 421, "column": 8 }, "end": { - "line": 416, + "line": 421, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 14831, - "end": 14839, + "start": 15041, + "end": 15049, "loc": { "start": { - "line": 416, + "line": 421, "column": 8 }, "end": { - "line": 416, + "line": 421, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 14831, - "end": 14835, + "start": 15041, + "end": 15045, "loc": { "start": { - "line": 416, + "line": 421, "column": 8 }, "end": { - "line": 416, + "line": 421, "column": 12 } } }, "property": { "type": "Identifier", - "start": 14836, - "end": 14839, + "start": 15046, + "end": 15049, "loc": { "start": { - "line": 416, + "line": 421, "column": 13 }, "end": { - "line": 416, + "line": 421, "column": 16 }, "identifierName": "log" @@ -74437,15 +75227,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14840, - "end": 14858, + "start": 15050, + "end": 15068, "loc": { "start": { - "line": 416, + "line": 421, "column": 17 }, "end": { - "line": 416, + "line": 421, "column": 35 } }, @@ -74466,15 +75256,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n ", - "start": 14439, - "end": 14466, + "start": 14649, + "end": 14676, "loc": { "start": { - "line": 403, + "line": 408, "column": 4 }, "end": { - "line": 405, + "line": 410, "column": 7 } } @@ -74484,15 +75274,15 @@ { "type": "CommentBlock", "value": "*\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n ", - "start": 14872, - "end": 14997, + "start": 15082, + "end": 15207, "loc": { "start": { - "line": 419, + "line": 424, "column": 4 }, "end": { - "line": 423, + "line": 428, "column": 7 } } @@ -74501,15 +75291,15 @@ }, { "type": "ClassMethod", - "start": 15002, - "end": 15088, + "start": 15212, + "end": 15298, "loc": { "start": { - "line": 424, + "line": 429, "column": 4 }, "end": { - "line": 426, + "line": 431, "column": 5 } }, @@ -74517,15 +75307,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15002, - "end": 15013, + "start": 15212, + "end": 15223, "loc": { "start": { - "line": 424, + "line": 429, "column": 4 }, "end": { - "line": 424, + "line": 429, "column": 15 }, "identifierName": "isDestroyed" @@ -74541,87 +75331,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15016, - "end": 15088, + "start": 15226, + "end": 15298, "loc": { "start": { - "line": 424, + "line": 429, "column": 18 }, "end": { - "line": 426, + "line": 431, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 15026, - "end": 15082, + "start": 15236, + "end": 15292, "loc": { "start": { - "line": 425, + "line": 430, "column": 8 }, "end": { - "line": 425, + "line": 430, "column": 64 } }, "argument": { "type": "LogicalExpression", - "start": 15033, - "end": 15081, + "start": 15243, + "end": 15291, "loc": { "start": { - "line": 425, + "line": 430, "column": 15 }, "end": { - "line": 425, + "line": 430, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 15033, - "end": 15044, + "start": 15243, + "end": 15254, "loc": { "start": { - "line": 425, + "line": 430, "column": 15 }, "end": { - "line": 425, + "line": 430, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 15033, - "end": 15037, + "start": 15243, + "end": 15247, "loc": { "start": { - "line": 425, + "line": 430, "column": 15 }, "end": { - "line": 425, + "line": 430, "column": 19 } } }, "property": { "type": "Identifier", - "start": 15038, - "end": 15044, + "start": 15248, + "end": 15254, "loc": { "start": { - "line": 425, + "line": 430, "column": 20 }, "end": { - "line": 425, + "line": 430, "column": 26 }, "identifierName": "player" @@ -74633,86 +75423,86 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 15049, - "end": 15080, + "start": 15259, + "end": 15290, "loc": { "start": { - "line": 425, + "line": 430, "column": 31 }, "end": { - "line": 425, + "line": 430, "column": 62 } }, "left": { "type": "CallExpression", - "start": 15049, - "end": 15071, + "start": 15259, + "end": 15281, "loc": { "start": { - "line": 425, + "line": 430, "column": 31 }, "end": { - "line": 425, + "line": 430, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 15049, - "end": 15069, + "start": 15259, + "end": 15279, "loc": { "start": { - "line": 425, + "line": 430, "column": 31 }, "end": { - "line": 425, + "line": 430, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 15049, - "end": 15060, + "start": 15259, + "end": 15270, "loc": { "start": { - "line": 425, + "line": 430, "column": 31 }, "end": { - "line": 425, + "line": 430, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 15049, - "end": 15053, + "start": 15259, + "end": 15263, "loc": { "start": { - "line": 425, + "line": 430, "column": 31 }, "end": { - "line": 425, + "line": 430, "column": 35 } } }, "property": { "type": "Identifier", - "start": 15054, - "end": 15060, + "start": 15264, + "end": 15270, "loc": { "start": { - "line": 425, + "line": 430, "column": 36 }, "end": { - "line": 425, + "line": 430, "column": 42 }, "identifierName": "player" @@ -74723,15 +75513,15 @@ }, "property": { "type": "Identifier", - "start": 15061, - "end": 15069, + "start": 15271, + "end": 15279, "loc": { "start": { - "line": 425, + "line": 430, "column": 43 }, "end": { - "line": 425, + "line": 430, "column": 51 }, "identifierName": "children" @@ -74745,22 +75535,22 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 15076, - "end": 15080, + "start": 15286, + "end": 15290, "loc": { "start": { - "line": 425, + "line": 430, "column": 58 }, "end": { - "line": 425, + "line": 430, "column": 62 } } }, "extra": { "parenthesized": true, - "parenStart": 15048 + "parenStart": 15258 } } } @@ -74773,15 +75563,15 @@ { "type": "CommentBlock", "value": "*\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n ", - "start": 14872, - "end": 14997, + "start": 15082, + "end": 15207, "loc": { "start": { - "line": 419, + "line": 424, "column": 4 }, "end": { - "line": 423, + "line": 428, "column": 7 } } @@ -74791,15 +75581,15 @@ { "type": "CommentBlock", "value": "*\n * Remove the player and waveform.\n ", - "start": 15094, - "end": 15144, + "start": 15304, + "end": 15354, "loc": { "start": { - "line": 428, + "line": 433, "column": 4 }, "end": { - "line": 430, + "line": 435, "column": 7 } } @@ -74808,15 +75598,15 @@ }, { "type": "ClassMethod", - "start": 15149, - "end": 15197, + "start": 15359, + "end": 15407, "loc": { "start": { - "line": 431, + "line": 436, "column": 4 }, "end": { - "line": 433, + "line": 438, "column": 5 } }, @@ -74824,15 +75614,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15149, - "end": 15156, + "start": 15359, + "end": 15366, "loc": { "start": { - "line": 431, + "line": 436, "column": 4 }, "end": { - "line": 431, + "line": 436, "column": 11 }, "identifierName": "destroy" @@ -74848,101 +75638,101 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15159, - "end": 15197, + "start": 15369, + "end": 15407, "loc": { "start": { - "line": 431, + "line": 436, "column": 14 }, "end": { - "line": 433, + "line": 438, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 15169, - "end": 15191, + "start": 15379, + "end": 15401, "loc": { "start": { - "line": 432, + "line": 437, "column": 8 }, "end": { - "line": 432, + "line": 437, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 15169, - "end": 15190, + "start": 15379, + "end": 15400, "loc": { "start": { - "line": 432, + "line": 437, "column": 8 }, "end": { - "line": 432, + "line": 437, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 15169, - "end": 15188, + "start": 15379, + "end": 15398, "loc": { "start": { - "line": 432, + "line": 437, "column": 8 }, "end": { - "line": 432, + "line": 437, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 15169, - "end": 15180, + "start": 15379, + "end": 15390, "loc": { "start": { - "line": 432, + "line": 437, "column": 8 }, "end": { - "line": 432, + "line": 437, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 15169, - "end": 15173, + "start": 15379, + "end": 15383, "loc": { "start": { - "line": 432, + "line": 437, "column": 8 }, "end": { - "line": 432, + "line": 437, "column": 12 } } }, "property": { "type": "Identifier", - "start": 15174, - "end": 15180, + "start": 15384, + "end": 15390, "loc": { "start": { - "line": 432, + "line": 437, "column": 13 }, "end": { - "line": 432, + "line": 437, "column": 19 }, "identifierName": "player" @@ -74953,15 +75743,15 @@ }, "property": { "type": "Identifier", - "start": 15181, - "end": 15188, + "start": 15391, + "end": 15398, "loc": { "start": { - "line": 432, + "line": 437, "column": 20 }, "end": { - "line": 432, + "line": 437, "column": 27 }, "identifierName": "dispose" @@ -74981,15 +75771,15 @@ { "type": "CommentBlock", "value": "*\n * Remove the player and waveform.\n ", - "start": 15094, - "end": 15144, + "start": 15304, + "end": 15354, "loc": { "start": { - "line": 428, + "line": 433, "column": 4 }, "end": { - "line": 430, + "line": 435, "column": 7 } } @@ -74999,15 +75789,15 @@ { "type": "CommentBlock", "value": "*\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n ", - "start": 15203, - "end": 15304, + "start": 15413, + "end": 15514, "loc": { "start": { - "line": 435, + "line": 440, "column": 4 }, "end": { - "line": 439, + "line": 444, "column": 7 } } @@ -75016,15 +75806,15 @@ }, { "type": "ClassMethod", - "start": 15309, - "end": 15512, + "start": 15519, + "end": 15722, "loc": { "start": { - "line": 440, + "line": 445, "column": 4 }, "end": { - "line": 447, + "line": 452, "column": 5 } }, @@ -75032,15 +75822,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15309, - "end": 15318, + "start": 15519, + "end": 15528, "loc": { "start": { - "line": 440, + "line": 445, "column": 4 }, "end": { - "line": 440, + "line": 445, "column": 13 }, "identifierName": "setVolume" @@ -75056,15 +75846,15 @@ "params": [ { "type": "Identifier", - "start": 15319, - "end": 15325, + "start": 15529, + "end": 15535, "loc": { "start": { - "line": 440, + "line": 445, "column": 14 }, "end": { - "line": 440, + "line": 445, "column": 20 }, "identifierName": "volume" @@ -75074,58 +75864,58 @@ ], "body": { "type": "BlockStatement", - "start": 15327, - "end": 15512, + "start": 15537, + "end": 15722, "loc": { "start": { - "line": 440, + "line": 445, "column": 22 }, "end": { - "line": 447, + "line": 452, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 15337, - "end": 15506, + "start": 15547, + "end": 15716, "loc": { "start": { - "line": 441, + "line": 446, "column": 8 }, "end": { - "line": 446, + "line": 451, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 15341, - "end": 15361, + "start": 15551, + "end": 15571, "loc": { "start": { - "line": 441, + "line": 446, "column": 12 }, "end": { - "line": 441, + "line": 446, "column": 32 } }, "left": { "type": "Identifier", - "start": 15341, - "end": 15347, + "start": 15551, + "end": 15557, "loc": { "start": { - "line": 441, + "line": 446, "column": 12 }, "end": { - "line": 441, + "line": 446, "column": 18 }, "identifierName": "volume" @@ -75135,15 +75925,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 15352, - "end": 15361, + "start": 15562, + "end": 15571, "loc": { "start": { - "line": 441, + "line": 446, "column": 23 }, "end": { - "line": 441, + "line": 446, "column": 32 }, "identifierName": "undefined" @@ -75153,87 +75943,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 15363, - "end": 15506, + "start": 15573, + "end": 15716, "loc": { "start": { - "line": 441, + "line": 446, "column": 34 }, "end": { - "line": 446, + "line": 451, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 15377, - "end": 15419, + "start": 15587, + "end": 15629, "loc": { "start": { - "line": 442, + "line": 447, "column": 12 }, "end": { - "line": 442, + "line": 447, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 15377, - "end": 15418, + "start": 15587, + "end": 15628, "loc": { "start": { - "line": 442, + "line": 447, "column": 12 }, "end": { - "line": 442, + "line": 447, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 15377, - "end": 15385, + "start": 15587, + "end": 15595, "loc": { "start": { - "line": 442, + "line": 447, "column": 12 }, "end": { - "line": 442, + "line": 447, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 15377, - "end": 15381, + "start": 15587, + "end": 15591, "loc": { "start": { - "line": 442, + "line": 447, "column": 12 }, "end": { - "line": 442, + "line": 447, "column": 16 } } }, "property": { "type": "Identifier", - "start": 15382, - "end": 15385, + "start": 15592, + "end": 15595, "loc": { "start": { - "line": 442, + "line": 447, "column": 17 }, "end": { - "line": 442, + "line": 447, "column": 20 }, "identifierName": "log" @@ -75245,29 +76035,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 15386, - "end": 15417, + "start": 15596, + "end": 15627, "loc": { "start": { - "line": 442, + "line": 447, "column": 21 }, "end": { - "line": 442, + "line": 447, "column": 52 } }, "left": { "type": "StringLiteral", - "start": 15386, - "end": 15408, + "start": 15596, + "end": 15618, "loc": { "start": { - "line": 442, + "line": 447, "column": 21 }, "end": { - "line": 442, + "line": 447, "column": 43 } }, @@ -75280,15 +76070,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 15411, - "end": 15417, + "start": 15621, + "end": 15627, "loc": { "start": { - "line": 442, + "line": 447, "column": 46 }, "end": { - "line": 442, + "line": 447, "column": 52 }, "identifierName": "volume" @@ -75302,15 +76092,15 @@ { "type": "CommentLine", "value": " update player volume", - "start": 15433, - "end": 15456, + "start": 15643, + "end": 15666, "loc": { "start": { - "line": 444, + "line": 449, "column": 12 }, "end": { - "line": 444, + "line": 449, "column": 35 } } @@ -75319,71 +76109,71 @@ }, { "type": "ExpressionStatement", - "start": 15469, - "end": 15496, + "start": 15679, + "end": 15706, "loc": { "start": { - "line": 445, + "line": 450, "column": 12 }, "end": { - "line": 445, + "line": 450, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 15469, - "end": 15495, + "start": 15679, + "end": 15705, "loc": { "start": { - "line": 445, + "line": 450, "column": 12 }, "end": { - "line": 445, + "line": 450, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 15469, - "end": 15487, + "start": 15679, + "end": 15697, "loc": { "start": { - "line": 445, + "line": 450, "column": 12 }, "end": { - "line": 445, + "line": 450, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 15469, - "end": 15480, + "start": 15679, + "end": 15690, "loc": { "start": { - "line": 445, + "line": 450, "column": 12 }, "end": { - "line": 445, + "line": 450, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 15469, - "end": 15473, + "start": 15679, + "end": 15683, "loc": { "start": { - "line": 445, + "line": 450, "column": 12 }, "end": { - "line": 445, + "line": 450, "column": 16 } }, @@ -75391,15 +76181,15 @@ }, "property": { "type": "Identifier", - "start": 15474, - "end": 15480, + "start": 15684, + "end": 15690, "loc": { "start": { - "line": 445, + "line": 450, "column": 17 }, "end": { - "line": 445, + "line": 450, "column": 23 }, "identifierName": "player" @@ -75411,15 +76201,15 @@ }, "property": { "type": "Identifier", - "start": 15481, - "end": 15487, + "start": 15691, + "end": 15697, "loc": { "start": { - "line": 445, + "line": 450, "column": 24 }, "end": { - "line": 445, + "line": 450, "column": 30 }, "identifierName": "volume" @@ -75432,15 +76222,15 @@ "arguments": [ { "type": "Identifier", - "start": 15488, - "end": 15494, + "start": 15698, + "end": 15704, "loc": { "start": { - "line": 445, + "line": 450, "column": 31 }, "end": { - "line": 445, + "line": 450, "column": 37 }, "identifierName": "volume" @@ -75454,15 +76244,15 @@ { "type": "CommentLine", "value": " update player volume", - "start": 15433, - "end": 15456, + "start": 15643, + "end": 15666, "loc": { "start": { - "line": 444, + "line": 449, "column": 12 }, "end": { - "line": 444, + "line": 449, "column": 35 } } @@ -75482,15 +76272,15 @@ { "type": "CommentBlock", "value": "*\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n ", - "start": 15203, - "end": 15304, + "start": 15413, + "end": 15514, "loc": { "start": { - "line": 435, + "line": 440, "column": 4 }, "end": { - "line": 439, + "line": 444, "column": 7 } } @@ -75500,15 +76290,15 @@ { "type": "CommentBlock", "value": "*\n * Save waveform image as data URI.\n *\n * The default format is `'image/png'`. Other supported types are\n * `'image/jpeg'` and `'image/webp'`.\n *\n * @param {string} format='image/png' A string indicating the image format.\n * The default format type is `'image/png'`.\n * @param {number} quality=1 A number between 0 and 1 indicating the image\n * quality to use for image formats that use lossy compression such as\n * `'image/jpeg'`` and `'image/webp'`.\n * @param {string} type Image data type to return. Either 'blob' (default)\n * or 'dataURL'.\n * @return {string|string[]|Promise} When using `'dataURL'` `type` this returns\n * a single data URL or an array of data URLs, one for each canvas. The `'blob'`\n * `type` returns a `Promise` resolving with an array of `Blob` instances, one\n * for each canvas.\n ", - "start": 15518, - "end": 16397, + "start": 15728, + "end": 16607, "loc": { "start": { - "line": 449, + "line": 454, "column": 4 }, "end": { - "line": 466, + "line": 471, "column": 7 } } @@ -75517,15 +76307,15 @@ }, { "type": "ClassMethod", - "start": 16402, - "end": 16516, + "start": 16612, + "end": 16726, "loc": { "start": { - "line": 467, + "line": 472, "column": 4 }, "end": { - "line": 469, + "line": 474, "column": 5 } }, @@ -75533,15 +76323,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16402, - "end": 16413, + "start": 16612, + "end": 16623, "loc": { "start": { - "line": 467, + "line": 472, "column": 4 }, "end": { - "line": 467, + "line": 472, "column": 15 }, "identifierName": "exportImage" @@ -75557,15 +76347,15 @@ "params": [ { "type": "Identifier", - "start": 16414, - "end": 16420, + "start": 16624, + "end": 16630, "loc": { "start": { - "line": 467, + "line": 472, "column": 16 }, "end": { - "line": 467, + "line": 472, "column": 22 }, "identifierName": "format" @@ -75574,15 +76364,15 @@ }, { "type": "Identifier", - "start": 16422, - "end": 16429, + "start": 16632, + "end": 16639, "loc": { "start": { - "line": 467, + "line": 472, "column": 24 }, "end": { - "line": 467, + "line": 472, "column": 31 }, "identifierName": "quality" @@ -75591,29 +76381,29 @@ }, { "type": "AssignmentPattern", - "start": 16431, - "end": 16444, + "start": 16641, + "end": 16654, "loc": { "start": { - "line": 467, + "line": 472, "column": 33 }, "end": { - "line": 467, + "line": 472, "column": 46 } }, "left": { "type": "Identifier", - "start": 16431, - "end": 16435, + "start": 16641, + "end": 16645, "loc": { "start": { - "line": 467, + "line": 472, "column": 33 }, "end": { - "line": 467, + "line": 472, "column": 37 }, "identifierName": "type" @@ -75622,15 +76412,15 @@ }, "right": { "type": "StringLiteral", - "start": 16438, - "end": 16444, + "start": 16648, + "end": 16654, "loc": { "start": { - "line": 467, + "line": 472, "column": 40 }, "end": { - "line": 467, + "line": 472, "column": 46 } }, @@ -75644,101 +76434,101 @@ ], "body": { "type": "BlockStatement", - "start": 16446, - "end": 16516, + "start": 16656, + "end": 16726, "loc": { "start": { - "line": 467, + "line": 472, "column": 48 }, "end": { - "line": 469, + "line": 474, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 16456, - "end": 16510, + "start": 16666, + "end": 16720, "loc": { "start": { - "line": 468, + "line": 473, "column": 8 }, "end": { - "line": 468, + "line": 473, "column": 62 } }, "argument": { "type": "CallExpression", - "start": 16463, - "end": 16509, + "start": 16673, + "end": 16719, "loc": { "start": { - "line": 468, + "line": 473, "column": 15 }, "end": { - "line": 468, + "line": 473, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 16463, - "end": 16486, + "start": 16673, + "end": 16696, "loc": { "start": { - "line": 468, + "line": 473, "column": 15 }, "end": { - "line": 468, + "line": 473, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 16463, - "end": 16474, + "start": 16673, + "end": 16684, "loc": { "start": { - "line": 468, + "line": 473, "column": 15 }, "end": { - "line": 468, + "line": 473, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 16463, - "end": 16467, + "start": 16673, + "end": 16677, "loc": { "start": { - "line": 468, + "line": 473, "column": 15 }, "end": { - "line": 468, + "line": 473, "column": 19 } } }, "property": { "type": "Identifier", - "start": 16468, - "end": 16474, + "start": 16678, + "end": 16684, "loc": { "start": { - "line": 468, + "line": 473, "column": 20 }, "end": { - "line": 468, + "line": 473, "column": 26 }, "identifierName": "surfer" @@ -75749,15 +76539,15 @@ }, "property": { "type": "Identifier", - "start": 16475, - "end": 16486, + "start": 16685, + "end": 16696, "loc": { "start": { - "line": 468, + "line": 473, "column": 27 }, "end": { - "line": 468, + "line": 473, "column": 38 }, "identifierName": "exportImage" @@ -75769,15 +76559,15 @@ "arguments": [ { "type": "Identifier", - "start": 16487, - "end": 16493, + "start": 16697, + "end": 16703, "loc": { "start": { - "line": 468, + "line": 473, "column": 39 }, "end": { - "line": 468, + "line": 473, "column": 45 }, "identifierName": "format" @@ -75786,15 +76576,15 @@ }, { "type": "Identifier", - "start": 16495, - "end": 16502, + "start": 16705, + "end": 16712, "loc": { "start": { - "line": 468, + "line": 473, "column": 47 }, "end": { - "line": 468, + "line": 473, "column": 54 }, "identifierName": "quality" @@ -75803,15 +76593,15 @@ }, { "type": "Identifier", - "start": 16504, - "end": 16508, + "start": 16714, + "end": 16718, "loc": { "start": { - "line": 468, + "line": 473, "column": 56 }, "end": { - "line": 468, + "line": 473, "column": 60 }, "identifierName": "type" @@ -75829,15 +76619,15 @@ { "type": "CommentBlock", "value": "*\n * Save waveform image as data URI.\n *\n * The default format is `'image/png'`. Other supported types are\n * `'image/jpeg'` and `'image/webp'`.\n *\n * @param {string} format='image/png' A string indicating the image format.\n * The default format type is `'image/png'`.\n * @param {number} quality=1 A number between 0 and 1 indicating the image\n * quality to use for image formats that use lossy compression such as\n * `'image/jpeg'`` and `'image/webp'`.\n * @param {string} type Image data type to return. Either 'blob' (default)\n * or 'dataURL'.\n * @return {string|string[]|Promise} When using `'dataURL'` `type` this returns\n * a single data URL or an array of data URLs, one for each canvas. The `'blob'`\n * `type` returns a `Promise` resolving with an array of `Blob` instances, one\n * for each canvas.\n ", - "start": 15518, - "end": 16397, + "start": 15728, + "end": 16607, "loc": { "start": { - "line": 449, + "line": 454, "column": 4 }, "end": { - "line": 466, + "line": 471, "column": 7 } } @@ -75847,15 +76637,15 @@ { "type": "CommentBlock", "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", - "start": 16522, - "end": 16640, + "start": 16732, + "end": 16850, "loc": { "start": { - "line": 471, + "line": 476, "column": 4 }, "end": { - "line": 475, + "line": 480, "column": 7 } } @@ -75864,15 +76654,15 @@ }, { "type": "ClassMethod", - "start": 16645, - "end": 17053, + "start": 16855, + "end": 17263, "loc": { "start": { - "line": 476, + "line": 481, "column": 4 }, "end": { - "line": 488, + "line": 493, "column": 5 } }, @@ -75880,15 +76670,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16645, - "end": 16659, + "start": 16855, + "end": 16869, "loc": { "start": { - "line": 476, + "line": 481, "column": 4 }, "end": { - "line": 476, + "line": 481, "column": 18 }, "identifierName": "setAudioOutput" @@ -75904,15 +76694,15 @@ "params": [ { "type": "Identifier", - "start": 16660, - "end": 16668, + "start": 16870, + "end": 16878, "loc": { "start": { - "line": 476, + "line": 481, "column": 19 }, "end": { - "line": 476, + "line": 481, "column": 27 }, "identifierName": "deviceId" @@ -75922,44 +76712,44 @@ ], "body": { "type": "BlockStatement", - "start": 16670, - "end": 17053, + "start": 16880, + "end": 17263, "loc": { "start": { - "line": 476, + "line": 481, "column": 29 }, "end": { - "line": 488, + "line": 493, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 16680, - "end": 17047, + "start": 16890, + "end": 17257, "loc": { "start": { - "line": 477, + "line": 482, "column": 8 }, "end": { - "line": 487, + "line": 492, "column": 9 } }, "test": { "type": "Identifier", - "start": 16684, - "end": 16692, + "start": 16894, + "end": 16902, "loc": { "start": { - "line": 477, + "line": 482, "column": 12 }, "end": { - "line": 477, + "line": 482, "column": 20 }, "identifierName": "deviceId" @@ -75968,157 +76758,157 @@ }, "consequent": { "type": "BlockStatement", - "start": 16694, - "end": 17047, + "start": 16904, + "end": 17257, "loc": { "start": { - "line": 477, + "line": 482, "column": 22 }, "end": { - "line": 487, + "line": 492, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 16708, - "end": 17037, + "start": 16918, + "end": 17247, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 486, + "line": 491, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 16708, - "end": 17036, + "start": 16918, + "end": 17246, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 486, + "line": 491, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 16708, - "end": 16878, + "start": 16918, + "end": 17088, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 481, + "line": 486, "column": 20 } }, "object": { "type": "CallExpression", - "start": 16708, - "end": 16872, + "start": 16918, + "end": 17082, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 481, + "line": 486, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 16708, - "end": 16744, + "start": 16918, + "end": 16954, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 478, + "line": 483, "column": 48 } }, "object": { "type": "CallExpression", - "start": 16708, - "end": 16739, + "start": 16918, + "end": 16949, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 478, + "line": 483, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 16708, - "end": 16729, + "start": 16918, + "end": 16939, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 478, + "line": 483, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 16708, - "end": 16719, + "start": 16918, + "end": 16929, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 478, + "line": 483, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 16708, - "end": 16712, + "start": 16918, + "end": 16922, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 478, + "line": 483, "column": 16 } } }, "property": { "type": "Identifier", - "start": 16713, - "end": 16719, + "start": 16923, + "end": 16929, "loc": { "start": { - "line": 478, + "line": 483, "column": 17 }, "end": { - "line": 478, + "line": 483, "column": 23 }, "identifierName": "surfer" @@ -76129,15 +76919,15 @@ }, "property": { "type": "Identifier", - "start": 16720, - "end": 16729, + "start": 16930, + "end": 16939, "loc": { "start": { - "line": 478, + "line": 483, "column": 24 }, "end": { - "line": 478, + "line": 483, "column": 33 }, "identifierName": "setSinkId" @@ -76149,15 +76939,15 @@ "arguments": [ { "type": "Identifier", - "start": 16730, - "end": 16738, + "start": 16940, + "end": 16948, "loc": { "start": { - "line": 478, + "line": 483, "column": 34 }, "end": { - "line": 478, + "line": 483, "column": 42 }, "identifierName": "deviceId" @@ -76168,15 +76958,15 @@ }, "property": { "type": "Identifier", - "start": 16740, - "end": 16744, + "start": 16950, + "end": 16954, "loc": { "start": { - "line": 478, + "line": 483, "column": 44 }, "end": { - "line": 478, + "line": 483, "column": 48 }, "identifierName": "then" @@ -76188,15 +76978,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 16745, - "end": 16871, + "start": 16955, + "end": 17081, "loc": { "start": { - "line": 478, + "line": 483, "column": 49 }, "end": { - "line": 481, + "line": 486, "column": 13 } }, @@ -76207,15 +76997,15 @@ "params": [ { "type": "Identifier", - "start": 16746, - "end": 16752, + "start": 16956, + "end": 16962, "loc": { "start": { - "line": 478, + "line": 483, "column": 50 }, "end": { - "line": 478, + "line": 483, "column": 56 }, "identifierName": "result" @@ -76225,86 +77015,86 @@ ], "body": { "type": "BlockStatement", - "start": 16757, - "end": 16871, + "start": 16967, + "end": 17081, "loc": { "start": { - "line": 478, + "line": 483, "column": 61 }, "end": { - "line": 481, + "line": 486, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 16811, - "end": 16857, + "start": 17021, + "end": 17067, "loc": { "start": { - "line": 480, + "line": 485, "column": 16 }, "end": { - "line": 480, + "line": 485, "column": 62 } }, "expression": { "type": "CallExpression", - "start": 16811, - "end": 16856, + "start": 17021, + "end": 17066, "loc": { "start": { - "line": 480, + "line": 485, "column": 16 }, "end": { - "line": 480, + "line": 485, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 16811, - "end": 16830, + "start": 17021, + "end": 17040, "loc": { "start": { - "line": 480, + "line": 485, "column": 16 }, "end": { - "line": 480, + "line": 485, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 16811, - "end": 16822, + "start": 17021, + "end": 17032, "loc": { "start": { - "line": 480, + "line": 485, "column": 16 }, "end": { - "line": 480, + "line": 485, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 16811, - "end": 16815, + "start": 17021, + "end": 17025, "loc": { "start": { - "line": 480, + "line": 485, "column": 16 }, "end": { - "line": 480, + "line": 485, "column": 20 } }, @@ -76312,15 +77102,15 @@ }, "property": { "type": "Identifier", - "start": 16816, - "end": 16822, + "start": 17026, + "end": 17032, "loc": { "start": { - "line": 480, + "line": 485, "column": 21 }, "end": { - "line": 480, + "line": 485, "column": 27 }, "identifierName": "player" @@ -76332,15 +77122,15 @@ }, "property": { "type": "Identifier", - "start": 16823, - "end": 16830, + "start": 17033, + "end": 17040, "loc": { "start": { - "line": 480, + "line": 485, "column": 28 }, "end": { - "line": 480, + "line": 485, "column": 35 }, "identifierName": "trigger" @@ -76353,29 +77143,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 16831, - "end": 16855, + "start": 17041, + "end": 17065, "loc": { "start": { - "line": 480, + "line": 485, "column": 36 }, "end": { - "line": 480, + "line": 485, "column": 60 } }, "object": { "type": "Identifier", - "start": 16831, - "end": 16836, + "start": 17041, + "end": 17046, "loc": { "start": { - "line": 480, + "line": 485, "column": 36 }, "end": { - "line": 480, + "line": 485, "column": 41 }, "identifierName": "Event" @@ -76384,15 +77174,15 @@ }, "property": { "type": "Identifier", - "start": 16837, - "end": 16855, + "start": 17047, + "end": 17065, "loc": { "start": { - "line": 480, + "line": 485, "column": 42 }, "end": { - "line": 480, + "line": 485, "column": 60 }, "identifierName": "AUDIO_OUTPUT_READY" @@ -76408,15 +77198,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16775, - "end": 16794, + "start": 16985, + "end": 17004, "loc": { "start": { - "line": 479, + "line": 484, "column": 16 }, "end": { - "line": 479, + "line": 484, "column": 35 } } @@ -76431,15 +77221,15 @@ }, "property": { "type": "Identifier", - "start": 16873, - "end": 16878, + "start": 17083, + "end": 17088, "loc": { "start": { - "line": 481, + "line": 486, "column": 15 }, "end": { - "line": 481, + "line": 486, "column": 20 }, "identifierName": "catch" @@ -76451,15 +77241,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 16879, - "end": 17035, + "start": 17089, + "end": 17245, "loc": { "start": { - "line": 481, + "line": 486, "column": 21 }, "end": { - "line": 486, + "line": 491, "column": 13 } }, @@ -76470,15 +77260,15 @@ "params": [ { "type": "Identifier", - "start": 16880, - "end": 16883, + "start": 17090, + "end": 17093, "loc": { "start": { - "line": 481, + "line": 486, "column": 22 }, "end": { - "line": 481, + "line": 486, "column": 25 }, "identifierName": "err" @@ -76488,86 +77278,86 @@ ], "body": { "type": "BlockStatement", - "start": 16888, - "end": 17035, + "start": 17098, + "end": 17245, "loc": { "start": { - "line": 481, + "line": 486, "column": 30 }, "end": { - "line": 486, + "line": 491, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 16942, - "end": 16980, + "start": 17152, + "end": 17190, "loc": { "start": { - "line": 483, + "line": 488, "column": 16 }, "end": { - "line": 483, + "line": 488, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 16942, - "end": 16979, + "start": 17152, + "end": 17189, "loc": { "start": { - "line": 483, + "line": 488, "column": 16 }, "end": { - "line": 483, + "line": 488, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 16942, - "end": 16961, + "start": 17152, + "end": 17171, "loc": { "start": { - "line": 483, + "line": 488, "column": 16 }, "end": { - "line": 483, + "line": 488, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 16942, - "end": 16953, + "start": 17152, + "end": 17163, "loc": { "start": { - "line": 483, + "line": 488, "column": 16 }, "end": { - "line": 483, + "line": 488, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 16942, - "end": 16946, + "start": 17152, + "end": 17156, "loc": { "start": { - "line": 483, + "line": 488, "column": 16 }, "end": { - "line": 483, + "line": 488, "column": 20 } }, @@ -76575,15 +77365,15 @@ }, "property": { "type": "Identifier", - "start": 16947, - "end": 16953, + "start": 17157, + "end": 17163, "loc": { "start": { - "line": 483, + "line": 488, "column": 21 }, "end": { - "line": 483, + "line": 488, "column": 27 }, "identifierName": "player" @@ -76595,15 +77385,15 @@ }, "property": { "type": "Identifier", - "start": 16954, - "end": 16961, + "start": 17164, + "end": 17171, "loc": { "start": { - "line": 483, + "line": 488, "column": 28 }, "end": { - "line": 483, + "line": 488, "column": 35 }, "identifierName": "trigger" @@ -76616,29 +77406,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 16962, - "end": 16973, + "start": 17172, + "end": 17183, "loc": { "start": { - "line": 483, + "line": 488, "column": 36 }, "end": { - "line": 483, + "line": 488, "column": 47 } }, "object": { "type": "Identifier", - "start": 16962, - "end": 16967, + "start": 17172, + "end": 17177, "loc": { "start": { - "line": 483, + "line": 488, "column": 36 }, "end": { - "line": 483, + "line": 488, "column": 41 }, "identifierName": "Event" @@ -76647,15 +77437,15 @@ }, "property": { "type": "Identifier", - "start": 16968, - "end": 16973, + "start": 17178, + "end": 17183, "loc": { "start": { - "line": 483, + "line": 488, "column": 42 }, "end": { - "line": 483, + "line": 488, "column": 47 }, "identifierName": "ERROR" @@ -76666,15 +77456,15 @@ }, { "type": "Identifier", - "start": 16975, - "end": 16978, + "start": 17185, + "end": 17188, "loc": { "start": { - "line": 483, + "line": 488, "column": 49 }, "end": { - "line": 483, + "line": 488, "column": 52 }, "identifierName": "err" @@ -76688,15 +77478,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16906, - "end": 16925, + "start": 17116, + "end": 17135, "loc": { "start": { - "line": 482, + "line": 487, "column": 16 }, "end": { - "line": 482, + "line": 487, "column": 35 } } @@ -76705,72 +77495,72 @@ }, { "type": "ExpressionStatement", - "start": 16998, - "end": 17021, + "start": 17208, + "end": 17231, "loc": { "start": { - "line": 485, + "line": 490, "column": 16 }, "end": { - "line": 485, + "line": 490, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 16998, - "end": 17020, + "start": 17208, + "end": 17230, "loc": { "start": { - "line": 485, + "line": 490, "column": 16 }, "end": { - "line": 485, + "line": 490, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 16998, - "end": 17006, + "start": 17208, + "end": 17216, "loc": { "start": { - "line": 485, + "line": 490, "column": 16 }, "end": { - "line": 485, + "line": 490, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 16998, - "end": 17002, + "start": 17208, + "end": 17212, "loc": { "start": { - "line": 485, + "line": 490, "column": 16 }, "end": { - "line": 485, + "line": 490, "column": 20 } } }, "property": { "type": "Identifier", - "start": 17003, - "end": 17006, + "start": 17213, + "end": 17216, "loc": { "start": { - "line": 485, + "line": 490, "column": 21 }, "end": { - "line": 485, + "line": 490, "column": 24 }, "identifierName": "log" @@ -76782,15 +77572,15 @@ "arguments": [ { "type": "Identifier", - "start": 17007, - "end": 17010, + "start": 17217, + "end": 17220, "loc": { "start": { - "line": 485, + "line": 490, "column": 25 }, "end": { - "line": 485, + "line": 490, "column": 28 }, "identifierName": "err" @@ -76799,15 +77589,15 @@ }, { "type": "StringLiteral", - "start": 17012, - "end": 17019, + "start": 17222, + "end": 17229, "loc": { "start": { - "line": 485, + "line": 490, "column": 30 }, "end": { - "line": 485, + "line": 490, "column": 37 } }, @@ -76840,15 +77630,15 @@ { "type": "CommentBlock", "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", - "start": 16522, - "end": 16640, + "start": 16732, + "end": 16850, "loc": { "start": { - "line": 471, + "line": 476, "column": 4 }, "end": { - "line": 475, + "line": 480, "column": 7 } } @@ -76858,15 +77648,15 @@ { "type": "CommentBlock", "value": "*\n * Get the current time (in seconds) of the stream during playback.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Current time of the stream.\n ", - "start": 17059, - "end": 17258, + "start": 17269, + "end": 17468, "loc": { "start": { - "line": 490, + "line": 495, "column": 4 }, "end": { - "line": 496, + "line": 501, "column": 7 } } @@ -76875,15 +77665,15 @@ }, { "type": "ClassMethod", - "start": 17263, - "end": 17432, + "start": 17473, + "end": 17642, "loc": { "start": { - "line": 497, + "line": 502, "column": 4 }, "end": { - "line": 502, + "line": 507, "column": 5 } }, @@ -76891,15 +77681,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17263, - "end": 17277, + "start": 17473, + "end": 17487, "loc": { "start": { - "line": 497, + "line": 502, "column": 4 }, "end": { - "line": 497, + "line": 502, "column": 18 }, "identifierName": "getCurrentTime" @@ -76915,59 +77705,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 17280, - "end": 17432, + "start": 17490, + "end": 17642, "loc": { "start": { - "line": 497, + "line": 502, "column": 21 }, "end": { - "line": 502, + "line": 507, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 17290, - "end": 17337, + "start": 17500, + "end": 17547, "loc": { "start": { - "line": 498, + "line": 503, "column": 8 }, "end": { - "line": 498, + "line": 503, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17294, - "end": 17336, + "start": 17504, + "end": 17546, "loc": { "start": { - "line": 498, + "line": 503, "column": 12 }, "end": { - "line": 498, + "line": 503, "column": 54 } }, "id": { "type": "Identifier", - "start": 17294, - "end": 17305, + "start": 17504, + "end": 17515, "loc": { "start": { - "line": 498, + "line": 503, "column": 12 }, "end": { - "line": 498, + "line": 503, "column": 23 }, "identifierName": "currentTime" @@ -76976,72 +77766,72 @@ }, "init": { "type": "CallExpression", - "start": 17308, - "end": 17336, + "start": 17518, + "end": 17546, "loc": { "start": { - "line": 498, + "line": 503, "column": 26 }, "end": { - "line": 498, + "line": 503, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 17308, - "end": 17334, + "start": 17518, + "end": 17544, "loc": { "start": { - "line": 498, + "line": 503, "column": 26 }, "end": { - "line": 498, + "line": 503, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 17308, - "end": 17319, + "start": 17518, + "end": 17529, "loc": { "start": { - "line": 498, + "line": 503, "column": 26 }, "end": { - "line": 498, + "line": 503, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 17308, - "end": 17312, + "start": 17518, + "end": 17522, "loc": { "start": { - "line": 498, + "line": 503, "column": 26 }, "end": { - "line": 498, + "line": 503, "column": 30 } } }, "property": { "type": "Identifier", - "start": 17313, - "end": 17319, + "start": 17523, + "end": 17529, "loc": { "start": { - "line": 498, + "line": 503, "column": 31 }, "end": { - "line": 498, + "line": 503, "column": 37 }, "identifierName": "surfer" @@ -77052,15 +77842,15 @@ }, "property": { "type": "Identifier", - "start": 17320, - "end": 17334, + "start": 17530, + "end": 17544, "loc": { "start": { - "line": 498, + "line": 503, "column": 38 }, "end": { - "line": 498, + "line": 503, "column": 52 }, "identifierName": "getCurrentTime" @@ -77077,44 +77867,44 @@ }, { "type": "ExpressionStatement", - "start": 17346, - "end": 17397, + "start": 17556, + "end": 17607, "loc": { "start": { - "line": 499, + "line": 504, "column": 8 }, "end": { - "line": 499, + "line": 504, "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 17346, - "end": 17396, + "start": 17556, + "end": 17606, "loc": { "start": { - "line": 499, + "line": 504, "column": 8 }, "end": { - "line": 499, + "line": 504, "column": 58 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17346, - "end": 17357, + "start": 17556, + "end": 17567, "loc": { "start": { - "line": 499, + "line": 504, "column": 8 }, "end": { - "line": 499, + "line": 504, "column": 19 }, "identifierName": "currentTime" @@ -77123,43 +77913,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 17360, - "end": 17396, + "start": 17570, + "end": 17606, "loc": { "start": { - "line": 499, + "line": 504, "column": 22 }, "end": { - "line": 499, + "line": 504, "column": 58 } }, "test": { "type": "CallExpression", - "start": 17360, - "end": 17378, + "start": 17570, + "end": 17588, "loc": { "start": { - "line": 499, + "line": 504, "column": 22 }, "end": { - "line": 499, + "line": 504, "column": 40 } }, "callee": { "type": "Identifier", - "start": 17360, - "end": 17365, + "start": 17570, + "end": 17575, "loc": { "start": { - "line": 499, + "line": 504, "column": 22 }, "end": { - "line": 499, + "line": 504, "column": 27 }, "identifierName": "isNaN" @@ -77169,15 +77959,15 @@ "arguments": [ { "type": "Identifier", - "start": 17366, - "end": 17377, + "start": 17576, + "end": 17587, "loc": { "start": { - "line": 499, + "line": 504, "column": 28 }, "end": { - "line": 499, + "line": 504, "column": 39 }, "identifierName": "currentTime" @@ -77188,15 +77978,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 17381, - "end": 17382, + "start": 17591, + "end": 17592, "loc": { "start": { - "line": 499, + "line": 504, "column": 43 }, "end": { - "line": 499, + "line": 504, "column": 44 } }, @@ -77208,15 +77998,15 @@ }, "alternate": { "type": "Identifier", - "start": 17385, - "end": 17396, + "start": 17595, + "end": 17606, "loc": { "start": { - "line": 499, + "line": 504, "column": 47 }, "end": { - "line": 499, + "line": 504, "column": 58 }, "identifierName": "currentTime" @@ -77228,29 +78018,29 @@ }, { "type": "ReturnStatement", - "start": 17407, - "end": 17426, + "start": 17617, + "end": 17636, "loc": { "start": { - "line": 501, + "line": 506, "column": 8 }, "end": { - "line": 501, + "line": 506, "column": 27 } }, "argument": { "type": "Identifier", - "start": 17414, - "end": 17425, + "start": 17624, + "end": 17635, "loc": { "start": { - "line": 501, + "line": 506, "column": 15 }, "end": { - "line": 501, + "line": 506, "column": 26 }, "identifierName": "currentTime" @@ -77266,15 +78056,15 @@ { "type": "CommentBlock", "value": "*\n * Get the current time (in seconds) of the stream during playback.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Current time of the stream.\n ", - "start": 17059, - "end": 17258, + "start": 17269, + "end": 17468, "loc": { "start": { - "line": 490, + "line": 495, "column": 4 }, "end": { - "line": 496, + "line": 501, "column": 7 } } @@ -77284,15 +78074,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the current time.\n *\n * @param {number} [currentTime] - Current position of the playhead\n * (in seconds).\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 17438, - "end": 17709, + "start": 17648, + "end": 17919, "loc": { "start": { - "line": 504, + "line": 509, "column": 4 }, "end": { - "line": 511, + "line": 516, "column": 7 } } @@ -77301,15 +78091,15 @@ }, { "type": "ClassMethod", - "start": 17714, - "end": 18835, + "start": 17924, + "end": 19051, "loc": { "start": { - "line": 512, + "line": 517, "column": 4 }, "end": { - "line": 539, + "line": 544, "column": 5 } }, @@ -77317,15 +78107,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17714, - "end": 17728, + "start": 17924, + "end": 17938, "loc": { "start": { - "line": 512, + "line": 517, "column": 4 }, "end": { - "line": 512, + "line": 517, "column": 18 }, "identifierName": "setCurrentTime" @@ -77341,15 +78131,15 @@ "params": [ { "type": "Identifier", - "start": 17729, - "end": 17740, + "start": 17939, + "end": 17950, "loc": { "start": { - "line": 512, + "line": 517, "column": 19 }, "end": { - "line": 512, + "line": 517, "column": 30 }, "identifierName": "currentTime" @@ -77358,15 +78148,15 @@ }, { "type": "Identifier", - "start": 17742, - "end": 17750, + "start": 17952, + "end": 17960, "loc": { "start": { - "line": 512, + "line": 517, "column": 32 }, "end": { - "line": 512, + "line": 517, "column": 40 }, "identifierName": "duration" @@ -77376,58 +78166,58 @@ ], "body": { "type": "BlockStatement", - "start": 17752, - "end": 18835, + "start": 17962, + "end": 19051, "loc": { "start": { - "line": 512, + "line": 517, "column": 42 }, "end": { - "line": 539, + "line": 544, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 17762, - "end": 17860, + "start": 17972, + "end": 18070, "loc": { "start": { - "line": 513, + "line": 518, "column": 8 }, "end": { - "line": 515, + "line": 520, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 17766, - "end": 17791, + "start": 17976, + "end": 18001, "loc": { "start": { - "line": 513, + "line": 518, "column": 12 }, "end": { - "line": 513, + "line": 518, "column": 37 } }, "left": { "type": "Identifier", - "start": 17766, - "end": 17777, + "start": 17976, + "end": 17987, "loc": { "start": { - "line": 513, + "line": 518, "column": 12 }, "end": { - "line": 513, + "line": 518, "column": 23 }, "identifierName": "currentTime" @@ -77437,15 +78227,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 17782, - "end": 17791, + "start": 17992, + "end": 18001, "loc": { "start": { - "line": 513, + "line": 518, "column": 28 }, "end": { - "line": 513, + "line": 518, "column": 37 }, "identifierName": "undefined" @@ -77455,59 +78245,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 17793, - "end": 17860, + "start": 18003, + "end": 18070, "loc": { "start": { - "line": 513, + "line": 518, "column": 39 }, "end": { - "line": 515, + "line": 520, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 17807, - "end": 17850, + "start": 18017, + "end": 18060, "loc": { "start": { - "line": 514, + "line": 519, "column": 12 }, "end": { - "line": 514, + "line": 519, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 17807, - "end": 17849, + "start": 18017, + "end": 18059, "loc": { "start": { - "line": 514, + "line": 519, "column": 12 }, "end": { - "line": 514, + "line": 519, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17807, - "end": 17818, + "start": 18017, + "end": 18028, "loc": { "start": { - "line": 514, + "line": 519, "column": 12 }, "end": { - "line": 514, + "line": 519, "column": 23 }, "identifierName": "currentTime" @@ -77516,72 +78306,72 @@ }, "right": { "type": "CallExpression", - "start": 17821, - "end": 17849, + "start": 18031, + "end": 18059, "loc": { "start": { - "line": 514, + "line": 519, "column": 26 }, "end": { - "line": 514, + "line": 519, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 17821, - "end": 17847, + "start": 18031, + "end": 18057, "loc": { "start": { - "line": 514, + "line": 519, "column": 26 }, "end": { - "line": 514, + "line": 519, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 17821, - "end": 17832, + "start": 18031, + "end": 18042, "loc": { "start": { - "line": 514, + "line": 519, "column": 26 }, "end": { - "line": 514, + "line": 519, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 17821, - "end": 17825, + "start": 18031, + "end": 18035, "loc": { "start": { - "line": 514, + "line": 519, "column": 26 }, "end": { - "line": 514, + "line": 519, "column": 30 } } }, "property": { "type": "Identifier", - "start": 17826, - "end": 17832, + "start": 18036, + "end": 18042, "loc": { "start": { - "line": 514, + "line": 519, "column": 31 }, "end": { - "line": 514, + "line": 519, "column": 37 }, "identifierName": "surfer" @@ -77592,15 +78382,15 @@ }, "property": { "type": "Identifier", - "start": 17833, - "end": 17847, + "start": 18043, + "end": 18057, "loc": { "start": { - "line": 514, + "line": 519, "column": 38 }, "end": { - "line": 514, + "line": 519, "column": 52 }, "identifierName": "getCurrentTime" @@ -77620,43 +78410,43 @@ }, { "type": "IfStatement", - "start": 17870, - "end": 17959, + "start": 18080, + "end": 18169, "loc": { "start": { - "line": 517, + "line": 522, "column": 8 }, "end": { - "line": 519, + "line": 524, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 17874, - "end": 17896, + "start": 18084, + "end": 18106, "loc": { "start": { - "line": 517, + "line": 522, "column": 12 }, "end": { - "line": 517, + "line": 522, "column": 34 } }, "left": { "type": "Identifier", - "start": 17874, - "end": 17882, + "start": 18084, + "end": 18092, "loc": { "start": { - "line": 517, + "line": 522, "column": 12 }, "end": { - "line": 517, + "line": 522, "column": 20 }, "identifierName": "duration" @@ -77666,15 +78456,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 17887, - "end": 17896, + "start": 18097, + "end": 18106, "loc": { "start": { - "line": 517, + "line": 522, "column": 25 }, "end": { - "line": 517, + "line": 522, "column": 34 }, "identifierName": "undefined" @@ -77684,59 +78474,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 17898, - "end": 17959, + "start": 18108, + "end": 18169, "loc": { "start": { - "line": 517, + "line": 522, "column": 36 }, "end": { - "line": 519, + "line": 524, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 17912, - "end": 17949, + "start": 18122, + "end": 18159, "loc": { "start": { - "line": 518, + "line": 523, "column": 12 }, "end": { - "line": 518, + "line": 523, "column": 49 } }, "expression": { "type": "AssignmentExpression", - "start": 17912, - "end": 17948, + "start": 18122, + "end": 18158, "loc": { "start": { - "line": 518, + "line": 523, "column": 12 }, "end": { - "line": 518, + "line": 523, "column": 48 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17912, - "end": 17920, + "start": 18122, + "end": 18130, "loc": { "start": { - "line": 518, + "line": 523, "column": 12 }, "end": { - "line": 518, + "line": 523, "column": 20 }, "identifierName": "duration" @@ -77745,72 +78535,72 @@ }, "right": { "type": "CallExpression", - "start": 17923, - "end": 17948, + "start": 18133, + "end": 18158, "loc": { "start": { - "line": 518, + "line": 523, "column": 23 }, "end": { - "line": 518, + "line": 523, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 17923, - "end": 17946, + "start": 18133, + "end": 18156, "loc": { "start": { - "line": 518, + "line": 523, "column": 23 }, "end": { - "line": 518, + "line": 523, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 17923, - "end": 17934, + "start": 18133, + "end": 18144, "loc": { "start": { - "line": 518, + "line": 523, "column": 23 }, "end": { - "line": 518, + "line": 523, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 17923, - "end": 17927, + "start": 18133, + "end": 18137, "loc": { "start": { - "line": 518, + "line": 523, "column": 23 }, "end": { - "line": 518, + "line": 523, "column": 27 } } }, "property": { "type": "Identifier", - "start": 17928, - "end": 17934, + "start": 18138, + "end": 18144, "loc": { "start": { - "line": 518, + "line": 523, "column": 28 }, "end": { - "line": 518, + "line": 523, "column": 34 }, "identifierName": "surfer" @@ -77821,15 +78611,15 @@ }, "property": { "type": "Identifier", - "start": 17935, - "end": 17946, + "start": 18145, + "end": 18156, "loc": { "start": { - "line": 518, + "line": 523, "column": 35 }, "end": { - "line": 518, + "line": 523, "column": 46 }, "identifierName": "getDuration" @@ -77849,44 +78639,44 @@ }, { "type": "ExpressionStatement", - "start": 17969, - "end": 18020, + "start": 18179, + "end": 18230, "loc": { "start": { - "line": 521, + "line": 526, "column": 8 }, "end": { - "line": 521, + "line": 526, "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 17969, - "end": 18019, + "start": 18179, + "end": 18229, "loc": { "start": { - "line": 521, + "line": 526, "column": 8 }, "end": { - "line": 521, + "line": 526, "column": 58 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17969, - "end": 17980, + "start": 18179, + "end": 18190, "loc": { "start": { - "line": 521, + "line": 526, "column": 8 }, "end": { - "line": 521, + "line": 526, "column": 19 }, "identifierName": "currentTime" @@ -77895,43 +78685,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 17983, - "end": 18019, + "start": 18193, + "end": 18229, "loc": { "start": { - "line": 521, + "line": 526, "column": 22 }, "end": { - "line": 521, + "line": 526, "column": 58 } }, "test": { "type": "CallExpression", - "start": 17983, - "end": 18001, + "start": 18193, + "end": 18211, "loc": { "start": { - "line": 521, + "line": 526, "column": 22 }, "end": { - "line": 521, + "line": 526, "column": 40 } }, "callee": { "type": "Identifier", - "start": 17983, - "end": 17988, + "start": 18193, + "end": 18198, "loc": { "start": { - "line": 521, + "line": 526, "column": 22 }, "end": { - "line": 521, + "line": 526, "column": 27 }, "identifierName": "isNaN" @@ -77941,15 +78731,15 @@ "arguments": [ { "type": "Identifier", - "start": 17989, - "end": 18000, + "start": 18199, + "end": 18210, "loc": { "start": { - "line": 521, + "line": 526, "column": 28 }, "end": { - "line": 521, + "line": 526, "column": 39 }, "identifierName": "currentTime" @@ -77960,15 +78750,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 18004, - "end": 18005, + "start": 18214, + "end": 18215, "loc": { "start": { - "line": 521, + "line": 526, "column": 43 }, "end": { - "line": 521, + "line": 526, "column": 44 } }, @@ -77980,15 +78770,15 @@ }, "alternate": { "type": "Identifier", - "start": 18008, - "end": 18019, + "start": 18218, + "end": 18229, "loc": { "start": { - "line": 521, + "line": 526, "column": 47 }, "end": { - "line": 521, + "line": 526, "column": 58 }, "identifierName": "currentTime" @@ -78000,44 +78790,44 @@ }, { "type": "ExpressionStatement", - "start": 18029, - "end": 18071, + "start": 18239, + "end": 18281, "loc": { "start": { - "line": 522, + "line": 527, "column": 8 }, "end": { - "line": 522, + "line": 527, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 18029, - "end": 18070, + "start": 18239, + "end": 18280, "loc": { "start": { - "line": 522, + "line": 527, "column": 8 }, "end": { - "line": 522, + "line": 527, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 18029, - "end": 18037, + "start": 18239, + "end": 18247, "loc": { "start": { - "line": 522, + "line": 527, "column": 8 }, "end": { - "line": 522, + "line": 527, "column": 16 }, "identifierName": "duration" @@ -78046,43 +78836,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 18040, - "end": 18070, + "start": 18250, + "end": 18280, "loc": { "start": { - "line": 522, + "line": 527, "column": 19 }, "end": { - "line": 522, + "line": 527, "column": 49 } }, "test": { "type": "CallExpression", - "start": 18040, - "end": 18055, + "start": 18250, + "end": 18265, "loc": { "start": { - "line": 522, + "line": 527, "column": 19 }, "end": { - "line": 522, + "line": 527, "column": 34 } }, "callee": { "type": "Identifier", - "start": 18040, - "end": 18045, + "start": 18250, + "end": 18255, "loc": { "start": { - "line": 522, + "line": 527, "column": 19 }, "end": { - "line": 522, + "line": 527, "column": 24 }, "identifierName": "isNaN" @@ -78092,15 +78882,15 @@ "arguments": [ { "type": "Identifier", - "start": 18046, - "end": 18054, + "start": 18256, + "end": 18264, "loc": { "start": { - "line": 522, + "line": 527, "column": 25 }, "end": { - "line": 522, + "line": 527, "column": 33 }, "identifierName": "duration" @@ -78111,15 +78901,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 18058, - "end": 18059, + "start": 18268, + "end": 18269, "loc": { "start": { - "line": 522, + "line": 527, "column": 37 }, "end": { - "line": 522, + "line": 527, "column": 38 } }, @@ -78131,15 +78921,15 @@ }, "alternate": { "type": "Identifier", - "start": 18062, - "end": 18070, + "start": 18272, + "end": 18280, "loc": { "start": { - "line": 522, + "line": 527, "column": 41 }, "end": { - "line": 522, + "line": 527, "column": 49 }, "identifierName": "duration" @@ -78152,15 +78942,15 @@ { "type": "CommentLine", "value": " update current time display component", - "start": 18081, - "end": 18121, + "start": 18291, + "end": 18331, "loc": { "start": { - "line": 524, + "line": 529, "column": 8 }, "end": { - "line": 524, + "line": 529, "column": 48 } } @@ -78169,99 +78959,99 @@ }, { "type": "IfStatement", - "start": 18130, - "end": 18632, + "start": 18340, + "end": 18848, "loc": { "start": { - "line": 525, + "line": 530, "column": 8 }, "end": { - "line": 533, + "line": 538, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 18134, - "end": 18323, + "start": 18344, + "end": 18533, "loc": { "start": { - "line": 525, + "line": 530, "column": 12 }, "end": { - "line": 527, + "line": 532, "column": 75 } }, "left": { "type": "LogicalExpression", - "start": 18134, - "end": 18244, + "start": 18344, + "end": 18454, "loc": { "start": { - "line": 525, + "line": 530, "column": 12 }, "end": { - "line": 526, + "line": 531, "column": 65 } }, "left": { "type": "MemberExpression", - "start": 18134, - "end": 18175, + "start": 18344, + "end": 18385, "loc": { "start": { - "line": 525, + "line": 530, "column": 12 }, "end": { - "line": 525, + "line": 530, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 18134, - "end": 18156, + "start": 18344, + "end": 18366, "loc": { "start": { - "line": 525, + "line": 530, "column": 12 }, "end": { - "line": 525, + "line": 530, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18134, - "end": 18145, + "start": 18344, + "end": 18355, "loc": { "start": { - "line": 525, + "line": 530, "column": 12 }, "end": { - "line": 525, + "line": 530, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18134, - "end": 18138, + "start": 18344, + "end": 18348, "loc": { "start": { - "line": 525, + "line": 530, "column": 12 }, "end": { - "line": 525, + "line": 530, "column": 16 } }, @@ -78269,15 +79059,15 @@ }, "property": { "type": "Identifier", - "start": 18139, - "end": 18145, + "start": 18349, + "end": 18355, "loc": { "start": { - "line": 525, + "line": 530, "column": 17 }, "end": { - "line": 525, + "line": 530, "column": 23 }, "identifierName": "player" @@ -78289,15 +79079,15 @@ }, "property": { "type": "Identifier", - "start": 18146, - "end": 18156, + "start": 18356, + "end": 18366, "loc": { "start": { - "line": 525, + "line": 530, "column": 24 }, "end": { - "line": 525, + "line": 530, "column": 34 }, "identifierName": "controlBar" @@ -78309,15 +79099,15 @@ }, "property": { "type": "Identifier", - "start": 18157, - "end": 18175, + "start": 18367, + "end": 18385, "loc": { "start": { - "line": 525, + "line": 530, "column": 35 }, "end": { - "line": 525, + "line": 530, "column": 53 }, "identifierName": "currentTimeDisplay" @@ -78330,100 +79120,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 18191, - "end": 18244, + "start": 18401, + "end": 18454, "loc": { "start": { - "line": 526, + "line": 531, "column": 12 }, "end": { - "line": 526, + "line": 531, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 18191, - "end": 18242, + "start": 18401, + "end": 18452, "loc": { "start": { - "line": 526, + "line": 531, "column": 12 }, "end": { - "line": 526, + "line": 531, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 18191, - "end": 18232, + "start": 18401, + "end": 18442, "loc": { "start": { - "line": 526, + "line": 531, "column": 12 }, "end": { - "line": 526, + "line": 531, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 18191, - "end": 18213, + "start": 18401, + "end": 18423, "loc": { "start": { - "line": 526, + "line": 531, "column": 12 }, "end": { - "line": 526, + "line": 531, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18191, - "end": 18202, + "start": 18401, + "end": 18412, "loc": { "start": { - "line": 526, + "line": 531, "column": 12 }, "end": { - "line": 526, + "line": 531, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18191, - "end": 18195, + "start": 18401, + "end": 18405, "loc": { "start": { - "line": 526, + "line": 531, "column": 12 }, "end": { - "line": 526, + "line": 531, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18196, - "end": 18202, + "start": 18406, + "end": 18412, "loc": { "start": { - "line": 526, + "line": 531, "column": 17 }, "end": { - "line": 526, + "line": 531, "column": 23 }, "identifierName": "player" @@ -78434,15 +79224,15 @@ }, "property": { "type": "Identifier", - "start": 18203, - "end": 18213, + "start": 18413, + "end": 18423, "loc": { "start": { - "line": 526, + "line": 531, "column": 24 }, "end": { - "line": 526, + "line": 531, "column": 34 }, "identifierName": "controlBar" @@ -78453,15 +79243,15 @@ }, "property": { "type": "Identifier", - "start": 18214, - "end": 18232, + "start": 18424, + "end": 18442, "loc": { "start": { - "line": 526, + "line": 531, "column": 35 }, "end": { - "line": 526, + "line": 531, "column": 53 }, "identifierName": "currentTimeDisplay" @@ -78472,15 +79262,15 @@ }, "property": { "type": "Identifier", - "start": 18233, - "end": 18242, + "start": 18443, + "end": 18452, "loc": { "start": { - "line": 526, + "line": 531, "column": 54 }, "end": { - "line": 526, + "line": 531, "column": 63 }, "identifierName": "contentEl" @@ -78496,114 +79286,114 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 18260, - "end": 18323, + "start": 18470, + "end": 18533, "loc": { "start": { - "line": 527, + "line": 532, "column": 12 }, "end": { - "line": 527, + "line": 532, "column": 75 } }, "object": { "type": "CallExpression", - "start": 18260, - "end": 18313, + "start": 18470, + "end": 18523, "loc": { "start": { - "line": 527, + "line": 532, "column": 12 }, "end": { - "line": 527, + "line": 532, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 18260, - "end": 18311, + "start": 18470, + "end": 18521, "loc": { "start": { - "line": 527, + "line": 532, "column": 12 }, "end": { - "line": 527, + "line": 532, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 18260, - "end": 18301, + "start": 18470, + "end": 18511, "loc": { "start": { - "line": 527, + "line": 532, "column": 12 }, "end": { - "line": 527, + "line": 532, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 18260, - "end": 18282, + "start": 18470, + "end": 18492, "loc": { "start": { - "line": 527, + "line": 532, "column": 12 }, "end": { - "line": 527, + "line": 532, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18260, - "end": 18271, + "start": 18470, + "end": 18481, "loc": { "start": { - "line": 527, + "line": 532, "column": 12 }, "end": { - "line": 527, + "line": 532, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18260, - "end": 18264, + "start": 18470, + "end": 18474, "loc": { "start": { - "line": 527, + "line": 532, "column": 12 }, "end": { - "line": 527, + "line": 532, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18265, - "end": 18271, + "start": 18475, + "end": 18481, "loc": { "start": { - "line": 527, + "line": 532, "column": 17 }, "end": { - "line": 527, + "line": 532, "column": 23 }, "identifierName": "player" @@ -78614,15 +79404,15 @@ }, "property": { "type": "Identifier", - "start": 18272, - "end": 18282, + "start": 18482, + "end": 18492, "loc": { "start": { - "line": 527, + "line": 532, "column": 24 }, "end": { - "line": 527, + "line": 532, "column": 34 }, "identifierName": "controlBar" @@ -78633,15 +79423,15 @@ }, "property": { "type": "Identifier", - "start": 18283, - "end": 18301, + "start": 18493, + "end": 18511, "loc": { "start": { - "line": 527, + "line": 532, "column": 35 }, "end": { - "line": 527, + "line": 532, "column": 53 }, "identifierName": "currentTimeDisplay" @@ -78652,15 +79442,15 @@ }, "property": { "type": "Identifier", - "start": 18302, - "end": 18311, + "start": 18512, + "end": 18521, "loc": { "start": { - "line": 527, + "line": 532, "column": 54 }, "end": { - "line": 527, + "line": 532, "column": 63 }, "identifierName": "contentEl" @@ -78673,15 +79463,15 @@ }, "property": { "type": "Identifier", - "start": 18314, - "end": 18323, + "start": 18524, + "end": 18533, "loc": { "start": { - "line": 527, + "line": 532, "column": 66 }, "end": { - "line": 527, + "line": 532, "column": 75 }, "identifierName": "lastChild" @@ -78694,59 +79484,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 18325, - "end": 18632, + "start": 18535, + "end": 18848, "loc": { "start": { - "line": 527, + "line": 532, "column": 77 }, "end": { - "line": 533, + "line": 538, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 18339, - "end": 18382, + "start": 18549, + "end": 18592, "loc": { "start": { - "line": 528, + "line": 533, "column": 12 }, "end": { - "line": 528, + "line": 533, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 18343, - "end": 18381, + "start": 18553, + "end": 18591, "loc": { "start": { - "line": 528, + "line": 533, "column": 16 }, "end": { - "line": 528, + "line": 533, "column": 54 } }, "id": { "type": "Identifier", - "start": 18343, - "end": 18347, + "start": 18553, + "end": 18557, "loc": { "start": { - "line": 528, + "line": 533, "column": 16 }, "end": { - "line": 528, + "line": 533, "column": 20 }, "identifierName": "time" @@ -78755,43 +79545,43 @@ }, "init": { "type": "CallExpression", - "start": 18350, - "end": 18381, + "start": 18560, + "end": 18591, "loc": { "start": { - "line": 528, + "line": 533, "column": 23 }, "end": { - "line": 528, + "line": 533, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 18350, - "end": 18358, + "start": 18560, + "end": 18568, "loc": { "start": { - "line": 528, + "line": 533, "column": 23 }, "end": { - "line": 528, + "line": 533, "column": 31 } }, "object": { "type": "Identifier", - "start": 18350, - "end": 18354, + "start": 18560, + "end": 18564, "loc": { "start": { - "line": 528, + "line": 533, "column": 23 }, "end": { - "line": 528, + "line": 533, "column": 27 }, "identifierName": "Math" @@ -78800,15 +79590,15 @@ }, "property": { "type": "Identifier", - "start": 18355, - "end": 18358, + "start": 18565, + "end": 18568, "loc": { "start": { - "line": 528, + "line": 533, "column": 28 }, "end": { - "line": 528, + "line": 533, "column": 31 }, "identifierName": "min" @@ -78820,15 +79610,15 @@ "arguments": [ { "type": "Identifier", - "start": 18359, - "end": 18370, + "start": 18569, + "end": 18580, "loc": { "start": { - "line": 528, + "line": 533, "column": 32 }, "end": { - "line": 528, + "line": 533, "column": 43 }, "identifierName": "currentTime" @@ -78837,15 +79627,15 @@ }, { "type": "Identifier", - "start": 18372, - "end": 18380, + "start": 18582, + "end": 18590, "loc": { "start": { - "line": 528, + "line": 533, "column": 45 }, "end": { - "line": 528, + "line": 533, "column": 53 }, "identifierName": "duration" @@ -78860,115 +79650,115 @@ }, { "type": "ExpressionStatement", - "start": 18396, - "end": 18622, + "start": 18606, + "end": 18838, "loc": { "start": { - "line": 530, + "line": 535, "column": 12 }, "end": { - "line": 532, - "column": 73 + "line": 537, + "column": 79 } }, "expression": { "type": "AssignmentExpression", - "start": 18396, - "end": 18621, + "start": 18606, + "end": 18837, "loc": { "start": { - "line": 530, + "line": 535, "column": 12 }, "end": { - "line": 532, - "column": 72 + "line": 537, + "column": 78 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 18396, - "end": 18452, + "start": 18606, + "end": 18662, "loc": { "start": { - "line": 530, + "line": 535, "column": 12 }, "end": { - "line": 530, + "line": 535, "column": 68 } }, "object": { "type": "MemberExpression", - "start": 18396, - "end": 18437, + "start": 18606, + "end": 18647, "loc": { "start": { - "line": 530, + "line": 535, "column": 12 }, "end": { - "line": 530, + "line": 535, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 18396, - "end": 18418, + "start": 18606, + "end": 18628, "loc": { "start": { - "line": 530, + "line": 535, "column": 12 }, "end": { - "line": 530, + "line": 535, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18396, - "end": 18407, + "start": 18606, + "end": 18617, "loc": { "start": { - "line": 530, + "line": 535, "column": 12 }, "end": { - "line": 530, + "line": 535, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18396, - "end": 18400, + "start": 18606, + "end": 18610, "loc": { "start": { - "line": 530, + "line": 535, "column": 12 }, "end": { - "line": 530, + "line": 535, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18401, - "end": 18407, + "start": 18611, + "end": 18617, "loc": { "start": { - "line": 530, + "line": 535, "column": 17 }, "end": { - "line": 530, + "line": 535, "column": 23 }, "identifierName": "player" @@ -78979,15 +79769,15 @@ }, "property": { "type": "Identifier", - "start": 18408, - "end": 18418, + "start": 18618, + "end": 18628, "loc": { "start": { - "line": 530, + "line": 535, "column": 24 }, "end": { - "line": 530, + "line": 535, "column": 34 }, "identifierName": "controlBar" @@ -78998,15 +79788,15 @@ }, "property": { "type": "Identifier", - "start": 18419, - "end": 18437, + "start": 18629, + "end": 18647, "loc": { "start": { - "line": 530, + "line": 535, "column": 35 }, "end": { - "line": 530, + "line": 535, "column": 53 }, "identifierName": "currentTimeDisplay" @@ -79017,15 +79807,15 @@ }, "property": { "type": "Identifier", - "start": 18438, - "end": 18452, + "start": 18648, + "end": 18662, "loc": { "start": { - "line": 530, + "line": 535, "column": 54 }, "end": { - "line": 530, + "line": 535, "column": 68 }, "identifierName": "formattedTime_" @@ -79036,143 +79826,143 @@ }, "right": { "type": "AssignmentExpression", - "start": 18471, - "end": 18621, + "start": 18681, + "end": 18837, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 532, - "column": 72 + "line": 537, + "column": 78 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 18471, - "end": 18546, + "start": 18681, + "end": 18756, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 531, + "line": 536, "column": 91 } }, "object": { "type": "MemberExpression", - "start": 18471, - "end": 18534, + "start": 18681, + "end": 18744, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 531, + "line": 536, "column": 79 } }, "object": { "type": "CallExpression", - "start": 18471, - "end": 18524, + "start": 18681, + "end": 18734, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 531, + "line": 536, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 18471, - "end": 18522, + "start": 18681, + "end": 18732, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 531, + "line": 536, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 18471, - "end": 18512, + "start": 18681, + "end": 18722, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 531, + "line": 536, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 18471, - "end": 18493, + "start": 18681, + "end": 18703, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 531, + "line": 536, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 18471, - "end": 18482, + "start": 18681, + "end": 18692, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 531, + "line": 536, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 18471, - "end": 18475, + "start": 18681, + "end": 18685, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 531, + "line": 536, "column": 20 } } }, "property": { "type": "Identifier", - "start": 18476, - "end": 18482, + "start": 18686, + "end": 18692, "loc": { "start": { - "line": 531, + "line": 536, "column": 21 }, "end": { - "line": 531, + "line": 536, "column": 27 }, "identifierName": "player" @@ -79183,15 +79973,15 @@ }, "property": { "type": "Identifier", - "start": 18483, - "end": 18493, + "start": 18693, + "end": 18703, "loc": { "start": { - "line": 531, + "line": 536, "column": 28 }, "end": { - "line": 531, + "line": 536, "column": 38 }, "identifierName": "controlBar" @@ -79202,15 +79992,15 @@ }, "property": { "type": "Identifier", - "start": 18494, - "end": 18512, + "start": 18704, + "end": 18722, "loc": { "start": { - "line": 531, + "line": 536, "column": 39 }, "end": { - "line": 531, + "line": 536, "column": 57 }, "identifierName": "currentTimeDisplay" @@ -79221,15 +80011,15 @@ }, "property": { "type": "Identifier", - "start": 18513, - "end": 18522, + "start": 18723, + "end": 18732, "loc": { "start": { - "line": 531, + "line": 536, "column": 58 }, "end": { - "line": 531, + "line": 536, "column": 67 }, "identifierName": "contentEl" @@ -79242,15 +80032,15 @@ }, "property": { "type": "Identifier", - "start": 18525, - "end": 18534, + "start": 18735, + "end": 18744, "loc": { "start": { - "line": 531, + "line": 536, "column": 70 }, "end": { - "line": 531, + "line": 536, "column": 79 }, "identifierName": "lastChild" @@ -79261,15 +80051,15 @@ }, "property": { "type": "Identifier", - "start": 18535, - "end": 18546, + "start": 18745, + "end": 18756, "loc": { "start": { - "line": 531, + "line": 536, "column": 80 }, "end": { - "line": 531, + "line": 536, "column": 91 }, "identifierName": "textContent" @@ -79280,48 +80070,79 @@ }, "right": { "type": "CallExpression", - "start": 18569, - "end": 18621, + "start": 18779, + "end": 18837, "loc": { "start": { - "line": 532, + "line": 537, "column": 20 }, "end": { - "line": 532, - "column": 72 + "line": 537, + "column": 78 } }, "callee": { - "type": "Identifier", - "start": 18569, - "end": 18579, + "type": "MemberExpression", + "start": 18779, + "end": 18795, "loc": { "start": { - "line": 532, + "line": 537, "column": 20 }, "end": { - "line": 532, - "column": 30 + "line": 537, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 18779, + "end": 18783, + "loc": { + "start": { + "line": 537, + "column": 20 + }, + "end": { + "line": 537, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 18784, + "end": 18795, + "loc": { + "start": { + "line": 537, + "column": 25 + }, + "end": { + "line": 537, + "column": 36 + }, + "identifierName": "_formatTime" }, - "identifierName": "formatTime" + "name": "_formatTime" }, - "name": "formatTime" + "computed": false }, "arguments": [ { "type": "Identifier", - "start": 18580, - "end": 18584, + "start": 18796, + "end": 18800, "loc": { "start": { - "line": 532, - "column": 31 + "line": 537, + "column": 37 }, "end": { - "line": 532, - "column": 35 + "line": 537, + "column": 41 }, "identifierName": "time" }, @@ -79329,16 +80150,16 @@ }, { "type": "Identifier", - "start": 18586, - "end": 18594, + "start": 18802, + "end": 18810, "loc": { "start": { - "line": 532, - "column": 37 + "line": 537, + "column": 43 }, "end": { - "line": 532, - "column": 45 + "line": 537, + "column": 51 }, "identifierName": "duration" }, @@ -79346,45 +80167,45 @@ }, { "type": "MemberExpression", - "start": 18596, - "end": 18620, + "start": 18812, + "end": 18836, "loc": { "start": { - "line": 532, - "column": 47 + "line": 537, + "column": 53 }, "end": { - "line": 532, - "column": 71 + "line": 537, + "column": 77 } }, "object": { "type": "ThisExpression", - "start": 18596, - "end": 18600, + "start": 18812, + "end": 18816, "loc": { "start": { - "line": 532, - "column": 47 + "line": 537, + "column": 53 }, "end": { - "line": 532, - "column": 51 + "line": 537, + "column": 57 } } }, "property": { "type": "Identifier", - "start": 18601, - "end": 18620, + "start": 18817, + "end": 18836, "loc": { "start": { - "line": 532, - "column": 52 + "line": 537, + "column": 58 }, "end": { - "line": 532, - "column": 71 + "line": 537, + "column": 77 }, "identifierName": "displayMilliseconds" }, @@ -79405,15 +80226,15 @@ { "type": "CommentLine", "value": " update current time display component", - "start": 18081, - "end": 18121, + "start": 18291, + "end": 18331, "loc": { "start": { - "line": 524, + "line": 529, "column": 8 }, "end": { - "line": 524, + "line": 529, "column": 48 } } @@ -79422,86 +80243,86 @@ }, { "type": "IfStatement", - "start": 18642, - "end": 18829, + "start": 18858, + "end": 19045, "loc": { "start": { - "line": 535, + "line": 540, "column": 8 }, "end": { - "line": 538, + "line": 543, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 18646, - "end": 18714, + "start": 18862, + "end": 18930, "loc": { "start": { - "line": 535, + "line": 540, "column": 12 }, "end": { - "line": 535, + "line": 540, "column": 80 } }, "left": { "type": "LogicalExpression", - "start": 18646, - "end": 18689, + "start": 18862, + "end": 18905, "loc": { "start": { - "line": 535, + "line": 540, "column": 12 }, "end": { - "line": 535, + "line": 540, "column": 55 } }, "left": { "type": "MemberExpression", - "start": 18646, - "end": 18668, + "start": 18862, + "end": 18884, "loc": { "start": { - "line": 535, + "line": 540, "column": 12 }, "end": { - "line": 535, + "line": 540, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 18646, - "end": 18650, + "start": 18862, + "end": 18866, "loc": { "start": { - "line": 535, + "line": 540, "column": 12 }, "end": { - "line": 535, + "line": 540, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18651, - "end": 18668, + "start": 18867, + "end": 18884, "loc": { "start": { - "line": 535, + "line": 540, "column": 17 }, "end": { - "line": 535, + "line": 540, "column": 34 }, "identifierName": "textTracksEnabled" @@ -79513,58 +80334,58 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 18672, - "end": 18689, + "start": 18888, + "end": 18905, "loc": { "start": { - "line": 535, + "line": 540, "column": 38 }, "end": { - "line": 535, + "line": 540, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 18672, - "end": 18683, + "start": 18888, + "end": 18899, "loc": { "start": { - "line": 535, + "line": 540, "column": 38 }, "end": { - "line": 535, + "line": 540, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 18672, - "end": 18676, + "start": 18888, + "end": 18892, "loc": { "start": { - "line": 535, + "line": 540, "column": 38 }, "end": { - "line": 535, + "line": 540, "column": 42 } } }, "property": { "type": "Identifier", - "start": 18677, - "end": 18683, + "start": 18893, + "end": 18899, "loc": { "start": { - "line": 535, + "line": 540, "column": 43 }, "end": { - "line": 535, + "line": 540, "column": 49 }, "identifierName": "player" @@ -79575,15 +80396,15 @@ }, "property": { "type": "Identifier", - "start": 18684, - "end": 18689, + "start": 18900, + "end": 18905, "loc": { "start": { - "line": 535, + "line": 540, "column": 50 }, "end": { - "line": 535, + "line": 540, "column": 55 }, "identifierName": "tech_" @@ -79596,72 +80417,72 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 18693, - "end": 18714, + "start": 18909, + "end": 18930, "loc": { "start": { - "line": 535, + "line": 540, "column": 59 }, "end": { - "line": 535, + "line": 540, "column": 80 } }, "object": { "type": "MemberExpression", - "start": 18693, - "end": 18710, + "start": 18909, + "end": 18926, "loc": { "start": { - "line": 535, + "line": 540, "column": 59 }, "end": { - "line": 535, + "line": 540, "column": 76 } }, "object": { "type": "MemberExpression", - "start": 18693, - "end": 18704, + "start": 18909, + "end": 18920, "loc": { "start": { - "line": 535, + "line": 540, "column": 59 }, "end": { - "line": 535, + "line": 540, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 18693, - "end": 18697, + "start": 18909, + "end": 18913, "loc": { "start": { - "line": 535, + "line": 540, "column": 59 }, "end": { - "line": 535, + "line": 540, "column": 63 } } }, "property": { "type": "Identifier", - "start": 18698, - "end": 18704, + "start": 18914, + "end": 18920, "loc": { "start": { - "line": 535, + "line": 540, "column": 64 }, "end": { - "line": 535, + "line": 540, "column": 70 }, "identifierName": "player" @@ -79672,15 +80493,15 @@ }, "property": { "type": "Identifier", - "start": 18705, - "end": 18710, + "start": 18921, + "end": 18926, "loc": { "start": { - "line": 535, + "line": 540, "column": 71 }, "end": { - "line": 535, + "line": 540, "column": 76 }, "identifierName": "tech_" @@ -79691,15 +80512,15 @@ }, "property": { "type": "Identifier", - "start": 18711, - "end": 18714, + "start": 18927, + "end": 18930, "loc": { "start": { - "line": 535, + "line": 540, "column": 77 }, "end": { - "line": 535, + "line": 540, "column": 80 }, "identifierName": "el_" @@ -79711,100 +80532,100 @@ }, "consequent": { "type": "BlockStatement", - "start": 18716, - "end": 18829, + "start": 18932, + "end": 19045, "loc": { "start": { - "line": 535, + "line": 540, "column": 82 }, "end": { - "line": 538, + "line": 543, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 18773, - "end": 18819, + "start": 18989, + "end": 19035, "loc": { "start": { - "line": 537, + "line": 542, "column": 12 }, "end": { - "line": 537, + "line": 542, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 18773, - "end": 18818, + "start": 18989, + "end": 19034, "loc": { "start": { - "line": 537, + "line": 542, "column": 12 }, "end": { - "line": 537, + "line": 542, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 18773, - "end": 18805, + "start": 18989, + "end": 19021, "loc": { "start": { - "line": 537, + "line": 542, "column": 12 }, "end": { - "line": 537, + "line": 542, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 18773, - "end": 18790, + "start": 18989, + "end": 19006, "loc": { "start": { - "line": 537, + "line": 542, "column": 12 }, "end": { - "line": 537, + "line": 542, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 18773, - "end": 18784, + "start": 18989, + "end": 19000, "loc": { "start": { - "line": 537, + "line": 542, "column": 12 }, "end": { - "line": 537, + "line": 542, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18773, - "end": 18777, + "start": 18989, + "end": 18993, "loc": { "start": { - "line": 537, + "line": 542, "column": 12 }, "end": { - "line": 537, + "line": 542, "column": 16 } }, @@ -79812,15 +80633,15 @@ }, "property": { "type": "Identifier", - "start": 18778, - "end": 18784, + "start": 18994, + "end": 19000, "loc": { "start": { - "line": 537, + "line": 542, "column": 17 }, "end": { - "line": 537, + "line": 542, "column": 23 }, "identifierName": "player" @@ -79832,15 +80653,15 @@ }, "property": { "type": "Identifier", - "start": 18785, - "end": 18790, + "start": 19001, + "end": 19006, "loc": { "start": { - "line": 537, + "line": 542, "column": 24 }, "end": { - "line": 537, + "line": 542, "column": 29 }, "identifierName": "tech_" @@ -79852,15 +80673,15 @@ }, "property": { "type": "Identifier", - "start": 18791, - "end": 18805, + "start": 19007, + "end": 19021, "loc": { "start": { - "line": 537, + "line": 542, "column": 30 }, "end": { - "line": 537, + "line": 542, "column": 44 }, "identifierName": "setCurrentTime" @@ -79873,15 +80694,15 @@ "arguments": [ { "type": "Identifier", - "start": 18806, - "end": 18817, + "start": 19022, + "end": 19033, "loc": { "start": { - "line": 537, + "line": 542, "column": 45 }, "end": { - "line": 537, + "line": 542, "column": 56 }, "identifierName": "currentTime" @@ -79895,15 +80716,15 @@ { "type": "CommentLine", "value": " only needed for text tracks", - "start": 18730, - "end": 18760, + "start": 18946, + "end": 18976, "loc": { "start": { - "line": 536, + "line": 541, "column": 12 }, "end": { - "line": 536, + "line": 541, "column": 42 } } @@ -79923,15 +80744,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the current time.\n *\n * @param {number} [currentTime] - Current position of the playhead\n * (in seconds).\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 17438, - "end": 17709, + "start": 17648, + "end": 17919, "loc": { "start": { - "line": 504, + "line": 509, "column": 4 }, "end": { - "line": 511, + "line": 516, "column": 7 } } @@ -79941,15 +80762,15 @@ { "type": "CommentBlock", "value": "*\n * Get the duration of the stream in seconds.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Duration of the stream.\n ", - "start": 18841, - "end": 19014, + "start": 19057, + "end": 19230, "loc": { "start": { - "line": 541, + "line": 546, "column": 4 }, "end": { - "line": 547, + "line": 552, "column": 7 } } @@ -79958,15 +80779,15 @@ }, { "type": "ClassMethod", - "start": 19019, - "end": 19167, + "start": 19235, + "end": 19383, "loc": { "start": { - "line": 548, + "line": 553, "column": 4 }, "end": { - "line": 553, + "line": 558, "column": 5 } }, @@ -79974,15 +80795,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 19019, - "end": 19030, + "start": 19235, + "end": 19246, "loc": { "start": { - "line": 548, + "line": 553, "column": 4 }, "end": { - "line": 548, + "line": 553, "column": 15 }, "identifierName": "getDuration" @@ -79998,59 +80819,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 19033, - "end": 19167, + "start": 19249, + "end": 19383, "loc": { "start": { - "line": 548, + "line": 553, "column": 18 }, "end": { - "line": 553, + "line": 558, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 19043, - "end": 19084, + "start": 19259, + "end": 19300, "loc": { "start": { - "line": 549, + "line": 554, "column": 8 }, "end": { - "line": 549, + "line": 554, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 19047, - "end": 19083, + "start": 19263, + "end": 19299, "loc": { "start": { - "line": 549, + "line": 554, "column": 12 }, "end": { - "line": 549, + "line": 554, "column": 48 } }, "id": { "type": "Identifier", - "start": 19047, - "end": 19055, + "start": 19263, + "end": 19271, "loc": { "start": { - "line": 549, + "line": 554, "column": 12 }, "end": { - "line": 549, + "line": 554, "column": 20 }, "identifierName": "duration" @@ -80059,72 +80880,72 @@ }, "init": { "type": "CallExpression", - "start": 19058, - "end": 19083, + "start": 19274, + "end": 19299, "loc": { "start": { - "line": 549, + "line": 554, "column": 23 }, "end": { - "line": 549, + "line": 554, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 19058, - "end": 19081, + "start": 19274, + "end": 19297, "loc": { "start": { - "line": 549, + "line": 554, "column": 23 }, "end": { - "line": 549, + "line": 554, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 19058, - "end": 19069, + "start": 19274, + "end": 19285, "loc": { "start": { - "line": 549, + "line": 554, "column": 23 }, "end": { - "line": 549, + "line": 554, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 19058, - "end": 19062, + "start": 19274, + "end": 19278, "loc": { "start": { - "line": 549, + "line": 554, "column": 23 }, "end": { - "line": 549, + "line": 554, "column": 27 } } }, "property": { "type": "Identifier", - "start": 19063, - "end": 19069, + "start": 19279, + "end": 19285, "loc": { "start": { - "line": 549, + "line": 554, "column": 28 }, "end": { - "line": 549, + "line": 554, "column": 34 }, "identifierName": "surfer" @@ -80135,15 +80956,15 @@ }, "property": { "type": "Identifier", - "start": 19070, - "end": 19081, + "start": 19286, + "end": 19297, "loc": { "start": { - "line": 549, + "line": 554, "column": 35 }, "end": { - "line": 549, + "line": 554, "column": 46 }, "identifierName": "getDuration" @@ -80160,44 +80981,44 @@ }, { "type": "ExpressionStatement", - "start": 19093, - "end": 19135, + "start": 19309, + "end": 19351, "loc": { "start": { - "line": 550, + "line": 555, "column": 8 }, "end": { - "line": 550, + "line": 555, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 19093, - "end": 19134, + "start": 19309, + "end": 19350, "loc": { "start": { - "line": 550, + "line": 555, "column": 8 }, "end": { - "line": 550, + "line": 555, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 19093, - "end": 19101, + "start": 19309, + "end": 19317, "loc": { "start": { - "line": 550, + "line": 555, "column": 8 }, "end": { - "line": 550, + "line": 555, "column": 16 }, "identifierName": "duration" @@ -80206,43 +81027,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 19104, - "end": 19134, + "start": 19320, + "end": 19350, "loc": { "start": { - "line": 550, + "line": 555, "column": 19 }, "end": { - "line": 550, + "line": 555, "column": 49 } }, "test": { "type": "CallExpression", - "start": 19104, - "end": 19119, + "start": 19320, + "end": 19335, "loc": { "start": { - "line": 550, + "line": 555, "column": 19 }, "end": { - "line": 550, + "line": 555, "column": 34 } }, "callee": { "type": "Identifier", - "start": 19104, - "end": 19109, + "start": 19320, + "end": 19325, "loc": { "start": { - "line": 550, + "line": 555, "column": 19 }, "end": { - "line": 550, + "line": 555, "column": 24 }, "identifierName": "isNaN" @@ -80252,15 +81073,15 @@ "arguments": [ { "type": "Identifier", - "start": 19110, - "end": 19118, + "start": 19326, + "end": 19334, "loc": { "start": { - "line": 550, + "line": 555, "column": 25 }, "end": { - "line": 550, + "line": 555, "column": 33 }, "identifierName": "duration" @@ -80271,15 +81092,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 19122, - "end": 19123, + "start": 19338, + "end": 19339, "loc": { "start": { - "line": 550, + "line": 555, "column": 37 }, "end": { - "line": 550, + "line": 555, "column": 38 } }, @@ -80291,15 +81112,15 @@ }, "alternate": { "type": "Identifier", - "start": 19126, - "end": 19134, + "start": 19342, + "end": 19350, "loc": { "start": { - "line": 550, + "line": 555, "column": 41 }, "end": { - "line": 550, + "line": 555, "column": 49 }, "identifierName": "duration" @@ -80311,29 +81132,29 @@ }, { "type": "ReturnStatement", - "start": 19145, - "end": 19161, + "start": 19361, + "end": 19377, "loc": { "start": { - "line": 552, + "line": 557, "column": 8 }, "end": { - "line": 552, + "line": 557, "column": 24 } }, "argument": { "type": "Identifier", - "start": 19152, - "end": 19160, + "start": 19368, + "end": 19376, "loc": { "start": { - "line": 552, + "line": 557, "column": 15 }, "end": { - "line": 552, + "line": 557, "column": 23 }, "identifierName": "duration" @@ -80349,15 +81170,15 @@ { "type": "CommentBlock", "value": "*\n * Get the duration of the stream in seconds.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Duration of the stream.\n ", - "start": 18841, - "end": 19014, + "start": 19057, + "end": 19230, "loc": { "start": { - "line": 541, + "line": 546, "column": 4 }, "end": { - "line": 547, + "line": 552, "column": 7 } } @@ -80367,15 +81188,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the duration time.\n *\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 19173, - "end": 19348, + "start": 19389, + "end": 19564, "loc": { "start": { - "line": 555, + "line": 560, "column": 4 }, "end": { - "line": 560, + "line": 565, "column": 7 } } @@ -80384,15 +81205,15 @@ }, { "type": "ClassMethod", - "start": 19353, - "end": 20020, + "start": 19569, + "end": 20242, "loc": { "start": { - "line": 561, + "line": 566, "column": 4 }, "end": { - "line": 575, + "line": 580, "column": 5 } }, @@ -80400,15 +81221,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 19353, - "end": 19364, + "start": 19569, + "end": 19580, "loc": { "start": { - "line": 561, + "line": 566, "column": 4 }, "end": { - "line": 561, + "line": 566, "column": 15 }, "identifierName": "setDuration" @@ -80424,15 +81245,15 @@ "params": [ { "type": "Identifier", - "start": 19365, - "end": 19373, + "start": 19581, + "end": 19589, "loc": { "start": { - "line": 561, + "line": 566, "column": 16 }, "end": { - "line": 561, + "line": 566, "column": 24 }, "identifierName": "duration" @@ -80442,58 +81263,58 @@ ], "body": { "type": "BlockStatement", - "start": 19375, - "end": 20020, + "start": 19591, + "end": 20242, "loc": { "start": { - "line": 561, + "line": 566, "column": 26 }, "end": { - "line": 575, + "line": 580, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 19385, - "end": 19474, + "start": 19601, + "end": 19690, "loc": { "start": { - "line": 562, + "line": 567, "column": 8 }, "end": { - "line": 564, + "line": 569, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 19389, - "end": 19411, + "start": 19605, + "end": 19627, "loc": { "start": { - "line": 562, + "line": 567, "column": 12 }, "end": { - "line": 562, + "line": 567, "column": 34 } }, "left": { "type": "Identifier", - "start": 19389, - "end": 19397, + "start": 19605, + "end": 19613, "loc": { "start": { - "line": 562, + "line": 567, "column": 12 }, "end": { - "line": 562, + "line": 567, "column": 20 }, "identifierName": "duration" @@ -80503,15 +81324,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 19402, - "end": 19411, + "start": 19618, + "end": 19627, "loc": { "start": { - "line": 562, + "line": 567, "column": 25 }, "end": { - "line": 562, + "line": 567, "column": 34 }, "identifierName": "undefined" @@ -80521,59 +81342,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 19413, - "end": 19474, + "start": 19629, + "end": 19690, "loc": { "start": { - "line": 562, + "line": 567, "column": 36 }, "end": { - "line": 564, + "line": 569, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 19427, - "end": 19464, + "start": 19643, + "end": 19680, "loc": { "start": { - "line": 563, + "line": 568, "column": 12 }, "end": { - "line": 563, + "line": 568, "column": 49 } }, "expression": { "type": "AssignmentExpression", - "start": 19427, - "end": 19463, + "start": 19643, + "end": 19679, "loc": { "start": { - "line": 563, + "line": 568, "column": 12 }, "end": { - "line": 563, + "line": 568, "column": 48 } }, "operator": "=", "left": { "type": "Identifier", - "start": 19427, - "end": 19435, + "start": 19643, + "end": 19651, "loc": { "start": { - "line": 563, + "line": 568, "column": 12 }, "end": { - "line": 563, + "line": 568, "column": 20 }, "identifierName": "duration" @@ -80582,72 +81403,72 @@ }, "right": { "type": "CallExpression", - "start": 19438, - "end": 19463, + "start": 19654, + "end": 19679, "loc": { "start": { - "line": 563, + "line": 568, "column": 23 }, "end": { - "line": 563, + "line": 568, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 19438, - "end": 19461, + "start": 19654, + "end": 19677, "loc": { "start": { - "line": 563, + "line": 568, "column": 23 }, "end": { - "line": 563, + "line": 568, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 19438, - "end": 19449, + "start": 19654, + "end": 19665, "loc": { "start": { - "line": 563, + "line": 568, "column": 23 }, "end": { - "line": 563, + "line": 568, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 19438, - "end": 19442, + "start": 19654, + "end": 19658, "loc": { "start": { - "line": 563, + "line": 568, "column": 23 }, "end": { - "line": 563, + "line": 568, "column": 27 } } }, "property": { "type": "Identifier", - "start": 19443, - "end": 19449, + "start": 19659, + "end": 19665, "loc": { "start": { - "line": 563, + "line": 568, "column": 28 }, "end": { - "line": 563, + "line": 568, "column": 34 }, "identifierName": "surfer" @@ -80658,15 +81479,15 @@ }, "property": { "type": "Identifier", - "start": 19450, - "end": 19461, + "start": 19666, + "end": 19677, "loc": { "start": { - "line": 563, + "line": 568, "column": 35 }, "end": { - "line": 563, + "line": 568, "column": 46 }, "identifierName": "getDuration" @@ -80686,44 +81507,44 @@ }, { "type": "ExpressionStatement", - "start": 19483, - "end": 19525, + "start": 19699, + "end": 19741, "loc": { "start": { - "line": 565, + "line": 570, "column": 8 }, "end": { - "line": 565, + "line": 570, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 19483, - "end": 19524, + "start": 19699, + "end": 19740, "loc": { "start": { - "line": 565, + "line": 570, "column": 8 }, "end": { - "line": 565, + "line": 570, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 19483, - "end": 19491, + "start": 19699, + "end": 19707, "loc": { "start": { - "line": 565, + "line": 570, "column": 8 }, "end": { - "line": 565, + "line": 570, "column": 16 }, "identifierName": "duration" @@ -80732,43 +81553,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 19494, - "end": 19524, + "start": 19710, + "end": 19740, "loc": { "start": { - "line": 565, + "line": 570, "column": 19 }, "end": { - "line": 565, + "line": 570, "column": 49 } }, "test": { "type": "CallExpression", - "start": 19494, - "end": 19509, + "start": 19710, + "end": 19725, "loc": { "start": { - "line": 565, + "line": 570, "column": 19 }, "end": { - "line": 565, + "line": 570, "column": 34 } }, "callee": { "type": "Identifier", - "start": 19494, - "end": 19499, + "start": 19710, + "end": 19715, "loc": { "start": { - "line": 565, + "line": 570, "column": 19 }, "end": { - "line": 565, + "line": 570, "column": 24 }, "identifierName": "isNaN" @@ -80778,15 +81599,15 @@ "arguments": [ { "type": "Identifier", - "start": 19500, - "end": 19508, + "start": 19716, + "end": 19724, "loc": { "start": { - "line": 565, + "line": 570, "column": 25 }, "end": { - "line": 565, + "line": 570, "column": 33 }, "identifierName": "duration" @@ -80797,15 +81618,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 19512, - "end": 19513, + "start": 19728, + "end": 19729, "loc": { "start": { - "line": 565, + "line": 570, "column": 37 }, "end": { - "line": 565, + "line": 570, "column": 38 } }, @@ -80817,15 +81638,15 @@ }, "alternate": { "type": "Identifier", - "start": 19516, - "end": 19524, + "start": 19732, + "end": 19740, "loc": { "start": { - "line": 565, + "line": 570, "column": 41 }, "end": { - "line": 565, + "line": 570, "column": 49 }, "identifierName": "duration" @@ -80838,15 +81659,15 @@ { "type": "CommentLine", "value": " update duration display component", - "start": 19535, - "end": 19571, + "start": 19751, + "end": 19787, "loc": { "start": { - "line": 567, + "line": 572, "column": 8 }, "end": { - "line": 567, + "line": 572, "column": 44 } } @@ -80855,99 +81676,99 @@ }, { "type": "IfStatement", - "start": 19580, - "end": 20014, + "start": 19796, + "end": 20236, "loc": { "start": { - "line": 568, + "line": 573, "column": 8 }, "end": { - "line": 574, + "line": 579, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 19584, - "end": 19764, + "start": 19800, + "end": 19980, "loc": { "start": { - "line": 568, + "line": 573, "column": 12 }, "end": { - "line": 570, + "line": 575, "column": 72 } }, "left": { "type": "LogicalExpression", - "start": 19584, - "end": 19688, + "start": 19800, + "end": 19904, "loc": { "start": { - "line": 568, + "line": 573, "column": 12 }, "end": { - "line": 569, + "line": 574, "column": 62 } }, "left": { "type": "MemberExpression", - "start": 19584, - "end": 19622, + "start": 19800, + "end": 19838, "loc": { "start": { - "line": 568, + "line": 573, "column": 12 }, "end": { - "line": 568, + "line": 573, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19584, - "end": 19606, + "start": 19800, + "end": 19822, "loc": { "start": { - "line": 568, + "line": 573, "column": 12 }, "end": { - "line": 568, + "line": 573, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19584, - "end": 19595, + "start": 19800, + "end": 19811, "loc": { "start": { - "line": 568, + "line": 573, "column": 12 }, "end": { - "line": 568, + "line": 573, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19584, - "end": 19588, + "start": 19800, + "end": 19804, "loc": { "start": { - "line": 568, + "line": 573, "column": 12 }, "end": { - "line": 568, + "line": 573, "column": 16 } }, @@ -80955,15 +81776,15 @@ }, "property": { "type": "Identifier", - "start": 19589, - "end": 19595, + "start": 19805, + "end": 19811, "loc": { "start": { - "line": 568, + "line": 573, "column": 17 }, "end": { - "line": 568, + "line": 573, "column": 23 }, "identifierName": "player" @@ -80975,15 +81796,15 @@ }, "property": { "type": "Identifier", - "start": 19596, - "end": 19606, + "start": 19812, + "end": 19822, "loc": { "start": { - "line": 568, + "line": 573, "column": 24 }, "end": { - "line": 568, + "line": 573, "column": 34 }, "identifierName": "controlBar" @@ -80995,15 +81816,15 @@ }, "property": { "type": "Identifier", - "start": 19607, - "end": 19622, + "start": 19823, + "end": 19838, "loc": { "start": { - "line": 568, + "line": 573, "column": 35 }, "end": { - "line": 568, + "line": 573, "column": 50 }, "identifierName": "durationDisplay" @@ -81016,100 +81837,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 19638, - "end": 19688, + "start": 19854, + "end": 19904, "loc": { "start": { - "line": 569, + "line": 574, "column": 12 }, "end": { - "line": 569, + "line": 574, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 19638, - "end": 19686, + "start": 19854, + "end": 19902, "loc": { "start": { - "line": 569, + "line": 574, "column": 12 }, "end": { - "line": 569, + "line": 574, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 19638, - "end": 19676, + "start": 19854, + "end": 19892, "loc": { "start": { - "line": 569, + "line": 574, "column": 12 }, "end": { - "line": 569, + "line": 574, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19638, - "end": 19660, + "start": 19854, + "end": 19876, "loc": { "start": { - "line": 569, + "line": 574, "column": 12 }, "end": { - "line": 569, + "line": 574, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19638, - "end": 19649, + "start": 19854, + "end": 19865, "loc": { "start": { - "line": 569, + "line": 574, "column": 12 }, "end": { - "line": 569, + "line": 574, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19638, - "end": 19642, + "start": 19854, + "end": 19858, "loc": { "start": { - "line": 569, + "line": 574, "column": 12 }, "end": { - "line": 569, + "line": 574, "column": 16 } } }, "property": { "type": "Identifier", - "start": 19643, - "end": 19649, + "start": 19859, + "end": 19865, "loc": { "start": { - "line": 569, + "line": 574, "column": 17 }, "end": { - "line": 569, + "line": 574, "column": 23 }, "identifierName": "player" @@ -81120,15 +81941,15 @@ }, "property": { "type": "Identifier", - "start": 19650, - "end": 19660, + "start": 19866, + "end": 19876, "loc": { "start": { - "line": 569, + "line": 574, "column": 24 }, "end": { - "line": 569, + "line": 574, "column": 34 }, "identifierName": "controlBar" @@ -81139,15 +81960,15 @@ }, "property": { "type": "Identifier", - "start": 19661, - "end": 19676, + "start": 19877, + "end": 19892, "loc": { "start": { - "line": 569, + "line": 574, "column": 35 }, "end": { - "line": 569, + "line": 574, "column": 50 }, "identifierName": "durationDisplay" @@ -81158,15 +81979,15 @@ }, "property": { "type": "Identifier", - "start": 19677, - "end": 19686, + "start": 19893, + "end": 19902, "loc": { "start": { - "line": 569, + "line": 574, "column": 51 }, "end": { - "line": 569, + "line": 574, "column": 60 }, "identifierName": "contentEl" @@ -81182,114 +82003,114 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 19704, - "end": 19764, + "start": 19920, + "end": 19980, "loc": { "start": { - "line": 570, + "line": 575, "column": 12 }, "end": { - "line": 570, + "line": 575, "column": 72 } }, "object": { "type": "CallExpression", - "start": 19704, - "end": 19754, + "start": 19920, + "end": 19970, "loc": { "start": { - "line": 570, + "line": 575, "column": 12 }, "end": { - "line": 570, + "line": 575, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 19704, - "end": 19752, + "start": 19920, + "end": 19968, "loc": { "start": { - "line": 570, + "line": 575, "column": 12 }, "end": { - "line": 570, + "line": 575, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 19704, - "end": 19742, + "start": 19920, + "end": 19958, "loc": { "start": { - "line": 570, + "line": 575, "column": 12 }, "end": { - "line": 570, + "line": 575, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19704, - "end": 19726, + "start": 19920, + "end": 19942, "loc": { "start": { - "line": 570, + "line": 575, "column": 12 }, "end": { - "line": 570, + "line": 575, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19704, - "end": 19715, + "start": 19920, + "end": 19931, "loc": { "start": { - "line": 570, + "line": 575, "column": 12 }, "end": { - "line": 570, + "line": 575, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19704, - "end": 19708, + "start": 19920, + "end": 19924, "loc": { "start": { - "line": 570, + "line": 575, "column": 12 }, "end": { - "line": 570, + "line": 575, "column": 16 } } }, "property": { "type": "Identifier", - "start": 19709, - "end": 19715, + "start": 19925, + "end": 19931, "loc": { "start": { - "line": 570, + "line": 575, "column": 17 }, "end": { - "line": 570, + "line": 575, "column": 23 }, "identifierName": "player" @@ -81300,15 +82121,15 @@ }, "property": { "type": "Identifier", - "start": 19716, - "end": 19726, + "start": 19932, + "end": 19942, "loc": { "start": { - "line": 570, + "line": 575, "column": 24 }, "end": { - "line": 570, + "line": 575, "column": 34 }, "identifierName": "controlBar" @@ -81319,15 +82140,15 @@ }, "property": { "type": "Identifier", - "start": 19727, - "end": 19742, + "start": 19943, + "end": 19958, "loc": { "start": { - "line": 570, + "line": 575, "column": 35 }, "end": { - "line": 570, + "line": 575, "column": 50 }, "identifierName": "durationDisplay" @@ -81338,15 +82159,15 @@ }, "property": { "type": "Identifier", - "start": 19743, - "end": 19752, + "start": 19959, + "end": 19968, "loc": { "start": { - "line": 570, + "line": 575, "column": 51 }, "end": { - "line": 570, + "line": 575, "column": 60 }, "identifierName": "contentEl" @@ -81359,15 +82180,15 @@ }, "property": { "type": "Identifier", - "start": 19755, - "end": 19764, + "start": 19971, + "end": 19980, "loc": { "start": { - "line": 570, + "line": 575, "column": 63 }, "end": { - "line": 570, + "line": 575, "column": 72 }, "identifierName": "lastChild" @@ -81380,130 +82201,130 @@ }, "consequent": { "type": "BlockStatement", - "start": 19766, - "end": 20014, + "start": 19982, + "end": 20236, "loc": { "start": { - "line": 570, + "line": 575, "column": 74 }, "end": { - "line": 574, + "line": 579, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 19780, - "end": 20004, + "start": 19996, + "end": 20226, "loc": { "start": { - "line": 571, + "line": 576, "column": 12 }, "end": { - "line": 573, - "column": 77 + "line": 578, + "column": 83 } }, "expression": { "type": "AssignmentExpression", - "start": 19780, - "end": 20003, + "start": 19996, + "end": 20225, "loc": { "start": { - "line": 571, + "line": 576, "column": 12 }, "end": { - "line": 573, - "column": 76 + "line": 578, + "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19780, - "end": 19833, + "start": 19996, + "end": 20049, "loc": { "start": { - "line": 571, + "line": 576, "column": 12 }, "end": { - "line": 571, + "line": 576, "column": 65 } }, "object": { "type": "MemberExpression", - "start": 19780, - "end": 19818, + "start": 19996, + "end": 20034, "loc": { "start": { - "line": 571, + "line": 576, "column": 12 }, "end": { - "line": 571, + "line": 576, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19780, - "end": 19802, + "start": 19996, + "end": 20018, "loc": { "start": { - "line": 571, + "line": 576, "column": 12 }, "end": { - "line": 571, + "line": 576, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19780, - "end": 19791, + "start": 19996, + "end": 20007, "loc": { "start": { - "line": 571, + "line": 576, "column": 12 }, "end": { - "line": 571, + "line": 576, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19780, - "end": 19784, + "start": 19996, + "end": 20000, "loc": { "start": { - "line": 571, + "line": 576, "column": 12 }, "end": { - "line": 571, + "line": 576, "column": 16 } } }, "property": { "type": "Identifier", - "start": 19785, - "end": 19791, + "start": 20001, + "end": 20007, "loc": { "start": { - "line": 571, + "line": 576, "column": 17 }, "end": { - "line": 571, + "line": 576, "column": 23 }, "identifierName": "player" @@ -81514,15 +82335,15 @@ }, "property": { "type": "Identifier", - "start": 19792, - "end": 19802, + "start": 20008, + "end": 20018, "loc": { "start": { - "line": 571, + "line": 576, "column": 24 }, "end": { - "line": 571, + "line": 576, "column": 34 }, "identifierName": "controlBar" @@ -81533,15 +82354,15 @@ }, "property": { "type": "Identifier", - "start": 19803, - "end": 19818, + "start": 20019, + "end": 20034, "loc": { "start": { - "line": 571, + "line": 576, "column": 35 }, "end": { - "line": 571, + "line": 576, "column": 50 }, "identifierName": "durationDisplay" @@ -81552,15 +82373,15 @@ }, "property": { "type": "Identifier", - "start": 19819, - "end": 19833, + "start": 20035, + "end": 20049, "loc": { "start": { - "line": 571, + "line": 576, "column": 51 }, "end": { - "line": 571, + "line": 576, "column": 65 }, "identifierName": "formattedTime_" @@ -81571,143 +82392,143 @@ }, "right": { "type": "AssignmentExpression", - "start": 19852, - "end": 20003, + "start": 20068, + "end": 20225, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 573, - "column": 76 + "line": 578, + "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19852, - "end": 19924, + "start": 20068, + "end": 20140, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 572, + "line": 577, "column": 88 } }, "object": { "type": "MemberExpression", - "start": 19852, - "end": 19912, + "start": 20068, + "end": 20128, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 572, + "line": 577, "column": 76 } }, "object": { "type": "CallExpression", - "start": 19852, - "end": 19902, + "start": 20068, + "end": 20118, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 572, + "line": 577, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 19852, - "end": 19900, + "start": 20068, + "end": 20116, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 572, + "line": 577, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 19852, - "end": 19890, + "start": 20068, + "end": 20106, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 572, + "line": 577, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 19852, - "end": 19874, + "start": 20068, + "end": 20090, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 572, + "line": 577, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 19852, - "end": 19863, + "start": 20068, + "end": 20079, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 572, + "line": 577, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 19852, - "end": 19856, + "start": 20068, + "end": 20072, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 572, + "line": 577, "column": 20 } } }, "property": { "type": "Identifier", - "start": 19857, - "end": 19863, + "start": 20073, + "end": 20079, "loc": { "start": { - "line": 572, + "line": 577, "column": 21 }, "end": { - "line": 572, + "line": 577, "column": 27 }, "identifierName": "player" @@ -81718,15 +82539,15 @@ }, "property": { "type": "Identifier", - "start": 19864, - "end": 19874, + "start": 20080, + "end": 20090, "loc": { "start": { - "line": 572, + "line": 577, "column": 28 }, "end": { - "line": 572, + "line": 577, "column": 38 }, "identifierName": "controlBar" @@ -81737,15 +82558,15 @@ }, "property": { "type": "Identifier", - "start": 19875, - "end": 19890, + "start": 20091, + "end": 20106, "loc": { "start": { - "line": 572, + "line": 577, "column": 39 }, "end": { - "line": 572, + "line": 577, "column": 54 }, "identifierName": "durationDisplay" @@ -81756,15 +82577,15 @@ }, "property": { "type": "Identifier", - "start": 19891, - "end": 19900, + "start": 20107, + "end": 20116, "loc": { "start": { - "line": 572, + "line": 577, "column": 55 }, "end": { - "line": 572, + "line": 577, "column": 64 }, "identifierName": "contentEl" @@ -81777,15 +82598,15 @@ }, "property": { "type": "Identifier", - "start": 19903, - "end": 19912, + "start": 20119, + "end": 20128, "loc": { "start": { - "line": 572, + "line": 577, "column": 67 }, "end": { - "line": 572, + "line": 577, "column": 76 }, "identifierName": "lastChild" @@ -81796,15 +82617,15 @@ }, "property": { "type": "Identifier", - "start": 19913, - "end": 19924, + "start": 20129, + "end": 20140, "loc": { "start": { - "line": 572, + "line": 577, "column": 77 }, "end": { - "line": 572, + "line": 577, "column": 88 }, "identifierName": "textContent" @@ -81815,48 +82636,79 @@ }, "right": { "type": "CallExpression", - "start": 19947, - "end": 20003, + "start": 20163, + "end": 20225, "loc": { "start": { - "line": 573, + "line": 578, "column": 20 }, "end": { - "line": 573, - "column": 76 + "line": 578, + "column": 82 } }, "callee": { - "type": "Identifier", - "start": 19947, - "end": 19957, + "type": "MemberExpression", + "start": 20163, + "end": 20179, "loc": { "start": { - "line": 573, + "line": 578, "column": 20 }, "end": { - "line": 573, - "column": 30 + "line": 578, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 20163, + "end": 20167, + "loc": { + "start": { + "line": 578, + "column": 20 + }, + "end": { + "line": 578, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 20168, + "end": 20179, + "loc": { + "start": { + "line": 578, + "column": 25 + }, + "end": { + "line": 578, + "column": 36 + }, + "identifierName": "_formatTime" }, - "identifierName": "formatTime" + "name": "_formatTime" }, - "name": "formatTime" + "computed": false }, "arguments": [ { "type": "Identifier", - "start": 19958, - "end": 19966, + "start": 20180, + "end": 20188, "loc": { "start": { - "line": 573, - "column": 31 + "line": 578, + "column": 37 }, "end": { - "line": 573, - "column": 39 + "line": 578, + "column": 45 }, "identifierName": "duration" }, @@ -81864,16 +82716,16 @@ }, { "type": "Identifier", - "start": 19968, - "end": 19976, + "start": 20190, + "end": 20198, "loc": { "start": { - "line": 573, - "column": 41 + "line": 578, + "column": 47 }, "end": { - "line": 573, - "column": 49 + "line": 578, + "column": 55 }, "identifierName": "duration" }, @@ -81881,45 +82733,45 @@ }, { "type": "MemberExpression", - "start": 19978, - "end": 20002, + "start": 20200, + "end": 20224, "loc": { "start": { - "line": 573, - "column": 51 + "line": 578, + "column": 57 }, "end": { - "line": 573, - "column": 75 + "line": 578, + "column": 81 } }, "object": { "type": "ThisExpression", - "start": 19978, - "end": 19982, + "start": 20200, + "end": 20204, "loc": { "start": { - "line": 573, - "column": 51 + "line": 578, + "column": 57 }, "end": { - "line": 573, - "column": 55 + "line": 578, + "column": 61 } } }, "property": { "type": "Identifier", - "start": 19983, - "end": 20002, + "start": 20205, + "end": 20224, "loc": { "start": { - "line": 573, - "column": 56 + "line": 578, + "column": 62 }, "end": { - "line": 573, - "column": 75 + "line": 578, + "column": 81 }, "identifierName": "displayMilliseconds" }, @@ -81940,15 +82792,15 @@ { "type": "CommentLine", "value": " update duration display component", - "start": 19535, - "end": 19571, + "start": 19751, + "end": 19787, "loc": { "start": { - "line": 567, + "line": 572, "column": 8 }, "end": { - "line": 567, + "line": 572, "column": 44 } } @@ -81963,15 +82815,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the duration time.\n *\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 19173, - "end": 19348, + "start": 19389, + "end": 19564, "loc": { "start": { - "line": 555, + "line": 560, "column": 4 }, "end": { - "line": 560, + "line": 565, "column": 7 } } @@ -81981,15 +82833,15 @@ { "type": "CommentBlock", "value": "*\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n ", - "start": 20026, - "end": 20143, + "start": 20248, + "end": 20365, "loc": { "start": { - "line": 577, + "line": 582, "column": 4 }, "end": { - "line": 582, + "line": 587, "column": 7 } } @@ -81998,15 +82850,15 @@ }, { "type": "ClassMethod", - "start": 20148, - "end": 21348, + "start": 20370, + "end": 21570, "loc": { "start": { - "line": 583, + "line": 588, "column": 4 }, "end": { - "line": 622, + "line": 627, "column": 5 } }, @@ -82014,15 +82866,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 20148, - "end": 20159, + "start": 20370, + "end": 20381, "loc": { "start": { - "line": 583, + "line": 588, "column": 4 }, "end": { - "line": 583, + "line": 588, "column": 15 }, "identifierName": "onWaveReady" @@ -82038,88 +82890,88 @@ "params": [], "body": { "type": "BlockStatement", - "start": 20162, - "end": 21348, + "start": 20384, + "end": 21570, "loc": { "start": { - "line": 583, + "line": 588, "column": 18 }, "end": { - "line": 622, + "line": 627, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 20172, - "end": 20194, + "start": 20394, + "end": 20416, "loc": { "start": { - "line": 584, + "line": 589, "column": 8 }, "end": { - "line": 584, + "line": 589, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 20172, - "end": 20193, + "start": 20394, + "end": 20415, "loc": { "start": { - "line": 584, + "line": 589, "column": 8 }, "end": { - "line": 584, + "line": 589, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 20172, - "end": 20186, + "start": 20394, + "end": 20408, "loc": { "start": { - "line": 584, + "line": 589, "column": 8 }, "end": { - "line": 584, + "line": 589, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 20172, - "end": 20176, + "start": 20394, + "end": 20398, "loc": { "start": { - "line": 584, + "line": 589, "column": 8 }, "end": { - "line": 584, + "line": 589, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20177, - "end": 20186, + "start": 20399, + "end": 20408, "loc": { "start": { - "line": 584, + "line": 589, "column": 13 }, "end": { - "line": 584, + "line": 589, "column": 22 }, "identifierName": "waveReady" @@ -82130,15 +82982,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 20189, - "end": 20193, + "start": 20411, + "end": 20415, "loc": { "start": { - "line": 584, + "line": 589, "column": 25 }, "end": { - "line": 584, + "line": 589, "column": 29 } }, @@ -82148,73 +83000,73 @@ }, { "type": "ExpressionStatement", - "start": 20203, - "end": 20229, + "start": 20425, + "end": 20451, "loc": { "start": { - "line": 585, + "line": 590, "column": 8 }, "end": { - "line": 585, + "line": 590, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 20203, - "end": 20228, + "start": 20425, + "end": 20450, "loc": { "start": { - "line": 585, + "line": 590, "column": 8 }, "end": { - "line": 585, + "line": 590, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 20203, - "end": 20220, + "start": 20425, + "end": 20442, "loc": { "start": { - "line": 585, + "line": 590, "column": 8 }, "end": { - "line": 585, + "line": 590, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 20203, - "end": 20207, + "start": 20425, + "end": 20429, "loc": { "start": { - "line": 585, + "line": 590, "column": 8 }, "end": { - "line": 585, + "line": 590, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20208, - "end": 20220, + "start": 20430, + "end": 20442, "loc": { "start": { - "line": 585, + "line": 590, "column": 13 }, "end": { - "line": 585, + "line": 590, "column": 25 }, "identifierName": "waveFinished" @@ -82225,15 +83077,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 20223, - "end": 20228, + "start": 20445, + "end": 20450, "loc": { "start": { - "line": 585, + "line": 590, "column": 28 }, "end": { - "line": 585, + "line": 590, "column": 33 } }, @@ -82243,73 +83095,73 @@ }, { "type": "ExpressionStatement", - "start": 20238, - "end": 20260, + "start": 20460, + "end": 20482, "loc": { "start": { - "line": 586, + "line": 591, "column": 8 }, "end": { - "line": 586, + "line": 591, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 20238, - "end": 20259, + "start": 20460, + "end": 20481, "loc": { "start": { - "line": 586, + "line": 591, "column": 8 }, "end": { - "line": 586, + "line": 591, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 20238, - "end": 20251, + "start": 20460, + "end": 20473, "loc": { "start": { - "line": 586, + "line": 591, "column": 8 }, "end": { - "line": 586, + "line": 591, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 20238, - "end": 20242, + "start": 20460, + "end": 20464, "loc": { "start": { - "line": 586, + "line": 591, "column": 8 }, "end": { - "line": 586, + "line": 591, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20243, - "end": 20251, + "start": 20465, + "end": 20473, "loc": { "start": { - "line": 586, + "line": 591, "column": 13 }, "end": { - "line": 586, + "line": 591, "column": 21 }, "identifierName": "liveMode" @@ -82320,15 +83172,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 20254, - "end": 20259, + "start": 20476, + "end": 20481, "loc": { "start": { - "line": 586, + "line": 591, "column": 24 }, "end": { - "line": 586, + "line": 591, "column": 29 } }, @@ -82338,72 +83190,72 @@ }, { "type": "ExpressionStatement", - "start": 20270, - "end": 20300, + "start": 20492, + "end": 20522, "loc": { "start": { - "line": 588, + "line": 593, "column": 8 }, "end": { - "line": 588, + "line": 593, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 20270, - "end": 20299, + "start": 20492, + "end": 20521, "loc": { "start": { - "line": 588, + "line": 593, "column": 8 }, "end": { - "line": 588, + "line": 593, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 20270, - "end": 20278, + "start": 20492, + "end": 20500, "loc": { "start": { - "line": 588, + "line": 593, "column": 8 }, "end": { - "line": 588, + "line": 593, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 20270, - "end": 20274, + "start": 20492, + "end": 20496, "loc": { "start": { - "line": 588, + "line": 593, "column": 8 }, "end": { - "line": 588, + "line": 593, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20275, - "end": 20278, + "start": 20497, + "end": 20500, "loc": { "start": { - "line": 588, + "line": 593, "column": 13 }, "end": { - "line": 588, + "line": 593, "column": 16 }, "identifierName": "log" @@ -82415,15 +83267,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 20279, - "end": 20298, + "start": 20501, + "end": 20520, "loc": { "start": { - "line": 588, + "line": 593, "column": 17 }, "end": { - "line": 588, + "line": 593, "column": 36 } }, @@ -82438,86 +83290,86 @@ }, { "type": "ExpressionStatement", - "start": 20309, - "end": 20347, + "start": 20531, + "end": 20569, "loc": { "start": { - "line": 589, + "line": 594, "column": 8 }, "end": { - "line": 589, + "line": 594, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 20309, - "end": 20346, + "start": 20531, + "end": 20568, "loc": { "start": { - "line": 589, + "line": 594, "column": 8 }, "end": { - "line": 589, + "line": 594, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 20309, - "end": 20328, + "start": 20531, + "end": 20550, "loc": { "start": { - "line": 589, + "line": 594, "column": 8 }, "end": { - "line": 589, + "line": 594, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 20309, - "end": 20320, + "start": 20531, + "end": 20542, "loc": { "start": { - "line": 589, + "line": 594, "column": 8 }, "end": { - "line": 589, + "line": 594, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 20309, - "end": 20313, + "start": 20531, + "end": 20535, "loc": { "start": { - "line": 589, + "line": 594, "column": 8 }, "end": { - "line": 589, + "line": 594, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20314, - "end": 20320, + "start": 20536, + "end": 20542, "loc": { "start": { - "line": 589, + "line": 594, "column": 13 }, "end": { - "line": 589, + "line": 594, "column": 19 }, "identifierName": "player" @@ -82528,15 +83380,15 @@ }, "property": { "type": "Identifier", - "start": 20321, - "end": 20328, + "start": 20543, + "end": 20550, "loc": { "start": { - "line": 589, + "line": 594, "column": 20 }, "end": { - "line": 589, + "line": 594, "column": 27 }, "identifierName": "trigger" @@ -82548,29 +83400,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 20329, - "end": 20345, + "start": 20551, + "end": 20567, "loc": { "start": { - "line": 589, + "line": 594, "column": 28 }, "end": { - "line": 589, + "line": 594, "column": 44 } }, "object": { "type": "Identifier", - "start": 20329, - "end": 20334, + "start": 20551, + "end": 20556, "loc": { "start": { - "line": 589, + "line": 594, "column": 28 }, "end": { - "line": 589, + "line": 594, "column": 33 }, "identifierName": "Event" @@ -82579,15 +83431,15 @@ }, "property": { "type": "Identifier", - "start": 20335, - "end": 20345, + "start": 20557, + "end": 20567, "loc": { "start": { - "line": 589, + "line": 594, "column": 34 }, "end": { - "line": 589, + "line": 594, "column": 44 }, "identifierName": "WAVE_READY" @@ -82601,72 +83453,72 @@ }, { "type": "IfStatement", - "start": 20357, - "end": 20749, + "start": 20579, + "end": 20971, "loc": { "start": { - "line": 591, + "line": 596, "column": 8 }, "end": { - "line": 601, + "line": 606, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 20361, - "end": 20386, + "start": 20583, + "end": 20608, "loc": { "start": { - "line": 591, + "line": 596, "column": 12 }, "end": { - "line": 591, + "line": 596, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 20361, - "end": 20373, + "start": 20583, + "end": 20595, "loc": { "start": { - "line": 591, + "line": 596, "column": 12 }, "end": { - "line": 591, + "line": 596, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 20361, - "end": 20365, + "start": 20583, + "end": 20587, "loc": { "start": { - "line": 591, + "line": 596, "column": 12 }, "end": { - "line": 591, + "line": 596, "column": 16 } } }, "property": { "type": "Identifier", - "start": 20366, - "end": 20373, + "start": 20588, + "end": 20595, "loc": { "start": { - "line": 591, + "line": 596, "column": 17 }, "end": { - "line": 591, + "line": 596, "column": 24 }, "identifierName": "backend" @@ -82678,15 +83530,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 20378, - "end": 20386, + "start": 20600, + "end": 20608, "loc": { "start": { - "line": 591, + "line": 596, "column": 29 }, "end": { - "line": 591, + "line": 596, "column": 37 }, "identifierName": "WEBAUDIO" @@ -82696,72 +83548,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 20388, - "end": 20749, + "start": 20610, + "end": 20971, "loc": { "start": { - "line": 591, + "line": 596, "column": 39 }, "end": { - "line": 601, + "line": 606, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 20437, - "end": 20459, + "start": 20659, + "end": 20681, "loc": { "start": { - "line": 593, + "line": 598, "column": 12 }, "end": { - "line": 593, + "line": 598, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 20437, - "end": 20458, + "start": 20659, + "end": 20680, "loc": { "start": { - "line": 593, + "line": 598, "column": 12 }, "end": { - "line": 593, + "line": 598, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 20437, - "end": 20456, + "start": 20659, + "end": 20678, "loc": { "start": { - "line": 593, + "line": 598, "column": 12 }, "end": { - "line": 593, + "line": 598, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 20437, - "end": 20441, + "start": 20659, + "end": 20663, "loc": { "start": { - "line": 593, + "line": 598, "column": 12 }, "end": { - "line": 593, + "line": 598, "column": 16 } }, @@ -82769,15 +83621,15 @@ }, "property": { "type": "Identifier", - "start": 20442, - "end": 20456, + "start": 20664, + "end": 20678, "loc": { "start": { - "line": 593, + "line": 598, "column": 17 }, "end": { - "line": 593, + "line": 598, "column": 31 }, "identifierName": "setCurrentTime" @@ -82794,15 +83646,15 @@ { "type": "CommentLine", "value": " update time display", - "start": 20402, - "end": 20424, + "start": 20624, + "end": 20646, "loc": { "start": { - "line": 592, + "line": 597, "column": 12 }, "end": { - "line": 592, + "line": 597, "column": 34 } } @@ -82811,72 +83663,72 @@ }, { "type": "ExpressionStatement", - "start": 20472, - "end": 20491, + "start": 20694, + "end": 20713, "loc": { "start": { - "line": 594, + "line": 599, "column": 12 }, "end": { - "line": 594, + "line": 599, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 20472, - "end": 20490, + "start": 20694, + "end": 20712, "loc": { "start": { - "line": 594, + "line": 599, "column": 12 }, "end": { - "line": 594, + "line": 599, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 20472, - "end": 20488, + "start": 20694, + "end": 20710, "loc": { "start": { - "line": 594, + "line": 599, "column": 12 }, "end": { - "line": 594, + "line": 599, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 20472, - "end": 20476, + "start": 20694, + "end": 20698, "loc": { "start": { - "line": 594, + "line": 599, "column": 12 }, "end": { - "line": 594, + "line": 599, "column": 16 } } }, "property": { "type": "Identifier", - "start": 20477, - "end": 20488, + "start": 20699, + "end": 20710, "loc": { "start": { - "line": 594, + "line": 599, "column": 17 }, "end": { - "line": 594, + "line": 599, "column": 28 }, "identifierName": "setDuration" @@ -82891,15 +83743,15 @@ { "type": "CommentLine", "value": " enable and show play button", - "start": 20505, - "end": 20535, + "start": 20727, + "end": 20757, "loc": { "start": { - "line": 596, + "line": 601, "column": 12 }, "end": { - "line": 596, + "line": 601, "column": 42 } } @@ -82908,99 +83760,99 @@ }, { "type": "IfStatement", - "start": 20548, - "end": 20739, + "start": 20770, + "end": 20961, "loc": { "start": { - "line": 597, + "line": 602, "column": 12 }, "end": { - "line": 600, + "line": 605, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 20552, - "end": 20664, + "start": 20774, + "end": 20886, "loc": { "start": { - "line": 597, + "line": 602, "column": 16 }, "end": { - "line": 598, + "line": 603, "column": 61 } }, "left": { "type": "BinaryExpression", - "start": 20552, - "end": 20599, + "start": 20774, + "end": 20821, "loc": { "start": { - "line": 597, + "line": 602, "column": 16 }, "end": { - "line": 597, + "line": 602, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 20552, - "end": 20585, + "start": 20774, + "end": 20807, "loc": { "start": { - "line": 597, + "line": 602, "column": 16 }, "end": { - "line": 597, + "line": 602, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20552, - "end": 20574, + "start": 20774, + "end": 20796, "loc": { "start": { - "line": 597, + "line": 602, "column": 16 }, "end": { - "line": 597, + "line": 602, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20552, - "end": 20563, + "start": 20774, + "end": 20785, "loc": { "start": { - "line": 597, + "line": 602, "column": 16 }, "end": { - "line": 597, + "line": 602, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20552, - "end": 20556, + "start": 20774, + "end": 20778, "loc": { "start": { - "line": 597, + "line": 602, "column": 16 }, "end": { - "line": 597, + "line": 602, "column": 20 } }, @@ -83008,15 +83860,15 @@ }, "property": { "type": "Identifier", - "start": 20557, - "end": 20563, + "start": 20779, + "end": 20785, "loc": { "start": { - "line": 597, + "line": 602, "column": 21 }, "end": { - "line": 597, + "line": 602, "column": 27 }, "identifierName": "player" @@ -83028,15 +83880,15 @@ }, "property": { "type": "Identifier", - "start": 20564, - "end": 20574, + "start": 20786, + "end": 20796, "loc": { "start": { - "line": 597, + "line": 602, "column": 28 }, "end": { - "line": 597, + "line": 602, "column": 38 }, "identifierName": "controlBar" @@ -83048,15 +83900,15 @@ }, "property": { "type": "Identifier", - "start": 20575, - "end": 20585, + "start": 20797, + "end": 20807, "loc": { "start": { - "line": 597, + "line": 602, "column": 39 }, "end": { - "line": 597, + "line": 602, "column": 49 }, "identifierName": "playToggle" @@ -83069,15 +83921,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 20590, - "end": 20599, + "start": 20812, + "end": 20821, "loc": { "start": { - "line": 597, + "line": 602, "column": 54 }, "end": { - "line": 597, + "line": 602, "column": 63 }, "identifierName": "undefined" @@ -83089,100 +83941,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 20619, - "end": 20664, + "start": 20841, + "end": 20886, "loc": { "start": { - "line": 598, + "line": 603, "column": 16 }, "end": { - "line": 598, + "line": 603, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 20619, - "end": 20662, + "start": 20841, + "end": 20884, "loc": { "start": { - "line": 598, + "line": 603, "column": 16 }, "end": { - "line": 598, + "line": 603, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 20619, - "end": 20652, + "start": 20841, + "end": 20874, "loc": { "start": { - "line": 598, + "line": 603, "column": 16 }, "end": { - "line": 598, + "line": 603, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20619, - "end": 20641, + "start": 20841, + "end": 20863, "loc": { "start": { - "line": 598, + "line": 603, "column": 16 }, "end": { - "line": 598, + "line": 603, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20619, - "end": 20630, + "start": 20841, + "end": 20852, "loc": { "start": { - "line": 598, + "line": 603, "column": 16 }, "end": { - "line": 598, + "line": 603, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20619, - "end": 20623, + "start": 20841, + "end": 20845, "loc": { "start": { - "line": 598, + "line": 603, "column": 16 }, "end": { - "line": 598, + "line": 603, "column": 20 } } }, "property": { "type": "Identifier", - "start": 20624, - "end": 20630, + "start": 20846, + "end": 20852, "loc": { "start": { - "line": 598, + "line": 603, "column": 21 }, "end": { - "line": 598, + "line": 603, "column": 27 }, "identifierName": "player" @@ -83193,15 +84045,15 @@ }, "property": { "type": "Identifier", - "start": 20631, - "end": 20641, + "start": 20853, + "end": 20863, "loc": { "start": { - "line": 598, + "line": 603, "column": 28 }, "end": { - "line": 598, + "line": 603, "column": 38 }, "identifierName": "controlBar" @@ -83212,15 +84064,15 @@ }, "property": { "type": "Identifier", - "start": 20642, - "end": 20652, + "start": 20864, + "end": 20874, "loc": { "start": { - "line": 598, + "line": 603, "column": 39 }, "end": { - "line": 598, + "line": 603, "column": 49 }, "identifierName": "playToggle" @@ -83231,15 +84083,15 @@ }, "property": { "type": "Identifier", - "start": 20653, - "end": 20662, + "start": 20875, + "end": 20884, "loc": { "start": { - "line": 598, + "line": 603, "column": 50 }, "end": { - "line": 598, + "line": 603, "column": 59 }, "identifierName": "contentEl" @@ -83254,129 +84106,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 20666, - "end": 20739, + "start": 20888, + "end": 20961, "loc": { "start": { - "line": 598, + "line": 603, "column": 63 }, "end": { - "line": 600, + "line": 605, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 20684, - "end": 20725, + "start": 20906, + "end": 20947, "loc": { "start": { - "line": 599, + "line": 604, "column": 16 }, "end": { - "line": 599, + "line": 604, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 20684, - "end": 20724, + "start": 20906, + "end": 20946, "loc": { "start": { - "line": 599, + "line": 604, "column": 16 }, "end": { - "line": 599, + "line": 604, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 20684, - "end": 20722, + "start": 20906, + "end": 20944, "loc": { "start": { - "line": 599, + "line": 604, "column": 16 }, "end": { - "line": 599, + "line": 604, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 20684, - "end": 20717, + "start": 20906, + "end": 20939, "loc": { "start": { - "line": 599, + "line": 604, "column": 16 }, "end": { - "line": 599, + "line": 604, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20684, - "end": 20706, + "start": 20906, + "end": 20928, "loc": { "start": { - "line": 599, + "line": 604, "column": 16 }, "end": { - "line": 599, + "line": 604, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20684, - "end": 20695, + "start": 20906, + "end": 20917, "loc": { "start": { - "line": 599, + "line": 604, "column": 16 }, "end": { - "line": 599, + "line": 604, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20684, - "end": 20688, + "start": 20906, + "end": 20910, "loc": { "start": { - "line": 599, + "line": 604, "column": 16 }, "end": { - "line": 599, + "line": 604, "column": 20 } } }, "property": { "type": "Identifier", - "start": 20689, - "end": 20695, + "start": 20911, + "end": 20917, "loc": { "start": { - "line": 599, + "line": 604, "column": 21 }, "end": { - "line": 599, + "line": 604, "column": 27 }, "identifierName": "player" @@ -83387,15 +84239,15 @@ }, "property": { "type": "Identifier", - "start": 20696, - "end": 20706, + "start": 20918, + "end": 20928, "loc": { "start": { - "line": 599, + "line": 604, "column": 28 }, "end": { - "line": 599, + "line": 604, "column": 38 }, "identifierName": "controlBar" @@ -83406,15 +84258,15 @@ }, "property": { "type": "Identifier", - "start": 20707, - "end": 20717, + "start": 20929, + "end": 20939, "loc": { "start": { - "line": 599, + "line": 604, "column": 39 }, "end": { - "line": 599, + "line": 604, "column": 49 }, "identifierName": "playToggle" @@ -83425,15 +84277,15 @@ }, "property": { "type": "Identifier", - "start": 20718, - "end": 20722, + "start": 20940, + "end": 20944, "loc": { "start": { - "line": 599, + "line": 604, "column": 50 }, "end": { - "line": 599, + "line": 604, "column": 54 }, "identifierName": "show" @@ -83453,15 +84305,15 @@ { "type": "CommentLine", "value": " enable and show play button", - "start": 20505, - "end": 20535, + "start": 20727, + "end": 20757, "loc": { "start": { - "line": 596, + "line": 601, "column": 12 }, "end": { - "line": 596, + "line": 601, "column": 42 } } @@ -83477,15 +84329,15 @@ { "type": "CommentLine", "value": " hide loading spinner", - "start": 20759, - "end": 20782, + "start": 20981, + "end": 21004, "loc": { "start": { - "line": 603, + "line": 608, "column": 8 }, "end": { - "line": 603, + "line": 608, "column": 31 } } @@ -83494,85 +84346,85 @@ }, { "type": "IfStatement", - "start": 20791, - "end": 20893, + "start": 21013, + "end": 21115, "loc": { "start": { - "line": 604, + "line": 609, "column": 8 }, "end": { - "line": 606, + "line": 611, "column": 9 } }, "test": { "type": "CallExpression", - "start": 20795, - "end": 20833, + "start": 21017, + "end": 21055, "loc": { "start": { - "line": 604, + "line": 609, "column": 12 }, "end": { - "line": 604, + "line": 609, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 20795, - "end": 20831, + "start": 21017, + "end": 21053, "loc": { "start": { - "line": 604, + "line": 609, "column": 12 }, "end": { - "line": 604, + "line": 609, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 20795, - "end": 20821, + "start": 21017, + "end": 21043, "loc": { "start": { - "line": 604, + "line": 609, "column": 12 }, "end": { - "line": 604, + "line": 609, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20795, - "end": 20806, + "start": 21017, + "end": 21028, "loc": { "start": { - "line": 604, + "line": 609, "column": 12 }, "end": { - "line": 604, + "line": 609, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 20795, - "end": 20799, + "start": 21017, + "end": 21021, "loc": { "start": { - "line": 604, + "line": 609, "column": 12 }, "end": { - "line": 604, + "line": 609, "column": 16 } }, @@ -83580,15 +84432,15 @@ }, "property": { "type": "Identifier", - "start": 20800, - "end": 20806, + "start": 21022, + "end": 21028, "loc": { "start": { - "line": 604, + "line": 609, "column": 17 }, "end": { - "line": 604, + "line": 609, "column": 23 }, "identifierName": "player" @@ -83600,15 +84452,15 @@ }, "property": { "type": "Identifier", - "start": 20807, - "end": 20821, + "start": 21029, + "end": 21043, "loc": { "start": { - "line": 604, + "line": 609, "column": 24 }, "end": { - "line": 604, + "line": 609, "column": 38 }, "identifierName": "loadingSpinner" @@ -83620,15 +84472,15 @@ }, "property": { "type": "Identifier", - "start": 20822, - "end": 20831, + "start": 21044, + "end": 21053, "loc": { "start": { - "line": 604, + "line": 609, "column": 39 }, "end": { - "line": 604, + "line": 609, "column": 48 }, "identifierName": "contentEl" @@ -83643,115 +84495,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 20835, - "end": 20893, + "start": 21057, + "end": 21115, "loc": { "start": { - "line": 604, + "line": 609, "column": 52 }, "end": { - "line": 606, + "line": 611, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 20849, - "end": 20883, + "start": 21071, + "end": 21105, "loc": { "start": { - "line": 605, + "line": 610, "column": 12 }, "end": { - "line": 605, + "line": 610, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 20849, - "end": 20882, + "start": 21071, + "end": 21104, "loc": { "start": { - "line": 605, + "line": 610, "column": 12 }, "end": { - "line": 605, + "line": 610, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 20849, - "end": 20880, + "start": 21071, + "end": 21102, "loc": { "start": { - "line": 605, + "line": 610, "column": 12 }, "end": { - "line": 605, + "line": 610, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 20849, - "end": 20875, + "start": 21071, + "end": 21097, "loc": { "start": { - "line": 605, + "line": 610, "column": 12 }, "end": { - "line": 605, + "line": 610, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20849, - "end": 20860, + "start": 21071, + "end": 21082, "loc": { "start": { - "line": 605, + "line": 610, "column": 12 }, "end": { - "line": 605, + "line": 610, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 20849, - "end": 20853, + "start": 21071, + "end": 21075, "loc": { "start": { - "line": 605, + "line": 610, "column": 12 }, "end": { - "line": 605, + "line": 610, "column": 16 } } }, "property": { "type": "Identifier", - "start": 20854, - "end": 20860, + "start": 21076, + "end": 21082, "loc": { "start": { - "line": 605, + "line": 610, "column": 17 }, "end": { - "line": 605, + "line": 610, "column": 23 }, "identifierName": "player" @@ -83762,15 +84614,15 @@ }, "property": { "type": "Identifier", - "start": 20861, - "end": 20875, + "start": 21083, + "end": 21097, "loc": { "start": { - "line": 605, + "line": 610, "column": 24 }, "end": { - "line": 605, + "line": 610, "column": 38 }, "identifierName": "loadingSpinner" @@ -83781,15 +84633,15 @@ }, "property": { "type": "Identifier", - "start": 20876, - "end": 20880, + "start": 21098, + "end": 21102, "loc": { "start": { - "line": 605, + "line": 610, "column": 39 }, "end": { - "line": 605, + "line": 610, "column": 43 }, "identifierName": "hide" @@ -83810,15 +84662,15 @@ { "type": "CommentLine", "value": " hide loading spinner", - "start": 20759, - "end": 20782, + "start": 20981, + "end": 21004, "loc": { "start": { - "line": 603, + "line": 608, "column": 8 }, "end": { - "line": 603, + "line": 608, "column": 31 } } @@ -83828,15 +84680,15 @@ { "type": "CommentLine", "value": " auto-play when ready (if enabled)", - "start": 20903, - "end": 20939, + "start": 21125, + "end": 21161, "loc": { "start": { - "line": 608, + "line": 613, "column": 8 }, "end": { - "line": 608, + "line": 613, "column": 44 } } @@ -83845,85 +84697,85 @@ }, { "type": "IfStatement", - "start": 20948, - "end": 21342, + "start": 21170, + "end": 21564, "loc": { "start": { - "line": 609, + "line": 614, "column": 8 }, "end": { - "line": 621, + "line": 626, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 20952, - "end": 20990, + "start": 21174, + "end": 21212, "loc": { "start": { - "line": 609, + "line": 614, "column": 12 }, "end": { - "line": 609, + "line": 614, "column": 50 } }, "left": { "type": "MemberExpression", - "start": 20952, - "end": 20981, + "start": 21174, + "end": 21203, "loc": { "start": { - "line": 609, + "line": 614, "column": 12 }, "end": { - "line": 609, + "line": 614, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 20952, - "end": 20972, + "start": 21174, + "end": 21194, "loc": { "start": { - "line": 609, + "line": 614, "column": 12 }, "end": { - "line": 609, + "line": 614, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 20952, - "end": 20963, + "start": 21174, + "end": 21185, "loc": { "start": { - "line": 609, + "line": 614, "column": 12 }, "end": { - "line": 609, + "line": 614, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 20952, - "end": 20956, + "start": 21174, + "end": 21178, "loc": { "start": { - "line": 609, + "line": 614, "column": 12 }, "end": { - "line": 609, + "line": 614, "column": 16 } }, @@ -83931,15 +84783,15 @@ }, "property": { "type": "Identifier", - "start": 20957, - "end": 20963, + "start": 21179, + "end": 21185, "loc": { "start": { - "line": 609, + "line": 614, "column": 17 }, "end": { - "line": 609, + "line": 614, "column": 23 }, "identifierName": "player" @@ -83951,15 +84803,15 @@ }, "property": { "type": "Identifier", - "start": 20964, - "end": 20972, + "start": 21186, + "end": 21194, "loc": { "start": { - "line": 609, + "line": 614, "column": 24 }, "end": { - "line": 609, + "line": 614, "column": 32 }, "identifierName": "options_" @@ -83971,15 +84823,15 @@ }, "property": { "type": "Identifier", - "start": 20973, - "end": 20981, + "start": 21195, + "end": 21203, "loc": { "start": { - "line": 609, + "line": 614, "column": 33 }, "end": { - "line": 609, + "line": 614, "column": 41 }, "identifierName": "autoplay" @@ -83992,15 +84844,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 20986, - "end": 20990, + "start": 21208, + "end": 21212, "loc": { "start": { - "line": 609, + "line": 614, "column": 46 }, "end": { - "line": 609, + "line": 614, "column": 50 } }, @@ -84010,72 +84862,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 20992, - "end": 21342, + "start": 21214, + "end": 21564, "loc": { "start": { - "line": 609, + "line": 614, "column": 52 }, "end": { - "line": 621, + "line": 626, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 21066, - "end": 21084, + "start": 21288, + "end": 21306, "loc": { "start": { - "line": 611, + "line": 616, "column": 12 }, "end": { - "line": 611, + "line": 616, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 21066, - "end": 21083, + "start": 21288, + "end": 21305, "loc": { "start": { - "line": 611, + "line": 616, "column": 12 }, "end": { - "line": 611, + "line": 616, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 21066, - "end": 21080, + "start": 21288, + "end": 21302, "loc": { "start": { - "line": 611, + "line": 616, "column": 12 }, "end": { - "line": 611, + "line": 616, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 21066, - "end": 21070, + "start": 21288, + "end": 21292, "loc": { "start": { - "line": 611, + "line": 616, "column": 12 }, "end": { - "line": 611, + "line": 616, "column": 16 } }, @@ -84083,15 +84935,15 @@ }, "property": { "type": "Identifier", - "start": 21071, - "end": 21080, + "start": 21293, + "end": 21302, "loc": { "start": { - "line": 611, + "line": 616, "column": 17 }, "end": { - "line": 611, + "line": 616, "column": 26 }, "identifierName": "setVolume" @@ -84104,15 +84956,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 21081, - "end": 21082, + "start": 21303, + "end": 21304, "loc": { "start": { - "line": 611, + "line": 616, "column": 27 }, "end": { - "line": 611, + "line": 616, "column": 28 } }, @@ -84129,15 +84981,15 @@ { "type": "CommentLine", "value": " autoplay is only allowed when audio is muted", - "start": 21006, - "end": 21053, + "start": 21228, + "end": 21275, "loc": { "start": { - "line": 610, + "line": 615, "column": 12 }, "end": { - "line": 610, + "line": 615, "column": 59 } } @@ -84147,15 +84999,15 @@ { "type": "CommentLine", "value": " try auto-play", - "start": 21098, - "end": 21114, + "start": 21320, + "end": 21336, "loc": { "start": { - "line": 613, + "line": 618, "column": 12 }, "end": { - "line": 613, + "line": 618, "column": 28 } } @@ -84164,57 +85016,57 @@ }, { "type": "IfStatement", - "start": 21127, - "end": 21332, + "start": 21349, + "end": 21554, "loc": { "start": { - "line": 614, + "line": 619, "column": 12 }, "end": { - "line": 620, + "line": 625, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 21131, - "end": 21156, + "start": 21353, + "end": 21378, "loc": { "start": { - "line": 614, + "line": 619, "column": 16 }, "end": { - "line": 614, + "line": 619, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 21131, - "end": 21143, + "start": 21353, + "end": 21365, "loc": { "start": { - "line": 614, + "line": 619, "column": 16 }, "end": { - "line": 614, + "line": 619, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 21131, - "end": 21135, + "start": 21353, + "end": 21357, "loc": { "start": { - "line": 614, + "line": 619, "column": 16 }, "end": { - "line": 614, + "line": 619, "column": 20 } }, @@ -84222,15 +85074,15 @@ }, "property": { "type": "Identifier", - "start": 21136, - "end": 21143, + "start": 21358, + "end": 21365, "loc": { "start": { - "line": 614, + "line": 619, "column": 21 }, "end": { - "line": 614, + "line": 619, "column": 28 }, "identifierName": "backend" @@ -84243,15 +85095,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 21148, - "end": 21156, + "start": 21370, + "end": 21378, "loc": { "start": { - "line": 614, + "line": 619, "column": 33 }, "end": { - "line": 614, + "line": 619, "column": 41 }, "identifierName": "WEBAUDIO" @@ -84262,87 +85114,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 21158, - "end": 21202, + "start": 21380, + "end": 21424, "loc": { "start": { - "line": 614, + "line": 619, "column": 43 }, "end": { - "line": 616, + "line": 621, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 21176, - "end": 21188, + "start": 21398, + "end": 21410, "loc": { "start": { - "line": 615, + "line": 620, "column": 16 }, "end": { - "line": 615, + "line": 620, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 21176, - "end": 21187, + "start": 21398, + "end": 21409, "loc": { "start": { - "line": 615, + "line": 620, "column": 16 }, "end": { - "line": 615, + "line": 620, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 21176, - "end": 21185, + "start": 21398, + "end": 21407, "loc": { "start": { - "line": 615, + "line": 620, "column": 16 }, "end": { - "line": 615, + "line": 620, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 21176, - "end": 21180, + "start": 21398, + "end": 21402, "loc": { "start": { - "line": 615, + "line": 620, "column": 16 }, "end": { - "line": 615, + "line": 620, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21181, - "end": 21185, + "start": 21403, + "end": 21407, "loc": { "start": { - "line": 615, + "line": 620, "column": 21 }, "end": { - "line": 615, + "line": 620, "column": 25 }, "identifierName": "play" @@ -84359,129 +85211,129 @@ }, "alternate": { "type": "BlockStatement", - "start": 21208, - "end": 21332, + "start": 21430, + "end": 21554, "loc": { "start": { - "line": 616, + "line": 621, "column": 19 }, "end": { - "line": 620, + "line": 625, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 21226, - "end": 21318, + "start": 21448, + "end": 21540, "loc": { "start": { - "line": 617, + "line": 622, "column": 16 }, "end": { - "line": 619, + "line": 624, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 21226, - "end": 21317, + "start": 21448, + "end": 21539, "loc": { "start": { - "line": 617, + "line": 622, "column": 16 }, "end": { - "line": 619, + "line": 624, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 21226, - "end": 21250, + "start": 21448, + "end": 21472, "loc": { "start": { - "line": 617, + "line": 622, "column": 16 }, "end": { - "line": 617, + "line": 622, "column": 40 } }, "object": { "type": "CallExpression", - "start": 21226, - "end": 21244, + "start": 21448, + "end": 21466, "loc": { "start": { - "line": 617, + "line": 622, "column": 16 }, "end": { - "line": 617, + "line": 622, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 21226, - "end": 21242, + "start": 21448, + "end": 21464, "loc": { "start": { - "line": 617, + "line": 622, "column": 16 }, "end": { - "line": 617, + "line": 622, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 21226, - "end": 21237, + "start": 21448, + "end": 21459, "loc": { "start": { - "line": 617, + "line": 622, "column": 16 }, "end": { - "line": 617, + "line": 622, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 21226, - "end": 21230, + "start": 21448, + "end": 21452, "loc": { "start": { - "line": 617, + "line": 622, "column": 16 }, "end": { - "line": 617, + "line": 622, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21231, - "end": 21237, + "start": 21453, + "end": 21459, "loc": { "start": { - "line": 617, + "line": 622, "column": 21 }, "end": { - "line": 617, + "line": 622, "column": 27 }, "identifierName": "player" @@ -84492,15 +85344,15 @@ }, "property": { "type": "Identifier", - "start": 21238, - "end": 21242, + "start": 21460, + "end": 21464, "loc": { "start": { - "line": 617, + "line": 622, "column": 28 }, "end": { - "line": 617, + "line": 622, "column": 32 }, "identifierName": "play" @@ -84513,15 +85365,15 @@ }, "property": { "type": "Identifier", - "start": 21245, - "end": 21250, + "start": 21467, + "end": 21472, "loc": { "start": { - "line": 617, + "line": 622, "column": 35 }, "end": { - "line": 617, + "line": 622, "column": 40 }, "identifierName": "catch" @@ -84533,15 +85385,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 21251, - "end": 21316, + "start": 21473, + "end": 21538, "loc": { "start": { - "line": 617, + "line": 622, "column": 41 }, "end": { - "line": 619, + "line": 624, "column": 17 } }, @@ -84552,15 +85404,15 @@ "params": [ { "type": "Identifier", - "start": 21251, - "end": 21252, + "start": 21473, + "end": 21474, "loc": { "start": { - "line": 617, + "line": 622, "column": 41 }, "end": { - "line": 617, + "line": 622, "column": 42 }, "identifierName": "e" @@ -84570,87 +85422,87 @@ ], "body": { "type": "BlockStatement", - "start": 21256, - "end": 21316, + "start": 21478, + "end": 21538, "loc": { "start": { - "line": 617, + "line": 622, "column": 46 }, "end": { - "line": 619, + "line": 624, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 21278, - "end": 21298, + "start": 21500, + "end": 21520, "loc": { "start": { - "line": 618, + "line": 623, "column": 20 }, "end": { - "line": 618, + "line": 623, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 21278, - "end": 21297, + "start": 21500, + "end": 21519, "loc": { "start": { - "line": 618, + "line": 623, "column": 20 }, "end": { - "line": 618, + "line": 623, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 21278, - "end": 21294, + "start": 21500, + "end": 21516, "loc": { "start": { - "line": 618, + "line": 623, "column": 20 }, "end": { - "line": 618, + "line": 623, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 21278, - "end": 21282, + "start": 21500, + "end": 21504, "loc": { "start": { - "line": 618, + "line": 623, "column": 20 }, "end": { - "line": 618, + "line": 623, "column": 24 } } }, "property": { "type": "Identifier", - "start": 21283, - "end": 21294, + "start": 21505, + "end": 21516, "loc": { "start": { - "line": 618, + "line": 623, "column": 25 }, "end": { - "line": 618, + "line": 623, "column": 36 }, "identifierName": "onWaveError" @@ -84662,15 +85514,15 @@ "arguments": [ { "type": "Identifier", - "start": 21295, - "end": 21296, + "start": 21517, + "end": 21518, "loc": { "start": { - "line": 618, + "line": 623, "column": 37 }, "end": { - "line": 618, + "line": 623, "column": 38 }, "identifierName": "e" @@ -84694,15 +85546,15 @@ { "type": "CommentLine", "value": " try auto-play", - "start": 21098, - "end": 21114, + "start": 21320, + "end": 21336, "loc": { "start": { - "line": 613, + "line": 618, "column": 12 }, "end": { - "line": 613, + "line": 618, "column": 28 } } @@ -84717,15 +85569,15 @@ { "type": "CommentLine", "value": " auto-play when ready (if enabled)", - "start": 20903, - "end": 20939, + "start": 21125, + "end": 21161, "loc": { "start": { - "line": 608, + "line": 613, "column": 8 }, "end": { - "line": 608, + "line": 613, "column": 44 } } @@ -84740,15 +85592,15 @@ { "type": "CommentBlock", "value": "*\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n ", - "start": 20026, - "end": 20143, + "start": 20248, + "end": 20365, "loc": { "start": { - "line": 577, + "line": 582, "column": 4 }, "end": { - "line": 582, + "line": 587, "column": 7 } } @@ -84758,15 +85610,15 @@ { "type": "CommentBlock", "value": "*\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n ", - "start": 21354, - "end": 21461, + "start": 21576, + "end": 21683, "loc": { "start": { - "line": 624, + "line": 629, "column": 4 }, "end": { - "line": 629, + "line": 634, "column": 7 } } @@ -84775,15 +85627,15 @@ }, { "type": "ClassMethod", - "start": 21466, - "end": 22665, + "start": 21688, + "end": 22887, "loc": { "start": { - "line": 630, + "line": 635, "column": 4 }, "end": { - "line": 665, + "line": 670, "column": 5 } }, @@ -84791,15 +85643,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 21466, - "end": 21478, + "start": 21688, + "end": 21700, "loc": { "start": { - "line": 630, + "line": 635, "column": 4 }, "end": { - "line": 630, + "line": 635, "column": 16 }, "identifierName": "onWaveFinish" @@ -84815,87 +85667,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 21481, - "end": 22665, + "start": 21703, + "end": 22887, "loc": { "start": { - "line": 630, + "line": 635, "column": 19 }, "end": { - "line": 665, + "line": 670, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 21491, - "end": 21521, + "start": 21713, + "end": 21743, "loc": { "start": { - "line": 631, + "line": 636, "column": 8 }, "end": { - "line": 631, + "line": 636, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 21491, - "end": 21520, + "start": 21713, + "end": 21742, "loc": { "start": { - "line": 631, + "line": 636, "column": 8 }, "end": { - "line": 631, + "line": 636, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 21491, - "end": 21499, + "start": 21713, + "end": 21721, "loc": { "start": { - "line": 631, + "line": 636, "column": 8 }, "end": { - "line": 631, + "line": 636, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 21491, - "end": 21495, + "start": 21713, + "end": 21717, "loc": { "start": { - "line": 631, + "line": 636, "column": 8 }, "end": { - "line": 631, + "line": 636, "column": 12 } } }, "property": { "type": "Identifier", - "start": 21496, - "end": 21499, + "start": 21718, + "end": 21721, "loc": { "start": { - "line": 631, + "line": 636, "column": 13 }, "end": { - "line": 631, + "line": 636, "column": 16 }, "identifierName": "log" @@ -84907,15 +85759,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 21500, - "end": 21519, + "start": 21722, + "end": 21741, "loc": { "start": { - "line": 631, + "line": 636, "column": 17 }, "end": { - "line": 631, + "line": 636, "column": 36 } }, @@ -84931,15 +85783,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 21531, - "end": 21550, + "start": 21753, + "end": 21772, "loc": { "start": { - "line": 633, + "line": 638, "column": 8 }, "end": { - "line": 633, + "line": 638, "column": 27 } } @@ -84948,71 +85800,71 @@ }, { "type": "ExpressionStatement", - "start": 21559, - "end": 21602, + "start": 21781, + "end": 21824, "loc": { "start": { - "line": 634, + "line": 639, "column": 8 }, "end": { - "line": 634, + "line": 639, "column": 51 } }, "expression": { "type": "CallExpression", - "start": 21559, - "end": 21601, + "start": 21781, + "end": 21823, "loc": { "start": { - "line": 634, + "line": 639, "column": 8 }, "end": { - "line": 634, + "line": 639, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 21559, - "end": 21578, + "start": 21781, + "end": 21800, "loc": { "start": { - "line": 634, + "line": 639, "column": 8 }, "end": { - "line": 634, + "line": 639, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 21559, - "end": 21570, + "start": 21781, + "end": 21792, "loc": { "start": { - "line": 634, + "line": 639, "column": 8 }, "end": { - "line": 634, + "line": 639, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 21559, - "end": 21563, + "start": 21781, + "end": 21785, "loc": { "start": { - "line": 634, + "line": 639, "column": 8 }, "end": { - "line": 634, + "line": 639, "column": 12 } }, @@ -85020,15 +85872,15 @@ }, "property": { "type": "Identifier", - "start": 21564, - "end": 21570, + "start": 21786, + "end": 21792, "loc": { "start": { - "line": 634, + "line": 639, "column": 13 }, "end": { - "line": 634, + "line": 639, "column": 19 }, "identifierName": "player" @@ -85040,15 +85892,15 @@ }, "property": { "type": "Identifier", - "start": 21571, - "end": 21578, + "start": 21793, + "end": 21800, "loc": { "start": { - "line": 634, + "line": 639, "column": 20 }, "end": { - "line": 634, + "line": 639, "column": 27 }, "identifierName": "trigger" @@ -85061,29 +85913,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 21579, - "end": 21600, + "start": 21801, + "end": 21822, "loc": { "start": { - "line": 634, + "line": 639, "column": 28 }, "end": { - "line": 634, + "line": 639, "column": 49 } }, "object": { "type": "Identifier", - "start": 21579, - "end": 21584, + "start": 21801, + "end": 21806, "loc": { "start": { - "line": 634, + "line": 639, "column": 28 }, "end": { - "line": 634, + "line": 639, "column": 33 }, "identifierName": "Event" @@ -85092,15 +85944,15 @@ }, "property": { "type": "Identifier", - "start": 21585, - "end": 21600, + "start": 21807, + "end": 21822, "loc": { "start": { - "line": 634, + "line": 639, "column": 34 }, "end": { - "line": 634, + "line": 639, "column": 49 }, "identifierName": "PLAYBACK_FINISH" @@ -85116,15 +85968,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 21531, - "end": 21550, + "start": 21753, + "end": 21772, "loc": { "start": { - "line": 633, + "line": 638, "column": 8 }, "end": { - "line": 633, + "line": 638, "column": 27 } } @@ -85134,15 +85986,15 @@ { "type": "CommentLine", "value": " check if loop is enabled", - "start": 21612, - "end": 21639, + "start": 21834, + "end": 21861, "loc": { "start": { - "line": 636, + "line": 641, "column": 8 }, "end": { - "line": 636, + "line": 641, "column": 35 } } @@ -85151,85 +86003,85 @@ }, { "type": "IfStatement", - "start": 21648, - "end": 22659, + "start": 21870, + "end": 22881, "loc": { "start": { - "line": 637, + "line": 642, "column": 8 }, "end": { - "line": 664, + "line": 669, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 21652, - "end": 21686, + "start": 21874, + "end": 21908, "loc": { "start": { - "line": 637, + "line": 642, "column": 12 }, "end": { - "line": 637, + "line": 642, "column": 46 } }, "left": { "type": "MemberExpression", - "start": 21652, - "end": 21677, + "start": 21874, + "end": 21899, "loc": { "start": { - "line": 637, + "line": 642, "column": 12 }, "end": { - "line": 637, + "line": 642, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 21652, - "end": 21672, + "start": 21874, + "end": 21894, "loc": { "start": { - "line": 637, + "line": 642, "column": 12 }, "end": { - "line": 637, + "line": 642, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 21652, - "end": 21663, + "start": 21874, + "end": 21885, "loc": { "start": { - "line": 637, + "line": 642, "column": 12 }, "end": { - "line": 637, + "line": 642, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 21652, - "end": 21656, + "start": 21874, + "end": 21878, "loc": { "start": { - "line": 637, + "line": 642, "column": 12 }, "end": { - "line": 637, + "line": 642, "column": 16 } }, @@ -85237,15 +86089,15 @@ }, "property": { "type": "Identifier", - "start": 21657, - "end": 21663, + "start": 21879, + "end": 21885, "loc": { "start": { - "line": 637, + "line": 642, "column": 17 }, "end": { - "line": 637, + "line": 642, "column": 23 }, "identifierName": "player" @@ -85257,15 +86109,15 @@ }, "property": { "type": "Identifier", - "start": 21664, - "end": 21672, + "start": 21886, + "end": 21894, "loc": { "start": { - "line": 637, + "line": 642, "column": 24 }, "end": { - "line": 637, + "line": 642, "column": 32 }, "identifierName": "options_" @@ -85277,15 +86129,15 @@ }, "property": { "type": "Identifier", - "start": 21673, - "end": 21677, + "start": 21895, + "end": 21899, "loc": { "start": { - "line": 637, + "line": 642, "column": 33 }, "end": { - "line": 637, + "line": 642, "column": 37 }, "identifierName": "loop" @@ -85298,15 +86150,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 21682, - "end": 21686, + "start": 21904, + "end": 21908, "loc": { "start": { - "line": 637, + "line": 642, "column": 42 }, "end": { - "line": 637, + "line": 642, "column": 46 } }, @@ -85316,87 +86168,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 21688, - "end": 21857, + "start": 21910, + "end": 22079, "loc": { "start": { - "line": 637, + "line": 642, "column": 48 }, "end": { - "line": 643, + "line": 648, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 21702, - "end": 21847, + "start": 21924, + "end": 22069, "loc": { "start": { - "line": 638, + "line": 643, "column": 12 }, "end": { - "line": 642, + "line": 647, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 21706, - "end": 21731, + "start": 21928, + "end": 21953, "loc": { "start": { - "line": 638, + "line": 643, "column": 16 }, "end": { - "line": 638, + "line": 643, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 21706, - "end": 21718, + "start": 21928, + "end": 21940, "loc": { "start": { - "line": 638, + "line": 643, "column": 16 }, "end": { - "line": 638, + "line": 643, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 21706, - "end": 21710, + "start": 21928, + "end": 21932, "loc": { "start": { - "line": 638, + "line": 643, "column": 16 }, "end": { - "line": 638, + "line": 643, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21711, - "end": 21718, + "start": 21933, + "end": 21940, "loc": { "start": { - "line": 638, + "line": 643, "column": 21 }, "end": { - "line": 638, + "line": 643, "column": 28 }, "identifierName": "backend" @@ -85408,15 +86260,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 21723, - "end": 21731, + "start": 21945, + "end": 21953, "loc": { "start": { - "line": 638, + "line": 643, "column": 33 }, "end": { - "line": 638, + "line": 643, "column": 41 }, "identifierName": "WEBAUDIO" @@ -85426,86 +86278,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 21733, - "end": 21847, + "start": 21955, + "end": 22069, "loc": { "start": { - "line": 638, + "line": 643, "column": 43 }, "end": { - "line": 642, + "line": 647, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 21785, - "end": 21804, + "start": 22007, + "end": 22026, "loc": { "start": { - "line": 640, + "line": 645, "column": 16 }, "end": { - "line": 640, + "line": 645, "column": 35 } }, "expression": { "type": "CallExpression", - "start": 21785, - "end": 21803, + "start": 22007, + "end": 22025, "loc": { "start": { - "line": 640, + "line": 645, "column": 16 }, "end": { - "line": 640, + "line": 645, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 21785, - "end": 21801, + "start": 22007, + "end": 22023, "loc": { "start": { - "line": 640, + "line": 645, "column": 16 }, "end": { - "line": 640, + "line": 645, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 21785, - "end": 21796, + "start": 22007, + "end": 22018, "loc": { "start": { - "line": 640, + "line": 645, "column": 16 }, "end": { - "line": 640, + "line": 645, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 21785, - "end": 21789, + "start": 22007, + "end": 22011, "loc": { "start": { - "line": 640, + "line": 645, "column": 16 }, "end": { - "line": 640, + "line": 645, "column": 20 } }, @@ -85513,15 +86365,15 @@ }, "property": { "type": "Identifier", - "start": 21790, - "end": 21796, + "start": 22012, + "end": 22018, "loc": { "start": { - "line": 640, + "line": 645, "column": 21 }, "end": { - "line": 640, + "line": 645, "column": 27 }, "identifierName": "surfer" @@ -85533,15 +86385,15 @@ }, "property": { "type": "Identifier", - "start": 21797, - "end": 21801, + "start": 22019, + "end": 22023, "loc": { "start": { - "line": 640, + "line": 645, "column": 28 }, "end": { - "line": 640, + "line": 645, "column": 32 }, "identifierName": "stop" @@ -85558,15 +86410,15 @@ { "type": "CommentLine", "value": " reset waveform", - "start": 21751, - "end": 21768, + "start": 21973, + "end": 21990, "loc": { "start": { - "line": 639, + "line": 644, "column": 16 }, "end": { - "line": 639, + "line": 644, "column": 33 } } @@ -85575,72 +86427,72 @@ }, { "type": "ExpressionStatement", - "start": 21821, - "end": 21833, + "start": 22043, + "end": 22055, "loc": { "start": { - "line": 641, + "line": 646, "column": 16 }, "end": { - "line": 641, + "line": 646, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 21821, - "end": 21832, + "start": 22043, + "end": 22054, "loc": { "start": { - "line": 641, + "line": 646, "column": 16 }, "end": { - "line": 641, + "line": 646, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 21821, - "end": 21830, + "start": 22043, + "end": 22052, "loc": { "start": { - "line": 641, + "line": 646, "column": 16 }, "end": { - "line": 641, + "line": 646, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 21821, - "end": 21825, + "start": 22043, + "end": 22047, "loc": { "start": { - "line": 641, + "line": 646, "column": 16 }, "end": { - "line": 641, + "line": 646, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21826, - "end": 21830, + "start": 22048, + "end": 22052, "loc": { "start": { - "line": 641, + "line": 646, "column": 21 }, "end": { - "line": 641, + "line": 646, "column": 25 }, "identifierName": "play" @@ -85662,73 +86514,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 21863, - "end": 22659, + "start": 22085, + "end": 22881, "loc": { "start": { - "line": 643, + "line": 648, "column": 15 }, "end": { - "line": 664, + "line": 669, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 21901, - "end": 21926, + "start": 22123, + "end": 22148, "loc": { "start": { - "line": 645, + "line": 650, "column": 12 }, "end": { - "line": 645, + "line": 650, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 21901, - "end": 21925, + "start": 22123, + "end": 22147, "loc": { "start": { - "line": 645, + "line": 650, "column": 12 }, "end": { - "line": 645, + "line": 650, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 21901, - "end": 21918, + "start": 22123, + "end": 22140, "loc": { "start": { - "line": 645, + "line": 650, "column": 12 }, "end": { - "line": 645, + "line": 650, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 21901, - "end": 21905, + "start": 22123, + "end": 22127, "loc": { "start": { - "line": 645, + "line": 650, "column": 12 }, "end": { - "line": 645, + "line": 650, "column": 16 } }, @@ -85736,15 +86588,15 @@ }, "property": { "type": "Identifier", - "start": 21906, - "end": 21918, + "start": 22128, + "end": 22140, "loc": { "start": { - "line": 645, + "line": 650, "column": 17 }, "end": { - "line": 645, + "line": 650, "column": 29 }, "identifierName": "waveFinished" @@ -85756,15 +86608,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 21921, - "end": 21925, + "start": 22143, + "end": 22147, "loc": { "start": { - "line": 645, + "line": 650, "column": 32 }, "end": { - "line": 645, + "line": 650, "column": 36 } }, @@ -85776,15 +86628,15 @@ { "type": "CommentLine", "value": " finished", - "start": 21877, - "end": 21888, + "start": 22099, + "end": 22110, "loc": { "start": { - "line": 644, + "line": 649, "column": 12 }, "end": { - "line": 644, + "line": 649, "column": 23 } } @@ -85793,72 +86645,72 @@ }, { "type": "IfStatement", - "start": 21940, - "end": 22649, + "start": 22162, + "end": 22871, "loc": { "start": { - "line": 647, + "line": 652, "column": 12 }, "end": { - "line": 663, + "line": 668, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 21944, - "end": 21969, + "start": 22166, + "end": 22191, "loc": { "start": { - "line": 647, + "line": 652, "column": 16 }, "end": { - "line": 647, + "line": 652, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 21944, - "end": 21956, + "start": 22166, + "end": 22178, "loc": { "start": { - "line": 647, + "line": 652, "column": 16 }, "end": { - "line": 647, + "line": 652, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 21944, - "end": 21948, + "start": 22166, + "end": 22170, "loc": { "start": { - "line": 647, + "line": 652, "column": 16 }, "end": { - "line": 647, + "line": 652, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21949, - "end": 21956, + "start": 22171, + "end": 22178, "loc": { "start": { - "line": 647, + "line": 652, "column": 21 }, "end": { - "line": 647, + "line": 652, "column": 28 }, "identifierName": "backend" @@ -85870,15 +86722,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 21961, - "end": 21969, + "start": 22183, + "end": 22191, "loc": { "start": { - "line": 647, + "line": 652, "column": 33 }, "end": { - "line": 647, + "line": 652, "column": 41 }, "identifierName": "WEBAUDIO" @@ -85888,72 +86740,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 21971, - "end": 22649, + "start": 22193, + "end": 22871, "loc": { "start": { - "line": 647, + "line": 652, "column": 43 }, "end": { - "line": 663, + "line": 668, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 22021, - "end": 22034, + "start": 22243, + "end": 22256, "loc": { "start": { - "line": 649, + "line": 654, "column": 16 }, "end": { - "line": 649, + "line": 654, "column": 29 } }, "expression": { "type": "CallExpression", - "start": 22021, - "end": 22033, + "start": 22243, + "end": 22255, "loc": { "start": { - "line": 649, + "line": 654, "column": 16 }, "end": { - "line": 649, + "line": 654, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 22021, - "end": 22031, + "start": 22243, + "end": 22253, "loc": { "start": { - "line": 649, + "line": 654, "column": 16 }, "end": { - "line": 649, + "line": 654, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 22021, - "end": 22025, + "start": 22243, + "end": 22247, "loc": { "start": { - "line": 649, + "line": 654, "column": 16 }, "end": { - "line": 649, + "line": 654, "column": 20 } }, @@ -85961,15 +86813,15 @@ }, "property": { "type": "Identifier", - "start": 22026, - "end": 22031, + "start": 22248, + "end": 22253, "loc": { "start": { - "line": 649, + "line": 654, "column": 21 }, "end": { - "line": 649, + "line": 654, "column": 26 }, "identifierName": "pause" @@ -85986,15 +86838,15 @@ { "type": "CommentLine", "value": " pause player", - "start": 21989, - "end": 22004, + "start": 22211, + "end": 22226, "loc": { "start": { - "line": 648, + "line": 653, "column": 16 }, "end": { - "line": 648, + "line": 653, "column": 31 } } @@ -86004,15 +86856,15 @@ { "type": "CommentLine", "value": " show the replay state of play toggle", - "start": 22052, - "end": 22091, + "start": 22274, + "end": 22313, "loc": { "start": { - "line": 651, + "line": 656, "column": 16 }, "end": { - "line": 651, + "line": 656, "column": 55 } } @@ -86021,71 +86873,71 @@ }, { "type": "ExpressionStatement", - "start": 22108, - "end": 22141, + "start": 22330, + "end": 22363, "loc": { "start": { - "line": 652, + "line": 657, "column": 16 }, "end": { - "line": 652, + "line": 657, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 22108, - "end": 22140, + "start": 22330, + "end": 22362, "loc": { "start": { - "line": 652, + "line": 657, "column": 16 }, "end": { - "line": 652, + "line": 657, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 22108, - "end": 22127, + "start": 22330, + "end": 22349, "loc": { "start": { - "line": 652, + "line": 657, "column": 16 }, "end": { - "line": 652, + "line": 657, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 22108, - "end": 22119, + "start": 22330, + "end": 22341, "loc": { "start": { - "line": 652, + "line": 657, "column": 16 }, "end": { - "line": 652, + "line": 657, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 22108, - "end": 22112, + "start": 22330, + "end": 22334, "loc": { "start": { - "line": 652, + "line": 657, "column": 16 }, "end": { - "line": 652, + "line": 657, "column": 20 } }, @@ -86093,15 +86945,15 @@ }, "property": { "type": "Identifier", - "start": 22113, - "end": 22119, + "start": 22335, + "end": 22341, "loc": { "start": { - "line": 652, + "line": 657, "column": 21 }, "end": { - "line": 652, + "line": 657, "column": 27 }, "identifierName": "player" @@ -86113,15 +86965,15 @@ }, "property": { "type": "Identifier", - "start": 22120, - "end": 22127, + "start": 22342, + "end": 22349, "loc": { "start": { - "line": 652, + "line": 657, "column": 28 }, "end": { - "line": 652, + "line": 657, "column": 35 }, "identifierName": "trigger" @@ -86134,29 +86986,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 22128, - "end": 22139, + "start": 22350, + "end": 22361, "loc": { "start": { - "line": 652, + "line": 657, "column": 36 }, "end": { - "line": 652, + "line": 657, "column": 47 } }, "object": { "type": "Identifier", - "start": 22128, - "end": 22133, + "start": 22350, + "end": 22355, "loc": { "start": { - "line": 652, + "line": 657, "column": 36 }, "end": { - "line": 652, + "line": 657, "column": 41 }, "identifierName": "Event" @@ -86165,15 +87017,15 @@ }, "property": { "type": "Identifier", - "start": 22134, - "end": 22139, + "start": 22356, + "end": 22361, "loc": { "start": { - "line": 652, + "line": 657, "column": 42 }, "end": { - "line": 652, + "line": 657, "column": 47 }, "identifierName": "ENDED" @@ -86189,15 +87041,15 @@ { "type": "CommentLine", "value": " show the replay state of play toggle", - "start": 22052, - "end": 22091, + "start": 22274, + "end": 22313, "loc": { "start": { - "line": 651, + "line": 656, "column": 16 }, "end": { - "line": 651, + "line": 656, "column": 55 } } @@ -86207,15 +87059,15 @@ { "type": "CommentLine", "value": " this gets called once after the clip has ended and the user", - "start": 22159, - "end": 22221, + "start": 22381, + "end": 22443, "loc": { "start": { - "line": 654, + "line": 659, "column": 16 }, "end": { - "line": 654, + "line": 659, "column": 78 } } @@ -86223,15 +87075,15 @@ { "type": "CommentLine", "value": " seeks so that we can change the replay button back to a play", - "start": 22238, - "end": 22301, + "start": 22460, + "end": 22523, "loc": { "start": { - "line": 655, + "line": 660, "column": 16 }, "end": { - "line": 655, + "line": 660, "column": 79 } } @@ -86239,15 +87091,15 @@ { "type": "CommentLine", "value": " button", - "start": 22318, - "end": 22327, + "start": 22540, + "end": 22549, "loc": { "start": { - "line": 656, + "line": 661, "column": 16 }, "end": { - "line": 656, + "line": 661, "column": 25 } } @@ -86256,71 +87108,71 @@ }, { "type": "ExpressionStatement", - "start": 22344, - "end": 22635, + "start": 22566, + "end": 22857, "loc": { "start": { - "line": 657, + "line": 662, "column": 16 }, "end": { - "line": 662, + "line": 667, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 22344, - "end": 22634, + "start": 22566, + "end": 22856, "loc": { "start": { - "line": 657, + "line": 662, "column": 16 }, "end": { - "line": 662, + "line": 667, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 22344, - "end": 22360, + "start": 22566, + "end": 22582, "loc": { "start": { - "line": 657, + "line": 662, "column": 16 }, "end": { - "line": 657, + "line": 662, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 22344, - "end": 22355, + "start": 22566, + "end": 22577, "loc": { "start": { - "line": 657, + "line": 662, "column": 16 }, "end": { - "line": 657, + "line": 662, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 22344, - "end": 22348, + "start": 22566, + "end": 22570, "loc": { "start": { - "line": 657, + "line": 662, "column": 16 }, "end": { - "line": 657, + "line": 662, "column": 20 } }, @@ -86328,15 +87180,15 @@ }, "property": { "type": "Identifier", - "start": 22349, - "end": 22355, + "start": 22571, + "end": 22577, "loc": { "start": { - "line": 657, + "line": 662, "column": 21 }, "end": { - "line": 657, + "line": 662, "column": 27 }, "identifierName": "surfer" @@ -86348,15 +87200,15 @@ }, "property": { "type": "Identifier", - "start": 22356, - "end": 22360, + "start": 22578, + "end": 22582, "loc": { "start": { - "line": 657, + "line": 662, "column": 28 }, "end": { - "line": 657, + "line": 662, "column": 32 }, "identifierName": "once" @@ -86369,29 +87221,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 22361, - "end": 22371, + "start": 22583, + "end": 22593, "loc": { "start": { - "line": 657, + "line": 662, "column": 33 }, "end": { - "line": 657, + "line": 662, "column": 43 } }, "object": { "type": "Identifier", - "start": 22361, - "end": 22366, + "start": 22583, + "end": 22588, "loc": { "start": { - "line": 657, + "line": 662, "column": 33 }, "end": { - "line": 657, + "line": 662, "column": 38 }, "identifierName": "Event" @@ -86400,15 +87252,15 @@ }, "property": { "type": "Identifier", - "start": 22367, - "end": 22371, + "start": 22589, + "end": 22593, "loc": { "start": { - "line": 657, + "line": 662, "column": 39 }, "end": { - "line": 657, + "line": 662, "column": 43 }, "identifierName": "SEEK" @@ -86419,15 +87271,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 22373, - "end": 22633, + "start": 22595, + "end": 22855, "loc": { "start": { - "line": 657, + "line": 662, "column": 45 }, "end": { - "line": 662, + "line": 667, "column": 17 } }, @@ -86438,115 +87290,115 @@ "params": [], "body": { "type": "BlockStatement", - "start": 22379, - "end": 22633, + "start": 22601, + "end": 22855, "loc": { "start": { - "line": 657, + "line": 662, "column": 51 }, "end": { - "line": 662, + "line": 667, "column": 17 } }, "body": [ { "type": "IfStatement", - "start": 22401, - "end": 22561, + "start": 22623, + "end": 22783, "loc": { "start": { - "line": 658, + "line": 663, "column": 20 }, "end": { - "line": 660, + "line": 665, "column": 21 } }, "test": { "type": "BinaryExpression", - "start": 22405, - "end": 22452, + "start": 22627, + "end": 22674, "loc": { "start": { - "line": 658, + "line": 663, "column": 24 }, "end": { - "line": 658, + "line": 663, "column": 71 } }, "left": { "type": "MemberExpression", - "start": 22405, - "end": 22438, + "start": 22627, + "end": 22660, "loc": { "start": { - "line": 658, + "line": 663, "column": 24 }, "end": { - "line": 658, + "line": 663, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 22405, - "end": 22427, + "start": 22627, + "end": 22649, "loc": { "start": { - "line": 658, + "line": 663, "column": 24 }, "end": { - "line": 658, + "line": 663, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 22405, - "end": 22416, + "start": 22627, + "end": 22638, "loc": { "start": { - "line": 658, + "line": 663, "column": 24 }, "end": { - "line": 658, + "line": 663, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 22405, - "end": 22409, + "start": 22627, + "end": 22631, "loc": { "start": { - "line": 658, + "line": 663, "column": 24 }, "end": { - "line": 658, + "line": 663, "column": 28 } } }, "property": { "type": "Identifier", - "start": 22410, - "end": 22416, + "start": 22632, + "end": 22638, "loc": { "start": { - "line": 658, + "line": 663, "column": 29 }, "end": { - "line": 658, + "line": 663, "column": 35 }, "identifierName": "player" @@ -86557,15 +87409,15 @@ }, "property": { "type": "Identifier", - "start": 22417, - "end": 22427, + "start": 22639, + "end": 22649, "loc": { "start": { - "line": 658, + "line": 663, "column": 36 }, "end": { - "line": 658, + "line": 663, "column": 46 }, "identifierName": "controlBar" @@ -86576,15 +87428,15 @@ }, "property": { "type": "Identifier", - "start": 22428, - "end": 22438, + "start": 22650, + "end": 22660, "loc": { "start": { - "line": 658, + "line": 663, "column": 47 }, "end": { - "line": 658, + "line": 663, "column": 57 }, "identifierName": "playToggle" @@ -86596,15 +87448,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 22443, - "end": 22452, + "start": 22665, + "end": 22674, "loc": { "start": { - "line": 658, + "line": 663, "column": 62 }, "end": { - "line": 658, + "line": 663, "column": 71 }, "identifierName": "undefined" @@ -86614,129 +87466,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 22454, - "end": 22561, + "start": 22676, + "end": 22783, "loc": { "start": { - "line": 658, + "line": 663, "column": 73 }, "end": { - "line": 660, + "line": 665, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 22480, - "end": 22539, + "start": 22702, + "end": 22761, "loc": { "start": { - "line": 659, + "line": 664, "column": 24 }, "end": { - "line": 659, + "line": 664, "column": 83 } }, "expression": { "type": "CallExpression", - "start": 22480, - "end": 22538, + "start": 22702, + "end": 22760, "loc": { "start": { - "line": 659, + "line": 664, "column": 24 }, "end": { - "line": 659, + "line": 664, "column": 82 } }, "callee": { "type": "MemberExpression", - "start": 22480, - "end": 22525, + "start": 22702, + "end": 22747, "loc": { "start": { - "line": 659, + "line": 664, "column": 24 }, "end": { - "line": 659, + "line": 664, "column": 69 } }, "object": { "type": "MemberExpression", - "start": 22480, - "end": 22513, + "start": 22702, + "end": 22735, "loc": { "start": { - "line": 659, + "line": 664, "column": 24 }, "end": { - "line": 659, + "line": 664, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 22480, - "end": 22502, + "start": 22702, + "end": 22724, "loc": { "start": { - "line": 659, + "line": 664, "column": 24 }, "end": { - "line": 659, + "line": 664, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 22480, - "end": 22491, + "start": 22702, + "end": 22713, "loc": { "start": { - "line": 659, + "line": 664, "column": 24 }, "end": { - "line": 659, + "line": 664, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 22480, - "end": 22484, + "start": 22702, + "end": 22706, "loc": { "start": { - "line": 659, + "line": 664, "column": 24 }, "end": { - "line": 659, + "line": 664, "column": 28 } } }, "property": { "type": "Identifier", - "start": 22485, - "end": 22491, + "start": 22707, + "end": 22713, "loc": { "start": { - "line": 659, + "line": 664, "column": 29 }, "end": { - "line": 659, + "line": 664, "column": 35 }, "identifierName": "player" @@ -86747,15 +87599,15 @@ }, "property": { "type": "Identifier", - "start": 22492, - "end": 22502, + "start": 22714, + "end": 22724, "loc": { "start": { - "line": 659, + "line": 664, "column": 36 }, "end": { - "line": 659, + "line": 664, "column": 46 }, "identifierName": "controlBar" @@ -86766,15 +87618,15 @@ }, "property": { "type": "Identifier", - "start": 22503, - "end": 22513, + "start": 22725, + "end": 22735, "loc": { "start": { - "line": 659, + "line": 664, "column": 47 }, "end": { - "line": 659, + "line": 664, "column": 57 }, "identifierName": "playToggle" @@ -86785,15 +87637,15 @@ }, "property": { "type": "Identifier", - "start": 22514, - "end": 22525, + "start": 22736, + "end": 22747, "loc": { "start": { - "line": 659, + "line": 664, "column": 58 }, "end": { - "line": 659, + "line": 664, "column": 69 }, "identifierName": "removeClass" @@ -86805,15 +87657,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 22526, - "end": 22537, + "start": 22748, + "end": 22759, "loc": { "start": { - "line": 659, + "line": 664, "column": 70 }, "end": { - "line": 659, + "line": 664, "column": 81 } }, @@ -86833,86 +87685,86 @@ }, { "type": "ExpressionStatement", - "start": 22582, - "end": 22615, + "start": 22804, + "end": 22837, "loc": { "start": { - "line": 661, + "line": 666, "column": 20 }, "end": { - "line": 661, + "line": 666, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 22582, - "end": 22614, + "start": 22804, + "end": 22836, "loc": { "start": { - "line": 661, + "line": 666, "column": 20 }, "end": { - "line": 661, + "line": 666, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 22582, - "end": 22601, + "start": 22804, + "end": 22823, "loc": { "start": { - "line": 661, + "line": 666, "column": 20 }, "end": { - "line": 661, + "line": 666, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 22582, - "end": 22593, + "start": 22804, + "end": 22815, "loc": { "start": { - "line": 661, + "line": 666, "column": 20 }, "end": { - "line": 661, + "line": 666, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 22582, - "end": 22586, + "start": 22804, + "end": 22808, "loc": { "start": { - "line": 661, + "line": 666, "column": 20 }, "end": { - "line": 661, + "line": 666, "column": 24 } } }, "property": { "type": "Identifier", - "start": 22587, - "end": 22593, + "start": 22809, + "end": 22815, "loc": { "start": { - "line": 661, + "line": 666, "column": 25 }, "end": { - "line": 661, + "line": 666, "column": 31 }, "identifierName": "player" @@ -86923,15 +87775,15 @@ }, "property": { "type": "Identifier", - "start": 22594, - "end": 22601, + "start": 22816, + "end": 22823, "loc": { "start": { - "line": 661, + "line": 666, "column": 32 }, "end": { - "line": 661, + "line": 666, "column": 39 }, "identifierName": "trigger" @@ -86943,29 +87795,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 22602, - "end": 22613, + "start": 22824, + "end": 22835, "loc": { "start": { - "line": 661, + "line": 666, "column": 40 }, "end": { - "line": 661, + "line": 666, "column": 51 } }, "object": { "type": "Identifier", - "start": 22602, - "end": 22607, + "start": 22824, + "end": 22829, "loc": { "start": { - "line": 661, + "line": 666, "column": 40 }, "end": { - "line": 661, + "line": 666, "column": 45 }, "identifierName": "Event" @@ -86974,15 +87826,15 @@ }, "property": { "type": "Identifier", - "start": 22608, - "end": 22613, + "start": 22830, + "end": 22835, "loc": { "start": { - "line": 661, + "line": 666, "column": 46 }, "end": { - "line": 661, + "line": 666, "column": 51 }, "identifierName": "PAUSE" @@ -87005,15 +87857,15 @@ { "type": "CommentLine", "value": " this gets called once after the clip has ended and the user", - "start": 22159, - "end": 22221, + "start": 22381, + "end": 22443, "loc": { "start": { - "line": 654, + "line": 659, "column": 16 }, "end": { - "line": 654, + "line": 659, "column": 78 } } @@ -87021,15 +87873,15 @@ { "type": "CommentLine", "value": " seeks so that we can change the replay button back to a play", - "start": 22238, - "end": 22301, + "start": 22460, + "end": 22523, "loc": { "start": { - "line": 655, + "line": 660, "column": 16 }, "end": { - "line": 655, + "line": 660, "column": 79 } } @@ -87037,15 +87889,15 @@ { "type": "CommentLine", "value": " button", - "start": 22318, - "end": 22327, + "start": 22540, + "end": 22549, "loc": { "start": { - "line": 656, + "line": 661, "column": 16 }, "end": { - "line": 656, + "line": 661, "column": 25 } } @@ -87064,15 +87916,15 @@ { "type": "CommentLine", "value": " check if loop is enabled", - "start": 21612, - "end": 21639, + "start": 21834, + "end": 21861, "loc": { "start": { - "line": 636, + "line": 641, "column": 8 }, "end": { - "line": 636, + "line": 641, "column": 35 } } @@ -87087,15 +87939,15 @@ { "type": "CommentBlock", "value": "*\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n ", - "start": 21354, - "end": 21461, + "start": 21576, + "end": 21683, "loc": { "start": { - "line": 624, + "line": 629, "column": 4 }, "end": { - "line": 629, + "line": 634, "column": 7 } } @@ -87105,15 +87957,15 @@ { "type": "CommentBlock", "value": "*\n * Fires continuously during audio playback.\n *\n * @param {number} time - Current time/location of the playhead.\n * @private\n ", - "start": 22671, - "end": 22823, + "start": 22893, + "end": 23045, "loc": { "start": { - "line": 667, + "line": 672, "column": 4 }, "end": { - "line": 672, + "line": 677, "column": 7 } } @@ -87122,15 +87974,15 @@ }, { "type": "ClassMethod", - "start": 22828, - "end": 22887, + "start": 23050, + "end": 23109, "loc": { "start": { - "line": 673, + "line": 678, "column": 4 }, "end": { - "line": 675, + "line": 680, "column": 5 } }, @@ -87138,15 +87990,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 22828, - "end": 22842, + "start": 23050, + "end": 23064, "loc": { "start": { - "line": 673, + "line": 678, "column": 4 }, "end": { - "line": 673, + "line": 678, "column": 18 }, "identifierName": "onWaveProgress" @@ -87162,15 +88014,15 @@ "params": [ { "type": "Identifier", - "start": 22843, - "end": 22847, + "start": 23065, + "end": 23069, "loc": { "start": { - "line": 673, + "line": 678, "column": 19 }, "end": { - "line": 673, + "line": 678, "column": 23 }, "identifierName": "time" @@ -87180,87 +88032,87 @@ ], "body": { "type": "BlockStatement", - "start": 22849, - "end": 22887, + "start": 23071, + "end": 23109, "loc": { "start": { - "line": 673, + "line": 678, "column": 25 }, "end": { - "line": 675, + "line": 680, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 22859, - "end": 22881, + "start": 23081, + "end": 23103, "loc": { "start": { - "line": 674, + "line": 679, "column": 8 }, "end": { - "line": 674, + "line": 679, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 22859, - "end": 22880, + "start": 23081, + "end": 23102, "loc": { "start": { - "line": 674, + "line": 679, "column": 8 }, "end": { - "line": 674, + "line": 679, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 22859, - "end": 22878, + "start": 23081, + "end": 23100, "loc": { "start": { - "line": 674, + "line": 679, "column": 8 }, "end": { - "line": 674, + "line": 679, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 22859, - "end": 22863, + "start": 23081, + "end": 23085, "loc": { "start": { - "line": 674, + "line": 679, "column": 8 }, "end": { - "line": 674, + "line": 679, "column": 12 } } }, "property": { "type": "Identifier", - "start": 22864, - "end": 22878, + "start": 23086, + "end": 23100, "loc": { "start": { - "line": 674, + "line": 679, "column": 13 }, "end": { - "line": 674, + "line": 679, "column": 27 }, "identifierName": "setCurrentTime" @@ -87280,15 +88132,15 @@ { "type": "CommentBlock", "value": "*\n * Fires continuously during audio playback.\n *\n * @param {number} time - Current time/location of the playhead.\n * @private\n ", - "start": 22671, - "end": 22823, + "start": 22893, + "end": 23045, "loc": { "start": { - "line": 667, + "line": 672, "column": 4 }, "end": { - "line": 672, + "line": 677, "column": 7 } } @@ -87298,15 +88150,15 @@ { "type": "CommentBlock", "value": "*\n * Fires during seeking of the waveform.\n *\n * @private\n ", - "start": 22893, - "end": 22972, + "start": 23115, + "end": 23194, "loc": { "start": { - "line": 677, + "line": 682, "column": 4 }, "end": { - "line": 681, + "line": 686, "column": 7 } } @@ -87315,15 +88167,15 @@ }, { "type": "ClassMethod", - "start": 22977, - "end": 23028, + "start": 23199, + "end": 23250, "loc": { "start": { - "line": 682, + "line": 687, "column": 4 }, "end": { - "line": 684, + "line": 689, "column": 5 } }, @@ -87331,15 +88183,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 22977, - "end": 22987, + "start": 23199, + "end": 23209, "loc": { "start": { - "line": 682, + "line": 687, "column": 4 }, "end": { - "line": 682, + "line": 687, "column": 14 }, "identifierName": "onWaveSeek" @@ -87355,87 +88207,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 22990, - "end": 23028, + "start": 23212, + "end": 23250, "loc": { "start": { - "line": 682, + "line": 687, "column": 17 }, "end": { - "line": 684, + "line": 689, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 23000, - "end": 23022, + "start": 23222, + "end": 23244, "loc": { "start": { - "line": 683, + "line": 688, "column": 8 }, "end": { - "line": 683, + "line": 688, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 23000, - "end": 23021, + "start": 23222, + "end": 23243, "loc": { "start": { - "line": 683, + "line": 688, "column": 8 }, "end": { - "line": 683, + "line": 688, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 23000, - "end": 23019, + "start": 23222, + "end": 23241, "loc": { "start": { - "line": 683, + "line": 688, "column": 8 }, "end": { - "line": 683, + "line": 688, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 23000, - "end": 23004, + "start": 23222, + "end": 23226, "loc": { "start": { - "line": 683, + "line": 688, "column": 8 }, "end": { - "line": 683, + "line": 688, "column": 12 } } }, "property": { "type": "Identifier", - "start": 23005, - "end": 23019, + "start": 23227, + "end": 23241, "loc": { "start": { - "line": 683, + "line": 688, "column": 13 }, "end": { - "line": 683, + "line": 688, "column": 27 }, "identifierName": "setCurrentTime" @@ -87455,15 +88307,15 @@ { "type": "CommentBlock", "value": "*\n * Fires during seeking of the waveform.\n *\n * @private\n ", - "start": 22893, - "end": 22972, + "start": 23115, + "end": 23194, "loc": { "start": { - "line": 677, + "line": 682, "column": 4 }, "end": { - "line": 681, + "line": 686, "column": 7 } } @@ -87473,15 +88325,15 @@ { "type": "CommentBlock", "value": "*\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n ", - "start": 23034, - "end": 23144, + "start": 23256, + "end": 23366, "loc": { "start": { - "line": 686, + "line": 691, "column": 4 }, "end": { - "line": 691, + "line": 696, "column": 7 } } @@ -87490,15 +88342,15 @@ }, { "type": "ClassMethod", - "start": 23149, - "end": 23542, + "start": 23371, + "end": 23764, "loc": { "start": { - "line": 692, + "line": 697, "column": 4 }, "end": { - "line": 703, + "line": 708, "column": 5 } }, @@ -87506,15 +88358,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 23149, - "end": 23160, + "start": 23371, + "end": 23382, "loc": { "start": { - "line": 692, + "line": 697, "column": 4 }, "end": { - "line": 692, + "line": 697, "column": 15 }, "identifierName": "onWaveError" @@ -87530,15 +88382,15 @@ "params": [ { "type": "Identifier", - "start": 23161, - "end": 23166, + "start": 23383, + "end": 23388, "loc": { "start": { - "line": 692, + "line": 697, "column": 16 }, "end": { - "line": 692, + "line": 697, "column": 21 }, "identifierName": "error" @@ -87548,86 +88400,86 @@ ], "body": { "type": "BlockStatement", - "start": 23168, - "end": 23542, + "start": 23390, + "end": 23764, "loc": { "start": { - "line": 692, + "line": 697, "column": 23 }, "end": { - "line": 703, + "line": 708, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 23206, - "end": 23536, + "start": 23428, + "end": 23758, "loc": { "start": { - "line": 694, + "line": 699, "column": 8 }, "end": { - "line": 702, + "line": 707, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 23210, - "end": 23353, + "start": 23432, + "end": 23575, "loc": { "start": { - "line": 694, + "line": 699, "column": 12 }, "end": { - "line": 695, + "line": 700, "column": 98 } }, "left": { "type": "LogicalExpression", - "start": 23210, - "end": 23251, + "start": 23432, + "end": 23473, "loc": { "start": { - "line": 694, + "line": 699, "column": 12 }, "end": { - "line": 694, + "line": 699, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 23210, - "end": 23220, + "start": 23432, + "end": 23442, "loc": { "start": { - "line": 694, + "line": 699, "column": 12 }, "end": { - "line": 694, + "line": 699, "column": 22 } }, "object": { "type": "Identifier", - "start": 23210, - "end": 23215, + "start": 23432, + "end": 23437, "loc": { "start": { - "line": 694, + "line": 699, "column": 12 }, "end": { - "line": 694, + "line": 699, "column": 17 }, "identifierName": "error" @@ -87637,15 +88489,15 @@ }, "property": { "type": "Identifier", - "start": 23216, - "end": 23220, + "start": 23438, + "end": 23442, "loc": { "start": { - "line": 694, + "line": 699, "column": 18 }, "end": { - "line": 694, + "line": 699, "column": 22 }, "identifierName": "name" @@ -87658,43 +88510,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 23224, - "end": 23251, + "start": 23446, + "end": 23473, "loc": { "start": { - "line": 694, + "line": 699, "column": 26 }, "end": { - "line": 694, + "line": 699, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 23224, - "end": 23234, + "start": 23446, + "end": 23456, "loc": { "start": { - "line": 694, + "line": 699, "column": 26 }, "end": { - "line": 694, + "line": 699, "column": 36 } }, "object": { "type": "Identifier", - "start": 23224, - "end": 23229, + "start": 23446, + "end": 23451, "loc": { "start": { - "line": 694, + "line": 699, "column": 26 }, "end": { - "line": 694, + "line": 699, "column": 31 }, "identifierName": "error" @@ -87703,15 +88555,15 @@ }, "property": { "type": "Identifier", - "start": 23230, - "end": 23234, + "start": 23452, + "end": 23456, "loc": { "start": { - "line": 694, + "line": 699, "column": 32 }, "end": { - "line": 694, + "line": 699, "column": 36 }, "identifierName": "name" @@ -87723,15 +88575,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 23239, - "end": 23251, + "start": 23461, + "end": 23473, "loc": { "start": { - "line": 694, + "line": 699, "column": 41 }, "end": { - "line": 694, + "line": 699, "column": 53 } }, @@ -87747,57 +88599,57 @@ "operator": "||", "right": { "type": "LogicalExpression", - "start": 23267, - "end": 23353, + "start": 23489, + "end": 23575, "loc": { "start": { - "line": 695, + "line": 700, "column": 12 }, "end": { - "line": 695, + "line": 700, "column": 98 } }, "left": { "type": "BinaryExpression", - "start": 23267, - "end": 23296, + "start": 23489, + "end": 23518, "loc": { "start": { - "line": 695, + "line": 700, "column": 12 }, "end": { - "line": 695, + "line": 700, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 23267, - "end": 23277, + "start": 23489, + "end": 23499, "loc": { "start": { - "line": 695, + "line": 700, "column": 12 }, "end": { - "line": 695, + "line": 700, "column": 22 } }, "object": { "type": "Identifier", - "start": 23267, - "end": 23272, + "start": 23489, + "end": 23494, "loc": { "start": { - "line": 695, + "line": 700, "column": 12 }, "end": { - "line": 695, + "line": 700, "column": 17 }, "identifierName": "error" @@ -87806,15 +88658,15 @@ }, "property": { "type": "Identifier", - "start": 23273, - "end": 23277, + "start": 23495, + "end": 23499, "loc": { "start": { - "line": 695, + "line": 700, "column": 18 }, "end": { - "line": 695, + "line": 700, "column": 22 }, "identifierName": "name" @@ -87826,15 +88678,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 23282, - "end": 23296, + "start": 23504, + "end": 23518, "loc": { "start": { - "line": 695, + "line": 700, "column": 27 }, "end": { - "line": 695, + "line": 700, "column": 41 } }, @@ -87848,57 +88700,57 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 23300, - "end": 23353, + "start": 23522, + "end": 23575, "loc": { "start": { - "line": 695, + "line": 700, "column": 45 }, "end": { - "line": 695, + "line": 700, "column": 98 } }, "callee": { "type": "MemberExpression", - "start": 23300, - "end": 23324, + "start": 23522, + "end": 23546, "loc": { "start": { - "line": 695, + "line": 700, "column": 45 }, "end": { - "line": 695, + "line": 700, "column": 69 } }, "object": { "type": "MemberExpression", - "start": 23300, - "end": 23313, + "start": 23522, + "end": 23535, "loc": { "start": { - "line": 695, + "line": 700, "column": 45 }, "end": { - "line": 695, + "line": 700, "column": 58 } }, "object": { "type": "Identifier", - "start": 23300, - "end": 23305, + "start": 23522, + "end": 23527, "loc": { "start": { - "line": 695, + "line": 700, "column": 45 }, "end": { - "line": 695, + "line": 700, "column": 50 }, "identifierName": "error" @@ -87907,15 +88759,15 @@ }, "property": { "type": "Identifier", - "start": 23306, - "end": 23313, + "start": 23528, + "end": 23535, "loc": { "start": { - "line": 695, + "line": 700, "column": 51 }, "end": { - "line": 695, + "line": 700, "column": 58 }, "identifierName": "message" @@ -87926,15 +88778,15 @@ }, "property": { "type": "Identifier", - "start": 23314, - "end": 23324, + "start": 23536, + "end": 23546, "loc": { "start": { - "line": 695, + "line": 700, "column": 59 }, "end": { - "line": 695, + "line": 700, "column": 69 }, "identifierName": "startsWith" @@ -87946,15 +88798,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23325, - "end": 23352, + "start": 23547, + "end": 23574, "loc": { "start": { - "line": 695, + "line": 700, "column": 70 }, "end": { - "line": 695, + "line": 700, "column": 97 } }, @@ -87971,101 +88823,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 23363, - "end": 23427, + "start": 23585, + "end": 23649, "loc": { "start": { - "line": 696, + "line": 701, "column": 8 }, "end": { - "line": 698, + "line": 703, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23377, - "end": 23417, + "start": 23599, + "end": 23639, "loc": { "start": { - "line": 697, + "line": 702, "column": 12 }, "end": { - "line": 697, + "line": 702, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 23377, - "end": 23416, + "start": 23599, + "end": 23638, "loc": { "start": { - "line": 697, + "line": 702, "column": 12 }, "end": { - "line": 697, + "line": 702, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 23377, - "end": 23396, + "start": 23599, + "end": 23618, "loc": { "start": { - "line": 697, + "line": 702, "column": 12 }, "end": { - "line": 697, + "line": 702, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 23377, - "end": 23388, + "start": 23599, + "end": 23610, "loc": { "start": { - "line": 697, + "line": 702, "column": 12 }, "end": { - "line": 697, + "line": 702, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23377, - "end": 23381, + "start": 23599, + "end": 23603, "loc": { "start": { - "line": 697, + "line": 702, "column": 12 }, "end": { - "line": 697, + "line": 702, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23382, - "end": 23388, + "start": 23604, + "end": 23610, "loc": { "start": { - "line": 697, + "line": 702, "column": 17 }, "end": { - "line": 697, + "line": 702, "column": 23 }, "identifierName": "player" @@ -88076,15 +88928,15 @@ }, "property": { "type": "Identifier", - "start": 23389, - "end": 23396, + "start": 23611, + "end": 23618, "loc": { "start": { - "line": 697, + "line": 702, "column": 24 }, "end": { - "line": 697, + "line": 702, "column": 31 }, "identifierName": "trigger" @@ -88096,29 +88948,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 23397, - "end": 23408, + "start": 23619, + "end": 23630, "loc": { "start": { - "line": 697, + "line": 702, "column": 32 }, "end": { - "line": 697, + "line": 702, "column": 43 } }, "object": { "type": "Identifier", - "start": 23397, - "end": 23402, + "start": 23619, + "end": 23624, "loc": { "start": { - "line": 697, + "line": 702, "column": 32 }, "end": { - "line": 697, + "line": 702, "column": 37 }, "identifierName": "Event" @@ -88127,15 +88979,15 @@ }, "property": { "type": "Identifier", - "start": 23403, - "end": 23408, + "start": 23625, + "end": 23630, "loc": { "start": { - "line": 697, + "line": 702, "column": 38 }, "end": { - "line": 697, + "line": 702, "column": 43 }, "identifierName": "ABORT" @@ -88146,15 +88998,15 @@ }, { "type": "Identifier", - "start": 23410, - "end": 23415, + "start": 23632, + "end": 23637, "loc": { "start": { - "line": 697, + "line": 702, "column": 45 }, "end": { - "line": 697, + "line": 702, "column": 50 }, "identifierName": "error" @@ -88169,101 +89021,101 @@ }, "alternate": { "type": "BlockStatement", - "start": 23433, - "end": 23536, + "start": 23655, + "end": 23758, "loc": { "start": { - "line": 698, + "line": 703, "column": 15 }, "end": { - "line": 702, + "line": 707, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23447, - "end": 23487, + "start": 23669, + "end": 23709, "loc": { "start": { - "line": 699, + "line": 704, "column": 12 }, "end": { - "line": 699, + "line": 704, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 23447, - "end": 23486, + "start": 23669, + "end": 23708, "loc": { "start": { - "line": 699, + "line": 704, "column": 12 }, "end": { - "line": 699, + "line": 704, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 23447, - "end": 23466, + "start": 23669, + "end": 23688, "loc": { "start": { - "line": 699, + "line": 704, "column": 12 }, "end": { - "line": 699, + "line": 704, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 23447, - "end": 23458, + "start": 23669, + "end": 23680, "loc": { "start": { - "line": 699, + "line": 704, "column": 12 }, "end": { - "line": 699, + "line": 704, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23447, - "end": 23451, + "start": 23669, + "end": 23673, "loc": { "start": { - "line": 699, + "line": 704, "column": 12 }, "end": { - "line": 699, + "line": 704, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23452, - "end": 23458, + "start": 23674, + "end": 23680, "loc": { "start": { - "line": 699, + "line": 704, "column": 17 }, "end": { - "line": 699, + "line": 704, "column": 23 }, "identifierName": "player" @@ -88274,15 +89126,15 @@ }, "property": { "type": "Identifier", - "start": 23459, - "end": 23466, + "start": 23681, + "end": 23688, "loc": { "start": { - "line": 699, + "line": 704, "column": 24 }, "end": { - "line": 699, + "line": 704, "column": 31 }, "identifierName": "trigger" @@ -88294,29 +89146,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 23467, - "end": 23478, + "start": 23689, + "end": 23700, "loc": { "start": { - "line": 699, + "line": 704, "column": 32 }, "end": { - "line": 699, + "line": 704, "column": 43 } }, "object": { "type": "Identifier", - "start": 23467, - "end": 23472, + "start": 23689, + "end": 23694, "loc": { "start": { - "line": 699, + "line": 704, "column": 32 }, "end": { - "line": 699, + "line": 704, "column": 37 }, "identifierName": "Event" @@ -88325,15 +89177,15 @@ }, "property": { "type": "Identifier", - "start": 23473, - "end": 23478, + "start": 23695, + "end": 23700, "loc": { "start": { - "line": 699, + "line": 704, "column": 38 }, "end": { - "line": 699, + "line": 704, "column": 43 }, "identifierName": "ERROR" @@ -88344,15 +89196,15 @@ }, { "type": "Identifier", - "start": 23480, - "end": 23485, + "start": 23702, + "end": 23707, "loc": { "start": { - "line": 699, + "line": 704, "column": 45 }, "end": { - "line": 699, + "line": 704, "column": 50 }, "identifierName": "error" @@ -88364,72 +89216,72 @@ }, { "type": "ExpressionStatement", - "start": 23501, - "end": 23526, + "start": 23723, + "end": 23748, "loc": { "start": { - "line": 701, + "line": 706, "column": 12 }, "end": { - "line": 701, + "line": 706, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 23501, - "end": 23525, + "start": 23723, + "end": 23747, "loc": { "start": { - "line": 701, + "line": 706, "column": 12 }, "end": { - "line": 701, + "line": 706, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 23501, - "end": 23509, + "start": 23723, + "end": 23731, "loc": { "start": { - "line": 701, + "line": 706, "column": 12 }, "end": { - "line": 701, + "line": 706, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 23501, - "end": 23505, + "start": 23723, + "end": 23727, "loc": { "start": { - "line": 701, + "line": 706, "column": 12 }, "end": { - "line": 701, + "line": 706, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23506, - "end": 23509, + "start": 23728, + "end": 23731, "loc": { "start": { - "line": 701, + "line": 706, "column": 17 }, "end": { - "line": 701, + "line": 706, "column": 20 }, "identifierName": "log" @@ -88441,15 +89293,15 @@ "arguments": [ { "type": "Identifier", - "start": 23510, - "end": 23515, + "start": 23732, + "end": 23737, "loc": { "start": { - "line": 701, + "line": 706, "column": 21 }, "end": { - "line": 701, + "line": 706, "column": 26 }, "identifierName": "error" @@ -88458,15 +89310,15 @@ }, { "type": "StringLiteral", - "start": 23517, - "end": 23524, + "start": 23739, + "end": 23746, "loc": { "start": { - "line": 701, + "line": 706, "column": 28 }, "end": { - "line": 701, + "line": 706, "column": 35 } }, @@ -88486,15 +89338,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 23178, - "end": 23197, + "start": 23400, + "end": 23419, "loc": { "start": { - "line": 693, + "line": 698, "column": 8 }, "end": { - "line": 693, + "line": 698, "column": 27 } } @@ -88509,15 +89361,15 @@ { "type": "CommentBlock", "value": "*\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n ", - "start": 23034, - "end": 23144, + "start": 23256, + "end": 23366, "loc": { "start": { - "line": 686, + "line": 691, "column": 4 }, "end": { - "line": 691, + "line": 696, "column": 7 } } @@ -88527,15 +89379,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the play toggle is clicked.\n * @private\n ", - "start": 23548, - "end": 23621, + "start": 23770, + "end": 23843, "loc": { "start": { - "line": 705, + "line": 710, "column": 4 }, "end": { - "line": 708, + "line": 713, "column": 7 } } @@ -88544,15 +89396,15 @@ }, { "type": "ClassMethod", - "start": 23626, - "end": 23981, + "start": 23848, + "end": 24203, "loc": { "start": { - "line": 709, + "line": 714, "column": 4 }, "end": { - "line": 719, + "line": 724, "column": 5 } }, @@ -88560,15 +89412,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 23626, - "end": 23638, + "start": 23848, + "end": 23860, "loc": { "start": { - "line": 709, + "line": 714, "column": 4 }, "end": { - "line": 709, + "line": 714, "column": 16 }, "identifierName": "onPlayToggle" @@ -88584,129 +89436,129 @@ "params": [], "body": { "type": "BlockStatement", - "start": 23641, - "end": 23981, + "start": 23863, + "end": 24203, "loc": { "start": { - "line": 709, + "line": 714, "column": 19 }, "end": { - "line": 719, + "line": 724, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 23651, - "end": 23858, + "start": 23873, + "end": 24080, "loc": { "start": { - "line": 710, + "line": 715, "column": 8 }, "end": { - "line": 713, + "line": 718, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 23655, - "end": 23773, + "start": 23877, + "end": 23995, "loc": { "start": { - "line": 710, + "line": 715, "column": 12 }, "end": { - "line": 711, + "line": 716, "column": 67 } }, "left": { "type": "BinaryExpression", - "start": 23655, - "end": 23702, + "start": 23877, + "end": 23924, "loc": { "start": { - "line": 710, + "line": 715, "column": 12 }, "end": { - "line": 710, + "line": 715, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 23655, - "end": 23688, + "start": 23877, + "end": 23910, "loc": { "start": { - "line": 710, + "line": 715, "column": 12 }, "end": { - "line": 710, + "line": 715, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 23655, - "end": 23677, + "start": 23877, + "end": 23899, "loc": { "start": { - "line": 710, + "line": 715, "column": 12 }, "end": { - "line": 710, + "line": 715, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 23655, - "end": 23666, + "start": 23877, + "end": 23888, "loc": { "start": { - "line": 710, + "line": 715, "column": 12 }, "end": { - "line": 710, + "line": 715, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23655, - "end": 23659, + "start": 23877, + "end": 23881, "loc": { "start": { - "line": 710, + "line": 715, "column": 12 }, "end": { - "line": 710, + "line": 715, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23660, - "end": 23666, + "start": 23882, + "end": 23888, "loc": { "start": { - "line": 710, + "line": 715, "column": 17 }, "end": { - "line": 710, + "line": 715, "column": 23 }, "identifierName": "player" @@ -88717,15 +89569,15 @@ }, "property": { "type": "Identifier", - "start": 23667, - "end": 23677, + "start": 23889, + "end": 23899, "loc": { "start": { - "line": 710, + "line": 715, "column": 24 }, "end": { - "line": 710, + "line": 715, "column": 34 }, "identifierName": "controlBar" @@ -88736,15 +89588,15 @@ }, "property": { "type": "Identifier", - "start": 23678, - "end": 23688, + "start": 23900, + "end": 23910, "loc": { "start": { - "line": 710, + "line": 715, "column": 35 }, "end": { - "line": 710, + "line": 715, "column": 45 }, "identifierName": "playToggle" @@ -88756,15 +89608,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 23693, - "end": 23702, + "start": 23915, + "end": 23924, "loc": { "start": { - "line": 710, + "line": 715, "column": 50 }, "end": { - "line": 710, + "line": 715, "column": 59 }, "identifierName": "undefined" @@ -88775,100 +89627,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 23718, - "end": 23773, + "start": 23940, + "end": 23995, "loc": { "start": { - "line": 711, + "line": 716, "column": 12 }, "end": { - "line": 711, + "line": 716, "column": 67 } }, "callee": { "type": "MemberExpression", - "start": 23718, - "end": 23760, + "start": 23940, + "end": 23982, "loc": { "start": { - "line": 711, + "line": 716, "column": 12 }, "end": { - "line": 711, + "line": 716, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 23718, - "end": 23751, + "start": 23940, + "end": 23973, "loc": { "start": { - "line": 711, + "line": 716, "column": 12 }, "end": { - "line": 711, + "line": 716, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 23718, - "end": 23740, + "start": 23940, + "end": 23962, "loc": { "start": { - "line": 711, + "line": 716, "column": 12 }, "end": { - "line": 711, + "line": 716, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 23718, - "end": 23729, + "start": 23940, + "end": 23951, "loc": { "start": { - "line": 711, + "line": 716, "column": 12 }, "end": { - "line": 711, + "line": 716, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23718, - "end": 23722, + "start": 23940, + "end": 23944, "loc": { "start": { - "line": 711, + "line": 716, "column": 12 }, "end": { - "line": 711, + "line": 716, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23723, - "end": 23729, + "start": 23945, + "end": 23951, "loc": { "start": { - "line": 711, + "line": 716, "column": 17 }, "end": { - "line": 711, + "line": 716, "column": 23 }, "identifierName": "player" @@ -88879,15 +89731,15 @@ }, "property": { "type": "Identifier", - "start": 23730, - "end": 23740, + "start": 23952, + "end": 23962, "loc": { "start": { - "line": 711, + "line": 716, "column": 24 }, "end": { - "line": 711, + "line": 716, "column": 34 }, "identifierName": "controlBar" @@ -88898,15 +89750,15 @@ }, "property": { "type": "Identifier", - "start": 23741, - "end": 23751, + "start": 23963, + "end": 23973, "loc": { "start": { - "line": 711, + "line": 716, "column": 35 }, "end": { - "line": 711, + "line": 716, "column": 45 }, "identifierName": "playToggle" @@ -88917,15 +89769,15 @@ }, "property": { "type": "Identifier", - "start": 23752, - "end": 23760, + "start": 23974, + "end": 23982, "loc": { "start": { - "line": 711, + "line": 716, "column": 46 }, "end": { - "line": 711, + "line": 716, "column": 54 }, "identifierName": "hasClass" @@ -88937,15 +89789,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23761, - "end": 23772, + "start": 23983, + "end": 23994, "loc": { "start": { - "line": 711, + "line": 716, "column": 55 }, "end": { - "line": 711, + "line": 716, "column": 66 } }, @@ -88960,129 +89812,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 23775, - "end": 23858, + "start": 23997, + "end": 24080, "loc": { "start": { - "line": 711, + "line": 716, "column": 69 }, "end": { - "line": 713, + "line": 718, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23789, - "end": 23848, + "start": 24011, + "end": 24070, "loc": { "start": { - "line": 712, + "line": 717, "column": 12 }, "end": { - "line": 712, + "line": 717, "column": 71 } }, "expression": { "type": "CallExpression", - "start": 23789, - "end": 23847, + "start": 24011, + "end": 24069, "loc": { "start": { - "line": 712, + "line": 717, "column": 12 }, "end": { - "line": 712, + "line": 717, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 23789, - "end": 23834, + "start": 24011, + "end": 24056, "loc": { "start": { - "line": 712, + "line": 717, "column": 12 }, "end": { - "line": 712, + "line": 717, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 23789, - "end": 23822, + "start": 24011, + "end": 24044, "loc": { "start": { - "line": 712, + "line": 717, "column": 12 }, "end": { - "line": 712, + "line": 717, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 23789, - "end": 23811, + "start": 24011, + "end": 24033, "loc": { "start": { - "line": 712, + "line": 717, "column": 12 }, "end": { - "line": 712, + "line": 717, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 23789, - "end": 23800, + "start": 24011, + "end": 24022, "loc": { "start": { - "line": 712, + "line": 717, "column": 12 }, "end": { - "line": 712, + "line": 717, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23789, - "end": 23793, + "start": 24011, + "end": 24015, "loc": { "start": { - "line": 712, + "line": 717, "column": 12 }, "end": { - "line": 712, + "line": 717, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23794, - "end": 23800, + "start": 24016, + "end": 24022, "loc": { "start": { - "line": 712, + "line": 717, "column": 17 }, "end": { - "line": 712, + "line": 717, "column": 23 }, "identifierName": "player" @@ -89093,15 +89945,15 @@ }, "property": { "type": "Identifier", - "start": 23801, - "end": 23811, + "start": 24023, + "end": 24033, "loc": { "start": { - "line": 712, + "line": 717, "column": 24 }, "end": { - "line": 712, + "line": 717, "column": 34 }, "identifierName": "controlBar" @@ -89112,15 +89964,15 @@ }, "property": { "type": "Identifier", - "start": 23812, - "end": 23822, + "start": 24034, + "end": 24044, "loc": { "start": { - "line": 712, + "line": 717, "column": 35 }, "end": { - "line": 712, + "line": 717, "column": 45 }, "identifierName": "playToggle" @@ -89131,15 +89983,15 @@ }, "property": { "type": "Identifier", - "start": 23823, - "end": 23834, + "start": 24045, + "end": 24056, "loc": { "start": { - "line": 712, + "line": 717, "column": 46 }, "end": { - "line": 712, + "line": 717, "column": 57 }, "identifierName": "removeClass" @@ -89151,15 +90003,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23835, - "end": 23846, + "start": 24057, + "end": 24068, "loc": { "start": { - "line": 712, + "line": 717, "column": 58 }, "end": { - "line": 712, + "line": 717, "column": 69 } }, @@ -89179,86 +90031,86 @@ }, { "type": "IfStatement", - "start": 23867, - "end": 23975, + "start": 24089, + "end": 24197, "loc": { "start": { - "line": 714, + "line": 719, "column": 8 }, "end": { - "line": 718, + "line": 723, "column": 9 } }, "test": { "type": "CallExpression", - "start": 23871, - "end": 23894, + "start": 24093, + "end": 24116, "loc": { "start": { - "line": 714, + "line": 719, "column": 12 }, "end": { - "line": 714, + "line": 719, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 23871, - "end": 23892, + "start": 24093, + "end": 24114, "loc": { "start": { - "line": 714, + "line": 719, "column": 12 }, "end": { - "line": 714, + "line": 719, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 23871, - "end": 23882, + "start": 24093, + "end": 24104, "loc": { "start": { - "line": 714, + "line": 719, "column": 12 }, "end": { - "line": 714, + "line": 719, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23871, - "end": 23875, + "start": 24093, + "end": 24097, "loc": { "start": { - "line": 714, + "line": 719, "column": 12 }, "end": { - "line": 714, + "line": 719, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23876, - "end": 23882, + "start": 24098, + "end": 24104, "loc": { "start": { - "line": 714, + "line": 719, "column": 17 }, "end": { - "line": 714, + "line": 719, "column": 23 }, "identifierName": "surfer" @@ -89269,15 +90121,15 @@ }, "property": { "type": "Identifier", - "start": 23883, - "end": 23892, + "start": 24105, + "end": 24114, "loc": { "start": { - "line": 714, + "line": 719, "column": 24 }, "end": { - "line": 714, + "line": 719, "column": 33 }, "identifierName": "isPlaying" @@ -89290,87 +90142,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 23896, - "end": 23933, + "start": 24118, + "end": 24155, "loc": { "start": { - "line": 714, + "line": 719, "column": 37 }, "end": { - "line": 716, + "line": 721, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23910, - "end": 23923, + "start": 24132, + "end": 24145, "loc": { "start": { - "line": 715, + "line": 720, "column": 12 }, "end": { - "line": 715, + "line": 720, "column": 25 } }, "expression": { "type": "CallExpression", - "start": 23910, - "end": 23922, + "start": 24132, + "end": 24144, "loc": { "start": { - "line": 715, + "line": 720, "column": 12 }, "end": { - "line": 715, + "line": 720, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 23910, - "end": 23920, + "start": 24132, + "end": 24142, "loc": { "start": { - "line": 715, + "line": 720, "column": 12 }, "end": { - "line": 715, + "line": 720, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 23910, - "end": 23914, + "start": 24132, + "end": 24136, "loc": { "start": { - "line": 715, + "line": 720, "column": 12 }, "end": { - "line": 715, + "line": 720, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23915, - "end": 23920, + "start": 24137, + "end": 24142, "loc": { "start": { - "line": 715, + "line": 720, "column": 17 }, "end": { - "line": 715, + "line": 720, "column": 22 }, "identifierName": "pause" @@ -89387,87 +90239,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 23939, - "end": 23975, + "start": 24161, + "end": 24197, "loc": { "start": { - "line": 716, + "line": 721, "column": 15 }, "end": { - "line": 718, + "line": 723, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23953, - "end": 23965, + "start": 24175, + "end": 24187, "loc": { "start": { - "line": 717, + "line": 722, "column": 12 }, "end": { - "line": 717, + "line": 722, "column": 24 } }, "expression": { "type": "CallExpression", - "start": 23953, - "end": 23964, + "start": 24175, + "end": 24186, "loc": { "start": { - "line": 717, + "line": 722, "column": 12 }, "end": { - "line": 717, + "line": 722, "column": 23 } }, "callee": { "type": "MemberExpression", - "start": 23953, - "end": 23962, + "start": 24175, + "end": 24184, "loc": { "start": { - "line": 717, + "line": 722, "column": 12 }, "end": { - "line": 717, + "line": 722, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 23953, - "end": 23957, + "start": 24175, + "end": 24179, "loc": { "start": { - "line": 717, + "line": 722, "column": 12 }, "end": { - "line": 717, + "line": 722, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23958, - "end": 23962, + "start": 24180, + "end": 24184, "loc": { "start": { - "line": 717, + "line": 722, "column": 17 }, "end": { - "line": 717, + "line": 722, "column": 21 }, "identifierName": "play" @@ -89491,15 +90343,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the play toggle is clicked.\n * @private\n ", - "start": 23548, - "end": 23621, + "start": 23770, + "end": 23843, "loc": { "start": { - "line": 705, + "line": 710, "column": 4 }, "end": { - "line": 708, + "line": 713, "column": 7 } } @@ -89509,15 +90361,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the volume in the video.js player changes.\n * @private\n ", - "start": 23987, - "end": 24075, + "start": 24209, + "end": 24297, "loc": { "start": { - "line": 721, + "line": 726, "column": 4 }, "end": { - "line": 724, + "line": 729, "column": 7 } } @@ -89526,15 +90378,15 @@ }, { "type": "ClassMethod", - "start": 24080, - "end": 24323, + "start": 24302, + "end": 24545, "loc": { "start": { - "line": 725, + "line": 730, "column": 4 }, "end": { - "line": 734, + "line": 739, "column": 5 } }, @@ -89542,15 +90394,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 24080, - "end": 24094, + "start": 24302, + "end": 24316, "loc": { "start": { - "line": 725, + "line": 730, "column": 4 }, "end": { - "line": 725, + "line": 730, "column": 18 }, "identifierName": "onVolumeChange" @@ -89566,59 +90418,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 24097, - "end": 24323, + "start": 24319, + "end": 24545, "loc": { "start": { - "line": 725, + "line": 730, "column": 21 }, "end": { - "line": 734, + "line": 739, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 24107, - "end": 24141, + "start": 24329, + "end": 24363, "loc": { "start": { - "line": 726, + "line": 731, "column": 8 }, "end": { - "line": 726, + "line": 731, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24111, - "end": 24140, + "start": 24333, + "end": 24362, "loc": { "start": { - "line": 726, + "line": 731, "column": 12 }, "end": { - "line": 726, + "line": 731, "column": 41 } }, "id": { "type": "Identifier", - "start": 24111, - "end": 24117, + "start": 24333, + "end": 24339, "loc": { "start": { - "line": 726, + "line": 731, "column": 12 }, "end": { - "line": 726, + "line": 731, "column": 18 }, "identifierName": "volume" @@ -89627,72 +90479,72 @@ }, "init": { "type": "CallExpression", - "start": 24120, - "end": 24140, + "start": 24342, + "end": 24362, "loc": { "start": { - "line": 726, + "line": 731, "column": 21 }, "end": { - "line": 726, + "line": 731, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 24120, - "end": 24138, + "start": 24342, + "end": 24360, "loc": { "start": { - "line": 726, + "line": 731, "column": 21 }, "end": { - "line": 726, + "line": 731, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 24120, - "end": 24131, + "start": 24342, + "end": 24353, "loc": { "start": { - "line": 726, + "line": 731, "column": 21 }, "end": { - "line": 726, + "line": 731, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 24120, - "end": 24124, + "start": 24342, + "end": 24346, "loc": { "start": { - "line": 726, + "line": 731, "column": 21 }, "end": { - "line": 726, + "line": 731, "column": 25 } } }, "property": { "type": "Identifier", - "start": 24125, - "end": 24131, + "start": 24347, + "end": 24353, "loc": { "start": { - "line": 726, + "line": 731, "column": 26 }, "end": { - "line": 726, + "line": 731, "column": 32 }, "identifierName": "player" @@ -89703,15 +90555,15 @@ }, "property": { "type": "Identifier", - "start": 24132, - "end": 24138, + "start": 24354, + "end": 24360, "loc": { "start": { - "line": 726, + "line": 731, "column": 33 }, "end": { - "line": 726, + "line": 731, "column": 39 }, "identifierName": "volume" @@ -89728,86 +90580,86 @@ }, { "type": "IfStatement", - "start": 24150, - "end": 24238, + "start": 24372, + "end": 24460, "loc": { "start": { - "line": 727, + "line": 732, "column": 8 }, "end": { - "line": 730, + "line": 735, "column": 9 } }, "test": { "type": "CallExpression", - "start": 24154, - "end": 24173, + "start": 24376, + "end": 24395, "loc": { "start": { - "line": 727, + "line": 732, "column": 12 }, "end": { - "line": 727, + "line": 732, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 24154, - "end": 24171, + "start": 24376, + "end": 24393, "loc": { "start": { - "line": 727, + "line": 732, "column": 12 }, "end": { - "line": 727, + "line": 732, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 24154, - "end": 24165, + "start": 24376, + "end": 24387, "loc": { "start": { - "line": 727, + "line": 732, "column": 12 }, "end": { - "line": 727, + "line": 732, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 24154, - "end": 24158, + "start": 24376, + "end": 24380, "loc": { "start": { - "line": 727, + "line": 732, "column": 12 }, "end": { - "line": 727, + "line": 732, "column": 16 } } }, "property": { "type": "Identifier", - "start": 24159, - "end": 24165, + "start": 24381, + "end": 24387, "loc": { "start": { - "line": 727, + "line": 732, "column": 17 }, "end": { - "line": 727, + "line": 732, "column": 23 }, "identifierName": "player" @@ -89818,15 +90670,15 @@ }, "property": { "type": "Identifier", - "start": 24166, - "end": 24171, + "start": 24388, + "end": 24393, "loc": { "start": { - "line": 727, + "line": 732, "column": 24 }, "end": { - "line": 727, + "line": 732, "column": 29 }, "identifierName": "muted" @@ -89839,59 +90691,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 24175, - "end": 24238, + "start": 24397, + "end": 24460, "loc": { "start": { - "line": 727, + "line": 732, "column": 33 }, "end": { - "line": 730, + "line": 735, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 24217, - "end": 24228, + "start": 24439, + "end": 24450, "loc": { "start": { - "line": 729, + "line": 734, "column": 12 }, "end": { - "line": 729, + "line": 734, "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 24217, - "end": 24227, + "start": 24439, + "end": 24449, "loc": { "start": { - "line": 729, + "line": 734, "column": 12 }, "end": { - "line": 729, + "line": 734, "column": 22 } }, "operator": "=", "left": { "type": "Identifier", - "start": 24217, - "end": 24223, + "start": 24439, + "end": 24445, "loc": { "start": { - "line": 729, + "line": 734, "column": 12 }, "end": { - "line": 729, + "line": 734, "column": 18 }, "identifierName": "volume" @@ -89901,15 +90753,15 @@ }, "right": { "type": "NumericLiteral", - "start": 24226, - "end": 24227, + "start": 24448, + "end": 24449, "loc": { "start": { - "line": 729, + "line": 734, "column": 21 }, "end": { - "line": 729, + "line": 734, "column": 22 } }, @@ -89925,15 +90777,15 @@ { "type": "CommentLine", "value": " muted volume", - "start": 24189, - "end": 24204, + "start": 24411, + "end": 24426, "loc": { "start": { - "line": 728, + "line": 733, "column": 12 }, "end": { - "line": 728, + "line": 733, "column": 27 } } @@ -89949,15 +90801,15 @@ { "type": "CommentLine", "value": " update wavesurfer.js volume", - "start": 24248, - "end": 24278, + "start": 24470, + "end": 24500, "loc": { "start": { - "line": 732, + "line": 737, "column": 8 }, "end": { - "line": 732, + "line": 737, "column": 38 } } @@ -89966,71 +90818,71 @@ }, { "type": "ExpressionStatement", - "start": 24287, - "end": 24317, + "start": 24509, + "end": 24539, "loc": { "start": { - "line": 733, + "line": 738, "column": 8 }, "end": { - "line": 733, + "line": 738, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 24287, - "end": 24316, + "start": 24509, + "end": 24538, "loc": { "start": { - "line": 733, + "line": 738, "column": 8 }, "end": { - "line": 733, + "line": 738, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 24287, - "end": 24308, + "start": 24509, + "end": 24530, "loc": { "start": { - "line": 733, + "line": 738, "column": 8 }, "end": { - "line": 733, + "line": 738, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 24287, - "end": 24298, + "start": 24509, + "end": 24520, "loc": { "start": { - "line": 733, + "line": 738, "column": 8 }, "end": { - "line": 733, + "line": 738, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 24287, - "end": 24291, + "start": 24509, + "end": 24513, "loc": { "start": { - "line": 733, + "line": 738, "column": 8 }, "end": { - "line": 733, + "line": 738, "column": 12 } }, @@ -90038,15 +90890,15 @@ }, "property": { "type": "Identifier", - "start": 24292, - "end": 24298, + "start": 24514, + "end": 24520, "loc": { "start": { - "line": 733, + "line": 738, "column": 13 }, "end": { - "line": 733, + "line": 738, "column": 19 }, "identifierName": "surfer" @@ -90058,15 +90910,15 @@ }, "property": { "type": "Identifier", - "start": 24299, - "end": 24308, + "start": 24521, + "end": 24530, "loc": { "start": { - "line": 733, + "line": 738, "column": 20 }, "end": { - "line": 733, + "line": 738, "column": 29 }, "identifierName": "setVolume" @@ -90079,15 +90931,15 @@ "arguments": [ { "type": "Identifier", - "start": 24309, - "end": 24315, + "start": 24531, + "end": 24537, "loc": { "start": { - "line": 733, + "line": 738, "column": 30 }, "end": { - "line": 733, + "line": 738, "column": 36 }, "identifierName": "volume" @@ -90101,15 +90953,15 @@ { "type": "CommentLine", "value": " update wavesurfer.js volume", - "start": 24248, - "end": 24278, + "start": 24470, + "end": 24500, "loc": { "start": { - "line": 732, + "line": 737, "column": 8 }, "end": { - "line": 732, + "line": 737, "column": 38 } } @@ -90124,15 +90976,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the volume in the video.js player changes.\n * @private\n ", - "start": 23987, - "end": 24075, + "start": 24209, + "end": 24297, "loc": { "start": { - "line": 721, + "line": 726, "column": 4 }, "end": { - "line": 724, + "line": 729, "column": 7 } } @@ -90142,15 +90994,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n ", - "start": 24329, - "end": 24433, + "start": 24551, + "end": 24655, "loc": { "start": { - "line": 736, + "line": 741, "column": 4 }, "end": { - "line": 739, + "line": 744, "column": 7 } } @@ -90159,15 +91011,15 @@ }, { "type": "ClassMethod", - "start": 24438, - "end": 25412, + "start": 24660, + "end": 25634, "loc": { "start": { - "line": 740, + "line": 745, "column": 4 }, "end": { - "line": 766, + "line": 771, "column": 5 } }, @@ -90175,15 +91027,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 24438, - "end": 24452, + "start": 24660, + "end": 24674, "loc": { "start": { - "line": 740, + "line": 745, "column": 4 }, "end": { - "line": 740, + "line": 745, "column": 18 }, "identifierName": "onScreenChange" @@ -90199,59 +91051,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 24455, - "end": 25412, + "start": 24677, + "end": 25634, "loc": { "start": { - "line": 740, + "line": 745, "column": 21 }, "end": { - "line": 766, + "line": 771, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 24589, - "end": 25406, + "start": 24811, + "end": 25628, "loc": { "start": { - "line": 743, + "line": 748, "column": 8 }, "end": { - "line": 765, + "line": 770, "column": 16 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24593, - "end": 25405, + "start": 24815, + "end": 25627, "loc": { "start": { - "line": 743, + "line": 748, "column": 12 }, "end": { - "line": 765, + "line": 770, "column": 15 } }, "id": { "type": "Identifier", - "start": 24593, - "end": 24608, + "start": 24815, + "end": 24830, "loc": { "start": { - "line": 743, + "line": 748, "column": 12 }, "end": { - "line": 743, + "line": 748, "column": 27 }, "identifierName": "fullscreenDelay" @@ -90261,72 +91113,72 @@ }, "init": { "type": "CallExpression", - "start": 24611, - "end": 25405, + "start": 24833, + "end": 25627, "loc": { "start": { - "line": 743, + "line": 748, "column": 30 }, "end": { - "line": 765, + "line": 770, "column": 15 } }, "callee": { "type": "MemberExpression", - "start": 24611, - "end": 24634, + "start": 24833, + "end": 24856, "loc": { "start": { - "line": 743, + "line": 748, "column": 30 }, "end": { - "line": 743, + "line": 748, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 24611, - "end": 24622, + "start": 24833, + "end": 24844, "loc": { "start": { - "line": 743, + "line": 748, "column": 30 }, "end": { - "line": 743, + "line": 748, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 24611, - "end": 24615, + "start": 24833, + "end": 24837, "loc": { "start": { - "line": 743, + "line": 748, "column": 30 }, "end": { - "line": 743, + "line": 748, "column": 34 } } }, "property": { "type": "Identifier", - "start": 24616, - "end": 24622, + "start": 24838, + "end": 24844, "loc": { "start": { - "line": 743, + "line": 748, "column": 35 }, "end": { - "line": 743, + "line": 748, "column": 41 }, "identifierName": "player" @@ -90337,15 +91189,15 @@ }, "property": { "type": "Identifier", - "start": 24623, - "end": 24634, + "start": 24845, + "end": 24856, "loc": { "start": { - "line": 743, + "line": 748, "column": 42 }, "end": { - "line": 743, + "line": 748, "column": 53 }, "identifierName": "setInterval" @@ -90357,15 +91209,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 24635, - "end": 25399, + "start": 24857, + "end": 25621, "loc": { "start": { - "line": 743, + "line": 748, "column": 54 }, "end": { - "line": 765, + "line": 770, "column": 9 } }, @@ -90376,59 +91228,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 24641, - "end": 25399, + "start": 24863, + "end": 25621, "loc": { "start": { - "line": 743, + "line": 748, "column": 60 }, "end": { - "line": 765, + "line": 770, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 24655, - "end": 24701, + "start": 24877, + "end": 24923, "loc": { "start": { - "line": 744, + "line": 749, "column": 12 }, "end": { - "line": 744, + "line": 749, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24659, - "end": 24700, + "start": 24881, + "end": 24922, "loc": { "start": { - "line": 744, + "line": 749, "column": 16 }, "end": { - "line": 744, + "line": 749, "column": 57 } }, "id": { "type": "Identifier", - "start": 24659, - "end": 24671, + "start": 24881, + "end": 24893, "loc": { "start": { - "line": 744, + "line": 749, "column": 16 }, "end": { - "line": 744, + "line": 749, "column": 28 }, "identifierName": "isFullscreen" @@ -90437,72 +91289,72 @@ }, "init": { "type": "CallExpression", - "start": 24674, - "end": 24700, + "start": 24896, + "end": 24922, "loc": { "start": { - "line": 744, + "line": 749, "column": 31 }, "end": { - "line": 744, + "line": 749, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 24674, - "end": 24698, + "start": 24896, + "end": 24920, "loc": { "start": { - "line": 744, + "line": 749, "column": 31 }, "end": { - "line": 744, + "line": 749, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 24674, - "end": 24685, + "start": 24896, + "end": 24907, "loc": { "start": { - "line": 744, + "line": 749, "column": 31 }, "end": { - "line": 744, + "line": 749, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 24674, - "end": 24678, + "start": 24896, + "end": 24900, "loc": { "start": { - "line": 744, + "line": 749, "column": 31 }, "end": { - "line": 744, + "line": 749, "column": 35 } } }, "property": { "type": "Identifier", - "start": 24679, - "end": 24685, + "start": 24901, + "end": 24907, "loc": { "start": { - "line": 744, + "line": 749, "column": 36 }, "end": { - "line": 744, + "line": 749, "column": 42 }, "identifierName": "player" @@ -90513,15 +91365,15 @@ }, "property": { "type": "Identifier", - "start": 24686, - "end": 24698, + "start": 24908, + "end": 24920, "loc": { "start": { - "line": 744, + "line": 749, "column": 43 }, "end": { - "line": 744, + "line": 749, "column": 55 }, "identifierName": "isFullscreen" @@ -90538,44 +91390,44 @@ }, { "type": "VariableDeclaration", - "start": 24714, - "end": 24738, + "start": 24936, + "end": 24960, "loc": { "start": { - "line": 745, + "line": 750, "column": 12 }, "end": { - "line": 745, + "line": 750, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24718, - "end": 24726, + "start": 24940, + "end": 24948, "loc": { "start": { - "line": 745, + "line": 750, "column": 16 }, "end": { - "line": 745, + "line": 750, "column": 24 } }, "id": { "type": "Identifier", - "start": 24718, - "end": 24726, + "start": 24940, + "end": 24948, "loc": { "start": { - "line": 745, + "line": 750, "column": 16 }, "end": { - "line": 745, + "line": 750, "column": 24 }, "identifierName": "newWidth" @@ -90586,29 +91438,29 @@ }, { "type": "VariableDeclarator", - "start": 24728, - "end": 24737, + "start": 24950, + "end": 24959, "loc": { "start": { - "line": 745, + "line": 750, "column": 26 }, "end": { - "line": 745, + "line": 750, "column": 35 } }, "id": { "type": "Identifier", - "start": 24728, - "end": 24737, + "start": 24950, + "end": 24959, "loc": { "start": { - "line": 745, + "line": 750, "column": 26 }, "end": { - "line": 745, + "line": 750, "column": 35 }, "identifierName": "newHeight" @@ -90622,29 +91474,29 @@ }, { "type": "IfStatement", - "start": 24751, - "end": 24928, + "start": 24973, + "end": 25150, "loc": { "start": { - "line": 746, + "line": 751, "column": 12 }, "end": { - "line": 750, + "line": 755, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 24755, - "end": 24768, + "start": 24977, + "end": 24990, "loc": { "start": { - "line": 746, + "line": 751, "column": 16 }, "end": { - "line": 746, + "line": 751, "column": 29 } }, @@ -90652,15 +91504,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 24756, - "end": 24768, + "start": 24978, + "end": 24990, "loc": { "start": { - "line": 746, + "line": 751, "column": 17 }, "end": { - "line": 746, + "line": 751, "column": 29 }, "identifierName": "isFullscreen" @@ -90673,59 +91525,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 24770, - "end": 24928, + "start": 24992, + "end": 25150, "loc": { "start": { - "line": 746, + "line": 751, "column": 31 }, "end": { - "line": 750, + "line": 755, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 24835, - "end": 24865, + "start": 25057, + "end": 25087, "loc": { "start": { - "line": 748, + "line": 753, "column": 16 }, "end": { - "line": 748, + "line": 753, "column": 46 } }, "expression": { "type": "AssignmentExpression", - "start": 24835, - "end": 24864, + "start": 25057, + "end": 25086, "loc": { "start": { - "line": 748, + "line": 753, "column": 16 }, "end": { - "line": 748, + "line": 753, "column": 45 } }, "operator": "=", "left": { "type": "Identifier", - "start": 24835, - "end": 24843, + "start": 25057, + "end": 25065, "loc": { "start": { - "line": 748, + "line": 753, "column": 16 }, "end": { - "line": 748, + "line": 753, "column": 24 }, "identifierName": "newWidth" @@ -90735,44 +91587,44 @@ }, "right": { "type": "MemberExpression", - "start": 24846, - "end": 24864, + "start": 25068, + "end": 25086, "loc": { "start": { - "line": 748, + "line": 753, "column": 27 }, "end": { - "line": 748, + "line": 753, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 24846, - "end": 24850, + "start": 25068, + "end": 25072, "loc": { "start": { - "line": 748, + "line": 753, "column": 27 }, "end": { - "line": 748, + "line": 753, "column": 31 } } }, "property": { "type": "Identifier", - "start": 24851, - "end": 24864, + "start": 25073, + "end": 25086, "loc": { "start": { - "line": 748, + "line": 753, "column": 32 }, "end": { - "line": 748, + "line": 753, "column": 45 }, "identifierName": "originalWidth" @@ -90787,15 +91639,15 @@ { "type": "CommentLine", "value": " restore original dimensions", - "start": 24788, - "end": 24818, + "start": 25010, + "end": 25040, "loc": { "start": { - "line": 747, + "line": 752, "column": 16 }, "end": { - "line": 747, + "line": 752, "column": 46 } } @@ -90804,44 +91656,44 @@ }, { "type": "ExpressionStatement", - "start": 24882, - "end": 24914, + "start": 25104, + "end": 25136, "loc": { "start": { - "line": 749, + "line": 754, "column": 16 }, "end": { - "line": 749, + "line": 754, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 24882, - "end": 24913, + "start": 25104, + "end": 25135, "loc": { "start": { - "line": 749, + "line": 754, "column": 16 }, "end": { - "line": 749, + "line": 754, "column": 47 } }, "operator": "=", "left": { "type": "Identifier", - "start": 24882, - "end": 24891, + "start": 25104, + "end": 25113, "loc": { "start": { - "line": 749, + "line": 754, "column": 16 }, "end": { - "line": 749, + "line": 754, "column": 25 }, "identifierName": "newHeight" @@ -90850,44 +91702,44 @@ }, "right": { "type": "MemberExpression", - "start": 24894, - "end": 24913, + "start": 25116, + "end": 25135, "loc": { "start": { - "line": 749, + "line": 754, "column": 28 }, "end": { - "line": 749, + "line": 754, "column": 47 } }, "object": { "type": "ThisExpression", - "start": 24894, - "end": 24898, + "start": 25116, + "end": 25120, "loc": { "start": { - "line": 749, + "line": 754, "column": 28 }, "end": { - "line": 749, + "line": 754, "column": 32 } } }, "property": { "type": "Identifier", - "start": 24899, - "end": 24913, + "start": 25121, + "end": 25135, "loc": { "start": { - "line": 749, + "line": 754, "column": 33 }, "end": { - "line": 749, + "line": 754, "column": 47 }, "identifierName": "originalHeight" @@ -90905,58 +91757,58 @@ }, { "type": "IfStatement", - "start": 24942, - "end": 25286, + "start": 25164, + "end": 25508, "loc": { "start": { - "line": 752, + "line": 757, "column": 12 }, "end": { - "line": 760, + "line": 765, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 24946, - "end": 24960, + "start": 25168, + "end": 25182, "loc": { "start": { - "line": 752, + "line": 757, "column": 16 }, "end": { - "line": 752, + "line": 757, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 24946, - "end": 24950, + "start": 25168, + "end": 25172, "loc": { "start": { - "line": 752, + "line": 757, "column": 16 }, "end": { - "line": 752, + "line": 757, "column": 20 } } }, "property": { "type": "Identifier", - "start": 24951, - "end": 24960, + "start": 25173, + "end": 25182, "loc": { "start": { - "line": 752, + "line": 757, "column": 21 }, "end": { - "line": 752, + "line": 757, "column": 30 }, "identifierName": "waveReady" @@ -90967,87 +91819,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 24962, - "end": 25286, + "start": 25184, + "end": 25508, "loc": { "start": { - "line": 752, + "line": 757, "column": 32 }, "end": { - "line": 760, + "line": 765, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 24980, - "end": 25188, + "start": 25202, + "end": 25410, "loc": { "start": { - "line": 753, + "line": 758, "column": 16 }, "end": { - "line": 757, + "line": 762, "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 24984, - "end": 25031, + "start": 25206, + "end": 25253, "loc": { "start": { - "line": 753, + "line": 758, "column": 20 }, "end": { - "line": 753, + "line": 758, "column": 67 } }, "left": { "type": "MemberExpression", - "start": 24984, - "end": 24997, + "start": 25206, + "end": 25219, "loc": { "start": { - "line": 753, + "line": 758, "column": 20 }, "end": { - "line": 753, + "line": 758, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 24984, - "end": 24988, + "start": 25206, + "end": 25210, "loc": { "start": { - "line": 753, + "line": 758, "column": 20 }, "end": { - "line": 753, + "line": 758, "column": 24 } } }, "property": { "type": "Identifier", - "start": 24989, - "end": 24997, + "start": 25211, + "end": 25219, "loc": { "start": { - "line": 753, + "line": 758, "column": 25 }, "end": { - "line": 753, + "line": 758, "column": 33 }, "identifierName": "liveMode" @@ -91059,15 +91911,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 25001, - "end": 25031, + "start": 25223, + "end": 25253, "loc": { "start": { - "line": 753, + "line": 758, "column": 37 }, "end": { - "line": 753, + "line": 758, "column": 67 } }, @@ -91075,72 +91927,72 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 25002, - "end": 25031, + "start": 25224, + "end": 25253, "loc": { "start": { - "line": 753, + "line": 758, "column": 38 }, "end": { - "line": 753, + "line": 758, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 25002, - "end": 25024, + "start": 25224, + "end": 25246, "loc": { "start": { - "line": 753, + "line": 758, "column": 38 }, "end": { - "line": 753, + "line": 758, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 25002, - "end": 25013, + "start": 25224, + "end": 25235, "loc": { "start": { - "line": 753, + "line": 758, "column": 38 }, "end": { - "line": 753, + "line": 758, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 25002, - "end": 25006, + "start": 25224, + "end": 25228, "loc": { "start": { - "line": 753, + "line": 758, "column": 38 }, "end": { - "line": 753, + "line": 758, "column": 42 } } }, "property": { "type": "Identifier", - "start": 25007, - "end": 25013, + "start": 25229, + "end": 25235, "loc": { "start": { - "line": 753, + "line": 758, "column": 43 }, "end": { - "line": 753, + "line": 758, "column": 49 }, "identifierName": "surfer" @@ -91151,15 +92003,15 @@ }, "property": { "type": "Identifier", - "start": 25014, - "end": 25024, + "start": 25236, + "end": 25246, "loc": { "start": { - "line": 753, + "line": 758, "column": 50 }, "end": { - "line": 753, + "line": 758, "column": 60 }, "identifierName": "microphone" @@ -91170,15 +92022,15 @@ }, "property": { "type": "Identifier", - "start": 25025, - "end": 25031, + "start": 25247, + "end": 25253, "loc": { "start": { - "line": 753, + "line": 758, "column": 61 }, "end": { - "line": 753, + "line": 758, "column": 67 }, "identifierName": "active" @@ -91194,30 +92046,30 @@ }, "consequent": { "type": "BlockStatement", - "start": 25033, - "end": 25188, + "start": 25255, + "end": 25410, "loc": { "start": { - "line": 753, + "line": 758, "column": 69 }, "end": { - "line": 757, + "line": 762, "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 25163, - "end": 25170, + "start": 25385, + "end": 25392, "loc": { "start": { - "line": 756, + "line": 761, "column": 20 }, "end": { - "line": 756, + "line": 761, "column": 27 } }, @@ -91226,15 +92078,15 @@ { "type": "CommentLine", "value": " we're in live mode but the microphone hasn't been", - "start": 25055, - "end": 25107, + "start": 25277, + "end": 25329, "loc": { "start": { - "line": 754, + "line": 759, "column": 20 }, "end": { - "line": 754, + "line": 759, "column": 72 } } @@ -91242,15 +92094,15 @@ { "type": "CommentLine", "value": " started yet", - "start": 25128, - "end": 25142, + "start": 25350, + "end": 25364, "loc": { "start": { - "line": 755, + "line": 760, "column": 20 }, "end": { - "line": 755, + "line": 760, "column": 34 } } @@ -91266,15 +92118,15 @@ { "type": "CommentLine", "value": " redraw", - "start": 25205, - "end": 25214, + "start": 25427, + "end": 25436, "loc": { "start": { - "line": 758, + "line": 763, "column": 16 }, "end": { - "line": 758, + "line": 763, "column": 25 } } @@ -91283,57 +92135,57 @@ }, { "type": "ExpressionStatement", - "start": 25231, - "end": 25272, + "start": 25453, + "end": 25494, "loc": { "start": { - "line": 759, + "line": 764, "column": 16 }, "end": { - "line": 759, + "line": 764, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 25231, - "end": 25271, + "start": 25453, + "end": 25493, "loc": { "start": { - "line": 759, + "line": 764, "column": 16 }, "end": { - "line": 759, + "line": 764, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 25231, - "end": 25250, + "start": 25453, + "end": 25472, "loc": { "start": { - "line": 759, + "line": 764, "column": 16 }, "end": { - "line": 759, + "line": 764, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 25231, - "end": 25235, + "start": 25453, + "end": 25457, "loc": { "start": { - "line": 759, + "line": 764, "column": 16 }, "end": { - "line": 759, + "line": 764, "column": 20 } }, @@ -91341,15 +92193,15 @@ }, "property": { "type": "Identifier", - "start": 25236, - "end": 25250, + "start": 25458, + "end": 25472, "loc": { "start": { - "line": 759, + "line": 764, "column": 21 }, "end": { - "line": 759, + "line": 764, "column": 35 }, "identifierName": "redrawWaveform" @@ -91362,15 +92214,15 @@ "arguments": [ { "type": "Identifier", - "start": 25251, - "end": 25259, + "start": 25473, + "end": 25481, "loc": { "start": { - "line": 759, + "line": 764, "column": 36 }, "end": { - "line": 759, + "line": 764, "column": 44 }, "identifierName": "newWidth" @@ -91379,15 +92231,15 @@ }, { "type": "Identifier", - "start": 25261, - "end": 25270, + "start": 25483, + "end": 25492, "loc": { "start": { - "line": 759, + "line": 764, "column": 46 }, "end": { - "line": 759, + "line": 764, "column": 55 }, "identifierName": "newHeight" @@ -91401,15 +92253,15 @@ { "type": "CommentLine", "value": " redraw", - "start": 25205, - "end": 25214, + "start": 25427, + "end": 25436, "loc": { "start": { - "line": 758, + "line": 763, "column": 16 }, "end": { - "line": 758, + "line": 763, "column": 25 } } @@ -91425,15 +92277,15 @@ { "type": "CommentLine", "value": " stop fullscreenDelay interval", - "start": 25300, - "end": 25332, + "start": 25522, + "end": 25554, "loc": { "start": { - "line": 762, + "line": 767, "column": 12 }, "end": { - "line": 762, + "line": 767, "column": 44 } } @@ -91442,71 +92294,71 @@ }, { "type": "ExpressionStatement", - "start": 25345, - "end": 25388, + "start": 25567, + "end": 25610, "loc": { "start": { - "line": 763, + "line": 768, "column": 12 }, "end": { - "line": 763, + "line": 768, "column": 55 } }, "expression": { "type": "CallExpression", - "start": 25345, - "end": 25387, + "start": 25567, + "end": 25609, "loc": { "start": { - "line": 763, + "line": 768, "column": 12 }, "end": { - "line": 763, + "line": 768, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 25345, - "end": 25370, + "start": 25567, + "end": 25592, "loc": { "start": { - "line": 763, + "line": 768, "column": 12 }, "end": { - "line": 763, + "line": 768, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 25345, - "end": 25356, + "start": 25567, + "end": 25578, "loc": { "start": { - "line": 763, + "line": 768, "column": 12 }, "end": { - "line": 763, + "line": 768, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 25345, - "end": 25349, + "start": 25567, + "end": 25571, "loc": { "start": { - "line": 763, + "line": 768, "column": 12 }, "end": { - "line": 763, + "line": 768, "column": 16 } }, @@ -91514,15 +92366,15 @@ }, "property": { "type": "Identifier", - "start": 25350, - "end": 25356, + "start": 25572, + "end": 25578, "loc": { "start": { - "line": 763, + "line": 768, "column": 17 }, "end": { - "line": 763, + "line": 768, "column": 23 }, "identifierName": "player" @@ -91534,15 +92386,15 @@ }, "property": { "type": "Identifier", - "start": 25357, - "end": 25370, + "start": 25579, + "end": 25592, "loc": { "start": { - "line": 763, + "line": 768, "column": 24 }, "end": { - "line": 763, + "line": 768, "column": 37 }, "identifierName": "clearInterval" @@ -91555,15 +92407,15 @@ "arguments": [ { "type": "Identifier", - "start": 25371, - "end": 25386, + "start": 25593, + "end": 25608, "loc": { "start": { - "line": 763, + "line": 768, "column": 38 }, "end": { - "line": 763, + "line": 768, "column": 53 }, "identifierName": "fullscreenDelay" @@ -91577,15 +92429,15 @@ { "type": "CommentLine", "value": " stop fullscreenDelay interval", - "start": 25300, - "end": 25332, + "start": 25522, + "end": 25554, "loc": { "start": { - "line": 762, + "line": 767, "column": 12 }, "end": { - "line": 762, + "line": 767, "column": 44 } } @@ -91598,15 +92450,15 @@ }, { "type": "NumericLiteral", - "start": 25401, - "end": 25404, + "start": 25623, + "end": 25626, "loc": { "start": { - "line": 765, + "line": 770, "column": 11 }, "end": { - "line": 765, + "line": 770, "column": 14 } }, @@ -91626,15 +92478,15 @@ { "type": "CommentLine", "value": " execute with tiny delay so the player element completes", - "start": 24465, - "end": 24523, + "start": 24687, + "end": 24745, "loc": { "start": { - "line": 741, + "line": 746, "column": 8 }, "end": { - "line": 741, + "line": 746, "column": 66 } } @@ -91642,15 +92494,15 @@ { "type": "CommentLine", "value": " rendering and correct dimensions are reported", - "start": 24532, - "end": 24580, + "start": 24754, + "end": 24802, "loc": { "start": { - "line": 742, + "line": 747, "column": 8 }, "end": { - "line": 742, + "line": 747, "column": 56 } } @@ -91665,15 +92517,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n ", - "start": 24329, - "end": 24433, + "start": 24551, + "end": 24655, "loc": { "start": { - "line": 736, + "line": 741, "column": 4 }, "end": { - "line": 739, + "line": 744, "column": 7 } } @@ -91683,15 +92535,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player is resized.\n *\n * @private\n ", - "start": 25418, - "end": 25502, + "start": 25640, + "end": 25724, "loc": { "start": { - "line": 768, + "line": 773, "column": 4 }, "end": { - "line": 772, + "line": 777, "column": 7 } } @@ -91700,15 +92552,15 @@ }, { "type": "ClassMethod", - "start": 25507, - "end": 25648, + "start": 25729, + "end": 25870, "loc": { "start": { - "line": 773, + "line": 778, "column": 4 }, "end": { - "line": 778, + "line": 783, "column": 5 } }, @@ -91716,15 +92568,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 25507, - "end": 25521, + "start": 25729, + "end": 25743, "loc": { "start": { - "line": 773, + "line": 778, "column": 4 }, "end": { - "line": 773, + "line": 778, "column": 18 }, "identifierName": "onResizeChange" @@ -91740,87 +92592,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 25524, - "end": 25648, + "start": 25746, + "end": 25870, "loc": { "start": { - "line": 773, + "line": 778, "column": 21 }, "end": { - "line": 778, + "line": 783, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 25534, - "end": 25642, + "start": 25756, + "end": 25864, "loc": { "start": { - "line": 774, + "line": 779, "column": 8 }, "end": { - "line": 777, + "line": 782, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 25538, - "end": 25563, + "start": 25760, + "end": 25785, "loc": { "start": { - "line": 774, + "line": 779, "column": 12 }, "end": { - "line": 774, + "line": 779, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 25538, - "end": 25549, + "start": 25760, + "end": 25771, "loc": { "start": { - "line": 774, + "line": 779, "column": 12 }, "end": { - "line": 774, + "line": 779, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 25538, - "end": 25542, + "start": 25760, + "end": 25764, "loc": { "start": { - "line": 774, + "line": 779, "column": 12 }, "end": { - "line": 774, + "line": 779, "column": 16 } } }, "property": { "type": "Identifier", - "start": 25543, - "end": 25549, + "start": 25765, + "end": 25771, "loc": { "start": { - "line": 774, + "line": 779, "column": 17 }, "end": { - "line": 774, + "line": 779, "column": 23 }, "identifierName": "surfer" @@ -91832,15 +92684,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 25554, - "end": 25563, + "start": 25776, + "end": 25785, "loc": { "start": { - "line": 774, + "line": 779, "column": 28 }, "end": { - "line": 774, + "line": 779, "column": 37 }, "identifierName": "undefined" @@ -91850,72 +92702,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 25565, - "end": 25642, + "start": 25787, + "end": 25864, "loc": { "start": { - "line": 774, + "line": 779, "column": 39 }, "end": { - "line": 777, + "line": 782, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 25610, - "end": 25632, + "start": 25832, + "end": 25854, "loc": { "start": { - "line": 776, + "line": 781, "column": 12 }, "end": { - "line": 776, + "line": 781, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 25610, - "end": 25631, + "start": 25832, + "end": 25853, "loc": { "start": { - "line": 776, + "line": 781, "column": 12 }, "end": { - "line": 776, + "line": 781, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 25610, - "end": 25629, + "start": 25832, + "end": 25851, "loc": { "start": { - "line": 776, + "line": 781, "column": 12 }, "end": { - "line": 776, + "line": 781, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 25610, - "end": 25614, + "start": 25832, + "end": 25836, "loc": { "start": { - "line": 776, + "line": 781, "column": 12 }, "end": { - "line": 776, + "line": 781, "column": 16 } }, @@ -91923,15 +92775,15 @@ }, "property": { "type": "Identifier", - "start": 25615, - "end": 25629, + "start": 25837, + "end": 25851, "loc": { "start": { - "line": 776, + "line": 781, "column": 17 }, "end": { - "line": 776, + "line": 781, "column": 31 }, "identifierName": "redrawWaveform" @@ -91948,15 +92800,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 25579, - "end": 25597, + "start": 25801, + "end": 25819, "loc": { "start": { - "line": 775, + "line": 780, "column": 12 }, "end": { - "line": 775, + "line": 780, "column": 30 } } @@ -91976,15 +92828,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player is resized.\n *\n * @private\n ", - "start": 25418, - "end": 25502, + "start": 25640, + "end": 25724, "loc": { "start": { - "line": 768, + "line": 773, "column": 4 }, "end": { - "line": 772, + "line": 777, "column": 7 } } @@ -91994,15 +92846,15 @@ { "type": "CommentBlock", "value": "*\n * Redraw waveform.\n *\n * @param {number} [newWidth] - New width for the waveform.\n * @param {number} [newHeight] - New height for the waveform.\n * @private\n ", - "start": 25654, - "end": 25842, + "start": 25876, + "end": 26064, "loc": { "start": { - "line": 780, + "line": 785, "column": 4 }, "end": { - "line": 786, + "line": 791, "column": 7 } } @@ -92011,15 +92863,15 @@ }, { "type": "ClassMethod", - "start": 25847, - "end": 26926, + "start": 26069, + "end": 27148, "loc": { "start": { - "line": 787, + "line": 792, "column": 4 }, "end": { - "line": 816, + "line": 821, "column": 5 } }, @@ -92027,15 +92879,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 25847, - "end": 25861, + "start": 26069, + "end": 26083, "loc": { "start": { - "line": 787, + "line": 792, "column": 4 }, "end": { - "line": 787, + "line": 792, "column": 18 }, "identifierName": "redrawWaveform" @@ -92051,15 +92903,15 @@ "params": [ { "type": "Identifier", - "start": 25862, - "end": 25870, + "start": 26084, + "end": 26092, "loc": { "start": { - "line": 787, + "line": 792, "column": 19 }, "end": { - "line": 787, + "line": 792, "column": 27 }, "identifierName": "newWidth" @@ -92068,15 +92920,15 @@ }, { "type": "Identifier", - "start": 25872, - "end": 25881, + "start": 26094, + "end": 26103, "loc": { "start": { - "line": 787, + "line": 792, "column": 29 }, "end": { - "line": 787, + "line": 792, "column": 38 }, "identifierName": "newHeight" @@ -92086,44 +92938,44 @@ ], "body": { "type": "BlockStatement", - "start": 25883, - "end": 26926, + "start": 26105, + "end": 27148, "loc": { "start": { - "line": 787, + "line": 792, "column": 40 }, "end": { - "line": 816, + "line": 821, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 25893, - "end": 26920, + "start": 26115, + "end": 27142, "loc": { "start": { - "line": 788, + "line": 793, "column": 8 }, "end": { - "line": 815, + "line": 820, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 25897, - "end": 25916, + "start": 26119, + "end": 26138, "loc": { "start": { - "line": 788, + "line": 793, "column": 12 }, "end": { - "line": 788, + "line": 793, "column": 31 } }, @@ -92131,58 +92983,58 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 25898, - "end": 25916, + "start": 26120, + "end": 26138, "loc": { "start": { - "line": 788, + "line": 793, "column": 13 }, "end": { - "line": 788, + "line": 793, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 25898, - "end": 25914, + "start": 26120, + "end": 26136, "loc": { "start": { - "line": 788, + "line": 793, "column": 13 }, "end": { - "line": 788, + "line": 793, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 25898, - "end": 25902, + "start": 26120, + "end": 26124, "loc": { "start": { - "line": 788, + "line": 793, "column": 13 }, "end": { - "line": 788, + "line": 793, "column": 17 } } }, "property": { "type": "Identifier", - "start": 25903, - "end": 25914, + "start": 26125, + "end": 26136, "loc": { "start": { - "line": 788, + "line": 793, "column": 18 }, "end": { - "line": 788, + "line": 793, "column": 29 }, "identifierName": "isDestroyed" @@ -92199,87 +93051,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 25918, - "end": 26920, + "start": 26140, + "end": 27142, "loc": { "start": { - "line": 788, + "line": 793, "column": 33 }, "end": { - "line": 815, + "line": 820, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 25932, - "end": 26334, + "start": 26154, + "end": 26556, "loc": { "start": { - "line": 789, + "line": 794, "column": 12 }, "end": { - "line": 799, + "line": 804, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 25936, - "end": 25951, + "start": 26158, + "end": 26173, "loc": { "start": { - "line": 789, + "line": 794, "column": 16 }, "end": { - "line": 789, + "line": 794, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 25936, - "end": 25947, + "start": 26158, + "end": 26169, "loc": { "start": { - "line": 789, + "line": 794, "column": 16 }, "end": { - "line": 789, + "line": 794, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 25936, - "end": 25940, + "start": 26158, + "end": 26162, "loc": { "start": { - "line": 789, + "line": 794, "column": 16 }, "end": { - "line": 789, + "line": 794, "column": 20 } } }, "property": { "type": "Identifier", - "start": 25941, - "end": 25947, + "start": 26163, + "end": 26169, "loc": { "start": { - "line": 789, + "line": 794, "column": 21 }, "end": { - "line": 789, + "line": 794, "column": 27 }, "identifierName": "player" @@ -92290,15 +93142,15 @@ }, "property": { "type": "Identifier", - "start": 25948, - "end": 25951, + "start": 26170, + "end": 26173, "loc": { "start": { - "line": 789, + "line": 794, "column": 28 }, "end": { - "line": 789, + "line": 794, "column": 31 }, "identifierName": "el_" @@ -92309,59 +93161,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 25953, - "end": 26334, + "start": 26175, + "end": 26556, "loc": { "start": { - "line": 789, + "line": 794, "column": 33 }, "end": { - "line": 799, + "line": 804, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 25971, - "end": 26022, + "start": 26193, + "end": 26244, "loc": { "start": { - "line": 790, + "line": 795, "column": 16 }, "end": { - "line": 790, + "line": 795, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 25975, - "end": 26021, + "start": 26197, + "end": 26243, "loc": { "start": { - "line": 790, + "line": 795, "column": 20 }, "end": { - "line": 790, + "line": 795, "column": 66 } }, "id": { "type": "Identifier", - "start": 25975, - "end": 25979, + "start": 26197, + "end": 26201, "loc": { "start": { - "line": 790, + "line": 795, "column": 20 }, "end": { - "line": 790, + "line": 795, "column": 24 }, "identifierName": "rect" @@ -92370,86 +93222,86 @@ }, "init": { "type": "CallExpression", - "start": 25982, - "end": 26021, + "start": 26204, + "end": 26243, "loc": { "start": { - "line": 790, + "line": 795, "column": 27 }, "end": { - "line": 790, + "line": 795, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 25982, - "end": 26019, + "start": 26204, + "end": 26241, "loc": { "start": { - "line": 790, + "line": 795, "column": 27 }, "end": { - "line": 790, + "line": 795, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 25982, - "end": 25997, + "start": 26204, + "end": 26219, "loc": { "start": { - "line": 790, + "line": 795, "column": 27 }, "end": { - "line": 790, + "line": 795, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 25982, - "end": 25993, + "start": 26204, + "end": 26215, "loc": { "start": { - "line": 790, + "line": 795, "column": 27 }, "end": { - "line": 790, + "line": 795, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 25982, - "end": 25986, + "start": 26204, + "end": 26208, "loc": { "start": { - "line": 790, + "line": 795, "column": 27 }, "end": { - "line": 790, + "line": 795, "column": 31 } } }, "property": { "type": "Identifier", - "start": 25987, - "end": 25993, + "start": 26209, + "end": 26215, "loc": { "start": { - "line": 790, + "line": 795, "column": 32 }, "end": { - "line": 790, + "line": 795, "column": 38 }, "identifierName": "player" @@ -92460,15 +93312,15 @@ }, "property": { "type": "Identifier", - "start": 25994, - "end": 25997, + "start": 26216, + "end": 26219, "loc": { "start": { - "line": 790, + "line": 795, "column": 39 }, "end": { - "line": 790, + "line": 795, "column": 42 }, "identifierName": "el_" @@ -92479,15 +93331,15 @@ }, "property": { "type": "Identifier", - "start": 25998, - "end": 26019, + "start": 26220, + "end": 26241, "loc": { "start": { - "line": 790, + "line": 795, "column": 43 }, "end": { - "line": 790, + "line": 795, "column": 64 }, "identifierName": "getBoundingClientRect" @@ -92504,43 +93356,43 @@ }, { "type": "IfStatement", - "start": 26039, - "end": 26169, + "start": 26261, + "end": 26391, "loc": { "start": { - "line": 791, + "line": 796, "column": 16 }, "end": { - "line": 794, + "line": 799, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 26043, - "end": 26065, + "start": 26265, + "end": 26287, "loc": { "start": { - "line": 791, + "line": 796, "column": 20 }, "end": { - "line": 791, + "line": 796, "column": 42 } }, "left": { "type": "Identifier", - "start": 26043, - "end": 26051, + "start": 26265, + "end": 26273, "loc": { "start": { - "line": 791, + "line": 796, "column": 20 }, "end": { - "line": 791, + "line": 796, "column": 28 }, "identifierName": "newWidth" @@ -92550,15 +93402,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 26056, - "end": 26065, + "start": 26278, + "end": 26287, "loc": { "start": { - "line": 791, + "line": 796, "column": 33 }, "end": { - "line": 791, + "line": 796, "column": 42 }, "identifierName": "undefined" @@ -92568,59 +93420,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 26067, - "end": 26169, + "start": 26289, + "end": 26391, "loc": { "start": { - "line": 791, + "line": 796, "column": 44 }, "end": { - "line": 794, + "line": 799, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 26129, - "end": 26151, + "start": 26351, + "end": 26373, "loc": { "start": { - "line": 793, + "line": 798, "column": 20 }, "end": { - "line": 793, + "line": 798, "column": 42 } }, "expression": { "type": "AssignmentExpression", - "start": 26129, - "end": 26150, + "start": 26351, + "end": 26372, "loc": { "start": { - "line": 793, + "line": 798, "column": 20 }, "end": { - "line": 793, + "line": 798, "column": 41 } }, "operator": "=", "left": { "type": "Identifier", - "start": 26129, - "end": 26137, + "start": 26351, + "end": 26359, "loc": { "start": { - "line": 793, + "line": 798, "column": 20 }, "end": { - "line": 793, + "line": 798, "column": 28 }, "identifierName": "newWidth" @@ -92630,29 +93482,29 @@ }, "right": { "type": "MemberExpression", - "start": 26140, - "end": 26150, + "start": 26362, + "end": 26372, "loc": { "start": { - "line": 793, + "line": 798, "column": 31 }, "end": { - "line": 793, + "line": 798, "column": 41 } }, "object": { "type": "Identifier", - "start": 26140, - "end": 26144, + "start": 26362, + "end": 26366, "loc": { "start": { - "line": 793, + "line": 798, "column": 31 }, "end": { - "line": 793, + "line": 798, "column": 35 }, "identifierName": "rect" @@ -92661,15 +93513,15 @@ }, "property": { "type": "Identifier", - "start": 26145, - "end": 26150, + "start": 26367, + "end": 26372, "loc": { "start": { - "line": 793, + "line": 798, "column": 36 }, "end": { - "line": 793, + "line": 798, "column": 41 }, "identifierName": "width" @@ -92684,15 +93536,15 @@ { "type": "CommentLine", "value": " get player width", - "start": 26089, - "end": 26108, + "start": 26311, + "end": 26330, "loc": { "start": { - "line": 792, + "line": 797, "column": 20 }, "end": { - "line": 792, + "line": 797, "column": 39 } } @@ -92706,43 +93558,43 @@ }, { "type": "IfStatement", - "start": 26186, - "end": 26320, + "start": 26408, + "end": 26542, "loc": { "start": { - "line": 795, + "line": 800, "column": 16 }, "end": { - "line": 798, + "line": 803, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 26190, - "end": 26213, + "start": 26412, + "end": 26435, "loc": { "start": { - "line": 795, + "line": 800, "column": 20 }, "end": { - "line": 795, + "line": 800, "column": 43 } }, "left": { "type": "Identifier", - "start": 26190, - "end": 26199, + "start": 26412, + "end": 26421, "loc": { "start": { - "line": 795, + "line": 800, "column": 20 }, "end": { - "line": 795, + "line": 800, "column": 29 }, "identifierName": "newHeight" @@ -92752,15 +93604,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 26204, - "end": 26213, + "start": 26426, + "end": 26435, "loc": { "start": { - "line": 795, + "line": 800, "column": 34 }, "end": { - "line": 795, + "line": 800, "column": 43 }, "identifierName": "undefined" @@ -92770,59 +93622,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 26215, - "end": 26320, + "start": 26437, + "end": 26542, "loc": { "start": { - "line": 795, + "line": 800, "column": 45 }, "end": { - "line": 798, + "line": 803, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 26278, - "end": 26302, + "start": 26500, + "end": 26524, "loc": { "start": { - "line": 797, + "line": 802, "column": 20 }, "end": { - "line": 797, + "line": 802, "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 26278, - "end": 26301, + "start": 26500, + "end": 26523, "loc": { "start": { - "line": 797, + "line": 802, "column": 20 }, "end": { - "line": 797, + "line": 802, "column": 43 } }, "operator": "=", "left": { "type": "Identifier", - "start": 26278, - "end": 26287, + "start": 26500, + "end": 26509, "loc": { "start": { - "line": 797, + "line": 802, "column": 20 }, "end": { - "line": 797, + "line": 802, "column": 29 }, "identifierName": "newHeight" @@ -92832,29 +93684,29 @@ }, "right": { "type": "MemberExpression", - "start": 26290, - "end": 26301, + "start": 26512, + "end": 26523, "loc": { "start": { - "line": 797, + "line": 802, "column": 32 }, "end": { - "line": 797, + "line": 802, "column": 43 } }, "object": { "type": "Identifier", - "start": 26290, - "end": 26294, + "start": 26512, + "end": 26516, "loc": { "start": { - "line": 797, + "line": 802, "column": 32 }, "end": { - "line": 797, + "line": 802, "column": 36 }, "identifierName": "rect" @@ -92863,15 +93715,15 @@ }, "property": { "type": "Identifier", - "start": 26295, - "end": 26301, + "start": 26517, + "end": 26523, "loc": { "start": { - "line": 797, + "line": 802, "column": 37 }, "end": { - "line": 797, + "line": 802, "column": 43 }, "identifierName": "height" @@ -92886,15 +93738,15 @@ { "type": "CommentLine", "value": " get player height", - "start": 26237, - "end": 26257, + "start": 26459, + "end": 26479, "loc": { "start": { - "line": 796, + "line": 801, "column": 20 }, "end": { - "line": 796, + "line": 801, "column": 40 } } @@ -92915,15 +93767,15 @@ { "type": "CommentLine", "value": " destroy old drawing", - "start": 26348, - "end": 26370, + "start": 26570, + "end": 26592, "loc": { "start": { - "line": 801, + "line": 806, "column": 12 }, "end": { - "line": 801, + "line": 806, "column": 34 } } @@ -92932,85 +93784,85 @@ }, { "type": "ExpressionStatement", - "start": 26383, - "end": 26412, + "start": 26605, + "end": 26634, "loc": { "start": { - "line": 802, + "line": 807, "column": 12 }, "end": { - "line": 802, + "line": 807, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 26383, - "end": 26411, + "start": 26605, + "end": 26633, "loc": { "start": { - "line": 802, + "line": 807, "column": 12 }, "end": { - "line": 802, + "line": 807, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 26383, - "end": 26409, + "start": 26605, + "end": 26631, "loc": { "start": { - "line": 802, + "line": 807, "column": 12 }, "end": { - "line": 802, + "line": 807, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 26383, - "end": 26401, + "start": 26605, + "end": 26623, "loc": { "start": { - "line": 802, + "line": 807, "column": 12 }, "end": { - "line": 802, + "line": 807, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26383, - "end": 26394, + "start": 26605, + "end": 26616, "loc": { "start": { - "line": 802, + "line": 807, "column": 12 }, "end": { - "line": 802, + "line": 807, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26383, - "end": 26387, + "start": 26605, + "end": 26609, "loc": { "start": { - "line": 802, + "line": 807, "column": 12 }, "end": { - "line": 802, + "line": 807, "column": 16 } }, @@ -93018,15 +93870,15 @@ }, "property": { "type": "Identifier", - "start": 26388, - "end": 26394, + "start": 26610, + "end": 26616, "loc": { "start": { - "line": 802, + "line": 807, "column": 17 }, "end": { - "line": 802, + "line": 807, "column": 23 }, "identifierName": "surfer" @@ -93038,15 +93890,15 @@ }, "property": { "type": "Identifier", - "start": 26395, - "end": 26401, + "start": 26617, + "end": 26623, "loc": { "start": { - "line": 802, + "line": 807, "column": 24 }, "end": { - "line": 802, + "line": 807, "column": 30 }, "identifierName": "drawer" @@ -93058,15 +93910,15 @@ }, "property": { "type": "Identifier", - "start": 26402, - "end": 26409, + "start": 26624, + "end": 26631, "loc": { "start": { - "line": 802, + "line": 807, "column": 31 }, "end": { - "line": 802, + "line": 807, "column": 38 }, "identifierName": "destroy" @@ -93083,15 +93935,15 @@ { "type": "CommentLine", "value": " destroy old drawing", - "start": 26348, - "end": 26370, + "start": 26570, + "end": 26592, "loc": { "start": { - "line": 801, + "line": 806, "column": 12 }, "end": { - "line": 801, + "line": 806, "column": 34 } } @@ -93101,15 +93953,15 @@ { "type": "CommentLine", "value": " set new dimensions", - "start": 26426, - "end": 26447, + "start": 26648, + "end": 26669, "loc": { "start": { - "line": 804, + "line": 809, "column": 12 }, "end": { - "line": 804, + "line": 809, "column": 33 } } @@ -93118,86 +93970,86 @@ }, { "type": "ExpressionStatement", - "start": 26460, - "end": 26496, + "start": 26682, + "end": 26718, "loc": { "start": { - "line": 805, + "line": 810, "column": 12 }, "end": { - "line": 805, + "line": 810, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 26460, - "end": 26495, + "start": 26682, + "end": 26717, "loc": { "start": { - "line": 805, + "line": 810, "column": 12 }, "end": { - "line": 805, + "line": 810, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26460, - "end": 26484, + "start": 26682, + "end": 26706, "loc": { "start": { - "line": 805, + "line": 810, "column": 12 }, "end": { - "line": 805, + "line": 810, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 26460, - "end": 26478, + "start": 26682, + "end": 26700, "loc": { "start": { - "line": 805, + "line": 810, "column": 12 }, "end": { - "line": 805, + "line": 810, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26460, - "end": 26471, + "start": 26682, + "end": 26693, "loc": { "start": { - "line": 805, + "line": 810, "column": 12 }, "end": { - "line": 805, + "line": 810, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26460, - "end": 26464, + "start": 26682, + "end": 26686, "loc": { "start": { - "line": 805, + "line": 810, "column": 12 }, "end": { - "line": 805, + "line": 810, "column": 16 } }, @@ -93205,15 +94057,15 @@ }, "property": { "type": "Identifier", - "start": 26465, - "end": 26471, + "start": 26687, + "end": 26693, "loc": { "start": { - "line": 805, + "line": 810, "column": 17 }, "end": { - "line": 805, + "line": 810, "column": 23 }, "identifierName": "surfer" @@ -93225,15 +94077,15 @@ }, "property": { "type": "Identifier", - "start": 26472, - "end": 26478, + "start": 26694, + "end": 26700, "loc": { "start": { - "line": 805, + "line": 810, "column": 24 }, "end": { - "line": 805, + "line": 810, "column": 30 }, "identifierName": "params" @@ -93245,15 +94097,15 @@ }, "property": { "type": "Identifier", - "start": 26479, - "end": 26484, + "start": 26701, + "end": 26706, "loc": { "start": { - "line": 805, + "line": 810, "column": 31 }, "end": { - "line": 805, + "line": 810, "column": 36 }, "identifierName": "width" @@ -93265,15 +94117,15 @@ }, "right": { "type": "Identifier", - "start": 26487, - "end": 26495, + "start": 26709, + "end": 26717, "loc": { "start": { - "line": 805, + "line": 810, "column": 39 }, "end": { - "line": 805, + "line": 810, "column": 47 }, "identifierName": "newWidth" @@ -93286,15 +94138,15 @@ { "type": "CommentLine", "value": " set new dimensions", - "start": 26426, - "end": 26447, + "start": 26648, + "end": 26669, "loc": { "start": { - "line": 804, + "line": 809, "column": 12 }, "end": { - "line": 804, + "line": 809, "column": 33 } } @@ -93303,101 +94155,101 @@ }, { "type": "ExpressionStatement", - "start": 26509, - "end": 26581, + "start": 26731, + "end": 26803, "loc": { "start": { - "line": 806, + "line": 811, "column": 12 }, "end": { - "line": 806, + "line": 811, "column": 84 } }, "expression": { "type": "AssignmentExpression", - "start": 26509, - "end": 26580, + "start": 26731, + "end": 26802, "loc": { "start": { - "line": 806, + "line": 811, "column": 12 }, "end": { - "line": 806, + "line": 811, "column": 83 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26509, - "end": 26534, + "start": 26731, + "end": 26756, "loc": { "start": { - "line": 806, + "line": 811, "column": 12 }, "end": { - "line": 806, + "line": 811, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 26509, - "end": 26527, + "start": 26731, + "end": 26749, "loc": { "start": { - "line": 806, + "line": 811, "column": 12 }, "end": { - "line": 806, + "line": 811, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26509, - "end": 26520, + "start": 26731, + "end": 26742, "loc": { "start": { - "line": 806, + "line": 811, "column": 12 }, "end": { - "line": 806, + "line": 811, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26509, - "end": 26513, + "start": 26731, + "end": 26735, "loc": { "start": { - "line": 806, + "line": 811, "column": 12 }, "end": { - "line": 806, + "line": 811, "column": 16 } } }, "property": { "type": "Identifier", - "start": 26514, - "end": 26520, + "start": 26736, + "end": 26742, "loc": { "start": { - "line": 806, + "line": 811, "column": 17 }, "end": { - "line": 806, + "line": 811, "column": 23 }, "identifierName": "surfer" @@ -93408,15 +94260,15 @@ }, "property": { "type": "Identifier", - "start": 26521, - "end": 26527, + "start": 26743, + "end": 26749, "loc": { "start": { - "line": 806, + "line": 811, "column": 24 }, "end": { - "line": 806, + "line": 811, "column": 30 }, "identifierName": "params" @@ -93427,15 +94279,15 @@ }, "property": { "type": "Identifier", - "start": 26528, - "end": 26534, + "start": 26750, + "end": 26756, "loc": { "start": { - "line": 806, + "line": 811, "column": 31 }, "end": { - "line": 806, + "line": 811, "column": 37 }, "identifierName": "height" @@ -93446,29 +94298,29 @@ }, "right": { "type": "BinaryExpression", - "start": 26537, - "end": 26580, + "start": 26759, + "end": 26802, "loc": { "start": { - "line": 806, + "line": 811, "column": 40 }, "end": { - "line": 806, + "line": 811, "column": 83 } }, "left": { "type": "Identifier", - "start": 26537, - "end": 26546, + "start": 26759, + "end": 26768, "loc": { "start": { - "line": 806, + "line": 811, "column": 40 }, "end": { - "line": 806, + "line": 811, "column": 49 }, "identifierName": "newHeight" @@ -93478,86 +94330,86 @@ "operator": "-", "right": { "type": "CallExpression", - "start": 26549, - "end": 26580, + "start": 26771, + "end": 26802, "loc": { "start": { - "line": 806, + "line": 811, "column": 52 }, "end": { - "line": 806, + "line": 811, "column": 83 } }, "callee": { "type": "MemberExpression", - "start": 26549, - "end": 26578, + "start": 26771, + "end": 26800, "loc": { "start": { - "line": 806, + "line": 811, "column": 52 }, "end": { - "line": 806, + "line": 811, "column": 81 } }, "object": { "type": "MemberExpression", - "start": 26549, - "end": 26571, + "start": 26771, + "end": 26793, "loc": { "start": { - "line": 806, + "line": 811, "column": 52 }, "end": { - "line": 806, + "line": 811, "column": 74 } }, "object": { "type": "MemberExpression", - "start": 26549, - "end": 26560, + "start": 26771, + "end": 26782, "loc": { "start": { - "line": 806, + "line": 811, "column": 52 }, "end": { - "line": 806, + "line": 811, "column": 63 } }, "object": { "type": "ThisExpression", - "start": 26549, - "end": 26553, + "start": 26771, + "end": 26775, "loc": { "start": { - "line": 806, + "line": 811, "column": 52 }, "end": { - "line": 806, + "line": 811, "column": 56 } } }, "property": { "type": "Identifier", - "start": 26554, - "end": 26560, + "start": 26776, + "end": 26782, "loc": { "start": { - "line": 806, + "line": 811, "column": 57 }, "end": { - "line": 806, + "line": 811, "column": 63 }, "identifierName": "player" @@ -93568,15 +94420,15 @@ }, "property": { "type": "Identifier", - "start": 26561, - "end": 26571, + "start": 26783, + "end": 26793, "loc": { "start": { - "line": 806, + "line": 811, "column": 64 }, "end": { - "line": 806, + "line": 811, "column": 74 }, "identifierName": "controlBar" @@ -93587,15 +94439,15 @@ }, "property": { "type": "Identifier", - "start": 26572, - "end": 26578, + "start": 26794, + "end": 26800, "loc": { "start": { - "line": 806, + "line": 811, "column": 75 }, "end": { - "line": 806, + "line": 811, "column": 81 }, "identifierName": "height" @@ -93612,15 +94464,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 26595, - "end": 26613, + "start": 26817, + "end": 26835, "loc": { "start": { - "line": 808, + "line": 813, "column": 12 }, "end": { - "line": 808, + "line": 813, "column": 30 } } @@ -93629,71 +94481,71 @@ }, { "type": "ExpressionStatement", - "start": 26626, - "end": 26653, + "start": 26848, + "end": 26875, "loc": { "start": { - "line": 809, + "line": 814, "column": 12 }, "end": { - "line": 809, + "line": 814, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 26626, - "end": 26652, + "start": 26848, + "end": 26874, "loc": { "start": { - "line": 809, + "line": 814, "column": 12 }, "end": { - "line": 809, + "line": 814, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 26626, - "end": 26650, + "start": 26848, + "end": 26872, "loc": { "start": { - "line": 809, + "line": 814, "column": 12 }, "end": { - "line": 809, + "line": 814, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 26626, - "end": 26637, + "start": 26848, + "end": 26859, "loc": { "start": { - "line": 809, + "line": 814, "column": 12 }, "end": { - "line": 809, + "line": 814, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26626, - "end": 26630, + "start": 26848, + "end": 26852, "loc": { "start": { - "line": 809, + "line": 814, "column": 12 }, "end": { - "line": 809, + "line": 814, "column": 16 } }, @@ -93701,15 +94553,15 @@ }, "property": { "type": "Identifier", - "start": 26631, - "end": 26637, + "start": 26853, + "end": 26859, "loc": { "start": { - "line": 809, + "line": 814, "column": 17 }, "end": { - "line": 809, + "line": 814, "column": 23 }, "identifierName": "surfer" @@ -93721,15 +94573,15 @@ }, "property": { "type": "Identifier", - "start": 26638, - "end": 26650, + "start": 26860, + "end": 26872, "loc": { "start": { - "line": 809, + "line": 814, "column": 24 }, "end": { - "line": 809, + "line": 814, "column": 36 }, "identifierName": "createDrawer" @@ -93746,15 +94598,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 26595, - "end": 26613, + "start": 26817, + "end": 26835, "loc": { "start": { - "line": 808, + "line": 813, "column": 12 }, "end": { - "line": 808, + "line": 813, "column": 30 } } @@ -93763,115 +94615,115 @@ }, { "type": "ExpressionStatement", - "start": 26666, - "end": 26725, + "start": 26888, + "end": 26947, "loc": { "start": { - "line": 810, + "line": 815, "column": 12 }, "end": { - "line": 810, + "line": 815, "column": 71 } }, "expression": { "type": "AssignmentExpression", - "start": 26666, - "end": 26724, + "start": 26888, + "end": 26946, "loc": { "start": { - "line": 810, + "line": 815, "column": 12 }, "end": { - "line": 810, + "line": 815, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26666, - "end": 26702, + "start": 26888, + "end": 26924, "loc": { "start": { - "line": 810, + "line": 815, "column": 12 }, "end": { - "line": 810, + "line": 815, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 26666, - "end": 26692, + "start": 26888, + "end": 26914, "loc": { "start": { - "line": 810, + "line": 815, "column": 12 }, "end": { - "line": 810, + "line": 815, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 26666, - "end": 26684, + "start": 26888, + "end": 26906, "loc": { "start": { - "line": 810, + "line": 815, "column": 12 }, "end": { - "line": 810, + "line": 815, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26666, - "end": 26677, + "start": 26888, + "end": 26899, "loc": { "start": { - "line": 810, + "line": 815, "column": 12 }, "end": { - "line": 810, + "line": 815, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26666, - "end": 26670, + "start": 26888, + "end": 26892, "loc": { "start": { - "line": 810, + "line": 815, "column": 12 }, "end": { - "line": 810, + "line": 815, "column": 16 } } }, "property": { "type": "Identifier", - "start": 26671, - "end": 26677, + "start": 26893, + "end": 26899, "loc": { "start": { - "line": 810, + "line": 815, "column": 17 }, "end": { - "line": 810, + "line": 815, "column": 23 }, "identifierName": "surfer" @@ -93882,15 +94734,15 @@ }, "property": { "type": "Identifier", - "start": 26678, - "end": 26684, + "start": 26900, + "end": 26906, "loc": { "start": { - "line": 810, + "line": 815, "column": 24 }, "end": { - "line": 810, + "line": 815, "column": 30 }, "identifierName": "drawer" @@ -93901,15 +94753,15 @@ }, "property": { "type": "Identifier", - "start": 26685, - "end": 26692, + "start": 26907, + "end": 26914, "loc": { "start": { - "line": 810, + "line": 815, "column": 31 }, "end": { - "line": 810, + "line": 815, "column": 38 }, "identifierName": "wrapper" @@ -93920,15 +94772,15 @@ }, "property": { "type": "Identifier", - "start": 26693, - "end": 26702, + "start": 26915, + "end": 26924, "loc": { "start": { - "line": 810, + "line": 815, "column": 39 }, "end": { - "line": 810, + "line": 815, "column": 48 }, "identifierName": "className" @@ -93939,15 +94791,15 @@ }, "right": { "type": "Identifier", - "start": 26705, - "end": 26724, + "start": 26927, + "end": 26946, "loc": { "start": { - "line": 810, + "line": 815, "column": 51 }, "end": { - "line": 810, + "line": 815, "column": 70 }, "identifierName": "wavesurferClassName" @@ -93958,86 +94810,86 @@ }, { "type": "ExpressionStatement", - "start": 26738, - "end": 26763, + "start": 26960, + "end": 26985, "loc": { "start": { - "line": 811, + "line": 816, "column": 12 }, "end": { - "line": 811, + "line": 816, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 26738, - "end": 26762, + "start": 26960, + "end": 26984, "loc": { "start": { - "line": 811, + "line": 816, "column": 12 }, "end": { - "line": 811, + "line": 816, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 26738, - "end": 26760, + "start": 26960, + "end": 26982, "loc": { "start": { - "line": 811, + "line": 816, "column": 12 }, "end": { - "line": 811, + "line": 816, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 26738, - "end": 26749, + "start": 26960, + "end": 26971, "loc": { "start": { - "line": 811, + "line": 816, "column": 12 }, "end": { - "line": 811, + "line": 816, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26738, - "end": 26742, + "start": 26960, + "end": 26964, "loc": { "start": { - "line": 811, + "line": 816, "column": 12 }, "end": { - "line": 811, + "line": 816, "column": 16 } } }, "property": { "type": "Identifier", - "start": 26743, - "end": 26749, + "start": 26965, + "end": 26971, "loc": { "start": { - "line": 811, + "line": 816, "column": 17 }, "end": { - "line": 811, + "line": 816, "column": 23 }, "identifierName": "surfer" @@ -94048,15 +94900,15 @@ }, "property": { "type": "Identifier", - "start": 26750, - "end": 26760, + "start": 26972, + "end": 26982, "loc": { "start": { - "line": 811, + "line": 816, "column": 24 }, "end": { - "line": 811, + "line": 816, "column": 34 }, "identifierName": "drawBuffer" @@ -94071,15 +94923,15 @@ { "type": "CommentLine", "value": " make sure playhead is restored at right position", - "start": 26777, - "end": 26828, + "start": 26999, + "end": 27050, "loc": { "start": { - "line": 813, + "line": 818, "column": 12 }, "end": { - "line": 813, + "line": 818, "column": 63 } } @@ -94088,85 +94940,85 @@ }, { "type": "ExpressionStatement", - "start": 26841, - "end": 26910, + "start": 27063, + "end": 27132, "loc": { "start": { - "line": 814, + "line": 819, "column": 12 }, "end": { - "line": 814, + "line": 819, "column": 81 } }, "expression": { "type": "CallExpression", - "start": 26841, - "end": 26909, + "start": 27063, + "end": 27131, "loc": { "start": { - "line": 814, + "line": 819, "column": 12 }, "end": { - "line": 814, + "line": 819, "column": 80 } }, "callee": { "type": "MemberExpression", - "start": 26841, - "end": 26868, + "start": 27063, + "end": 27090, "loc": { "start": { - "line": 814, + "line": 819, "column": 12 }, "end": { - "line": 814, + "line": 819, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 26841, - "end": 26859, + "start": 27063, + "end": 27081, "loc": { "start": { - "line": 814, + "line": 819, "column": 12 }, "end": { - "line": 814, + "line": 819, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26841, - "end": 26852, + "start": 27063, + "end": 27074, "loc": { "start": { - "line": 814, + "line": 819, "column": 12 }, "end": { - "line": 814, + "line": 819, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26841, - "end": 26845, + "start": 27063, + "end": 27067, "loc": { "start": { - "line": 814, + "line": 819, "column": 12 }, "end": { - "line": 814, + "line": 819, "column": 16 } }, @@ -94174,15 +95026,15 @@ }, "property": { "type": "Identifier", - "start": 26846, - "end": 26852, + "start": 27068, + "end": 27074, "loc": { "start": { - "line": 814, + "line": 819, "column": 17 }, "end": { - "line": 814, + "line": 819, "column": 23 }, "identifierName": "surfer" @@ -94194,15 +95046,15 @@ }, "property": { "type": "Identifier", - "start": 26853, - "end": 26859, + "start": 27075, + "end": 27081, "loc": { "start": { - "line": 814, + "line": 819, "column": 24 }, "end": { - "line": 814, + "line": 819, "column": 30 }, "identifierName": "drawer" @@ -94214,15 +95066,15 @@ }, "property": { "type": "Identifier", - "start": 26860, - "end": 26868, + "start": 27082, + "end": 27090, "loc": { "start": { - "line": 814, + "line": 819, "column": 31 }, "end": { - "line": 814, + "line": 819, "column": 39 }, "identifierName": "progress" @@ -94235,86 +95087,86 @@ "arguments": [ { "type": "CallExpression", - "start": 26869, - "end": 26908, + "start": 27091, + "end": 27130, "loc": { "start": { - "line": 814, + "line": 819, "column": 40 }, "end": { - "line": 814, + "line": 819, "column": 79 } }, "callee": { "type": "MemberExpression", - "start": 26869, - "end": 26906, + "start": 27091, + "end": 27128, "loc": { "start": { - "line": 814, + "line": 819, "column": 40 }, "end": { - "line": 814, + "line": 819, "column": 77 } }, "object": { "type": "MemberExpression", - "start": 26869, - "end": 26888, + "start": 27091, + "end": 27110, "loc": { "start": { - "line": 814, + "line": 819, "column": 40 }, "end": { - "line": 814, + "line": 819, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 26869, - "end": 26880, + "start": 27091, + "end": 27102, "loc": { "start": { - "line": 814, + "line": 819, "column": 40 }, "end": { - "line": 814, + "line": 819, "column": 51 } }, "object": { "type": "ThisExpression", - "start": 26869, - "end": 26873, + "start": 27091, + "end": 27095, "loc": { "start": { - "line": 814, + "line": 819, "column": 40 }, "end": { - "line": 814, + "line": 819, "column": 44 } } }, "property": { "type": "Identifier", - "start": 26874, - "end": 26880, + "start": 27096, + "end": 27102, "loc": { "start": { - "line": 814, + "line": 819, "column": 45 }, "end": { - "line": 814, + "line": 819, "column": 51 }, "identifierName": "surfer" @@ -94325,15 +95177,15 @@ }, "property": { "type": "Identifier", - "start": 26881, - "end": 26888, + "start": 27103, + "end": 27110, "loc": { "start": { - "line": 814, + "line": 819, "column": 52 }, "end": { - "line": 814, + "line": 819, "column": 59 }, "identifierName": "backend" @@ -94344,15 +95196,15 @@ }, "property": { "type": "Identifier", - "start": 26889, - "end": 26906, + "start": 27111, + "end": 27128, "loc": { "start": { - "line": 814, + "line": 819, "column": 60 }, "end": { - "line": 814, + "line": 819, "column": 77 }, "identifierName": "getPlayedPercents" @@ -94370,15 +95222,15 @@ { "type": "CommentLine", "value": " make sure playhead is restored at right position", - "start": 26777, - "end": 26828, + "start": 26999, + "end": 27050, "loc": { "start": { - "line": 813, + "line": 818, "column": 12 }, "end": { - "line": 813, + "line": 818, "column": 63 } } @@ -94398,15 +95250,15 @@ { "type": "CommentBlock", "value": "*\n * Redraw waveform.\n *\n * @param {number} [newWidth] - New width for the waveform.\n * @param {number} [newHeight] - New height for the waveform.\n * @private\n ", - "start": 25654, - "end": 25842, + "start": 25876, + "end": 26064, "loc": { "start": { - "line": 780, + "line": 785, "column": 4 }, "end": { - "line": 786, + "line": 791, "column": 7 } } @@ -94416,15 +95268,15 @@ { "type": "CommentBlock", "value": "*\n * Log message to console (if the debug option is enabled).\n *\n * @private\n * @param {Array} args - The arguments to be passed to the matching console\n * method.\n * @param {string} logType - The name of the console method to use.\n ", - "start": 26932, - "end": 27201, + "start": 27154, + "end": 27423, "loc": { "start": { - "line": 818, + "line": 823, "column": 4 }, "end": { - "line": 825, + "line": 830, "column": 7 } } @@ -94433,15 +95285,15 @@ }, { "type": "ClassMethod", - "start": 27206, - "end": 27272, + "start": 27428, + "end": 27494, "loc": { "start": { - "line": 826, + "line": 831, "column": 4 }, "end": { - "line": 828, + "line": 833, "column": 5 } }, @@ -94449,15 +95301,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 27206, - "end": 27209, + "start": 27428, + "end": 27431, "loc": { "start": { - "line": 826, + "line": 831, "column": 4 }, "end": { - "line": 826, + "line": 831, "column": 7 }, "identifierName": "log" @@ -94473,15 +95325,15 @@ "params": [ { "type": "Identifier", - "start": 27210, - "end": 27214, + "start": 27432, + "end": 27436, "loc": { "start": { - "line": 826, + "line": 831, "column": 8 }, "end": { - "line": 826, + "line": 831, "column": 12 }, "identifierName": "args" @@ -94490,15 +95342,15 @@ }, { "type": "Identifier", - "start": 27216, - "end": 27223, + "start": 27438, + "end": 27445, "loc": { "start": { - "line": 826, + "line": 831, "column": 14 }, "end": { - "line": 826, + "line": 831, "column": 21 }, "identifierName": "logType" @@ -94508,58 +95360,58 @@ ], "body": { "type": "BlockStatement", - "start": 27225, - "end": 27272, + "start": 27447, + "end": 27494, "loc": { "start": { - "line": 826, + "line": 831, "column": 23 }, "end": { - "line": 828, + "line": 833, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 27235, - "end": 27266, + "start": 27457, + "end": 27488, "loc": { "start": { - "line": 827, + "line": 832, "column": 8 }, "end": { - "line": 827, + "line": 832, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 27235, - "end": 27265, + "start": 27457, + "end": 27487, "loc": { "start": { - "line": 827, + "line": 832, "column": 8 }, "end": { - "line": 827, + "line": 832, "column": 38 } }, "callee": { "type": "Identifier", - "start": 27235, - "end": 27238, + "start": 27457, + "end": 27460, "loc": { "start": { - "line": 827, + "line": 832, "column": 8 }, "end": { - "line": 827, + "line": 832, "column": 11 }, "identifierName": "log" @@ -94569,15 +95421,15 @@ "arguments": [ { "type": "Identifier", - "start": 27239, - "end": 27243, + "start": 27461, + "end": 27465, "loc": { "start": { - "line": 827, + "line": 832, "column": 12 }, "end": { - "line": 827, + "line": 832, "column": 16 }, "identifierName": "args" @@ -94586,15 +95438,15 @@ }, { "type": "Identifier", - "start": 27245, - "end": 27252, + "start": 27467, + "end": 27474, "loc": { "start": { - "line": 827, + "line": 832, "column": 18 }, "end": { - "line": 827, + "line": 832, "column": 25 }, "identifierName": "logType" @@ -94603,44 +95455,44 @@ }, { "type": "MemberExpression", - "start": 27254, - "end": 27264, + "start": 27476, + "end": 27486, "loc": { "start": { - "line": 827, + "line": 832, "column": 27 }, "end": { - "line": 827, + "line": 832, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 27254, - "end": 27258, + "start": 27476, + "end": 27480, "loc": { "start": { - "line": 827, + "line": 832, "column": 27 }, "end": { - "line": 827, + "line": 832, "column": 31 } } }, "property": { "type": "Identifier", - "start": 27259, - "end": 27264, + "start": 27481, + "end": 27486, "loc": { "start": { - "line": 827, + "line": 832, "column": 32 }, "end": { - "line": 827, + "line": 832, "column": 37 }, "identifierName": "debug" @@ -94653,21 +95505,361 @@ } } ], - "directives": [] + "directives": [], + "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Log message to console (if the debug option is enabled).\n *\n * @private\n * @param {Array} args - The arguments to be passed to the matching console\n * method.\n * @param {string} logType - The name of the console method to use.\n ", - "start": 26932, - "end": 27201, + "start": 27154, + "end": 27423, + "loc": { + "start": { + "line": 823, + "column": 4 + }, + "end": { + "line": 830, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Replaces the default `formatTime` implementation with a custom implementation.\n *\n * @param {function} customImplementation - A function which will be used in place\n * of the default `formatTime` implementation. Will receive the current time\n * in seconds and the guide (in seconds) as arguments.\n ", + "start": 27500, + "end": 27839, + "loc": { + "start": { + "line": 835, + "column": 4 + }, + "end": { + "line": 841, + "column": 7 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 27844, + "end": 27986, + "loc": { + "start": { + "line": 842, + "column": 4 + }, + "end": { + "line": 846, + "column": 5 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 27844, + "end": 27857, + "loc": { + "start": { + "line": 842, + "column": 4 + }, + "end": { + "line": 842, + "column": 17 + }, + "identifierName": "setFormatTime" + }, + "name": "setFormatTime", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 27858, + "end": 27878, + "loc": { + "start": { + "line": 842, + "column": 18 + }, + "end": { + "line": 842, + "column": 38 + }, + "identifierName": "customImplementation" + }, + "name": "customImplementation" + } + ], + "body": { + "type": "BlockStatement", + "start": 27880, + "end": 27986, + "loc": { + "start": { + "line": 842, + "column": 40 + }, + "end": { + "line": 846, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 27890, + "end": 27930, + "loc": { + "start": { + "line": 843, + "column": 8 + }, + "end": { + "line": 843, + "column": 48 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 27890, + "end": 27929, + "loc": { + "start": { + "line": 843, + "column": 8 + }, + "end": { + "line": 843, + "column": 47 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 27890, + "end": 27906, + "loc": { + "start": { + "line": 843, + "column": 8 + }, + "end": { + "line": 843, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 27890, + "end": 27894, + "loc": { + "start": { + "line": 843, + "column": 8 + }, + "end": { + "line": 843, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 27895, + "end": 27906, + "loc": { + "start": { + "line": 843, + "column": 13 + }, + "end": { + "line": 843, + "column": 24 + }, + "identifierName": "_formatTime" + }, + "name": "_formatTime" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 27909, + "end": 27929, + "loc": { + "start": { + "line": 843, + "column": 27 + }, + "end": { + "line": 843, + "column": 47 + }, + "identifierName": "customImplementation" + }, + "name": "customImplementation" + } + } + }, + { + "type": "ExpressionStatement", + "start": 27940, + "end": 27980, + "loc": { + "start": { + "line": 845, + "column": 8 + }, + "end": { + "line": 845, + "column": 48 + } + }, + "expression": { + "type": "CallExpression", + "start": 27940, + "end": 27979, + "loc": { + "start": { + "line": 845, + "column": 8 + }, + "end": { + "line": 845, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 27940, + "end": 27961, + "loc": { + "start": { + "line": 845, + "column": 8 + }, + "end": { + "line": 845, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 27940, + "end": 27947, + "loc": { + "start": { + "line": 845, + "column": 8 + }, + "end": { + "line": 845, + "column": 15 + }, + "identifierName": "videojs" + }, + "name": "videojs" + }, + "property": { + "type": "Identifier", + "start": 27948, + "end": 27961, + "loc": { + "start": { + "line": 845, + "column": 16 + }, + "end": { + "line": 845, + "column": 29 + }, + "identifierName": "setFormatTime" + }, + "name": "setFormatTime" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 27962, + "end": 27978, + "loc": { + "start": { + "line": 845, + "column": 30 + }, + "end": { + "line": 845, + "column": 46 + } + }, + "object": { + "type": "ThisExpression", + "start": 27962, + "end": 27966, + "loc": { + "start": { + "line": 845, + "column": 30 + }, + "end": { + "line": 845, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 27967, + "end": 27978, + "loc": { + "start": { + "line": 845, + "column": 35 + }, + "end": { + "line": 845, + "column": 46 + }, + "identifierName": "_formatTime" + }, + "name": "_formatTime" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Replaces the default `formatTime` implementation with a custom implementation.\n *\n * @param {function} customImplementation - A function which will be used in place\n * of the default `formatTime` implementation. Will receive the current time\n * in seconds and the guide (in seconds) as arguments.\n ", + "start": 27500, + "end": 27839, "loc": { "start": { - "line": 818, + "line": 835, "column": 4 }, "end": { - "line": 825, + "line": 841, "column": 7 } } @@ -94699,15 +95891,15 @@ { "type": "CommentLine", "value": " version nr is injected during build", - "start": 27276, - "end": 27314, + "start": 27990, + "end": 28028, "loc": { "start": { - "line": 831, + "line": 849, "column": 0 }, "end": { - "line": 831, + "line": 849, "column": 38 } } @@ -94821,9 +96013,9 @@ }, { "type": "CommentLine", - "value": " use custom video.js time format", + "value": " use custom time format for video.js player", "start": 1742, - "end": 1776, + "end": 1787, "loc": { "start": { "line": 58, @@ -94831,6 +96023,38 @@ }, "end": { "line": 58, + "column": 53 + } + } + }, + { + "type": "CommentLine", + "value": " user-supplied formatTime", + "start": 1878, + "end": 1905, + "loc": { + "start": { + "line": 60, + "column": 12 + }, + "end": { + "line": 60, + "column": 39 + } + } + }, + { + "type": "CommentLine", + "value": " plugin's default formatTime", + "start": 1987, + "end": 2017, + "loc": { + "start": { + "line": 63, + "column": 12 + }, + "end": { + "line": 63, "column": 42 } } @@ -94838,15 +96062,15 @@ { "type": "CommentLine", "value": " wait until player ui is ready", - "start": 1923, - "end": 1955, + "start": 2183, + "end": 2215, "loc": { "start": { - "line": 63, + "line": 69, "column": 8 }, "end": { - "line": 63, + "line": 69, "column": 40 } } @@ -94854,15 +96078,15 @@ { "type": "CommentBlock", "value": "*\n * Player UI is ready: customize controls.\n *\n * @private\n ", - "start": 2033, - "end": 2114, + "start": 2293, + "end": 2374, "loc": { "start": { - "line": 67, + "line": 73, "column": 4 }, "end": { - "line": 71, + "line": 77, "column": 7 } } @@ -94870,15 +96094,15 @@ { "type": "CommentLine", "value": " hide big play button", - "start": 2142, - "end": 2165, + "start": 2402, + "end": 2425, "loc": { "start": { - "line": 73, + "line": 79, "column": 8 }, "end": { - "line": 73, + "line": 79, "column": 31 } } @@ -94886,15 +96110,15 @@ { "type": "CommentLine", "value": " parse options", - "start": 2286, - "end": 2302, + "start": 2546, + "end": 2562, "loc": { "start": { - "line": 78, + "line": 84, "column": 8 }, "end": { - "line": 78, + "line": 84, "column": 24 } } @@ -94902,15 +96126,15 @@ { "type": "CommentLine", "value": " controls", - "start": 2400, - "end": 2411, + "start": 2660, + "end": 2671, "loc": { "start": { - "line": 81, + "line": 87, "column": 8 }, "end": { - "line": 81, + "line": 87, "column": 19 } } @@ -94918,15 +96142,15 @@ { "type": "CommentLine", "value": " make sure controlBar is showing.", - "start": 2478, - "end": 2513, + "start": 2738, + "end": 2773, "loc": { "start": { - "line": 83, + "line": 89, "column": 12 }, "end": { - "line": 83, + "line": 89, "column": 47 } } @@ -94934,15 +96158,15 @@ { "type": "CommentLine", "value": " video.js hides the controlbar by default because it expects", - "start": 2526, - "end": 2588, + "start": 2786, + "end": 2848, "loc": { "start": { - "line": 84, + "line": 90, "column": 12 }, "end": { - "line": 84, + "line": 90, "column": 74 } } @@ -94950,15 +96174,15 @@ { "type": "CommentLine", "value": " the user to click on the 'big play button' first.", - "start": 2601, - "end": 2653, + "start": 2861, + "end": 2913, "loc": { "start": { - "line": 85, + "line": 91, "column": 12 }, "end": { - "line": 85, + "line": 91, "column": 64 } } @@ -94966,15 +96190,15 @@ { "type": "CommentLine", "value": " progress control is only supported with the MediaElement backend", - "start": 2773, - "end": 2840, + "start": 3033, + "end": 3100, "loc": { "start": { - "line": 89, + "line": 95, "column": 12 }, "end": { - "line": 89, + "line": 95, "column": 79 } } @@ -94982,15 +96206,15 @@ { "type": "CommentLine", "value": " disable Picture-In-Picture toggle introduced in video.js 7.6.0", - "start": 3048, - "end": 3113, + "start": 3308, + "end": 3373, "loc": { "start": { - "line": 95, + "line": 101, "column": 12 }, "end": { - "line": 95, + "line": 101, "column": 77 } } @@ -94998,15 +96222,15 @@ { "type": "CommentLine", "value": " until there is support for canvas in the Picture-In-Picture", - "start": 3126, - "end": 3188, + "start": 3386, + "end": 3448, "loc": { "start": { - "line": 96, + "line": 102, "column": 12 }, "end": { - "line": 96, + "line": 102, "column": 74 } } @@ -95014,15 +96238,15 @@ { "type": "CommentLine", "value": " browser API (see https://www.chromestatus.com/features/4844605453369344)", - "start": 3201, - "end": 3276, + "start": 3461, + "end": 3536, "loc": { "start": { - "line": 97, + "line": 103, "column": 12 }, "end": { - "line": 97, + "line": 103, "column": 87 } } @@ -95030,15 +96254,15 @@ { "type": "CommentLine", "value": " make sure time displays are visible", - "start": 3453, - "end": 3491, + "start": 3713, + "end": 3751, "loc": { "start": { - "line": 102, + "line": 108, "column": 12 }, "end": { - "line": 102, + "line": 108, "column": 50 } } @@ -95046,15 +96270,15 @@ { "type": "CommentLine", "value": " ignore and show when essential elements have been disabled", - "start": 3641, - "end": 3702, + "start": 3901, + "end": 3962, "loc": { "start": { - "line": 105, + "line": 111, "column": 16 }, "end": { - "line": 105, + "line": 111, "column": 77 } } @@ -95062,15 +96286,15 @@ { "type": "CommentLine", "value": " by user", - "start": 3719, - "end": 3729, + "start": 3979, + "end": 3989, "loc": { "start": { - "line": 106, + "line": 112, "column": 16 }, "end": { - "line": 106, + "line": 112, "column": 26 } } @@ -95078,15 +96302,15 @@ { "type": "CommentLine", "value": " handle play toggle interaction", - "start": 4249, - "end": 4282, + "start": 4509, + "end": 4542, "loc": { "start": { - "line": 119, + "line": 125, "column": 16 }, "end": { - "line": 119, + "line": 125, "column": 49 } } @@ -95094,15 +96318,15 @@ { "type": "CommentLine", "value": " disable play button until waveform is ready", - "start": 4422, - "end": 4468, + "start": 4682, + "end": 4728, "loc": { "start": { - "line": 123, + "line": 129, "column": 16 }, "end": { - "line": 123, + "line": 129, "column": 62 } } @@ -95110,15 +96334,15 @@ { "type": "CommentLine", "value": " wavesurfer.js setup", - "start": 4560, - "end": 4582, + "start": 4820, + "end": 4842, "loc": { "start": { - "line": 128, + "line": 134, "column": 8 }, "end": { - "line": 128, + "line": 134, "column": 30 } } @@ -95126,15 +96350,15 @@ { "type": "CommentLine", "value": " check if the wavesurfer.js microphone plugin is enabled", - "start": 4904, - "end": 4962, + "start": 5164, + "end": 5222, "loc": { "start": { - "line": 135, + "line": 141, "column": 8 }, "end": { - "line": 135, + "line": 141, "column": 66 } } @@ -95142,15 +96366,15 @@ { "type": "CommentLine", "value": " enable audio input from a microphone", - "start": 5057, - "end": 5096, + "start": 5317, + "end": 5356, "loc": { "start": { - "line": 137, + "line": 143, "column": 12 }, "end": { - "line": 137, + "line": 143, "column": 51 } } @@ -95158,15 +96382,15 @@ { "type": "CommentLine", "value": " in live mode, show play button at startup", - "start": 5245, - "end": 5289, + "start": 5505, + "end": 5549, "loc": { "start": { - "line": 142, + "line": 148, "column": 12 }, "end": { - "line": 142, + "line": 148, "column": 56 } } @@ -95174,15 +96398,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js microphone plugin events", - "start": 5357, - "end": 5409, + "start": 5617, + "end": 5669, "loc": { "start": { - "line": 145, + "line": 151, "column": 12 }, "end": { - "line": 145, + "line": 151, "column": 64 } } @@ -95190,15 +96414,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js events", - "start": 5533, - "end": 5567, + "start": 5793, + "end": 5827, "loc": { "start": { - "line": 150, + "line": 156, "column": 8 }, "end": { - "line": 150, + "line": 156, "column": 42 } } @@ -95206,15 +96430,15 @@ { "type": "CommentLine", "value": " make sure volume is muted when requested", - "start": 5802, - "end": 5845, + "start": 6062, + "end": 6105, "loc": { "start": { - "line": 156, + "line": 162, "column": 12 }, "end": { - "line": 156, + "line": 162, "column": 55 } } @@ -95222,15 +96446,15 @@ { "type": "CommentLine", "value": " only listen to the wavesurfer.js playback events when not", - "start": 5953, - "end": 6013, + "start": 6213, + "end": 6273, "loc": { "start": { - "line": 162, + "line": 168, "column": 8 }, "end": { - "line": 162, + "line": 168, "column": 68 } } @@ -95238,15 +96462,15 @@ { "type": "CommentLine", "value": " in live mode", - "start": 6022, - "end": 6037, + "start": 6282, + "end": 6297, "loc": { "start": { - "line": 163, + "line": 169, "column": 8 }, "end": { - "line": 163, + "line": 169, "column": 23 } } @@ -95254,15 +96478,15 @@ { "type": "CommentLine", "value": " video.js player events", - "start": 6131, - "end": 6156, + "start": 6391, + "end": 6416, "loc": { "start": { - "line": 168, + "line": 174, "column": 8 }, "end": { - "line": 168, + "line": 174, "column": 33 } } @@ -95270,15 +96494,15 @@ { "type": "CommentLine", "value": " video.js fluid option", - "start": 6322, - "end": 6346, + "start": 6582, + "end": 6606, "loc": { "start": { - "line": 172, + "line": 178, "column": 8 }, "end": { - "line": 172, + "line": 178, "column": 32 } } @@ -95286,15 +96510,15 @@ { "type": "CommentLine", "value": " give wave element a classname so it can be styled", - "start": 6410, - "end": 6462, + "start": 6670, + "end": 6722, "loc": { "start": { - "line": 174, + "line": 180, "column": 12 }, "end": { - "line": 174, + "line": 180, "column": 64 } } @@ -95302,15 +96526,15 @@ { "type": "CommentLine", "value": " listen for window resize events", - "start": 6547, - "end": 6581, + "start": 6807, + "end": 6841, "loc": { "start": { - "line": 176, + "line": 182, "column": 12 }, "end": { - "line": 176, + "line": 182, "column": 46 } } @@ -95318,15 +96542,15 @@ { "type": "CommentBlock", "value": "*\n * Initializes the waveform options.\n *\n * @private\n * @param {Object} surferOpts - Plugin options.\n * @returns {Object} - Updated `surferOpts` object.\n ", - "start": 6789, - "end": 6972, + "start": 7049, + "end": 7232, "loc": { "start": { - "line": 183, + "line": 189, "column": 4 }, "end": { - "line": 189, + "line": 195, "column": 7 } } @@ -95334,15 +96558,15 @@ { "type": "CommentLine", "value": " controlbar", - "start": 7223, - "end": 7236, + "start": 7483, + "end": 7496, "loc": { "start": { - "line": 195, + "line": 201, "column": 8 }, "end": { - "line": 195, + "line": 201, "column": 21 } } @@ -95350,15 +96574,15 @@ { "type": "CommentLine", "value": " the dimensions of the controlbar are not known yet, but we", - "start": 7393, - "end": 7454, + "start": 7653, + "end": 7714, "loc": { "start": { - "line": 198, + "line": 204, "column": 12 }, "end": { - "line": 198, + "line": 204, "column": 73 } } @@ -95366,15 +96590,15 @@ { "type": "CommentLine", "value": " need it now, so we can calculate the height of the waveform.", - "start": 7467, - "end": 7530, + "start": 7727, + "end": 7790, "loc": { "start": { - "line": 199, + "line": 205, "column": 12 }, "end": { - "line": 199, + "line": 205, "column": 75 } } @@ -95382,15 +96606,15 @@ { "type": "CommentLine", "value": " The default height is 30px, so use that instead.", - "start": 7543, - "end": 7594, + "start": 7803, + "end": 7854, "loc": { "start": { - "line": 200, + "line": 206, "column": 12 }, "end": { - "line": 200, + "line": 206, "column": 63 } } @@ -95398,15 +96622,15 @@ { "type": "CommentLine", "value": " set waveform element and dimensions", - "start": 7649, - "end": 7687, + "start": 7909, + "end": 7947, "loc": { "start": { - "line": 204, + "line": 210, "column": 8 }, "end": { - "line": 204, + "line": 210, "column": 46 } } @@ -95414,15 +96638,15 @@ { "type": "CommentLine", "value": " Set the container to player's container if \"container\" option is", - "start": 7696, - "end": 7763, + "start": 7956, + "end": 8023, "loc": { "start": { - "line": 205, + "line": 211, "column": 8 }, "end": { - "line": 205, + "line": 211, "column": 75 } } @@ -95430,15 +96654,15 @@ { "type": "CommentLine", "value": " not provided. If a waveform needs to be appended to your custom", - "start": 7772, - "end": 7838, + "start": 8032, + "end": 8098, "loc": { "start": { - "line": 206, + "line": 212, "column": 8 }, "end": { - "line": 206, + "line": 212, "column": 74 } } @@ -95446,15 +96670,15 @@ { "type": "CommentLine", "value": " element, then use below option. For example:", - "start": 7847, - "end": 7894, + "start": 8107, + "end": 8154, "loc": { "start": { - "line": 207, + "line": 213, "column": 8 }, "end": { - "line": 207, + "line": 213, "column": 55 } } @@ -95462,15 +96686,15 @@ { "type": "CommentLine", "value": " container: document.querySelector(\"#vjs-waveform\")", - "start": 7903, - "end": 7956, + "start": 8163, + "end": 8216, "loc": { "start": { - "line": 208, + "line": 214, "column": 8 }, "end": { - "line": 208, + "line": 214, "column": 61 } } @@ -95478,15 +96702,15 @@ { "type": "CommentLine", "value": " set the height of generated waveform if user has provided height", - "start": 8078, - "end": 8145, + "start": 8338, + "end": 8405, "loc": { "start": { - "line": 213, + "line": 219, "column": 8 }, "end": { - "line": 213, + "line": 219, "column": 75 } } @@ -95494,15 +96718,15 @@ { "type": "CommentLine", "value": " from options. If height of waveform need to be customized then use", - "start": 8154, - "end": 8223, + "start": 8414, + "end": 8483, "loc": { "start": { - "line": 214, + "line": 220, "column": 8 }, "end": { - "line": 214, + "line": 220, "column": 77 } } @@ -95510,15 +96734,15 @@ { "type": "CommentLine", "value": " option below. For example: waveformHeight: 30", - "start": 8232, - "end": 8280, + "start": 8492, + "end": 8540, "loc": { "start": { - "line": 215, + "line": 221, "column": 8 }, "end": { - "line": 215, + "line": 221, "column": 56 } } @@ -95526,15 +96750,15 @@ { "type": "CommentLine", "value": " split channels", - "start": 8540, - "end": 8557, + "start": 8800, + "end": 8817, "loc": { "start": { - "line": 223, + "line": 229, "column": 8 }, "end": { - "line": 223, + "line": 229, "column": 25 } } @@ -95542,15 +96766,15 @@ { "type": "CommentLine", "value": " use MediaElement as default wavesurfer.js backend if one is not", - "start": 8690, - "end": 8756, + "start": 8950, + "end": 9016, "loc": { "start": { - "line": 228, + "line": 234, "column": 8 }, "end": { - "line": 228, + "line": 234, "column": 74 } } @@ -95558,15 +96782,15 @@ { "type": "CommentLine", "value": " specified", - "start": 8765, - "end": 8777, + "start": 9025, + "end": 9037, "loc": { "start": { - "line": 229, + "line": 235, "column": 8 }, "end": { - "line": 229, + "line": 235, "column": 20 } } @@ -95574,15 +96798,15 @@ { "type": "CommentBlock", "value": "*\n * Starts or stops listening to events related to audio-playback.\n *\n * @param {boolean} enable - Start or stop listening to playback\n * related events.\n * @private\n ", - "start": 8992, - "end": 9192, + "start": 9252, + "end": 9452, "loc": { "start": { - "line": 239, + "line": 245, "column": 4 }, "end": { - "line": 245, + "line": 251, "column": 7 } } @@ -95590,15 +96814,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 9822, - "end": 10114, + "start": 10082, + "end": 10374, "loc": { "start": { - "line": 262, + "line": 268, "column": 4 }, "end": { - "line": 269, + "line": 275, "column": 7 } } @@ -95606,15 +96830,15 @@ { "type": "CommentLine", "value": " load peak data from array or file", - "start": 10328, - "end": 10364, + "start": 10588, + "end": 10624, "loc": { "start": { - "line": 275, + "line": 281, "column": 12 }, "end": { - "line": 275, + "line": 281, "column": 48 } } @@ -95622,15 +96846,15 @@ { "type": "CommentLine", "value": " no peaks", - "start": 10485, - "end": 10496, + "start": 10745, + "end": 10756, "loc": { "start": { - "line": 279, + "line": 285, "column": 16 }, "end": { - "line": 279, + "line": 285, "column": 27 } } @@ -95638,15 +96862,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 10771, - "end": 11063, + "start": 11031, + "end": 11323, "loc": { "start": { - "line": 290, + "line": 296, "column": 4 }, "end": { - "line": 297, + "line": 303, "column": 7 } } @@ -95654,15 +96878,15 @@ { "type": "CommentLine", "value": " use supplied peaks data", - "start": 11140, - "end": 11166, + "start": 11400, + "end": 11426, "loc": { "start": { - "line": 300, + "line": 306, "column": 12 }, "end": { - "line": 300, + "line": 306, "column": 38 } } @@ -95670,15 +96894,15 @@ { "type": "CommentLine", "value": " load peak data from file", - "start": 11303, - "end": 11330, + "start": 11563, + "end": 11590, "loc": { "start": { - "line": 304, + "line": 310, "column": 12 }, "end": { - "line": 304, + "line": 310, "column": 39 } } @@ -95686,15 +96910,15 @@ { "type": "CommentLine", "value": " supply xhr options, if any", - "start": 11459, - "end": 11488, + "start": 11719, + "end": 11748, "loc": { "start": { - "line": 310, + "line": 316, "column": 12 }, "end": { - "line": 310, + "line": 316, "column": 41 } } @@ -95702,15 +96926,15 @@ { "type": "CommentLine", "value": " check for data property containing peaks", - "start": 11854, - "end": 11897, + "start": 12114, + "end": 12157, "loc": { "start": { - "line": 318, + "line": 324, "column": 16 }, "end": { - "line": 318, + "line": 324, "column": 59 } } @@ -95718,15 +96942,15 @@ { "type": "CommentBlock", "value": "*\n * Start/resume playback or microphone.\n ", - "start": 12527, - "end": 12582, + "start": 12737, + "end": 12792, "loc": { "start": { - "line": 336, + "line": 341, "column": 4 }, "end": { - "line": 338, + "line": 343, "column": 7 } } @@ -95734,15 +96958,15 @@ { "type": "CommentLine", "value": " show pause button", - "start": 12604, - "end": 12624, + "start": 12814, + "end": 12834, "loc": { "start": { - "line": 340, + "line": 345, "column": 8 }, "end": { - "line": 340, + "line": 345, "column": 28 } } @@ -95750,15 +96974,15 @@ { "type": "CommentLine", "value": " start/resume microphone visualization", - "start": 12861, - "end": 12901, + "start": 13071, + "end": 13111, "loc": { "start": { - "line": 347, + "line": 352, "column": 12 }, "end": { - "line": 347, + "line": 352, "column": 52 } } @@ -95766,15 +96990,15 @@ { "type": "CommentLine", "value": " toggle paused", - "start": 13095, - "end": 13111, + "start": 13305, + "end": 13321, "loc": { "start": { - "line": 353, + "line": 358, "column": 16 }, "end": { - "line": 353, + "line": 358, "column": 32 } } @@ -95782,15 +97006,15 @@ { "type": "CommentLine", "value": " put video.js player UI in playback mode", - "start": 13467, - "end": 13509, + "start": 13677, + "end": 13719, "loc": { "start": { - "line": 366, + "line": 371, "column": 12 }, "end": { - "line": 366, + "line": 371, "column": 54 } } @@ -95798,15 +97022,15 @@ { "type": "CommentLine", "value": " start surfer playback", - "start": 13555, - "end": 13579, + "start": 13765, + "end": 13789, "loc": { "start": { - "line": 369, + "line": 374, "column": 12 }, "end": { - "line": 369, + "line": 374, "column": 36 } } @@ -95814,15 +97038,15 @@ { "type": "CommentBlock", "value": "*\n * Pauses playback or microphone visualization.\n ", - "start": 13633, - "end": 13696, + "start": 13843, + "end": 13906, "loc": { "start": { - "line": 374, + "line": 379, "column": 4 }, "end": { - "line": 376, + "line": 381, "column": 7 } } @@ -95830,15 +97054,15 @@ { "type": "CommentLine", "value": " show play button", - "start": 13719, - "end": 13738, + "start": 13929, + "end": 13948, "loc": { "start": { - "line": 378, + "line": 383, "column": 8 }, "end": { - "line": 378, + "line": 383, "column": 27 } } @@ -95846,15 +97070,15 @@ { "type": "CommentLine", "value": " pause microphone visualization", - "start": 13976, - "end": 14009, + "start": 14186, + "end": 14219, "loc": { "start": { - "line": 385, + "line": 390, "column": 12 }, "end": { - "line": 385, + "line": 390, "column": 45 } } @@ -95862,15 +97086,15 @@ { "type": "CommentLine", "value": " pause playback", - "start": 14125, - "end": 14142, + "start": 14335, + "end": 14352, "loc": { "start": { - "line": 389, + "line": 394, "column": 12 }, "end": { - "line": 389, + "line": 394, "column": 29 } } @@ -95878,15 +97102,15 @@ { "type": "CommentLine", "value": " pause wavesurfer playback", - "start": 14238, - "end": 14266, + "start": 14448, + "end": 14476, "loc": { "start": { - "line": 393, + "line": 398, "column": 16 }, "end": { - "line": 393, + "line": 398, "column": 44 } } @@ -95894,15 +97118,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n ", - "start": 14439, - "end": 14466, + "start": 14649, + "end": 14676, "loc": { "start": { - "line": 403, + "line": 408, "column": 4 }, "end": { - "line": 405, + "line": 410, "column": 7 } } @@ -95910,15 +97134,15 @@ { "type": "CommentLine", "value": " destroy microphone plugin", - "start": 14585, - "end": 14613, + "start": 14795, + "end": 14823, "loc": { "start": { - "line": 409, + "line": 414, "column": 16 }, "end": { - "line": 409, + "line": 414, "column": 44 } } @@ -95926,15 +97150,15 @@ { "type": "CommentLine", "value": " destroy wavesurfer instance", - "start": 14747, - "end": 14777, + "start": 14957, + "end": 14987, "loc": { "start": { - "line": 413, + "line": 418, "column": 12 }, "end": { - "line": 413, + "line": 418, "column": 42 } } @@ -95942,15 +97166,15 @@ { "type": "CommentBlock", "value": "*\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n ", - "start": 14872, - "end": 14997, + "start": 15082, + "end": 15207, "loc": { "start": { - "line": 419, + "line": 424, "column": 4 }, "end": { - "line": 423, + "line": 428, "column": 7 } } @@ -95958,15 +97182,15 @@ { "type": "CommentBlock", "value": "*\n * Remove the player and waveform.\n ", - "start": 15094, - "end": 15144, + "start": 15304, + "end": 15354, "loc": { "start": { - "line": 428, + "line": 433, "column": 4 }, "end": { - "line": 430, + "line": 435, "column": 7 } } @@ -95974,15 +97198,15 @@ { "type": "CommentBlock", "value": "*\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n ", - "start": 15203, - "end": 15304, + "start": 15413, + "end": 15514, "loc": { "start": { - "line": 435, + "line": 440, "column": 4 }, "end": { - "line": 439, + "line": 444, "column": 7 } } @@ -95990,15 +97214,15 @@ { "type": "CommentLine", "value": " update player volume", - "start": 15433, - "end": 15456, + "start": 15643, + "end": 15666, "loc": { "start": { - "line": 444, + "line": 449, "column": 12 }, "end": { - "line": 444, + "line": 449, "column": 35 } } @@ -96006,15 +97230,15 @@ { "type": "CommentBlock", "value": "*\n * Save waveform image as data URI.\n *\n * The default format is `'image/png'`. Other supported types are\n * `'image/jpeg'` and `'image/webp'`.\n *\n * @param {string} format='image/png' A string indicating the image format.\n * The default format type is `'image/png'`.\n * @param {number} quality=1 A number between 0 and 1 indicating the image\n * quality to use for image formats that use lossy compression such as\n * `'image/jpeg'`` and `'image/webp'`.\n * @param {string} type Image data type to return. Either 'blob' (default)\n * or 'dataURL'.\n * @return {string|string[]|Promise} When using `'dataURL'` `type` this returns\n * a single data URL or an array of data URLs, one for each canvas. The `'blob'`\n * `type` returns a `Promise` resolving with an array of `Blob` instances, one\n * for each canvas.\n ", - "start": 15518, - "end": 16397, + "start": 15728, + "end": 16607, "loc": { "start": { - "line": 449, + "line": 454, "column": 4 }, "end": { - "line": 466, + "line": 471, "column": 7 } } @@ -96022,15 +97246,15 @@ { "type": "CommentBlock", "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", - "start": 16522, - "end": 16640, + "start": 16732, + "end": 16850, "loc": { "start": { - "line": 471, + "line": 476, "column": 4 }, "end": { - "line": 475, + "line": 480, "column": 7 } } @@ -96038,15 +97262,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16775, - "end": 16794, + "start": 16985, + "end": 17004, "loc": { "start": { - "line": 479, + "line": 484, "column": 16 }, "end": { - "line": 479, + "line": 484, "column": 35 } } @@ -96054,15 +97278,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16906, - "end": 16925, + "start": 17116, + "end": 17135, "loc": { "start": { - "line": 482, + "line": 487, "column": 16 }, "end": { - "line": 482, + "line": 487, "column": 35 } } @@ -96070,15 +97294,15 @@ { "type": "CommentBlock", "value": "*\n * Get the current time (in seconds) of the stream during playback.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Current time of the stream.\n ", - "start": 17059, - "end": 17258, + "start": 17269, + "end": 17468, "loc": { "start": { - "line": 490, + "line": 495, "column": 4 }, "end": { - "line": 496, + "line": 501, "column": 7 } } @@ -96086,15 +97310,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the current time.\n *\n * @param {number} [currentTime] - Current position of the playhead\n * (in seconds).\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 17438, - "end": 17709, + "start": 17648, + "end": 17919, "loc": { "start": { - "line": 504, + "line": 509, "column": 4 }, "end": { - "line": 511, + "line": 516, "column": 7 } } @@ -96102,15 +97326,15 @@ { "type": "CommentLine", "value": " update current time display component", - "start": 18081, - "end": 18121, + "start": 18291, + "end": 18331, "loc": { "start": { - "line": 524, + "line": 529, "column": 8 }, "end": { - "line": 524, + "line": 529, "column": 48 } } @@ -96118,15 +97342,15 @@ { "type": "CommentLine", "value": " only needed for text tracks", - "start": 18730, - "end": 18760, + "start": 18946, + "end": 18976, "loc": { "start": { - "line": 536, + "line": 541, "column": 12 }, "end": { - "line": 536, + "line": 541, "column": 42 } } @@ -96134,15 +97358,15 @@ { "type": "CommentBlock", "value": "*\n * Get the duration of the stream in seconds.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Duration of the stream.\n ", - "start": 18841, - "end": 19014, + "start": 19057, + "end": 19230, "loc": { "start": { - "line": 541, + "line": 546, "column": 4 }, "end": { - "line": 547, + "line": 552, "column": 7 } } @@ -96150,15 +97374,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the duration time.\n *\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 19173, - "end": 19348, + "start": 19389, + "end": 19564, "loc": { "start": { - "line": 555, + "line": 560, "column": 4 }, "end": { - "line": 560, + "line": 565, "column": 7 } } @@ -96166,15 +97390,15 @@ { "type": "CommentLine", "value": " update duration display component", - "start": 19535, - "end": 19571, + "start": 19751, + "end": 19787, "loc": { "start": { - "line": 567, + "line": 572, "column": 8 }, "end": { - "line": 567, + "line": 572, "column": 44 } } @@ -96182,15 +97406,15 @@ { "type": "CommentBlock", "value": "*\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n ", - "start": 20026, - "end": 20143, + "start": 20248, + "end": 20365, "loc": { "start": { - "line": 577, + "line": 582, "column": 4 }, "end": { - "line": 582, + "line": 587, "column": 7 } } @@ -96198,15 +97422,15 @@ { "type": "CommentLine", "value": " update time display", - "start": 20402, - "end": 20424, + "start": 20624, + "end": 20646, "loc": { "start": { - "line": 592, + "line": 597, "column": 12 }, "end": { - "line": 592, + "line": 597, "column": 34 } } @@ -96214,15 +97438,15 @@ { "type": "CommentLine", "value": " enable and show play button", - "start": 20505, - "end": 20535, + "start": 20727, + "end": 20757, "loc": { "start": { - "line": 596, + "line": 601, "column": 12 }, "end": { - "line": 596, + "line": 601, "column": 42 } } @@ -96230,15 +97454,15 @@ { "type": "CommentLine", "value": " hide loading spinner", - "start": 20759, - "end": 20782, + "start": 20981, + "end": 21004, "loc": { "start": { - "line": 603, + "line": 608, "column": 8 }, "end": { - "line": 603, + "line": 608, "column": 31 } } @@ -96246,15 +97470,15 @@ { "type": "CommentLine", "value": " auto-play when ready (if enabled)", - "start": 20903, - "end": 20939, + "start": 21125, + "end": 21161, "loc": { "start": { - "line": 608, + "line": 613, "column": 8 }, "end": { - "line": 608, + "line": 613, "column": 44 } } @@ -96262,15 +97486,15 @@ { "type": "CommentLine", "value": " autoplay is only allowed when audio is muted", - "start": 21006, - "end": 21053, + "start": 21228, + "end": 21275, "loc": { "start": { - "line": 610, + "line": 615, "column": 12 }, "end": { - "line": 610, + "line": 615, "column": 59 } } @@ -96278,15 +97502,15 @@ { "type": "CommentLine", "value": " try auto-play", - "start": 21098, - "end": 21114, + "start": 21320, + "end": 21336, "loc": { "start": { - "line": 613, + "line": 618, "column": 12 }, "end": { - "line": 613, + "line": 618, "column": 28 } } @@ -96294,15 +97518,15 @@ { "type": "CommentBlock", "value": "*\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n ", - "start": 21354, - "end": 21461, + "start": 21576, + "end": 21683, "loc": { "start": { - "line": 624, + "line": 629, "column": 4 }, "end": { - "line": 629, + "line": 634, "column": 7 } } @@ -96310,15 +97534,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 21531, - "end": 21550, + "start": 21753, + "end": 21772, "loc": { "start": { - "line": 633, + "line": 638, "column": 8 }, "end": { - "line": 633, + "line": 638, "column": 27 } } @@ -96326,15 +97550,15 @@ { "type": "CommentLine", "value": " check if loop is enabled", - "start": 21612, - "end": 21639, + "start": 21834, + "end": 21861, "loc": { "start": { - "line": 636, + "line": 641, "column": 8 }, "end": { - "line": 636, + "line": 641, "column": 35 } } @@ -96342,15 +97566,15 @@ { "type": "CommentLine", "value": " reset waveform", - "start": 21751, - "end": 21768, + "start": 21973, + "end": 21990, "loc": { "start": { - "line": 639, + "line": 644, "column": 16 }, "end": { - "line": 639, + "line": 644, "column": 33 } } @@ -96358,15 +97582,15 @@ { "type": "CommentLine", "value": " finished", - "start": 21877, - "end": 21888, + "start": 22099, + "end": 22110, "loc": { "start": { - "line": 644, + "line": 649, "column": 12 }, "end": { - "line": 644, + "line": 649, "column": 23 } } @@ -96374,15 +97598,15 @@ { "type": "CommentLine", "value": " pause player", - "start": 21989, - "end": 22004, + "start": 22211, + "end": 22226, "loc": { "start": { - "line": 648, + "line": 653, "column": 16 }, "end": { - "line": 648, + "line": 653, "column": 31 } } @@ -96390,15 +97614,15 @@ { "type": "CommentLine", "value": " show the replay state of play toggle", - "start": 22052, - "end": 22091, + "start": 22274, + "end": 22313, "loc": { "start": { - "line": 651, + "line": 656, "column": 16 }, "end": { - "line": 651, + "line": 656, "column": 55 } } @@ -96406,15 +97630,15 @@ { "type": "CommentLine", "value": " this gets called once after the clip has ended and the user", - "start": 22159, - "end": 22221, + "start": 22381, + "end": 22443, "loc": { "start": { - "line": 654, + "line": 659, "column": 16 }, "end": { - "line": 654, + "line": 659, "column": 78 } } @@ -96422,15 +97646,15 @@ { "type": "CommentLine", "value": " seeks so that we can change the replay button back to a play", - "start": 22238, - "end": 22301, + "start": 22460, + "end": 22523, "loc": { "start": { - "line": 655, + "line": 660, "column": 16 }, "end": { - "line": 655, + "line": 660, "column": 79 } } @@ -96438,15 +97662,15 @@ { "type": "CommentLine", "value": " button", - "start": 22318, - "end": 22327, + "start": 22540, + "end": 22549, "loc": { "start": { - "line": 656, + "line": 661, "column": 16 }, "end": { - "line": 656, + "line": 661, "column": 25 } } @@ -96454,15 +97678,15 @@ { "type": "CommentBlock", "value": "*\n * Fires continuously during audio playback.\n *\n * @param {number} time - Current time/location of the playhead.\n * @private\n ", - "start": 22671, - "end": 22823, + "start": 22893, + "end": 23045, "loc": { "start": { - "line": 667, + "line": 672, "column": 4 }, "end": { - "line": 672, + "line": 677, "column": 7 } } @@ -96470,15 +97694,15 @@ { "type": "CommentBlock", "value": "*\n * Fires during seeking of the waveform.\n *\n * @private\n ", - "start": 22893, - "end": 22972, + "start": 23115, + "end": 23194, "loc": { "start": { - "line": 677, + "line": 682, "column": 4 }, "end": { - "line": 681, + "line": 686, "column": 7 } } @@ -96486,15 +97710,15 @@ { "type": "CommentBlock", "value": "*\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n ", - "start": 23034, - "end": 23144, + "start": 23256, + "end": 23366, "loc": { "start": { - "line": 686, + "line": 691, "column": 4 }, "end": { - "line": 691, + "line": 696, "column": 7 } } @@ -96502,15 +97726,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 23178, - "end": 23197, + "start": 23400, + "end": 23419, "loc": { "start": { - "line": 693, + "line": 698, "column": 8 }, "end": { - "line": 693, + "line": 698, "column": 27 } } @@ -96518,15 +97742,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the play toggle is clicked.\n * @private\n ", - "start": 23548, - "end": 23621, + "start": 23770, + "end": 23843, "loc": { "start": { - "line": 705, + "line": 710, "column": 4 }, "end": { - "line": 708, + "line": 713, "column": 7 } } @@ -96534,15 +97758,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the volume in the video.js player changes.\n * @private\n ", - "start": 23987, - "end": 24075, + "start": 24209, + "end": 24297, "loc": { "start": { - "line": 721, + "line": 726, "column": 4 }, "end": { - "line": 724, + "line": 729, "column": 7 } } @@ -96550,15 +97774,15 @@ { "type": "CommentLine", "value": " muted volume", - "start": 24189, - "end": 24204, + "start": 24411, + "end": 24426, "loc": { "start": { - "line": 728, + "line": 733, "column": 12 }, "end": { - "line": 728, + "line": 733, "column": 27 } } @@ -96566,15 +97790,15 @@ { "type": "CommentLine", "value": " update wavesurfer.js volume", - "start": 24248, - "end": 24278, + "start": 24470, + "end": 24500, "loc": { "start": { - "line": 732, + "line": 737, "column": 8 }, "end": { - "line": 732, + "line": 737, "column": 38 } } @@ -96582,15 +97806,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n ", - "start": 24329, - "end": 24433, + "start": 24551, + "end": 24655, "loc": { "start": { - "line": 736, + "line": 741, "column": 4 }, "end": { - "line": 739, + "line": 744, "column": 7 } } @@ -96598,15 +97822,15 @@ { "type": "CommentLine", "value": " execute with tiny delay so the player element completes", - "start": 24465, - "end": 24523, + "start": 24687, + "end": 24745, "loc": { "start": { - "line": 741, + "line": 746, "column": 8 }, "end": { - "line": 741, + "line": 746, "column": 66 } } @@ -96614,15 +97838,15 @@ { "type": "CommentLine", "value": " rendering and correct dimensions are reported", - "start": 24532, - "end": 24580, + "start": 24754, + "end": 24802, "loc": { "start": { - "line": 742, + "line": 747, "column": 8 }, "end": { - "line": 742, + "line": 747, "column": 56 } } @@ -96630,15 +97854,15 @@ { "type": "CommentLine", "value": " restore original dimensions", - "start": 24788, - "end": 24818, + "start": 25010, + "end": 25040, "loc": { "start": { - "line": 747, + "line": 752, "column": 16 }, "end": { - "line": 747, + "line": 752, "column": 46 } } @@ -96646,15 +97870,15 @@ { "type": "CommentLine", "value": " we're in live mode but the microphone hasn't been", - "start": 25055, - "end": 25107, + "start": 25277, + "end": 25329, "loc": { "start": { - "line": 754, + "line": 759, "column": 20 }, "end": { - "line": 754, + "line": 759, "column": 72 } } @@ -96662,15 +97886,15 @@ { "type": "CommentLine", "value": " started yet", - "start": 25128, - "end": 25142, + "start": 25350, + "end": 25364, "loc": { "start": { - "line": 755, + "line": 760, "column": 20 }, "end": { - "line": 755, + "line": 760, "column": 34 } } @@ -96678,15 +97902,15 @@ { "type": "CommentLine", "value": " redraw", - "start": 25205, - "end": 25214, + "start": 25427, + "end": 25436, "loc": { "start": { - "line": 758, + "line": 763, "column": 16 }, "end": { - "line": 758, + "line": 763, "column": 25 } } @@ -96694,15 +97918,15 @@ { "type": "CommentLine", "value": " stop fullscreenDelay interval", - "start": 25300, - "end": 25332, + "start": 25522, + "end": 25554, "loc": { "start": { - "line": 762, + "line": 767, "column": 12 }, "end": { - "line": 762, + "line": 767, "column": 44 } } @@ -96710,15 +97934,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player is resized.\n *\n * @private\n ", - "start": 25418, - "end": 25502, + "start": 25640, + "end": 25724, "loc": { "start": { - "line": 768, + "line": 773, "column": 4 }, "end": { - "line": 772, + "line": 777, "column": 7 } } @@ -96726,15 +97950,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 25579, - "end": 25597, + "start": 25801, + "end": 25819, "loc": { "start": { - "line": 775, + "line": 780, "column": 12 }, "end": { - "line": 775, + "line": 780, "column": 30 } } @@ -96742,15 +97966,15 @@ { "type": "CommentBlock", "value": "*\n * Redraw waveform.\n *\n * @param {number} [newWidth] - New width for the waveform.\n * @param {number} [newHeight] - New height for the waveform.\n * @private\n ", - "start": 25654, - "end": 25842, + "start": 25876, + "end": 26064, "loc": { "start": { - "line": 780, + "line": 785, "column": 4 }, "end": { - "line": 786, + "line": 791, "column": 7 } } @@ -96758,15 +97982,15 @@ { "type": "CommentLine", "value": " get player width", - "start": 26089, - "end": 26108, + "start": 26311, + "end": 26330, "loc": { "start": { - "line": 792, + "line": 797, "column": 20 }, "end": { - "line": 792, + "line": 797, "column": 39 } } @@ -96774,15 +97998,15 @@ { "type": "CommentLine", "value": " get player height", - "start": 26237, - "end": 26257, + "start": 26459, + "end": 26479, "loc": { "start": { - "line": 796, + "line": 801, "column": 20 }, "end": { - "line": 796, + "line": 801, "column": 40 } } @@ -96790,15 +98014,15 @@ { "type": "CommentLine", "value": " destroy old drawing", - "start": 26348, - "end": 26370, + "start": 26570, + "end": 26592, "loc": { "start": { - "line": 801, + "line": 806, "column": 12 }, "end": { - "line": 801, + "line": 806, "column": 34 } } @@ -96806,15 +98030,15 @@ { "type": "CommentLine", "value": " set new dimensions", - "start": 26426, - "end": 26447, + "start": 26648, + "end": 26669, "loc": { "start": { - "line": 804, + "line": 809, "column": 12 }, "end": { - "line": 804, + "line": 809, "column": 33 } } @@ -96822,15 +98046,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 26595, - "end": 26613, + "start": 26817, + "end": 26835, "loc": { "start": { - "line": 808, + "line": 813, "column": 12 }, "end": { - "line": 808, + "line": 813, "column": 30 } } @@ -96838,15 +98062,15 @@ { "type": "CommentLine", "value": " make sure playhead is restored at right position", - "start": 26777, - "end": 26828, + "start": 26999, + "end": 27050, "loc": { "start": { - "line": 813, + "line": 818, "column": 12 }, "end": { - "line": 813, + "line": 818, "column": 63 } } @@ -96854,15 +98078,31 @@ { "type": "CommentBlock", "value": "*\n * Log message to console (if the debug option is enabled).\n *\n * @private\n * @param {Array} args - The arguments to be passed to the matching console\n * method.\n * @param {string} logType - The name of the console method to use.\n ", - "start": 26932, - "end": 27201, + "start": 27154, + "end": 27423, "loc": { "start": { - "line": 818, + "line": 823, "column": 4 }, "end": { - "line": 825, + "line": 830, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Replaces the default `formatTime` implementation with a custom implementation.\n *\n * @param {function} customImplementation - A function which will be used in place\n * of the default `formatTime` implementation. Will receive the current time\n * in seconds and the guide (in seconds) as arguments.\n ", + "start": 27500, + "end": 27839, + "loc": { + "start": { + "line": 835, + "column": 4 + }, + "end": { + "line": 841, "column": 7 } } @@ -96870,15 +98110,15 @@ { "type": "CommentLine", "value": " version nr is injected during build", - "start": 27276, - "end": 27314, + "start": 27990, + "end": 28028, "loc": { "start": { - "line": 831, + "line": 849, "column": 0 }, "end": { - "line": 831, + "line": 849, "column": 38 } } @@ -96886,15 +98126,15 @@ { "type": "CommentLine", "value": " register plugin once", - "start": 27350, - "end": 27373, + "start": 28064, + "end": 28087, "loc": { "start": { - "line": 834, + "line": 852, "column": 0 }, "end": { - "line": 834, + "line": 852, "column": 23 } } @@ -96902,15 +98142,15 @@ { "type": "CommentLine", "value": " register a star-middleware", - "start": 27533, - "end": 27562, + "start": 28247, + "end": 28276, "loc": { "start": { - "line": 840, + "line": 858, "column": 0 }, "end": { - "line": 840, + "line": 858, "column": 29 } } @@ -96918,15 +98158,15 @@ { "type": "CommentLine", "value": " make player available on middleware", - "start": 27596, - "end": 27634, + "start": 28310, + "end": 28348, "loc": { "start": { - "line": 842, + "line": 860, "column": 4 }, "end": { - "line": 842, + "line": 860, "column": 42 } } @@ -101865,9 +103105,9 @@ }, { "type": "CommentLine", - "value": " use custom video.js time format", + "value": " use custom time format for video.js player", "start": 1742, - "end": 1776, + "end": 1787, "loc": { "start": { "line": 58, @@ -101875,25 +103115,27 @@ }, "end": { "line": 58, - "column": 42 + "column": 53 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "videojs", - "start": 1785, - "end": 1792, + "value": "if", + "start": 1796, + "end": 1798, "loc": { "start": { "line": 59, @@ -101901,33 +103143,32 @@ }, "end": { "line": 59, - "column": 15 + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1792, - "end": 1793, + "start": 1799, + "end": 1800, "loc": { "start": { "line": 59, - "column": 15 + "column": 11 }, "end": { "line": 59, - "column": 16 + "column": 12 } } }, @@ -101943,49 +103184,50 @@ "postfix": false, "binop": null }, - "value": "setFormatTime", - "start": 1793, - "end": 1806, + "value": "options", + "start": 1800, + "end": 1807, "loc": { "start": { "line": 59, - "column": 16 + "column": 12 }, "end": { "line": 59, - "column": 29 + "column": 19 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1806, - "end": 1807, + "start": 1807, + "end": 1808, "loc": { "start": { "line": 59, - "column": 29 + "column": 19 }, "end": { "line": 59, - "column": 30 + "column": 20 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -101994,34 +103236,36 @@ "postfix": false, "binop": null }, - "start": 1807, - "end": 1808, + "value": "formatTime", + "start": 1808, + "end": 1818, "loc": { "start": { "line": 59, - "column": 30 + "column": 20 }, "end": { "line": 59, - "column": 31 + "column": 30 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "&&", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 2, + "updateContext": null }, - "value": "seconds", - "start": 1808, - "end": 1815, + "value": "&&", + "start": 1819, + "end": 1821, "loc": { "start": { "line": 59, @@ -102029,33 +103273,35 @@ }, "end": { "line": 59, - "column": 38 + "column": 33 } } }, { "type": { - "label": ",", + "label": "typeof", + "keyword": "typeof", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "start": 1815, - "end": 1816, + "value": "typeof", + "start": 1822, + "end": 1828, "loc": { "start": { "line": 59, - "column": 38 + "column": 34 }, "end": { "line": 59, - "column": 39 + "column": 40 } } }, @@ -102071,23 +103317,23 @@ "postfix": false, "binop": null }, - "value": "guide", - "start": 1817, - "end": 1822, + "value": "options", + "start": 1829, + "end": 1836, "loc": { "start": { "line": 59, - "column": 40 + "column": 41 }, "end": { "line": 59, - "column": 45 + "column": 48 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -102095,78 +103341,80 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1822, - "end": 1823, + "start": 1836, + "end": 1837, "loc": { "start": { "line": 59, - "column": 45 + "column": 48 }, "end": { "line": 59, - "column": 46 + "column": 49 } } }, { "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1824, - "end": 1826, + "value": "formatTime", + "start": 1837, + "end": 1847, "loc": { "start": { "line": 59, - "column": 47 + "column": 49 }, "end": { "line": 59, - "column": 49 + "column": 59 } } }, { "type": { - "label": "{", + "label": "==/!=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "start": 1827, - "end": 1828, + "value": "===", + "start": 1848, + "end": 1851, "loc": { "start": { "line": 59, - "column": 50 + "column": 60 }, "end": { "line": 59, - "column": 51 + "column": 63 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -102175,25 +103423,25 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 1841, - "end": 1847, + "value": "function", + "start": 1852, + "end": 1862, "loc": { "start": { - "line": 60, - "column": 12 + "line": 59, + "column": 64 }, "end": { - "line": 60, - "column": 18 + "line": 59, + "column": 74 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -102201,23 +103449,22 @@ "postfix": false, "binop": null }, - "value": "formatTime", - "start": 1848, - "end": 1858, + "start": 1862, + "end": 1863, "loc": { "start": { - "line": 60, - "column": 19 + "line": 59, + "column": 74 }, "end": { - "line": 60, - "column": 29 + "line": 59, + "column": 75 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -102227,22 +103474,39 @@ "postfix": false, "binop": null }, - "start": 1858, - "end": 1859, + "start": 1864, + "end": 1865, + "loc": { + "start": { + "line": 59, + "column": 76 + }, + "end": { + "line": 59, + "column": 77 + } + } + }, + { + "type": "CommentLine", + "value": " user-supplied formatTime", + "start": 1878, + "end": 1905, "loc": { "start": { "line": 60, - "column": 29 + "column": 12 }, "end": { "line": 60, - "column": 30 + "column": 39 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -102250,26 +103514,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "seconds", - "start": 1859, - "end": 1866, + "value": "this", + "start": 1918, + "end": 1922, "loc": { "start": { - "line": 60, - "column": 30 + "line": 61, + "column": 12 }, "end": { - "line": 60, - "column": 37 + "line": 61, + "column": 16 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -102279,16 +103544,16 @@ "binop": null, "updateContext": null }, - "start": 1866, - "end": 1867, + "start": 1922, + "end": 1923, "loc": { "start": { - "line": 60, - "column": 37 + "line": 61, + "column": 16 }, "end": { - "line": 60, - "column": 38 + "line": 61, + "column": 17 } } }, @@ -102304,50 +103569,48 @@ "postfix": false, "binop": null }, - "value": "guide", - "start": 1868, - "end": 1873, + "value": "setFormatTime", + "start": 1923, + "end": 1936, "loc": { "start": { - "line": 60, - "column": 39 + "line": 61, + "column": 17 }, "end": { - "line": 60, - "column": 44 + "line": 61, + "column": 30 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1873, - "end": 1874, + "start": 1936, + "end": 1937, "loc": { "start": { - "line": 60, - "column": 44 + "line": 61, + "column": 30 }, "end": { - "line": 60, - "column": 45 + "line": 61, + "column": 31 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -102355,20 +103618,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1875, - "end": 1879, + "value": "options", + "start": 1937, + "end": 1944, "loc": { "start": { - "line": 60, - "column": 46 + "line": 61, + "column": 31 }, "end": { - "line": 60, - "column": 50 + "line": 61, + "column": 38 } } }, @@ -102385,16 +103647,16 @@ "binop": null, "updateContext": null }, - "start": 1879, - "end": 1880, + "start": 1944, + "end": 1945, "loc": { "start": { - "line": 60, - "column": 50 + "line": 61, + "column": 38 }, "end": { - "line": 60, - "column": 51 + "line": 61, + "column": 39 } } }, @@ -102410,17 +103672,17 @@ "postfix": false, "binop": null }, - "value": "displayMilliseconds", - "start": 1880, - "end": 1899, + "value": "formatTime", + "start": 1945, + "end": 1955, "loc": { "start": { - "line": 60, - "column": 51 + "line": 61, + "column": 39 }, "end": { - "line": 60, - "column": 70 + "line": 61, + "column": 49 } } }, @@ -102436,16 +103698,16 @@ "postfix": false, "binop": null }, - "start": 1899, - "end": 1900, + "start": 1955, + "end": 1956, "loc": { "start": { - "line": 60, - "column": 70 + "line": 61, + "column": 49 }, "end": { - "line": 60, - "column": 71 + "line": 61, + "column": 50 } } }, @@ -102462,16 +103724,16 @@ "binop": null, "updateContext": null }, - "start": 1900, - "end": 1901, + "start": 1956, + "end": 1957, "loc": { "start": { - "line": 60, - "column": 71 + "line": 61, + "column": 50 }, "end": { - "line": 60, - "column": 72 + "line": 61, + "column": 51 } } }, @@ -102487,83 +103749,85 @@ "postfix": false, "binop": null }, - "start": 1910, - "end": 1911, + "start": 1966, + "end": 1967, "loc": { "start": { - "line": 61, + "line": 62, "column": 8 }, "end": { - "line": 61, + "line": 62, "column": 9 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1911, - "end": 1912, + "value": "else", + "start": 1968, + "end": 1972, "loc": { "start": { - "line": 61, - "column": 9 + "line": 62, + "column": 10 }, "end": { - "line": 61, - "column": 10 + "line": 62, + "column": 14 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1912, - "end": 1913, + "start": 1973, + "end": 1974, "loc": { "start": { - "line": 61, - "column": 10 + "line": 62, + "column": 15 }, "end": { - "line": 61, - "column": 11 + "line": 62, + "column": 16 } } }, { "type": "CommentLine", - "value": " wait until player ui is ready", - "start": 1923, - "end": 1955, + "value": " plugin's default formatTime", + "start": 1987, + "end": 2017, "loc": { "start": { "line": 63, - "column": 8 + "column": 12 }, "end": { "line": 63, - "column": 40 + "column": 42 } } }, @@ -102582,16 +103846,16 @@ "updateContext": null }, "value": "this", - "start": 1964, - "end": 1968, + "start": 2030, + "end": 2034, "loc": { "start": { "line": 64, - "column": 8 + "column": 12 }, "end": { "line": 64, - "column": 12 + "column": 16 } } }, @@ -102608,15 +103872,730 @@ "binop": null, "updateContext": null }, - "start": 1968, - "end": 1969, + "start": 2034, + "end": 2035, "loc": { "start": { "line": 64, - "column": 12 + "column": 16 + }, + "end": { + "line": 64, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setFormatTime", + "start": 2035, + "end": 2048, + "loc": { + "start": { + "line": 64, + "column": 17 + }, + "end": { + "line": 64, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2048, + "end": 2049, + "loc": { + "start": { + "line": 64, + "column": 30 + }, + "end": { + "line": 64, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2049, + "end": 2050, + "loc": { + "start": { + "line": 64, + "column": 31 + }, + "end": { + "line": 64, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "seconds", + "start": 2050, + "end": 2057, + "loc": { + "start": { + "line": 64, + "column": 32 + }, + "end": { + "line": 64, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2057, + "end": 2058, + "loc": { + "start": { + "line": 64, + "column": 39 + }, + "end": { + "line": 64, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "guide", + "start": 2059, + "end": 2064, + "loc": { + "start": { + "line": 64, + "column": 41 }, "end": { "line": 64, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2064, + "end": 2065, + "loc": { + "start": { + "line": 64, + "column": 46 + }, + "end": { + "line": 64, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2066, + "end": 2068, + "loc": { + "start": { + "line": 64, + "column": 48 + }, + "end": { + "line": 64, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2069, + "end": 2070, + "loc": { + "start": { + "line": 64, + "column": 51 + }, + "end": { + "line": 64, + "column": 52 + } + } + }, + { + "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": 2087, + "end": 2093, + "loc": { + "start": { + "line": 65, + "column": 16 + }, + "end": { + "line": 65, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "formatTime", + "start": 2094, + "end": 2104, + "loc": { + "start": { + "line": 65, + "column": 23 + }, + "end": { + "line": 65, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2104, + "end": 2105, + "loc": { + "start": { + "line": 65, + "column": 33 + }, + "end": { + "line": 65, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "seconds", + "start": 2105, + "end": 2112, + "loc": { + "start": { + "line": 65, + "column": 34 + }, + "end": { + "line": 65, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2112, + "end": 2113, + "loc": { + "start": { + "line": 65, + "column": 41 + }, + "end": { + "line": 65, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "guide", + "start": 2114, + "end": 2119, + "loc": { + "start": { + "line": 65, + "column": 43 + }, + "end": { + "line": 65, + "column": 48 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2119, + "end": 2120, + "loc": { + "start": { + "line": 65, + "column": 48 + }, + "end": { + "line": 65, + "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": 2121, + "end": 2125, + "loc": { + "start": { + "line": 65, + "column": 50 + }, + "end": { + "line": 65, + "column": 54 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2125, + "end": 2126, + "loc": { + "start": { + "line": 65, + "column": 54 + }, + "end": { + "line": 65, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "displayMilliseconds", + "start": 2126, + "end": 2145, + "loc": { + "start": { + "line": 65, + "column": 55 + }, + "end": { + "line": 65, + "column": 74 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2145, + "end": 2146, + "loc": { + "start": { + "line": 65, + "column": 74 + }, + "end": { + "line": 65, + "column": 75 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2146, + "end": 2147, + "loc": { + "start": { + "line": 65, + "column": 75 + }, + "end": { + "line": 65, + "column": 76 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2160, + "end": 2161, + "loc": { + "start": { + "line": 66, + "column": 12 + }, + "end": { + "line": 66, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2161, + "end": 2162, + "loc": { + "start": { + "line": 66, + "column": 13 + }, + "end": { + "line": 66, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2162, + "end": 2163, + "loc": { + "start": { + "line": 66, + "column": 14 + }, + "end": { + "line": 66, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2172, + "end": 2173, + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 9 + } + } + }, + { + "type": "CommentLine", + "value": " wait until player ui is ready", + "start": 2183, + "end": 2215, + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 40 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2224, + "end": 2228, + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2228, + "end": 2229, + "loc": { + "start": { + "line": 70, + "column": 12 + }, + "end": { + "line": 70, "column": 13 } } @@ -102634,15 +104613,15 @@ "binop": null }, "value": "player", - "start": 1969, - "end": 1975, + "start": 2229, + "end": 2235, "loc": { "start": { - "line": 64, + "line": 70, "column": 13 }, "end": { - "line": 64, + "line": 70, "column": 19 } } @@ -102660,15 +104639,15 @@ "binop": null, "updateContext": null }, - "start": 1975, - "end": 1976, + "start": 2235, + "end": 2236, "loc": { "start": { - "line": 64, + "line": 70, "column": 19 }, "end": { - "line": 64, + "line": 70, "column": 20 } } @@ -102686,15 +104665,15 @@ "binop": null }, "value": "one", - "start": 1976, - "end": 1979, + "start": 2236, + "end": 2239, "loc": { "start": { - "line": 64, + "line": 70, "column": 20 }, "end": { - "line": 64, + "line": 70, "column": 23 } } @@ -102711,15 +104690,15 @@ "postfix": false, "binop": null }, - "start": 1979, - "end": 1980, + "start": 2239, + "end": 2240, "loc": { "start": { - "line": 64, + "line": 70, "column": 23 }, "end": { - "line": 64, + "line": 70, "column": 24 } } @@ -102737,15 +104716,15 @@ "binop": null }, "value": "Event", - "start": 1980, - "end": 1985, + "start": 2240, + "end": 2245, "loc": { "start": { - "line": 64, + "line": 70, "column": 24 }, "end": { - "line": 64, + "line": 70, "column": 29 } } @@ -102763,15 +104742,15 @@ "binop": null, "updateContext": null }, - "start": 1985, - "end": 1986, + "start": 2245, + "end": 2246, "loc": { "start": { - "line": 64, + "line": 70, "column": 29 }, "end": { - "line": 64, + "line": 70, "column": 30 } } @@ -102789,15 +104768,15 @@ "binop": null }, "value": "READY", - "start": 1986, - "end": 1991, + "start": 2246, + "end": 2251, "loc": { "start": { - "line": 64, + "line": 70, "column": 30 }, "end": { - "line": 64, + "line": 70, "column": 35 } } @@ -102815,15 +104794,15 @@ "binop": null, "updateContext": null }, - "start": 1991, - "end": 1992, + "start": 2251, + "end": 2252, "loc": { "start": { - "line": 64, + "line": 70, "column": 35 }, "end": { - "line": 64, + "line": 70, "column": 36 } } @@ -102843,15 +104822,15 @@ "updateContext": null }, "value": "this", - "start": 1993, - "end": 1997, + "start": 2253, + "end": 2257, "loc": { "start": { - "line": 64, + "line": 70, "column": 37 }, "end": { - "line": 64, + "line": 70, "column": 41 } } @@ -102869,15 +104848,15 @@ "binop": null, "updateContext": null }, - "start": 1997, - "end": 1998, + "start": 2257, + "end": 2258, "loc": { "start": { - "line": 64, + "line": 70, "column": 41 }, "end": { - "line": 64, + "line": 70, "column": 42 } } @@ -102895,15 +104874,15 @@ "binop": null }, "value": "initialize", - "start": 1998, - "end": 2008, + "start": 2258, + "end": 2268, "loc": { "start": { - "line": 64, + "line": 70, "column": 42 }, "end": { - "line": 64, + "line": 70, "column": 52 } } @@ -102921,15 +104900,15 @@ "binop": null, "updateContext": null }, - "start": 2008, - "end": 2009, + "start": 2268, + "end": 2269, "loc": { "start": { - "line": 64, + "line": 70, "column": 52 }, "end": { - "line": 64, + "line": 70, "column": 53 } } @@ -102947,15 +104926,15 @@ "binop": null }, "value": "bind", - "start": 2009, - "end": 2013, + "start": 2269, + "end": 2273, "loc": { "start": { - "line": 64, + "line": 70, "column": 53 }, "end": { - "line": 64, + "line": 70, "column": 57 } } @@ -102972,15 +104951,15 @@ "postfix": false, "binop": null }, - "start": 2013, - "end": 2014, + "start": 2273, + "end": 2274, "loc": { "start": { - "line": 64, + "line": 70, "column": 57 }, "end": { - "line": 64, + "line": 70, "column": 58 } } @@ -103000,15 +104979,15 @@ "updateContext": null }, "value": "this", - "start": 2014, - "end": 2018, + "start": 2274, + "end": 2278, "loc": { "start": { - "line": 64, + "line": 70, "column": 58 }, "end": { - "line": 64, + "line": 70, "column": 62 } } @@ -103025,15 +105004,15 @@ "postfix": false, "binop": null }, - "start": 2018, - "end": 2019, + "start": 2278, + "end": 2279, "loc": { "start": { - "line": 64, + "line": 70, "column": 62 }, "end": { - "line": 64, + "line": 70, "column": 63 } } @@ -103050,15 +105029,15 @@ "postfix": false, "binop": null }, - "start": 2019, - "end": 2020, + "start": 2279, + "end": 2280, "loc": { "start": { - "line": 64, + "line": 70, "column": 63 }, "end": { - "line": 64, + "line": 70, "column": 64 } } @@ -103076,15 +105055,15 @@ "binop": null, "updateContext": null }, - "start": 2020, - "end": 2021, + "start": 2280, + "end": 2281, "loc": { "start": { - "line": 64, + "line": 70, "column": 64 }, "end": { - "line": 64, + "line": 70, "column": 65 } } @@ -103101,15 +105080,15 @@ "postfix": false, "binop": null }, - "start": 2026, - "end": 2027, + "start": 2286, + "end": 2287, "loc": { "start": { - "line": 65, + "line": 71, "column": 4 }, "end": { - "line": 65, + "line": 71, "column": 5 } } @@ -103117,15 +105096,15 @@ { "type": "CommentBlock", "value": "*\n * Player UI is ready: customize controls.\n *\n * @private\n ", - "start": 2033, - "end": 2114, + "start": 2293, + "end": 2374, "loc": { "start": { - "line": 67, + "line": 73, "column": 4 }, "end": { - "line": 71, + "line": 77, "column": 7 } } @@ -103143,15 +105122,15 @@ "binop": null }, "value": "initialize", - "start": 2119, - "end": 2129, + "start": 2379, + "end": 2389, "loc": { "start": { - "line": 72, + "line": 78, "column": 4 }, "end": { - "line": 72, + "line": 78, "column": 14 } } @@ -103168,15 +105147,15 @@ "postfix": false, "binop": null }, - "start": 2129, - "end": 2130, + "start": 2389, + "end": 2390, "loc": { "start": { - "line": 72, + "line": 78, "column": 14 }, "end": { - "line": 72, + "line": 78, "column": 15 } } @@ -103193,15 +105172,15 @@ "postfix": false, "binop": null }, - "start": 2130, - "end": 2131, + "start": 2390, + "end": 2391, "loc": { "start": { - "line": 72, + "line": 78, "column": 15 }, "end": { - "line": 72, + "line": 78, "column": 16 } } @@ -103218,15 +105197,15 @@ "postfix": false, "binop": null }, - "start": 2132, - "end": 2133, + "start": 2392, + "end": 2393, "loc": { "start": { - "line": 72, + "line": 78, "column": 17 }, "end": { - "line": 72, + "line": 78, "column": 18 } } @@ -103234,15 +105213,15 @@ { "type": "CommentLine", "value": " hide big play button", - "start": 2142, - "end": 2165, + "start": 2402, + "end": 2425, "loc": { "start": { - "line": 73, + "line": 79, "column": 8 }, "end": { - "line": 73, + "line": 79, "column": 31 } } @@ -103262,15 +105241,15 @@ "updateContext": null }, "value": "if", - "start": 2174, - "end": 2176, + "start": 2434, + "end": 2436, "loc": { "start": { - "line": 74, + "line": 80, "column": 8 }, "end": { - "line": 74, + "line": 80, "column": 10 } } @@ -103287,15 +105266,15 @@ "postfix": false, "binop": null }, - "start": 2177, - "end": 2178, + "start": 2437, + "end": 2438, "loc": { "start": { - "line": 74, + "line": 80, "column": 11 }, "end": { - "line": 74, + "line": 80, "column": 12 } } @@ -103315,15 +105294,15 @@ "updateContext": null }, "value": "this", - "start": 2178, - "end": 2182, + "start": 2438, + "end": 2442, "loc": { "start": { - "line": 74, + "line": 80, "column": 12 }, "end": { - "line": 74, + "line": 80, "column": 16 } } @@ -103341,15 +105320,15 @@ "binop": null, "updateContext": null }, - "start": 2182, - "end": 2183, + "start": 2442, + "end": 2443, "loc": { "start": { - "line": 74, + "line": 80, "column": 16 }, "end": { - "line": 74, + "line": 80, "column": 17 } } @@ -103367,15 +105346,15 @@ "binop": null }, "value": "player", - "start": 2183, - "end": 2189, + "start": 2443, + "end": 2449, "loc": { "start": { - "line": 74, + "line": 80, "column": 17 }, "end": { - "line": 74, + "line": 80, "column": 23 } } @@ -103393,15 +105372,15 @@ "binop": null, "updateContext": null }, - "start": 2189, - "end": 2190, + "start": 2449, + "end": 2450, "loc": { "start": { - "line": 74, + "line": 80, "column": 23 }, "end": { - "line": 74, + "line": 80, "column": 24 } } @@ -103419,15 +105398,15 @@ "binop": null }, "value": "bigPlayButton", - "start": 2190, - "end": 2203, + "start": 2450, + "end": 2463, "loc": { "start": { - "line": 74, + "line": 80, "column": 24 }, "end": { - "line": 74, + "line": 80, "column": 37 } } @@ -103446,15 +105425,15 @@ "updateContext": null }, "value": "!==", - "start": 2204, - "end": 2207, + "start": 2464, + "end": 2467, "loc": { "start": { - "line": 74, + "line": 80, "column": 38 }, "end": { - "line": 74, + "line": 80, "column": 41 } } @@ -103472,15 +105451,15 @@ "binop": null }, "value": "undefined", - "start": 2208, - "end": 2217, + "start": 2468, + "end": 2477, "loc": { "start": { - "line": 74, + "line": 80, "column": 42 }, "end": { - "line": 74, + "line": 80, "column": 51 } } @@ -103497,15 +105476,15 @@ "postfix": false, "binop": null }, - "start": 2217, - "end": 2218, + "start": 2477, + "end": 2478, "loc": { "start": { - "line": 74, + "line": 80, "column": 51 }, "end": { - "line": 74, + "line": 80, "column": 52 } } @@ -103522,15 +105501,15 @@ "postfix": false, "binop": null }, - "start": 2219, - "end": 2220, + "start": 2479, + "end": 2480, "loc": { "start": { - "line": 74, + "line": 80, "column": 53 }, "end": { - "line": 74, + "line": 80, "column": 54 } } @@ -103550,15 +105529,15 @@ "updateContext": null }, "value": "this", - "start": 2233, - "end": 2237, + "start": 2493, + "end": 2497, "loc": { "start": { - "line": 75, + "line": 81, "column": 12 }, "end": { - "line": 75, + "line": 81, "column": 16 } } @@ -103576,15 +105555,15 @@ "binop": null, "updateContext": null }, - "start": 2237, - "end": 2238, + "start": 2497, + "end": 2498, "loc": { "start": { - "line": 75, + "line": 81, "column": 16 }, "end": { - "line": 75, + "line": 81, "column": 17 } } @@ -103602,15 +105581,15 @@ "binop": null }, "value": "player", - "start": 2238, - "end": 2244, + "start": 2498, + "end": 2504, "loc": { "start": { - "line": 75, + "line": 81, "column": 17 }, "end": { - "line": 75, + "line": 81, "column": 23 } } @@ -103628,15 +105607,15 @@ "binop": null, "updateContext": null }, - "start": 2244, - "end": 2245, + "start": 2504, + "end": 2505, "loc": { "start": { - "line": 75, + "line": 81, "column": 23 }, "end": { - "line": 75, + "line": 81, "column": 24 } } @@ -103654,15 +105633,15 @@ "binop": null }, "value": "bigPlayButton", - "start": 2245, - "end": 2258, + "start": 2505, + "end": 2518, "loc": { "start": { - "line": 75, + "line": 81, "column": 24 }, "end": { - "line": 75, + "line": 81, "column": 37 } } @@ -103680,15 +105659,15 @@ "binop": null, "updateContext": null }, - "start": 2258, - "end": 2259, + "start": 2518, + "end": 2519, "loc": { "start": { - "line": 75, + "line": 81, "column": 37 }, "end": { - "line": 75, + "line": 81, "column": 38 } } @@ -103706,15 +105685,15 @@ "binop": null }, "value": "hide", - "start": 2259, - "end": 2263, + "start": 2519, + "end": 2523, "loc": { "start": { - "line": 75, + "line": 81, "column": 38 }, "end": { - "line": 75, + "line": 81, "column": 42 } } @@ -103731,15 +105710,15 @@ "postfix": false, "binop": null }, - "start": 2263, - "end": 2264, + "start": 2523, + "end": 2524, "loc": { "start": { - "line": 75, + "line": 81, "column": 42 }, "end": { - "line": 75, + "line": 81, "column": 43 } } @@ -103756,15 +105735,15 @@ "postfix": false, "binop": null }, - "start": 2264, - "end": 2265, + "start": 2524, + "end": 2525, "loc": { "start": { - "line": 75, + "line": 81, "column": 43 }, "end": { - "line": 75, + "line": 81, "column": 44 } } @@ -103782,15 +105761,15 @@ "binop": null, "updateContext": null }, - "start": 2265, - "end": 2266, + "start": 2525, + "end": 2526, "loc": { "start": { - "line": 75, + "line": 81, "column": 44 }, "end": { - "line": 75, + "line": 81, "column": 45 } } @@ -103807,15 +105786,15 @@ "postfix": false, "binop": null }, - "start": 2275, - "end": 2276, + "start": 2535, + "end": 2536, "loc": { "start": { - "line": 76, + "line": 82, "column": 8 }, "end": { - "line": 76, + "line": 82, "column": 9 } } @@ -103823,15 +105802,15 @@ { "type": "CommentLine", "value": " parse options", - "start": 2286, - "end": 2302, + "start": 2546, + "end": 2562, "loc": { "start": { - "line": 78, + "line": 84, "column": 8 }, "end": { - "line": 78, + "line": 84, "column": 24 } } @@ -103851,15 +105830,15 @@ "updateContext": null }, "value": "let", - "start": 2311, - "end": 2314, + "start": 2571, + "end": 2574, "loc": { "start": { - "line": 79, + "line": 85, "column": 8 }, "end": { - "line": 79, + "line": 85, "column": 11 } } @@ -103877,15 +105856,15 @@ "binop": null }, "value": "mergedOptions", - "start": 2315, - "end": 2328, + "start": 2575, + "end": 2588, "loc": { "start": { - "line": 79, + "line": 85, "column": 12 }, "end": { - "line": 79, + "line": 85, "column": 25 } } @@ -103904,15 +105883,15 @@ "updateContext": null }, "value": "=", - "start": 2329, - "end": 2330, + "start": 2589, + "end": 2590, "loc": { "start": { - "line": 79, + "line": 85, "column": 26 }, "end": { - "line": 79, + "line": 85, "column": 27 } } @@ -103932,15 +105911,15 @@ "updateContext": null }, "value": "this", - "start": 2331, - "end": 2335, + "start": 2591, + "end": 2595, "loc": { "start": { - "line": 79, + "line": 85, "column": 28 }, "end": { - "line": 79, + "line": 85, "column": 32 } } @@ -103958,15 +105937,15 @@ "binop": null, "updateContext": null }, - "start": 2335, - "end": 2336, + "start": 2595, + "end": 2596, "loc": { "start": { - "line": 79, + "line": 85, "column": 32 }, "end": { - "line": 79, + "line": 85, "column": 33 } } @@ -103984,15 +105963,15 @@ "binop": null }, "value": "parseOptions", - "start": 2336, - "end": 2348, + "start": 2596, + "end": 2608, "loc": { "start": { - "line": 79, + "line": 85, "column": 33 }, "end": { - "line": 79, + "line": 85, "column": 45 } } @@ -104009,15 +105988,15 @@ "postfix": false, "binop": null }, - "start": 2348, - "end": 2349, + "start": 2608, + "end": 2609, "loc": { "start": { - "line": 79, + "line": 85, "column": 45 }, "end": { - "line": 79, + "line": 85, "column": 46 } } @@ -104037,15 +106016,15 @@ "updateContext": null }, "value": "this", - "start": 2349, - "end": 2353, + "start": 2609, + "end": 2613, "loc": { "start": { - "line": 79, + "line": 85, "column": 46 }, "end": { - "line": 79, + "line": 85, "column": 50 } } @@ -104063,15 +106042,15 @@ "binop": null, "updateContext": null }, - "start": 2353, - "end": 2354, + "start": 2613, + "end": 2614, "loc": { "start": { - "line": 79, + "line": 85, "column": 50 }, "end": { - "line": 79, + "line": 85, "column": 51 } } @@ -104089,15 +106068,15 @@ "binop": null }, "value": "player", - "start": 2354, - "end": 2360, + "start": 2614, + "end": 2620, "loc": { "start": { - "line": 79, + "line": 85, "column": 51 }, "end": { - "line": 79, + "line": 85, "column": 57 } } @@ -104115,15 +106094,15 @@ "binop": null, "updateContext": null }, - "start": 2360, - "end": 2361, + "start": 2620, + "end": 2621, "loc": { "start": { - "line": 79, + "line": 85, "column": 57 }, "end": { - "line": 79, + "line": 85, "column": 58 } } @@ -104141,15 +106120,15 @@ "binop": null }, "value": "options_", - "start": 2361, - "end": 2369, + "start": 2621, + "end": 2629, "loc": { "start": { - "line": 79, + "line": 85, "column": 58 }, "end": { - "line": 79, + "line": 85, "column": 66 } } @@ -104167,15 +106146,15 @@ "binop": null, "updateContext": null }, - "start": 2369, - "end": 2370, + "start": 2629, + "end": 2630, "loc": { "start": { - "line": 79, + "line": 85, "column": 66 }, "end": { - "line": 79, + "line": 85, "column": 67 } } @@ -104193,15 +106172,15 @@ "binop": null }, "value": "plugins", - "start": 2370, - "end": 2377, + "start": 2630, + "end": 2637, "loc": { "start": { - "line": 79, + "line": 85, "column": 67 }, "end": { - "line": 79, + "line": 85, "column": 74 } } @@ -104219,15 +106198,15 @@ "binop": null, "updateContext": null }, - "start": 2377, - "end": 2378, + "start": 2637, + "end": 2638, "loc": { "start": { - "line": 79, + "line": 85, "column": 74 }, "end": { - "line": 79, + "line": 85, "column": 75 } } @@ -104245,15 +106224,15 @@ "binop": null }, "value": "wavesurfer", - "start": 2378, - "end": 2388, + "start": 2638, + "end": 2648, "loc": { "start": { - "line": 79, + "line": 85, "column": 75 }, "end": { - "line": 79, + "line": 85, "column": 85 } } @@ -104270,15 +106249,15 @@ "postfix": false, "binop": null }, - "start": 2388, - "end": 2389, + "start": 2648, + "end": 2649, "loc": { "start": { - "line": 79, + "line": 85, "column": 85 }, "end": { - "line": 79, + "line": 85, "column": 86 } } @@ -104296,15 +106275,15 @@ "binop": null, "updateContext": null }, - "start": 2389, - "end": 2390, + "start": 2649, + "end": 2650, "loc": { "start": { - "line": 79, + "line": 85, "column": 86 }, "end": { - "line": 79, + "line": 85, "column": 87 } } @@ -104312,15 +106291,15 @@ { "type": "CommentLine", "value": " controls", - "start": 2400, - "end": 2411, + "start": 2660, + "end": 2671, "loc": { "start": { - "line": 81, + "line": 87, "column": 8 }, "end": { - "line": 81, + "line": 87, "column": 19 } } @@ -104340,15 +106319,15 @@ "updateContext": null }, "value": "if", - "start": 2420, - "end": 2422, + "start": 2680, + "end": 2682, "loc": { "start": { - "line": 82, + "line": 88, "column": 8 }, "end": { - "line": 82, + "line": 88, "column": 10 } } @@ -104365,15 +106344,15 @@ "postfix": false, "binop": null }, - "start": 2423, - "end": 2424, + "start": 2683, + "end": 2684, "loc": { "start": { - "line": 82, + "line": 88, "column": 11 }, "end": { - "line": 82, + "line": 88, "column": 12 } } @@ -104393,15 +106372,15 @@ "updateContext": null }, "value": "this", - "start": 2424, - "end": 2428, + "start": 2684, + "end": 2688, "loc": { "start": { - "line": 82, + "line": 88, "column": 12 }, "end": { - "line": 82, + "line": 88, "column": 16 } } @@ -104419,15 +106398,15 @@ "binop": null, "updateContext": null }, - "start": 2428, - "end": 2429, + "start": 2688, + "end": 2689, "loc": { "start": { - "line": 82, + "line": 88, "column": 16 }, "end": { - "line": 82, + "line": 88, "column": 17 } } @@ -104445,15 +106424,15 @@ "binop": null }, "value": "player", - "start": 2429, - "end": 2435, + "start": 2689, + "end": 2695, "loc": { "start": { - "line": 82, + "line": 88, "column": 17 }, "end": { - "line": 82, + "line": 88, "column": 23 } } @@ -104471,15 +106450,15 @@ "binop": null, "updateContext": null }, - "start": 2435, - "end": 2436, + "start": 2695, + "end": 2696, "loc": { "start": { - "line": 82, + "line": 88, "column": 23 }, "end": { - "line": 82, + "line": 88, "column": 24 } } @@ -104497,15 +106476,15 @@ "binop": null }, "value": "options_", - "start": 2436, - "end": 2444, + "start": 2696, + "end": 2704, "loc": { "start": { - "line": 82, + "line": 88, "column": 24 }, "end": { - "line": 82, + "line": 88, "column": 32 } } @@ -104523,15 +106502,15 @@ "binop": null, "updateContext": null }, - "start": 2444, - "end": 2445, + "start": 2704, + "end": 2705, "loc": { "start": { - "line": 82, + "line": 88, "column": 32 }, "end": { - "line": 82, + "line": 88, "column": 33 } } @@ -104549,15 +106528,15 @@ "binop": null }, "value": "controls", - "start": 2445, - "end": 2453, + "start": 2705, + "end": 2713, "loc": { "start": { - "line": 82, + "line": 88, "column": 33 }, "end": { - "line": 82, + "line": 88, "column": 41 } } @@ -104576,15 +106555,15 @@ "updateContext": null }, "value": "===", - "start": 2454, - "end": 2457, + "start": 2714, + "end": 2717, "loc": { "start": { - "line": 82, + "line": 88, "column": 42 }, "end": { - "line": 82, + "line": 88, "column": 45 } } @@ -104604,15 +106583,15 @@ "updateContext": null }, "value": "true", - "start": 2458, - "end": 2462, + "start": 2718, + "end": 2722, "loc": { "start": { - "line": 82, + "line": 88, "column": 46 }, "end": { - "line": 82, + "line": 88, "column": 50 } } @@ -104629,15 +106608,15 @@ "postfix": false, "binop": null }, - "start": 2462, - "end": 2463, + "start": 2722, + "end": 2723, "loc": { "start": { - "line": 82, + "line": 88, "column": 50 }, "end": { - "line": 82, + "line": 88, "column": 51 } } @@ -104654,15 +106633,15 @@ "postfix": false, "binop": null }, - "start": 2464, - "end": 2465, + "start": 2724, + "end": 2725, "loc": { "start": { - "line": 82, + "line": 88, "column": 52 }, "end": { - "line": 82, + "line": 88, "column": 53 } } @@ -104670,15 +106649,15 @@ { "type": "CommentLine", "value": " make sure controlBar is showing.", - "start": 2478, - "end": 2513, + "start": 2738, + "end": 2773, "loc": { "start": { - "line": 83, + "line": 89, "column": 12 }, "end": { - "line": 83, + "line": 89, "column": 47 } } @@ -104686,15 +106665,15 @@ { "type": "CommentLine", "value": " video.js hides the controlbar by default because it expects", - "start": 2526, - "end": 2588, + "start": 2786, + "end": 2848, "loc": { "start": { - "line": 84, + "line": 90, "column": 12 }, "end": { - "line": 84, + "line": 90, "column": 74 } } @@ -104702,15 +106681,15 @@ { "type": "CommentLine", "value": " the user to click on the 'big play button' first.", - "start": 2601, - "end": 2653, + "start": 2861, + "end": 2913, "loc": { "start": { - "line": 85, + "line": 91, "column": 12 }, "end": { - "line": 85, + "line": 91, "column": 64 } } @@ -104730,15 +106709,15 @@ "updateContext": null }, "value": "this", - "start": 2666, - "end": 2670, + "start": 2926, + "end": 2930, "loc": { "start": { - "line": 86, + "line": 92, "column": 12 }, "end": { - "line": 86, + "line": 92, "column": 16 } } @@ -104756,15 +106735,15 @@ "binop": null, "updateContext": null }, - "start": 2670, - "end": 2671, + "start": 2930, + "end": 2931, "loc": { "start": { - "line": 86, + "line": 92, "column": 16 }, "end": { - "line": 86, + "line": 92, "column": 17 } } @@ -104782,15 +106761,15 @@ "binop": null }, "value": "player", - "start": 2671, - "end": 2677, + "start": 2931, + "end": 2937, "loc": { "start": { - "line": 86, + "line": 92, "column": 17 }, "end": { - "line": 86, + "line": 92, "column": 23 } } @@ -104808,15 +106787,15 @@ "binop": null, "updateContext": null }, - "start": 2677, - "end": 2678, + "start": 2937, + "end": 2938, "loc": { "start": { - "line": 86, + "line": 92, "column": 23 }, "end": { - "line": 86, + "line": 92, "column": 24 } } @@ -104834,15 +106813,15 @@ "binop": null }, "value": "controlBar", - "start": 2678, - "end": 2688, + "start": 2938, + "end": 2948, "loc": { "start": { - "line": 86, + "line": 92, "column": 24 }, "end": { - "line": 86, + "line": 92, "column": 34 } } @@ -104860,15 +106839,15 @@ "binop": null, "updateContext": null }, - "start": 2688, - "end": 2689, + "start": 2948, + "end": 2949, "loc": { "start": { - "line": 86, + "line": 92, "column": 34 }, "end": { - "line": 86, + "line": 92, "column": 35 } } @@ -104886,15 +106865,15 @@ "binop": null }, "value": "show", - "start": 2689, - "end": 2693, + "start": 2949, + "end": 2953, "loc": { "start": { - "line": 86, + "line": 92, "column": 35 }, "end": { - "line": 86, + "line": 92, "column": 39 } } @@ -104911,15 +106890,15 @@ "postfix": false, "binop": null }, - "start": 2693, - "end": 2694, + "start": 2953, + "end": 2954, "loc": { "start": { - "line": 86, + "line": 92, "column": 39 }, "end": { - "line": 86, + "line": 92, "column": 40 } } @@ -104936,15 +106915,15 @@ "postfix": false, "binop": null }, - "start": 2694, - "end": 2695, + "start": 2954, + "end": 2955, "loc": { "start": { - "line": 86, + "line": 92, "column": 40 }, "end": { - "line": 86, + "line": 92, "column": 41 } } @@ -104962,15 +106941,15 @@ "binop": null, "updateContext": null }, - "start": 2695, - "end": 2696, + "start": 2955, + "end": 2956, "loc": { "start": { - "line": 86, + "line": 92, "column": 41 }, "end": { - "line": 86, + "line": 92, "column": 42 } } @@ -104990,15 +106969,15 @@ "updateContext": null }, "value": "this", - "start": 2709, - "end": 2713, + "start": 2969, + "end": 2973, "loc": { "start": { - "line": 87, + "line": 93, "column": 12 }, "end": { - "line": 87, + "line": 93, "column": 16 } } @@ -105016,15 +106995,15 @@ "binop": null, "updateContext": null }, - "start": 2713, - "end": 2714, + "start": 2973, + "end": 2974, "loc": { "start": { - "line": 87, + "line": 93, "column": 16 }, "end": { - "line": 87, + "line": 93, "column": 17 } } @@ -105042,15 +107021,15 @@ "binop": null }, "value": "player", - "start": 2714, - "end": 2720, + "start": 2974, + "end": 2980, "loc": { "start": { - "line": 87, + "line": 93, "column": 17 }, "end": { - "line": 87, + "line": 93, "column": 23 } } @@ -105068,15 +107047,15 @@ "binop": null, "updateContext": null }, - "start": 2720, - "end": 2721, + "start": 2980, + "end": 2981, "loc": { "start": { - "line": 87, + "line": 93, "column": 23 }, "end": { - "line": 87, + "line": 93, "column": 24 } } @@ -105094,15 +107073,15 @@ "binop": null }, "value": "controlBar", - "start": 2721, - "end": 2731, + "start": 2981, + "end": 2991, "loc": { "start": { - "line": 87, + "line": 93, "column": 24 }, "end": { - "line": 87, + "line": 93, "column": 34 } } @@ -105120,15 +107099,15 @@ "binop": null, "updateContext": null }, - "start": 2731, - "end": 2732, + "start": 2991, + "end": 2992, "loc": { "start": { - "line": 87, + "line": 93, "column": 34 }, "end": { - "line": 87, + "line": 93, "column": 35 } } @@ -105146,15 +107125,15 @@ "binop": null }, "value": "el_", - "start": 2732, - "end": 2735, + "start": 2992, + "end": 2995, "loc": { "start": { - "line": 87, + "line": 93, "column": 35 }, "end": { - "line": 87, + "line": 93, "column": 38 } } @@ -105172,15 +107151,15 @@ "binop": null, "updateContext": null }, - "start": 2735, - "end": 2736, + "start": 2995, + "end": 2996, "loc": { "start": { - "line": 87, + "line": 93, "column": 38 }, "end": { - "line": 87, + "line": 93, "column": 39 } } @@ -105198,15 +107177,15 @@ "binop": null }, "value": "style", - "start": 2736, - "end": 2741, + "start": 2996, + "end": 3001, "loc": { "start": { - "line": 87, + "line": 93, "column": 39 }, "end": { - "line": 87, + "line": 93, "column": 44 } } @@ -105224,15 +107203,15 @@ "binop": null, "updateContext": null }, - "start": 2741, - "end": 2742, + "start": 3001, + "end": 3002, "loc": { "start": { - "line": 87, + "line": 93, "column": 44 }, "end": { - "line": 87, + "line": 93, "column": 45 } } @@ -105250,15 +107229,15 @@ "binop": null }, "value": "display", - "start": 2742, - "end": 2749, + "start": 3002, + "end": 3009, "loc": { "start": { - "line": 87, + "line": 93, "column": 45 }, "end": { - "line": 87, + "line": 93, "column": 52 } } @@ -105277,15 +107256,15 @@ "updateContext": null }, "value": "=", - "start": 2750, - "end": 2751, + "start": 3010, + "end": 3011, "loc": { "start": { - "line": 87, + "line": 93, "column": 53 }, "end": { - "line": 87, + "line": 93, "column": 54 } } @@ -105304,15 +107283,15 @@ "updateContext": null }, "value": "flex", - "start": 2752, - "end": 2758, + "start": 3012, + "end": 3018, "loc": { "start": { - "line": 87, + "line": 93, "column": 55 }, "end": { - "line": 87, + "line": 93, "column": 61 } } @@ -105330,15 +107309,15 @@ "binop": null, "updateContext": null }, - "start": 2758, - "end": 2759, + "start": 3018, + "end": 3019, "loc": { "start": { - "line": 87, + "line": 93, "column": 61 }, "end": { - "line": 87, + "line": 93, "column": 62 } } @@ -105346,15 +107325,15 @@ { "type": "CommentLine", "value": " progress control is only supported with the MediaElement backend", - "start": 2773, - "end": 2840, + "start": 3033, + "end": 3100, "loc": { "start": { - "line": 89, + "line": 95, "column": 12 }, "end": { - "line": 89, + "line": 95, "column": 79 } } @@ -105374,15 +107353,15 @@ "updateContext": null }, "value": "if", - "start": 2853, - "end": 2855, + "start": 3113, + "end": 3115, "loc": { "start": { - "line": 90, + "line": 96, "column": 12 }, "end": { - "line": 90, + "line": 96, "column": 14 } } @@ -105399,15 +107378,15 @@ "postfix": false, "binop": null }, - "start": 2856, - "end": 2857, + "start": 3116, + "end": 3117, "loc": { "start": { - "line": 90, + "line": 96, "column": 15 }, "end": { - "line": 90, + "line": 96, "column": 16 } } @@ -105427,15 +107406,15 @@ "updateContext": null }, "value": "this", - "start": 2857, - "end": 2861, + "start": 3117, + "end": 3121, "loc": { "start": { - "line": 90, + "line": 96, "column": 16 }, "end": { - "line": 90, + "line": 96, "column": 20 } } @@ -105453,15 +107432,15 @@ "binop": null, "updateContext": null }, - "start": 2861, - "end": 2862, + "start": 3121, + "end": 3122, "loc": { "start": { - "line": 90, + "line": 96, "column": 20 }, "end": { - "line": 90, + "line": 96, "column": 21 } } @@ -105479,15 +107458,15 @@ "binop": null }, "value": "backend", - "start": 2862, - "end": 2869, + "start": 3122, + "end": 3129, "loc": { "start": { - "line": 90, + "line": 96, "column": 21 }, "end": { - "line": 90, + "line": 96, "column": 28 } } @@ -105506,15 +107485,15 @@ "updateContext": null }, "value": "===", - "start": 2870, - "end": 2873, + "start": 3130, + "end": 3133, "loc": { "start": { - "line": 90, + "line": 96, "column": 29 }, "end": { - "line": 90, + "line": 96, "column": 32 } } @@ -105532,15 +107511,15 @@ "binop": null }, "value": "WEBAUDIO", - "start": 2874, - "end": 2882, + "start": 3134, + "end": 3142, "loc": { "start": { - "line": 90, + "line": 96, "column": 33 }, "end": { - "line": 90, + "line": 96, "column": 41 } } @@ -105559,15 +107538,15 @@ "updateContext": null }, "value": "&&", - "start": 2883, - "end": 2885, + "start": 3143, + "end": 3145, "loc": { "start": { - "line": 90, + "line": 96, "column": 42 }, "end": { - "line": 90, + "line": 96, "column": 44 } } @@ -105587,15 +107566,15 @@ "updateContext": null }, "value": "this", - "start": 2902, - "end": 2906, + "start": 3162, + "end": 3166, "loc": { "start": { - "line": 91, + "line": 97, "column": 16 }, "end": { - "line": 91, + "line": 97, "column": 20 } } @@ -105613,15 +107592,15 @@ "binop": null, "updateContext": null }, - "start": 2906, - "end": 2907, + "start": 3166, + "end": 3167, "loc": { "start": { - "line": 91, + "line": 97, "column": 20 }, "end": { - "line": 91, + "line": 97, "column": 21 } } @@ -105639,15 +107618,15 @@ "binop": null }, "value": "player", - "start": 2907, - "end": 2913, + "start": 3167, + "end": 3173, "loc": { "start": { - "line": 91, + "line": 97, "column": 21 }, "end": { - "line": 91, + "line": 97, "column": 27 } } @@ -105665,15 +107644,15 @@ "binop": null, "updateContext": null }, - "start": 2913, - "end": 2914, + "start": 3173, + "end": 3174, "loc": { "start": { - "line": 91, + "line": 97, "column": 27 }, "end": { - "line": 91, + "line": 97, "column": 28 } } @@ -105691,15 +107670,15 @@ "binop": null }, "value": "controlBar", - "start": 2914, - "end": 2924, + "start": 3174, + "end": 3184, "loc": { "start": { - "line": 91, + "line": 97, "column": 28 }, "end": { - "line": 91, + "line": 97, "column": 38 } } @@ -105717,15 +107696,15 @@ "binop": null, "updateContext": null }, - "start": 2924, - "end": 2925, + "start": 3184, + "end": 3185, "loc": { "start": { - "line": 91, + "line": 97, "column": 38 }, "end": { - "line": 91, + "line": 97, "column": 39 } } @@ -105743,15 +107722,15 @@ "binop": null }, "value": "progressControl", - "start": 2925, - "end": 2940, + "start": 3185, + "end": 3200, "loc": { "start": { - "line": 91, + "line": 97, "column": 39 }, "end": { - "line": 91, + "line": 97, "column": 54 } } @@ -105770,15 +107749,15 @@ "updateContext": null }, "value": "!==", - "start": 2941, - "end": 2944, + "start": 3201, + "end": 3204, "loc": { "start": { - "line": 91, + "line": 97, "column": 55 }, "end": { - "line": 91, + "line": 97, "column": 58 } } @@ -105796,15 +107775,15 @@ "binop": null }, "value": "undefined", - "start": 2945, - "end": 2954, + "start": 3205, + "end": 3214, "loc": { "start": { - "line": 91, + "line": 97, "column": 59 }, "end": { - "line": 91, + "line": 97, "column": 68 } } @@ -105821,15 +107800,15 @@ "postfix": false, "binop": null }, - "start": 2954, - "end": 2955, + "start": 3214, + "end": 3215, "loc": { "start": { - "line": 91, + "line": 97, "column": 68 }, "end": { - "line": 91, + "line": 97, "column": 69 } } @@ -105846,15 +107825,15 @@ "postfix": false, "binop": null }, - "start": 2956, - "end": 2957, + "start": 3216, + "end": 3217, "loc": { "start": { - "line": 91, + "line": 97, "column": 70 }, "end": { - "line": 91, + "line": 97, "column": 71 } } @@ -105874,15 +107853,15 @@ "updateContext": null }, "value": "this", - "start": 2974, - "end": 2978, + "start": 3234, + "end": 3238, "loc": { "start": { - "line": 92, + "line": 98, "column": 16 }, "end": { - "line": 92, + "line": 98, "column": 20 } } @@ -105900,15 +107879,15 @@ "binop": null, "updateContext": null }, - "start": 2978, - "end": 2979, + "start": 3238, + "end": 3239, "loc": { "start": { - "line": 92, + "line": 98, "column": 20 }, "end": { - "line": 92, + "line": 98, "column": 21 } } @@ -105926,15 +107905,15 @@ "binop": null }, "value": "player", - "start": 2979, - "end": 2985, + "start": 3239, + "end": 3245, "loc": { "start": { - "line": 92, + "line": 98, "column": 21 }, "end": { - "line": 92, + "line": 98, "column": 27 } } @@ -105952,15 +107931,15 @@ "binop": null, "updateContext": null }, - "start": 2985, - "end": 2986, + "start": 3245, + "end": 3246, "loc": { "start": { - "line": 92, + "line": 98, "column": 27 }, "end": { - "line": 92, + "line": 98, "column": 28 } } @@ -105978,15 +107957,15 @@ "binop": null }, "value": "controlBar", - "start": 2986, - "end": 2996, + "start": 3246, + "end": 3256, "loc": { "start": { - "line": 92, + "line": 98, "column": 28 }, "end": { - "line": 92, + "line": 98, "column": 38 } } @@ -106004,15 +107983,15 @@ "binop": null, "updateContext": null }, - "start": 2996, - "end": 2997, + "start": 3256, + "end": 3257, "loc": { "start": { - "line": 92, + "line": 98, "column": 38 }, "end": { - "line": 92, + "line": 98, "column": 39 } } @@ -106030,15 +108009,15 @@ "binop": null }, "value": "progressControl", - "start": 2997, - "end": 3012, + "start": 3257, + "end": 3272, "loc": { "start": { - "line": 92, + "line": 98, "column": 39 }, "end": { - "line": 92, + "line": 98, "column": 54 } } @@ -106056,15 +108035,15 @@ "binop": null, "updateContext": null }, - "start": 3012, - "end": 3013, + "start": 3272, + "end": 3273, "loc": { "start": { - "line": 92, + "line": 98, "column": 54 }, "end": { - "line": 92, + "line": 98, "column": 55 } } @@ -106082,15 +108061,15 @@ "binop": null }, "value": "hide", - "start": 3013, - "end": 3017, + "start": 3273, + "end": 3277, "loc": { "start": { - "line": 92, + "line": 98, "column": 55 }, "end": { - "line": 92, + "line": 98, "column": 59 } } @@ -106107,15 +108086,15 @@ "postfix": false, "binop": null }, - "start": 3017, - "end": 3018, + "start": 3277, + "end": 3278, "loc": { "start": { - "line": 92, + "line": 98, "column": 59 }, "end": { - "line": 92, + "line": 98, "column": 60 } } @@ -106132,15 +108111,15 @@ "postfix": false, "binop": null }, - "start": 3018, - "end": 3019, + "start": 3278, + "end": 3279, "loc": { "start": { - "line": 92, + "line": 98, "column": 60 }, "end": { - "line": 92, + "line": 98, "column": 61 } } @@ -106158,15 +108137,15 @@ "binop": null, "updateContext": null }, - "start": 3019, - "end": 3020, + "start": 3279, + "end": 3280, "loc": { "start": { - "line": 92, + "line": 98, "column": 61 }, "end": { - "line": 92, + "line": 98, "column": 62 } } @@ -106183,15 +108162,15 @@ "postfix": false, "binop": null }, - "start": 3033, - "end": 3034, + "start": 3293, + "end": 3294, "loc": { "start": { - "line": 93, + "line": 99, "column": 12 }, "end": { - "line": 93, + "line": 99, "column": 13 } } @@ -106199,15 +108178,15 @@ { "type": "CommentLine", "value": " disable Picture-In-Picture toggle introduced in video.js 7.6.0", - "start": 3048, - "end": 3113, + "start": 3308, + "end": 3373, "loc": { "start": { - "line": 95, + "line": 101, "column": 12 }, "end": { - "line": 95, + "line": 101, "column": 77 } } @@ -106215,15 +108194,15 @@ { "type": "CommentLine", "value": " until there is support for canvas in the Picture-In-Picture", - "start": 3126, - "end": 3188, + "start": 3386, + "end": 3448, "loc": { "start": { - "line": 96, + "line": 102, "column": 12 }, "end": { - "line": 96, + "line": 102, "column": 74 } } @@ -106231,15 +108210,15 @@ { "type": "CommentLine", "value": " browser API (see https://www.chromestatus.com/features/4844605453369344)", - "start": 3201, - "end": 3276, + "start": 3461, + "end": 3536, "loc": { "start": { - "line": 97, + "line": 103, "column": 12 }, "end": { - "line": 97, + "line": 103, "column": 87 } } @@ -106259,15 +108238,15 @@ "updateContext": null }, "value": "if", - "start": 3289, - "end": 3291, + "start": 3549, + "end": 3551, "loc": { "start": { - "line": 98, + "line": 104, "column": 12 }, "end": { - "line": 98, + "line": 104, "column": 14 } } @@ -106284,15 +108263,15 @@ "postfix": false, "binop": null }, - "start": 3292, - "end": 3293, + "start": 3552, + "end": 3553, "loc": { "start": { - "line": 98, + "line": 104, "column": 15 }, "end": { - "line": 98, + "line": 104, "column": 16 } } @@ -106312,15 +108291,15 @@ "updateContext": null }, "value": "this", - "start": 3293, - "end": 3297, + "start": 3553, + "end": 3557, "loc": { "start": { - "line": 98, + "line": 104, "column": 16 }, "end": { - "line": 98, + "line": 104, "column": 20 } } @@ -106338,15 +108317,15 @@ "binop": null, "updateContext": null }, - "start": 3297, - "end": 3298, + "start": 3557, + "end": 3558, "loc": { "start": { - "line": 98, + "line": 104, "column": 20 }, "end": { - "line": 98, + "line": 104, "column": 21 } } @@ -106364,15 +108343,15 @@ "binop": null }, "value": "player", - "start": 3298, - "end": 3304, + "start": 3558, + "end": 3564, "loc": { "start": { - "line": 98, + "line": 104, "column": 21 }, "end": { - "line": 98, + "line": 104, "column": 27 } } @@ -106390,15 +108369,15 @@ "binop": null, "updateContext": null }, - "start": 3304, - "end": 3305, + "start": 3564, + "end": 3565, "loc": { "start": { - "line": 98, + "line": 104, "column": 27 }, "end": { - "line": 98, + "line": 104, "column": 28 } } @@ -106416,15 +108395,15 @@ "binop": null }, "value": "controlBar", - "start": 3305, - "end": 3315, + "start": 3565, + "end": 3575, "loc": { "start": { - "line": 98, + "line": 104, "column": 28 }, "end": { - "line": 98, + "line": 104, "column": 38 } } @@ -106442,15 +108421,15 @@ "binop": null, "updateContext": null }, - "start": 3315, - "end": 3316, + "start": 3575, + "end": 3576, "loc": { "start": { - "line": 98, + "line": 104, "column": 38 }, "end": { - "line": 98, + "line": 104, "column": 39 } } @@ -106468,15 +108447,15 @@ "binop": null }, "value": "pictureInPictureToggle", - "start": 3316, - "end": 3338, + "start": 3576, + "end": 3598, "loc": { "start": { - "line": 98, + "line": 104, "column": 39 }, "end": { - "line": 98, + "line": 104, "column": 61 } } @@ -106495,15 +108474,15 @@ "updateContext": null }, "value": "!==", - "start": 3339, - "end": 3342, + "start": 3599, + "end": 3602, "loc": { "start": { - "line": 98, + "line": 104, "column": 62 }, "end": { - "line": 98, + "line": 104, "column": 65 } } @@ -106521,15 +108500,15 @@ "binop": null }, "value": "undefined", - "start": 3343, - "end": 3352, + "start": 3603, + "end": 3612, "loc": { "start": { - "line": 98, + "line": 104, "column": 66 }, "end": { - "line": 98, + "line": 104, "column": 75 } } @@ -106546,15 +108525,15 @@ "postfix": false, "binop": null }, - "start": 3352, - "end": 3353, + "start": 3612, + "end": 3613, "loc": { "start": { - "line": 98, + "line": 104, "column": 75 }, "end": { - "line": 98, + "line": 104, "column": 76 } } @@ -106571,15 +108550,15 @@ "postfix": false, "binop": null }, - "start": 3354, - "end": 3355, + "start": 3614, + "end": 3615, "loc": { "start": { - "line": 98, + "line": 104, "column": 77 }, "end": { - "line": 98, + "line": 104, "column": 78 } } @@ -106599,15 +108578,15 @@ "updateContext": null }, "value": "this", - "start": 3372, - "end": 3376, + "start": 3632, + "end": 3636, "loc": { "start": { - "line": 99, + "line": 105, "column": 16 }, "end": { - "line": 99, + "line": 105, "column": 20 } } @@ -106625,15 +108604,15 @@ "binop": null, "updateContext": null }, - "start": 3376, - "end": 3377, + "start": 3636, + "end": 3637, "loc": { "start": { - "line": 99, + "line": 105, "column": 20 }, "end": { - "line": 99, + "line": 105, "column": 21 } } @@ -106651,15 +108630,15 @@ "binop": null }, "value": "player", - "start": 3377, - "end": 3383, + "start": 3637, + "end": 3643, "loc": { "start": { - "line": 99, + "line": 105, "column": 21 }, "end": { - "line": 99, + "line": 105, "column": 27 } } @@ -106677,15 +108656,15 @@ "binop": null, "updateContext": null }, - "start": 3383, - "end": 3384, + "start": 3643, + "end": 3644, "loc": { "start": { - "line": 99, + "line": 105, "column": 27 }, "end": { - "line": 99, + "line": 105, "column": 28 } } @@ -106703,15 +108682,15 @@ "binop": null }, "value": "controlBar", - "start": 3384, - "end": 3394, + "start": 3644, + "end": 3654, "loc": { "start": { - "line": 99, + "line": 105, "column": 28 }, "end": { - "line": 99, + "line": 105, "column": 38 } } @@ -106729,15 +108708,15 @@ "binop": null, "updateContext": null }, - "start": 3394, - "end": 3395, + "start": 3654, + "end": 3655, "loc": { "start": { - "line": 99, + "line": 105, "column": 38 }, "end": { - "line": 99, + "line": 105, "column": 39 } } @@ -106755,15 +108734,15 @@ "binop": null }, "value": "pictureInPictureToggle", - "start": 3395, - "end": 3417, + "start": 3655, + "end": 3677, "loc": { "start": { - "line": 99, + "line": 105, "column": 39 }, "end": { - "line": 99, + "line": 105, "column": 61 } } @@ -106781,15 +108760,15 @@ "binop": null, "updateContext": null }, - "start": 3417, - "end": 3418, + "start": 3677, + "end": 3678, "loc": { "start": { - "line": 99, + "line": 105, "column": 61 }, "end": { - "line": 99, + "line": 105, "column": 62 } } @@ -106807,15 +108786,15 @@ "binop": null }, "value": "hide", - "start": 3418, - "end": 3422, + "start": 3678, + "end": 3682, "loc": { "start": { - "line": 99, + "line": 105, "column": 62 }, "end": { - "line": 99, + "line": 105, "column": 66 } } @@ -106832,15 +108811,15 @@ "postfix": false, "binop": null }, - "start": 3422, - "end": 3423, + "start": 3682, + "end": 3683, "loc": { "start": { - "line": 99, + "line": 105, "column": 66 }, "end": { - "line": 99, + "line": 105, "column": 67 } } @@ -106857,15 +108836,15 @@ "postfix": false, "binop": null }, - "start": 3423, - "end": 3424, + "start": 3683, + "end": 3684, "loc": { "start": { - "line": 99, + "line": 105, "column": 67 }, "end": { - "line": 99, + "line": 105, "column": 68 } } @@ -106883,15 +108862,15 @@ "binop": null, "updateContext": null }, - "start": 3424, - "end": 3425, + "start": 3684, + "end": 3685, "loc": { "start": { - "line": 99, + "line": 105, "column": 68 }, "end": { - "line": 99, + "line": 105, "column": 69 } } @@ -106908,15 +108887,15 @@ "postfix": false, "binop": null }, - "start": 3438, - "end": 3439, + "start": 3698, + "end": 3699, "loc": { "start": { - "line": 100, + "line": 106, "column": 12 }, "end": { - "line": 100, + "line": 106, "column": 13 } } @@ -106924,15 +108903,15 @@ { "type": "CommentLine", "value": " make sure time displays are visible", - "start": 3453, - "end": 3491, + "start": 3713, + "end": 3751, "loc": { "start": { - "line": 102, + "line": 108, "column": 12 }, "end": { - "line": 102, + "line": 108, "column": 50 } } @@ -106952,15 +108931,15 @@ "updateContext": null }, "value": "let", - "start": 3504, - "end": 3507, + "start": 3764, + "end": 3767, "loc": { "start": { - "line": 103, + "line": 109, "column": 12 }, "end": { - "line": 103, + "line": 109, "column": 15 } } @@ -106978,15 +108957,15 @@ "binop": null }, "value": "uiElements", - "start": 3508, - "end": 3518, + "start": 3768, + "end": 3778, "loc": { "start": { - "line": 103, + "line": 109, "column": 16 }, "end": { - "line": 103, + "line": 109, "column": 26 } } @@ -107005,15 +108984,15 @@ "updateContext": null }, "value": "=", - "start": 3519, - "end": 3520, + "start": 3779, + "end": 3780, "loc": { "start": { - "line": 103, + "line": 109, "column": 27 }, "end": { - "line": 103, + "line": 109, "column": 28 } } @@ -107031,15 +109010,15 @@ "binop": null, "updateContext": null }, - "start": 3521, - "end": 3522, + "start": 3781, + "end": 3782, "loc": { "start": { - "line": 103, + "line": 109, "column": 29 }, "end": { - "line": 103, + "line": 109, "column": 30 } } @@ -107058,15 +109037,15 @@ "updateContext": null }, "value": "currentTimeDisplay", - "start": 3522, - "end": 3542, + "start": 3782, + "end": 3802, "loc": { "start": { - "line": 103, + "line": 109, "column": 30 }, "end": { - "line": 103, + "line": 109, "column": 50 } } @@ -107084,15 +109063,15 @@ "binop": null, "updateContext": null }, - "start": 3542, - "end": 3543, + "start": 3802, + "end": 3803, "loc": { "start": { - "line": 103, + "line": 109, "column": 50 }, "end": { - "line": 103, + "line": 109, "column": 51 } } @@ -107111,15 +109090,15 @@ "updateContext": null }, "value": "timeDivider", - "start": 3544, - "end": 3557, + "start": 3804, + "end": 3817, "loc": { "start": { - "line": 103, + "line": 109, "column": 52 }, "end": { - "line": 103, + "line": 109, "column": 65 } } @@ -107137,15 +109116,15 @@ "binop": null, "updateContext": null }, - "start": 3557, - "end": 3558, + "start": 3817, + "end": 3818, "loc": { "start": { - "line": 103, + "line": 109, "column": 65 }, "end": { - "line": 103, + "line": 109, "column": 66 } } @@ -107164,15 +109143,15 @@ "updateContext": null }, "value": "durationDisplay", - "start": 3559, - "end": 3576, + "start": 3819, + "end": 3836, "loc": { "start": { - "line": 103, + "line": 109, "column": 67 }, "end": { - "line": 103, + "line": 109, "column": 84 } } @@ -107190,15 +109169,15 @@ "binop": null, "updateContext": null }, - "start": 3576, - "end": 3577, + "start": 3836, + "end": 3837, "loc": { "start": { - "line": 103, + "line": 109, "column": 84 }, "end": { - "line": 103, + "line": 109, "column": 85 } } @@ -107216,15 +109195,15 @@ "binop": null, "updateContext": null }, - "start": 3577, - "end": 3578, + "start": 3837, + "end": 3838, "loc": { "start": { - "line": 103, + "line": 109, "column": 85 }, "end": { - "line": 103, + "line": 109, "column": 86 } } @@ -107242,15 +109221,15 @@ "binop": null }, "value": "uiElements", - "start": 3591, - "end": 3601, + "start": 3851, + "end": 3861, "loc": { "start": { - "line": 104, + "line": 110, "column": 12 }, "end": { - "line": 104, + "line": 110, "column": 22 } } @@ -107268,15 +109247,15 @@ "binop": null, "updateContext": null }, - "start": 3601, - "end": 3602, + "start": 3861, + "end": 3862, "loc": { "start": { - "line": 104, + "line": 110, "column": 22 }, "end": { - "line": 104, + "line": 110, "column": 23 } } @@ -107294,15 +109273,15 @@ "binop": null }, "value": "forEach", - "start": 3602, - "end": 3609, + "start": 3862, + "end": 3869, "loc": { "start": { - "line": 104, + "line": 110, "column": 23 }, "end": { - "line": 104, + "line": 110, "column": 30 } } @@ -107319,15 +109298,15 @@ "postfix": false, "binop": null }, - "start": 3609, - "end": 3610, + "start": 3869, + "end": 3870, "loc": { "start": { - "line": 104, + "line": 110, "column": 30 }, "end": { - "line": 104, + "line": 110, "column": 31 } } @@ -107344,15 +109323,15 @@ "postfix": false, "binop": null }, - "start": 3610, - "end": 3611, + "start": 3870, + "end": 3871, "loc": { "start": { - "line": 104, + "line": 110, "column": 31 }, "end": { - "line": 104, + "line": 110, "column": 32 } } @@ -107370,15 +109349,15 @@ "binop": null }, "value": "element", - "start": 3611, - "end": 3618, + "start": 3871, + "end": 3878, "loc": { "start": { - "line": 104, + "line": 110, "column": 32 }, "end": { - "line": 104, + "line": 110, "column": 39 } } @@ -107395,15 +109374,15 @@ "postfix": false, "binop": null }, - "start": 3618, - "end": 3619, + "start": 3878, + "end": 3879, "loc": { "start": { - "line": 104, + "line": 110, "column": 39 }, "end": { - "line": 104, + "line": 110, "column": 40 } } @@ -107421,15 +109400,15 @@ "binop": null, "updateContext": null }, - "start": 3620, - "end": 3622, + "start": 3880, + "end": 3882, "loc": { "start": { - "line": 104, + "line": 110, "column": 41 }, "end": { - "line": 104, + "line": 110, "column": 43 } } @@ -107446,15 +109425,15 @@ "postfix": false, "binop": null }, - "start": 3623, - "end": 3624, + "start": 3883, + "end": 3884, "loc": { "start": { - "line": 104, + "line": 110, "column": 44 }, "end": { - "line": 104, + "line": 110, "column": 45 } } @@ -107462,15 +109441,15 @@ { "type": "CommentLine", "value": " ignore and show when essential elements have been disabled", - "start": 3641, - "end": 3702, + "start": 3901, + "end": 3962, "loc": { "start": { - "line": 105, + "line": 111, "column": 16 }, "end": { - "line": 105, + "line": 111, "column": 77 } } @@ -107478,15 +109457,15 @@ { "type": "CommentLine", "value": " by user", - "start": 3719, - "end": 3729, + "start": 3979, + "end": 3989, "loc": { "start": { - "line": 106, + "line": 112, "column": 16 }, "end": { - "line": 106, + "line": 112, "column": 26 } } @@ -107504,15 +109483,15 @@ "binop": null }, "value": "element", - "start": 3746, - "end": 3753, + "start": 4006, + "end": 4013, "loc": { "start": { - "line": 107, + "line": 113, "column": 16 }, "end": { - "line": 107, + "line": 113, "column": 23 } } @@ -107531,15 +109510,15 @@ "updateContext": null }, "value": "=", - "start": 3754, - "end": 3755, + "start": 4014, + "end": 4015, "loc": { "start": { - "line": 107, + "line": 113, "column": 24 }, "end": { - "line": 107, + "line": 113, "column": 25 } } @@ -107559,15 +109538,15 @@ "updateContext": null }, "value": "this", - "start": 3756, - "end": 3760, + "start": 4016, + "end": 4020, "loc": { "start": { - "line": 107, + "line": 113, "column": 26 }, "end": { - "line": 107, + "line": 113, "column": 30 } } @@ -107585,15 +109564,15 @@ "binop": null, "updateContext": null }, - "start": 3760, - "end": 3761, + "start": 4020, + "end": 4021, "loc": { "start": { - "line": 107, + "line": 113, "column": 30 }, "end": { - "line": 107, + "line": 113, "column": 31 } } @@ -107611,15 +109590,15 @@ "binop": null }, "value": "player", - "start": 3761, - "end": 3767, + "start": 4021, + "end": 4027, "loc": { "start": { - "line": 107, + "line": 113, "column": 31 }, "end": { - "line": 107, + "line": 113, "column": 37 } } @@ -107637,15 +109616,15 @@ "binop": null, "updateContext": null }, - "start": 3767, - "end": 3768, + "start": 4027, + "end": 4028, "loc": { "start": { - "line": 107, + "line": 113, "column": 37 }, "end": { - "line": 107, + "line": 113, "column": 38 } } @@ -107663,15 +109642,15 @@ "binop": null }, "value": "controlBar", - "start": 3768, - "end": 3778, + "start": 4028, + "end": 4038, "loc": { "start": { - "line": 107, + "line": 113, "column": 38 }, "end": { - "line": 107, + "line": 113, "column": 48 } } @@ -107689,15 +109668,15 @@ "binop": null, "updateContext": null }, - "start": 3778, - "end": 3779, + "start": 4038, + "end": 4039, "loc": { "start": { - "line": 107, + "line": 113, "column": 48 }, "end": { - "line": 107, + "line": 113, "column": 49 } } @@ -107715,15 +109694,15 @@ "binop": null }, "value": "element", - "start": 3779, - "end": 3786, + "start": 4039, + "end": 4046, "loc": { "start": { - "line": 107, + "line": 113, "column": 49 }, "end": { - "line": 107, + "line": 113, "column": 56 } } @@ -107741,15 +109720,15 @@ "binop": null, "updateContext": null }, - "start": 3786, - "end": 3787, + "start": 4046, + "end": 4047, "loc": { "start": { - "line": 107, + "line": 113, "column": 56 }, "end": { - "line": 107, + "line": 113, "column": 57 } } @@ -107767,15 +109746,15 @@ "binop": null, "updateContext": null }, - "start": 3787, - "end": 3788, + "start": 4047, + "end": 4048, "loc": { "start": { - "line": 107, + "line": 113, "column": 57 }, "end": { - "line": 107, + "line": 113, "column": 58 } } @@ -107795,15 +109774,15 @@ "updateContext": null }, "value": "if", - "start": 3805, - "end": 3807, + "start": 4065, + "end": 4067, "loc": { "start": { - "line": 108, + "line": 114, "column": 16 }, "end": { - "line": 108, + "line": 114, "column": 18 } } @@ -107820,15 +109799,15 @@ "postfix": false, "binop": null }, - "start": 3808, - "end": 3809, + "start": 4068, + "end": 4069, "loc": { "start": { - "line": 108, + "line": 114, "column": 19 }, "end": { - "line": 108, + "line": 114, "column": 20 } } @@ -107846,15 +109825,15 @@ "binop": null }, "value": "element", - "start": 3809, - "end": 3816, + "start": 4069, + "end": 4076, "loc": { "start": { - "line": 108, + "line": 114, "column": 20 }, "end": { - "line": 108, + "line": 114, "column": 27 } } @@ -107873,15 +109852,15 @@ "updateContext": null }, "value": "!==", - "start": 3817, - "end": 3820, + "start": 4077, + "end": 4080, "loc": { "start": { - "line": 108, + "line": 114, "column": 28 }, "end": { - "line": 108, + "line": 114, "column": 31 } } @@ -107899,15 +109878,15 @@ "binop": null }, "value": "undefined", - "start": 3821, - "end": 3830, + "start": 4081, + "end": 4090, "loc": { "start": { - "line": 108, + "line": 114, "column": 32 }, "end": { - "line": 108, + "line": 114, "column": 41 } } @@ -107924,15 +109903,15 @@ "postfix": false, "binop": null }, - "start": 3830, - "end": 3831, + "start": 4090, + "end": 4091, "loc": { "start": { - "line": 108, + "line": 114, "column": 41 }, "end": { - "line": 108, + "line": 114, "column": 42 } } @@ -107949,15 +109928,15 @@ "postfix": false, "binop": null }, - "start": 3832, - "end": 3833, + "start": 4092, + "end": 4093, "loc": { "start": { - "line": 108, + "line": 114, "column": 43 }, "end": { - "line": 108, + "line": 114, "column": 44 } } @@ -107975,15 +109954,15 @@ "binop": null }, "value": "element", - "start": 3854, - "end": 3861, + "start": 4114, + "end": 4121, "loc": { "start": { - "line": 109, + "line": 115, "column": 20 }, "end": { - "line": 109, + "line": 115, "column": 27 } } @@ -108001,15 +109980,15 @@ "binop": null, "updateContext": null }, - "start": 3861, - "end": 3862, + "start": 4121, + "end": 4122, "loc": { "start": { - "line": 109, + "line": 115, "column": 27 }, "end": { - "line": 109, + "line": 115, "column": 28 } } @@ -108027,15 +110006,15 @@ "binop": null }, "value": "el_", - "start": 3862, - "end": 3865, + "start": 4122, + "end": 4125, "loc": { "start": { - "line": 109, + "line": 115, "column": 28 }, "end": { - "line": 109, + "line": 115, "column": 31 } } @@ -108053,15 +110032,15 @@ "binop": null, "updateContext": null }, - "start": 3865, - "end": 3866, + "start": 4125, + "end": 4126, "loc": { "start": { - "line": 109, + "line": 115, "column": 31 }, "end": { - "line": 109, + "line": 115, "column": 32 } } @@ -108079,15 +110058,15 @@ "binop": null }, "value": "style", - "start": 3866, - "end": 3871, + "start": 4126, + "end": 4131, "loc": { "start": { - "line": 109, + "line": 115, "column": 32 }, "end": { - "line": 109, + "line": 115, "column": 37 } } @@ -108105,15 +110084,15 @@ "binop": null, "updateContext": null }, - "start": 3871, - "end": 3872, + "start": 4131, + "end": 4132, "loc": { "start": { - "line": 109, + "line": 115, "column": 37 }, "end": { - "line": 109, + "line": 115, "column": 38 } } @@ -108131,15 +110110,15 @@ "binop": null }, "value": "display", - "start": 3872, - "end": 3879, + "start": 4132, + "end": 4139, "loc": { "start": { - "line": 109, + "line": 115, "column": 38 }, "end": { - "line": 109, + "line": 115, "column": 45 } } @@ -108158,15 +110137,15 @@ "updateContext": null }, "value": "=", - "start": 3880, - "end": 3881, + "start": 4140, + "end": 4141, "loc": { "start": { - "line": 109, + "line": 115, "column": 46 }, "end": { - "line": 109, + "line": 115, "column": 47 } } @@ -108185,15 +110164,15 @@ "updateContext": null }, "value": "block", - "start": 3882, - "end": 3889, + "start": 4142, + "end": 4149, "loc": { "start": { - "line": 109, + "line": 115, "column": 48 }, "end": { - "line": 109, + "line": 115, "column": 55 } } @@ -108211,15 +110190,15 @@ "binop": null, "updateContext": null }, - "start": 3889, - "end": 3890, + "start": 4149, + "end": 4150, "loc": { "start": { - "line": 109, + "line": 115, "column": 55 }, "end": { - "line": 109, + "line": 115, "column": 56 } } @@ -108237,15 +110216,15 @@ "binop": null }, "value": "element", - "start": 3911, - "end": 3918, + "start": 4171, + "end": 4178, "loc": { "start": { - "line": 110, + "line": 116, "column": 20 }, "end": { - "line": 110, + "line": 116, "column": 27 } } @@ -108263,15 +110242,15 @@ "binop": null, "updateContext": null }, - "start": 3918, - "end": 3919, + "start": 4178, + "end": 4179, "loc": { "start": { - "line": 110, + "line": 116, "column": 27 }, "end": { - "line": 110, + "line": 116, "column": 28 } } @@ -108289,15 +110268,15 @@ "binop": null }, "value": "show", - "start": 3919, - "end": 3923, + "start": 4179, + "end": 4183, "loc": { "start": { - "line": 110, + "line": 116, "column": 28 }, "end": { - "line": 110, + "line": 116, "column": 32 } } @@ -108314,15 +110293,15 @@ "postfix": false, "binop": null }, - "start": 3923, - "end": 3924, + "start": 4183, + "end": 4184, "loc": { "start": { - "line": 110, + "line": 116, "column": 32 }, "end": { - "line": 110, + "line": 116, "column": 33 } } @@ -108339,15 +110318,15 @@ "postfix": false, "binop": null }, - "start": 3924, - "end": 3925, + "start": 4184, + "end": 4185, "loc": { "start": { - "line": 110, + "line": 116, "column": 33 }, "end": { - "line": 110, + "line": 116, "column": 34 } } @@ -108365,15 +110344,15 @@ "binop": null, "updateContext": null }, - "start": 3925, - "end": 3926, + "start": 4185, + "end": 4186, "loc": { "start": { - "line": 110, + "line": 116, "column": 34 }, "end": { - "line": 110, + "line": 116, "column": 35 } } @@ -108390,15 +110369,15 @@ "postfix": false, "binop": null }, - "start": 3943, - "end": 3944, + "start": 4203, + "end": 4204, "loc": { "start": { - "line": 111, + "line": 117, "column": 16 }, "end": { - "line": 111, + "line": 117, "column": 17 } } @@ -108415,15 +110394,15 @@ "postfix": false, "binop": null }, - "start": 3957, - "end": 3958, + "start": 4217, + "end": 4218, "loc": { "start": { - "line": 112, + "line": 118, "column": 12 }, "end": { - "line": 112, + "line": 118, "column": 13 } } @@ -108440,15 +110419,15 @@ "postfix": false, "binop": null }, - "start": 3958, - "end": 3959, + "start": 4218, + "end": 4219, "loc": { "start": { - "line": 112, + "line": 118, "column": 13 }, "end": { - "line": 112, + "line": 118, "column": 14 } } @@ -108466,15 +110445,15 @@ "binop": null, "updateContext": null }, - "start": 3959, - "end": 3960, + "start": 4219, + "end": 4220, "loc": { "start": { - "line": 112, + "line": 118, "column": 14 }, "end": { - "line": 112, + "line": 118, "column": 15 } } @@ -108494,15 +110473,15 @@ "updateContext": null }, "value": "if", - "start": 3973, - "end": 3975, + "start": 4233, + "end": 4235, "loc": { "start": { - "line": 113, + "line": 119, "column": 12 }, "end": { - "line": 113, + "line": 119, "column": 14 } } @@ -108519,15 +110498,15 @@ "postfix": false, "binop": null }, - "start": 3976, - "end": 3977, + "start": 4236, + "end": 4237, "loc": { "start": { - "line": 113, + "line": 119, "column": 15 }, "end": { - "line": 113, + "line": 119, "column": 16 } } @@ -108547,15 +110526,15 @@ "updateContext": null }, "value": "this", - "start": 3977, - "end": 3981, + "start": 4237, + "end": 4241, "loc": { "start": { - "line": 113, + "line": 119, "column": 16 }, "end": { - "line": 113, + "line": 119, "column": 20 } } @@ -108573,15 +110552,15 @@ "binop": null, "updateContext": null }, - "start": 3981, - "end": 3982, + "start": 4241, + "end": 4242, "loc": { "start": { - "line": 113, + "line": 119, "column": 20 }, "end": { - "line": 113, + "line": 119, "column": 21 } } @@ -108599,15 +110578,15 @@ "binop": null }, "value": "player", - "start": 3982, - "end": 3988, + "start": 4242, + "end": 4248, "loc": { "start": { - "line": 113, + "line": 119, "column": 21 }, "end": { - "line": 113, + "line": 119, "column": 27 } } @@ -108625,15 +110604,15 @@ "binop": null, "updateContext": null }, - "start": 3988, - "end": 3989, + "start": 4248, + "end": 4249, "loc": { "start": { - "line": 113, + "line": 119, "column": 27 }, "end": { - "line": 113, + "line": 119, "column": 28 } } @@ -108651,15 +110630,15 @@ "binop": null }, "value": "controlBar", - "start": 3989, - "end": 3999, + "start": 4249, + "end": 4259, "loc": { "start": { - "line": 113, + "line": 119, "column": 28 }, "end": { - "line": 113, + "line": 119, "column": 38 } } @@ -108677,15 +110656,15 @@ "binop": null, "updateContext": null }, - "start": 3999, - "end": 4000, + "start": 4259, + "end": 4260, "loc": { "start": { - "line": 113, + "line": 119, "column": 38 }, "end": { - "line": 113, + "line": 119, "column": 39 } } @@ -108703,15 +110682,15 @@ "binop": null }, "value": "remainingTimeDisplay", - "start": 4000, - "end": 4020, + "start": 4260, + "end": 4280, "loc": { "start": { - "line": 113, + "line": 119, "column": 39 }, "end": { - "line": 113, + "line": 119, "column": 59 } } @@ -108730,15 +110709,15 @@ "updateContext": null }, "value": "!==", - "start": 4021, - "end": 4024, + "start": 4281, + "end": 4284, "loc": { "start": { - "line": 113, + "line": 119, "column": 60 }, "end": { - "line": 113, + "line": 119, "column": 63 } } @@ -108756,15 +110735,15 @@ "binop": null }, "value": "undefined", - "start": 4025, - "end": 4034, + "start": 4285, + "end": 4294, "loc": { "start": { - "line": 113, + "line": 119, "column": 64 }, "end": { - "line": 113, + "line": 119, "column": 73 } } @@ -108781,15 +110760,15 @@ "postfix": false, "binop": null }, - "start": 4034, - "end": 4035, + "start": 4294, + "end": 4295, "loc": { "start": { - "line": 113, + "line": 119, "column": 73 }, "end": { - "line": 113, + "line": 119, "column": 74 } } @@ -108806,15 +110785,15 @@ "postfix": false, "binop": null }, - "start": 4036, - "end": 4037, + "start": 4296, + "end": 4297, "loc": { "start": { - "line": 113, + "line": 119, "column": 75 }, "end": { - "line": 113, + "line": 119, "column": 76 } } @@ -108834,15 +110813,15 @@ "updateContext": null }, "value": "this", - "start": 4054, - "end": 4058, + "start": 4314, + "end": 4318, "loc": { "start": { - "line": 114, + "line": 120, "column": 16 }, "end": { - "line": 114, + "line": 120, "column": 20 } } @@ -108860,15 +110839,15 @@ "binop": null, "updateContext": null }, - "start": 4058, - "end": 4059, + "start": 4318, + "end": 4319, "loc": { "start": { - "line": 114, + "line": 120, "column": 20 }, "end": { - "line": 114, + "line": 120, "column": 21 } } @@ -108886,15 +110865,15 @@ "binop": null }, "value": "player", - "start": 4059, - "end": 4065, + "start": 4319, + "end": 4325, "loc": { "start": { - "line": 114, + "line": 120, "column": 21 }, "end": { - "line": 114, + "line": 120, "column": 27 } } @@ -108912,15 +110891,15 @@ "binop": null, "updateContext": null }, - "start": 4065, - "end": 4066, + "start": 4325, + "end": 4326, "loc": { "start": { - "line": 114, + "line": 120, "column": 27 }, "end": { - "line": 114, + "line": 120, "column": 28 } } @@ -108938,15 +110917,15 @@ "binop": null }, "value": "controlBar", - "start": 4066, - "end": 4076, + "start": 4326, + "end": 4336, "loc": { "start": { - "line": 114, + "line": 120, "column": 28 }, "end": { - "line": 114, + "line": 120, "column": 38 } } @@ -108964,15 +110943,15 @@ "binop": null, "updateContext": null }, - "start": 4076, - "end": 4077, + "start": 4336, + "end": 4337, "loc": { "start": { - "line": 114, + "line": 120, "column": 38 }, "end": { - "line": 114, + "line": 120, "column": 39 } } @@ -108990,15 +110969,15 @@ "binop": null }, "value": "remainingTimeDisplay", - "start": 4077, - "end": 4097, + "start": 4337, + "end": 4357, "loc": { "start": { - "line": 114, + "line": 120, "column": 39 }, "end": { - "line": 114, + "line": 120, "column": 59 } } @@ -109016,15 +110995,15 @@ "binop": null, "updateContext": null }, - "start": 4097, - "end": 4098, + "start": 4357, + "end": 4358, "loc": { "start": { - "line": 114, + "line": 120, "column": 59 }, "end": { - "line": 114, + "line": 120, "column": 60 } } @@ -109042,15 +111021,15 @@ "binop": null }, "value": "hide", - "start": 4098, - "end": 4102, + "start": 4358, + "end": 4362, "loc": { "start": { - "line": 114, + "line": 120, "column": 60 }, "end": { - "line": 114, + "line": 120, "column": 64 } } @@ -109067,15 +111046,15 @@ "postfix": false, "binop": null }, - "start": 4102, - "end": 4103, + "start": 4362, + "end": 4363, "loc": { "start": { - "line": 114, + "line": 120, "column": 64 }, "end": { - "line": 114, + "line": 120, "column": 65 } } @@ -109092,15 +111071,15 @@ "postfix": false, "binop": null }, - "start": 4103, - "end": 4104, + "start": 4363, + "end": 4364, "loc": { "start": { - "line": 114, + "line": 120, "column": 65 }, "end": { - "line": 114, + "line": 120, "column": 66 } } @@ -109118,15 +111097,15 @@ "binop": null, "updateContext": null }, - "start": 4104, - "end": 4105, + "start": 4364, + "end": 4365, "loc": { "start": { - "line": 114, + "line": 120, "column": 66 }, "end": { - "line": 114, + "line": 120, "column": 67 } } @@ -109143,15 +111122,15 @@ "postfix": false, "binop": null }, - "start": 4118, - "end": 4119, + "start": 4378, + "end": 4379, "loc": { "start": { - "line": 115, + "line": 121, "column": 12 }, "end": { - "line": 115, + "line": 121, "column": 13 } } @@ -109171,15 +111150,15 @@ "updateContext": null }, "value": "if", - "start": 4133, - "end": 4135, + "start": 4393, + "end": 4395, "loc": { "start": { - "line": 117, + "line": 123, "column": 12 }, "end": { - "line": 117, + "line": 123, "column": 14 } } @@ -109196,15 +111175,15 @@ "postfix": false, "binop": null }, - "start": 4136, - "end": 4137, + "start": 4396, + "end": 4397, "loc": { "start": { - "line": 117, + "line": 123, "column": 15 }, "end": { - "line": 117, + "line": 123, "column": 16 } } @@ -109224,15 +111203,15 @@ "updateContext": null }, "value": "this", - "start": 4137, - "end": 4141, + "start": 4397, + "end": 4401, "loc": { "start": { - "line": 117, + "line": 123, "column": 16 }, "end": { - "line": 117, + "line": 123, "column": 20 } } @@ -109250,15 +111229,15 @@ "binop": null, "updateContext": null }, - "start": 4141, - "end": 4142, + "start": 4401, + "end": 4402, "loc": { "start": { - "line": 117, + "line": 123, "column": 20 }, "end": { - "line": 117, + "line": 123, "column": 21 } } @@ -109276,15 +111255,15 @@ "binop": null }, "value": "backend", - "start": 4142, - "end": 4149, + "start": 4402, + "end": 4409, "loc": { "start": { - "line": 117, + "line": 123, "column": 21 }, "end": { - "line": 117, + "line": 123, "column": 28 } } @@ -109303,15 +111282,15 @@ "updateContext": null }, "value": "===", - "start": 4150, - "end": 4153, + "start": 4410, + "end": 4413, "loc": { "start": { - "line": 117, + "line": 123, "column": 29 }, "end": { - "line": 117, + "line": 123, "column": 32 } } @@ -109329,15 +111308,15 @@ "binop": null }, "value": "WEBAUDIO", - "start": 4154, - "end": 4162, + "start": 4414, + "end": 4422, "loc": { "start": { - "line": 117, + "line": 123, "column": 33 }, "end": { - "line": 117, + "line": 123, "column": 41 } } @@ -109356,15 +111335,15 @@ "updateContext": null }, "value": "&&", - "start": 4163, - "end": 4165, + "start": 4423, + "end": 4425, "loc": { "start": { - "line": 117, + "line": 123, "column": 42 }, "end": { - "line": 117, + "line": 123, "column": 44 } } @@ -109384,15 +111363,15 @@ "updateContext": null }, "value": "this", - "start": 4182, - "end": 4186, + "start": 4442, + "end": 4446, "loc": { "start": { - "line": 118, + "line": 124, "column": 16 }, "end": { - "line": 118, + "line": 124, "column": 20 } } @@ -109410,15 +111389,15 @@ "binop": null, "updateContext": null }, - "start": 4186, - "end": 4187, + "start": 4446, + "end": 4447, "loc": { "start": { - "line": 118, + "line": 124, "column": 20 }, "end": { - "line": 118, + "line": 124, "column": 21 } } @@ -109436,15 +111415,15 @@ "binop": null }, "value": "player", - "start": 4187, - "end": 4193, + "start": 4447, + "end": 4453, "loc": { "start": { - "line": 118, + "line": 124, "column": 21 }, "end": { - "line": 118, + "line": 124, "column": 27 } } @@ -109462,15 +111441,15 @@ "binop": null, "updateContext": null }, - "start": 4193, - "end": 4194, + "start": 4453, + "end": 4454, "loc": { "start": { - "line": 118, + "line": 124, "column": 27 }, "end": { - "line": 118, + "line": 124, "column": 28 } } @@ -109488,15 +111467,15 @@ "binop": null }, "value": "controlBar", - "start": 4194, - "end": 4204, + "start": 4454, + "end": 4464, "loc": { "start": { - "line": 118, + "line": 124, "column": 28 }, "end": { - "line": 118, + "line": 124, "column": 38 } } @@ -109514,15 +111493,15 @@ "binop": null, "updateContext": null }, - "start": 4204, - "end": 4205, + "start": 4464, + "end": 4465, "loc": { "start": { - "line": 118, + "line": 124, "column": 38 }, "end": { - "line": 118, + "line": 124, "column": 39 } } @@ -109540,15 +111519,15 @@ "binop": null }, "value": "playToggle", - "start": 4205, - "end": 4215, + "start": 4465, + "end": 4475, "loc": { "start": { - "line": 118, + "line": 124, "column": 39 }, "end": { - "line": 118, + "line": 124, "column": 49 } } @@ -109567,15 +111546,15 @@ "updateContext": null }, "value": "!==", - "start": 4216, - "end": 4219, + "start": 4476, + "end": 4479, "loc": { "start": { - "line": 118, + "line": 124, "column": 50 }, "end": { - "line": 118, + "line": 124, "column": 53 } } @@ -109593,15 +111572,15 @@ "binop": null }, "value": "undefined", - "start": 4220, - "end": 4229, + "start": 4480, + "end": 4489, "loc": { "start": { - "line": 118, + "line": 124, "column": 54 }, "end": { - "line": 118, + "line": 124, "column": 63 } } @@ -109618,15 +111597,15 @@ "postfix": false, "binop": null }, - "start": 4229, - "end": 4230, + "start": 4489, + "end": 4490, "loc": { "start": { - "line": 118, + "line": 124, "column": 63 }, "end": { - "line": 118, + "line": 124, "column": 64 } } @@ -109643,15 +111622,15 @@ "postfix": false, "binop": null }, - "start": 4231, - "end": 4232, + "start": 4491, + "end": 4492, "loc": { "start": { - "line": 118, + "line": 124, "column": 65 }, "end": { - "line": 118, + "line": 124, "column": 66 } } @@ -109659,15 +111638,15 @@ { "type": "CommentLine", "value": " handle play toggle interaction", - "start": 4249, - "end": 4282, + "start": 4509, + "end": 4542, "loc": { "start": { - "line": 119, + "line": 125, "column": 16 }, "end": { - "line": 119, + "line": 125, "column": 49 } } @@ -109687,15 +111666,15 @@ "updateContext": null }, "value": "this", - "start": 4299, - "end": 4303, + "start": 4559, + "end": 4563, "loc": { "start": { - "line": 120, + "line": 126, "column": 16 }, "end": { - "line": 120, + "line": 126, "column": 20 } } @@ -109713,15 +111692,15 @@ "binop": null, "updateContext": null }, - "start": 4303, - "end": 4304, + "start": 4563, + "end": 4564, "loc": { "start": { - "line": 120, + "line": 126, "column": 20 }, "end": { - "line": 120, + "line": 126, "column": 21 } } @@ -109739,15 +111718,15 @@ "binop": null }, "value": "player", - "start": 4304, - "end": 4310, + "start": 4564, + "end": 4570, "loc": { "start": { - "line": 120, + "line": 126, "column": 21 }, "end": { - "line": 120, + "line": 126, "column": 27 } } @@ -109765,15 +111744,15 @@ "binop": null, "updateContext": null }, - "start": 4310, - "end": 4311, + "start": 4570, + "end": 4571, "loc": { "start": { - "line": 120, + "line": 126, "column": 27 }, "end": { - "line": 120, + "line": 126, "column": 28 } } @@ -109791,15 +111770,15 @@ "binop": null }, "value": "controlBar", - "start": 4311, - "end": 4321, + "start": 4571, + "end": 4581, "loc": { "start": { - "line": 120, + "line": 126, "column": 28 }, "end": { - "line": 120, + "line": 126, "column": 38 } } @@ -109817,15 +111796,15 @@ "binop": null, "updateContext": null }, - "start": 4321, - "end": 4322, + "start": 4581, + "end": 4582, "loc": { "start": { - "line": 120, + "line": 126, "column": 38 }, "end": { - "line": 120, + "line": 126, "column": 39 } } @@ -109843,15 +111822,15 @@ "binop": null }, "value": "playToggle", - "start": 4322, - "end": 4332, + "start": 4582, + "end": 4592, "loc": { "start": { - "line": 120, + "line": 126, "column": 39 }, "end": { - "line": 120, + "line": 126, "column": 49 } } @@ -109869,15 +111848,15 @@ "binop": null, "updateContext": null }, - "start": 4332, - "end": 4333, + "start": 4592, + "end": 4593, "loc": { "start": { - "line": 120, + "line": 126, "column": 49 }, "end": { - "line": 120, + "line": 126, "column": 50 } } @@ -109895,15 +111874,15 @@ "binop": null }, "value": "on", - "start": 4333, - "end": 4335, + "start": 4593, + "end": 4595, "loc": { "start": { - "line": 120, + "line": 126, "column": 50 }, "end": { - "line": 120, + "line": 126, "column": 52 } } @@ -109920,15 +111899,15 @@ "postfix": false, "binop": null }, - "start": 4335, - "end": 4336, + "start": 4595, + "end": 4596, "loc": { "start": { - "line": 120, + "line": 126, "column": 52 }, "end": { - "line": 120, + "line": 126, "column": 53 } } @@ -109946,15 +111925,15 @@ "binop": null, "updateContext": null }, - "start": 4336, - "end": 4337, + "start": 4596, + "end": 4597, "loc": { "start": { - "line": 120, + "line": 126, "column": 53 }, "end": { - "line": 120, + "line": 126, "column": 54 } } @@ -109973,15 +111952,15 @@ "updateContext": null }, "value": "tap", - "start": 4337, - "end": 4342, + "start": 4597, + "end": 4602, "loc": { "start": { - "line": 120, + "line": 126, "column": 54 }, "end": { - "line": 120, + "line": 126, "column": 59 } } @@ -109999,15 +111978,15 @@ "binop": null, "updateContext": null }, - "start": 4342, - "end": 4343, + "start": 4602, + "end": 4603, "loc": { "start": { - "line": 120, + "line": 126, "column": 59 }, "end": { - "line": 120, + "line": 126, "column": 60 } } @@ -110026,15 +112005,15 @@ "updateContext": null }, "value": "click", - "start": 4344, - "end": 4351, + "start": 4604, + "end": 4611, "loc": { "start": { - "line": 120, + "line": 126, "column": 61 }, "end": { - "line": 120, + "line": 126, "column": 68 } } @@ -110052,15 +112031,15 @@ "binop": null, "updateContext": null }, - "start": 4351, - "end": 4352, + "start": 4611, + "end": 4612, "loc": { "start": { - "line": 120, + "line": 126, "column": 68 }, "end": { - "line": 120, + "line": 126, "column": 69 } } @@ -110078,15 +112057,15 @@ "binop": null, "updateContext": null }, - "start": 4352, - "end": 4353, + "start": 4612, + "end": 4613, "loc": { "start": { - "line": 120, + "line": 126, "column": 69 }, "end": { - "line": 120, + "line": 126, "column": 70 } } @@ -110106,15 +112085,15 @@ "updateContext": null }, "value": "this", - "start": 4374, - "end": 4378, + "start": 4634, + "end": 4638, "loc": { "start": { - "line": 121, + "line": 127, "column": 20 }, "end": { - "line": 121, + "line": 127, "column": 24 } } @@ -110132,15 +112111,15 @@ "binop": null, "updateContext": null }, - "start": 4378, - "end": 4379, + "start": 4638, + "end": 4639, "loc": { "start": { - "line": 121, + "line": 127, "column": 24 }, "end": { - "line": 121, + "line": 127, "column": 25 } } @@ -110158,15 +112137,15 @@ "binop": null }, "value": "onPlayToggle", - "start": 4379, - "end": 4391, + "start": 4639, + "end": 4651, "loc": { "start": { - "line": 121, + "line": 127, "column": 25 }, "end": { - "line": 121, + "line": 127, "column": 37 } } @@ -110184,15 +112163,15 @@ "binop": null, "updateContext": null }, - "start": 4391, - "end": 4392, + "start": 4651, + "end": 4652, "loc": { "start": { - "line": 121, + "line": 127, "column": 37 }, "end": { - "line": 121, + "line": 127, "column": 38 } } @@ -110210,15 +112189,15 @@ "binop": null }, "value": "bind", - "start": 4392, - "end": 4396, + "start": 4652, + "end": 4656, "loc": { "start": { - "line": 121, + "line": 127, "column": 38 }, "end": { - "line": 121, + "line": 127, "column": 42 } } @@ -110235,15 +112214,15 @@ "postfix": false, "binop": null }, - "start": 4396, - "end": 4397, + "start": 4656, + "end": 4657, "loc": { "start": { - "line": 121, + "line": 127, "column": 42 }, "end": { - "line": 121, + "line": 127, "column": 43 } } @@ -110263,15 +112242,15 @@ "updateContext": null }, "value": "this", - "start": 4397, - "end": 4401, + "start": 4657, + "end": 4661, "loc": { "start": { - "line": 121, + "line": 127, "column": 43 }, "end": { - "line": 121, + "line": 127, "column": 47 } } @@ -110288,15 +112267,15 @@ "postfix": false, "binop": null }, - "start": 4401, - "end": 4402, + "start": 4661, + "end": 4662, "loc": { "start": { - "line": 121, + "line": 127, "column": 47 }, "end": { - "line": 121, + "line": 127, "column": 48 } } @@ -110313,15 +112292,15 @@ "postfix": false, "binop": null }, - "start": 4402, - "end": 4403, + "start": 4662, + "end": 4663, "loc": { "start": { - "line": 121, + "line": 127, "column": 48 }, "end": { - "line": 121, + "line": 127, "column": 49 } } @@ -110339,15 +112318,15 @@ "binop": null, "updateContext": null }, - "start": 4403, - "end": 4404, + "start": 4663, + "end": 4664, "loc": { "start": { - "line": 121, + "line": 127, "column": 49 }, "end": { - "line": 121, + "line": 127, "column": 50 } } @@ -110355,15 +112334,15 @@ { "type": "CommentLine", "value": " disable play button until waveform is ready", - "start": 4422, - "end": 4468, + "start": 4682, + "end": 4728, "loc": { "start": { - "line": 123, + "line": 129, "column": 16 }, "end": { - "line": 123, + "line": 129, "column": 62 } } @@ -110383,15 +112362,15 @@ "updateContext": null }, "value": "this", - "start": 4485, - "end": 4489, + "start": 4745, + "end": 4749, "loc": { "start": { - "line": 124, + "line": 130, "column": 16 }, "end": { - "line": 124, + "line": 130, "column": 20 } } @@ -110409,15 +112388,15 @@ "binop": null, "updateContext": null }, - "start": 4489, - "end": 4490, + "start": 4749, + "end": 4750, "loc": { "start": { - "line": 124, + "line": 130, "column": 20 }, "end": { - "line": 124, + "line": 130, "column": 21 } } @@ -110435,15 +112414,15 @@ "binop": null }, "value": "player", - "start": 4490, - "end": 4496, + "start": 4750, + "end": 4756, "loc": { "start": { - "line": 124, + "line": 130, "column": 21 }, "end": { - "line": 124, + "line": 130, "column": 27 } } @@ -110461,15 +112440,15 @@ "binop": null, "updateContext": null }, - "start": 4496, - "end": 4497, + "start": 4756, + "end": 4757, "loc": { "start": { - "line": 124, + "line": 130, "column": 27 }, "end": { - "line": 124, + "line": 130, "column": 28 } } @@ -110487,15 +112466,15 @@ "binop": null }, "value": "controlBar", - "start": 4497, - "end": 4507, + "start": 4757, + "end": 4767, "loc": { "start": { - "line": 124, + "line": 130, "column": 28 }, "end": { - "line": 124, + "line": 130, "column": 38 } } @@ -110513,15 +112492,15 @@ "binop": null, "updateContext": null }, - "start": 4507, - "end": 4508, + "start": 4767, + "end": 4768, "loc": { "start": { - "line": 124, + "line": 130, "column": 38 }, "end": { - "line": 124, + "line": 130, "column": 39 } } @@ -110539,15 +112518,15 @@ "binop": null }, "value": "playToggle", - "start": 4508, - "end": 4518, + "start": 4768, + "end": 4778, "loc": { "start": { - "line": 124, + "line": 130, "column": 39 }, "end": { - "line": 124, + "line": 130, "column": 49 } } @@ -110565,15 +112544,15 @@ "binop": null, "updateContext": null }, - "start": 4518, - "end": 4519, + "start": 4778, + "end": 4779, "loc": { "start": { - "line": 124, + "line": 130, "column": 49 }, "end": { - "line": 124, + "line": 130, "column": 50 } } @@ -110591,15 +112570,15 @@ "binop": null }, "value": "hide", - "start": 4519, - "end": 4523, + "start": 4779, + "end": 4783, "loc": { "start": { - "line": 124, + "line": 130, "column": 50 }, "end": { - "line": 124, + "line": 130, "column": 54 } } @@ -110616,15 +112595,15 @@ "postfix": false, "binop": null }, - "start": 4523, - "end": 4524, + "start": 4783, + "end": 4784, "loc": { "start": { - "line": 124, + "line": 130, "column": 54 }, "end": { - "line": 124, + "line": 130, "column": 55 } } @@ -110641,15 +112620,15 @@ "postfix": false, "binop": null }, - "start": 4524, - "end": 4525, + "start": 4784, + "end": 4785, "loc": { "start": { - "line": 124, + "line": 130, "column": 55 }, "end": { - "line": 124, + "line": 130, "column": 56 } } @@ -110667,15 +112646,15 @@ "binop": null, "updateContext": null }, - "start": 4525, - "end": 4526, + "start": 4785, + "end": 4786, "loc": { "start": { - "line": 124, + "line": 130, "column": 56 }, "end": { - "line": 124, + "line": 130, "column": 57 } } @@ -110692,15 +112671,15 @@ "postfix": false, "binop": null }, - "start": 4539, - "end": 4540, + "start": 4799, + "end": 4800, "loc": { "start": { - "line": 125, + "line": 131, "column": 12 }, "end": { - "line": 125, + "line": 131, "column": 13 } } @@ -110717,15 +112696,15 @@ "postfix": false, "binop": null }, - "start": 4549, - "end": 4550, + "start": 4809, + "end": 4810, "loc": { "start": { - "line": 126, + "line": 132, "column": 8 }, "end": { - "line": 126, + "line": 132, "column": 9 } } @@ -110733,15 +112712,15 @@ { "type": "CommentLine", "value": " wavesurfer.js setup", - "start": 4560, - "end": 4582, + "start": 4820, + "end": 4842, "loc": { "start": { - "line": 128, + "line": 134, "column": 8 }, "end": { - "line": 128, + "line": 134, "column": 30 } } @@ -110761,15 +112740,15 @@ "updateContext": null }, "value": "this", - "start": 4591, - "end": 4595, + "start": 4851, + "end": 4855, "loc": { "start": { - "line": 129, + "line": 135, "column": 8 }, "end": { - "line": 129, + "line": 135, "column": 12 } } @@ -110787,15 +112766,15 @@ "binop": null, "updateContext": null }, - "start": 4595, - "end": 4596, + "start": 4855, + "end": 4856, "loc": { "start": { - "line": 129, + "line": 135, "column": 12 }, "end": { - "line": 129, + "line": 135, "column": 13 } } @@ -110813,15 +112792,15 @@ "binop": null }, "value": "surfer", - "start": 4596, - "end": 4602, + "start": 4856, + "end": 4862, "loc": { "start": { - "line": 129, + "line": 135, "column": 13 }, "end": { - "line": 129, + "line": 135, "column": 19 } } @@ -110840,15 +112819,15 @@ "updateContext": null }, "value": "=", - "start": 4603, - "end": 4604, + "start": 4863, + "end": 4864, "loc": { "start": { - "line": 129, + "line": 135, "column": 20 }, "end": { - "line": 129, + "line": 135, "column": 21 } } @@ -110866,15 +112845,15 @@ "binop": null }, "value": "WaveSurfer", - "start": 4605, - "end": 4615, + "start": 4865, + "end": 4875, "loc": { "start": { - "line": 129, + "line": 135, "column": 22 }, "end": { - "line": 129, + "line": 135, "column": 32 } } @@ -110892,15 +112871,15 @@ "binop": null, "updateContext": null }, - "start": 4615, - "end": 4616, + "start": 4875, + "end": 4876, "loc": { "start": { - "line": 129, + "line": 135, "column": 32 }, "end": { - "line": 129, + "line": 135, "column": 33 } } @@ -110918,15 +112897,15 @@ "binop": null }, "value": "create", - "start": 4616, - "end": 4622, + "start": 4876, + "end": 4882, "loc": { "start": { - "line": 129, + "line": 135, "column": 33 }, "end": { - "line": 129, + "line": 135, "column": 39 } } @@ -110943,15 +112922,15 @@ "postfix": false, "binop": null }, - "start": 4622, - "end": 4623, + "start": 4882, + "end": 4883, "loc": { "start": { - "line": 129, + "line": 135, "column": 39 }, "end": { - "line": 129, + "line": 135, "column": 40 } } @@ -110969,15 +112948,15 @@ "binop": null }, "value": "mergedOptions", - "start": 4623, - "end": 4636, + "start": 4883, + "end": 4896, "loc": { "start": { - "line": 129, + "line": 135, "column": 40 }, "end": { - "line": 129, + "line": 135, "column": 53 } } @@ -110994,15 +112973,15 @@ "postfix": false, "binop": null }, - "start": 4636, - "end": 4637, + "start": 4896, + "end": 4897, "loc": { "start": { - "line": 129, + "line": 135, "column": 53 }, "end": { - "line": 129, + "line": 135, "column": 54 } } @@ -111020,15 +112999,15 @@ "binop": null, "updateContext": null }, - "start": 4637, - "end": 4638, + "start": 4897, + "end": 4898, "loc": { "start": { - "line": 129, + "line": 135, "column": 54 }, "end": { - "line": 129, + "line": 135, "column": 55 } } @@ -111048,15 +113027,15 @@ "updateContext": null }, "value": "this", - "start": 4647, - "end": 4651, + "start": 4907, + "end": 4911, "loc": { "start": { - "line": 130, + "line": 136, "column": 8 }, "end": { - "line": 130, + "line": 136, "column": 12 } } @@ -111074,15 +113053,15 @@ "binop": null, "updateContext": null }, - "start": 4651, - "end": 4652, + "start": 4911, + "end": 4912, "loc": { "start": { - "line": 130, + "line": 136, "column": 12 }, "end": { - "line": 130, + "line": 136, "column": 13 } } @@ -111100,15 +113079,15 @@ "binop": null }, "value": "surfer", - "start": 4652, - "end": 4658, + "start": 4912, + "end": 4918, "loc": { "start": { - "line": 130, + "line": 136, "column": 13 }, "end": { - "line": 130, + "line": 136, "column": 19 } } @@ -111126,15 +113105,15 @@ "binop": null, "updateContext": null }, - "start": 4658, - "end": 4659, + "start": 4918, + "end": 4919, "loc": { "start": { - "line": 130, + "line": 136, "column": 19 }, "end": { - "line": 130, + "line": 136, "column": 20 } } @@ -111152,15 +113131,15 @@ "binop": null }, "value": "on", - "start": 4659, - "end": 4661, + "start": 4919, + "end": 4921, "loc": { "start": { - "line": 130, + "line": 136, "column": 20 }, "end": { - "line": 130, + "line": 136, "column": 22 } } @@ -111177,15 +113156,15 @@ "postfix": false, "binop": null }, - "start": 4661, - "end": 4662, + "start": 4921, + "end": 4922, "loc": { "start": { - "line": 130, + "line": 136, "column": 22 }, "end": { - "line": 130, + "line": 136, "column": 23 } } @@ -111203,15 +113182,15 @@ "binop": null }, "value": "Event", - "start": 4662, - "end": 4667, + "start": 4922, + "end": 4927, "loc": { "start": { - "line": 130, + "line": 136, "column": 23 }, "end": { - "line": 130, + "line": 136, "column": 28 } } @@ -111229,15 +113208,15 @@ "binop": null, "updateContext": null }, - "start": 4667, - "end": 4668, + "start": 4927, + "end": 4928, "loc": { "start": { - "line": 130, + "line": 136, "column": 28 }, "end": { - "line": 130, + "line": 136, "column": 29 } } @@ -111255,15 +113234,15 @@ "binop": null }, "value": "ERROR", - "start": 4668, - "end": 4673, + "start": 4928, + "end": 4933, "loc": { "start": { - "line": 130, + "line": 136, "column": 29 }, "end": { - "line": 130, + "line": 136, "column": 34 } } @@ -111281,15 +113260,15 @@ "binop": null, "updateContext": null }, - "start": 4673, - "end": 4674, + "start": 4933, + "end": 4934, "loc": { "start": { - "line": 130, + "line": 136, "column": 34 }, "end": { - "line": 130, + "line": 136, "column": 35 } } @@ -111309,15 +113288,15 @@ "updateContext": null }, "value": "this", - "start": 4675, - "end": 4679, + "start": 4935, + "end": 4939, "loc": { "start": { - "line": 130, + "line": 136, "column": 36 }, "end": { - "line": 130, + "line": 136, "column": 40 } } @@ -111335,15 +113314,15 @@ "binop": null, "updateContext": null }, - "start": 4679, - "end": 4680, + "start": 4939, + "end": 4940, "loc": { "start": { - "line": 130, + "line": 136, "column": 40 }, "end": { - "line": 130, + "line": 136, "column": 41 } } @@ -111361,15 +113340,15 @@ "binop": null }, "value": "onWaveError", - "start": 4680, - "end": 4691, + "start": 4940, + "end": 4951, "loc": { "start": { - "line": 130, + "line": 136, "column": 41 }, "end": { - "line": 130, + "line": 136, "column": 52 } } @@ -111387,15 +113366,15 @@ "binop": null, "updateContext": null }, - "start": 4691, - "end": 4692, + "start": 4951, + "end": 4952, "loc": { "start": { - "line": 130, + "line": 136, "column": 52 }, "end": { - "line": 130, + "line": 136, "column": 53 } } @@ -111413,15 +113392,15 @@ "binop": null }, "value": "bind", - "start": 4692, - "end": 4696, + "start": 4952, + "end": 4956, "loc": { "start": { - "line": 130, + "line": 136, "column": 53 }, "end": { - "line": 130, + "line": 136, "column": 57 } } @@ -111438,15 +113417,15 @@ "postfix": false, "binop": null }, - "start": 4696, - "end": 4697, + "start": 4956, + "end": 4957, "loc": { "start": { - "line": 130, + "line": 136, "column": 57 }, "end": { - "line": 130, + "line": 136, "column": 58 } } @@ -111466,15 +113445,15 @@ "updateContext": null }, "value": "this", - "start": 4697, - "end": 4701, + "start": 4957, + "end": 4961, "loc": { "start": { - "line": 130, + "line": 136, "column": 58 }, "end": { - "line": 130, + "line": 136, "column": 62 } } @@ -111491,15 +113470,15 @@ "postfix": false, "binop": null }, - "start": 4701, - "end": 4702, + "start": 4961, + "end": 4962, "loc": { "start": { - "line": 130, + "line": 136, "column": 62 }, "end": { - "line": 130, + "line": 136, "column": 63 } } @@ -111516,15 +113495,15 @@ "postfix": false, "binop": null }, - "start": 4702, - "end": 4703, + "start": 4962, + "end": 4963, "loc": { "start": { - "line": 130, + "line": 136, "column": 63 }, "end": { - "line": 130, + "line": 136, "column": 64 } } @@ -111542,15 +113521,15 @@ "binop": null, "updateContext": null }, - "start": 4703, - "end": 4704, + "start": 4963, + "end": 4964, "loc": { "start": { - "line": 130, + "line": 136, "column": 64 }, "end": { - "line": 130, + "line": 136, "column": 65 } } @@ -111570,15 +113549,15 @@ "updateContext": null }, "value": "this", - "start": 4713, - "end": 4717, + "start": 4973, + "end": 4977, "loc": { "start": { - "line": 131, + "line": 137, "column": 8 }, "end": { - "line": 131, + "line": 137, "column": 12 } } @@ -111596,15 +113575,15 @@ "binop": null, "updateContext": null }, - "start": 4717, - "end": 4718, + "start": 4977, + "end": 4978, "loc": { "start": { - "line": 131, + "line": 137, "column": 12 }, "end": { - "line": 131, + "line": 137, "column": 13 } } @@ -111622,15 +113601,15 @@ "binop": null }, "value": "surfer", - "start": 4718, - "end": 4724, + "start": 4978, + "end": 4984, "loc": { "start": { - "line": 131, + "line": 137, "column": 13 }, "end": { - "line": 131, + "line": 137, "column": 19 } } @@ -111648,15 +113627,15 @@ "binop": null, "updateContext": null }, - "start": 4724, - "end": 4725, + "start": 4984, + "end": 4985, "loc": { "start": { - "line": 131, + "line": 137, "column": 19 }, "end": { - "line": 131, + "line": 137, "column": 20 } } @@ -111674,15 +113653,15 @@ "binop": null }, "value": "on", - "start": 4725, - "end": 4727, + "start": 4985, + "end": 4987, "loc": { "start": { - "line": 131, + "line": 137, "column": 20 }, "end": { - "line": 131, + "line": 137, "column": 22 } } @@ -111699,15 +113678,15 @@ "postfix": false, "binop": null }, - "start": 4727, - "end": 4728, + "start": 4987, + "end": 4988, "loc": { "start": { - "line": 131, + "line": 137, "column": 22 }, "end": { - "line": 131, + "line": 137, "column": 23 } } @@ -111725,15 +113704,15 @@ "binop": null }, "value": "Event", - "start": 4728, - "end": 4733, + "start": 4988, + "end": 4993, "loc": { "start": { - "line": 131, + "line": 137, "column": 23 }, "end": { - "line": 131, + "line": 137, "column": 28 } } @@ -111751,15 +113730,15 @@ "binop": null, "updateContext": null }, - "start": 4733, - "end": 4734, + "start": 4993, + "end": 4994, "loc": { "start": { - "line": 131, + "line": 137, "column": 28 }, "end": { - "line": 131, + "line": 137, "column": 29 } } @@ -111777,15 +113756,15 @@ "binop": null }, "value": "FINISH", - "start": 4734, - "end": 4740, + "start": 4994, + "end": 5000, "loc": { "start": { - "line": 131, + "line": 137, "column": 29 }, "end": { - "line": 131, + "line": 137, "column": 35 } } @@ -111803,15 +113782,15 @@ "binop": null, "updateContext": null }, - "start": 4740, - "end": 4741, + "start": 5000, + "end": 5001, "loc": { "start": { - "line": 131, + "line": 137, "column": 35 }, "end": { - "line": 131, + "line": 137, "column": 36 } } @@ -111831,15 +113810,15 @@ "updateContext": null }, "value": "this", - "start": 4742, - "end": 4746, + "start": 5002, + "end": 5006, "loc": { "start": { - "line": 131, + "line": 137, "column": 37 }, "end": { - "line": 131, + "line": 137, "column": 41 } } @@ -111857,15 +113836,15 @@ "binop": null, "updateContext": null }, - "start": 4746, - "end": 4747, + "start": 5006, + "end": 5007, "loc": { "start": { - "line": 131, + "line": 137, "column": 41 }, "end": { - "line": 131, + "line": 137, "column": 42 } } @@ -111883,15 +113862,15 @@ "binop": null }, "value": "onWaveFinish", - "start": 4747, - "end": 4759, + "start": 5007, + "end": 5019, "loc": { "start": { - "line": 131, + "line": 137, "column": 42 }, "end": { - "line": 131, + "line": 137, "column": 54 } } @@ -111909,15 +113888,15 @@ "binop": null, "updateContext": null }, - "start": 4759, - "end": 4760, + "start": 5019, + "end": 5020, "loc": { "start": { - "line": 131, + "line": 137, "column": 54 }, "end": { - "line": 131, + "line": 137, "column": 55 } } @@ -111935,15 +113914,15 @@ "binop": null }, "value": "bind", - "start": 4760, - "end": 4764, + "start": 5020, + "end": 5024, "loc": { "start": { - "line": 131, + "line": 137, "column": 55 }, "end": { - "line": 131, + "line": 137, "column": 59 } } @@ -111960,15 +113939,15 @@ "postfix": false, "binop": null }, - "start": 4764, - "end": 4765, + "start": 5024, + "end": 5025, "loc": { "start": { - "line": 131, + "line": 137, "column": 59 }, "end": { - "line": 131, + "line": 137, "column": 60 } } @@ -111988,15 +113967,15 @@ "updateContext": null }, "value": "this", - "start": 4765, - "end": 4769, + "start": 5025, + "end": 5029, "loc": { "start": { - "line": 131, + "line": 137, "column": 60 }, "end": { - "line": 131, + "line": 137, "column": 64 } } @@ -112013,15 +113992,15 @@ "postfix": false, "binop": null }, - "start": 4769, - "end": 4770, + "start": 5029, + "end": 5030, "loc": { "start": { - "line": 131, + "line": 137, "column": 64 }, "end": { - "line": 131, + "line": 137, "column": 65 } } @@ -112038,15 +114017,15 @@ "postfix": false, "binop": null }, - "start": 4770, - "end": 4771, + "start": 5030, + "end": 5031, "loc": { "start": { - "line": 131, + "line": 137, "column": 65 }, "end": { - "line": 131, + "line": 137, "column": 66 } } @@ -112064,15 +114043,15 @@ "binop": null, "updateContext": null }, - "start": 4771, - "end": 4772, + "start": 5031, + "end": 5032, "loc": { "start": { - "line": 131, + "line": 137, "column": 66 }, "end": { - "line": 131, + "line": 137, "column": 67 } } @@ -112092,15 +114071,15 @@ "updateContext": null }, "value": "this", - "start": 4781, - "end": 4785, + "start": 5041, + "end": 5045, "loc": { "start": { - "line": 132, + "line": 138, "column": 8 }, "end": { - "line": 132, + "line": 138, "column": 12 } } @@ -112118,15 +114097,15 @@ "binop": null, "updateContext": null }, - "start": 4785, - "end": 4786, + "start": 5045, + "end": 5046, "loc": { "start": { - "line": 132, + "line": 138, "column": 12 }, "end": { - "line": 132, + "line": 138, "column": 13 } } @@ -112144,15 +114123,15 @@ "binop": null }, "value": "backend", - "start": 4786, - "end": 4793, + "start": 5046, + "end": 5053, "loc": { "start": { - "line": 132, + "line": 138, "column": 13 }, "end": { - "line": 132, + "line": 138, "column": 20 } } @@ -112171,15 +114150,15 @@ "updateContext": null }, "value": "=", - "start": 4794, - "end": 4795, + "start": 5054, + "end": 5055, "loc": { "start": { - "line": 132, + "line": 138, "column": 21 }, "end": { - "line": 132, + "line": 138, "column": 22 } } @@ -112199,15 +114178,15 @@ "updateContext": null }, "value": "this", - "start": 4796, - "end": 4800, + "start": 5056, + "end": 5060, "loc": { "start": { - "line": 132, + "line": 138, "column": 23 }, "end": { - "line": 132, + "line": 138, "column": 27 } } @@ -112225,15 +114204,15 @@ "binop": null, "updateContext": null }, - "start": 4800, - "end": 4801, + "start": 5060, + "end": 5061, "loc": { "start": { - "line": 132, + "line": 138, "column": 27 }, "end": { - "line": 132, + "line": 138, "column": 28 } } @@ -112251,15 +114230,15 @@ "binop": null }, "value": "surfer", - "start": 4801, - "end": 4807, + "start": 5061, + "end": 5067, "loc": { "start": { - "line": 132, + "line": 138, "column": 28 }, "end": { - "line": 132, + "line": 138, "column": 34 } } @@ -112277,15 +114256,15 @@ "binop": null, "updateContext": null }, - "start": 4807, - "end": 4808, + "start": 5067, + "end": 5068, "loc": { "start": { - "line": 132, + "line": 138, "column": 34 }, "end": { - "line": 132, + "line": 138, "column": 35 } } @@ -112303,15 +114282,15 @@ "binop": null }, "value": "params", - "start": 4808, - "end": 4814, + "start": 5068, + "end": 5074, "loc": { "start": { - "line": 132, + "line": 138, "column": 35 }, "end": { - "line": 132, + "line": 138, "column": 41 } } @@ -112329,15 +114308,15 @@ "binop": null, "updateContext": null }, - "start": 4814, - "end": 4815, + "start": 5074, + "end": 5075, "loc": { "start": { - "line": 132, + "line": 138, "column": 41 }, "end": { - "line": 132, + "line": 138, "column": 42 } } @@ -112355,15 +114334,15 @@ "binop": null }, "value": "backend", - "start": 4815, - "end": 4822, + "start": 5075, + "end": 5082, "loc": { "start": { - "line": 132, + "line": 138, "column": 42 }, "end": { - "line": 132, + "line": 138, "column": 49 } } @@ -112381,15 +114360,15 @@ "binop": null, "updateContext": null }, - "start": 4822, - "end": 4823, + "start": 5082, + "end": 5083, "loc": { "start": { - "line": 132, + "line": 138, "column": 49 }, "end": { - "line": 132, + "line": 138, "column": 50 } } @@ -112409,15 +114388,15 @@ "updateContext": null }, "value": "this", - "start": 4832, - "end": 4836, + "start": 5092, + "end": 5096, "loc": { "start": { - "line": 133, + "line": 139, "column": 8 }, "end": { - "line": 133, + "line": 139, "column": 12 } } @@ -112435,15 +114414,15 @@ "binop": null, "updateContext": null }, - "start": 4836, - "end": 4837, + "start": 5096, + "end": 5097, "loc": { "start": { - "line": 133, + "line": 139, "column": 12 }, "end": { - "line": 133, + "line": 139, "column": 13 } } @@ -112461,15 +114440,15 @@ "binop": null }, "value": "log", - "start": 4837, - "end": 4840, + "start": 5097, + "end": 5100, "loc": { "start": { - "line": 133, + "line": 139, "column": 13 }, "end": { - "line": 133, + "line": 139, "column": 16 } } @@ -112486,15 +114465,15 @@ "postfix": false, "binop": null }, - "start": 4840, - "end": 4841, + "start": 5100, + "end": 5101, "loc": { "start": { - "line": 133, + "line": 139, "column": 16 }, "end": { - "line": 133, + "line": 139, "column": 17 } } @@ -112513,15 +114492,15 @@ "updateContext": null }, "value": "Using wavesurfer.js ", - "start": 4841, - "end": 4863, + "start": 5101, + "end": 5123, "loc": { "start": { - "line": 133, + "line": 139, "column": 17 }, "end": { - "line": 133, + "line": 139, "column": 39 } } @@ -112540,15 +114519,15 @@ "updateContext": null }, "value": "+", - "start": 4864, - "end": 4865, + "start": 5124, + "end": 5125, "loc": { "start": { - "line": 133, + "line": 139, "column": 40 }, "end": { - "line": 133, + "line": 139, "column": 41 } } @@ -112568,15 +114547,15 @@ "updateContext": null }, "value": "this", - "start": 4866, - "end": 4870, + "start": 5126, + "end": 5130, "loc": { "start": { - "line": 133, + "line": 139, "column": 42 }, "end": { - "line": 133, + "line": 139, "column": 46 } } @@ -112594,15 +114573,15 @@ "binop": null, "updateContext": null }, - "start": 4870, - "end": 4871, + "start": 5130, + "end": 5131, "loc": { "start": { - "line": 133, + "line": 139, "column": 46 }, "end": { - "line": 133, + "line": 139, "column": 47 } } @@ -112620,15 +114599,15 @@ "binop": null }, "value": "backend", - "start": 4871, - "end": 4878, + "start": 5131, + "end": 5138, "loc": { "start": { - "line": 133, + "line": 139, "column": 47 }, "end": { - "line": 133, + "line": 139, "column": 54 } } @@ -112647,15 +114626,15 @@ "updateContext": null }, "value": "+", - "start": 4879, - "end": 4880, + "start": 5139, + "end": 5140, "loc": { "start": { - "line": 133, + "line": 139, "column": 55 }, "end": { - "line": 133, + "line": 139, "column": 56 } } @@ -112674,15 +114653,15 @@ "updateContext": null }, "value": " backend.", - "start": 4881, - "end": 4892, + "start": 5141, + "end": 5152, "loc": { "start": { - "line": 133, + "line": 139, "column": 57 }, "end": { - "line": 133, + "line": 139, "column": 68 } } @@ -112699,15 +114678,15 @@ "postfix": false, "binop": null }, - "start": 4892, - "end": 4893, + "start": 5152, + "end": 5153, "loc": { "start": { - "line": 133, + "line": 139, "column": 68 }, "end": { - "line": 133, + "line": 139, "column": 69 } } @@ -112725,15 +114704,15 @@ "binop": null, "updateContext": null }, - "start": 4893, - "end": 4894, + "start": 5153, + "end": 5154, "loc": { "start": { - "line": 133, + "line": 139, "column": 69 }, "end": { - "line": 133, + "line": 139, "column": 70 } } @@ -112741,15 +114720,15 @@ { "type": "CommentLine", "value": " check if the wavesurfer.js microphone plugin is enabled", - "start": 4904, - "end": 4962, + "start": 5164, + "end": 5222, "loc": { "start": { - "line": 135, + "line": 141, "column": 8 }, "end": { - "line": 135, + "line": 141, "column": 66 } } @@ -112769,15 +114748,15 @@ "updateContext": null }, "value": "if", - "start": 4971, - "end": 4973, + "start": 5231, + "end": 5233, "loc": { "start": { - "line": 136, + "line": 142, "column": 8 }, "end": { - "line": 136, + "line": 142, "column": 10 } } @@ -112794,15 +114773,15 @@ "postfix": false, "binop": null }, - "start": 4974, - "end": 4975, + "start": 5234, + "end": 5235, "loc": { "start": { - "line": 136, + "line": 142, "column": 11 }, "end": { - "line": 136, + "line": 142, "column": 12 } } @@ -112821,15 +114800,15 @@ "updateContext": null }, "value": "microphone", - "start": 4975, - "end": 4987, + "start": 5235, + "end": 5247, "loc": { "start": { - "line": 136, + "line": 142, "column": 12 }, "end": { - "line": 136, + "line": 142, "column": 24 } } @@ -112849,15 +114828,15 @@ "updateContext": null }, "value": "in", - "start": 4988, - "end": 4990, + "start": 5248, + "end": 5250, "loc": { "start": { - "line": 136, + "line": 142, "column": 25 }, "end": { - "line": 136, + "line": 142, "column": 27 } } @@ -112877,15 +114856,15 @@ "updateContext": null }, "value": "this", - "start": 4991, - "end": 4995, + "start": 5251, + "end": 5255, "loc": { "start": { - "line": 136, + "line": 142, "column": 28 }, "end": { - "line": 136, + "line": 142, "column": 32 } } @@ -112903,15 +114882,15 @@ "binop": null, "updateContext": null }, - "start": 4995, - "end": 4996, + "start": 5255, + "end": 5256, "loc": { "start": { - "line": 136, + "line": 142, "column": 32 }, "end": { - "line": 136, + "line": 142, "column": 33 } } @@ -112929,15 +114908,15 @@ "binop": null }, "value": "player", - "start": 4996, - "end": 5002, + "start": 5256, + "end": 5262, "loc": { "start": { - "line": 136, + "line": 142, "column": 33 }, "end": { - "line": 136, + "line": 142, "column": 39 } } @@ -112955,15 +114934,15 @@ "binop": null, "updateContext": null }, - "start": 5002, - "end": 5003, + "start": 5262, + "end": 5263, "loc": { "start": { - "line": 136, + "line": 142, "column": 39 }, "end": { - "line": 136, + "line": 142, "column": 40 } } @@ -112981,15 +114960,15 @@ "binop": null }, "value": "wavesurfer", - "start": 5003, - "end": 5013, + "start": 5263, + "end": 5273, "loc": { "start": { - "line": 136, + "line": 142, "column": 40 }, "end": { - "line": 136, + "line": 142, "column": 50 } } @@ -113006,15 +114985,15 @@ "postfix": false, "binop": null }, - "start": 5013, - "end": 5014, + "start": 5273, + "end": 5274, "loc": { "start": { - "line": 136, + "line": 142, "column": 50 }, "end": { - "line": 136, + "line": 142, "column": 51 } } @@ -113031,15 +115010,15 @@ "postfix": false, "binop": null }, - "start": 5014, - "end": 5015, + "start": 5274, + "end": 5275, "loc": { "start": { - "line": 136, + "line": 142, "column": 51 }, "end": { - "line": 136, + "line": 142, "column": 52 } } @@ -113057,15 +115036,15 @@ "binop": null, "updateContext": null }, - "start": 5015, - "end": 5016, + "start": 5275, + "end": 5276, "loc": { "start": { - "line": 136, + "line": 142, "column": 52 }, "end": { - "line": 136, + "line": 142, "column": 53 } } @@ -113083,15 +115062,15 @@ "binop": null }, "value": "surfer", - "start": 5016, - "end": 5022, + "start": 5276, + "end": 5282, "loc": { "start": { - "line": 136, + "line": 142, "column": 53 }, "end": { - "line": 136, + "line": 142, "column": 59 } } @@ -113109,15 +115088,15 @@ "binop": null, "updateContext": null }, - "start": 5022, - "end": 5023, + "start": 5282, + "end": 5283, "loc": { "start": { - "line": 136, + "line": 142, "column": 59 }, "end": { - "line": 136, + "line": 142, "column": 60 } } @@ -113135,15 +115114,15 @@ "binop": null }, "value": "getActivePlugins", - "start": 5023, - "end": 5039, + "start": 5283, + "end": 5299, "loc": { "start": { - "line": 136, + "line": 142, "column": 60 }, "end": { - "line": 136, + "line": 142, "column": 76 } } @@ -113160,15 +115139,15 @@ "postfix": false, "binop": null }, - "start": 5039, - "end": 5040, + "start": 5299, + "end": 5300, "loc": { "start": { - "line": 136, + "line": 142, "column": 76 }, "end": { - "line": 136, + "line": 142, "column": 77 } } @@ -113185,15 +115164,15 @@ "postfix": false, "binop": null }, - "start": 5040, - "end": 5041, + "start": 5300, + "end": 5301, "loc": { "start": { - "line": 136, + "line": 142, "column": 77 }, "end": { - "line": 136, + "line": 142, "column": 78 } } @@ -113210,15 +115189,15 @@ "postfix": false, "binop": null }, - "start": 5041, - "end": 5042, + "start": 5301, + "end": 5302, "loc": { "start": { - "line": 136, + "line": 142, "column": 78 }, "end": { - "line": 136, + "line": 142, "column": 79 } } @@ -113235,15 +115214,15 @@ "postfix": false, "binop": null }, - "start": 5043, - "end": 5044, + "start": 5303, + "end": 5304, "loc": { "start": { - "line": 136, + "line": 142, "column": 80 }, "end": { - "line": 136, + "line": 142, "column": 81 } } @@ -113251,15 +115230,15 @@ { "type": "CommentLine", "value": " enable audio input from a microphone", - "start": 5057, - "end": 5096, + "start": 5317, + "end": 5356, "loc": { "start": { - "line": 137, + "line": 143, "column": 12 }, "end": { - "line": 137, + "line": 143, "column": 51 } } @@ -113279,15 +115258,15 @@ "updateContext": null }, "value": "this", - "start": 5109, - "end": 5113, + "start": 5369, + "end": 5373, "loc": { "start": { - "line": 138, + "line": 144, "column": 12 }, "end": { - "line": 138, + "line": 144, "column": 16 } } @@ -113305,15 +115284,15 @@ "binop": null, "updateContext": null }, - "start": 5113, - "end": 5114, + "start": 5373, + "end": 5374, "loc": { "start": { - "line": 138, + "line": 144, "column": 16 }, "end": { - "line": 138, + "line": 144, "column": 17 } } @@ -113331,15 +115310,15 @@ "binop": null }, "value": "liveMode", - "start": 5114, - "end": 5122, + "start": 5374, + "end": 5382, "loc": { "start": { - "line": 138, + "line": 144, "column": 17 }, "end": { - "line": 138, + "line": 144, "column": 25 } } @@ -113358,15 +115337,15 @@ "updateContext": null }, "value": "=", - "start": 5123, - "end": 5124, + "start": 5383, + "end": 5384, "loc": { "start": { - "line": 138, + "line": 144, "column": 26 }, "end": { - "line": 138, + "line": 144, "column": 27 } } @@ -113386,15 +115365,15 @@ "updateContext": null }, "value": "true", - "start": 5125, - "end": 5129, + "start": 5385, + "end": 5389, "loc": { "start": { - "line": 138, + "line": 144, "column": 28 }, "end": { - "line": 138, + "line": 144, "column": 32 } } @@ -113412,15 +115391,15 @@ "binop": null, "updateContext": null }, - "start": 5129, - "end": 5130, + "start": 5389, + "end": 5390, "loc": { "start": { - "line": 138, + "line": 144, "column": 32 }, "end": { - "line": 138, + "line": 144, "column": 33 } } @@ -113440,15 +115419,15 @@ "updateContext": null }, "value": "this", - "start": 5143, - "end": 5147, + "start": 5403, + "end": 5407, "loc": { "start": { - "line": 139, + "line": 145, "column": 12 }, "end": { - "line": 139, + "line": 145, "column": 16 } } @@ -113466,15 +115445,15 @@ "binop": null, "updateContext": null }, - "start": 5147, - "end": 5148, + "start": 5407, + "end": 5408, "loc": { "start": { - "line": 139, + "line": 145, "column": 16 }, "end": { - "line": 139, + "line": 145, "column": 17 } } @@ -113492,15 +115471,15 @@ "binop": null }, "value": "waveReady", - "start": 5148, - "end": 5157, + "start": 5408, + "end": 5417, "loc": { "start": { - "line": 139, + "line": 145, "column": 17 }, "end": { - "line": 139, + "line": 145, "column": 26 } } @@ -113519,15 +115498,15 @@ "updateContext": null }, "value": "=", - "start": 5158, - "end": 5159, + "start": 5418, + "end": 5419, "loc": { "start": { - "line": 139, + "line": 145, "column": 27 }, "end": { - "line": 139, + "line": 145, "column": 28 } } @@ -113547,15 +115526,15 @@ "updateContext": null }, "value": "true", - "start": 5160, - "end": 5164, + "start": 5420, + "end": 5424, "loc": { "start": { - "line": 139, + "line": 145, "column": 29 }, "end": { - "line": 139, + "line": 145, "column": 33 } } @@ -113573,15 +115552,15 @@ "binop": null, "updateContext": null }, - "start": 5164, - "end": 5165, + "start": 5424, + "end": 5425, "loc": { "start": { - "line": 139, + "line": 145, "column": 33 }, "end": { - "line": 139, + "line": 145, "column": 34 } } @@ -113601,15 +115580,15 @@ "updateContext": null }, "value": "this", - "start": 5178, - "end": 5182, + "start": 5438, + "end": 5442, "loc": { "start": { - "line": 140, + "line": 146, "column": 12 }, "end": { - "line": 140, + "line": 146, "column": 16 } } @@ -113627,15 +115606,15 @@ "binop": null, "updateContext": null }, - "start": 5182, - "end": 5183, + "start": 5442, + "end": 5443, "loc": { "start": { - "line": 140, + "line": 146, "column": 16 }, "end": { - "line": 140, + "line": 146, "column": 17 } } @@ -113653,15 +115632,15 @@ "binop": null }, "value": "log", - "start": 5183, - "end": 5186, + "start": 5443, + "end": 5446, "loc": { "start": { - "line": 140, + "line": 146, "column": 17 }, "end": { - "line": 140, + "line": 146, "column": 20 } } @@ -113678,15 +115657,15 @@ "postfix": false, "binop": null }, - "start": 5186, - "end": 5187, + "start": 5446, + "end": 5447, "loc": { "start": { - "line": 140, + "line": 146, "column": 20 }, "end": { - "line": 140, + "line": 146, "column": 21 } } @@ -113705,15 +115684,15 @@ "updateContext": null }, "value": "wavesurfer.js microphone plugin enabled.", - "start": 5187, - "end": 5229, + "start": 5447, + "end": 5489, "loc": { "start": { - "line": 140, + "line": 146, "column": 21 }, "end": { - "line": 140, + "line": 146, "column": 63 } } @@ -113730,15 +115709,15 @@ "postfix": false, "binop": null }, - "start": 5229, - "end": 5230, + "start": 5489, + "end": 5490, "loc": { "start": { - "line": 140, + "line": 146, "column": 63 }, "end": { - "line": 140, + "line": 146, "column": 64 } } @@ -113756,15 +115735,15 @@ "binop": null, "updateContext": null }, - "start": 5230, - "end": 5231, + "start": 5490, + "end": 5491, "loc": { "start": { - "line": 140, + "line": 146, "column": 64 }, "end": { - "line": 140, + "line": 146, "column": 65 } } @@ -113772,15 +115751,15 @@ { "type": "CommentLine", "value": " in live mode, show play button at startup", - "start": 5245, - "end": 5289, + "start": 5505, + "end": 5549, "loc": { "start": { - "line": 142, + "line": 148, "column": 12 }, "end": { - "line": 142, + "line": 148, "column": 56 } } @@ -113800,15 +115779,15 @@ "updateContext": null }, "value": "this", - "start": 5302, - "end": 5306, + "start": 5562, + "end": 5566, "loc": { "start": { - "line": 143, + "line": 149, "column": 12 }, "end": { - "line": 143, + "line": 149, "column": 16 } } @@ -113826,15 +115805,15 @@ "binop": null, "updateContext": null }, - "start": 5306, - "end": 5307, + "start": 5566, + "end": 5567, "loc": { "start": { - "line": 143, + "line": 149, "column": 16 }, "end": { - "line": 143, + "line": 149, "column": 17 } } @@ -113852,15 +115831,15 @@ "binop": null }, "value": "player", - "start": 5307, - "end": 5313, + "start": 5567, + "end": 5573, "loc": { "start": { - "line": 143, + "line": 149, "column": 17 }, "end": { - "line": 143, + "line": 149, "column": 23 } } @@ -113878,15 +115857,15 @@ "binop": null, "updateContext": null }, - "start": 5313, - "end": 5314, + "start": 5573, + "end": 5574, "loc": { "start": { - "line": 143, + "line": 149, "column": 23 }, "end": { - "line": 143, + "line": 149, "column": 24 } } @@ -113904,15 +115883,15 @@ "binop": null }, "value": "controlBar", - "start": 5314, - "end": 5324, + "start": 5574, + "end": 5584, "loc": { "start": { - "line": 143, + "line": 149, "column": 24 }, "end": { - "line": 143, + "line": 149, "column": 34 } } @@ -113930,15 +115909,15 @@ "binop": null, "updateContext": null }, - "start": 5324, - "end": 5325, + "start": 5584, + "end": 5585, "loc": { "start": { - "line": 143, + "line": 149, "column": 34 }, "end": { - "line": 143, + "line": 149, "column": 35 } } @@ -113956,15 +115935,15 @@ "binop": null }, "value": "playToggle", - "start": 5325, - "end": 5335, + "start": 5585, + "end": 5595, "loc": { "start": { - "line": 143, + "line": 149, "column": 35 }, "end": { - "line": 143, + "line": 149, "column": 45 } } @@ -113982,15 +115961,15 @@ "binop": null, "updateContext": null }, - "start": 5335, - "end": 5336, + "start": 5595, + "end": 5596, "loc": { "start": { - "line": 143, + "line": 149, "column": 45 }, "end": { - "line": 143, + "line": 149, "column": 46 } } @@ -114008,15 +115987,15 @@ "binop": null }, "value": "show", - "start": 5336, - "end": 5340, + "start": 5596, + "end": 5600, "loc": { "start": { - "line": 143, + "line": 149, "column": 46 }, "end": { - "line": 143, + "line": 149, "column": 50 } } @@ -114033,15 +116012,15 @@ "postfix": false, "binop": null }, - "start": 5340, - "end": 5341, + "start": 5600, + "end": 5601, "loc": { "start": { - "line": 143, + "line": 149, "column": 50 }, "end": { - "line": 143, + "line": 149, "column": 51 } } @@ -114058,15 +116037,15 @@ "postfix": false, "binop": null }, - "start": 5341, - "end": 5342, + "start": 5601, + "end": 5602, "loc": { "start": { - "line": 143, + "line": 149, "column": 51 }, "end": { - "line": 143, + "line": 149, "column": 52 } } @@ -114084,15 +116063,15 @@ "binop": null, "updateContext": null }, - "start": 5342, - "end": 5343, + "start": 5602, + "end": 5603, "loc": { "start": { - "line": 143, + "line": 149, "column": 52 }, "end": { - "line": 143, + "line": 149, "column": 53 } } @@ -114100,15 +116079,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js microphone plugin events", - "start": 5357, - "end": 5409, + "start": 5617, + "end": 5669, "loc": { "start": { - "line": 145, + "line": 151, "column": 12 }, "end": { - "line": 145, + "line": 151, "column": 64 } } @@ -114128,15 +116107,15 @@ "updateContext": null }, "value": "this", - "start": 5422, - "end": 5426, + "start": 5682, + "end": 5686, "loc": { "start": { - "line": 146, + "line": 152, "column": 12 }, "end": { - "line": 146, + "line": 152, "column": 16 } } @@ -114154,15 +116133,15 @@ "binop": null, "updateContext": null }, - "start": 5426, - "end": 5427, + "start": 5686, + "end": 5687, "loc": { "start": { - "line": 146, + "line": 152, "column": 16 }, "end": { - "line": 146, + "line": 152, "column": 17 } } @@ -114180,15 +116159,15 @@ "binop": null }, "value": "surfer", - "start": 5427, - "end": 5433, + "start": 5687, + "end": 5693, "loc": { "start": { - "line": 146, + "line": 152, "column": 17 }, "end": { - "line": 146, + "line": 152, "column": 23 } } @@ -114206,15 +116185,15 @@ "binop": null, "updateContext": null }, - "start": 5433, - "end": 5434, + "start": 5693, + "end": 5694, "loc": { "start": { - "line": 146, + "line": 152, "column": 23 }, "end": { - "line": 146, + "line": 152, "column": 24 } } @@ -114232,15 +116211,15 @@ "binop": null }, "value": "microphone", - "start": 5434, - "end": 5444, + "start": 5694, + "end": 5704, "loc": { "start": { - "line": 146, + "line": 152, "column": 24 }, "end": { - "line": 146, + "line": 152, "column": 34 } } @@ -114258,15 +116237,15 @@ "binop": null, "updateContext": null }, - "start": 5444, - "end": 5445, + "start": 5704, + "end": 5705, "loc": { "start": { - "line": 146, + "line": 152, "column": 34 }, "end": { - "line": 146, + "line": 152, "column": 35 } } @@ -114284,15 +116263,15 @@ "binop": null }, "value": "on", - "start": 5445, - "end": 5447, + "start": 5705, + "end": 5707, "loc": { "start": { - "line": 146, + "line": 152, "column": 35 }, "end": { - "line": 146, + "line": 152, "column": 37 } } @@ -114309,15 +116288,15 @@ "postfix": false, "binop": null }, - "start": 5447, - "end": 5448, + "start": 5707, + "end": 5708, "loc": { "start": { - "line": 146, + "line": 152, "column": 37 }, "end": { - "line": 146, + "line": 152, "column": 38 } } @@ -114335,15 +116314,15 @@ "binop": null }, "value": "Event", - "start": 5448, - "end": 5453, + "start": 5708, + "end": 5713, "loc": { "start": { - "line": 146, + "line": 152, "column": 38 }, "end": { - "line": 146, + "line": 152, "column": 43 } } @@ -114361,15 +116340,15 @@ "binop": null, "updateContext": null }, - "start": 5453, - "end": 5454, + "start": 5713, + "end": 5714, "loc": { "start": { - "line": 146, + "line": 152, "column": 43 }, "end": { - "line": 146, + "line": 152, "column": 44 } } @@ -114387,15 +116366,15 @@ "binop": null }, "value": "DEVICE_ERROR", - "start": 5454, - "end": 5466, + "start": 5714, + "end": 5726, "loc": { "start": { - "line": 146, + "line": 152, "column": 44 }, "end": { - "line": 146, + "line": 152, "column": 56 } } @@ -114413,15 +116392,15 @@ "binop": null, "updateContext": null }, - "start": 5466, - "end": 5467, + "start": 5726, + "end": 5727, "loc": { "start": { - "line": 146, + "line": 152, "column": 56 }, "end": { - "line": 146, + "line": 152, "column": 57 } } @@ -114441,15 +116420,15 @@ "updateContext": null }, "value": "this", - "start": 5484, - "end": 5488, + "start": 5744, + "end": 5748, "loc": { "start": { - "line": 147, + "line": 153, "column": 16 }, "end": { - "line": 147, + "line": 153, "column": 20 } } @@ -114467,15 +116446,15 @@ "binop": null, "updateContext": null }, - "start": 5488, - "end": 5489, + "start": 5748, + "end": 5749, "loc": { "start": { - "line": 147, + "line": 153, "column": 20 }, "end": { - "line": 147, + "line": 153, "column": 21 } } @@ -114493,15 +116472,15 @@ "binop": null }, "value": "onWaveError", - "start": 5489, - "end": 5500, + "start": 5749, + "end": 5760, "loc": { "start": { - "line": 147, + "line": 153, "column": 21 }, "end": { - "line": 147, + "line": 153, "column": 32 } } @@ -114519,15 +116498,15 @@ "binop": null, "updateContext": null }, - "start": 5500, - "end": 5501, + "start": 5760, + "end": 5761, "loc": { "start": { - "line": 147, + "line": 153, "column": 32 }, "end": { - "line": 147, + "line": 153, "column": 33 } } @@ -114545,15 +116524,15 @@ "binop": null }, "value": "bind", - "start": 5501, - "end": 5505, + "start": 5761, + "end": 5765, "loc": { "start": { - "line": 147, + "line": 153, "column": 33 }, "end": { - "line": 147, + "line": 153, "column": 37 } } @@ -114570,15 +116549,15 @@ "postfix": false, "binop": null }, - "start": 5505, - "end": 5506, + "start": 5765, + "end": 5766, "loc": { "start": { - "line": 147, + "line": 153, "column": 37 }, "end": { - "line": 147, + "line": 153, "column": 38 } } @@ -114598,15 +116577,15 @@ "updateContext": null }, "value": "this", - "start": 5506, - "end": 5510, + "start": 5766, + "end": 5770, "loc": { "start": { - "line": 147, + "line": 153, "column": 38 }, "end": { - "line": 147, + "line": 153, "column": 42 } } @@ -114623,15 +116602,15 @@ "postfix": false, "binop": null }, - "start": 5510, - "end": 5511, + "start": 5770, + "end": 5771, "loc": { "start": { - "line": 147, + "line": 153, "column": 42 }, "end": { - "line": 147, + "line": 153, "column": 43 } } @@ -114648,15 +116627,15 @@ "postfix": false, "binop": null }, - "start": 5511, - "end": 5512, + "start": 5771, + "end": 5772, "loc": { "start": { - "line": 147, + "line": 153, "column": 43 }, "end": { - "line": 147, + "line": 153, "column": 44 } } @@ -114674,15 +116653,15 @@ "binop": null, "updateContext": null }, - "start": 5512, - "end": 5513, + "start": 5772, + "end": 5773, "loc": { "start": { - "line": 147, + "line": 153, "column": 44 }, "end": { - "line": 147, + "line": 153, "column": 45 } } @@ -114699,15 +116678,15 @@ "postfix": false, "binop": null }, - "start": 5522, - "end": 5523, + "start": 5782, + "end": 5783, "loc": { "start": { - "line": 148, + "line": 154, "column": 8 }, "end": { - "line": 148, + "line": 154, "column": 9 } } @@ -114715,15 +116694,15 @@ { "type": "CommentLine", "value": " listen for wavesurfer.js events", - "start": 5533, - "end": 5567, + "start": 5793, + "end": 5827, "loc": { "start": { - "line": 150, + "line": 156, "column": 8 }, "end": { - "line": 150, + "line": 156, "column": 42 } } @@ -114743,15 +116722,15 @@ "updateContext": null }, "value": "this", - "start": 5576, - "end": 5580, + "start": 5836, + "end": 5840, "loc": { "start": { - "line": 151, + "line": 157, "column": 8 }, "end": { - "line": 151, + "line": 157, "column": 12 } } @@ -114769,15 +116748,15 @@ "binop": null, "updateContext": null }, - "start": 5580, - "end": 5581, + "start": 5840, + "end": 5841, "loc": { "start": { - "line": 151, + "line": 157, "column": 12 }, "end": { - "line": 151, + "line": 157, "column": 13 } } @@ -114795,15 +116774,15 @@ "binop": null }, "value": "surferReady", - "start": 5581, - "end": 5592, + "start": 5841, + "end": 5852, "loc": { "start": { - "line": 151, + "line": 157, "column": 13 }, "end": { - "line": 151, + "line": 157, "column": 24 } } @@ -114822,15 +116801,15 @@ "updateContext": null }, "value": "=", - "start": 5593, - "end": 5594, + "start": 5853, + "end": 5854, "loc": { "start": { - "line": 151, + "line": 157, "column": 25 }, "end": { - "line": 151, + "line": 157, "column": 26 } } @@ -114850,15 +116829,15 @@ "updateContext": null }, "value": "this", - "start": 5595, - "end": 5599, + "start": 5855, + "end": 5859, "loc": { "start": { - "line": 151, + "line": 157, "column": 27 }, "end": { - "line": 151, + "line": 157, "column": 31 } } @@ -114876,15 +116855,15 @@ "binop": null, "updateContext": null }, - "start": 5599, - "end": 5600, + "start": 5859, + "end": 5860, "loc": { "start": { - "line": 151, + "line": 157, "column": 31 }, "end": { - "line": 151, + "line": 157, "column": 32 } } @@ -114902,15 +116881,15 @@ "binop": null }, "value": "onWaveReady", - "start": 5600, - "end": 5611, + "start": 5860, + "end": 5871, "loc": { "start": { - "line": 151, + "line": 157, "column": 32 }, "end": { - "line": 151, + "line": 157, "column": 43 } } @@ -114928,15 +116907,15 @@ "binop": null, "updateContext": null }, - "start": 5611, - "end": 5612, + "start": 5871, + "end": 5872, "loc": { "start": { - "line": 151, + "line": 157, "column": 43 }, "end": { - "line": 151, + "line": 157, "column": 44 } } @@ -114954,15 +116933,15 @@ "binop": null }, "value": "bind", - "start": 5612, - "end": 5616, + "start": 5872, + "end": 5876, "loc": { "start": { - "line": 151, + "line": 157, "column": 44 }, "end": { - "line": 151, + "line": 157, "column": 48 } } @@ -114979,15 +116958,15 @@ "postfix": false, "binop": null }, - "start": 5616, - "end": 5617, + "start": 5876, + "end": 5877, "loc": { "start": { - "line": 151, + "line": 157, "column": 48 }, "end": { - "line": 151, + "line": 157, "column": 49 } } @@ -115007,15 +116986,15 @@ "updateContext": null }, "value": "this", - "start": 5617, - "end": 5621, + "start": 5877, + "end": 5881, "loc": { "start": { - "line": 151, + "line": 157, "column": 49 }, "end": { - "line": 151, + "line": 157, "column": 53 } } @@ -115032,15 +117011,15 @@ "postfix": false, "binop": null }, - "start": 5621, - "end": 5622, + "start": 5881, + "end": 5882, "loc": { "start": { - "line": 151, + "line": 157, "column": 53 }, "end": { - "line": 151, + "line": 157, "column": 54 } } @@ -115058,15 +117037,15 @@ "binop": null, "updateContext": null }, - "start": 5622, - "end": 5623, + "start": 5882, + "end": 5883, "loc": { "start": { - "line": 151, + "line": 157, "column": 54 }, "end": { - "line": 151, + "line": 157, "column": 55 } } @@ -115086,15 +117065,15 @@ "updateContext": null }, "value": "if", - "start": 5632, - "end": 5634, + "start": 5892, + "end": 5894, "loc": { "start": { - "line": 152, + "line": 158, "column": 8 }, "end": { - "line": 152, + "line": 158, "column": 10 } } @@ -115111,15 +117090,15 @@ "postfix": false, "binop": null }, - "start": 5635, - "end": 5636, + "start": 5895, + "end": 5896, "loc": { "start": { - "line": 152, + "line": 158, "column": 11 }, "end": { - "line": 152, + "line": 158, "column": 12 } } @@ -115139,15 +117118,15 @@ "updateContext": null }, "value": "this", - "start": 5636, - "end": 5640, + "start": 5896, + "end": 5900, "loc": { "start": { - "line": 152, + "line": 158, "column": 12 }, "end": { - "line": 152, + "line": 158, "column": 16 } } @@ -115165,15 +117144,15 @@ "binop": null, "updateContext": null }, - "start": 5640, - "end": 5641, + "start": 5900, + "end": 5901, "loc": { "start": { - "line": 152, + "line": 158, "column": 16 }, "end": { - "line": 152, + "line": 158, "column": 17 } } @@ -115191,15 +117170,15 @@ "binop": null }, "value": "backend", - "start": 5641, - "end": 5648, + "start": 5901, + "end": 5908, "loc": { "start": { - "line": 152, + "line": 158, "column": 17 }, "end": { - "line": 152, + "line": 158, "column": 24 } } @@ -115218,15 +117197,15 @@ "updateContext": null }, "value": "===", - "start": 5649, - "end": 5652, + "start": 5909, + "end": 5912, "loc": { "start": { - "line": 152, + "line": 158, "column": 25 }, "end": { - "line": 152, + "line": 158, "column": 28 } } @@ -115244,15 +117223,15 @@ "binop": null }, "value": "WEBAUDIO", - "start": 5653, - "end": 5661, + "start": 5913, + "end": 5921, "loc": { "start": { - "line": 152, + "line": 158, "column": 29 }, "end": { - "line": 152, + "line": 158, "column": 37 } } @@ -115269,15 +117248,15 @@ "postfix": false, "binop": null }, - "start": 5661, - "end": 5662, + "start": 5921, + "end": 5922, "loc": { "start": { - "line": 152, + "line": 158, "column": 37 }, "end": { - "line": 152, + "line": 158, "column": 38 } } @@ -115294,15 +117273,15 @@ "postfix": false, "binop": null }, - "start": 5663, - "end": 5664, + "start": 5923, + "end": 5924, "loc": { "start": { - "line": 152, + "line": 158, "column": 39 }, "end": { - "line": 152, + "line": 158, "column": 40 } } @@ -115322,15 +117301,15 @@ "updateContext": null }, "value": "this", - "start": 5677, - "end": 5681, + "start": 5937, + "end": 5941, "loc": { "start": { - "line": 153, + "line": 159, "column": 12 }, "end": { - "line": 153, + "line": 159, "column": 16 } } @@ -115348,15 +117327,15 @@ "binop": null, "updateContext": null }, - "start": 5681, - "end": 5682, + "start": 5941, + "end": 5942, "loc": { "start": { - "line": 153, + "line": 159, "column": 16 }, "end": { - "line": 153, + "line": 159, "column": 17 } } @@ -115374,15 +117353,15 @@ "binop": null }, "value": "surferProgress", - "start": 5682, - "end": 5696, + "start": 5942, + "end": 5956, "loc": { "start": { - "line": 153, + "line": 159, "column": 17 }, "end": { - "line": 153, + "line": 159, "column": 31 } } @@ -115401,15 +117380,15 @@ "updateContext": null }, "value": "=", - "start": 5697, - "end": 5698, + "start": 5957, + "end": 5958, "loc": { "start": { - "line": 153, + "line": 159, "column": 32 }, "end": { - "line": 153, + "line": 159, "column": 33 } } @@ -115429,15 +117408,15 @@ "updateContext": null }, "value": "this", - "start": 5699, - "end": 5703, + "start": 5959, + "end": 5963, "loc": { "start": { - "line": 153, + "line": 159, "column": 34 }, "end": { - "line": 153, + "line": 159, "column": 38 } } @@ -115455,15 +117434,15 @@ "binop": null, "updateContext": null }, - "start": 5703, - "end": 5704, + "start": 5963, + "end": 5964, "loc": { "start": { - "line": 153, + "line": 159, "column": 38 }, "end": { - "line": 153, + "line": 159, "column": 39 } } @@ -115481,15 +117460,15 @@ "binop": null }, "value": "onWaveProgress", - "start": 5704, - "end": 5718, + "start": 5964, + "end": 5978, "loc": { "start": { - "line": 153, + "line": 159, "column": 39 }, "end": { - "line": 153, + "line": 159, "column": 53 } } @@ -115507,15 +117486,15 @@ "binop": null, "updateContext": null }, - "start": 5718, - "end": 5719, + "start": 5978, + "end": 5979, "loc": { "start": { - "line": 153, + "line": 159, "column": 53 }, "end": { - "line": 153, + "line": 159, "column": 54 } } @@ -115533,15 +117512,15 @@ "binop": null }, "value": "bind", - "start": 5719, - "end": 5723, + "start": 5979, + "end": 5983, "loc": { "start": { - "line": 153, + "line": 159, "column": 54 }, "end": { - "line": 153, + "line": 159, "column": 58 } } @@ -115558,15 +117537,15 @@ "postfix": false, "binop": null }, - "start": 5723, - "end": 5724, + "start": 5983, + "end": 5984, "loc": { "start": { - "line": 153, + "line": 159, "column": 58 }, "end": { - "line": 153, + "line": 159, "column": 59 } } @@ -115586,15 +117565,15 @@ "updateContext": null }, "value": "this", - "start": 5724, - "end": 5728, + "start": 5984, + "end": 5988, "loc": { "start": { - "line": 153, + "line": 159, "column": 59 }, "end": { - "line": 153, + "line": 159, "column": 63 } } @@ -115611,15 +117590,15 @@ "postfix": false, "binop": null }, - "start": 5728, - "end": 5729, + "start": 5988, + "end": 5989, "loc": { "start": { - "line": 153, + "line": 159, "column": 63 }, "end": { - "line": 153, + "line": 159, "column": 64 } } @@ -115637,15 +117616,15 @@ "binop": null, "updateContext": null }, - "start": 5729, - "end": 5730, + "start": 5989, + "end": 5990, "loc": { "start": { - "line": 153, + "line": 159, "column": 64 }, "end": { - "line": 153, + "line": 159, "column": 65 } } @@ -115665,15 +117644,15 @@ "updateContext": null }, "value": "this", - "start": 5743, - "end": 5747, + "start": 6003, + "end": 6007, "loc": { "start": { - "line": 154, + "line": 160, "column": 12 }, "end": { - "line": 154, + "line": 160, "column": 16 } } @@ -115691,15 +117670,15 @@ "binop": null, "updateContext": null }, - "start": 5747, - "end": 5748, + "start": 6007, + "end": 6008, "loc": { "start": { - "line": 154, + "line": 160, "column": 16 }, "end": { - "line": 154, + "line": 160, "column": 17 } } @@ -115717,15 +117696,15 @@ "binop": null }, "value": "surferSeek", - "start": 5748, - "end": 5758, + "start": 6008, + "end": 6018, "loc": { "start": { - "line": 154, + "line": 160, "column": 17 }, "end": { - "line": 154, + "line": 160, "column": 27 } } @@ -115744,15 +117723,15 @@ "updateContext": null }, "value": "=", - "start": 5759, - "end": 5760, + "start": 6019, + "end": 6020, "loc": { "start": { - "line": 154, + "line": 160, "column": 28 }, "end": { - "line": 154, + "line": 160, "column": 29 } } @@ -115772,15 +117751,15 @@ "updateContext": null }, "value": "this", - "start": 5761, - "end": 5765, + "start": 6021, + "end": 6025, "loc": { "start": { - "line": 154, + "line": 160, "column": 30 }, "end": { - "line": 154, + "line": 160, "column": 34 } } @@ -115798,15 +117777,15 @@ "binop": null, "updateContext": null }, - "start": 5765, - "end": 5766, + "start": 6025, + "end": 6026, "loc": { "start": { - "line": 154, + "line": 160, "column": 34 }, "end": { - "line": 154, + "line": 160, "column": 35 } } @@ -115824,15 +117803,15 @@ "binop": null }, "value": "onWaveSeek", - "start": 5766, - "end": 5776, + "start": 6026, + "end": 6036, "loc": { "start": { - "line": 154, + "line": 160, "column": 35 }, "end": { - "line": 154, + "line": 160, "column": 45 } } @@ -115850,15 +117829,15 @@ "binop": null, "updateContext": null }, - "start": 5776, - "end": 5777, + "start": 6036, + "end": 6037, "loc": { "start": { - "line": 154, + "line": 160, "column": 45 }, "end": { - "line": 154, + "line": 160, "column": 46 } } @@ -115876,15 +117855,15 @@ "binop": null }, "value": "bind", - "start": 5777, - "end": 5781, + "start": 6037, + "end": 6041, "loc": { "start": { - "line": 154, + "line": 160, "column": 46 }, "end": { - "line": 154, + "line": 160, "column": 50 } } @@ -115901,15 +117880,15 @@ "postfix": false, "binop": null }, - "start": 5781, - "end": 5782, + "start": 6041, + "end": 6042, "loc": { "start": { - "line": 154, + "line": 160, "column": 50 }, "end": { - "line": 154, + "line": 160, "column": 51 } } @@ -115929,15 +117908,15 @@ "updateContext": null }, "value": "this", - "start": 5782, - "end": 5786, + "start": 6042, + "end": 6046, "loc": { "start": { - "line": 154, + "line": 160, "column": 51 }, "end": { - "line": 154, + "line": 160, "column": 55 } } @@ -115954,15 +117933,15 @@ "postfix": false, "binop": null }, - "start": 5786, - "end": 5787, + "start": 6046, + "end": 6047, "loc": { "start": { - "line": 154, + "line": 160, "column": 55 }, "end": { - "line": 154, + "line": 160, "column": 56 } } @@ -115980,15 +117959,15 @@ "binop": null, "updateContext": null }, - "start": 5787, - "end": 5788, + "start": 6047, + "end": 6048, "loc": { "start": { - "line": 154, + "line": 160, "column": 56 }, "end": { - "line": 154, + "line": 160, "column": 57 } } @@ -115996,15 +117975,15 @@ { "type": "CommentLine", "value": " make sure volume is muted when requested", - "start": 5802, - "end": 5845, + "start": 6062, + "end": 6105, "loc": { "start": { - "line": 156, + "line": 162, "column": 12 }, "end": { - "line": 156, + "line": 162, "column": 55 } } @@ -116024,15 +118003,15 @@ "updateContext": null }, "value": "if", - "start": 5858, - "end": 5860, + "start": 6118, + "end": 6120, "loc": { "start": { - "line": 157, + "line": 163, "column": 12 }, "end": { - "line": 157, + "line": 163, "column": 14 } } @@ -116049,15 +118028,15 @@ "postfix": false, "binop": null }, - "start": 5861, - "end": 5862, + "start": 6121, + "end": 6122, "loc": { "start": { - "line": 157, + "line": 163, "column": 15 }, "end": { - "line": 157, + "line": 163, "column": 16 } } @@ -116077,15 +118056,15 @@ "updateContext": null }, "value": "this", - "start": 5862, - "end": 5866, + "start": 6122, + "end": 6126, "loc": { "start": { - "line": 157, + "line": 163, "column": 16 }, "end": { - "line": 157, + "line": 163, "column": 20 } } @@ -116103,15 +118082,15 @@ "binop": null, "updateContext": null }, - "start": 5866, - "end": 5867, + "start": 6126, + "end": 6127, "loc": { "start": { - "line": 157, + "line": 163, "column": 20 }, "end": { - "line": 157, + "line": 163, "column": 21 } } @@ -116129,15 +118108,15 @@ "binop": null }, "value": "player", - "start": 5867, - "end": 5873, + "start": 6127, + "end": 6133, "loc": { "start": { - "line": 157, + "line": 163, "column": 21 }, "end": { - "line": 157, + "line": 163, "column": 27 } } @@ -116155,15 +118134,15 @@ "binop": null, "updateContext": null }, - "start": 5873, - "end": 5874, + "start": 6133, + "end": 6134, "loc": { "start": { - "line": 157, + "line": 163, "column": 27 }, "end": { - "line": 157, + "line": 163, "column": 28 } } @@ -116181,15 +118160,15 @@ "binop": null }, "value": "muted", - "start": 5874, - "end": 5879, + "start": 6134, + "end": 6139, "loc": { "start": { - "line": 157, + "line": 163, "column": 28 }, "end": { - "line": 157, + "line": 163, "column": 33 } } @@ -116206,15 +118185,15 @@ "postfix": false, "binop": null }, - "start": 5879, - "end": 5880, + "start": 6139, + "end": 6140, "loc": { "start": { - "line": 157, + "line": 163, "column": 33 }, "end": { - "line": 157, + "line": 163, "column": 34 } } @@ -116231,15 +118210,15 @@ "postfix": false, "binop": null }, - "start": 5880, - "end": 5881, + "start": 6140, + "end": 6141, "loc": { "start": { - "line": 157, + "line": 163, "column": 34 }, "end": { - "line": 157, + "line": 163, "column": 35 } } @@ -116256,15 +118235,15 @@ "postfix": false, "binop": null }, - "start": 5881, - "end": 5882, + "start": 6141, + "end": 6142, "loc": { "start": { - "line": 157, + "line": 163, "column": 35 }, "end": { - "line": 157, + "line": 163, "column": 36 } } @@ -116281,15 +118260,15 @@ "postfix": false, "binop": null }, - "start": 5883, - "end": 5884, + "start": 6143, + "end": 6144, "loc": { "start": { - "line": 157, + "line": 163, "column": 37 }, "end": { - "line": 157, + "line": 163, "column": 38 } } @@ -116309,15 +118288,15 @@ "updateContext": null }, "value": "this", - "start": 5901, - "end": 5905, + "start": 6161, + "end": 6165, "loc": { "start": { - "line": 158, + "line": 164, "column": 16 }, "end": { - "line": 158, + "line": 164, "column": 20 } } @@ -116335,15 +118314,15 @@ "binop": null, "updateContext": null }, - "start": 5905, - "end": 5906, + "start": 6165, + "end": 6166, "loc": { "start": { - "line": 158, + "line": 164, "column": 20 }, "end": { - "line": 158, + "line": 164, "column": 21 } } @@ -116361,15 +118340,15 @@ "binop": null }, "value": "setVolume", - "start": 5906, - "end": 5915, + "start": 6166, + "end": 6175, "loc": { "start": { - "line": 158, + "line": 164, "column": 21 }, "end": { - "line": 158, + "line": 164, "column": 30 } } @@ -116386,15 +118365,15 @@ "postfix": false, "binop": null }, - "start": 5915, - "end": 5916, + "start": 6175, + "end": 6176, "loc": { "start": { - "line": 158, + "line": 164, "column": 30 }, "end": { - "line": 158, + "line": 164, "column": 31 } } @@ -116413,15 +118392,15 @@ "updateContext": null }, "value": 0, - "start": 5916, - "end": 5917, + "start": 6176, + "end": 6177, "loc": { "start": { - "line": 158, + "line": 164, "column": 31 }, "end": { - "line": 158, + "line": 164, "column": 32 } } @@ -116438,15 +118417,15 @@ "postfix": false, "binop": null }, - "start": 5917, - "end": 5918, + "start": 6177, + "end": 6178, "loc": { "start": { - "line": 158, + "line": 164, "column": 32 }, "end": { - "line": 158, + "line": 164, "column": 33 } } @@ -116464,15 +118443,15 @@ "binop": null, "updateContext": null }, - "start": 5918, - "end": 5919, + "start": 6178, + "end": 6179, "loc": { "start": { - "line": 158, + "line": 164, "column": 33 }, "end": { - "line": 158, + "line": 164, "column": 34 } } @@ -116489,15 +118468,15 @@ "postfix": false, "binop": null }, - "start": 5932, - "end": 5933, + "start": 6192, + "end": 6193, "loc": { "start": { - "line": 159, + "line": 165, "column": 12 }, "end": { - "line": 159, + "line": 165, "column": 13 } } @@ -116514,15 +118493,15 @@ "postfix": false, "binop": null }, - "start": 5942, - "end": 5943, + "start": 6202, + "end": 6203, "loc": { "start": { - "line": 160, + "line": 166, "column": 8 }, "end": { - "line": 160, + "line": 166, "column": 9 } } @@ -116530,15 +118509,15 @@ { "type": "CommentLine", "value": " only listen to the wavesurfer.js playback events when not", - "start": 5953, - "end": 6013, + "start": 6213, + "end": 6273, "loc": { "start": { - "line": 162, + "line": 168, "column": 8 }, "end": { - "line": 162, + "line": 168, "column": 68 } } @@ -116546,15 +118525,15 @@ { "type": "CommentLine", "value": " in live mode", - "start": 6022, - "end": 6037, + "start": 6282, + "end": 6297, "loc": { "start": { - "line": 163, + "line": 169, "column": 8 }, "end": { - "line": 163, + "line": 169, "column": 23 } } @@ -116574,15 +118553,15 @@ "updateContext": null }, "value": "if", - "start": 6046, - "end": 6048, + "start": 6306, + "end": 6308, "loc": { "start": { - "line": 164, + "line": 170, "column": 8 }, "end": { - "line": 164, + "line": 170, "column": 10 } } @@ -116599,15 +118578,15 @@ "postfix": false, "binop": null }, - "start": 6049, - "end": 6050, + "start": 6309, + "end": 6310, "loc": { "start": { - "line": 164, + "line": 170, "column": 11 }, "end": { - "line": 164, + "line": 170, "column": 12 } } @@ -116626,15 +118605,15 @@ "updateContext": null }, "value": "!", - "start": 6050, - "end": 6051, + "start": 6310, + "end": 6311, "loc": { "start": { - "line": 164, + "line": 170, "column": 12 }, "end": { - "line": 164, + "line": 170, "column": 13 } } @@ -116654,15 +118633,15 @@ "updateContext": null }, "value": "this", - "start": 6051, - "end": 6055, + "start": 6311, + "end": 6315, "loc": { "start": { - "line": 164, + "line": 170, "column": 13 }, "end": { - "line": 164, + "line": 170, "column": 17 } } @@ -116680,15 +118659,15 @@ "binop": null, "updateContext": null }, - "start": 6055, - "end": 6056, + "start": 6315, + "end": 6316, "loc": { "start": { - "line": 164, + "line": 170, "column": 17 }, "end": { - "line": 164, + "line": 170, "column": 18 } } @@ -116706,15 +118685,15 @@ "binop": null }, "value": "liveMode", - "start": 6056, - "end": 6064, + "start": 6316, + "end": 6324, "loc": { "start": { - "line": 164, + "line": 170, "column": 18 }, "end": { - "line": 164, + "line": 170, "column": 26 } } @@ -116731,15 +118710,15 @@ "postfix": false, "binop": null }, - "start": 6064, - "end": 6065, + "start": 6324, + "end": 6325, "loc": { "start": { - "line": 164, + "line": 170, "column": 26 }, "end": { - "line": 164, + "line": 170, "column": 27 } } @@ -116756,15 +118735,15 @@ "postfix": false, "binop": null }, - "start": 6066, - "end": 6067, + "start": 6326, + "end": 6327, "loc": { "start": { - "line": 164, + "line": 170, "column": 28 }, "end": { - "line": 164, + "line": 170, "column": 29 } } @@ -116784,15 +118763,15 @@ "updateContext": null }, "value": "this", - "start": 6080, - "end": 6084, + "start": 6340, + "end": 6344, "loc": { "start": { - "line": 165, + "line": 171, "column": 12 }, "end": { - "line": 165, + "line": 171, "column": 16 } } @@ -116810,15 +118789,15 @@ "binop": null, "updateContext": null }, - "start": 6084, - "end": 6085, + "start": 6344, + "end": 6345, "loc": { "start": { - "line": 165, + "line": 171, "column": 16 }, "end": { - "line": 165, + "line": 171, "column": 17 } } @@ -116836,15 +118815,15 @@ "binop": null }, "value": "setupPlaybackEvents", - "start": 6085, - "end": 6104, + "start": 6345, + "end": 6364, "loc": { "start": { - "line": 165, + "line": 171, "column": 17 }, "end": { - "line": 165, + "line": 171, "column": 36 } } @@ -116861,15 +118840,15 @@ "postfix": false, "binop": null }, - "start": 6104, - "end": 6105, + "start": 6364, + "end": 6365, "loc": { "start": { - "line": 165, + "line": 171, "column": 36 }, "end": { - "line": 165, + "line": 171, "column": 37 } } @@ -116889,15 +118868,15 @@ "updateContext": null }, "value": "true", - "start": 6105, - "end": 6109, + "start": 6365, + "end": 6369, "loc": { "start": { - "line": 165, + "line": 171, "column": 37 }, "end": { - "line": 165, + "line": 171, "column": 41 } } @@ -116914,15 +118893,15 @@ "postfix": false, "binop": null }, - "start": 6109, - "end": 6110, + "start": 6369, + "end": 6370, "loc": { "start": { - "line": 165, + "line": 171, "column": 41 }, "end": { - "line": 165, + "line": 171, "column": 42 } } @@ -116940,15 +118919,15 @@ "binop": null, "updateContext": null }, - "start": 6110, - "end": 6111, + "start": 6370, + "end": 6371, "loc": { "start": { - "line": 165, + "line": 171, "column": 42 }, "end": { - "line": 165, + "line": 171, "column": 43 } } @@ -116965,15 +118944,15 @@ "postfix": false, "binop": null }, - "start": 6120, - "end": 6121, + "start": 6380, + "end": 6381, "loc": { "start": { - "line": 166, + "line": 172, "column": 8 }, "end": { - "line": 166, + "line": 172, "column": 9 } } @@ -116981,15 +118960,15 @@ { "type": "CommentLine", "value": " video.js player events", - "start": 6131, - "end": 6156, + "start": 6391, + "end": 6416, "loc": { "start": { - "line": 168, + "line": 174, "column": 8 }, "end": { - "line": 168, + "line": 174, "column": 33 } } @@ -117009,15 +118988,15 @@ "updateContext": null }, "value": "this", - "start": 6165, - "end": 6169, + "start": 6425, + "end": 6429, "loc": { "start": { - "line": 169, + "line": 175, "column": 8 }, "end": { - "line": 169, + "line": 175, "column": 12 } } @@ -117035,15 +119014,15 @@ "binop": null, "updateContext": null }, - "start": 6169, - "end": 6170, + "start": 6429, + "end": 6430, "loc": { "start": { - "line": 169, + "line": 175, "column": 12 }, "end": { - "line": 169, + "line": 175, "column": 13 } } @@ -117061,15 +119040,15 @@ "binop": null }, "value": "player", - "start": 6170, - "end": 6176, + "start": 6430, + "end": 6436, "loc": { "start": { - "line": 169, + "line": 175, "column": 13 }, "end": { - "line": 169, + "line": 175, "column": 19 } } @@ -117087,15 +119066,15 @@ "binop": null, "updateContext": null }, - "start": 6176, - "end": 6177, + "start": 6436, + "end": 6437, "loc": { "start": { - "line": 169, + "line": 175, "column": 19 }, "end": { - "line": 169, + "line": 175, "column": 20 } } @@ -117113,15 +119092,15 @@ "binop": null }, "value": "on", - "start": 6177, - "end": 6179, + "start": 6437, + "end": 6439, "loc": { "start": { - "line": 169, + "line": 175, "column": 20 }, "end": { - "line": 169, + "line": 175, "column": 22 } } @@ -117138,15 +119117,15 @@ "postfix": false, "binop": null }, - "start": 6179, - "end": 6180, + "start": 6439, + "end": 6440, "loc": { "start": { - "line": 169, + "line": 175, "column": 22 }, "end": { - "line": 169, + "line": 175, "column": 23 } } @@ -117164,15 +119143,15 @@ "binop": null }, "value": "Event", - "start": 6180, - "end": 6185, + "start": 6440, + "end": 6445, "loc": { "start": { - "line": 169, + "line": 175, "column": 23 }, "end": { - "line": 169, + "line": 175, "column": 28 } } @@ -117190,15 +119169,15 @@ "binop": null, "updateContext": null }, - "start": 6185, - "end": 6186, + "start": 6445, + "end": 6446, "loc": { "start": { - "line": 169, + "line": 175, "column": 28 }, "end": { - "line": 169, + "line": 175, "column": 29 } } @@ -117216,15 +119195,15 @@ "binop": null }, "value": "VOLUMECHANGE", - "start": 6186, - "end": 6198, + "start": 6446, + "end": 6458, "loc": { "start": { - "line": 169, + "line": 175, "column": 29 }, "end": { - "line": 169, + "line": 175, "column": 41 } } @@ -117242,15 +119221,15 @@ "binop": null, "updateContext": null }, - "start": 6198, - "end": 6199, + "start": 6458, + "end": 6459, "loc": { "start": { - "line": 169, + "line": 175, "column": 41 }, "end": { - "line": 169, + "line": 175, "column": 42 } } @@ -117270,15 +119249,15 @@ "updateContext": null }, "value": "this", - "start": 6200, - "end": 6204, + "start": 6460, + "end": 6464, "loc": { "start": { - "line": 169, + "line": 175, "column": 43 }, "end": { - "line": 169, + "line": 175, "column": 47 } } @@ -117296,15 +119275,15 @@ "binop": null, "updateContext": null }, - "start": 6204, - "end": 6205, + "start": 6464, + "end": 6465, "loc": { "start": { - "line": 169, + "line": 175, "column": 47 }, "end": { - "line": 169, + "line": 175, "column": 48 } } @@ -117322,15 +119301,15 @@ "binop": null }, "value": "onVolumeChange", - "start": 6205, - "end": 6219, + "start": 6465, + "end": 6479, "loc": { "start": { - "line": 169, + "line": 175, "column": 48 }, "end": { - "line": 169, + "line": 175, "column": 62 } } @@ -117348,15 +119327,15 @@ "binop": null, "updateContext": null }, - "start": 6219, - "end": 6220, + "start": 6479, + "end": 6480, "loc": { "start": { - "line": 169, + "line": 175, "column": 62 }, "end": { - "line": 169, + "line": 175, "column": 63 } } @@ -117374,15 +119353,15 @@ "binop": null }, "value": "bind", - "start": 6220, - "end": 6224, + "start": 6480, + "end": 6484, "loc": { "start": { - "line": 169, + "line": 175, "column": 63 }, "end": { - "line": 169, + "line": 175, "column": 67 } } @@ -117399,15 +119378,15 @@ "postfix": false, "binop": null }, - "start": 6224, - "end": 6225, + "start": 6484, + "end": 6485, "loc": { "start": { - "line": 169, + "line": 175, "column": 67 }, "end": { - "line": 169, + "line": 175, "column": 68 } } @@ -117427,15 +119406,15 @@ "updateContext": null }, "value": "this", - "start": 6225, - "end": 6229, + "start": 6485, + "end": 6489, "loc": { "start": { - "line": 169, + "line": 175, "column": 68 }, "end": { - "line": 169, + "line": 175, "column": 72 } } @@ -117452,15 +119431,15 @@ "postfix": false, "binop": null }, - "start": 6229, - "end": 6230, + "start": 6489, + "end": 6490, "loc": { "start": { - "line": 169, + "line": 175, "column": 72 }, "end": { - "line": 169, + "line": 175, "column": 73 } } @@ -117477,15 +119456,15 @@ "postfix": false, "binop": null }, - "start": 6230, - "end": 6231, + "start": 6490, + "end": 6491, "loc": { "start": { - "line": 169, + "line": 175, "column": 73 }, "end": { - "line": 169, + "line": 175, "column": 74 } } @@ -117503,15 +119482,15 @@ "binop": null, "updateContext": null }, - "start": 6231, - "end": 6232, + "start": 6491, + "end": 6492, "loc": { "start": { - "line": 169, + "line": 175, "column": 74 }, "end": { - "line": 169, + "line": 175, "column": 75 } } @@ -117531,15 +119510,15 @@ "updateContext": null }, "value": "this", - "start": 6241, - "end": 6245, + "start": 6501, + "end": 6505, "loc": { "start": { - "line": 170, + "line": 176, "column": 8 }, "end": { - "line": 170, + "line": 176, "column": 12 } } @@ -117557,15 +119536,15 @@ "binop": null, "updateContext": null }, - "start": 6245, - "end": 6246, + "start": 6505, + "end": 6506, "loc": { "start": { - "line": 170, + "line": 176, "column": 12 }, "end": { - "line": 170, + "line": 176, "column": 13 } } @@ -117583,15 +119562,15 @@ "binop": null }, "value": "player", - "start": 6246, - "end": 6252, + "start": 6506, + "end": 6512, "loc": { "start": { - "line": 170, + "line": 176, "column": 13 }, "end": { - "line": 170, + "line": 176, "column": 19 } } @@ -117609,15 +119588,15 @@ "binop": null, "updateContext": null }, - "start": 6252, - "end": 6253, + "start": 6512, + "end": 6513, "loc": { "start": { - "line": 170, + "line": 176, "column": 19 }, "end": { - "line": 170, + "line": 176, "column": 20 } } @@ -117635,15 +119614,15 @@ "binop": null }, "value": "on", - "start": 6253, - "end": 6255, + "start": 6513, + "end": 6515, "loc": { "start": { - "line": 170, + "line": 176, "column": 20 }, "end": { - "line": 170, + "line": 176, "column": 22 } } @@ -117660,15 +119639,15 @@ "postfix": false, "binop": null }, - "start": 6255, - "end": 6256, + "start": 6515, + "end": 6516, "loc": { "start": { - "line": 170, + "line": 176, "column": 22 }, "end": { - "line": 170, + "line": 176, "column": 23 } } @@ -117686,15 +119665,15 @@ "binop": null }, "value": "Event", - "start": 6256, - "end": 6261, + "start": 6516, + "end": 6521, "loc": { "start": { - "line": 170, + "line": 176, "column": 23 }, "end": { - "line": 170, + "line": 176, "column": 28 } } @@ -117712,15 +119691,15 @@ "binop": null, "updateContext": null }, - "start": 6261, - "end": 6262, + "start": 6521, + "end": 6522, "loc": { "start": { - "line": 170, + "line": 176, "column": 28 }, "end": { - "line": 170, + "line": 176, "column": 29 } } @@ -117738,15 +119717,15 @@ "binop": null }, "value": "FULLSCREENCHANGE", - "start": 6262, - "end": 6278, + "start": 6522, + "end": 6538, "loc": { "start": { - "line": 170, + "line": 176, "column": 29 }, "end": { - "line": 170, + "line": 176, "column": 45 } } @@ -117764,15 +119743,15 @@ "binop": null, "updateContext": null }, - "start": 6278, - "end": 6279, + "start": 6538, + "end": 6539, "loc": { "start": { - "line": 170, + "line": 176, "column": 45 }, "end": { - "line": 170, + "line": 176, "column": 46 } } @@ -117792,15 +119771,15 @@ "updateContext": null }, "value": "this", - "start": 6280, - "end": 6284, + "start": 6540, + "end": 6544, "loc": { "start": { - "line": 170, + "line": 176, "column": 47 }, "end": { - "line": 170, + "line": 176, "column": 51 } } @@ -117818,15 +119797,15 @@ "binop": null, "updateContext": null }, - "start": 6284, - "end": 6285, + "start": 6544, + "end": 6545, "loc": { "start": { - "line": 170, + "line": 176, "column": 51 }, "end": { - "line": 170, + "line": 176, "column": 52 } } @@ -117844,15 +119823,15 @@ "binop": null }, "value": "onScreenChange", - "start": 6285, - "end": 6299, + "start": 6545, + "end": 6559, "loc": { "start": { - "line": 170, + "line": 176, "column": 52 }, "end": { - "line": 170, + "line": 176, "column": 66 } } @@ -117870,15 +119849,15 @@ "binop": null, "updateContext": null }, - "start": 6299, - "end": 6300, + "start": 6559, + "end": 6560, "loc": { "start": { - "line": 170, + "line": 176, "column": 66 }, "end": { - "line": 170, + "line": 176, "column": 67 } } @@ -117896,15 +119875,15 @@ "binop": null }, "value": "bind", - "start": 6300, - "end": 6304, + "start": 6560, + "end": 6564, "loc": { "start": { - "line": 170, + "line": 176, "column": 67 }, "end": { - "line": 170, + "line": 176, "column": 71 } } @@ -117921,15 +119900,15 @@ "postfix": false, "binop": null }, - "start": 6304, - "end": 6305, + "start": 6564, + "end": 6565, "loc": { "start": { - "line": 170, + "line": 176, "column": 71 }, "end": { - "line": 170, + "line": 176, "column": 72 } } @@ -117949,15 +119928,15 @@ "updateContext": null }, "value": "this", - "start": 6305, - "end": 6309, + "start": 6565, + "end": 6569, "loc": { "start": { - "line": 170, + "line": 176, "column": 72 }, "end": { - "line": 170, + "line": 176, "column": 76 } } @@ -117974,15 +119953,15 @@ "postfix": false, "binop": null }, - "start": 6309, - "end": 6310, + "start": 6569, + "end": 6570, "loc": { "start": { - "line": 170, + "line": 176, "column": 76 }, "end": { - "line": 170, + "line": 176, "column": 77 } } @@ -117999,15 +119978,15 @@ "postfix": false, "binop": null }, - "start": 6310, - "end": 6311, + "start": 6570, + "end": 6571, "loc": { "start": { - "line": 170, + "line": 176, "column": 77 }, "end": { - "line": 170, + "line": 176, "column": 78 } } @@ -118025,15 +120004,15 @@ "binop": null, "updateContext": null }, - "start": 6311, - "end": 6312, + "start": 6571, + "end": 6572, "loc": { "start": { - "line": 170, + "line": 176, "column": 78 }, "end": { - "line": 170, + "line": 176, "column": 79 } } @@ -118041,15 +120020,15 @@ { "type": "CommentLine", "value": " video.js fluid option", - "start": 6322, - "end": 6346, + "start": 6582, + "end": 6606, "loc": { "start": { - "line": 172, + "line": 178, "column": 8 }, "end": { - "line": 172, + "line": 178, "column": 32 } } @@ -118069,15 +120048,15 @@ "updateContext": null }, "value": "if", - "start": 6355, - "end": 6357, + "start": 6615, + "end": 6617, "loc": { "start": { - "line": 173, + "line": 179, "column": 8 }, "end": { - "line": 173, + "line": 179, "column": 10 } } @@ -118094,15 +120073,15 @@ "postfix": false, "binop": null }, - "start": 6358, - "end": 6359, + "start": 6618, + "end": 6619, "loc": { "start": { - "line": 173, + "line": 179, "column": 11 }, "end": { - "line": 173, + "line": 179, "column": 12 } } @@ -118122,15 +120101,15 @@ "updateContext": null }, "value": "this", - "start": 6359, - "end": 6363, + "start": 6619, + "end": 6623, "loc": { "start": { - "line": 173, + "line": 179, "column": 12 }, "end": { - "line": 173, + "line": 179, "column": 16 } } @@ -118148,15 +120127,15 @@ "binop": null, "updateContext": null }, - "start": 6363, - "end": 6364, + "start": 6623, + "end": 6624, "loc": { "start": { - "line": 173, + "line": 179, "column": 16 }, "end": { - "line": 173, + "line": 179, "column": 17 } } @@ -118174,15 +120153,15 @@ "binop": null }, "value": "player", - "start": 6364, - "end": 6370, + "start": 6624, + "end": 6630, "loc": { "start": { - "line": 173, + "line": 179, "column": 17 }, "end": { - "line": 173, + "line": 179, "column": 23 } } @@ -118200,15 +120179,15 @@ "binop": null, "updateContext": null }, - "start": 6370, - "end": 6371, + "start": 6630, + "end": 6631, "loc": { "start": { - "line": 173, + "line": 179, "column": 23 }, "end": { - "line": 173, + "line": 179, "column": 24 } } @@ -118226,15 +120205,15 @@ "binop": null }, "value": "options_", - "start": 6371, - "end": 6379, + "start": 6631, + "end": 6639, "loc": { "start": { - "line": 173, + "line": 179, "column": 24 }, "end": { - "line": 173, + "line": 179, "column": 32 } } @@ -118252,15 +120231,15 @@ "binop": null, "updateContext": null }, - "start": 6379, - "end": 6380, + "start": 6639, + "end": 6640, "loc": { "start": { - "line": 173, + "line": 179, "column": 32 }, "end": { - "line": 173, + "line": 179, "column": 33 } } @@ -118278,15 +120257,15 @@ "binop": null }, "value": "fluid", - "start": 6380, - "end": 6385, + "start": 6640, + "end": 6645, "loc": { "start": { - "line": 173, + "line": 179, "column": 33 }, "end": { - "line": 173, + "line": 179, "column": 38 } } @@ -118305,15 +120284,15 @@ "updateContext": null }, "value": "===", - "start": 6386, - "end": 6389, + "start": 6646, + "end": 6649, "loc": { "start": { - "line": 173, + "line": 179, "column": 39 }, "end": { - "line": 173, + "line": 179, "column": 42 } } @@ -118333,15 +120312,15 @@ "updateContext": null }, "value": "true", - "start": 6390, - "end": 6394, + "start": 6650, + "end": 6654, "loc": { "start": { - "line": 173, + "line": 179, "column": 43 }, "end": { - "line": 173, + "line": 179, "column": 47 } } @@ -118358,15 +120337,15 @@ "postfix": false, "binop": null }, - "start": 6394, - "end": 6395, + "start": 6654, + "end": 6655, "loc": { "start": { - "line": 173, + "line": 179, "column": 47 }, "end": { - "line": 173, + "line": 179, "column": 48 } } @@ -118383,15 +120362,15 @@ "postfix": false, "binop": null }, - "start": 6396, - "end": 6397, + "start": 6656, + "end": 6657, "loc": { "start": { - "line": 173, + "line": 179, "column": 49 }, "end": { - "line": 173, + "line": 179, "column": 50 } } @@ -118399,15 +120378,15 @@ { "type": "CommentLine", "value": " give wave element a classname so it can be styled", - "start": 6410, - "end": 6462, + "start": 6670, + "end": 6722, "loc": { "start": { - "line": 174, + "line": 180, "column": 12 }, "end": { - "line": 174, + "line": 180, "column": 64 } } @@ -118427,15 +120406,15 @@ "updateContext": null }, "value": "this", - "start": 6475, - "end": 6479, + "start": 6735, + "end": 6739, "loc": { "start": { - "line": 175, + "line": 181, "column": 12 }, "end": { - "line": 175, + "line": 181, "column": 16 } } @@ -118453,15 +120432,15 @@ "binop": null, "updateContext": null }, - "start": 6479, - "end": 6480, + "start": 6739, + "end": 6740, "loc": { "start": { - "line": 175, + "line": 181, "column": 16 }, "end": { - "line": 175, + "line": 181, "column": 17 } } @@ -118479,15 +120458,15 @@ "binop": null }, "value": "surfer", - "start": 6480, - "end": 6486, + "start": 6740, + "end": 6746, "loc": { "start": { - "line": 175, + "line": 181, "column": 17 }, "end": { - "line": 175, + "line": 181, "column": 23 } } @@ -118505,15 +120484,15 @@ "binop": null, "updateContext": null }, - "start": 6486, - "end": 6487, + "start": 6746, + "end": 6747, "loc": { "start": { - "line": 175, + "line": 181, "column": 23 }, "end": { - "line": 175, + "line": 181, "column": 24 } } @@ -118531,15 +120510,15 @@ "binop": null }, "value": "drawer", - "start": 6487, - "end": 6493, + "start": 6747, + "end": 6753, "loc": { "start": { - "line": 175, + "line": 181, "column": 24 }, "end": { - "line": 175, + "line": 181, "column": 30 } } @@ -118557,15 +120536,15 @@ "binop": null, "updateContext": null }, - "start": 6493, - "end": 6494, + "start": 6753, + "end": 6754, "loc": { "start": { - "line": 175, + "line": 181, "column": 30 }, "end": { - "line": 175, + "line": 181, "column": 31 } } @@ -118583,15 +120562,15 @@ "binop": null }, "value": "wrapper", - "start": 6494, - "end": 6501, + "start": 6754, + "end": 6761, "loc": { "start": { - "line": 175, + "line": 181, "column": 31 }, "end": { - "line": 175, + "line": 181, "column": 38 } } @@ -118609,15 +120588,15 @@ "binop": null, "updateContext": null }, - "start": 6501, - "end": 6502, + "start": 6761, + "end": 6762, "loc": { "start": { - "line": 175, + "line": 181, "column": 38 }, "end": { - "line": 175, + "line": 181, "column": 39 } } @@ -118635,15 +120614,15 @@ "binop": null }, "value": "className", - "start": 6502, - "end": 6511, + "start": 6762, + "end": 6771, "loc": { "start": { - "line": 175, + "line": 181, "column": 39 }, "end": { - "line": 175, + "line": 181, "column": 48 } } @@ -118662,15 +120641,15 @@ "updateContext": null }, "value": "=", - "start": 6512, - "end": 6513, + "start": 6772, + "end": 6773, "loc": { "start": { - "line": 175, + "line": 181, "column": 49 }, "end": { - "line": 175, + "line": 181, "column": 50 } } @@ -118688,15 +120667,15 @@ "binop": null }, "value": "wavesurferClassName", - "start": 6514, - "end": 6533, + "start": 6774, + "end": 6793, "loc": { "start": { - "line": 175, + "line": 181, "column": 51 }, "end": { - "line": 175, + "line": 181, "column": 70 } } @@ -118714,15 +120693,15 @@ "binop": null, "updateContext": null }, - "start": 6533, - "end": 6534, + "start": 6793, + "end": 6794, "loc": { "start": { - "line": 175, + "line": 181, "column": 70 }, "end": { - "line": 175, + "line": 181, "column": 71 } } @@ -118730,15 +120709,15 @@ { "type": "CommentLine", "value": " listen for window resize events", - "start": 6547, - "end": 6581, + "start": 6807, + "end": 6841, "loc": { "start": { - "line": 176, + "line": 182, "column": 12 }, "end": { - "line": 176, + "line": 182, "column": 46 } } @@ -118758,15 +120737,15 @@ "updateContext": null }, "value": "this", - "start": 6594, - "end": 6598, + "start": 6854, + "end": 6858, "loc": { "start": { - "line": 177, + "line": 183, "column": 12 }, "end": { - "line": 177, + "line": 183, "column": 16 } } @@ -118784,15 +120763,15 @@ "binop": null, "updateContext": null }, - "start": 6598, - "end": 6599, + "start": 6858, + "end": 6859, "loc": { "start": { - "line": 177, + "line": 183, "column": 16 }, "end": { - "line": 177, + "line": 183, "column": 17 } } @@ -118810,15 +120789,15 @@ "binop": null }, "value": "responsiveWave", - "start": 6599, - "end": 6613, + "start": 6859, + "end": 6873, "loc": { "start": { - "line": 177, + "line": 183, "column": 17 }, "end": { - "line": 177, + "line": 183, "column": 31 } } @@ -118837,15 +120816,15 @@ "updateContext": null }, "value": "=", - "start": 6614, - "end": 6615, + "start": 6874, + "end": 6875, "loc": { "start": { - "line": 177, + "line": 183, "column": 32 }, "end": { - "line": 177, + "line": 183, "column": 33 } } @@ -118863,15 +120842,15 @@ "binop": null }, "value": "WaveSurfer", - "start": 6616, - "end": 6626, + "start": 6876, + "end": 6886, "loc": { "start": { - "line": 177, + "line": 183, "column": 34 }, "end": { - "line": 177, + "line": 183, "column": 44 } } @@ -118889,15 +120868,15 @@ "binop": null, "updateContext": null }, - "start": 6626, - "end": 6627, + "start": 6886, + "end": 6887, "loc": { "start": { - "line": 177, + "line": 183, "column": 44 }, "end": { - "line": 177, + "line": 183, "column": 45 } } @@ -118915,15 +120894,15 @@ "binop": null }, "value": "util", - "start": 6627, - "end": 6631, + "start": 6887, + "end": 6891, "loc": { "start": { - "line": 177, + "line": 183, "column": 45 }, "end": { - "line": 177, + "line": 183, "column": 49 } } @@ -118941,15 +120920,15 @@ "binop": null, "updateContext": null }, - "start": 6631, - "end": 6632, + "start": 6891, + "end": 6892, "loc": { "start": { - "line": 177, + "line": 183, "column": 49 }, "end": { - "line": 177, + "line": 183, "column": 50 } } @@ -118967,15 +120946,15 @@ "binop": null }, "value": "debounce", - "start": 6632, - "end": 6640, + "start": 6892, + "end": 6900, "loc": { "start": { - "line": 177, + "line": 183, "column": 50 }, "end": { - "line": 177, + "line": 183, "column": 58 } } @@ -118992,15 +120971,15 @@ "postfix": false, "binop": null }, - "start": 6640, - "end": 6641, + "start": 6900, + "end": 6901, "loc": { "start": { - "line": 177, + "line": 183, "column": 58 }, "end": { - "line": 177, + "line": 183, "column": 59 } } @@ -119020,15 +120999,15 @@ "updateContext": null }, "value": "this", - "start": 6658, - "end": 6662, + "start": 6918, + "end": 6922, "loc": { "start": { - "line": 178, + "line": 184, "column": 16 }, "end": { - "line": 178, + "line": 184, "column": 20 } } @@ -119046,15 +121025,15 @@ "binop": null, "updateContext": null }, - "start": 6662, - "end": 6663, + "start": 6922, + "end": 6923, "loc": { "start": { - "line": 178, + "line": 184, "column": 20 }, "end": { - "line": 178, + "line": 184, "column": 21 } } @@ -119072,15 +121051,15 @@ "binop": null }, "value": "onResizeChange", - "start": 6663, - "end": 6677, + "start": 6923, + "end": 6937, "loc": { "start": { - "line": 178, + "line": 184, "column": 21 }, "end": { - "line": 178, + "line": 184, "column": 35 } } @@ -119098,15 +121077,15 @@ "binop": null, "updateContext": null }, - "start": 6677, - "end": 6678, + "start": 6937, + "end": 6938, "loc": { "start": { - "line": 178, + "line": 184, "column": 35 }, "end": { - "line": 178, + "line": 184, "column": 36 } } @@ -119124,15 +121103,15 @@ "binop": null }, "value": "bind", - "start": 6678, - "end": 6682, + "start": 6938, + "end": 6942, "loc": { "start": { - "line": 178, + "line": 184, "column": 36 }, "end": { - "line": 178, + "line": 184, "column": 40 } } @@ -119149,15 +121128,15 @@ "postfix": false, "binop": null }, - "start": 6682, - "end": 6683, + "start": 6942, + "end": 6943, "loc": { "start": { - "line": 178, + "line": 184, "column": 40 }, "end": { - "line": 178, + "line": 184, "column": 41 } } @@ -119177,15 +121156,15 @@ "updateContext": null }, "value": "this", - "start": 6683, - "end": 6687, + "start": 6943, + "end": 6947, "loc": { "start": { - "line": 178, + "line": 184, "column": 41 }, "end": { - "line": 178, + "line": 184, "column": 45 } } @@ -119202,15 +121181,15 @@ "postfix": false, "binop": null }, - "start": 6687, - "end": 6688, + "start": 6947, + "end": 6948, "loc": { "start": { - "line": 178, + "line": 184, "column": 45 }, "end": { - "line": 178, + "line": 184, "column": 46 } } @@ -119228,15 +121207,15 @@ "binop": null, "updateContext": null }, - "start": 6688, - "end": 6689, + "start": 6948, + "end": 6949, "loc": { "start": { - "line": 178, + "line": 184, "column": 46 }, "end": { - "line": 178, + "line": 184, "column": 47 } } @@ -119255,15 +121234,15 @@ "updateContext": null }, "value": 150, - "start": 6690, - "end": 6693, + "start": 6950, + "end": 6953, "loc": { "start": { - "line": 178, + "line": 184, "column": 48 }, "end": { - "line": 178, + "line": 184, "column": 51 } } @@ -119280,15 +121259,15 @@ "postfix": false, "binop": null }, - "start": 6693, - "end": 6694, + "start": 6953, + "end": 6954, "loc": { "start": { - "line": 178, + "line": 184, "column": 51 }, "end": { - "line": 178, + "line": 184, "column": 52 } } @@ -119306,15 +121285,15 @@ "binop": null, "updateContext": null }, - "start": 6694, - "end": 6695, + "start": 6954, + "end": 6955, "loc": { "start": { - "line": 178, + "line": 184, "column": 52 }, "end": { - "line": 178, + "line": 184, "column": 53 } } @@ -119332,15 +121311,15 @@ "binop": null }, "value": "window", - "start": 6708, - "end": 6714, + "start": 6968, + "end": 6974, "loc": { "start": { - "line": 179, + "line": 185, "column": 12 }, "end": { - "line": 179, + "line": 185, "column": 18 } } @@ -119358,15 +121337,15 @@ "binop": null, "updateContext": null }, - "start": 6714, - "end": 6715, + "start": 6974, + "end": 6975, "loc": { "start": { - "line": 179, + "line": 185, "column": 18 }, "end": { - "line": 179, + "line": 185, "column": 19 } } @@ -119384,15 +121363,15 @@ "binop": null }, "value": "addEventListener", - "start": 6715, - "end": 6731, + "start": 6975, + "end": 6991, "loc": { "start": { - "line": 179, + "line": 185, "column": 19 }, "end": { - "line": 179, + "line": 185, "column": 35 } } @@ -119409,15 +121388,15 @@ "postfix": false, "binop": null }, - "start": 6731, - "end": 6732, + "start": 6991, + "end": 6992, "loc": { "start": { - "line": 179, + "line": 185, "column": 35 }, "end": { - "line": 179, + "line": 185, "column": 36 } } @@ -119435,15 +121414,15 @@ "binop": null }, "value": "Event", - "start": 6732, - "end": 6737, + "start": 6992, + "end": 6997, "loc": { "start": { - "line": 179, + "line": 185, "column": 36 }, "end": { - "line": 179, + "line": 185, "column": 41 } } @@ -119461,15 +121440,15 @@ "binop": null, "updateContext": null }, - "start": 6737, - "end": 6738, + "start": 6997, + "end": 6998, "loc": { "start": { - "line": 179, + "line": 185, "column": 41 }, "end": { - "line": 179, + "line": 185, "column": 42 } } @@ -119487,15 +121466,15 @@ "binop": null }, "value": "RESIZE", - "start": 6738, - "end": 6744, + "start": 6998, + "end": 7004, "loc": { "start": { - "line": 179, + "line": 185, "column": 42 }, "end": { - "line": 179, + "line": 185, "column": 48 } } @@ -119513,15 +121492,15 @@ "binop": null, "updateContext": null }, - "start": 6744, - "end": 6745, + "start": 7004, + "end": 7005, "loc": { "start": { - "line": 179, + "line": 185, "column": 48 }, "end": { - "line": 179, + "line": 185, "column": 49 } } @@ -119541,15 +121520,15 @@ "updateContext": null }, "value": "this", - "start": 6746, - "end": 6750, + "start": 7006, + "end": 7010, "loc": { "start": { - "line": 179, + "line": 185, "column": 50 }, "end": { - "line": 179, + "line": 185, "column": 54 } } @@ -119567,15 +121546,15 @@ "binop": null, "updateContext": null }, - "start": 6750, - "end": 6751, + "start": 7010, + "end": 7011, "loc": { "start": { - "line": 179, + "line": 185, "column": 54 }, "end": { - "line": 179, + "line": 185, "column": 55 } } @@ -119593,15 +121572,15 @@ "binop": null }, "value": "responsiveWave", - "start": 6751, - "end": 6765, + "start": 7011, + "end": 7025, "loc": { "start": { - "line": 179, + "line": 185, "column": 55 }, "end": { - "line": 179, + "line": 185, "column": 69 } } @@ -119618,15 +121597,15 @@ "postfix": false, "binop": null }, - "start": 6765, - "end": 6766, + "start": 7025, + "end": 7026, "loc": { "start": { - "line": 179, + "line": 185, "column": 69 }, "end": { - "line": 179, + "line": 185, "column": 70 } } @@ -119644,15 +121623,15 @@ "binop": null, "updateContext": null }, - "start": 6766, - "end": 6767, + "start": 7026, + "end": 7027, "loc": { "start": { - "line": 179, + "line": 185, "column": 70 }, "end": { - "line": 179, + "line": 185, "column": 71 } } @@ -119669,15 +121648,15 @@ "postfix": false, "binop": null }, - "start": 6776, - "end": 6777, + "start": 7036, + "end": 7037, "loc": { "start": { - "line": 180, + "line": 186, "column": 8 }, "end": { - "line": 180, + "line": 186, "column": 9 } } @@ -119694,15 +121673,15 @@ "postfix": false, "binop": null }, - "start": 6782, - "end": 6783, + "start": 7042, + "end": 7043, "loc": { "start": { - "line": 181, + "line": 187, "column": 4 }, "end": { - "line": 181, + "line": 187, "column": 5 } } @@ -119710,15 +121689,15 @@ { "type": "CommentBlock", "value": "*\n * Initializes the waveform options.\n *\n * @private\n * @param {Object} surferOpts - Plugin options.\n * @returns {Object} - Updated `surferOpts` object.\n ", - "start": 6789, - "end": 6972, + "start": 7049, + "end": 7232, "loc": { "start": { - "line": 183, + "line": 189, "column": 4 }, "end": { - "line": 189, + "line": 195, "column": 7 } } @@ -119736,15 +121715,15 @@ "binop": null }, "value": "parseOptions", - "start": 6977, - "end": 6989, + "start": 7237, + "end": 7249, "loc": { "start": { - "line": 190, + "line": 196, "column": 4 }, "end": { - "line": 190, + "line": 196, "column": 16 } } @@ -119761,15 +121740,15 @@ "postfix": false, "binop": null }, - "start": 6989, - "end": 6990, + "start": 7249, + "end": 7250, "loc": { "start": { - "line": 190, + "line": 196, "column": 16 }, "end": { - "line": 190, + "line": 196, "column": 17 } } @@ -119787,15 +121766,15 @@ "binop": null }, "value": "surferOpts", - "start": 6990, - "end": 7000, + "start": 7250, + "end": 7260, "loc": { "start": { - "line": 190, + "line": 196, "column": 17 }, "end": { - "line": 190, + "line": 196, "column": 27 } } @@ -119814,15 +121793,15 @@ "updateContext": null }, "value": "=", - "start": 7001, - "end": 7002, + "start": 7261, + "end": 7262, "loc": { "start": { - "line": 190, + "line": 196, "column": 28 }, "end": { - "line": 190, + "line": 196, "column": 29 } } @@ -119839,15 +121818,15 @@ "postfix": false, "binop": null }, - "start": 7003, - "end": 7004, + "start": 7263, + "end": 7264, "loc": { "start": { - "line": 190, + "line": 196, "column": 30 }, "end": { - "line": 190, + "line": 196, "column": 31 } } @@ -119864,15 +121843,15 @@ "postfix": false, "binop": null }, - "start": 7004, - "end": 7005, + "start": 7264, + "end": 7265, "loc": { "start": { - "line": 190, + "line": 196, "column": 31 }, "end": { - "line": 190, + "line": 196, "column": 32 } } @@ -119889,15 +121868,15 @@ "postfix": false, "binop": null }, - "start": 7005, - "end": 7006, + "start": 7265, + "end": 7266, "loc": { "start": { - "line": 190, + "line": 196, "column": 32 }, "end": { - "line": 190, + "line": 196, "column": 33 } } @@ -119914,15 +121893,15 @@ "postfix": false, "binop": null }, - "start": 7007, - "end": 7008, + "start": 7267, + "end": 7268, "loc": { "start": { - "line": 190, + "line": 196, "column": 34 }, "end": { - "line": 190, + "line": 196, "column": 35 } } @@ -119942,15 +121921,15 @@ "updateContext": null }, "value": "let", - "start": 7017, - "end": 7020, + "start": 7277, + "end": 7280, "loc": { "start": { - "line": 191, + "line": 197, "column": 8 }, "end": { - "line": 191, + "line": 197, "column": 11 } } @@ -119968,15 +121947,15 @@ "binop": null }, "value": "rect", - "start": 7021, - "end": 7025, + "start": 7281, + "end": 7285, "loc": { "start": { - "line": 191, + "line": 197, "column": 12 }, "end": { - "line": 191, + "line": 197, "column": 16 } } @@ -119995,15 +121974,15 @@ "updateContext": null }, "value": "=", - "start": 7026, - "end": 7027, + "start": 7286, + "end": 7287, "loc": { "start": { - "line": 191, + "line": 197, "column": 17 }, "end": { - "line": 191, + "line": 197, "column": 18 } } @@ -120023,15 +122002,15 @@ "updateContext": null }, "value": "this", - "start": 7028, - "end": 7032, + "start": 7288, + "end": 7292, "loc": { "start": { - "line": 191, + "line": 197, "column": 19 }, "end": { - "line": 191, + "line": 197, "column": 23 } } @@ -120049,15 +122028,15 @@ "binop": null, "updateContext": null }, - "start": 7032, - "end": 7033, + "start": 7292, + "end": 7293, "loc": { "start": { - "line": 191, + "line": 197, "column": 23 }, "end": { - "line": 191, + "line": 197, "column": 24 } } @@ -120075,15 +122054,15 @@ "binop": null }, "value": "player", - "start": 7033, - "end": 7039, + "start": 7293, + "end": 7299, "loc": { "start": { - "line": 191, + "line": 197, "column": 24 }, "end": { - "line": 191, + "line": 197, "column": 30 } } @@ -120101,15 +122080,15 @@ "binop": null, "updateContext": null }, - "start": 7039, - "end": 7040, + "start": 7299, + "end": 7300, "loc": { "start": { - "line": 191, + "line": 197, "column": 30 }, "end": { - "line": 191, + "line": 197, "column": 31 } } @@ -120127,15 +122106,15 @@ "binop": null }, "value": "el_", - "start": 7040, - "end": 7043, + "start": 7300, + "end": 7303, "loc": { "start": { - "line": 191, + "line": 197, "column": 31 }, "end": { - "line": 191, + "line": 197, "column": 34 } } @@ -120153,15 +122132,15 @@ "binop": null, "updateContext": null }, - "start": 7043, - "end": 7044, + "start": 7303, + "end": 7304, "loc": { "start": { - "line": 191, + "line": 197, "column": 34 }, "end": { - "line": 191, + "line": 197, "column": 35 } } @@ -120179,15 +122158,15 @@ "binop": null }, "value": "getBoundingClientRect", - "start": 7044, - "end": 7065, + "start": 7304, + "end": 7325, "loc": { "start": { - "line": 191, + "line": 197, "column": 35 }, "end": { - "line": 191, + "line": 197, "column": 56 } } @@ -120204,15 +122183,15 @@ "postfix": false, "binop": null }, - "start": 7065, - "end": 7066, + "start": 7325, + "end": 7326, "loc": { "start": { - "line": 191, + "line": 197, "column": 56 }, "end": { - "line": 191, + "line": 197, "column": 57 } } @@ -120229,15 +122208,15 @@ "postfix": false, "binop": null }, - "start": 7066, - "end": 7067, + "start": 7326, + "end": 7327, "loc": { "start": { - "line": 191, + "line": 197, "column": 57 }, "end": { - "line": 191, + "line": 197, "column": 58 } } @@ -120255,15 +122234,15 @@ "binop": null, "updateContext": null }, - "start": 7067, - "end": 7068, + "start": 7327, + "end": 7328, "loc": { "start": { - "line": 191, + "line": 197, "column": 58 }, "end": { - "line": 191, + "line": 197, "column": 59 } } @@ -120283,15 +122262,15 @@ "updateContext": null }, "value": "this", - "start": 7077, - "end": 7081, + "start": 7337, + "end": 7341, "loc": { "start": { - "line": 192, + "line": 198, "column": 8 }, "end": { - "line": 192, + "line": 198, "column": 12 } } @@ -120309,15 +122288,15 @@ "binop": null, "updateContext": null }, - "start": 7081, - "end": 7082, + "start": 7341, + "end": 7342, "loc": { "start": { - "line": 192, + "line": 198, "column": 12 }, "end": { - "line": 192, + "line": 198, "column": 13 } } @@ -120335,15 +122314,15 @@ "binop": null }, "value": "originalWidth", - "start": 7082, - "end": 7095, + "start": 7342, + "end": 7355, "loc": { "start": { - "line": 192, + "line": 198, "column": 13 }, "end": { - "line": 192, + "line": 198, "column": 26 } } @@ -120362,15 +122341,15 @@ "updateContext": null }, "value": "=", - "start": 7096, - "end": 7097, + "start": 7356, + "end": 7357, "loc": { "start": { - "line": 192, + "line": 198, "column": 27 }, "end": { - "line": 192, + "line": 198, "column": 28 } } @@ -120390,15 +122369,15 @@ "updateContext": null }, "value": "this", - "start": 7098, - "end": 7102, + "start": 7358, + "end": 7362, "loc": { "start": { - "line": 192, + "line": 198, "column": 29 }, "end": { - "line": 192, + "line": 198, "column": 33 } } @@ -120416,15 +122395,15 @@ "binop": null, "updateContext": null }, - "start": 7102, - "end": 7103, + "start": 7362, + "end": 7363, "loc": { "start": { - "line": 192, + "line": 198, "column": 33 }, "end": { - "line": 192, + "line": 198, "column": 34 } } @@ -120442,15 +122421,15 @@ "binop": null }, "value": "player", - "start": 7103, - "end": 7109, + "start": 7363, + "end": 7369, "loc": { "start": { - "line": 192, + "line": 198, "column": 34 }, "end": { - "line": 192, + "line": 198, "column": 40 } } @@ -120468,15 +122447,15 @@ "binop": null, "updateContext": null }, - "start": 7109, - "end": 7110, + "start": 7369, + "end": 7370, "loc": { "start": { - "line": 192, + "line": 198, "column": 40 }, "end": { - "line": 192, + "line": 198, "column": 41 } } @@ -120494,15 +122473,15 @@ "binop": null }, "value": "options_", - "start": 7110, - "end": 7118, + "start": 7370, + "end": 7378, "loc": { "start": { - "line": 192, + "line": 198, "column": 41 }, "end": { - "line": 192, + "line": 198, "column": 49 } } @@ -120520,15 +122499,15 @@ "binop": null, "updateContext": null }, - "start": 7118, - "end": 7119, + "start": 7378, + "end": 7379, "loc": { "start": { - "line": 192, + "line": 198, "column": 49 }, "end": { - "line": 192, + "line": 198, "column": 50 } } @@ -120546,15 +122525,15 @@ "binop": null }, "value": "width", - "start": 7119, - "end": 7124, + "start": 7379, + "end": 7384, "loc": { "start": { - "line": 192, + "line": 198, "column": 50 }, "end": { - "line": 192, + "line": 198, "column": 55 } } @@ -120573,15 +122552,15 @@ "updateContext": null }, "value": "||", - "start": 7125, - "end": 7127, + "start": 7385, + "end": 7387, "loc": { "start": { - "line": 192, + "line": 198, "column": 56 }, "end": { - "line": 192, + "line": 198, "column": 58 } } @@ -120599,15 +122578,15 @@ "binop": null }, "value": "rect", - "start": 7128, - "end": 7132, + "start": 7388, + "end": 7392, "loc": { "start": { - "line": 192, + "line": 198, "column": 59 }, "end": { - "line": 192, + "line": 198, "column": 63 } } @@ -120625,15 +122604,15 @@ "binop": null, "updateContext": null }, - "start": 7132, - "end": 7133, + "start": 7392, + "end": 7393, "loc": { "start": { - "line": 192, + "line": 198, "column": 63 }, "end": { - "line": 192, + "line": 198, "column": 64 } } @@ -120651,15 +122630,15 @@ "binop": null }, "value": "width", - "start": 7133, - "end": 7138, + "start": 7393, + "end": 7398, "loc": { "start": { - "line": 192, + "line": 198, "column": 64 }, "end": { - "line": 192, + "line": 198, "column": 69 } } @@ -120677,15 +122656,15 @@ "binop": null, "updateContext": null }, - "start": 7138, - "end": 7139, + "start": 7398, + "end": 7399, "loc": { "start": { - "line": 192, + "line": 198, "column": 69 }, "end": { - "line": 192, + "line": 198, "column": 70 } } @@ -120705,15 +122684,15 @@ "updateContext": null }, "value": "this", - "start": 7148, - "end": 7152, + "start": 7408, + "end": 7412, "loc": { "start": { - "line": 193, + "line": 199, "column": 8 }, "end": { - "line": 193, + "line": 199, "column": 12 } } @@ -120731,15 +122710,15 @@ "binop": null, "updateContext": null }, - "start": 7152, - "end": 7153, + "start": 7412, + "end": 7413, "loc": { "start": { - "line": 193, + "line": 199, "column": 12 }, "end": { - "line": 193, + "line": 199, "column": 13 } } @@ -120757,15 +122736,15 @@ "binop": null }, "value": "originalHeight", - "start": 7153, - "end": 7167, + "start": 7413, + "end": 7427, "loc": { "start": { - "line": 193, + "line": 199, "column": 13 }, "end": { - "line": 193, + "line": 199, "column": 27 } } @@ -120784,15 +122763,15 @@ "updateContext": null }, "value": "=", - "start": 7168, - "end": 7169, + "start": 7428, + "end": 7429, "loc": { "start": { - "line": 193, + "line": 199, "column": 28 }, "end": { - "line": 193, + "line": 199, "column": 29 } } @@ -120812,15 +122791,15 @@ "updateContext": null }, "value": "this", - "start": 7170, - "end": 7174, + "start": 7430, + "end": 7434, "loc": { "start": { - "line": 193, + "line": 199, "column": 30 }, "end": { - "line": 193, + "line": 199, "column": 34 } } @@ -120838,15 +122817,15 @@ "binop": null, "updateContext": null }, - "start": 7174, - "end": 7175, + "start": 7434, + "end": 7435, "loc": { "start": { - "line": 193, + "line": 199, "column": 34 }, "end": { - "line": 193, + "line": 199, "column": 35 } } @@ -120864,15 +122843,15 @@ "binop": null }, "value": "player", - "start": 7175, - "end": 7181, + "start": 7435, + "end": 7441, "loc": { "start": { - "line": 193, + "line": 199, "column": 35 }, "end": { - "line": 193, + "line": 199, "column": 41 } } @@ -120890,15 +122869,15 @@ "binop": null, "updateContext": null }, - "start": 7181, - "end": 7182, + "start": 7441, + "end": 7442, "loc": { "start": { - "line": 193, + "line": 199, "column": 41 }, "end": { - "line": 193, + "line": 199, "column": 42 } } @@ -120916,15 +122895,15 @@ "binop": null }, "value": "options_", - "start": 7182, - "end": 7190, + "start": 7442, + "end": 7450, "loc": { "start": { - "line": 193, + "line": 199, "column": 42 }, "end": { - "line": 193, + "line": 199, "column": 50 } } @@ -120942,15 +122921,15 @@ "binop": null, "updateContext": null }, - "start": 7190, - "end": 7191, + "start": 7450, + "end": 7451, "loc": { "start": { - "line": 193, + "line": 199, "column": 50 }, "end": { - "line": 193, + "line": 199, "column": 51 } } @@ -120968,15 +122947,15 @@ "binop": null }, "value": "height", - "start": 7191, - "end": 7197, + "start": 7451, + "end": 7457, "loc": { "start": { - "line": 193, + "line": 199, "column": 51 }, "end": { - "line": 193, + "line": 199, "column": 57 } } @@ -120995,15 +122974,15 @@ "updateContext": null }, "value": "||", - "start": 7198, - "end": 7200, + "start": 7458, + "end": 7460, "loc": { "start": { - "line": 193, + "line": 199, "column": 58 }, "end": { - "line": 193, + "line": 199, "column": 60 } } @@ -121021,15 +123000,15 @@ "binop": null }, "value": "rect", - "start": 7201, - "end": 7205, + "start": 7461, + "end": 7465, "loc": { "start": { - "line": 193, + "line": 199, "column": 61 }, "end": { - "line": 193, + "line": 199, "column": 65 } } @@ -121047,15 +123026,15 @@ "binop": null, "updateContext": null }, - "start": 7205, - "end": 7206, + "start": 7465, + "end": 7466, "loc": { "start": { - "line": 193, + "line": 199, "column": 65 }, "end": { - "line": 193, + "line": 199, "column": 66 } } @@ -121073,15 +123052,15 @@ "binop": null }, "value": "height", - "start": 7206, - "end": 7212, + "start": 7466, + "end": 7472, "loc": { "start": { - "line": 193, + "line": 199, "column": 66 }, "end": { - "line": 193, + "line": 199, "column": 72 } } @@ -121099,15 +123078,15 @@ "binop": null, "updateContext": null }, - "start": 7212, - "end": 7213, + "start": 7472, + "end": 7473, "loc": { "start": { - "line": 193, + "line": 199, "column": 72 }, "end": { - "line": 193, + "line": 199, "column": 73 } } @@ -121115,15 +123094,15 @@ { "type": "CommentLine", "value": " controlbar", - "start": 7223, - "end": 7236, + "start": 7483, + "end": 7496, "loc": { "start": { - "line": 195, + "line": 201, "column": 8 }, "end": { - "line": 195, + "line": 201, "column": 21 } } @@ -121143,15 +123122,15 @@ "updateContext": null }, "value": "let", - "start": 7245, - "end": 7248, + "start": 7505, + "end": 7508, "loc": { "start": { - "line": 196, + "line": 202, "column": 8 }, "end": { - "line": 196, + "line": 202, "column": 11 } } @@ -121169,15 +123148,15 @@ "binop": null }, "value": "controlBarHeight", - "start": 7249, - "end": 7265, + "start": 7509, + "end": 7525, "loc": { "start": { - "line": 196, + "line": 202, "column": 12 }, "end": { - "line": 196, + "line": 202, "column": 28 } } @@ -121196,15 +123175,15 @@ "updateContext": null }, "value": "=", - "start": 7266, - "end": 7267, + "start": 7526, + "end": 7527, "loc": { "start": { - "line": 196, + "line": 202, "column": 29 }, "end": { - "line": 196, + "line": 202, "column": 30 } } @@ -121224,15 +123203,15 @@ "updateContext": null }, "value": "this", - "start": 7268, - "end": 7272, + "start": 7528, + "end": 7532, "loc": { "start": { - "line": 196, + "line": 202, "column": 31 }, "end": { - "line": 196, + "line": 202, "column": 35 } } @@ -121250,15 +123229,15 @@ "binop": null, "updateContext": null }, - "start": 7272, - "end": 7273, + "start": 7532, + "end": 7533, "loc": { "start": { - "line": 196, + "line": 202, "column": 35 }, "end": { - "line": 196, + "line": 202, "column": 36 } } @@ -121276,15 +123255,15 @@ "binop": null }, "value": "player", - "start": 7273, - "end": 7279, + "start": 7533, + "end": 7539, "loc": { "start": { - "line": 196, + "line": 202, "column": 36 }, "end": { - "line": 196, + "line": 202, "column": 42 } } @@ -121302,15 +123281,15 @@ "binop": null, "updateContext": null }, - "start": 7279, - "end": 7280, + "start": 7539, + "end": 7540, "loc": { "start": { - "line": 196, + "line": 202, "column": 42 }, "end": { - "line": 196, + "line": 202, "column": 43 } } @@ -121328,15 +123307,15 @@ "binop": null }, "value": "controlBar", - "start": 7280, - "end": 7290, + "start": 7540, + "end": 7550, "loc": { "start": { - "line": 196, + "line": 202, "column": 43 }, "end": { - "line": 196, + "line": 202, "column": 53 } } @@ -121354,15 +123333,15 @@ "binop": null, "updateContext": null }, - "start": 7290, - "end": 7291, + "start": 7550, + "end": 7551, "loc": { "start": { - "line": 196, + "line": 202, "column": 53 }, "end": { - "line": 196, + "line": 202, "column": 54 } } @@ -121380,15 +123359,15 @@ "binop": null }, "value": "height", - "start": 7291, - "end": 7297, + "start": 7551, + "end": 7557, "loc": { "start": { - "line": 196, + "line": 202, "column": 54 }, "end": { - "line": 196, + "line": 202, "column": 60 } } @@ -121405,15 +123384,15 @@ "postfix": false, "binop": null }, - "start": 7297, - "end": 7298, + "start": 7557, + "end": 7558, "loc": { "start": { - "line": 196, + "line": 202, "column": 60 }, "end": { - "line": 196, + "line": 202, "column": 61 } } @@ -121430,15 +123409,15 @@ "postfix": false, "binop": null }, - "start": 7298, - "end": 7299, + "start": 7558, + "end": 7559, "loc": { "start": { - "line": 196, + "line": 202, "column": 61 }, "end": { - "line": 196, + "line": 202, "column": 62 } } @@ -121456,15 +123435,15 @@ "binop": null, "updateContext": null }, - "start": 7299, - "end": 7300, + "start": 7559, + "end": 7560, "loc": { "start": { - "line": 196, + "line": 202, "column": 62 }, "end": { - "line": 196, + "line": 202, "column": 63 } } @@ -121484,15 +123463,15 @@ "updateContext": null }, "value": "if", - "start": 7309, - "end": 7311, + "start": 7569, + "end": 7571, "loc": { "start": { - "line": 197, + "line": 203, "column": 8 }, "end": { - "line": 197, + "line": 203, "column": 10 } } @@ -121509,15 +123488,15 @@ "postfix": false, "binop": null }, - "start": 7312, - "end": 7313, + "start": 7572, + "end": 7573, "loc": { "start": { - "line": 197, + "line": 203, "column": 11 }, "end": { - "line": 197, + "line": 203, "column": 12 } } @@ -121537,15 +123516,15 @@ "updateContext": null }, "value": "this", - "start": 7313, - "end": 7317, + "start": 7573, + "end": 7577, "loc": { "start": { - "line": 197, + "line": 203, "column": 12 }, "end": { - "line": 197, + "line": 203, "column": 16 } } @@ -121563,15 +123542,15 @@ "binop": null, "updateContext": null }, - "start": 7317, - "end": 7318, + "start": 7577, + "end": 7578, "loc": { "start": { - "line": 197, + "line": 203, "column": 16 }, "end": { - "line": 197, + "line": 203, "column": 17 } } @@ -121589,15 +123568,15 @@ "binop": null }, "value": "player", - "start": 7318, - "end": 7324, + "start": 7578, + "end": 7584, "loc": { "start": { - "line": 197, + "line": 203, "column": 17 }, "end": { - "line": 197, + "line": 203, "column": 23 } } @@ -121615,15 +123594,15 @@ "binop": null, "updateContext": null }, - "start": 7324, - "end": 7325, + "start": 7584, + "end": 7585, "loc": { "start": { - "line": 197, + "line": 203, "column": 23 }, "end": { - "line": 197, + "line": 203, "column": 24 } } @@ -121641,15 +123620,15 @@ "binop": null }, "value": "options_", - "start": 7325, - "end": 7333, + "start": 7585, + "end": 7593, "loc": { "start": { - "line": 197, + "line": 203, "column": 24 }, "end": { - "line": 197, + "line": 203, "column": 32 } } @@ -121667,15 +123646,15 @@ "binop": null, "updateContext": null }, - "start": 7333, - "end": 7334, + "start": 7593, + "end": 7594, "loc": { "start": { - "line": 197, + "line": 203, "column": 32 }, "end": { - "line": 197, + "line": 203, "column": 33 } } @@ -121693,15 +123672,15 @@ "binop": null }, "value": "controls", - "start": 7334, - "end": 7342, + "start": 7594, + "end": 7602, "loc": { "start": { - "line": 197, + "line": 203, "column": 33 }, "end": { - "line": 197, + "line": 203, "column": 41 } } @@ -121720,15 +123699,15 @@ "updateContext": null }, "value": "===", - "start": 7343, - "end": 7346, + "start": 7603, + "end": 7606, "loc": { "start": { - "line": 197, + "line": 203, "column": 42 }, "end": { - "line": 197, + "line": 203, "column": 45 } } @@ -121748,15 +123727,15 @@ "updateContext": null }, "value": "true", - "start": 7347, - "end": 7351, + "start": 7607, + "end": 7611, "loc": { "start": { - "line": 197, + "line": 203, "column": 46 }, "end": { - "line": 197, + "line": 203, "column": 50 } } @@ -121775,15 +123754,15 @@ "updateContext": null }, "value": "&&", - "start": 7352, - "end": 7354, + "start": 7612, + "end": 7614, "loc": { "start": { - "line": 197, + "line": 203, "column": 51 }, "end": { - "line": 197, + "line": 203, "column": 53 } } @@ -121801,15 +123780,15 @@ "binop": null }, "value": "controlBarHeight", - "start": 7355, - "end": 7371, + "start": 7615, + "end": 7631, "loc": { "start": { - "line": 197, + "line": 203, "column": 54 }, "end": { - "line": 197, + "line": 203, "column": 70 } } @@ -121828,15 +123807,15 @@ "updateContext": null }, "value": "===", - "start": 7372, - "end": 7375, + "start": 7632, + "end": 7635, "loc": { "start": { - "line": 197, + "line": 203, "column": 71 }, "end": { - "line": 197, + "line": 203, "column": 74 } } @@ -121855,15 +123834,15 @@ "updateContext": null }, "value": 0, - "start": 7376, - "end": 7377, + "start": 7636, + "end": 7637, "loc": { "start": { - "line": 197, + "line": 203, "column": 75 }, "end": { - "line": 197, + "line": 203, "column": 76 } } @@ -121880,15 +123859,15 @@ "postfix": false, "binop": null }, - "start": 7377, - "end": 7378, + "start": 7637, + "end": 7638, "loc": { "start": { - "line": 197, + "line": 203, "column": 76 }, "end": { - "line": 197, + "line": 203, "column": 77 } } @@ -121905,15 +123884,15 @@ "postfix": false, "binop": null }, - "start": 7379, - "end": 7380, + "start": 7639, + "end": 7640, "loc": { "start": { - "line": 197, + "line": 203, "column": 78 }, "end": { - "line": 197, + "line": 203, "column": 79 } } @@ -121921,15 +123900,15 @@ { "type": "CommentLine", "value": " the dimensions of the controlbar are not known yet, but we", - "start": 7393, - "end": 7454, + "start": 7653, + "end": 7714, "loc": { "start": { - "line": 198, + "line": 204, "column": 12 }, "end": { - "line": 198, + "line": 204, "column": 73 } } @@ -121937,15 +123916,15 @@ { "type": "CommentLine", "value": " need it now, so we can calculate the height of the waveform.", - "start": 7467, - "end": 7530, + "start": 7727, + "end": 7790, "loc": { "start": { - "line": 199, + "line": 205, "column": 12 }, "end": { - "line": 199, + "line": 205, "column": 75 } } @@ -121953,15 +123932,15 @@ { "type": "CommentLine", "value": " The default height is 30px, so use that instead.", - "start": 7543, - "end": 7594, + "start": 7803, + "end": 7854, "loc": { "start": { - "line": 200, + "line": 206, "column": 12 }, "end": { - "line": 200, + "line": 206, "column": 63 } } @@ -121979,15 +123958,15 @@ "binop": null }, "value": "controlBarHeight", - "start": 7607, - "end": 7623, + "start": 7867, + "end": 7883, "loc": { "start": { - "line": 201, + "line": 207, "column": 12 }, "end": { - "line": 201, + "line": 207, "column": 28 } } @@ -122006,15 +123985,15 @@ "updateContext": null }, "value": "=", - "start": 7624, - "end": 7625, + "start": 7884, + "end": 7885, "loc": { "start": { - "line": 201, + "line": 207, "column": 29 }, "end": { - "line": 201, + "line": 207, "column": 30 } } @@ -122033,15 +124012,15 @@ "updateContext": null }, "value": 30, - "start": 7626, - "end": 7628, + "start": 7886, + "end": 7888, "loc": { "start": { - "line": 201, + "line": 207, "column": 31 }, "end": { - "line": 201, + "line": 207, "column": 33 } } @@ -122059,15 +124038,15 @@ "binop": null, "updateContext": null }, - "start": 7628, - "end": 7629, + "start": 7888, + "end": 7889, "loc": { "start": { - "line": 201, + "line": 207, "column": 33 }, "end": { - "line": 201, + "line": 207, "column": 34 } } @@ -122084,15 +124063,15 @@ "postfix": false, "binop": null }, - "start": 7638, - "end": 7639, + "start": 7898, + "end": 7899, "loc": { "start": { - "line": 202, + "line": 208, "column": 8 }, "end": { - "line": 202, + "line": 208, "column": 9 } } @@ -122100,15 +124079,15 @@ { "type": "CommentLine", "value": " set waveform element and dimensions", - "start": 7649, - "end": 7687, + "start": 7909, + "end": 7947, "loc": { "start": { - "line": 204, + "line": 210, "column": 8 }, "end": { - "line": 204, + "line": 210, "column": 46 } } @@ -122116,15 +124095,15 @@ { "type": "CommentLine", "value": " Set the container to player's container if \"container\" option is", - "start": 7696, - "end": 7763, + "start": 7956, + "end": 8023, "loc": { "start": { - "line": 205, + "line": 211, "column": 8 }, "end": { - "line": 205, + "line": 211, "column": 75 } } @@ -122132,15 +124111,15 @@ { "type": "CommentLine", "value": " not provided. If a waveform needs to be appended to your custom", - "start": 7772, - "end": 7838, + "start": 8032, + "end": 8098, "loc": { "start": { - "line": 206, + "line": 212, "column": 8 }, "end": { - "line": 206, + "line": 212, "column": 74 } } @@ -122148,15 +124127,15 @@ { "type": "CommentLine", "value": " element, then use below option. For example:", - "start": 7847, - "end": 7894, + "start": 8107, + "end": 8154, "loc": { "start": { - "line": 207, + "line": 213, "column": 8 }, "end": { - "line": 207, + "line": 213, "column": 55 } } @@ -122164,15 +124143,15 @@ { "type": "CommentLine", "value": " container: document.querySelector(\"#vjs-waveform\")", - "start": 7903, - "end": 7956, + "start": 8163, + "end": 8216, "loc": { "start": { - "line": 208, + "line": 214, "column": 8 }, "end": { - "line": 208, + "line": 214, "column": 61 } } @@ -122192,15 +124171,15 @@ "updateContext": null }, "value": "if", - "start": 7965, - "end": 7967, + "start": 8225, + "end": 8227, "loc": { "start": { - "line": 209, + "line": 215, "column": 8 }, "end": { - "line": 209, + "line": 215, "column": 10 } } @@ -122217,15 +124196,15 @@ "postfix": false, "binop": null }, - "start": 7968, - "end": 7969, + "start": 8228, + "end": 8229, "loc": { "start": { - "line": 209, + "line": 215, "column": 11 }, "end": { - "line": 209, + "line": 215, "column": 12 } } @@ -122243,15 +124222,15 @@ "binop": null }, "value": "surferOpts", - "start": 7969, - "end": 7979, + "start": 8229, + "end": 8239, "loc": { "start": { - "line": 209, + "line": 215, "column": 12 }, "end": { - "line": 209, + "line": 215, "column": 22 } } @@ -122269,15 +124248,15 @@ "binop": null, "updateContext": null }, - "start": 7979, - "end": 7980, + "start": 8239, + "end": 8240, "loc": { "start": { - "line": 209, + "line": 215, "column": 22 }, "end": { - "line": 209, + "line": 215, "column": 23 } } @@ -122295,15 +124274,15 @@ "binop": null }, "value": "container", - "start": 7980, - "end": 7989, + "start": 8240, + "end": 8249, "loc": { "start": { - "line": 209, + "line": 215, "column": 23 }, "end": { - "line": 209, + "line": 215, "column": 32 } } @@ -122322,15 +124301,15 @@ "updateContext": null }, "value": "===", - "start": 7990, - "end": 7993, + "start": 8250, + "end": 8253, "loc": { "start": { - "line": 209, + "line": 215, "column": 33 }, "end": { - "line": 209, + "line": 215, "column": 36 } } @@ -122348,15 +124327,15 @@ "binop": null }, "value": "undefined", - "start": 7994, - "end": 8003, + "start": 8254, + "end": 8263, "loc": { "start": { - "line": 209, + "line": 215, "column": 37 }, "end": { - "line": 209, + "line": 215, "column": 46 } } @@ -122373,15 +124352,15 @@ "postfix": false, "binop": null }, - "start": 8003, - "end": 8004, + "start": 8263, + "end": 8264, "loc": { "start": { - "line": 209, + "line": 215, "column": 46 }, "end": { - "line": 209, + "line": 215, "column": 47 } } @@ -122398,15 +124377,15 @@ "postfix": false, "binop": null }, - "start": 8005, - "end": 8006, + "start": 8265, + "end": 8266, "loc": { "start": { - "line": 209, + "line": 215, "column": 48 }, "end": { - "line": 209, + "line": 215, "column": 49 } } @@ -122424,15 +124403,15 @@ "binop": null }, "value": "surferOpts", - "start": 8019, - "end": 8029, + "start": 8279, + "end": 8289, "loc": { "start": { - "line": 210, + "line": 216, "column": 12 }, "end": { - "line": 210, + "line": 216, "column": 22 } } @@ -122450,15 +124429,15 @@ "binop": null, "updateContext": null }, - "start": 8029, - "end": 8030, + "start": 8289, + "end": 8290, "loc": { "start": { - "line": 210, + "line": 216, "column": 22 }, "end": { - "line": 210, + "line": 216, "column": 23 } } @@ -122476,15 +124455,15 @@ "binop": null }, "value": "container", - "start": 8030, - "end": 8039, + "start": 8290, + "end": 8299, "loc": { "start": { - "line": 210, + "line": 216, "column": 23 }, "end": { - "line": 210, + "line": 216, "column": 32 } } @@ -122503,15 +124482,15 @@ "updateContext": null }, "value": "=", - "start": 8040, - "end": 8041, + "start": 8300, + "end": 8301, "loc": { "start": { - "line": 210, + "line": 216, "column": 33 }, "end": { - "line": 210, + "line": 216, "column": 34 } } @@ -122531,15 +124510,15 @@ "updateContext": null }, "value": "this", - "start": 8042, - "end": 8046, + "start": 8302, + "end": 8306, "loc": { "start": { - "line": 210, + "line": 216, "column": 35 }, "end": { - "line": 210, + "line": 216, "column": 39 } } @@ -122557,15 +124536,15 @@ "binop": null, "updateContext": null }, - "start": 8046, - "end": 8047, + "start": 8306, + "end": 8307, "loc": { "start": { - "line": 210, + "line": 216, "column": 39 }, "end": { - "line": 210, + "line": 216, "column": 40 } } @@ -122583,15 +124562,15 @@ "binop": null }, "value": "player", - "start": 8047, - "end": 8053, + "start": 8307, + "end": 8313, "loc": { "start": { - "line": 210, + "line": 216, "column": 40 }, "end": { - "line": 210, + "line": 216, "column": 46 } } @@ -122609,15 +124588,15 @@ "binop": null, "updateContext": null }, - "start": 8053, - "end": 8054, + "start": 8313, + "end": 8314, "loc": { "start": { - "line": 210, + "line": 216, "column": 46 }, "end": { - "line": 210, + "line": 216, "column": 47 } } @@ -122635,15 +124614,15 @@ "binop": null }, "value": "el_", - "start": 8054, - "end": 8057, + "start": 8314, + "end": 8317, "loc": { "start": { - "line": 210, + "line": 216, "column": 47 }, "end": { - "line": 210, + "line": 216, "column": 50 } } @@ -122661,15 +124640,15 @@ "binop": null, "updateContext": null }, - "start": 8057, - "end": 8058, + "start": 8317, + "end": 8318, "loc": { "start": { - "line": 210, + "line": 216, "column": 50 }, "end": { - "line": 210, + "line": 216, "column": 51 } } @@ -122686,15 +124665,15 @@ "postfix": false, "binop": null }, - "start": 8067, - "end": 8068, + "start": 8327, + "end": 8328, "loc": { "start": { - "line": 211, + "line": 217, "column": 8 }, "end": { - "line": 211, + "line": 217, "column": 9 } } @@ -122702,15 +124681,15 @@ { "type": "CommentLine", "value": " set the height of generated waveform if user has provided height", - "start": 8078, - "end": 8145, + "start": 8338, + "end": 8405, "loc": { "start": { - "line": 213, + "line": 219, "column": 8 }, "end": { - "line": 213, + "line": 219, "column": 75 } } @@ -122718,15 +124697,15 @@ { "type": "CommentLine", "value": " from options. If height of waveform need to be customized then use", - "start": 8154, - "end": 8223, + "start": 8414, + "end": 8483, "loc": { "start": { - "line": 214, + "line": 220, "column": 8 }, "end": { - "line": 214, + "line": 220, "column": 77 } } @@ -122734,15 +124713,15 @@ { "type": "CommentLine", "value": " option below. For example: waveformHeight: 30", - "start": 8232, - "end": 8280, + "start": 8492, + "end": 8540, "loc": { "start": { - "line": 215, + "line": 221, "column": 8 }, "end": { - "line": 215, + "line": 221, "column": 56 } } @@ -122762,15 +124741,15 @@ "updateContext": null }, "value": "if", - "start": 8289, - "end": 8291, + "start": 8549, + "end": 8551, "loc": { "start": { - "line": 216, + "line": 222, "column": 8 }, "end": { - "line": 216, + "line": 222, "column": 10 } } @@ -122787,15 +124766,15 @@ "postfix": false, "binop": null }, - "start": 8292, - "end": 8293, + "start": 8552, + "end": 8553, "loc": { "start": { - "line": 216, + "line": 222, "column": 11 }, "end": { - "line": 216, + "line": 222, "column": 12 } } @@ -122813,15 +124792,15 @@ "binop": null }, "value": "surferOpts", - "start": 8293, - "end": 8303, + "start": 8553, + "end": 8563, "loc": { "start": { - "line": 216, + "line": 222, "column": 12 }, "end": { - "line": 216, + "line": 222, "column": 22 } } @@ -122839,15 +124818,15 @@ "binop": null, "updateContext": null }, - "start": 8303, - "end": 8304, + "start": 8563, + "end": 8564, "loc": { "start": { - "line": 216, + "line": 222, "column": 22 }, "end": { - "line": 216, + "line": 222, "column": 23 } } @@ -122865,15 +124844,15 @@ "binop": null }, "value": "waveformHeight", - "start": 8304, - "end": 8318, + "start": 8564, + "end": 8578, "loc": { "start": { - "line": 216, + "line": 222, "column": 23 }, "end": { - "line": 216, + "line": 222, "column": 37 } } @@ -122892,15 +124871,15 @@ "updateContext": null }, "value": "===", - "start": 8319, - "end": 8322, + "start": 8579, + "end": 8582, "loc": { "start": { - "line": 216, + "line": 222, "column": 38 }, "end": { - "line": 216, + "line": 222, "column": 41 } } @@ -122918,15 +124897,15 @@ "binop": null }, "value": "undefined", - "start": 8323, - "end": 8332, + "start": 8583, + "end": 8592, "loc": { "start": { - "line": 216, + "line": 222, "column": 42 }, "end": { - "line": 216, + "line": 222, "column": 51 } } @@ -122943,15 +124922,15 @@ "postfix": false, "binop": null }, - "start": 8332, - "end": 8333, + "start": 8592, + "end": 8593, "loc": { "start": { - "line": 216, + "line": 222, "column": 51 }, "end": { - "line": 216, + "line": 222, "column": 52 } } @@ -122968,15 +124947,15 @@ "postfix": false, "binop": null }, - "start": 8334, - "end": 8335, + "start": 8594, + "end": 8595, "loc": { "start": { - "line": 216, + "line": 222, "column": 53 }, "end": { - "line": 216, + "line": 222, "column": 54 } } @@ -122996,15 +124975,15 @@ "updateContext": null }, "value": "let", - "start": 8348, - "end": 8351, + "start": 8608, + "end": 8611, "loc": { "start": { - "line": 217, + "line": 223, "column": 12 }, "end": { - "line": 217, + "line": 223, "column": 15 } } @@ -123022,15 +125001,15 @@ "binop": null }, "value": "playerHeight", - "start": 8352, - "end": 8364, + "start": 8612, + "end": 8624, "loc": { "start": { - "line": 217, + "line": 223, "column": 16 }, "end": { - "line": 217, + "line": 223, "column": 28 } } @@ -123049,15 +125028,15 @@ "updateContext": null }, "value": "=", - "start": 8365, - "end": 8366, + "start": 8625, + "end": 8626, "loc": { "start": { - "line": 217, + "line": 223, "column": 29 }, "end": { - "line": 217, + "line": 223, "column": 30 } } @@ -123075,15 +125054,15 @@ "binop": null }, "value": "rect", - "start": 8367, - "end": 8371, + "start": 8627, + "end": 8631, "loc": { "start": { - "line": 217, + "line": 223, "column": 31 }, "end": { - "line": 217, + "line": 223, "column": 35 } } @@ -123101,15 +125080,15 @@ "binop": null, "updateContext": null }, - "start": 8371, - "end": 8372, + "start": 8631, + "end": 8632, "loc": { "start": { - "line": 217, + "line": 223, "column": 35 }, "end": { - "line": 217, + "line": 223, "column": 36 } } @@ -123127,15 +125106,15 @@ "binop": null }, "value": "height", - "start": 8372, - "end": 8378, + "start": 8632, + "end": 8638, "loc": { "start": { - "line": 217, + "line": 223, "column": 36 }, "end": { - "line": 217, + "line": 223, "column": 42 } } @@ -123153,15 +125132,15 @@ "binop": null, "updateContext": null }, - "start": 8378, - "end": 8379, + "start": 8638, + "end": 8639, "loc": { "start": { - "line": 217, + "line": 223, "column": 42 }, "end": { - "line": 217, + "line": 223, "column": 43 } } @@ -123179,15 +125158,15 @@ "binop": null }, "value": "surferOpts", - "start": 8392, - "end": 8402, + "start": 8652, + "end": 8662, "loc": { "start": { - "line": 218, + "line": 224, "column": 12 }, "end": { - "line": 218, + "line": 224, "column": 22 } } @@ -123205,15 +125184,15 @@ "binop": null, "updateContext": null }, - "start": 8402, - "end": 8403, + "start": 8662, + "end": 8663, "loc": { "start": { - "line": 218, + "line": 224, "column": 22 }, "end": { - "line": 218, + "line": 224, "column": 23 } } @@ -123231,15 +125210,15 @@ "binop": null }, "value": "height", - "start": 8403, - "end": 8409, + "start": 8663, + "end": 8669, "loc": { "start": { - "line": 218, + "line": 224, "column": 23 }, "end": { - "line": 218, + "line": 224, "column": 29 } } @@ -123258,15 +125237,15 @@ "updateContext": null }, "value": "=", - "start": 8410, - "end": 8411, + "start": 8670, + "end": 8671, "loc": { "start": { - "line": 218, + "line": 224, "column": 30 }, "end": { - "line": 218, + "line": 224, "column": 31 } } @@ -123284,15 +125263,15 @@ "binop": null }, "value": "playerHeight", - "start": 8412, - "end": 8424, + "start": 8672, + "end": 8684, "loc": { "start": { - "line": 218, + "line": 224, "column": 32 }, "end": { - "line": 218, + "line": 224, "column": 44 } } @@ -123311,15 +125290,15 @@ "updateContext": null }, "value": "-", - "start": 8425, - "end": 8426, + "start": 8685, + "end": 8686, "loc": { "start": { - "line": 218, + "line": 224, "column": 45 }, "end": { - "line": 218, + "line": 224, "column": 46 } } @@ -123337,15 +125316,15 @@ "binop": null }, "value": "controlBarHeight", - "start": 8427, - "end": 8443, + "start": 8687, + "end": 8703, "loc": { "start": { - "line": 218, + "line": 224, "column": 47 }, "end": { - "line": 218, + "line": 224, "column": 63 } } @@ -123363,15 +125342,15 @@ "binop": null, "updateContext": null }, - "start": 8443, - "end": 8444, + "start": 8703, + "end": 8704, "loc": { "start": { - "line": 218, + "line": 224, "column": 63 }, "end": { - "line": 218, + "line": 224, "column": 64 } } @@ -123388,15 +125367,15 @@ "postfix": false, "binop": null }, - "start": 8453, - "end": 8454, + "start": 8713, + "end": 8714, "loc": { "start": { - "line": 219, + "line": 225, "column": 8 }, "end": { - "line": 219, + "line": 225, "column": 9 } } @@ -123416,15 +125395,15 @@ "updateContext": null }, "value": "else", - "start": 8455, - "end": 8459, + "start": 8715, + "end": 8719, "loc": { "start": { - "line": 219, + "line": 225, "column": 10 }, "end": { - "line": 219, + "line": 225, "column": 14 } } @@ -123441,15 +125420,15 @@ "postfix": false, "binop": null }, - "start": 8460, - "end": 8461, + "start": 8720, + "end": 8721, "loc": { "start": { - "line": 219, + "line": 225, "column": 15 }, "end": { - "line": 219, + "line": 225, "column": 16 } } @@ -123467,15 +125446,15 @@ "binop": null }, "value": "surferOpts", - "start": 8474, - "end": 8484, + "start": 8734, + "end": 8744, "loc": { "start": { - "line": 220, + "line": 226, "column": 12 }, "end": { - "line": 220, + "line": 226, "column": 22 } } @@ -123493,15 +125472,15 @@ "binop": null, "updateContext": null }, - "start": 8484, - "end": 8485, + "start": 8744, + "end": 8745, "loc": { "start": { - "line": 220, + "line": 226, "column": 22 }, "end": { - "line": 220, + "line": 226, "column": 23 } } @@ -123519,15 +125498,15 @@ "binop": null }, "value": "height", - "start": 8485, - "end": 8491, + "start": 8745, + "end": 8751, "loc": { "start": { - "line": 220, + "line": 226, "column": 23 }, "end": { - "line": 220, + "line": 226, "column": 29 } } @@ -123546,15 +125525,15 @@ "updateContext": null }, "value": "=", - "start": 8492, - "end": 8493, + "start": 8752, + "end": 8753, "loc": { "start": { - "line": 220, + "line": 226, "column": 30 }, "end": { - "line": 220, + "line": 226, "column": 31 } } @@ -123572,15 +125551,15 @@ "binop": null }, "value": "surferOpts", - "start": 8494, - "end": 8504, + "start": 8754, + "end": 8764, "loc": { "start": { - "line": 220, + "line": 226, "column": 32 }, "end": { - "line": 220, + "line": 226, "column": 42 } } @@ -123598,15 +125577,15 @@ "binop": null, "updateContext": null }, - "start": 8504, - "end": 8505, + "start": 8764, + "end": 8765, "loc": { "start": { - "line": 220, + "line": 226, "column": 42 }, "end": { - "line": 220, + "line": 226, "column": 43 } } @@ -123624,15 +125603,15 @@ "binop": null }, "value": "waveformHeight", - "start": 8505, - "end": 8519, + "start": 8765, + "end": 8779, "loc": { "start": { - "line": 220, + "line": 226, "column": 43 }, "end": { - "line": 220, + "line": 226, "column": 57 } } @@ -123650,15 +125629,15 @@ "binop": null, "updateContext": null }, - "start": 8519, - "end": 8520, + "start": 8779, + "end": 8780, "loc": { "start": { - "line": 220, + "line": 226, "column": 57 }, "end": { - "line": 220, + "line": 226, "column": 58 } } @@ -123675,15 +125654,15 @@ "postfix": false, "binop": null }, - "start": 8529, - "end": 8530, + "start": 8789, + "end": 8790, "loc": { "start": { - "line": 221, + "line": 227, "column": 8 }, "end": { - "line": 221, + "line": 227, "column": 9 } } @@ -123691,15 +125670,15 @@ { "type": "CommentLine", "value": " split channels", - "start": 8540, - "end": 8557, + "start": 8800, + "end": 8817, "loc": { "start": { - "line": 223, + "line": 229, "column": 8 }, "end": { - "line": 223, + "line": 229, "column": 25 } } @@ -123719,15 +125698,15 @@ "updateContext": null }, "value": "if", - "start": 8566, - "end": 8568, + "start": 8826, + "end": 8828, "loc": { "start": { - "line": 224, + "line": 230, "column": 8 }, "end": { - "line": 224, + "line": 230, "column": 10 } } @@ -123744,15 +125723,15 @@ "postfix": false, "binop": null }, - "start": 8569, - "end": 8570, + "start": 8829, + "end": 8830, "loc": { "start": { - "line": 224, + "line": 230, "column": 11 }, "end": { - "line": 224, + "line": 230, "column": 12 } } @@ -123770,15 +125749,15 @@ "binop": null }, "value": "surferOpts", - "start": 8570, - "end": 8580, + "start": 8830, + "end": 8840, "loc": { "start": { - "line": 224, + "line": 230, "column": 12 }, "end": { - "line": 224, + "line": 230, "column": 22 } } @@ -123796,15 +125775,15 @@ "binop": null, "updateContext": null }, - "start": 8580, - "end": 8581, + "start": 8840, + "end": 8841, "loc": { "start": { - "line": 224, + "line": 230, "column": 22 }, "end": { - "line": 224, + "line": 230, "column": 23 } } @@ -123822,15 +125801,15 @@ "binop": null }, "value": "splitChannels", - "start": 8581, - "end": 8594, + "start": 8841, + "end": 8854, "loc": { "start": { - "line": 224, + "line": 230, "column": 23 }, "end": { - "line": 224, + "line": 230, "column": 36 } } @@ -123849,15 +125828,15 @@ "updateContext": null }, "value": "&&", - "start": 8595, - "end": 8597, + "start": 8855, + "end": 8857, "loc": { "start": { - "line": 224, + "line": 230, "column": 37 }, "end": { - "line": 224, + "line": 230, "column": 39 } } @@ -123875,15 +125854,15 @@ "binop": null }, "value": "surferOpts", - "start": 8598, - "end": 8608, + "start": 8858, + "end": 8868, "loc": { "start": { - "line": 224, + "line": 230, "column": 40 }, "end": { - "line": 224, + "line": 230, "column": 50 } } @@ -123901,15 +125880,15 @@ "binop": null, "updateContext": null }, - "start": 8608, - "end": 8609, + "start": 8868, + "end": 8869, "loc": { "start": { - "line": 224, + "line": 230, "column": 50 }, "end": { - "line": 224, + "line": 230, "column": 51 } } @@ -123927,15 +125906,15 @@ "binop": null }, "value": "splitChannels", - "start": 8609, - "end": 8622, + "start": 8869, + "end": 8882, "loc": { "start": { - "line": 224, + "line": 230, "column": 51 }, "end": { - "line": 224, + "line": 230, "column": 64 } } @@ -123954,15 +125933,15 @@ "updateContext": null }, "value": "===", - "start": 8623, - "end": 8626, + "start": 8883, + "end": 8886, "loc": { "start": { - "line": 224, + "line": 230, "column": 65 }, "end": { - "line": 224, + "line": 230, "column": 68 } } @@ -123982,15 +125961,15 @@ "updateContext": null }, "value": "true", - "start": 8627, - "end": 8631, + "start": 8887, + "end": 8891, "loc": { "start": { - "line": 224, + "line": 230, "column": 69 }, "end": { - "line": 224, + "line": 230, "column": 73 } } @@ -124007,15 +125986,15 @@ "postfix": false, "binop": null }, - "start": 8631, - "end": 8632, + "start": 8891, + "end": 8892, "loc": { "start": { - "line": 224, + "line": 230, "column": 73 }, "end": { - "line": 224, + "line": 230, "column": 74 } } @@ -124032,15 +126011,15 @@ "postfix": false, "binop": null }, - "start": 8633, - "end": 8634, + "start": 8893, + "end": 8894, "loc": { "start": { - "line": 224, + "line": 230, "column": 75 }, "end": { - "line": 224, + "line": 230, "column": 76 } } @@ -124058,15 +126037,15 @@ "binop": null }, "value": "surferOpts", - "start": 8647, - "end": 8657, + "start": 8907, + "end": 8917, "loc": { "start": { - "line": 225, + "line": 231, "column": 12 }, "end": { - "line": 225, + "line": 231, "column": 22 } } @@ -124084,15 +126063,15 @@ "binop": null, "updateContext": null }, - "start": 8657, - "end": 8658, + "start": 8917, + "end": 8918, "loc": { "start": { - "line": 225, + "line": 231, "column": 22 }, "end": { - "line": 225, + "line": 231, "column": 23 } } @@ -124110,15 +126089,15 @@ "binop": null }, "value": "height", - "start": 8658, - "end": 8664, + "start": 8918, + "end": 8924, "loc": { "start": { - "line": 225, + "line": 231, "column": 23 }, "end": { - "line": 225, + "line": 231, "column": 29 } } @@ -124137,15 +126116,15 @@ "updateContext": null }, "value": "/=", - "start": 8665, - "end": 8667, + "start": 8925, + "end": 8927, "loc": { "start": { - "line": 225, + "line": 231, "column": 30 }, "end": { - "line": 225, + "line": 231, "column": 32 } } @@ -124164,15 +126143,15 @@ "updateContext": null }, "value": 2, - "start": 8668, - "end": 8669, + "start": 8928, + "end": 8929, "loc": { "start": { - "line": 225, + "line": 231, "column": 33 }, "end": { - "line": 225, + "line": 231, "column": 34 } } @@ -124190,15 +126169,15 @@ "binop": null, "updateContext": null }, - "start": 8669, - "end": 8670, + "start": 8929, + "end": 8930, "loc": { "start": { - "line": 225, + "line": 231, "column": 34 }, "end": { - "line": 225, + "line": 231, "column": 35 } } @@ -124215,15 +126194,15 @@ "postfix": false, "binop": null }, - "start": 8679, - "end": 8680, + "start": 8939, + "end": 8940, "loc": { "start": { - "line": 226, + "line": 232, "column": 8 }, "end": { - "line": 226, + "line": 232, "column": 9 } } @@ -124231,15 +126210,15 @@ { "type": "CommentLine", "value": " use MediaElement as default wavesurfer.js backend if one is not", - "start": 8690, - "end": 8756, + "start": 8950, + "end": 9016, "loc": { "start": { - "line": 228, + "line": 234, "column": 8 }, "end": { - "line": 228, + "line": 234, "column": 74 } } @@ -124247,15 +126226,15 @@ { "type": "CommentLine", "value": " specified", - "start": 8765, - "end": 8777, + "start": 9025, + "end": 9037, "loc": { "start": { - "line": 229, + "line": 235, "column": 8 }, "end": { - "line": 229, + "line": 235, "column": 20 } } @@ -124275,15 +126254,15 @@ "updateContext": null }, "value": "if", - "start": 8786, - "end": 8788, + "start": 9046, + "end": 9048, "loc": { "start": { - "line": 230, + "line": 236, "column": 8 }, "end": { - "line": 230, + "line": 236, "column": 10 } } @@ -124300,15 +126279,15 @@ "postfix": false, "binop": null }, - "start": 8789, - "end": 8790, + "start": 9049, + "end": 9050, "loc": { "start": { - "line": 230, + "line": 236, "column": 11 }, "end": { - "line": 230, + "line": 236, "column": 12 } } @@ -124327,15 +126306,15 @@ "updateContext": null }, "value": "backend", - "start": 8790, - "end": 8799, + "start": 9050, + "end": 9059, "loc": { "start": { - "line": 230, + "line": 236, "column": 12 }, "end": { - "line": 230, + "line": 236, "column": 21 } } @@ -124355,15 +126334,15 @@ "updateContext": null }, "value": "in", - "start": 8800, - "end": 8802, + "start": 9060, + "end": 9062, "loc": { "start": { - "line": 230, + "line": 236, "column": 22 }, "end": { - "line": 230, + "line": 236, "column": 24 } } @@ -124381,15 +126360,15 @@ "binop": null }, "value": "surferOpts", - "start": 8803, - "end": 8813, + "start": 9063, + "end": 9073, "loc": { "start": { - "line": 230, + "line": 236, "column": 25 }, "end": { - "line": 230, + "line": 236, "column": 35 } } @@ -124406,15 +126385,15 @@ "postfix": false, "binop": null }, - "start": 8813, - "end": 8814, + "start": 9073, + "end": 9074, "loc": { "start": { - "line": 230, + "line": 236, "column": 35 }, "end": { - "line": 230, + "line": 236, "column": 36 } } @@ -124431,15 +126410,15 @@ "postfix": false, "binop": null }, - "start": 8815, - "end": 8816, + "start": 9075, + "end": 9076, "loc": { "start": { - "line": 230, + "line": 236, "column": 37 }, "end": { - "line": 230, + "line": 236, "column": 38 } } @@ -124459,15 +126438,15 @@ "updateContext": null }, "value": "this", - "start": 8829, - "end": 8833, + "start": 9089, + "end": 9093, "loc": { "start": { - "line": 231, + "line": 237, "column": 12 }, "end": { - "line": 231, + "line": 237, "column": 16 } } @@ -124485,15 +126464,15 @@ "binop": null, "updateContext": null }, - "start": 8833, - "end": 8834, + "start": 9093, + "end": 9094, "loc": { "start": { - "line": 231, + "line": 237, "column": 16 }, "end": { - "line": 231, + "line": 237, "column": 17 } } @@ -124511,15 +126490,15 @@ "binop": null }, "value": "backend", - "start": 8834, - "end": 8841, + "start": 9094, + "end": 9101, "loc": { "start": { - "line": 231, + "line": 237, "column": 17 }, "end": { - "line": 231, + "line": 237, "column": 24 } } @@ -124538,15 +126517,15 @@ "updateContext": null }, "value": "=", - "start": 8842, - "end": 8843, + "start": 9102, + "end": 9103, "loc": { "start": { - "line": 231, + "line": 237, "column": 25 }, "end": { - "line": 231, + "line": 237, "column": 26 } } @@ -124564,15 +126543,15 @@ "binop": null }, "value": "surferOpts", - "start": 8844, - "end": 8854, + "start": 9104, + "end": 9114, "loc": { "start": { - "line": 231, + "line": 237, "column": 27 }, "end": { - "line": 231, + "line": 237, "column": 37 } } @@ -124590,15 +126569,15 @@ "binop": null, "updateContext": null }, - "start": 8854, - "end": 8855, + "start": 9114, + "end": 9115, "loc": { "start": { - "line": 231, + "line": 237, "column": 37 }, "end": { - "line": 231, + "line": 237, "column": 38 } } @@ -124616,15 +126595,15 @@ "binop": null }, "value": "backend", - "start": 8855, - "end": 8862, + "start": 9115, + "end": 9122, "loc": { "start": { - "line": 231, + "line": 237, "column": 38 }, "end": { - "line": 231, + "line": 237, "column": 45 } } @@ -124642,15 +126621,15 @@ "binop": null, "updateContext": null }, - "start": 8862, - "end": 8863, + "start": 9122, + "end": 9123, "loc": { "start": { - "line": 231, + "line": 237, "column": 45 }, "end": { - "line": 231, + "line": 237, "column": 46 } } @@ -124667,15 +126646,15 @@ "postfix": false, "binop": null }, - "start": 8872, - "end": 8873, + "start": 9132, + "end": 9133, "loc": { "start": { - "line": 232, + "line": 238, "column": 8 }, "end": { - "line": 232, + "line": 238, "column": 9 } } @@ -124695,15 +126674,15 @@ "updateContext": null }, "value": "else", - "start": 8874, - "end": 8878, + "start": 9134, + "end": 9138, "loc": { "start": { - "line": 232, + "line": 238, "column": 10 }, "end": { - "line": 232, + "line": 238, "column": 14 } } @@ -124720,15 +126699,15 @@ "postfix": false, "binop": null }, - "start": 8879, - "end": 8880, + "start": 9139, + "end": 9140, "loc": { "start": { - "line": 232, + "line": 238, "column": 15 }, "end": { - "line": 232, + "line": 238, "column": 16 } } @@ -124746,15 +126725,15 @@ "binop": null }, "value": "surferOpts", - "start": 8893, - "end": 8903, + "start": 9153, + "end": 9163, "loc": { "start": { - "line": 233, + "line": 239, "column": 12 }, "end": { - "line": 233, + "line": 239, "column": 22 } } @@ -124772,15 +126751,15 @@ "binop": null, "updateContext": null }, - "start": 8903, - "end": 8904, + "start": 9163, + "end": 9164, "loc": { "start": { - "line": 233, + "line": 239, "column": 22 }, "end": { - "line": 233, + "line": 239, "column": 23 } } @@ -124798,15 +126777,15 @@ "binop": null }, "value": "backend", - "start": 8904, - "end": 8911, + "start": 9164, + "end": 9171, "loc": { "start": { - "line": 233, + "line": 239, "column": 23 }, "end": { - "line": 233, + "line": 239, "column": 30 } } @@ -124825,15 +126804,15 @@ "updateContext": null }, "value": "=", - "start": 8912, - "end": 8913, + "start": 9172, + "end": 9173, "loc": { "start": { - "line": 233, + "line": 239, "column": 31 }, "end": { - "line": 233, + "line": 239, "column": 32 } } @@ -124853,15 +126832,15 @@ "updateContext": null }, "value": "this", - "start": 8914, - "end": 8918, + "start": 9174, + "end": 9178, "loc": { "start": { - "line": 233, + "line": 239, "column": 33 }, "end": { - "line": 233, + "line": 239, "column": 37 } } @@ -124879,15 +126858,15 @@ "binop": null, "updateContext": null }, - "start": 8918, - "end": 8919, + "start": 9178, + "end": 9179, "loc": { "start": { - "line": 233, + "line": 239, "column": 37 }, "end": { - "line": 233, + "line": 239, "column": 38 } } @@ -124905,15 +126884,15 @@ "binop": null }, "value": "backend", - "start": 8919, - "end": 8926, + "start": 9179, + "end": 9186, "loc": { "start": { - "line": 233, + "line": 239, "column": 38 }, "end": { - "line": 233, + "line": 239, "column": 45 } } @@ -124932,15 +126911,15 @@ "updateContext": null }, "value": "=", - "start": 8927, - "end": 8928, + "start": 9187, + "end": 9188, "loc": { "start": { - "line": 233, + "line": 239, "column": 46 }, "end": { - "line": 233, + "line": 239, "column": 47 } } @@ -124958,15 +126937,15 @@ "binop": null }, "value": "MEDIAELEMENT", - "start": 8929, - "end": 8941, + "start": 9189, + "end": 9201, "loc": { "start": { - "line": 233, + "line": 239, "column": 48 }, "end": { - "line": 233, + "line": 239, "column": 60 } } @@ -124984,15 +126963,15 @@ "binop": null, "updateContext": null }, - "start": 8941, - "end": 8942, + "start": 9201, + "end": 9202, "loc": { "start": { - "line": 233, + "line": 239, "column": 60 }, "end": { - "line": 233, + "line": 239, "column": 61 } } @@ -125009,15 +126988,15 @@ "postfix": false, "binop": null }, - "start": 8951, - "end": 8952, + "start": 9211, + "end": 9212, "loc": { "start": { - "line": 234, + "line": 240, "column": 8 }, "end": { - "line": 234, + "line": 240, "column": 9 } } @@ -125037,15 +127016,15 @@ "updateContext": null }, "value": "return", - "start": 8962, - "end": 8968, + "start": 9222, + "end": 9228, "loc": { "start": { - "line": 236, + "line": 242, "column": 8 }, "end": { - "line": 236, + "line": 242, "column": 14 } } @@ -125063,15 +127042,15 @@ "binop": null }, "value": "surferOpts", - "start": 8969, - "end": 8979, + "start": 9229, + "end": 9239, "loc": { "start": { - "line": 236, + "line": 242, "column": 15 }, "end": { - "line": 236, + "line": 242, "column": 25 } } @@ -125089,15 +127068,15 @@ "binop": null, "updateContext": null }, - "start": 8979, - "end": 8980, + "start": 9239, + "end": 9240, "loc": { "start": { - "line": 236, + "line": 242, "column": 25 }, "end": { - "line": 236, + "line": 242, "column": 26 } } @@ -125114,15 +127093,15 @@ "postfix": false, "binop": null }, - "start": 8985, - "end": 8986, + "start": 9245, + "end": 9246, "loc": { "start": { - "line": 237, + "line": 243, "column": 4 }, "end": { - "line": 237, + "line": 243, "column": 5 } } @@ -125130,15 +127109,15 @@ { "type": "CommentBlock", "value": "*\n * Starts or stops listening to events related to audio-playback.\n *\n * @param {boolean} enable - Start or stop listening to playback\n * related events.\n * @private\n ", - "start": 8992, - "end": 9192, + "start": 9252, + "end": 9452, "loc": { "start": { - "line": 239, + "line": 245, "column": 4 }, "end": { - "line": 245, + "line": 251, "column": 7 } } @@ -125156,15 +127135,15 @@ "binop": null }, "value": "setupPlaybackEvents", - "start": 9197, - "end": 9216, + "start": 9457, + "end": 9476, "loc": { "start": { - "line": 246, + "line": 252, "column": 4 }, "end": { - "line": 246, + "line": 252, "column": 23 } } @@ -125181,15 +127160,15 @@ "postfix": false, "binop": null }, - "start": 9216, - "end": 9217, + "start": 9476, + "end": 9477, "loc": { "start": { - "line": 246, + "line": 252, "column": 23 }, "end": { - "line": 246, + "line": 252, "column": 24 } } @@ -125207,15 +127186,15 @@ "binop": null }, "value": "enable", - "start": 9217, - "end": 9223, + "start": 9477, + "end": 9483, "loc": { "start": { - "line": 246, + "line": 252, "column": 24 }, "end": { - "line": 246, + "line": 252, "column": 30 } } @@ -125232,15 +127211,15 @@ "postfix": false, "binop": null }, - "start": 9223, - "end": 9224, + "start": 9483, + "end": 9484, "loc": { "start": { - "line": 246, + "line": 252, "column": 30 }, "end": { - "line": 246, + "line": 252, "column": 31 } } @@ -125257,15 +127236,15 @@ "postfix": false, "binop": null }, - "start": 9225, - "end": 9226, + "start": 9485, + "end": 9486, "loc": { "start": { - "line": 246, + "line": 252, "column": 32 }, "end": { - "line": 246, + "line": 252, "column": 33 } } @@ -125285,15 +127264,15 @@ "updateContext": null }, "value": "if", - "start": 9235, - "end": 9237, + "start": 9495, + "end": 9497, "loc": { "start": { - "line": 247, + "line": 253, "column": 8 }, "end": { - "line": 247, + "line": 253, "column": 10 } } @@ -125310,15 +127289,15 @@ "postfix": false, "binop": null }, - "start": 9238, - "end": 9239, + "start": 9498, + "end": 9499, "loc": { "start": { - "line": 247, + "line": 253, "column": 11 }, "end": { - "line": 247, + "line": 253, "column": 12 } } @@ -125336,15 +127315,15 @@ "binop": null }, "value": "enable", - "start": 9239, - "end": 9245, + "start": 9499, + "end": 9505, "loc": { "start": { - "line": 247, + "line": 253, "column": 12 }, "end": { - "line": 247, + "line": 253, "column": 18 } } @@ -125363,15 +127342,15 @@ "updateContext": null }, "value": "===", - "start": 9246, - "end": 9249, + "start": 9506, + "end": 9509, "loc": { "start": { - "line": 247, + "line": 253, "column": 19 }, "end": { - "line": 247, + "line": 253, "column": 22 } } @@ -125391,15 +127370,15 @@ "updateContext": null }, "value": "false", - "start": 9250, - "end": 9255, + "start": 9510, + "end": 9515, "loc": { "start": { - "line": 247, + "line": 253, "column": 23 }, "end": { - "line": 247, + "line": 253, "column": 28 } } @@ -125416,15 +127395,15 @@ "postfix": false, "binop": null }, - "start": 9255, - "end": 9256, + "start": 9515, + "end": 9516, "loc": { "start": { - "line": 247, + "line": 253, "column": 28 }, "end": { - "line": 247, + "line": 253, "column": 29 } } @@ -125441,15 +127420,15 @@ "postfix": false, "binop": null }, - "start": 9257, - "end": 9258, + "start": 9517, + "end": 9518, "loc": { "start": { - "line": 247, + "line": 253, "column": 30 }, "end": { - "line": 247, + "line": 253, "column": 31 } } @@ -125469,15 +127448,15 @@ "updateContext": null }, "value": "this", - "start": 9271, - "end": 9275, + "start": 9531, + "end": 9535, "loc": { "start": { - "line": 248, + "line": 254, "column": 12 }, "end": { - "line": 248, + "line": 254, "column": 16 } } @@ -125495,15 +127474,15 @@ "binop": null, "updateContext": null }, - "start": 9275, - "end": 9276, + "start": 9535, + "end": 9536, "loc": { "start": { - "line": 248, + "line": 254, "column": 16 }, "end": { - "line": 248, + "line": 254, "column": 17 } } @@ -125521,15 +127500,15 @@ "binop": null }, "value": "surfer", - "start": 9276, - "end": 9282, + "start": 9536, + "end": 9542, "loc": { "start": { - "line": 248, + "line": 254, "column": 17 }, "end": { - "line": 248, + "line": 254, "column": 23 } } @@ -125547,15 +127526,15 @@ "binop": null, "updateContext": null }, - "start": 9282, - "end": 9283, + "start": 9542, + "end": 9543, "loc": { "start": { - "line": 248, + "line": 254, "column": 23 }, "end": { - "line": 248, + "line": 254, "column": 24 } } @@ -125573,15 +127552,15 @@ "binop": null }, "value": "un", - "start": 9283, - "end": 9285, + "start": 9543, + "end": 9545, "loc": { "start": { - "line": 248, + "line": 254, "column": 24 }, "end": { - "line": 248, + "line": 254, "column": 26 } } @@ -125598,15 +127577,15 @@ "postfix": false, "binop": null }, - "start": 9285, - "end": 9286, + "start": 9545, + "end": 9546, "loc": { "start": { - "line": 248, + "line": 254, "column": 26 }, "end": { - "line": 248, + "line": 254, "column": 27 } } @@ -125624,15 +127603,15 @@ "binop": null }, "value": "Event", - "start": 9286, - "end": 9291, + "start": 9546, + "end": 9551, "loc": { "start": { - "line": 248, + "line": 254, "column": 27 }, "end": { - "line": 248, + "line": 254, "column": 32 } } @@ -125650,15 +127629,15 @@ "binop": null, "updateContext": null }, - "start": 9291, - "end": 9292, + "start": 9551, + "end": 9552, "loc": { "start": { - "line": 248, + "line": 254, "column": 32 }, "end": { - "line": 248, + "line": 254, "column": 33 } } @@ -125676,15 +127655,15 @@ "binop": null }, "value": "READY", - "start": 9292, - "end": 9297, + "start": 9552, + "end": 9557, "loc": { "start": { - "line": 248, + "line": 254, "column": 33 }, "end": { - "line": 248, + "line": 254, "column": 38 } } @@ -125702,15 +127681,15 @@ "binop": null, "updateContext": null }, - "start": 9297, - "end": 9298, + "start": 9557, + "end": 9558, "loc": { "start": { - "line": 248, + "line": 254, "column": 38 }, "end": { - "line": 248, + "line": 254, "column": 39 } } @@ -125730,15 +127709,15 @@ "updateContext": null }, "value": "this", - "start": 9299, - "end": 9303, + "start": 9559, + "end": 9563, "loc": { "start": { - "line": 248, + "line": 254, "column": 40 }, "end": { - "line": 248, + "line": 254, "column": 44 } } @@ -125756,15 +127735,15 @@ "binop": null, "updateContext": null }, - "start": 9303, - "end": 9304, + "start": 9563, + "end": 9564, "loc": { "start": { - "line": 248, + "line": 254, "column": 44 }, "end": { - "line": 248, + "line": 254, "column": 45 } } @@ -125782,15 +127761,15 @@ "binop": null }, "value": "surferReady", - "start": 9304, - "end": 9315, + "start": 9564, + "end": 9575, "loc": { "start": { - "line": 248, + "line": 254, "column": 45 }, "end": { - "line": 248, + "line": 254, "column": 56 } } @@ -125807,15 +127786,15 @@ "postfix": false, "binop": null }, - "start": 9315, - "end": 9316, + "start": 9575, + "end": 9576, "loc": { "start": { - "line": 248, + "line": 254, "column": 56 }, "end": { - "line": 248, + "line": 254, "column": 57 } } @@ -125833,15 +127812,15 @@ "binop": null, "updateContext": null }, - "start": 9316, - "end": 9317, + "start": 9576, + "end": 9577, "loc": { "start": { - "line": 248, + "line": 254, "column": 57 }, "end": { - "line": 248, + "line": 254, "column": 58 } } @@ -125861,15 +127840,15 @@ "updateContext": null }, "value": "if", - "start": 9330, - "end": 9332, + "start": 9590, + "end": 9592, "loc": { "start": { - "line": 249, + "line": 255, "column": 12 }, "end": { - "line": 249, + "line": 255, "column": 14 } } @@ -125886,15 +127865,15 @@ "postfix": false, "binop": null }, - "start": 9333, - "end": 9334, + "start": 9593, + "end": 9594, "loc": { "start": { - "line": 249, + "line": 255, "column": 15 }, "end": { - "line": 249, + "line": 255, "column": 16 } } @@ -125914,15 +127893,15 @@ "updateContext": null }, "value": "this", - "start": 9334, - "end": 9338, + "start": 9594, + "end": 9598, "loc": { "start": { - "line": 249, + "line": 255, "column": 16 }, "end": { - "line": 249, + "line": 255, "column": 20 } } @@ -125940,15 +127919,15 @@ "binop": null, "updateContext": null }, - "start": 9338, - "end": 9339, + "start": 9598, + "end": 9599, "loc": { "start": { - "line": 249, + "line": 255, "column": 20 }, "end": { - "line": 249, + "line": 255, "column": 21 } } @@ -125966,15 +127945,15 @@ "binop": null }, "value": "backend", - "start": 9339, - "end": 9346, + "start": 9599, + "end": 9606, "loc": { "start": { - "line": 249, + "line": 255, "column": 21 }, "end": { - "line": 249, + "line": 255, "column": 28 } } @@ -125993,15 +127972,15 @@ "updateContext": null }, "value": "===", - "start": 9347, - "end": 9350, + "start": 9607, + "end": 9610, "loc": { "start": { - "line": 249, + "line": 255, "column": 29 }, "end": { - "line": 249, + "line": 255, "column": 32 } } @@ -126019,15 +127998,15 @@ "binop": null }, "value": "WEBAUDIO", - "start": 9351, - "end": 9359, + "start": 9611, + "end": 9619, "loc": { "start": { - "line": 249, + "line": 255, "column": 33 }, "end": { - "line": 249, + "line": 255, "column": 41 } } @@ -126044,15 +128023,15 @@ "postfix": false, "binop": null }, - "start": 9359, - "end": 9360, + "start": 9619, + "end": 9620, "loc": { "start": { - "line": 249, + "line": 255, "column": 41 }, "end": { - "line": 249, + "line": 255, "column": 42 } } @@ -126069,15 +128048,15 @@ "postfix": false, "binop": null }, - "start": 9361, - "end": 9362, + "start": 9621, + "end": 9622, "loc": { "start": { - "line": 249, + "line": 255, "column": 43 }, "end": { - "line": 249, + "line": 255, "column": 44 } } @@ -126097,15 +128076,15 @@ "updateContext": null }, "value": "this", - "start": 9379, - "end": 9383, + "start": 9639, + "end": 9643, "loc": { "start": { - "line": 250, + "line": 256, "column": 16 }, "end": { - "line": 250, + "line": 256, "column": 20 } } @@ -126123,15 +128102,15 @@ "binop": null, "updateContext": null }, - "start": 9383, - "end": 9384, + "start": 9643, + "end": 9644, "loc": { "start": { - "line": 250, + "line": 256, "column": 20 }, "end": { - "line": 250, + "line": 256, "column": 21 } } @@ -126149,15 +128128,15 @@ "binop": null }, "value": "surfer", - "start": 9384, - "end": 9390, + "start": 9644, + "end": 9650, "loc": { "start": { - "line": 250, + "line": 256, "column": 21 }, "end": { - "line": 250, + "line": 256, "column": 27 } } @@ -126175,15 +128154,15 @@ "binop": null, "updateContext": null }, - "start": 9390, - "end": 9391, + "start": 9650, + "end": 9651, "loc": { "start": { - "line": 250, + "line": 256, "column": 27 }, "end": { - "line": 250, + "line": 256, "column": 28 } } @@ -126201,15 +128180,15 @@ "binop": null }, "value": "un", - "start": 9391, - "end": 9393, + "start": 9651, + "end": 9653, "loc": { "start": { - "line": 250, + "line": 256, "column": 28 }, "end": { - "line": 250, + "line": 256, "column": 30 } } @@ -126226,15 +128205,15 @@ "postfix": false, "binop": null }, - "start": 9393, - "end": 9394, + "start": 9653, + "end": 9654, "loc": { "start": { - "line": 250, + "line": 256, "column": 30 }, "end": { - "line": 250, + "line": 256, "column": 31 } } @@ -126252,15 +128231,15 @@ "binop": null }, "value": "Event", - "start": 9394, - "end": 9399, + "start": 9654, + "end": 9659, "loc": { "start": { - "line": 250, + "line": 256, "column": 31 }, "end": { - "line": 250, + "line": 256, "column": 36 } } @@ -126278,15 +128257,15 @@ "binop": null, "updateContext": null }, - "start": 9399, - "end": 9400, + "start": 9659, + "end": 9660, "loc": { "start": { - "line": 250, + "line": 256, "column": 36 }, "end": { - "line": 250, + "line": 256, "column": 37 } } @@ -126304,15 +128283,15 @@ "binop": null }, "value": "AUDIOPROCESS", - "start": 9400, - "end": 9412, + "start": 9660, + "end": 9672, "loc": { "start": { - "line": 250, + "line": 256, "column": 37 }, "end": { - "line": 250, + "line": 256, "column": 49 } } @@ -126330,15 +128309,15 @@ "binop": null, "updateContext": null }, - "start": 9412, - "end": 9413, + "start": 9672, + "end": 9673, "loc": { "start": { - "line": 250, + "line": 256, "column": 49 }, "end": { - "line": 250, + "line": 256, "column": 50 } } @@ -126358,15 +128337,15 @@ "updateContext": null }, "value": "this", - "start": 9414, - "end": 9418, + "start": 9674, + "end": 9678, "loc": { "start": { - "line": 250, + "line": 256, "column": 51 }, "end": { - "line": 250, + "line": 256, "column": 55 } } @@ -126384,15 +128363,15 @@ "binop": null, "updateContext": null }, - "start": 9418, - "end": 9419, + "start": 9678, + "end": 9679, "loc": { "start": { - "line": 250, + "line": 256, "column": 55 }, "end": { - "line": 250, + "line": 256, "column": 56 } } @@ -126410,15 +128389,15 @@ "binop": null }, "value": "surferProgress", - "start": 9419, - "end": 9433, + "start": 9679, + "end": 9693, "loc": { "start": { - "line": 250, + "line": 256, "column": 56 }, "end": { - "line": 250, + "line": 256, "column": 70 } } @@ -126435,15 +128414,15 @@ "postfix": false, "binop": null }, - "start": 9433, - "end": 9434, + "start": 9693, + "end": 9694, "loc": { "start": { - "line": 250, + "line": 256, "column": 70 }, "end": { - "line": 250, + "line": 256, "column": 71 } } @@ -126461,15 +128440,15 @@ "binop": null, "updateContext": null }, - "start": 9434, - "end": 9435, + "start": 9694, + "end": 9695, "loc": { "start": { - "line": 250, + "line": 256, "column": 71 }, "end": { - "line": 250, + "line": 256, "column": 72 } } @@ -126489,15 +128468,15 @@ "updateContext": null }, "value": "this", - "start": 9452, - "end": 9456, + "start": 9712, + "end": 9716, "loc": { "start": { - "line": 251, + "line": 257, "column": 16 }, "end": { - "line": 251, + "line": 257, "column": 20 } } @@ -126515,15 +128494,15 @@ "binop": null, "updateContext": null }, - "start": 9456, - "end": 9457, + "start": 9716, + "end": 9717, "loc": { "start": { - "line": 251, + "line": 257, "column": 20 }, "end": { - "line": 251, + "line": 257, "column": 21 } } @@ -126541,15 +128520,15 @@ "binop": null }, "value": "surfer", - "start": 9457, - "end": 9463, + "start": 9717, + "end": 9723, "loc": { "start": { - "line": 251, + "line": 257, "column": 21 }, "end": { - "line": 251, + "line": 257, "column": 27 } } @@ -126567,15 +128546,15 @@ "binop": null, "updateContext": null }, - "start": 9463, - "end": 9464, + "start": 9723, + "end": 9724, "loc": { "start": { - "line": 251, + "line": 257, "column": 27 }, "end": { - "line": 251, + "line": 257, "column": 28 } } @@ -126593,15 +128572,15 @@ "binop": null }, "value": "un", - "start": 9464, - "end": 9466, + "start": 9724, + "end": 9726, "loc": { "start": { - "line": 251, + "line": 257, "column": 28 }, "end": { - "line": 251, + "line": 257, "column": 30 } } @@ -126618,15 +128597,15 @@ "postfix": false, "binop": null }, - "start": 9466, - "end": 9467, + "start": 9726, + "end": 9727, "loc": { "start": { - "line": 251, + "line": 257, "column": 30 }, "end": { - "line": 251, + "line": 257, "column": 31 } } @@ -126644,15 +128623,15 @@ "binop": null }, "value": "Event", - "start": 9467, - "end": 9472, + "start": 9727, + "end": 9732, "loc": { "start": { - "line": 251, + "line": 257, "column": 31 }, "end": { - "line": 251, + "line": 257, "column": 36 } } @@ -126670,15 +128649,15 @@ "binop": null, "updateContext": null }, - "start": 9472, - "end": 9473, + "start": 9732, + "end": 9733, "loc": { "start": { - "line": 251, + "line": 257, "column": 36 }, "end": { - "line": 251, + "line": 257, "column": 37 } } @@ -126696,15 +128675,15 @@ "binop": null }, "value": "SEEK", - "start": 9473, - "end": 9477, + "start": 9733, + "end": 9737, "loc": { "start": { - "line": 251, + "line": 257, "column": 37 }, "end": { - "line": 251, + "line": 257, "column": 41 } } @@ -126722,15 +128701,15 @@ "binop": null, "updateContext": null }, - "start": 9477, - "end": 9478, + "start": 9737, + "end": 9738, "loc": { "start": { - "line": 251, + "line": 257, "column": 41 }, "end": { - "line": 251, + "line": 257, "column": 42 } } @@ -126750,15 +128729,15 @@ "updateContext": null }, "value": "this", - "start": 9479, - "end": 9483, + "start": 9739, + "end": 9743, "loc": { "start": { - "line": 251, + "line": 257, "column": 43 }, "end": { - "line": 251, + "line": 257, "column": 47 } } @@ -126776,15 +128755,15 @@ "binop": null, "updateContext": null }, - "start": 9483, - "end": 9484, + "start": 9743, + "end": 9744, "loc": { "start": { - "line": 251, + "line": 257, "column": 47 }, "end": { - "line": 251, + "line": 257, "column": 48 } } @@ -126802,15 +128781,15 @@ "binop": null }, "value": "surferSeek", - "start": 9484, - "end": 9494, + "start": 9744, + "end": 9754, "loc": { "start": { - "line": 251, + "line": 257, "column": 48 }, "end": { - "line": 251, + "line": 257, "column": 58 } } @@ -126827,15 +128806,15 @@ "postfix": false, "binop": null }, - "start": 9494, - "end": 9495, + "start": 9754, + "end": 9755, "loc": { "start": { - "line": 251, + "line": 257, "column": 58 }, "end": { - "line": 251, + "line": 257, "column": 59 } } @@ -126853,15 +128832,15 @@ "binop": null, "updateContext": null }, - "start": 9495, - "end": 9496, + "start": 9755, + "end": 9756, "loc": { "start": { - "line": 251, + "line": 257, "column": 59 }, "end": { - "line": 251, + "line": 257, "column": 60 } } @@ -126878,15 +128857,15 @@ "postfix": false, "binop": null }, - "start": 9509, - "end": 9510, + "start": 9769, + "end": 9770, "loc": { "start": { - "line": 252, + "line": 258, "column": 12 }, "end": { - "line": 252, + "line": 258, "column": 13 } } @@ -126903,15 +128882,15 @@ "postfix": false, "binop": null }, - "start": 9519, - "end": 9520, + "start": 9779, + "end": 9780, "loc": { "start": { - "line": 253, + "line": 259, "column": 8 }, "end": { - "line": 253, + "line": 259, "column": 9 } } @@ -126931,15 +128910,15 @@ "updateContext": null }, "value": "else", - "start": 9521, - "end": 9525, + "start": 9781, + "end": 9785, "loc": { "start": { - "line": 253, + "line": 259, "column": 10 }, "end": { - "line": 253, + "line": 259, "column": 14 } } @@ -126959,15 +128938,15 @@ "updateContext": null }, "value": "if", - "start": 9526, - "end": 9528, + "start": 9786, + "end": 9788, "loc": { "start": { - "line": 253, + "line": 259, "column": 15 }, "end": { - "line": 253, + "line": 259, "column": 17 } } @@ -126984,15 +128963,15 @@ "postfix": false, "binop": null }, - "start": 9529, - "end": 9530, + "start": 9789, + "end": 9790, "loc": { "start": { - "line": 253, + "line": 259, "column": 18 }, "end": { - "line": 253, + "line": 259, "column": 19 } } @@ -127010,15 +128989,15 @@ "binop": null }, "value": "enable", - "start": 9530, - "end": 9536, + "start": 9790, + "end": 9796, "loc": { "start": { - "line": 253, + "line": 259, "column": 19 }, "end": { - "line": 253, + "line": 259, "column": 25 } } @@ -127037,15 +129016,15 @@ "updateContext": null }, "value": "===", - "start": 9537, - "end": 9540, + "start": 9797, + "end": 9800, "loc": { "start": { - "line": 253, + "line": 259, "column": 26 }, "end": { - "line": 253, + "line": 259, "column": 29 } } @@ -127065,15 +129044,15 @@ "updateContext": null }, "value": "true", - "start": 9541, - "end": 9545, + "start": 9801, + "end": 9805, "loc": { "start": { - "line": 253, + "line": 259, "column": 30 }, "end": { - "line": 253, + "line": 259, "column": 34 } } @@ -127090,15 +129069,15 @@ "postfix": false, "binop": null }, - "start": 9545, - "end": 9546, + "start": 9805, + "end": 9806, "loc": { "start": { - "line": 253, + "line": 259, "column": 34 }, "end": { - "line": 253, + "line": 259, "column": 35 } } @@ -127115,15 +129094,15 @@ "postfix": false, "binop": null }, - "start": 9547, - "end": 9548, + "start": 9807, + "end": 9808, "loc": { "start": { - "line": 253, + "line": 259, "column": 36 }, "end": { - "line": 253, + "line": 259, "column": 37 } } @@ -127143,15 +129122,15 @@ "updateContext": null }, "value": "this", - "start": 9561, - "end": 9565, + "start": 9821, + "end": 9825, "loc": { "start": { - "line": 254, + "line": 260, "column": 12 }, "end": { - "line": 254, + "line": 260, "column": 16 } } @@ -127169,15 +129148,15 @@ "binop": null, "updateContext": null }, - "start": 9565, - "end": 9566, + "start": 9825, + "end": 9826, "loc": { "start": { - "line": 254, + "line": 260, "column": 16 }, "end": { - "line": 254, + "line": 260, "column": 17 } } @@ -127195,15 +129174,15 @@ "binop": null }, "value": "surfer", - "start": 9566, - "end": 9572, + "start": 9826, + "end": 9832, "loc": { "start": { - "line": 254, + "line": 260, "column": 17 }, "end": { - "line": 254, + "line": 260, "column": 23 } } @@ -127221,15 +129200,15 @@ "binop": null, "updateContext": null }, - "start": 9572, - "end": 9573, + "start": 9832, + "end": 9833, "loc": { "start": { - "line": 254, + "line": 260, "column": 23 }, "end": { - "line": 254, + "line": 260, "column": 24 } } @@ -127247,15 +129226,15 @@ "binop": null }, "value": "on", - "start": 9573, - "end": 9575, + "start": 9833, + "end": 9835, "loc": { "start": { - "line": 254, + "line": 260, "column": 24 }, "end": { - "line": 254, + "line": 260, "column": 26 } } @@ -127272,15 +129251,15 @@ "postfix": false, "binop": null }, - "start": 9575, - "end": 9576, + "start": 9835, + "end": 9836, "loc": { "start": { - "line": 254, + "line": 260, "column": 26 }, "end": { - "line": 254, + "line": 260, "column": 27 } } @@ -127298,15 +129277,15 @@ "binop": null }, "value": "Event", - "start": 9576, - "end": 9581, + "start": 9836, + "end": 9841, "loc": { "start": { - "line": 254, + "line": 260, "column": 27 }, "end": { - "line": 254, + "line": 260, "column": 32 } } @@ -127324,15 +129303,15 @@ "binop": null, "updateContext": null }, - "start": 9581, - "end": 9582, + "start": 9841, + "end": 9842, "loc": { "start": { - "line": 254, + "line": 260, "column": 32 }, "end": { - "line": 254, + "line": 260, "column": 33 } } @@ -127350,15 +129329,15 @@ "binop": null }, "value": "READY", - "start": 9582, - "end": 9587, + "start": 9842, + "end": 9847, "loc": { "start": { - "line": 254, + "line": 260, "column": 33 }, "end": { - "line": 254, + "line": 260, "column": 38 } } @@ -127376,15 +129355,15 @@ "binop": null, "updateContext": null }, - "start": 9587, - "end": 9588, + "start": 9847, + "end": 9848, "loc": { "start": { - "line": 254, + "line": 260, "column": 38 }, "end": { - "line": 254, + "line": 260, "column": 39 } } @@ -127404,15 +129383,15 @@ "updateContext": null }, "value": "this", - "start": 9589, - "end": 9593, + "start": 9849, + "end": 9853, "loc": { "start": { - "line": 254, + "line": 260, "column": 40 }, "end": { - "line": 254, + "line": 260, "column": 44 } } @@ -127430,15 +129409,15 @@ "binop": null, "updateContext": null }, - "start": 9593, - "end": 9594, + "start": 9853, + "end": 9854, "loc": { "start": { - "line": 254, + "line": 260, "column": 44 }, "end": { - "line": 254, + "line": 260, "column": 45 } } @@ -127456,15 +129435,15 @@ "binop": null }, "value": "surferReady", - "start": 9594, - "end": 9605, + "start": 9854, + "end": 9865, "loc": { "start": { - "line": 254, + "line": 260, "column": 45 }, "end": { - "line": 254, + "line": 260, "column": 56 } } @@ -127481,15 +129460,15 @@ "postfix": false, "binop": null }, - "start": 9605, - "end": 9606, + "start": 9865, + "end": 9866, "loc": { "start": { - "line": 254, + "line": 260, "column": 56 }, "end": { - "line": 254, + "line": 260, "column": 57 } } @@ -127507,15 +129486,15 @@ "binop": null, "updateContext": null }, - "start": 9606, - "end": 9607, + "start": 9866, + "end": 9867, "loc": { "start": { - "line": 254, + "line": 260, "column": 57 }, "end": { - "line": 254, + "line": 260, "column": 58 } } @@ -127535,15 +129514,15 @@ "updateContext": null }, "value": "if", - "start": 9620, - "end": 9622, + "start": 9880, + "end": 9882, "loc": { "start": { - "line": 255, + "line": 261, "column": 12 }, "end": { - "line": 255, + "line": 261, "column": 14 } } @@ -127560,15 +129539,15 @@ "postfix": false, "binop": null }, - "start": 9623, - "end": 9624, + "start": 9883, + "end": 9884, "loc": { "start": { - "line": 255, + "line": 261, "column": 15 }, "end": { - "line": 255, + "line": 261, "column": 16 } } @@ -127588,15 +129567,15 @@ "updateContext": null }, "value": "this", - "start": 9624, - "end": 9628, + "start": 9884, + "end": 9888, "loc": { "start": { - "line": 255, + "line": 261, "column": 16 }, "end": { - "line": 255, + "line": 261, "column": 20 } } @@ -127614,15 +129593,15 @@ "binop": null, "updateContext": null }, - "start": 9628, - "end": 9629, + "start": 9888, + "end": 9889, "loc": { "start": { - "line": 255, + "line": 261, "column": 20 }, "end": { - "line": 255, + "line": 261, "column": 21 } } @@ -127640,15 +129619,15 @@ "binop": null }, "value": "backend", - "start": 9629, - "end": 9636, + "start": 9889, + "end": 9896, "loc": { "start": { - "line": 255, + "line": 261, "column": 21 }, "end": { - "line": 255, + "line": 261, "column": 28 } } @@ -127667,15 +129646,15 @@ "updateContext": null }, "value": "===", - "start": 9637, - "end": 9640, + "start": 9897, + "end": 9900, "loc": { "start": { - "line": 255, + "line": 261, "column": 29 }, "end": { - "line": 255, + "line": 261, "column": 32 } } @@ -127693,15 +129672,15 @@ "binop": null }, "value": "WEBAUDIO", - "start": 9641, - "end": 9649, + "start": 9901, + "end": 9909, "loc": { "start": { - "line": 255, + "line": 261, "column": 33 }, "end": { - "line": 255, + "line": 261, "column": 41 } } @@ -127718,15 +129697,15 @@ "postfix": false, "binop": null }, - "start": 9649, - "end": 9650, + "start": 9909, + "end": 9910, "loc": { "start": { - "line": 255, + "line": 261, "column": 41 }, "end": { - "line": 255, + "line": 261, "column": 42 } } @@ -127743,15 +129722,15 @@ "postfix": false, "binop": null }, - "start": 9651, - "end": 9652, + "start": 9911, + "end": 9912, "loc": { "start": { - "line": 255, + "line": 261, "column": 43 }, "end": { - "line": 255, + "line": 261, "column": 44 } } @@ -127771,15 +129750,15 @@ "updateContext": null }, "value": "this", - "start": 9669, - "end": 9673, + "start": 9929, + "end": 9933, "loc": { "start": { - "line": 256, + "line": 262, "column": 16 }, "end": { - "line": 256, + "line": 262, "column": 20 } } @@ -127797,15 +129776,15 @@ "binop": null, "updateContext": null }, - "start": 9673, - "end": 9674, + "start": 9933, + "end": 9934, "loc": { "start": { - "line": 256, + "line": 262, "column": 20 }, "end": { - "line": 256, + "line": 262, "column": 21 } } @@ -127823,15 +129802,15 @@ "binop": null }, "value": "surfer", - "start": 9674, - "end": 9680, + "start": 9934, + "end": 9940, "loc": { "start": { - "line": 256, + "line": 262, "column": 21 }, "end": { - "line": 256, + "line": 262, "column": 27 } } @@ -127849,15 +129828,15 @@ "binop": null, "updateContext": null }, - "start": 9680, - "end": 9681, + "start": 9940, + "end": 9941, "loc": { "start": { - "line": 256, + "line": 262, "column": 27 }, "end": { - "line": 256, + "line": 262, "column": 28 } } @@ -127875,15 +129854,15 @@ "binop": null }, "value": "on", - "start": 9681, - "end": 9683, + "start": 9941, + "end": 9943, "loc": { "start": { - "line": 256, + "line": 262, "column": 28 }, "end": { - "line": 256, + "line": 262, "column": 30 } } @@ -127900,15 +129879,15 @@ "postfix": false, "binop": null }, - "start": 9683, - "end": 9684, + "start": 9943, + "end": 9944, "loc": { "start": { - "line": 256, + "line": 262, "column": 30 }, "end": { - "line": 256, + "line": 262, "column": 31 } } @@ -127926,15 +129905,15 @@ "binop": null }, "value": "Event", - "start": 9684, - "end": 9689, + "start": 9944, + "end": 9949, "loc": { "start": { - "line": 256, + "line": 262, "column": 31 }, "end": { - "line": 256, + "line": 262, "column": 36 } } @@ -127952,15 +129931,15 @@ "binop": null, "updateContext": null }, - "start": 9689, - "end": 9690, + "start": 9949, + "end": 9950, "loc": { "start": { - "line": 256, + "line": 262, "column": 36 }, "end": { - "line": 256, + "line": 262, "column": 37 } } @@ -127978,15 +129957,15 @@ "binop": null }, "value": "AUDIOPROCESS", - "start": 9690, - "end": 9702, + "start": 9950, + "end": 9962, "loc": { "start": { - "line": 256, + "line": 262, "column": 37 }, "end": { - "line": 256, + "line": 262, "column": 49 } } @@ -128004,15 +129983,15 @@ "binop": null, "updateContext": null }, - "start": 9702, - "end": 9703, + "start": 9962, + "end": 9963, "loc": { "start": { - "line": 256, + "line": 262, "column": 49 }, "end": { - "line": 256, + "line": 262, "column": 50 } } @@ -128032,15 +130011,15 @@ "updateContext": null }, "value": "this", - "start": 9704, - "end": 9708, + "start": 9964, + "end": 9968, "loc": { "start": { - "line": 256, + "line": 262, "column": 51 }, "end": { - "line": 256, + "line": 262, "column": 55 } } @@ -128058,15 +130037,15 @@ "binop": null, "updateContext": null }, - "start": 9708, - "end": 9709, + "start": 9968, + "end": 9969, "loc": { "start": { - "line": 256, + "line": 262, "column": 55 }, "end": { - "line": 256, + "line": 262, "column": 56 } } @@ -128084,15 +130063,15 @@ "binop": null }, "value": "surferProgress", - "start": 9709, - "end": 9723, + "start": 9969, + "end": 9983, "loc": { "start": { - "line": 256, + "line": 262, "column": 56 }, "end": { - "line": 256, + "line": 262, "column": 70 } } @@ -128109,15 +130088,15 @@ "postfix": false, "binop": null }, - "start": 9723, - "end": 9724, + "start": 9983, + "end": 9984, "loc": { "start": { - "line": 256, + "line": 262, "column": 70 }, "end": { - "line": 256, + "line": 262, "column": 71 } } @@ -128135,15 +130114,15 @@ "binop": null, "updateContext": null }, - "start": 9724, - "end": 9725, + "start": 9984, + "end": 9985, "loc": { "start": { - "line": 256, + "line": 262, "column": 71 }, "end": { - "line": 256, + "line": 262, "column": 72 } } @@ -128163,15 +130142,15 @@ "updateContext": null }, "value": "this", - "start": 9742, - "end": 9746, + "start": 10002, + "end": 10006, "loc": { "start": { - "line": 257, + "line": 263, "column": 16 }, "end": { - "line": 257, + "line": 263, "column": 20 } } @@ -128189,15 +130168,15 @@ "binop": null, "updateContext": null }, - "start": 9746, - "end": 9747, + "start": 10006, + "end": 10007, "loc": { "start": { - "line": 257, + "line": 263, "column": 20 }, "end": { - "line": 257, + "line": 263, "column": 21 } } @@ -128215,15 +130194,15 @@ "binop": null }, "value": "surfer", - "start": 9747, - "end": 9753, + "start": 10007, + "end": 10013, "loc": { "start": { - "line": 257, + "line": 263, "column": 21 }, "end": { - "line": 257, + "line": 263, "column": 27 } } @@ -128241,15 +130220,15 @@ "binop": null, "updateContext": null }, - "start": 9753, - "end": 9754, + "start": 10013, + "end": 10014, "loc": { "start": { - "line": 257, + "line": 263, "column": 27 }, "end": { - "line": 257, + "line": 263, "column": 28 } } @@ -128267,15 +130246,15 @@ "binop": null }, "value": "on", - "start": 9754, - "end": 9756, + "start": 10014, + "end": 10016, "loc": { "start": { - "line": 257, + "line": 263, "column": 28 }, "end": { - "line": 257, + "line": 263, "column": 30 } } @@ -128292,15 +130271,15 @@ "postfix": false, "binop": null }, - "start": 9756, - "end": 9757, + "start": 10016, + "end": 10017, "loc": { "start": { - "line": 257, + "line": 263, "column": 30 }, "end": { - "line": 257, + "line": 263, "column": 31 } } @@ -128318,15 +130297,15 @@ "binop": null }, "value": "Event", - "start": 9757, - "end": 9762, + "start": 10017, + "end": 10022, "loc": { "start": { - "line": 257, + "line": 263, "column": 31 }, "end": { - "line": 257, + "line": 263, "column": 36 } } @@ -128344,15 +130323,15 @@ "binop": null, "updateContext": null }, - "start": 9762, - "end": 9763, + "start": 10022, + "end": 10023, "loc": { "start": { - "line": 257, + "line": 263, "column": 36 }, "end": { - "line": 257, + "line": 263, "column": 37 } } @@ -128370,15 +130349,15 @@ "binop": null }, "value": "SEEK", - "start": 9763, - "end": 9767, + "start": 10023, + "end": 10027, "loc": { "start": { - "line": 257, + "line": 263, "column": 37 }, "end": { - "line": 257, + "line": 263, "column": 41 } } @@ -128396,15 +130375,15 @@ "binop": null, "updateContext": null }, - "start": 9767, - "end": 9768, + "start": 10027, + "end": 10028, "loc": { "start": { - "line": 257, + "line": 263, "column": 41 }, "end": { - "line": 257, + "line": 263, "column": 42 } } @@ -128424,15 +130403,15 @@ "updateContext": null }, "value": "this", - "start": 9769, - "end": 9773, + "start": 10029, + "end": 10033, "loc": { "start": { - "line": 257, + "line": 263, "column": 43 }, "end": { - "line": 257, + "line": 263, "column": 47 } } @@ -128450,15 +130429,15 @@ "binop": null, "updateContext": null }, - "start": 9773, - "end": 9774, + "start": 10033, + "end": 10034, "loc": { "start": { - "line": 257, + "line": 263, "column": 47 }, "end": { - "line": 257, + "line": 263, "column": 48 } } @@ -128476,15 +130455,15 @@ "binop": null }, "value": "surferSeek", - "start": 9774, - "end": 9784, + "start": 10034, + "end": 10044, "loc": { "start": { - "line": 257, + "line": 263, "column": 48 }, "end": { - "line": 257, + "line": 263, "column": 58 } } @@ -128501,15 +130480,15 @@ "postfix": false, "binop": null }, - "start": 9784, - "end": 9785, + "start": 10044, + "end": 10045, "loc": { "start": { - "line": 257, + "line": 263, "column": 58 }, "end": { - "line": 257, + "line": 263, "column": 59 } } @@ -128527,15 +130506,15 @@ "binop": null, "updateContext": null }, - "start": 9785, - "end": 9786, + "start": 10045, + "end": 10046, "loc": { "start": { - "line": 257, + "line": 263, "column": 59 }, "end": { - "line": 257, + "line": 263, "column": 60 } } @@ -128552,15 +130531,15 @@ "postfix": false, "binop": null }, - "start": 9799, - "end": 9800, + "start": 10059, + "end": 10060, "loc": { "start": { - "line": 258, + "line": 264, "column": 12 }, "end": { - "line": 258, + "line": 264, "column": 13 } } @@ -128577,15 +130556,15 @@ "postfix": false, "binop": null }, - "start": 9809, - "end": 9810, + "start": 10069, + "end": 10070, "loc": { "start": { - "line": 259, + "line": 265, "column": 8 }, "end": { - "line": 259, + "line": 265, "column": 9 } } @@ -128602,15 +130581,15 @@ "postfix": false, "binop": null }, - "start": 9815, - "end": 9816, + "start": 10075, + "end": 10076, "loc": { "start": { - "line": 260, + "line": 266, "column": 4 }, "end": { - "line": 260, + "line": 266, "column": 5 } } @@ -128618,15 +130597,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 9822, - "end": 10114, + "start": 10082, + "end": 10374, "loc": { "start": { - "line": 262, + "line": 268, "column": 4 }, "end": { - "line": 269, + "line": 275, "column": 7 } } @@ -128644,15 +130623,15 @@ "binop": null }, "value": "load", - "start": 10119, - "end": 10123, + "start": 10379, + "end": 10383, "loc": { "start": { - "line": 270, + "line": 276, "column": 4 }, "end": { - "line": 270, + "line": 276, "column": 8 } } @@ -128669,15 +130648,15 @@ "postfix": false, "binop": null }, - "start": 10123, - "end": 10124, + "start": 10383, + "end": 10384, "loc": { "start": { - "line": 270, + "line": 276, "column": 8 }, "end": { - "line": 270, + "line": 276, "column": 9 } } @@ -128695,15 +130674,15 @@ "binop": null }, "value": "url", - "start": 10124, - "end": 10127, + "start": 10384, + "end": 10387, "loc": { "start": { - "line": 270, + "line": 276, "column": 9 }, "end": { - "line": 270, + "line": 276, "column": 12 } } @@ -128721,15 +130700,15 @@ "binop": null, "updateContext": null }, - "start": 10127, - "end": 10128, + "start": 10387, + "end": 10388, "loc": { "start": { - "line": 270, + "line": 276, "column": 12 }, "end": { - "line": 270, + "line": 276, "column": 13 } } @@ -128747,15 +130726,15 @@ "binop": null }, "value": "peaks", - "start": 10129, - "end": 10134, + "start": 10389, + "end": 10394, "loc": { "start": { - "line": 270, + "line": 276, "column": 14 }, "end": { - "line": 270, + "line": 276, "column": 19 } } @@ -128772,15 +130751,15 @@ "postfix": false, "binop": null }, - "start": 10134, - "end": 10135, + "start": 10394, + "end": 10395, "loc": { "start": { - "line": 270, + "line": 276, "column": 19 }, "end": { - "line": 270, + "line": 276, "column": 20 } } @@ -128797,15 +130776,15 @@ "postfix": false, "binop": null }, - "start": 10136, - "end": 10137, + "start": 10396, + "end": 10397, "loc": { "start": { - "line": 270, + "line": 276, "column": 21 }, "end": { - "line": 270, + "line": 276, "column": 22 } } @@ -128825,15 +130804,15 @@ "updateContext": null }, "value": "if", - "start": 10146, - "end": 10148, + "start": 10406, + "end": 10408, "loc": { "start": { - "line": 271, + "line": 277, "column": 8 }, "end": { - "line": 271, + "line": 277, "column": 10 } } @@ -128850,15 +130829,15 @@ "postfix": false, "binop": null }, - "start": 10149, - "end": 10150, + "start": 10409, + "end": 10410, "loc": { "start": { - "line": 271, + "line": 277, "column": 11 }, "end": { - "line": 271, + "line": 277, "column": 12 } } @@ -128876,15 +130855,15 @@ "binop": null }, "value": "url", - "start": 10150, - "end": 10153, + "start": 10410, + "end": 10413, "loc": { "start": { - "line": 271, + "line": 277, "column": 12 }, "end": { - "line": 271, + "line": 277, "column": 15 } } @@ -128904,15 +130883,15 @@ "updateContext": null }, "value": "instanceof", - "start": 10154, - "end": 10164, + "start": 10414, + "end": 10424, "loc": { "start": { - "line": 271, + "line": 277, "column": 16 }, "end": { - "line": 271, + "line": 277, "column": 26 } } @@ -128930,15 +130909,15 @@ "binop": null }, "value": "Blob", - "start": 10165, - "end": 10169, + "start": 10425, + "end": 10429, "loc": { "start": { - "line": 271, + "line": 277, "column": 27 }, "end": { - "line": 271, + "line": 277, "column": 31 } } @@ -128957,15 +130936,15 @@ "updateContext": null }, "value": "||", - "start": 10170, - "end": 10172, + "start": 10430, + "end": 10432, "loc": { "start": { - "line": 271, + "line": 277, "column": 32 }, "end": { - "line": 271, + "line": 277, "column": 34 } } @@ -128983,15 +130962,15 @@ "binop": null }, "value": "url", - "start": 10173, - "end": 10176, + "start": 10433, + "end": 10436, "loc": { "start": { - "line": 271, + "line": 277, "column": 35 }, "end": { - "line": 271, + "line": 277, "column": 38 } } @@ -129011,15 +130990,15 @@ "updateContext": null }, "value": "instanceof", - "start": 10177, - "end": 10187, + "start": 10437, + "end": 10447, "loc": { "start": { - "line": 271, + "line": 277, "column": 39 }, "end": { - "line": 271, + "line": 277, "column": 49 } } @@ -129037,15 +131016,15 @@ "binop": null }, "value": "File", - "start": 10188, - "end": 10192, + "start": 10448, + "end": 10452, "loc": { "start": { - "line": 271, + "line": 277, "column": 50 }, "end": { - "line": 271, + "line": 277, "column": 54 } } @@ -129062,15 +131041,15 @@ "postfix": false, "binop": null }, - "start": 10192, - "end": 10193, + "start": 10452, + "end": 10453, "loc": { "start": { - "line": 271, + "line": 277, "column": 54 }, "end": { - "line": 271, + "line": 277, "column": 55 } } @@ -129087,15 +131066,15 @@ "postfix": false, "binop": null }, - "start": 10194, - "end": 10195, + "start": 10454, + "end": 10455, "loc": { "start": { - "line": 271, + "line": 277, "column": 56 }, "end": { - "line": 271, + "line": 277, "column": 57 } } @@ -129115,15 +131094,15 @@ "updateContext": null }, "value": "this", - "start": 10208, - "end": 10212, + "start": 10468, + "end": 10472, "loc": { "start": { - "line": 272, + "line": 278, "column": 12 }, "end": { - "line": 272, + "line": 278, "column": 16 } } @@ -129141,15 +131120,15 @@ "binop": null, "updateContext": null }, - "start": 10212, - "end": 10213, + "start": 10472, + "end": 10473, "loc": { "start": { - "line": 272, + "line": 278, "column": 16 }, "end": { - "line": 272, + "line": 278, "column": 17 } } @@ -129167,15 +131146,15 @@ "binop": null }, "value": "log", - "start": 10213, - "end": 10216, + "start": 10473, + "end": 10476, "loc": { "start": { - "line": 272, + "line": 278, "column": 17 }, "end": { - "line": 272, + "line": 278, "column": 20 } } @@ -129192,15 +131171,15 @@ "postfix": false, "binop": null }, - "start": 10216, - "end": 10217, + "start": 10476, + "end": 10477, "loc": { "start": { - "line": 272, + "line": 278, "column": 20 }, "end": { - "line": 272, + "line": 278, "column": 21 } } @@ -129219,15 +131198,15 @@ "updateContext": null }, "value": "Loading object: ", - "start": 10217, - "end": 10235, + "start": 10477, + "end": 10495, "loc": { "start": { - "line": 272, + "line": 278, "column": 21 }, "end": { - "line": 272, + "line": 278, "column": 39 } } @@ -129246,15 +131225,15 @@ "updateContext": null }, "value": "+", - "start": 10236, - "end": 10237, + "start": 10496, + "end": 10497, "loc": { "start": { - "line": 272, + "line": 278, "column": 40 }, "end": { - "line": 272, + "line": 278, "column": 41 } } @@ -129272,15 +131251,15 @@ "binop": null }, "value": "JSON", - "start": 10238, - "end": 10242, + "start": 10498, + "end": 10502, "loc": { "start": { - "line": 272, + "line": 278, "column": 42 }, "end": { - "line": 272, + "line": 278, "column": 46 } } @@ -129298,15 +131277,15 @@ "binop": null, "updateContext": null }, - "start": 10242, - "end": 10243, + "start": 10502, + "end": 10503, "loc": { "start": { - "line": 272, + "line": 278, "column": 46 }, "end": { - "line": 272, + "line": 278, "column": 47 } } @@ -129324,15 +131303,15 @@ "binop": null }, "value": "stringify", - "start": 10243, - "end": 10252, + "start": 10503, + "end": 10512, "loc": { "start": { - "line": 272, + "line": 278, "column": 47 }, "end": { - "line": 272, + "line": 278, "column": 56 } } @@ -129349,15 +131328,15 @@ "postfix": false, "binop": null }, - "start": 10252, - "end": 10253, + "start": 10512, + "end": 10513, "loc": { "start": { - "line": 272, + "line": 278, "column": 56 }, "end": { - "line": 272, + "line": 278, "column": 57 } } @@ -129375,15 +131354,15 @@ "binop": null }, "value": "url", - "start": 10253, - "end": 10256, + "start": 10513, + "end": 10516, "loc": { "start": { - "line": 272, + "line": 278, "column": 57 }, "end": { - "line": 272, + "line": 278, "column": 60 } } @@ -129400,15 +131379,15 @@ "postfix": false, "binop": null }, - "start": 10256, - "end": 10257, + "start": 10516, + "end": 10517, "loc": { "start": { - "line": 272, + "line": 278, "column": 60 }, "end": { - "line": 272, + "line": 278, "column": 61 } } @@ -129425,15 +131404,15 @@ "postfix": false, "binop": null }, - "start": 10257, - "end": 10258, + "start": 10517, + "end": 10518, "loc": { "start": { - "line": 272, + "line": 278, "column": 61 }, "end": { - "line": 272, + "line": 278, "column": 62 } } @@ -129451,15 +131430,15 @@ "binop": null, "updateContext": null }, - "start": 10258, - "end": 10259, + "start": 10518, + "end": 10519, "loc": { "start": { - "line": 272, + "line": 278, "column": 62 }, "end": { - "line": 272, + "line": 278, "column": 63 } } @@ -129479,15 +131458,15 @@ "updateContext": null }, "value": "this", - "start": 10272, - "end": 10276, + "start": 10532, + "end": 10536, "loc": { "start": { - "line": 273, + "line": 279, "column": 12 }, "end": { - "line": 273, + "line": 279, "column": 16 } } @@ -129505,15 +131484,15 @@ "binop": null, "updateContext": null }, - "start": 10276, - "end": 10277, + "start": 10536, + "end": 10537, "loc": { "start": { - "line": 273, + "line": 279, "column": 16 }, "end": { - "line": 273, + "line": 279, "column": 17 } } @@ -129531,15 +131510,15 @@ "binop": null }, "value": "surfer", - "start": 10277, - "end": 10283, + "start": 10537, + "end": 10543, "loc": { "start": { - "line": 273, + "line": 279, "column": 17 }, "end": { - "line": 273, + "line": 279, "column": 23 } } @@ -129557,15 +131536,15 @@ "binop": null, "updateContext": null }, - "start": 10283, - "end": 10284, + "start": 10543, + "end": 10544, "loc": { "start": { - "line": 273, + "line": 279, "column": 23 }, "end": { - "line": 273, + "line": 279, "column": 24 } } @@ -129583,15 +131562,15 @@ "binop": null }, "value": "loadBlob", - "start": 10284, - "end": 10292, + "start": 10544, + "end": 10552, "loc": { "start": { - "line": 273, + "line": 279, "column": 24 }, "end": { - "line": 273, + "line": 279, "column": 32 } } @@ -129608,15 +131587,15 @@ "postfix": false, "binop": null }, - "start": 10292, - "end": 10293, + "start": 10552, + "end": 10553, "loc": { "start": { - "line": 273, + "line": 279, "column": 32 }, "end": { - "line": 273, + "line": 279, "column": 33 } } @@ -129634,15 +131613,15 @@ "binop": null }, "value": "url", - "start": 10293, - "end": 10296, + "start": 10553, + "end": 10556, "loc": { "start": { - "line": 273, + "line": 279, "column": 33 }, "end": { - "line": 273, + "line": 279, "column": 36 } } @@ -129659,15 +131638,15 @@ "postfix": false, "binop": null }, - "start": 10296, - "end": 10297, + "start": 10556, + "end": 10557, "loc": { "start": { - "line": 273, + "line": 279, "column": 36 }, "end": { - "line": 273, + "line": 279, "column": 37 } } @@ -129685,15 +131664,15 @@ "binop": null, "updateContext": null }, - "start": 10297, - "end": 10298, + "start": 10557, + "end": 10558, "loc": { "start": { - "line": 273, + "line": 279, "column": 37 }, "end": { - "line": 273, + "line": 279, "column": 38 } } @@ -129710,15 +131689,15 @@ "postfix": false, "binop": null }, - "start": 10307, - "end": 10308, + "start": 10567, + "end": 10568, "loc": { "start": { - "line": 274, + "line": 280, "column": 8 }, "end": { - "line": 274, + "line": 280, "column": 9 } } @@ -129738,15 +131717,15 @@ "updateContext": null }, "value": "else", - "start": 10309, - "end": 10313, + "start": 10569, + "end": 10573, "loc": { "start": { - "line": 274, + "line": 280, "column": 10 }, "end": { - "line": 274, + "line": 280, "column": 14 } } @@ -129763,15 +131742,15 @@ "postfix": false, "binop": null }, - "start": 10314, - "end": 10315, + "start": 10574, + "end": 10575, "loc": { "start": { - "line": 274, + "line": 280, "column": 15 }, "end": { - "line": 274, + "line": 280, "column": 16 } } @@ -129779,15 +131758,15 @@ { "type": "CommentLine", "value": " load peak data from array or file", - "start": 10328, - "end": 10364, + "start": 10588, + "end": 10624, "loc": { "start": { - "line": 275, + "line": 281, "column": 12 }, "end": { - "line": 275, + "line": 281, "column": 48 } } @@ -129807,15 +131786,15 @@ "updateContext": null }, "value": "if", - "start": 10377, - "end": 10379, + "start": 10637, + "end": 10639, "loc": { "start": { - "line": 276, + "line": 282, "column": 12 }, "end": { - "line": 276, + "line": 282, "column": 14 } } @@ -129832,15 +131811,15 @@ "postfix": false, "binop": null }, - "start": 10380, - "end": 10381, + "start": 10640, + "end": 10641, "loc": { "start": { - "line": 276, + "line": 282, "column": 15 }, "end": { - "line": 276, + "line": 282, "column": 16 } } @@ -129858,15 +131837,15 @@ "binop": null }, "value": "peaks", - "start": 10381, - "end": 10386, + "start": 10641, + "end": 10646, "loc": { "start": { - "line": 276, + "line": 282, "column": 16 }, "end": { - "line": 276, + "line": 282, "column": 21 } } @@ -129885,15 +131864,15 @@ "updateContext": null }, "value": "!==", - "start": 10387, - "end": 10390, + "start": 10647, + "end": 10650, "loc": { "start": { - "line": 276, + "line": 282, "column": 22 }, "end": { - "line": 276, + "line": 282, "column": 25 } } @@ -129911,15 +131890,15 @@ "binop": null }, "value": "undefined", - "start": 10391, - "end": 10400, + "start": 10651, + "end": 10660, "loc": { "start": { - "line": 276, + "line": 282, "column": 26 }, "end": { - "line": 276, + "line": 282, "column": 35 } } @@ -129936,15 +131915,15 @@ "postfix": false, "binop": null }, - "start": 10400, - "end": 10401, + "start": 10660, + "end": 10661, "loc": { "start": { - "line": 276, + "line": 282, "column": 35 }, "end": { - "line": 276, + "line": 282, "column": 36 } } @@ -129961,15 +131940,15 @@ "postfix": false, "binop": null }, - "start": 10402, - "end": 10403, + "start": 10662, + "end": 10663, "loc": { "start": { - "line": 276, + "line": 282, "column": 37 }, "end": { - "line": 276, + "line": 282, "column": 38 } } @@ -129989,15 +131968,15 @@ "updateContext": null }, "value": "this", - "start": 10420, - "end": 10424, + "start": 10680, + "end": 10684, "loc": { "start": { - "line": 277, + "line": 283, "column": 16 }, "end": { - "line": 277, + "line": 283, "column": 20 } } @@ -130015,15 +131994,15 @@ "binop": null, "updateContext": null }, - "start": 10424, - "end": 10425, + "start": 10684, + "end": 10685, "loc": { "start": { - "line": 277, + "line": 283, "column": 20 }, "end": { - "line": 277, + "line": 283, "column": 21 } } @@ -130041,15 +132020,15 @@ "binop": null }, "value": "loadPeaks", - "start": 10425, - "end": 10434, + "start": 10685, + "end": 10694, "loc": { "start": { - "line": 277, + "line": 283, "column": 21 }, "end": { - "line": 277, + "line": 283, "column": 30 } } @@ -130066,15 +132045,15 @@ "postfix": false, "binop": null }, - "start": 10434, - "end": 10435, + "start": 10694, + "end": 10695, "loc": { "start": { - "line": 277, + "line": 283, "column": 30 }, "end": { - "line": 277, + "line": 283, "column": 31 } } @@ -130092,15 +132071,15 @@ "binop": null }, "value": "url", - "start": 10435, - "end": 10438, + "start": 10695, + "end": 10698, "loc": { "start": { - "line": 277, + "line": 283, "column": 31 }, "end": { - "line": 277, + "line": 283, "column": 34 } } @@ -130118,15 +132097,15 @@ "binop": null, "updateContext": null }, - "start": 10438, - "end": 10439, + "start": 10698, + "end": 10699, "loc": { "start": { - "line": 277, + "line": 283, "column": 34 }, "end": { - "line": 277, + "line": 283, "column": 35 } } @@ -130144,15 +132123,15 @@ "binop": null }, "value": "peaks", - "start": 10440, - "end": 10445, + "start": 10700, + "end": 10705, "loc": { "start": { - "line": 277, + "line": 283, "column": 36 }, "end": { - "line": 277, + "line": 283, "column": 41 } } @@ -130169,15 +132148,15 @@ "postfix": false, "binop": null }, - "start": 10445, - "end": 10446, + "start": 10705, + "end": 10706, "loc": { "start": { - "line": 277, + "line": 283, "column": 41 }, "end": { - "line": 277, + "line": 283, "column": 42 } } @@ -130195,15 +132174,15 @@ "binop": null, "updateContext": null }, - "start": 10446, - "end": 10447, + "start": 10706, + "end": 10707, "loc": { "start": { - "line": 277, + "line": 283, "column": 42 }, "end": { - "line": 277, + "line": 283, "column": 43 } } @@ -130220,15 +132199,15 @@ "postfix": false, "binop": null }, - "start": 10460, - "end": 10461, + "start": 10720, + "end": 10721, "loc": { "start": { - "line": 278, + "line": 284, "column": 12 }, "end": { - "line": 278, + "line": 284, "column": 13 } } @@ -130248,15 +132227,15 @@ "updateContext": null }, "value": "else", - "start": 10462, - "end": 10466, + "start": 10722, + "end": 10726, "loc": { "start": { - "line": 278, + "line": 284, "column": 14 }, "end": { - "line": 278, + "line": 284, "column": 18 } } @@ -130273,15 +132252,15 @@ "postfix": false, "binop": null }, - "start": 10467, - "end": 10468, + "start": 10727, + "end": 10728, "loc": { "start": { - "line": 278, + "line": 284, "column": 19 }, "end": { - "line": 278, + "line": 284, "column": 20 } } @@ -130289,15 +132268,15 @@ { "type": "CommentLine", "value": " no peaks", - "start": 10485, - "end": 10496, + "start": 10745, + "end": 10756, "loc": { "start": { - "line": 279, + "line": 285, "column": 16 }, "end": { - "line": 279, + "line": 285, "column": 27 } } @@ -130317,15 +132296,15 @@ "updateContext": null }, "value": "if", - "start": 10513, - "end": 10515, + "start": 10773, + "end": 10775, "loc": { "start": { - "line": 280, + "line": 286, "column": 16 }, "end": { - "line": 280, + "line": 286, "column": 18 } } @@ -130342,15 +132321,15 @@ "postfix": false, "binop": null }, - "start": 10516, - "end": 10517, + "start": 10776, + "end": 10777, "loc": { "start": { - "line": 280, + "line": 286, "column": 19 }, "end": { - "line": 280, + "line": 286, "column": 20 } } @@ -130370,15 +132349,15 @@ "updateContext": null }, "value": "typeof", - "start": 10517, - "end": 10523, + "start": 10777, + "end": 10783, "loc": { "start": { - "line": 280, + "line": 286, "column": 20 }, "end": { - "line": 280, + "line": 286, "column": 26 } } @@ -130396,15 +132375,15 @@ "binop": null }, "value": "url", - "start": 10524, - "end": 10527, + "start": 10784, + "end": 10787, "loc": { "start": { - "line": 280, + "line": 286, "column": 27 }, "end": { - "line": 280, + "line": 286, "column": 30 } } @@ -130423,15 +132402,15 @@ "updateContext": null }, "value": "===", - "start": 10528, - "end": 10531, + "start": 10788, + "end": 10791, "loc": { "start": { - "line": 280, + "line": 286, "column": 31 }, "end": { - "line": 280, + "line": 286, "column": 34 } } @@ -130450,15 +132429,15 @@ "updateContext": null }, "value": "string", - "start": 10532, - "end": 10540, + "start": 10792, + "end": 10800, "loc": { "start": { - "line": 280, + "line": 286, "column": 35 }, "end": { - "line": 280, + "line": 286, "column": 43 } } @@ -130475,15 +132454,15 @@ "postfix": false, "binop": null }, - "start": 10540, - "end": 10541, + "start": 10800, + "end": 10801, "loc": { "start": { - "line": 280, + "line": 286, "column": 43 }, "end": { - "line": 280, + "line": 286, "column": 44 } } @@ -130500,15 +132479,15 @@ "postfix": false, "binop": null }, - "start": 10542, - "end": 10543, + "start": 10802, + "end": 10803, "loc": { "start": { - "line": 280, + "line": 286, "column": 45 }, "end": { - "line": 280, + "line": 286, "column": 46 } } @@ -130528,15 +132507,15 @@ "updateContext": null }, "value": "this", - "start": 10564, - "end": 10568, + "start": 10824, + "end": 10828, "loc": { "start": { - "line": 281, + "line": 287, "column": 20 }, "end": { - "line": 281, + "line": 287, "column": 24 } } @@ -130554,15 +132533,15 @@ "binop": null, "updateContext": null }, - "start": 10568, - "end": 10569, + "start": 10828, + "end": 10829, "loc": { "start": { - "line": 281, + "line": 287, "column": 24 }, "end": { - "line": 281, + "line": 287, "column": 25 } } @@ -130580,15 +132559,15 @@ "binop": null }, "value": "log", - "start": 10569, - "end": 10572, + "start": 10829, + "end": 10832, "loc": { "start": { - "line": 281, + "line": 287, "column": 25 }, "end": { - "line": 281, + "line": 287, "column": 28 } } @@ -130605,15 +132584,15 @@ "postfix": false, "binop": null }, - "start": 10572, - "end": 10573, + "start": 10832, + "end": 10833, "loc": { "start": { - "line": 281, + "line": 287, "column": 28 }, "end": { - "line": 281, + "line": 287, "column": 29 } } @@ -130632,15 +132611,15 @@ "updateContext": null }, "value": "Loading URL: ", - "start": 10573, - "end": 10588, + "start": 10833, + "end": 10848, "loc": { "start": { - "line": 281, + "line": 287, "column": 29 }, "end": { - "line": 281, + "line": 287, "column": 44 } } @@ -130659,15 +132638,15 @@ "updateContext": null }, "value": "+", - "start": 10589, - "end": 10590, + "start": 10849, + "end": 10850, "loc": { "start": { - "line": 281, + "line": 287, "column": 45 }, "end": { - "line": 281, + "line": 287, "column": 46 } } @@ -130685,15 +132664,15 @@ "binop": null }, "value": "url", - "start": 10591, - "end": 10594, + "start": 10851, + "end": 10854, "loc": { "start": { - "line": 281, + "line": 287, "column": 47 }, "end": { - "line": 281, + "line": 287, "column": 50 } } @@ -130710,15 +132689,15 @@ "postfix": false, "binop": null }, - "start": 10594, - "end": 10595, + "start": 10854, + "end": 10855, "loc": { "start": { - "line": 281, + "line": 287, "column": 50 }, "end": { - "line": 281, + "line": 287, "column": 51 } } @@ -130736,15 +132715,15 @@ "binop": null, "updateContext": null }, - "start": 10595, - "end": 10596, + "start": 10855, + "end": 10856, "loc": { "start": { - "line": 281, + "line": 287, "column": 51 }, "end": { - "line": 281, + "line": 287, "column": 52 } } @@ -130761,15 +132740,15 @@ "postfix": false, "binop": null }, - "start": 10613, - "end": 10614, + "start": 10873, + "end": 10874, "loc": { "start": { - "line": 282, + "line": 288, "column": 16 }, "end": { - "line": 282, + "line": 288, "column": 17 } } @@ -130789,15 +132768,15 @@ "updateContext": null }, "value": "else", - "start": 10615, - "end": 10619, + "start": 10875, + "end": 10879, "loc": { "start": { - "line": 282, + "line": 288, "column": 18 }, "end": { - "line": 282, + "line": 288, "column": 22 } } @@ -130814,15 +132793,15 @@ "postfix": false, "binop": null }, - "start": 10620, - "end": 10621, + "start": 10880, + "end": 10881, "loc": { "start": { - "line": 282, + "line": 288, "column": 23 }, "end": { - "line": 282, + "line": 288, "column": 24 } } @@ -130842,15 +132821,15 @@ "updateContext": null }, "value": "this", - "start": 10642, - "end": 10646, + "start": 10902, + "end": 10906, "loc": { "start": { - "line": 283, + "line": 289, "column": 20 }, "end": { - "line": 283, + "line": 289, "column": 24 } } @@ -130868,15 +132847,15 @@ "binop": null, "updateContext": null }, - "start": 10646, - "end": 10647, + "start": 10906, + "end": 10907, "loc": { "start": { - "line": 283, + "line": 289, "column": 24 }, "end": { - "line": 283, + "line": 289, "column": 25 } } @@ -130894,15 +132873,15 @@ "binop": null }, "value": "log", - "start": 10647, - "end": 10650, + "start": 10907, + "end": 10910, "loc": { "start": { - "line": 283, + "line": 289, "column": 25 }, "end": { - "line": 283, + "line": 289, "column": 28 } } @@ -130919,15 +132898,15 @@ "postfix": false, "binop": null }, - "start": 10650, - "end": 10651, + "start": 10910, + "end": 10911, "loc": { "start": { - "line": 283, + "line": 289, "column": 28 }, "end": { - "line": 283, + "line": 289, "column": 29 } } @@ -130946,15 +132925,15 @@ "updateContext": null }, "value": "Loading element: ", - "start": 10651, - "end": 10670, + "start": 10911, + "end": 10930, "loc": { "start": { - "line": 283, + "line": 289, "column": 29 }, "end": { - "line": 283, + "line": 289, "column": 48 } } @@ -130973,15 +132952,15 @@ "updateContext": null }, "value": "+", - "start": 10671, - "end": 10672, + "start": 10931, + "end": 10932, "loc": { "start": { - "line": 283, + "line": 289, "column": 49 }, "end": { - "line": 283, + "line": 289, "column": 50 } } @@ -130999,15 +132978,15 @@ "binop": null }, "value": "url", - "start": 10673, - "end": 10676, + "start": 10933, + "end": 10936, "loc": { "start": { - "line": 283, + "line": 289, "column": 51 }, "end": { - "line": 283, + "line": 289, "column": 54 } } @@ -131024,15 +133003,15 @@ "postfix": false, "binop": null }, - "start": 10676, - "end": 10677, + "start": 10936, + "end": 10937, "loc": { "start": { - "line": 283, + "line": 289, "column": 54 }, "end": { - "line": 283, + "line": 289, "column": 55 } } @@ -131050,15 +133029,15 @@ "binop": null, "updateContext": null }, - "start": 10677, - "end": 10678, + "start": 10937, + "end": 10938, "loc": { "start": { - "line": 283, + "line": 289, "column": 55 }, "end": { - "line": 283, + "line": 289, "column": 56 } } @@ -131075,15 +133054,15 @@ "postfix": false, "binop": null }, - "start": 10695, - "end": 10696, + "start": 10955, + "end": 10956, "loc": { "start": { - "line": 284, + "line": 290, "column": 16 }, "end": { - "line": 284, + "line": 290, "column": 17 } } @@ -131103,15 +133082,15 @@ "updateContext": null }, "value": "this", - "start": 10713, - "end": 10717, + "start": 10973, + "end": 10977, "loc": { "start": { - "line": 285, + "line": 291, "column": 16 }, "end": { - "line": 285, + "line": 291, "column": 20 } } @@ -131129,15 +133108,15 @@ "binop": null, "updateContext": null }, - "start": 10717, - "end": 10718, + "start": 10977, + "end": 10978, "loc": { "start": { - "line": 285, + "line": 291, "column": 20 }, "end": { - "line": 285, + "line": 291, "column": 21 } } @@ -131155,15 +133134,15 @@ "binop": null }, "value": "surfer", - "start": 10718, - "end": 10724, + "start": 10978, + "end": 10984, "loc": { "start": { - "line": 285, + "line": 291, "column": 21 }, "end": { - "line": 285, + "line": 291, "column": 27 } } @@ -131181,15 +133160,15 @@ "binop": null, "updateContext": null }, - "start": 10724, - "end": 10725, + "start": 10984, + "end": 10985, "loc": { "start": { - "line": 285, + "line": 291, "column": 27 }, "end": { - "line": 285, + "line": 291, "column": 28 } } @@ -131207,15 +133186,15 @@ "binop": null }, "value": "load", - "start": 10725, - "end": 10729, + "start": 10985, + "end": 10989, "loc": { "start": { - "line": 285, + "line": 291, "column": 28 }, "end": { - "line": 285, + "line": 291, "column": 32 } } @@ -131232,15 +133211,15 @@ "postfix": false, "binop": null }, - "start": 10729, - "end": 10730, + "start": 10989, + "end": 10990, "loc": { "start": { - "line": 285, + "line": 291, "column": 32 }, "end": { - "line": 285, + "line": 291, "column": 33 } } @@ -131258,15 +133237,15 @@ "binop": null }, "value": "url", - "start": 10730, - "end": 10733, + "start": 10990, + "end": 10993, "loc": { "start": { - "line": 285, + "line": 291, "column": 33 }, "end": { - "line": 285, + "line": 291, "column": 36 } } @@ -131283,15 +133262,15 @@ "postfix": false, "binop": null }, - "start": 10733, - "end": 10734, + "start": 10993, + "end": 10994, "loc": { "start": { - "line": 285, + "line": 291, "column": 36 }, "end": { - "line": 285, + "line": 291, "column": 37 } } @@ -131309,15 +133288,15 @@ "binop": null, "updateContext": null }, - "start": 10734, - "end": 10735, + "start": 10994, + "end": 10995, "loc": { "start": { - "line": 285, + "line": 291, "column": 37 }, "end": { - "line": 285, + "line": 291, "column": 38 } } @@ -131334,15 +133313,15 @@ "postfix": false, "binop": null }, - "start": 10748, - "end": 10749, + "start": 11008, + "end": 11009, "loc": { "start": { - "line": 286, + "line": 292, "column": 12 }, "end": { - "line": 286, + "line": 292, "column": 13 } } @@ -131359,15 +133338,15 @@ "postfix": false, "binop": null }, - "start": 10758, - "end": 10759, + "start": 11018, + "end": 11019, "loc": { "start": { - "line": 287, + "line": 293, "column": 8 }, "end": { - "line": 287, + "line": 293, "column": 9 } } @@ -131384,15 +133363,15 @@ "postfix": false, "binop": null }, - "start": 10764, - "end": 10765, + "start": 11024, + "end": 11025, "loc": { "start": { - "line": 288, + "line": 294, "column": 4 }, "end": { - "line": 288, + "line": 294, "column": 5 } } @@ -131400,15 +133379,15 @@ { "type": "CommentBlock", "value": "*\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n ", - "start": 10771, - "end": 11063, + "start": 11031, + "end": 11323, "loc": { "start": { - "line": 290, + "line": 296, "column": 4 }, "end": { - "line": 297, + "line": 303, "column": 7 } } @@ -131426,15 +133405,15 @@ "binop": null }, "value": "loadPeaks", - "start": 11068, - "end": 11077, + "start": 11328, + "end": 11337, "loc": { "start": { - "line": 298, + "line": 304, "column": 4 }, "end": { - "line": 298, + "line": 304, "column": 13 } } @@ -131451,15 +133430,15 @@ "postfix": false, "binop": null }, - "start": 11077, - "end": 11078, + "start": 11337, + "end": 11338, "loc": { "start": { - "line": 298, + "line": 304, "column": 13 }, "end": { - "line": 298, + "line": 304, "column": 14 } } @@ -131477,15 +133456,15 @@ "binop": null }, "value": "url", - "start": 11078, - "end": 11081, + "start": 11338, + "end": 11341, "loc": { "start": { - "line": 298, + "line": 304, "column": 14 }, "end": { - "line": 298, + "line": 304, "column": 17 } } @@ -131503,15 +133482,15 @@ "binop": null, "updateContext": null }, - "start": 11081, - "end": 11082, + "start": 11341, + "end": 11342, "loc": { "start": { - "line": 298, + "line": 304, "column": 17 }, "end": { - "line": 298, + "line": 304, "column": 18 } } @@ -131529,15 +133508,15 @@ "binop": null }, "value": "peaks", - "start": 11083, - "end": 11088, + "start": 11343, + "end": 11348, "loc": { "start": { - "line": 298, + "line": 304, "column": 19 }, "end": { - "line": 298, + "line": 304, "column": 24 } } @@ -131554,15 +133533,15 @@ "postfix": false, "binop": null }, - "start": 11088, - "end": 11089, + "start": 11348, + "end": 11349, "loc": { "start": { - "line": 298, + "line": 304, "column": 24 }, "end": { - "line": 298, + "line": 304, "column": 25 } } @@ -131579,15 +133558,15 @@ "postfix": false, "binop": null }, - "start": 11090, - "end": 11091, + "start": 11350, + "end": 11351, "loc": { "start": { - "line": 298, + "line": 304, "column": 26 }, "end": { - "line": 298, + "line": 304, "column": 27 } } @@ -131607,15 +133586,15 @@ "updateContext": null }, "value": "if", - "start": 11100, - "end": 11102, + "start": 11360, + "end": 11362, "loc": { "start": { - "line": 299, + "line": 305, "column": 8 }, "end": { - "line": 299, + "line": 305, "column": 10 } } @@ -131632,15 +133611,15 @@ "postfix": false, "binop": null }, - "start": 11103, - "end": 11104, + "start": 11363, + "end": 11364, "loc": { "start": { - "line": 299, + "line": 305, "column": 11 }, "end": { - "line": 299, + "line": 305, "column": 12 } } @@ -131658,15 +133637,15 @@ "binop": null }, "value": "Array", - "start": 11104, - "end": 11109, + "start": 11364, + "end": 11369, "loc": { "start": { - "line": 299, + "line": 305, "column": 12 }, "end": { - "line": 299, + "line": 305, "column": 17 } } @@ -131684,15 +133663,15 @@ "binop": null, "updateContext": null }, - "start": 11109, - "end": 11110, + "start": 11369, + "end": 11370, "loc": { "start": { - "line": 299, + "line": 305, "column": 17 }, "end": { - "line": 299, + "line": 305, "column": 18 } } @@ -131710,15 +133689,15 @@ "binop": null }, "value": "isArray", - "start": 11110, - "end": 11117, + "start": 11370, + "end": 11377, "loc": { "start": { - "line": 299, + "line": 305, "column": 18 }, "end": { - "line": 299, + "line": 305, "column": 25 } } @@ -131735,15 +133714,15 @@ "postfix": false, "binop": null }, - "start": 11117, - "end": 11118, + "start": 11377, + "end": 11378, "loc": { "start": { - "line": 299, + "line": 305, "column": 25 }, "end": { - "line": 299, + "line": 305, "column": 26 } } @@ -131761,15 +133740,15 @@ "binop": null }, "value": "peaks", - "start": 11118, - "end": 11123, + "start": 11378, + "end": 11383, "loc": { "start": { - "line": 299, + "line": 305, "column": 26 }, "end": { - "line": 299, + "line": 305, "column": 31 } } @@ -131786,15 +133765,15 @@ "postfix": false, "binop": null }, - "start": 11123, - "end": 11124, + "start": 11383, + "end": 11384, "loc": { "start": { - "line": 299, + "line": 305, "column": 31 }, "end": { - "line": 299, + "line": 305, "column": 32 } } @@ -131811,15 +133790,15 @@ "postfix": false, "binop": null }, - "start": 11124, - "end": 11125, + "start": 11384, + "end": 11385, "loc": { "start": { - "line": 299, + "line": 305, "column": 32 }, "end": { - "line": 299, + "line": 305, "column": 33 } } @@ -131836,15 +133815,15 @@ "postfix": false, "binop": null }, - "start": 11126, - "end": 11127, + "start": 11386, + "end": 11387, "loc": { "start": { - "line": 299, + "line": 305, "column": 34 }, "end": { - "line": 299, + "line": 305, "column": 35 } } @@ -131852,15 +133831,15 @@ { "type": "CommentLine", "value": " use supplied peaks data", - "start": 11140, - "end": 11166, + "start": 11400, + "end": 11426, "loc": { "start": { - "line": 300, + "line": 306, "column": 12 }, "end": { - "line": 300, + "line": 306, "column": 38 } } @@ -131880,15 +133859,15 @@ "updateContext": null }, "value": "this", - "start": 11179, - "end": 11183, + "start": 11439, + "end": 11443, "loc": { "start": { - "line": 301, + "line": 307, "column": 12 }, "end": { - "line": 301, + "line": 307, "column": 16 } } @@ -131906,15 +133885,15 @@ "binop": null, "updateContext": null }, - "start": 11183, - "end": 11184, + "start": 11443, + "end": 11444, "loc": { "start": { - "line": 301, + "line": 307, "column": 16 }, "end": { - "line": 301, + "line": 307, "column": 17 } } @@ -131932,15 +133911,15 @@ "binop": null }, "value": "log", - "start": 11184, - "end": 11187, + "start": 11444, + "end": 11447, "loc": { "start": { - "line": 301, + "line": 307, "column": 17 }, "end": { - "line": 301, + "line": 307, "column": 20 } } @@ -131957,15 +133936,15 @@ "postfix": false, "binop": null }, - "start": 11187, - "end": 11188, + "start": 11447, + "end": 11448, "loc": { "start": { - "line": 301, + "line": 307, "column": 20 }, "end": { - "line": 301, + "line": 307, "column": 21 } } @@ -131984,15 +133963,15 @@ "updateContext": null }, "value": "Loading URL with array of peaks: ", - "start": 11188, - "end": 11223, + "start": 11448, + "end": 11483, "loc": { "start": { - "line": 301, + "line": 307, "column": 21 }, "end": { - "line": 301, + "line": 307, "column": 56 } } @@ -132011,15 +133990,15 @@ "updateContext": null }, "value": "+", - "start": 11224, - "end": 11225, + "start": 11484, + "end": 11485, "loc": { "start": { - "line": 301, + "line": 307, "column": 57 }, "end": { - "line": 301, + "line": 307, "column": 58 } } @@ -132037,15 +134016,15 @@ "binop": null }, "value": "url", - "start": 11226, - "end": 11229, + "start": 11486, + "end": 11489, "loc": { "start": { - "line": 301, + "line": 307, "column": 59 }, "end": { - "line": 301, + "line": 307, "column": 62 } } @@ -132062,15 +134041,15 @@ "postfix": false, "binop": null }, - "start": 11229, - "end": 11230, + "start": 11489, + "end": 11490, "loc": { "start": { - "line": 301, + "line": 307, "column": 62 }, "end": { - "line": 301, + "line": 307, "column": 63 } } @@ -132088,15 +134067,15 @@ "binop": null, "updateContext": null }, - "start": 11230, - "end": 11231, + "start": 11490, + "end": 11491, "loc": { "start": { - "line": 301, + "line": 307, "column": 63 }, "end": { - "line": 301, + "line": 307, "column": 64 } } @@ -132116,15 +134095,15 @@ "updateContext": null }, "value": "this", - "start": 11244, - "end": 11248, + "start": 11504, + "end": 11508, "loc": { "start": { - "line": 302, + "line": 308, "column": 12 }, "end": { - "line": 302, + "line": 308, "column": 16 } } @@ -132142,15 +134121,15 @@ "binop": null, "updateContext": null }, - "start": 11248, - "end": 11249, + "start": 11508, + "end": 11509, "loc": { "start": { - "line": 302, + "line": 308, "column": 16 }, "end": { - "line": 302, + "line": 308, "column": 17 } } @@ -132168,15 +134147,15 @@ "binop": null }, "value": "surfer", - "start": 11249, - "end": 11255, + "start": 11509, + "end": 11515, "loc": { "start": { - "line": 302, + "line": 308, "column": 17 }, "end": { - "line": 302, + "line": 308, "column": 23 } } @@ -132194,15 +134173,15 @@ "binop": null, "updateContext": null }, - "start": 11255, - "end": 11256, + "start": 11515, + "end": 11516, "loc": { "start": { - "line": 302, + "line": 308, "column": 23 }, "end": { - "line": 302, + "line": 308, "column": 24 } } @@ -132220,15 +134199,15 @@ "binop": null }, "value": "load", - "start": 11256, - "end": 11260, + "start": 11516, + "end": 11520, "loc": { "start": { - "line": 302, + "line": 308, "column": 24 }, "end": { - "line": 302, + "line": 308, "column": 28 } } @@ -132245,15 +134224,15 @@ "postfix": false, "binop": null }, - "start": 11260, - "end": 11261, + "start": 11520, + "end": 11521, "loc": { "start": { - "line": 302, + "line": 308, "column": 28 }, "end": { - "line": 302, + "line": 308, "column": 29 } } @@ -132271,15 +134250,15 @@ "binop": null }, "value": "url", - "start": 11261, - "end": 11264, + "start": 11521, + "end": 11524, "loc": { "start": { - "line": 302, + "line": 308, "column": 29 }, "end": { - "line": 302, + "line": 308, "column": 32 } } @@ -132297,15 +134276,15 @@ "binop": null, "updateContext": null }, - "start": 11264, - "end": 11265, + "start": 11524, + "end": 11525, "loc": { "start": { - "line": 302, + "line": 308, "column": 32 }, "end": { - "line": 302, + "line": 308, "column": 33 } } @@ -132323,15 +134302,15 @@ "binop": null }, "value": "peaks", - "start": 11266, - "end": 11271, + "start": 11526, + "end": 11531, "loc": { "start": { - "line": 302, + "line": 308, "column": 34 }, "end": { - "line": 302, + "line": 308, "column": 39 } } @@ -132348,15 +134327,15 @@ "postfix": false, "binop": null }, - "start": 11271, - "end": 11272, + "start": 11531, + "end": 11532, "loc": { "start": { - "line": 302, + "line": 308, "column": 39 }, "end": { - "line": 302, + "line": 308, "column": 40 } } @@ -132374,15 +134353,15 @@ "binop": null, "updateContext": null }, - "start": 11272, - "end": 11273, + "start": 11532, + "end": 11533, "loc": { "start": { - "line": 302, + "line": 308, "column": 40 }, "end": { - "line": 302, + "line": 308, "column": 41 } } @@ -132399,15 +134378,15 @@ "postfix": false, "binop": null }, - "start": 11282, - "end": 11283, + "start": 11542, + "end": 11543, "loc": { "start": { - "line": 303, + "line": 309, "column": 8 }, "end": { - "line": 303, + "line": 309, "column": 9 } } @@ -132427,15 +134406,15 @@ "updateContext": null }, "value": "else", - "start": 11284, - "end": 11288, + "start": 11544, + "end": 11548, "loc": { "start": { - "line": 303, + "line": 309, "column": 10 }, "end": { - "line": 303, + "line": 309, "column": 14 } } @@ -132452,15 +134431,15 @@ "postfix": false, "binop": null }, - "start": 11289, - "end": 11290, + "start": 11549, + "end": 11550, "loc": { "start": { - "line": 303, + "line": 309, "column": 15 }, "end": { - "line": 303, + "line": 309, "column": 16 } } @@ -132468,15 +134447,15 @@ { "type": "CommentLine", "value": " load peak data from file", - "start": 11303, - "end": 11330, + "start": 11563, + "end": 11590, "loc": { "start": { - "line": 304, + "line": 310, "column": 12 }, "end": { - "line": 304, + "line": 310, "column": 39 } } @@ -132496,15 +134475,15 @@ "updateContext": null }, "value": "let", - "start": 11343, - "end": 11346, + "start": 11603, + "end": 11606, "loc": { "start": { - "line": 305, + "line": 311, "column": 12 }, "end": { - "line": 305, + "line": 311, "column": 15 } } @@ -132522,15 +134501,15 @@ "binop": null }, "value": "requestOptions", - "start": 11347, - "end": 11361, + "start": 11607, + "end": 11621, "loc": { "start": { - "line": 305, + "line": 311, "column": 16 }, "end": { - "line": 305, + "line": 311, "column": 30 } } @@ -132549,15 +134528,15 @@ "updateContext": null }, "value": "=", - "start": 11362, - "end": 11363, + "start": 11622, + "end": 11623, "loc": { "start": { - "line": 305, + "line": 311, "column": 31 }, "end": { - "line": 305, + "line": 311, "column": 32 } } @@ -132574,15 +134553,15 @@ "postfix": false, "binop": null }, - "start": 11364, - "end": 11365, + "start": 11624, + "end": 11625, "loc": { "start": { - "line": 305, + "line": 311, "column": 33 }, "end": { - "line": 305, + "line": 311, "column": 34 } } @@ -132600,15 +134579,15 @@ "binop": null }, "value": "url", - "start": 11382, - "end": 11385, + "start": 11642, + "end": 11645, "loc": { "start": { - "line": 306, + "line": 312, "column": 16 }, "end": { - "line": 306, + "line": 312, "column": 19 } } @@ -132626,15 +134605,15 @@ "binop": null, "updateContext": null }, - "start": 11385, - "end": 11386, + "start": 11645, + "end": 11646, "loc": { "start": { - "line": 306, + "line": 312, "column": 19 }, "end": { - "line": 306, + "line": 312, "column": 20 } } @@ -132652,15 +134631,15 @@ "binop": null }, "value": "peaks", - "start": 11387, - "end": 11392, + "start": 11647, + "end": 11652, "loc": { "start": { - "line": 306, + "line": 312, "column": 21 }, "end": { - "line": 306, + "line": 312, "column": 26 } } @@ -132678,15 +134657,15 @@ "binop": null, "updateContext": null }, - "start": 11392, - "end": 11393, + "start": 11652, + "end": 11653, "loc": { "start": { - "line": 306, + "line": 312, "column": 26 }, "end": { - "line": 306, + "line": 312, "column": 27 } } @@ -132704,15 +134683,15 @@ "binop": null }, "value": "responseType", - "start": 11410, - "end": 11422, + "start": 11670, + "end": 11682, "loc": { "start": { - "line": 307, + "line": 313, "column": 16 }, "end": { - "line": 307, + "line": 313, "column": 28 } } @@ -132730,15 +134709,15 @@ "binop": null, "updateContext": null }, - "start": 11422, - "end": 11423, + "start": 11682, + "end": 11683, "loc": { "start": { - "line": 307, + "line": 313, "column": 28 }, "end": { - "line": 307, + "line": 313, "column": 29 } } @@ -132757,15 +134736,15 @@ "updateContext": null }, "value": "json", - "start": 11424, - "end": 11430, + "start": 11684, + "end": 11690, "loc": { "start": { - "line": 307, + "line": 313, "column": 30 }, "end": { - "line": 307, + "line": 313, "column": 36 } } @@ -132782,15 +134761,15 @@ "postfix": false, "binop": null }, - "start": 11443, - "end": 11444, + "start": 11703, + "end": 11704, "loc": { "start": { - "line": 308, + "line": 314, "column": 12 }, "end": { - "line": 308, + "line": 314, "column": 13 } } @@ -132808,15 +134787,15 @@ "binop": null, "updateContext": null }, - "start": 11444, - "end": 11445, + "start": 11704, + "end": 11705, "loc": { "start": { - "line": 308, + "line": 314, "column": 13 }, "end": { - "line": 308, + "line": 314, "column": 14 } } @@ -132824,15 +134803,15 @@ { "type": "CommentLine", "value": " supply xhr options, if any", - "start": 11459, - "end": 11488, + "start": 11719, + "end": 11748, "loc": { "start": { - "line": 310, + "line": 316, "column": 12 }, "end": { - "line": 310, + "line": 316, "column": 41 } } @@ -132852,15 +134831,15 @@ "updateContext": null }, "value": "if", - "start": 11501, - "end": 11503, + "start": 11761, + "end": 11763, "loc": { "start": { - "line": 311, + "line": 317, "column": 12 }, "end": { - "line": 311, + "line": 317, "column": 14 } } @@ -132877,15 +134856,15 @@ "postfix": false, "binop": null }, - "start": 11504, - "end": 11505, + "start": 11764, + "end": 11765, "loc": { "start": { - "line": 311, + "line": 317, "column": 15 }, "end": { - "line": 311, + "line": 317, "column": 16 } } @@ -132905,15 +134884,15 @@ "updateContext": null }, "value": "this", - "start": 11505, - "end": 11509, + "start": 11765, + "end": 11769, "loc": { "start": { - "line": 311, + "line": 317, "column": 16 }, "end": { - "line": 311, + "line": 317, "column": 20 } } @@ -132931,15 +134910,15 @@ "binop": null, "updateContext": null }, - "start": 11509, - "end": 11510, + "start": 11769, + "end": 11770, "loc": { "start": { - "line": 311, + "line": 317, "column": 20 }, "end": { - "line": 311, + "line": 317, "column": 21 } } @@ -132957,15 +134936,15 @@ "binop": null }, "value": "player", - "start": 11510, - "end": 11516, + "start": 11770, + "end": 11776, "loc": { "start": { - "line": 311, + "line": 317, "column": 21 }, "end": { - "line": 311, + "line": 317, "column": 27 } } @@ -132983,15 +134962,15 @@ "binop": null, "updateContext": null }, - "start": 11516, - "end": 11517, + "start": 11776, + "end": 11777, "loc": { "start": { - "line": 311, + "line": 317, "column": 27 }, "end": { - "line": 311, + "line": 317, "column": 28 } } @@ -133009,15 +134988,15 @@ "binop": null }, "value": "options_", - "start": 11517, - "end": 11525, + "start": 11777, + "end": 11785, "loc": { "start": { - "line": 311, + "line": 317, "column": 28 }, "end": { - "line": 311, + "line": 317, "column": 36 } } @@ -133035,15 +135014,15 @@ "binop": null, "updateContext": null }, - "start": 11525, - "end": 11526, + "start": 11785, + "end": 11786, "loc": { "start": { - "line": 311, + "line": 317, "column": 36 }, "end": { - "line": 311, + "line": 317, "column": 37 } } @@ -133061,15 +135040,15 @@ "binop": null }, "value": "plugins", - "start": 11526, - "end": 11533, + "start": 11786, + "end": 11793, "loc": { "start": { - "line": 311, + "line": 317, "column": 37 }, "end": { - "line": 311, + "line": 317, "column": 44 } } @@ -133087,15 +135066,15 @@ "binop": null, "updateContext": null }, - "start": 11533, - "end": 11534, + "start": 11793, + "end": 11794, "loc": { "start": { - "line": 311, + "line": 317, "column": 44 }, "end": { - "line": 311, + "line": 317, "column": 45 } } @@ -133113,15 +135092,15 @@ "binop": null }, "value": "wavesurfer", - "start": 11534, - "end": 11544, + "start": 11794, + "end": 11804, "loc": { "start": { - "line": 311, + "line": 317, "column": 45 }, "end": { - "line": 311, + "line": 317, "column": 55 } } @@ -133139,15 +135118,15 @@ "binop": null, "updateContext": null }, - "start": 11544, - "end": 11545, + "start": 11804, + "end": 11805, "loc": { "start": { - "line": 311, + "line": 317, "column": 55 }, "end": { - "line": 311, + "line": 317, "column": 56 } } @@ -133165,15 +135144,15 @@ "binop": null }, "value": "xhr", - "start": 11545, - "end": 11548, + "start": 11805, + "end": 11808, "loc": { "start": { - "line": 311, + "line": 317, "column": 56 }, "end": { - "line": 311, + "line": 317, "column": 59 } } @@ -133192,15 +135171,15 @@ "updateContext": null }, "value": "!==", - "start": 11549, - "end": 11552, + "start": 11809, + "end": 11812, "loc": { "start": { - "line": 311, + "line": 317, "column": 60 }, "end": { - "line": 311, + "line": 317, "column": 63 } } @@ -133218,15 +135197,15 @@ "binop": null }, "value": "undefined", - "start": 11553, - "end": 11562, + "start": 11813, + "end": 11822, "loc": { "start": { - "line": 311, + "line": 317, "column": 64 }, "end": { - "line": 311, + "line": 317, "column": 73 } } @@ -133243,15 +135222,15 @@ "postfix": false, "binop": null }, - "start": 11562, - "end": 11563, + "start": 11822, + "end": 11823, "loc": { "start": { - "line": 311, + "line": 317, "column": 73 }, "end": { - "line": 311, + "line": 317, "column": 74 } } @@ -133268,15 +135247,15 @@ "postfix": false, "binop": null }, - "start": 11564, - "end": 11565, + "start": 11824, + "end": 11825, "loc": { "start": { - "line": 311, + "line": 317, "column": 75 }, "end": { - "line": 311, + "line": 317, "column": 76 } } @@ -133294,15 +135273,15 @@ "binop": null }, "value": "requestOptions", - "start": 11582, - "end": 11596, + "start": 11842, + "end": 11856, "loc": { "start": { - "line": 312, + "line": 318, "column": 16 }, "end": { - "line": 312, + "line": 318, "column": 30 } } @@ -133320,15 +135299,15 @@ "binop": null, "updateContext": null }, - "start": 11596, - "end": 11597, + "start": 11856, + "end": 11857, "loc": { "start": { - "line": 312, + "line": 318, "column": 30 }, "end": { - "line": 312, + "line": 318, "column": 31 } } @@ -133346,15 +135325,15 @@ "binop": null }, "value": "xhr", - "start": 11597, - "end": 11600, + "start": 11857, + "end": 11860, "loc": { "start": { - "line": 312, + "line": 318, "column": 31 }, "end": { - "line": 312, + "line": 318, "column": 34 } } @@ -133373,15 +135352,15 @@ "updateContext": null }, "value": "=", - "start": 11601, - "end": 11602, + "start": 11861, + "end": 11862, "loc": { "start": { - "line": 312, + "line": 318, "column": 35 }, "end": { - "line": 312, + "line": 318, "column": 36 } } @@ -133401,15 +135380,15 @@ "updateContext": null }, "value": "this", - "start": 11603, - "end": 11607, + "start": 11863, + "end": 11867, "loc": { "start": { - "line": 312, + "line": 318, "column": 37 }, "end": { - "line": 312, + "line": 318, "column": 41 } } @@ -133427,15 +135406,15 @@ "binop": null, "updateContext": null }, - "start": 11607, - "end": 11608, + "start": 11867, + "end": 11868, "loc": { "start": { - "line": 312, + "line": 318, "column": 41 }, "end": { - "line": 312, + "line": 318, "column": 42 } } @@ -133453,15 +135432,15 @@ "binop": null }, "value": "player", - "start": 11608, - "end": 11614, + "start": 11868, + "end": 11874, "loc": { "start": { - "line": 312, + "line": 318, "column": 42 }, "end": { - "line": 312, + "line": 318, "column": 48 } } @@ -133479,15 +135458,15 @@ "binop": null, "updateContext": null }, - "start": 11614, - "end": 11615, + "start": 11874, + "end": 11875, "loc": { "start": { - "line": 312, + "line": 318, "column": 48 }, "end": { - "line": 312, + "line": 318, "column": 49 } } @@ -133505,15 +135484,15 @@ "binop": null }, "value": "options_", - "start": 11615, - "end": 11623, + "start": 11875, + "end": 11883, "loc": { "start": { - "line": 312, + "line": 318, "column": 49 }, "end": { - "line": 312, + "line": 318, "column": 57 } } @@ -133531,15 +135510,15 @@ "binop": null, "updateContext": null }, - "start": 11623, - "end": 11624, + "start": 11883, + "end": 11884, "loc": { "start": { - "line": 312, + "line": 318, "column": 57 }, "end": { - "line": 312, + "line": 318, "column": 58 } } @@ -133557,15 +135536,15 @@ "binop": null }, "value": "plugins", - "start": 11624, - "end": 11631, + "start": 11884, + "end": 11891, "loc": { "start": { - "line": 312, + "line": 318, "column": 58 }, "end": { - "line": 312, + "line": 318, "column": 65 } } @@ -133583,15 +135562,15 @@ "binop": null, "updateContext": null }, - "start": 11631, - "end": 11632, + "start": 11891, + "end": 11892, "loc": { "start": { - "line": 312, + "line": 318, "column": 65 }, "end": { - "line": 312, + "line": 318, "column": 66 } } @@ -133609,15 +135588,15 @@ "binop": null }, "value": "wavesurfer", - "start": 11632, - "end": 11642, + "start": 11892, + "end": 11902, "loc": { "start": { - "line": 312, + "line": 318, "column": 66 }, "end": { - "line": 312, + "line": 318, "column": 76 } } @@ -133635,15 +135614,15 @@ "binop": null, "updateContext": null }, - "start": 11642, - "end": 11643, + "start": 11902, + "end": 11903, "loc": { "start": { - "line": 312, + "line": 318, "column": 76 }, "end": { - "line": 312, + "line": 318, "column": 77 } } @@ -133661,15 +135640,15 @@ "binop": null }, "value": "xhr", - "start": 11643, - "end": 11646, + "start": 11903, + "end": 11906, "loc": { "start": { - "line": 312, + "line": 318, "column": 77 }, "end": { - "line": 312, + "line": 318, "column": 80 } } @@ -133687,15 +135666,15 @@ "binop": null, "updateContext": null }, - "start": 11646, - "end": 11647, + "start": 11906, + "end": 11907, "loc": { "start": { - "line": 312, + "line": 318, "column": 80 }, "end": { - "line": 312, + "line": 318, "column": 81 } } @@ -133712,15 +135691,15 @@ "postfix": false, "binop": null }, - "start": 11660, - "end": 11661, + "start": 11920, + "end": 11921, "loc": { "start": { - "line": 313, + "line": 319, "column": 12 }, "end": { - "line": 313, + "line": 319, "column": 13 } } @@ -133740,15 +135719,15 @@ "updateContext": null }, "value": "let", - "start": 11674, - "end": 11677, + "start": 11934, + "end": 11937, "loc": { "start": { - "line": 314, + "line": 320, "column": 12 }, "end": { - "line": 314, + "line": 320, "column": 15 } } @@ -133766,15 +135745,15 @@ "binop": null }, "value": "request", - "start": 11678, - "end": 11685, + "start": 11938, + "end": 11945, "loc": { "start": { - "line": 314, + "line": 320, "column": 16 }, "end": { - "line": 314, + "line": 320, "column": 23 } } @@ -133793,15 +135772,15 @@ "updateContext": null }, "value": "=", - "start": 11686, - "end": 11687, + "start": 11946, + "end": 11947, "loc": { "start": { - "line": 314, + "line": 320, "column": 24 }, "end": { - "line": 314, + "line": 320, "column": 25 } } @@ -133819,15 +135798,15 @@ "binop": null }, "value": "WaveSurfer", - "start": 11688, - "end": 11698, + "start": 11948, + "end": 11958, "loc": { "start": { - "line": 314, + "line": 320, "column": 26 }, "end": { - "line": 314, + "line": 320, "column": 36 } } @@ -133845,15 +135824,15 @@ "binop": null, "updateContext": null }, - "start": 11698, - "end": 11699, + "start": 11958, + "end": 11959, "loc": { "start": { - "line": 314, + "line": 320, "column": 36 }, "end": { - "line": 314, + "line": 320, "column": 37 } } @@ -133871,15 +135850,15 @@ "binop": null }, "value": "util", - "start": 11699, - "end": 11703, + "start": 11959, + "end": 11963, "loc": { "start": { - "line": 314, + "line": 320, "column": 37 }, "end": { - "line": 314, + "line": 320, "column": 41 } } @@ -133897,15 +135876,15 @@ "binop": null, "updateContext": null }, - "start": 11703, - "end": 11704, + "start": 11963, + "end": 11964, "loc": { "start": { - "line": 314, + "line": 320, "column": 41 }, "end": { - "line": 314, + "line": 320, "column": 42 } } @@ -133923,15 +135902,15 @@ "binop": null }, "value": "fetchFile", - "start": 11704, - "end": 11713, + "start": 11964, + "end": 11973, "loc": { "start": { - "line": 314, + "line": 320, "column": 42 }, "end": { - "line": 314, + "line": 320, "column": 51 } } @@ -133948,15 +135927,15 @@ "postfix": false, "binop": null }, - "start": 11713, - "end": 11714, + "start": 11973, + "end": 11974, "loc": { "start": { - "line": 314, + "line": 320, "column": 51 }, "end": { - "line": 314, + "line": 320, "column": 52 } } @@ -133974,15 +135953,15 @@ "binop": null }, "value": "requestOptions", - "start": 11714, - "end": 11728, + "start": 11974, + "end": 11988, "loc": { "start": { - "line": 314, + "line": 320, "column": 52 }, "end": { - "line": 314, + "line": 320, "column": 66 } } @@ -133999,15 +135978,15 @@ "postfix": false, "binop": null }, - "start": 11728, - "end": 11729, + "start": 11988, + "end": 11989, "loc": { "start": { - "line": 314, + "line": 320, "column": 66 }, "end": { - "line": 314, + "line": 320, "column": 67 } } @@ -134025,15 +136004,15 @@ "binop": null, "updateContext": null }, - "start": 11729, - "end": 11730, + "start": 11989, + "end": 11990, "loc": { "start": { - "line": 314, + "line": 320, "column": 67 }, "end": { - "line": 314, + "line": 320, "column": 68 } } @@ -134051,15 +136030,15 @@ "binop": null }, "value": "request", - "start": 11744, - "end": 11751, + "start": 12004, + "end": 12011, "loc": { "start": { - "line": 316, + "line": 322, "column": 12 }, "end": { - "line": 316, + "line": 322, "column": 19 } } @@ -134077,15 +136056,15 @@ "binop": null, "updateContext": null }, - "start": 11751, - "end": 11752, + "start": 12011, + "end": 12012, "loc": { "start": { - "line": 316, + "line": 322, "column": 19 }, "end": { - "line": 316, + "line": 322, "column": 20 } } @@ -134103,15 +136082,15 @@ "binop": null }, "value": "once", - "start": 11752, - "end": 11756, + "start": 12012, + "end": 12016, "loc": { "start": { - "line": 316, + "line": 322, "column": 20 }, "end": { - "line": 316, + "line": 322, "column": 24 } } @@ -134128,15 +136107,15 @@ "postfix": false, "binop": null }, - "start": 11756, - "end": 11757, + "start": 12016, + "end": 12017, "loc": { "start": { - "line": 316, + "line": 322, "column": 24 }, "end": { - "line": 316, + "line": 322, "column": 25 } } @@ -134155,15 +136134,15 @@ "updateContext": null }, "value": "success", - "start": 11757, - "end": 11766, + "start": 12017, + "end": 12026, "loc": { "start": { - "line": 316, + "line": 322, "column": 25 }, "end": { - "line": 316, + "line": 322, "column": 34 } } @@ -134181,15 +136160,15 @@ "binop": null, "updateContext": null }, - "start": 11766, - "end": 11767, + "start": 12026, + "end": 12027, "loc": { "start": { - "line": 316, + "line": 322, "column": 34 }, "end": { - "line": 316, + "line": 322, "column": 35 } } @@ -134207,15 +136186,15 @@ "binop": null }, "value": "data", - "start": 11768, - "end": 11772, + "start": 12028, + "end": 12032, "loc": { "start": { - "line": 316, + "line": 322, "column": 36 }, "end": { - "line": 316, + "line": 322, "column": 40 } } @@ -134233,15 +136212,15 @@ "binop": null, "updateContext": null }, - "start": 11773, - "end": 11775, + "start": 12033, + "end": 12035, "loc": { "start": { - "line": 316, + "line": 322, "column": 41 }, "end": { - "line": 316, + "line": 322, "column": 43 } } @@ -134258,15 +136237,15 @@ "postfix": false, "binop": null }, - "start": 11776, - "end": 11777, + "start": 12036, + "end": 12037, "loc": { "start": { - "line": 316, + "line": 322, "column": 44 }, "end": { - "line": 316, + "line": 322, "column": 45 } } @@ -134286,15 +136265,15 @@ "updateContext": null }, "value": "this", - "start": 11794, - "end": 11798, + "start": 12054, + "end": 12058, "loc": { "start": { - "line": 317, + "line": 323, "column": 16 }, "end": { - "line": 317, + "line": 323, "column": 20 } } @@ -134312,15 +136291,15 @@ "binop": null, "updateContext": null }, - "start": 11798, - "end": 11799, + "start": 12058, + "end": 12059, "loc": { "start": { - "line": 317, + "line": 323, "column": 20 }, "end": { - "line": 317, + "line": 323, "column": 21 } } @@ -134338,15 +136317,15 @@ "binop": null }, "value": "log", - "start": 11799, - "end": 11802, + "start": 12059, + "end": 12062, "loc": { "start": { - "line": 317, + "line": 323, "column": 21 }, "end": { - "line": 317, + "line": 323, "column": 24 } } @@ -134363,15 +136342,15 @@ "postfix": false, "binop": null }, - "start": 11802, - "end": 11803, + "start": 12062, + "end": 12063, "loc": { "start": { - "line": 317, + "line": 323, "column": 24 }, "end": { - "line": 317, + "line": 323, "column": 25 } } @@ -134390,15 +136369,15 @@ "updateContext": null }, "value": "Loaded Peak Data URL: ", - "start": 11803, - "end": 11827, + "start": 12063, + "end": 12087, "loc": { "start": { - "line": 317, + "line": 323, "column": 25 }, "end": { - "line": 317, + "line": 323, "column": 49 } } @@ -134417,15 +136396,15 @@ "updateContext": null }, "value": "+", - "start": 11828, - "end": 11829, + "start": 12088, + "end": 12089, "loc": { "start": { - "line": 317, + "line": 323, "column": 50 }, "end": { - "line": 317, + "line": 323, "column": 51 } } @@ -134443,15 +136422,15 @@ "binop": null }, "value": "peaks", - "start": 11830, - "end": 11835, + "start": 12090, + "end": 12095, "loc": { "start": { - "line": 317, + "line": 323, "column": 52 }, "end": { - "line": 317, + "line": 323, "column": 57 } } @@ -134468,15 +136447,15 @@ "postfix": false, "binop": null }, - "start": 11835, - "end": 11836, + "start": 12095, + "end": 12096, "loc": { "start": { - "line": 317, + "line": 323, "column": 57 }, "end": { - "line": 317, + "line": 323, "column": 58 } } @@ -134494,15 +136473,15 @@ "binop": null, "updateContext": null }, - "start": 11836, - "end": 11837, + "start": 12096, + "end": 12097, "loc": { "start": { - "line": 317, + "line": 323, "column": 58 }, "end": { - "line": 317, + "line": 323, "column": 59 } } @@ -134510,15 +136489,15 @@ { "type": "CommentLine", "value": " check for data property containing peaks", - "start": 11854, - "end": 11897, + "start": 12114, + "end": 12157, "loc": { "start": { - "line": 318, + "line": 324, "column": 16 }, "end": { - "line": 318, + "line": 324, "column": 59 } } @@ -134538,15 +136517,15 @@ "updateContext": null }, "value": "if", - "start": 11914, - "end": 11916, + "start": 12174, + "end": 12176, "loc": { "start": { - "line": 319, + "line": 325, "column": 16 }, "end": { - "line": 319, + "line": 325, "column": 18 } } @@ -134563,15 +136542,15 @@ "postfix": false, "binop": null }, - "start": 11917, - "end": 11918, + "start": 12177, + "end": 12178, "loc": { "start": { - "line": 319, + "line": 325, "column": 19 }, "end": { - "line": 319, + "line": 325, "column": 20 } } @@ -134589,15 +136568,15 @@ "binop": null }, "value": "data", - "start": 11918, - "end": 11922, + "start": 12178, + "end": 12182, "loc": { "start": { - "line": 319, + "line": 325, "column": 20 }, "end": { - "line": 319, + "line": 325, "column": 24 } } @@ -134616,15 +136595,15 @@ "updateContext": null }, "value": "&&", - "start": 11923, - "end": 11925, + "start": 12183, + "end": 12185, "loc": { "start": { - "line": 319, + "line": 325, "column": 25 }, "end": { - "line": 319, + "line": 325, "column": 27 } } @@ -134642,15 +136621,15 @@ "binop": null }, "value": "data", - "start": 11926, - "end": 11930, + "start": 12186, + "end": 12190, "loc": { "start": { - "line": 319, + "line": 325, "column": 28 }, "end": { - "line": 319, + "line": 325, "column": 32 } } @@ -134668,15 +136647,15 @@ "binop": null, "updateContext": null }, - "start": 11930, - "end": 11931, + "start": 12190, + "end": 12191, "loc": { "start": { - "line": 319, + "line": 325, "column": 32 }, "end": { - "line": 319, + "line": 325, "column": 33 } } @@ -134694,15 +136673,15 @@ "binop": null }, "value": "data", - "start": 11931, - "end": 11935, + "start": 12191, + "end": 12195, "loc": { "start": { - "line": 319, + "line": 325, "column": 33 }, "end": { - "line": 319, + "line": 325, "column": 37 } } @@ -134719,15 +136698,15 @@ "postfix": false, "binop": null }, - "start": 11935, - "end": 11936, + "start": 12195, + "end": 12196, "loc": { "start": { - "line": 319, + "line": 325, "column": 37 }, "end": { - "line": 319, + "line": 325, "column": 38 } } @@ -134744,15 +136723,15 @@ "postfix": false, "binop": null }, - "start": 11937, - "end": 11938, + "start": 12197, + "end": 12198, "loc": { "start": { - "line": 319, + "line": 325, "column": 39 }, "end": { - "line": 319, + "line": 325, "column": 40 } } @@ -134772,15 +136751,15 @@ "updateContext": null }, "value": "this", - "start": 11959, - "end": 11963, + "start": 12219, + "end": 12223, "loc": { "start": { - "line": 320, + "line": 326, "column": 20 }, "end": { - "line": 320, + "line": 326, "column": 24 } } @@ -134798,15 +136777,15 @@ "binop": null, "updateContext": null }, - "start": 11963, - "end": 11964, + "start": 12223, + "end": 12224, "loc": { "start": { - "line": 320, + "line": 326, "column": 24 }, "end": { - "line": 320, + "line": 326, "column": 25 } } @@ -134824,15 +136803,15 @@ "binop": null }, "value": "surfer", - "start": 11964, - "end": 11970, + "start": 12224, + "end": 12230, "loc": { "start": { - "line": 320, + "line": 326, "column": 25 }, "end": { - "line": 320, + "line": 326, "column": 31 } } @@ -134850,15 +136829,15 @@ "binop": null, "updateContext": null }, - "start": 11970, - "end": 11971, + "start": 12230, + "end": 12231, "loc": { "start": { - "line": 320, + "line": 326, "column": 31 }, "end": { - "line": 320, + "line": 326, "column": 32 } } @@ -134876,15 +136855,15 @@ "binop": null }, "value": "load", - "start": 11971, - "end": 11975, + "start": 12231, + "end": 12235, "loc": { "start": { - "line": 320, + "line": 326, "column": 32 }, "end": { - "line": 320, + "line": 326, "column": 36 } } @@ -134901,15 +136880,15 @@ "postfix": false, "binop": null }, - "start": 11975, - "end": 11976, + "start": 12235, + "end": 12236, "loc": { "start": { - "line": 320, + "line": 326, "column": 36 }, "end": { - "line": 320, + "line": 326, "column": 37 } } @@ -134927,15 +136906,15 @@ "binop": null }, "value": "url", - "start": 11976, - "end": 11979, + "start": 12236, + "end": 12239, "loc": { "start": { - "line": 320, + "line": 326, "column": 37 }, "end": { - "line": 320, + "line": 326, "column": 40 } } @@ -134953,15 +136932,15 @@ "binop": null, "updateContext": null }, - "start": 11979, - "end": 11980, + "start": 12239, + "end": 12240, "loc": { "start": { - "line": 320, + "line": 326, "column": 40 }, "end": { - "line": 320, + "line": 326, "column": 41 } } @@ -134979,15 +136958,15 @@ "binop": null }, "value": "data", - "start": 11981, - "end": 11985, + "start": 12241, + "end": 12245, "loc": { "start": { - "line": 320, + "line": 326, "column": 42 }, "end": { - "line": 320, + "line": 326, "column": 46 } } @@ -135005,15 +136984,15 @@ "binop": null, "updateContext": null }, - "start": 11985, - "end": 11986, + "start": 12245, + "end": 12246, "loc": { "start": { - "line": 320, + "line": 326, "column": 46 }, "end": { - "line": 320, + "line": 326, "column": 47 } } @@ -135031,15 +137010,15 @@ "binop": null }, "value": "data", - "start": 11986, - "end": 11990, + "start": 12246, + "end": 12250, "loc": { "start": { - "line": 320, + "line": 326, "column": 47 }, "end": { - "line": 320, + "line": 326, "column": 51 } } @@ -135056,15 +137035,15 @@ "postfix": false, "binop": null }, - "start": 11990, - "end": 11991, + "start": 12250, + "end": 12251, "loc": { "start": { - "line": 320, + "line": 326, "column": 51 }, "end": { - "line": 320, + "line": 326, "column": 52 } } @@ -135082,15 +137061,15 @@ "binop": null, "updateContext": null }, - "start": 11991, - "end": 11992, + "start": 12251, + "end": 12252, "loc": { "start": { - "line": 320, + "line": 326, "column": 52 }, "end": { - "line": 320, + "line": 326, "column": 53 } } @@ -135107,15 +137086,15 @@ "postfix": false, "binop": null }, - "start": 12009, - "end": 12010, + "start": 12269, + "end": 12270, "loc": { "start": { - "line": 321, + "line": 327, "column": 16 }, "end": { - "line": 321, + "line": 327, "column": 17 } } @@ -135135,15 +137114,15 @@ "updateContext": null }, "value": "else", - "start": 12011, - "end": 12015, + "start": 12271, + "end": 12275, "loc": { "start": { - "line": 321, + "line": 327, "column": 18 }, "end": { - "line": 321, + "line": 327, "column": 22 } } @@ -135160,15 +137139,15 @@ "postfix": false, "binop": null }, - "start": 12016, - "end": 12017, + "start": 12276, + "end": 12277, "loc": { "start": { - "line": 321, + "line": 327, "column": 23 }, "end": { - "line": 321, + "line": 327, "column": 24 } } @@ -135188,15 +137167,15 @@ "updateContext": null }, "value": "this", - "start": 12038, - "end": 12042, + "start": 12298, + "end": 12302, "loc": { "start": { - "line": 322, + "line": 328, "column": 20 }, "end": { - "line": 322, + "line": 328, "column": 24 } } @@ -135214,15 +137193,15 @@ "binop": null, "updateContext": null }, - "start": 12042, - "end": 12043, + "start": 12302, + "end": 12303, "loc": { "start": { - "line": 322, + "line": 328, "column": 24 }, "end": { - "line": 322, + "line": 328, "column": 25 } } @@ -135240,15 +137219,15 @@ "binop": null }, "value": "player", - "start": 12043, - "end": 12049, + "start": 12303, + "end": 12309, "loc": { "start": { - "line": 322, + "line": 328, "column": 25 }, "end": { - "line": 322, + "line": 328, "column": 31 } } @@ -135266,15 +137245,15 @@ "binop": null, "updateContext": null }, - "start": 12049, - "end": 12050, + "start": 12309, + "end": 12310, "loc": { "start": { - "line": 322, + "line": 328, "column": 31 }, "end": { - "line": 322, + "line": 328, "column": 32 } } @@ -135292,15 +137271,15 @@ "binop": null }, "value": "trigger", - "start": 12050, - "end": 12057, + "start": 12310, + "end": 12317, "loc": { "start": { - "line": 322, + "line": 328, "column": 32 }, "end": { - "line": 322, + "line": 328, "column": 39 } } @@ -135317,15 +137296,15 @@ "postfix": false, "binop": null }, - "start": 12057, - "end": 12058, + "start": 12317, + "end": 12318, "loc": { "start": { - "line": 322, + "line": 328, "column": 39 }, "end": { - "line": 322, + "line": 328, "column": 40 } } @@ -135343,15 +137322,15 @@ "binop": null }, "value": "Event", - "start": 12058, - "end": 12063, + "start": 12318, + "end": 12323, "loc": { "start": { - "line": 322, + "line": 328, "column": 40 }, "end": { - "line": 322, + "line": 328, "column": 45 } } @@ -135369,15 +137348,15 @@ "binop": null, "updateContext": null }, - "start": 12063, - "end": 12064, + "start": 12323, + "end": 12324, "loc": { "start": { - "line": 322, + "line": 328, "column": 45 }, "end": { - "line": 322, + "line": 328, "column": 46 } } @@ -135395,15 +137374,15 @@ "binop": null }, "value": "ERROR", - "start": 12064, - "end": 12069, + "start": 12324, + "end": 12329, "loc": { "start": { - "line": 322, + "line": 328, "column": 46 }, "end": { - "line": 322, + "line": 328, "column": 51 } } @@ -135421,15 +137400,15 @@ "binop": null, "updateContext": null }, - "start": 12069, - "end": 12070, + "start": 12329, + "end": 12330, "loc": { "start": { - "line": 322, + "line": 328, "column": 51 }, "end": { - "line": 322, + "line": 328, "column": 52 } } @@ -135448,15 +137427,15 @@ "updateContext": null }, "value": "Could not load peaks data from ", - "start": 12095, - "end": 12128, + "start": 12355, + "end": 12388, "loc": { "start": { - "line": 323, + "line": 329, "column": 24 }, "end": { - "line": 323, + "line": 329, "column": 57 } } @@ -135475,15 +137454,15 @@ "updateContext": null }, "value": "+", - "start": 12129, - "end": 12130, + "start": 12389, + "end": 12390, "loc": { "start": { - "line": 323, + "line": 329, "column": 58 }, "end": { - "line": 323, + "line": 329, "column": 59 } } @@ -135501,15 +137480,15 @@ "binop": null }, "value": "peaks", - "start": 12131, - "end": 12136, + "start": 12391, + "end": 12396, "loc": { "start": { - "line": 323, + "line": 329, "column": 60 }, "end": { - "line": 323, + "line": 329, "column": 65 } } @@ -135526,15 +137505,15 @@ "postfix": false, "binop": null }, - "start": 12136, - "end": 12137, + "start": 12396, + "end": 12397, "loc": { "start": { - "line": 323, + "line": 329, "column": 65 }, "end": { - "line": 323, + "line": 329, "column": 66 } } @@ -135552,15 +137531,15 @@ "binop": null, "updateContext": null }, - "start": 12137, - "end": 12138, + "start": 12397, + "end": 12398, "loc": { "start": { - "line": 323, + "line": 329, "column": 66 }, "end": { - "line": 323, + "line": 329, "column": 67 } } @@ -135580,15 +137559,15 @@ "updateContext": null }, "value": "this", - "start": 12159, - "end": 12163, + "start": 12419, + "end": 12423, "loc": { "start": { - "line": 324, + "line": 330, "column": 20 }, "end": { - "line": 324, + "line": 330, "column": 24 } } @@ -135606,15 +137585,15 @@ "binop": null, "updateContext": null }, - "start": 12163, - "end": 12164, + "start": 12423, + "end": 12424, "loc": { "start": { - "line": 324, + "line": 330, "column": 24 }, "end": { - "line": 324, + "line": 330, "column": 25 } } @@ -135632,15 +137611,15 @@ "binop": null }, "value": "log", - "start": 12164, - "end": 12167, + "start": 12424, + "end": 12427, "loc": { "start": { - "line": 324, + "line": 330, "column": 25 }, "end": { - "line": 324, + "line": 330, "column": 28 } } @@ -135657,15 +137636,15 @@ "postfix": false, "binop": null }, - "start": 12167, - "end": 12168, + "start": 12427, + "end": 12428, "loc": { "start": { - "line": 324, + "line": 330, "column": 28 }, "end": { - "line": 324, + "line": 330, "column": 29 } } @@ -135683,15 +137662,15 @@ "binop": null }, "value": "err", - "start": 12168, - "end": 12171, + "start": 12428, + "end": 12431, "loc": { "start": { - "line": 324, + "line": 330, "column": 29 }, "end": { - "line": 324, + "line": 330, "column": 32 } } @@ -135709,15 +137688,15 @@ "binop": null, "updateContext": null }, - "start": 12171, - "end": 12172, + "start": 12431, + "end": 12432, "loc": { "start": { - "line": 324, + "line": 330, "column": 32 }, "end": { - "line": 324, + "line": 330, "column": 33 } } @@ -135736,15 +137715,15 @@ "updateContext": null }, "value": "error", - "start": 12173, - "end": 12180, + "start": 12433, + "end": 12440, "loc": { "start": { - "line": 324, + "line": 330, "column": 34 }, "end": { - "line": 324, + "line": 330, "column": 41 } } @@ -135761,15 +137740,15 @@ "postfix": false, "binop": null }, - "start": 12180, - "end": 12181, + "start": 12440, + "end": 12441, "loc": { "start": { - "line": 324, + "line": 330, "column": 41 }, "end": { - "line": 324, + "line": 330, "column": 42 } } @@ -135787,15 +137766,15 @@ "binop": null, "updateContext": null }, - "start": 12181, - "end": 12182, + "start": 12441, + "end": 12442, "loc": { "start": { - "line": 324, + "line": 330, "column": 42 }, "end": { - "line": 324, + "line": 330, "column": 43 } } @@ -135812,15 +137791,15 @@ "postfix": false, "binop": null }, - "start": 12199, - "end": 12200, + "start": 12459, + "end": 12460, "loc": { "start": { - "line": 325, + "line": 331, "column": 16 }, "end": { - "line": 325, + "line": 331, "column": 17 } } @@ -135837,15 +137816,15 @@ "postfix": false, "binop": null }, - "start": 12213, - "end": 12214, + "start": 12473, + "end": 12474, "loc": { "start": { - "line": 326, + "line": 332, "column": 12 }, "end": { - "line": 326, + "line": 332, "column": 13 } } @@ -135862,15 +137841,15 @@ "postfix": false, "binop": null }, - "start": 12214, - "end": 12215, + "start": 12474, + "end": 12475, "loc": { "start": { - "line": 326, + "line": 332, "column": 13 }, "end": { - "line": 326, + "line": 332, "column": 14 } } @@ -135888,15 +137867,15 @@ "binop": null, "updateContext": null }, - "start": 12215, - "end": 12216, + "start": 12475, + "end": 12476, "loc": { "start": { - "line": 326, + "line": 332, "column": 14 }, "end": { - "line": 326, + "line": 332, "column": 15 } } @@ -135914,15 +137893,15 @@ "binop": null }, "value": "request", - "start": 12229, - "end": 12236, + "start": 12489, + "end": 12496, "loc": { "start": { - "line": 327, + "line": 333, "column": 12 }, "end": { - "line": 327, + "line": 333, "column": 19 } } @@ -135940,15 +137919,15 @@ "binop": null, "updateContext": null }, - "start": 12236, - "end": 12237, + "start": 12496, + "end": 12497, "loc": { "start": { - "line": 327, + "line": 333, "column": 19 }, "end": { - "line": 327, + "line": 333, "column": 20 } } @@ -135965,17 +137944,17 @@ "postfix": false, "binop": null }, - "value": "on", - "start": 12237, - "end": 12239, + "value": "once", + "start": 12497, + "end": 12501, "loc": { "start": { - "line": 327, + "line": 333, "column": 20 }, "end": { - "line": 327, - "column": 22 + "line": 333, + "column": 24 } } }, @@ -135991,16 +137970,16 @@ "postfix": false, "binop": null }, - "start": 12239, - "end": 12240, + "start": 12501, + "end": 12502, "loc": { "start": { - "line": 327, - "column": 22 + "line": 333, + "column": 24 }, "end": { - "line": 327, - "column": 23 + "line": 333, + "column": 25 } } }, @@ -136018,16 +137997,16 @@ "updateContext": null }, "value": "error", - "start": 12240, - "end": 12247, + "start": 12502, + "end": 12509, "loc": { "start": { - "line": 327, - "column": 23 + "line": 333, + "column": 25 }, "end": { - "line": 327, - "column": 30 + "line": 333, + "column": 32 } } }, @@ -136044,16 +138023,16 @@ "binop": null, "updateContext": null }, - "start": 12247, - "end": 12248, + "start": 12509, + "end": 12510, "loc": { "start": { - "line": 327, - "column": 30 + "line": 333, + "column": 32 }, "end": { - "line": 327, - "column": 31 + "line": 333, + "column": 33 } } }, @@ -136070,16 +138049,16 @@ "binop": null }, "value": "e", - "start": 12249, - "end": 12250, + "start": 12511, + "end": 12512, "loc": { "start": { - "line": 327, - "column": 32 + "line": 333, + "column": 34 }, "end": { - "line": 327, - "column": 33 + "line": 333, + "column": 35 } } }, @@ -136096,16 +138075,16 @@ "binop": null, "updateContext": null }, - "start": 12251, - "end": 12253, + "start": 12513, + "end": 12515, "loc": { "start": { - "line": 327, - "column": 34 + "line": 333, + "column": 36 }, "end": { - "line": 327, - "column": 36 + "line": 333, + "column": 38 } } }, @@ -136121,16 +138100,16 @@ "postfix": false, "binop": null }, - "start": 12254, - "end": 12255, + "start": 12516, + "end": 12517, "loc": { "start": { - "line": 327, - "column": 37 + "line": 333, + "column": 39 }, "end": { - "line": 327, - "column": 38 + "line": 333, + "column": 40 } } }, @@ -136149,15 +138128,15 @@ "updateContext": null }, "value": "this", - "start": 12272, - "end": 12276, + "start": 12534, + "end": 12538, "loc": { "start": { - "line": 328, + "line": 334, "column": 16 }, "end": { - "line": 328, + "line": 334, "column": 20 } } @@ -136175,15 +138154,15 @@ "binop": null, "updateContext": null }, - "start": 12276, - "end": 12277, + "start": 12538, + "end": 12539, "loc": { "start": { - "line": 328, + "line": 334, "column": 20 }, "end": { - "line": 328, + "line": 334, "column": 21 } } @@ -136200,50 +138179,25 @@ "postfix": false, "binop": null }, - "value": "log", - "start": 12277, - "end": 12280, + "value": "player", + "start": 12539, + "end": 12545, "loc": { "start": { - "line": 328, + "line": 334, "column": 21 }, "end": { - "line": 328, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12280, - "end": 12281, - "loc": { - "start": { - "line": 328, - "column": 24 - }, - "end": { - "line": 328, - "column": 25 + "line": 334, + "column": 27 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -136252,44 +138206,16 @@ "binop": null, "updateContext": null }, - "value": "Unable to retrieve peak data from ", - "start": 12281, - "end": 12317, - "loc": { - "start": { - "line": 328, - "column": 25 - }, - "end": { - "line": 328, - "column": 61 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 12318, - "end": 12319, + "start": 12545, + "end": 12546, "loc": { "start": { - "line": 328, - "column": 62 + "line": 334, + "column": 27 }, "end": { - "line": 328, - "column": 63 + "line": 334, + "column": 28 } } }, @@ -136305,150 +138231,42 @@ "postfix": false, "binop": null }, - "value": "peaks", - "start": 12320, - "end": 12325, - "loc": { - "start": { - "line": 328, - "column": 64 - }, - "end": { - "line": 328, - "column": 69 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 12326, - "end": 12327, - "loc": { - "start": { - "line": 328, - "column": 70 - }, - "end": { - "line": 328, - "column": 71 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": ". Status code: ", - "start": 12348, - "end": 12365, + "value": "trigger", + "start": 12546, + "end": 12553, "loc": { "start": { - "line": 329, - "column": 20 + "line": 334, + "column": 28 }, "end": { - "line": 329, - "column": 37 + "line": 334, + "column": 35 } } }, { "type": { - "label": "+/-", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 12366, - "end": 12367, - "loc": { - "start": { - "line": 329, - "column": 38 - }, - "end": { - "line": 329, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, "prefix": false, "postfix": false, "binop": null }, - "value": "request", - "start": 12368, - "end": 12375, + "start": 12553, + "end": 12554, "loc": { "start": { - "line": 329, - "column": 40 - }, - "end": { - "line": 329, - "column": 47 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12375, - "end": 12376, - "loc": { - "start": { - "line": 329, - "column": 47 + "line": 334, + "column": 35 }, "end": { - "line": 329, - "column": 48 + "line": 334, + "column": 36 } } }, @@ -136464,17 +138282,17 @@ "postfix": false, "binop": null }, - "value": "response", - "start": 12376, - "end": 12384, + "value": "Event", + "start": 12554, + "end": 12559, "loc": { "start": { - "line": 329, - "column": 48 + "line": 334, + "column": 36 }, "end": { - "line": 329, - "column": 56 + "line": 334, + "column": 41 } } }, @@ -136491,16 +138309,16 @@ "binop": null, "updateContext": null }, - "start": 12384, - "end": 12385, + "start": 12559, + "end": 12560, "loc": { "start": { - "line": 329, - "column": 56 + "line": 334, + "column": 41 }, "end": { - "line": 329, - "column": 57 + "line": 334, + "column": 42 } } }, @@ -136516,17 +138334,17 @@ "postfix": false, "binop": null }, - "value": "status", - "start": 12385, - "end": 12391, + "value": "ERROR", + "start": 12560, + "end": 12565, "loc": { "start": { - "line": 329, - "column": 57 + "line": 334, + "column": 42 }, "end": { - "line": 329, - "column": 63 + "line": 334, + "column": 47 } } }, @@ -136543,16 +138361,16 @@ "binop": null, "updateContext": null }, - "start": 12391, - "end": 12392, + "start": 12565, + "end": 12566, "loc": { "start": { - "line": 329, - "column": 63 + "line": 334, + "column": 47 }, "end": { - "line": 329, - "column": 64 + "line": 334, + "column": 48 } } }, @@ -136569,122 +138387,44 @@ "binop": null, "updateContext": null }, - "value": "warn", - "start": 12393, - "end": 12399, - "loc": { - "start": { - "line": 329, - "column": 65 - }, - "end": { - "line": 329, - "column": 71 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12399, - "end": 12400, + "value": "Unable to retrieve peak data from ", + "start": 12587, + "end": 12623, "loc": { "start": { - "line": 329, - "column": 71 + "line": 335, + "column": 20 }, "end": { - "line": 329, - "column": 72 + "line": 335, + "column": 56 } } }, { "type": { - "label": ";", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12400, - "end": 12401, - "loc": { - "start": { - "line": 329, - "column": 72 - }, - "end": { - "line": 329, - "column": 73 - } - } - }, - { - "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": 12418, - "end": 12422, - "loc": { - "start": { - "line": 330, - "column": 16 - }, - "end": { - "line": 330, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 12422, - "end": 12423, + "value": "+", + "start": 12624, + "end": 12625, "loc": { "start": { - "line": 330, - "column": 20 + "line": 335, + "column": 57 }, "end": { - "line": 330, - "column": 21 + "line": 335, + "column": 58 } } }, @@ -136700,42 +138440,44 @@ "postfix": false, "binop": null }, - "value": "log", - "start": 12423, - "end": 12426, + "value": "peaks", + "start": 12626, + "end": 12631, "loc": { "start": { - "line": 330, - "column": 21 + "line": 335, + "column": 59 }, "end": { - "line": 330, - "column": 24 + "line": 335, + "column": 64 } } }, { "type": { - "label": "(", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 12426, - "end": 12427, + "value": "+", + "start": 12632, + "end": 12633, "loc": { "start": { - "line": 330, - "column": 24 + "line": 335, + "column": 65 }, "end": { - "line": 330, - "column": 25 + "line": 335, + "column": 66 } } }, @@ -136752,17 +138494,17 @@ "binop": null, "updateContext": null }, - "value": "Loading URL: ", - "start": 12427, - "end": 12442, + "value": ". Status code: ", + "start": 12654, + "end": 12671, "loc": { "start": { - "line": 330, - "column": 25 + "line": 336, + "column": 20 }, "end": { - "line": 330, - "column": 40 + "line": 336, + "column": 37 } } }, @@ -136780,16 +138522,16 @@ "updateContext": null }, "value": "+", - "start": 12443, - "end": 12444, + "start": 12672, + "end": 12673, "loc": { "start": { - "line": 330, - "column": 41 + "line": 336, + "column": 38 }, "end": { - "line": 330, - "column": 42 + "line": 336, + "column": 39 } } }, @@ -136805,96 +138547,17 @@ "postfix": false, "binop": null }, - "value": "url", - "start": 12445, - "end": 12448, - "loc": { - "start": { - "line": 330, - "column": 43 - }, - "end": { - "line": 330, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12448, - "end": 12449, + "value": "request", + "start": 12674, + "end": 12681, "loc": { "start": { - "line": 330, - "column": 46 + "line": 336, + "column": 40 }, "end": { - "line": 330, - "column": 47 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12449, - "end": 12450, - "loc": { - "start": { - "line": 330, + "line": 336, "column": 47 - }, - "end": { - "line": 330, - "column": 48 - } - } - }, - { - "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": 12467, - "end": 12471, - "loc": { - "start": { - "line": 331, - "column": 16 - }, - "end": { - "line": 331, - "column": 20 } } }, @@ -136911,16 +138574,16 @@ "binop": null, "updateContext": null }, - "start": 12471, - "end": 12472, + "start": 12681, + "end": 12682, "loc": { "start": { - "line": 331, - "column": 20 + "line": 336, + "column": 47 }, "end": { - "line": 331, - "column": 21 + "line": 336, + "column": 48 } } }, @@ -136936,17 +138599,17 @@ "postfix": false, "binop": null }, - "value": "surfer", - "start": 12472, - "end": 12478, + "value": "response", + "start": 12682, + "end": 12690, "loc": { "start": { - "line": 331, - "column": 21 + "line": 336, + "column": 48 }, "end": { - "line": 331, - "column": 27 + "line": 336, + "column": 56 } } }, @@ -136963,67 +138626,16 @@ "binop": null, "updateContext": null }, - "start": 12478, - "end": 12479, - "loc": { - "start": { - "line": 331, - "column": 27 - }, - "end": { - "line": 331, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "load", - "start": 12479, - "end": 12483, - "loc": { - "start": { - "line": 331, - "column": 28 - }, - "end": { - "line": 331, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12483, - "end": 12484, + "start": 12690, + "end": 12691, "loc": { "start": { - "line": 331, - "column": 32 + "line": 336, + "column": 56 }, "end": { - "line": 331, - "column": 33 + "line": 336, + "column": 57 } } }, @@ -137039,17 +138651,17 @@ "postfix": false, "binop": null }, - "value": "url", - "start": 12484, - "end": 12487, + "value": "status", + "start": 12691, + "end": 12697, "loc": { "start": { - "line": 331, - "column": 33 + "line": 336, + "column": 57 }, "end": { - "line": 331, - "column": 36 + "line": 336, + "column": 63 } } }, @@ -137065,16 +138677,16 @@ "postfix": false, "binop": null }, - "start": 12487, - "end": 12488, + "start": 12697, + "end": 12698, "loc": { "start": { - "line": 331, - "column": 36 + "line": 336, + "column": 63 }, "end": { - "line": 331, - "column": 37 + "line": 336, + "column": 64 } } }, @@ -137091,16 +138703,16 @@ "binop": null, "updateContext": null }, - "start": 12488, - "end": 12489, + "start": 12698, + "end": 12699, "loc": { "start": { - "line": 331, - "column": 37 + "line": 336, + "column": 64 }, "end": { - "line": 331, - "column": 38 + "line": 336, + "column": 65 } } }, @@ -137116,15 +138728,15 @@ "postfix": false, "binop": null }, - "start": 12502, - "end": 12503, + "start": 12712, + "end": 12713, "loc": { "start": { - "line": 332, + "line": 337, "column": 12 }, "end": { - "line": 332, + "line": 337, "column": 13 } } @@ -137141,15 +138753,15 @@ "postfix": false, "binop": null }, - "start": 12503, - "end": 12504, + "start": 12713, + "end": 12714, "loc": { "start": { - "line": 332, + "line": 337, "column": 13 }, "end": { - "line": 332, + "line": 337, "column": 14 } } @@ -137167,15 +138779,15 @@ "binop": null, "updateContext": null }, - "start": 12504, - "end": 12505, + "start": 12714, + "end": 12715, "loc": { "start": { - "line": 332, + "line": 337, "column": 14 }, "end": { - "line": 332, + "line": 337, "column": 15 } } @@ -137192,15 +138804,15 @@ "postfix": false, "binop": null }, - "start": 12514, - "end": 12515, + "start": 12724, + "end": 12725, "loc": { "start": { - "line": 333, + "line": 338, "column": 8 }, "end": { - "line": 333, + "line": 338, "column": 9 } } @@ -137217,15 +138829,15 @@ "postfix": false, "binop": null }, - "start": 12520, - "end": 12521, + "start": 12730, + "end": 12731, "loc": { "start": { - "line": 334, + "line": 339, "column": 4 }, "end": { - "line": 334, + "line": 339, "column": 5 } } @@ -137233,15 +138845,15 @@ { "type": "CommentBlock", "value": "*\n * Start/resume playback or microphone.\n ", - "start": 12527, - "end": 12582, + "start": 12737, + "end": 12792, "loc": { "start": { - "line": 336, + "line": 341, "column": 4 }, "end": { - "line": 338, + "line": 343, "column": 7 } } @@ -137259,15 +138871,15 @@ "binop": null }, "value": "play", - "start": 12587, - "end": 12591, + "start": 12797, + "end": 12801, "loc": { "start": { - "line": 339, + "line": 344, "column": 4 }, "end": { - "line": 339, + "line": 344, "column": 8 } } @@ -137284,15 +138896,15 @@ "postfix": false, "binop": null }, - "start": 12591, - "end": 12592, + "start": 12801, + "end": 12802, "loc": { "start": { - "line": 339, + "line": 344, "column": 8 }, "end": { - "line": 339, + "line": 344, "column": 9 } } @@ -137309,15 +138921,15 @@ "postfix": false, "binop": null }, - "start": 12592, - "end": 12593, + "start": 12802, + "end": 12803, "loc": { "start": { - "line": 339, + "line": 344, "column": 9 }, "end": { - "line": 339, + "line": 344, "column": 10 } } @@ -137334,15 +138946,15 @@ "postfix": false, "binop": null }, - "start": 12594, - "end": 12595, + "start": 12804, + "end": 12805, "loc": { "start": { - "line": 339, + "line": 344, "column": 11 }, "end": { - "line": 339, + "line": 344, "column": 12 } } @@ -137350,15 +138962,15 @@ { "type": "CommentLine", "value": " show pause button", - "start": 12604, - "end": 12624, + "start": 12814, + "end": 12834, "loc": { "start": { - "line": 340, + "line": 345, "column": 8 }, "end": { - "line": 340, + "line": 345, "column": 28 } } @@ -137378,15 +138990,15 @@ "updateContext": null }, "value": "if", - "start": 12633, - "end": 12635, + "start": 12843, + "end": 12845, "loc": { "start": { - "line": 341, + "line": 346, "column": 8 }, "end": { - "line": 341, + "line": 346, "column": 10 } } @@ -137403,15 +139015,15 @@ "postfix": false, "binop": null }, - "start": 12636, - "end": 12637, + "start": 12846, + "end": 12847, "loc": { "start": { - "line": 341, + "line": 346, "column": 11 }, "end": { - "line": 341, + "line": 346, "column": 12 } } @@ -137431,15 +139043,15 @@ "updateContext": null }, "value": "this", - "start": 12637, - "end": 12641, + "start": 12847, + "end": 12851, "loc": { "start": { - "line": 341, + "line": 346, "column": 12 }, "end": { - "line": 341, + "line": 346, "column": 16 } } @@ -137457,15 +139069,15 @@ "binop": null, "updateContext": null }, - "start": 12641, - "end": 12642, + "start": 12851, + "end": 12852, "loc": { "start": { - "line": 341, + "line": 346, "column": 16 }, "end": { - "line": 341, + "line": 346, "column": 17 } } @@ -137483,15 +139095,15 @@ "binop": null }, "value": "player", - "start": 12642, - "end": 12648, + "start": 12852, + "end": 12858, "loc": { "start": { - "line": 341, + "line": 346, "column": 17 }, "end": { - "line": 341, + "line": 346, "column": 23 } } @@ -137509,15 +139121,15 @@ "binop": null, "updateContext": null }, - "start": 12648, - "end": 12649, + "start": 12858, + "end": 12859, "loc": { "start": { - "line": 341, + "line": 346, "column": 23 }, "end": { - "line": 341, + "line": 346, "column": 24 } } @@ -137535,15 +139147,15 @@ "binop": null }, "value": "controlBar", - "start": 12649, - "end": 12659, + "start": 12859, + "end": 12869, "loc": { "start": { - "line": 341, + "line": 346, "column": 24 }, "end": { - "line": 341, + "line": 346, "column": 34 } } @@ -137561,15 +139173,15 @@ "binop": null, "updateContext": null }, - "start": 12659, - "end": 12660, + "start": 12869, + "end": 12870, "loc": { "start": { - "line": 341, + "line": 346, "column": 34 }, "end": { - "line": 341, + "line": 346, "column": 35 } } @@ -137587,15 +139199,15 @@ "binop": null }, "value": "playToggle", - "start": 12660, - "end": 12670, + "start": 12870, + "end": 12880, "loc": { "start": { - "line": 341, + "line": 346, "column": 35 }, "end": { - "line": 341, + "line": 346, "column": 45 } } @@ -137614,15 +139226,15 @@ "updateContext": null }, "value": "!==", - "start": 12671, - "end": 12674, + "start": 12881, + "end": 12884, "loc": { "start": { - "line": 341, + "line": 346, "column": 46 }, "end": { - "line": 341, + "line": 346, "column": 49 } } @@ -137640,15 +139252,15 @@ "binop": null }, "value": "undefined", - "start": 12675, - "end": 12684, + "start": 12885, + "end": 12894, "loc": { "start": { - "line": 341, + "line": 346, "column": 50 }, "end": { - "line": 341, + "line": 346, "column": 59 } } @@ -137667,15 +139279,15 @@ "updateContext": null }, "value": "&&", - "start": 12685, - "end": 12687, + "start": 12895, + "end": 12897, "loc": { "start": { - "line": 341, + "line": 346, "column": 60 }, "end": { - "line": 341, + "line": 346, "column": 62 } } @@ -137695,15 +139307,15 @@ "updateContext": null }, "value": "this", - "start": 12700, - "end": 12704, + "start": 12910, + "end": 12914, "loc": { "start": { - "line": 342, + "line": 347, "column": 12 }, "end": { - "line": 342, + "line": 347, "column": 16 } } @@ -137721,15 +139333,15 @@ "binop": null, "updateContext": null }, - "start": 12704, - "end": 12705, + "start": 12914, + "end": 12915, "loc": { "start": { - "line": 342, + "line": 347, "column": 16 }, "end": { - "line": 342, + "line": 347, "column": 17 } } @@ -137747,15 +139359,15 @@ "binop": null }, "value": "player", - "start": 12705, - "end": 12711, + "start": 12915, + "end": 12921, "loc": { "start": { - "line": 342, + "line": 347, "column": 17 }, "end": { - "line": 342, + "line": 347, "column": 23 } } @@ -137773,15 +139385,15 @@ "binop": null, "updateContext": null }, - "start": 12711, - "end": 12712, + "start": 12921, + "end": 12922, "loc": { "start": { - "line": 342, + "line": 347, "column": 23 }, "end": { - "line": 342, + "line": 347, "column": 24 } } @@ -137799,15 +139411,15 @@ "binop": null }, "value": "controlBar", - "start": 12712, - "end": 12722, + "start": 12922, + "end": 12932, "loc": { "start": { - "line": 342, + "line": 347, "column": 24 }, "end": { - "line": 342, + "line": 347, "column": 34 } } @@ -137825,15 +139437,15 @@ "binop": null, "updateContext": null }, - "start": 12722, - "end": 12723, + "start": 12932, + "end": 12933, "loc": { "start": { - "line": 342, + "line": 347, "column": 34 }, "end": { - "line": 342, + "line": 347, "column": 35 } } @@ -137851,15 +139463,15 @@ "binop": null }, "value": "playToggle", - "start": 12723, - "end": 12733, + "start": 12933, + "end": 12943, "loc": { "start": { - "line": 342, + "line": 347, "column": 35 }, "end": { - "line": 342, + "line": 347, "column": 45 } } @@ -137877,15 +139489,15 @@ "binop": null, "updateContext": null }, - "start": 12733, - "end": 12734, + "start": 12943, + "end": 12944, "loc": { "start": { - "line": 342, + "line": 347, "column": 45 }, "end": { - "line": 342, + "line": 347, "column": 46 } } @@ -137903,15 +139515,15 @@ "binop": null }, "value": "contentEl", - "start": 12734, - "end": 12743, + "start": 12944, + "end": 12953, "loc": { "start": { - "line": 342, + "line": 347, "column": 46 }, "end": { - "line": 342, + "line": 347, "column": 55 } } @@ -137928,15 +139540,15 @@ "postfix": false, "binop": null }, - "start": 12743, - "end": 12744, + "start": 12953, + "end": 12954, "loc": { "start": { - "line": 342, + "line": 347, "column": 55 }, "end": { - "line": 342, + "line": 347, "column": 56 } } @@ -137953,15 +139565,15 @@ "postfix": false, "binop": null }, - "start": 12744, - "end": 12745, + "start": 12954, + "end": 12955, "loc": { "start": { - "line": 342, + "line": 347, "column": 56 }, "end": { - "line": 342, + "line": 347, "column": 57 } } @@ -137978,15 +139590,15 @@ "postfix": false, "binop": null }, - "start": 12745, - "end": 12746, + "start": 12955, + "end": 12956, "loc": { "start": { - "line": 342, + "line": 347, "column": 57 }, "end": { - "line": 342, + "line": 347, "column": 58 } } @@ -138003,15 +139615,15 @@ "postfix": false, "binop": null }, - "start": 12747, - "end": 12748, + "start": 12957, + "end": 12958, "loc": { "start": { - "line": 342, + "line": 347, "column": 59 }, "end": { - "line": 342, + "line": 347, "column": 60 } } @@ -138031,15 +139643,15 @@ "updateContext": null }, "value": "this", - "start": 12761, - "end": 12765, + "start": 12971, + "end": 12975, "loc": { "start": { - "line": 343, + "line": 348, "column": 12 }, "end": { - "line": 343, + "line": 348, "column": 16 } } @@ -138057,15 +139669,15 @@ "binop": null, "updateContext": null }, - "start": 12765, - "end": 12766, + "start": 12975, + "end": 12976, "loc": { "start": { - "line": 343, + "line": 348, "column": 16 }, "end": { - "line": 343, + "line": 348, "column": 17 } } @@ -138083,15 +139695,15 @@ "binop": null }, "value": "player", - "start": 12766, - "end": 12772, + "start": 12976, + "end": 12982, "loc": { "start": { - "line": 343, + "line": 348, "column": 17 }, "end": { - "line": 343, + "line": 348, "column": 23 } } @@ -138109,15 +139721,15 @@ "binop": null, "updateContext": null }, - "start": 12772, - "end": 12773, + "start": 12982, + "end": 12983, "loc": { "start": { - "line": 343, + "line": 348, "column": 23 }, "end": { - "line": 343, + "line": 348, "column": 24 } } @@ -138135,15 +139747,15 @@ "binop": null }, "value": "controlBar", - "start": 12773, - "end": 12783, + "start": 12983, + "end": 12993, "loc": { "start": { - "line": 343, + "line": 348, "column": 24 }, "end": { - "line": 343, + "line": 348, "column": 34 } } @@ -138161,15 +139773,15 @@ "binop": null, "updateContext": null }, - "start": 12783, - "end": 12784, + "start": 12993, + "end": 12994, "loc": { "start": { - "line": 343, + "line": 348, "column": 34 }, "end": { - "line": 343, + "line": 348, "column": 35 } } @@ -138187,15 +139799,15 @@ "binop": null }, "value": "playToggle", - "start": 12784, - "end": 12794, + "start": 12994, + "end": 13004, "loc": { "start": { - "line": 343, + "line": 348, "column": 35 }, "end": { - "line": 343, + "line": 348, "column": 45 } } @@ -138213,15 +139825,15 @@ "binop": null, "updateContext": null }, - "start": 12794, - "end": 12795, + "start": 13004, + "end": 13005, "loc": { "start": { - "line": 343, + "line": 348, "column": 45 }, "end": { - "line": 343, + "line": 348, "column": 46 } } @@ -138239,15 +139851,15 @@ "binop": null }, "value": "handlePlay", - "start": 12795, - "end": 12805, + "start": 13005, + "end": 13015, "loc": { "start": { - "line": 343, + "line": 348, "column": 46 }, "end": { - "line": 343, + "line": 348, "column": 56 } } @@ -138264,15 +139876,15 @@ "postfix": false, "binop": null }, - "start": 12805, - "end": 12806, + "start": 13015, + "end": 13016, "loc": { "start": { - "line": 343, + "line": 348, "column": 56 }, "end": { - "line": 343, + "line": 348, "column": 57 } } @@ -138289,15 +139901,15 @@ "postfix": false, "binop": null }, - "start": 12806, - "end": 12807, + "start": 13016, + "end": 13017, "loc": { "start": { - "line": 343, + "line": 348, "column": 57 }, "end": { - "line": 343, + "line": 348, "column": 58 } } @@ -138315,15 +139927,15 @@ "binop": null, "updateContext": null }, - "start": 12807, - "end": 12808, + "start": 13017, + "end": 13018, "loc": { "start": { - "line": 343, + "line": 348, "column": 58 }, "end": { - "line": 343, + "line": 348, "column": 59 } } @@ -138340,15 +139952,15 @@ "postfix": false, "binop": null }, - "start": 12817, - "end": 12818, + "start": 13027, + "end": 13028, "loc": { "start": { - "line": 344, + "line": 349, "column": 8 }, "end": { - "line": 344, + "line": 349, "column": 9 } } @@ -138368,15 +139980,15 @@ "updateContext": null }, "value": "if", - "start": 12828, - "end": 12830, + "start": 13038, + "end": 13040, "loc": { "start": { - "line": 346, + "line": 351, "column": 8 }, "end": { - "line": 346, + "line": 351, "column": 10 } } @@ -138393,15 +140005,15 @@ "postfix": false, "binop": null }, - "start": 12831, - "end": 12832, + "start": 13041, + "end": 13042, "loc": { "start": { - "line": 346, + "line": 351, "column": 11 }, "end": { - "line": 346, + "line": 351, "column": 12 } } @@ -138421,15 +140033,15 @@ "updateContext": null }, "value": "this", - "start": 12832, - "end": 12836, + "start": 13042, + "end": 13046, "loc": { "start": { - "line": 346, + "line": 351, "column": 12 }, "end": { - "line": 346, + "line": 351, "column": 16 } } @@ -138447,15 +140059,15 @@ "binop": null, "updateContext": null }, - "start": 12836, - "end": 12837, + "start": 13046, + "end": 13047, "loc": { "start": { - "line": 346, + "line": 351, "column": 16 }, "end": { - "line": 346, + "line": 351, "column": 17 } } @@ -138473,15 +140085,15 @@ "binop": null }, "value": "liveMode", - "start": 12837, - "end": 12845, + "start": 13047, + "end": 13055, "loc": { "start": { - "line": 346, + "line": 351, "column": 17 }, "end": { - "line": 346, + "line": 351, "column": 25 } } @@ -138498,15 +140110,15 @@ "postfix": false, "binop": null }, - "start": 12845, - "end": 12846, + "start": 13055, + "end": 13056, "loc": { "start": { - "line": 346, + "line": 351, "column": 25 }, "end": { - "line": 346, + "line": 351, "column": 26 } } @@ -138523,15 +140135,15 @@ "postfix": false, "binop": null }, - "start": 12847, - "end": 12848, + "start": 13057, + "end": 13058, "loc": { "start": { - "line": 346, + "line": 351, "column": 27 }, "end": { - "line": 346, + "line": 351, "column": 28 } } @@ -138539,15 +140151,15 @@ { "type": "CommentLine", "value": " start/resume microphone visualization", - "start": 12861, - "end": 12901, + "start": 13071, + "end": 13111, "loc": { "start": { - "line": 347, + "line": 352, "column": 12 }, "end": { - "line": 347, + "line": 352, "column": 52 } } @@ -138567,15 +140179,15 @@ "updateContext": null }, "value": "if", - "start": 12914, - "end": 12916, + "start": 13124, + "end": 13126, "loc": { "start": { - "line": 348, + "line": 353, "column": 12 }, "end": { - "line": 348, + "line": 353, "column": 14 } } @@ -138592,15 +140204,15 @@ "postfix": false, "binop": null }, - "start": 12917, - "end": 12918, + "start": 13127, + "end": 13128, "loc": { "start": { - "line": 348, + "line": 353, "column": 15 }, "end": { - "line": 348, + "line": 353, "column": 16 } } @@ -138619,15 +140231,15 @@ "updateContext": null }, "value": "!", - "start": 12918, - "end": 12919, + "start": 13128, + "end": 13129, "loc": { "start": { - "line": 348, + "line": 353, "column": 16 }, "end": { - "line": 348, + "line": 353, "column": 17 } } @@ -138647,15 +140259,15 @@ "updateContext": null }, "value": "this", - "start": 12919, - "end": 12923, + "start": 13129, + "end": 13133, "loc": { "start": { - "line": 348, + "line": 353, "column": 17 }, "end": { - "line": 348, + "line": 353, "column": 21 } } @@ -138673,15 +140285,15 @@ "binop": null, "updateContext": null }, - "start": 12923, - "end": 12924, + "start": 13133, + "end": 13134, "loc": { "start": { - "line": 348, + "line": 353, "column": 21 }, "end": { - "line": 348, + "line": 353, "column": 22 } } @@ -138699,15 +140311,15 @@ "binop": null }, "value": "surfer", - "start": 12924, - "end": 12930, + "start": 13134, + "end": 13140, "loc": { "start": { - "line": 348, + "line": 353, "column": 22 }, "end": { - "line": 348, + "line": 353, "column": 28 } } @@ -138725,15 +140337,15 @@ "binop": null, "updateContext": null }, - "start": 12930, - "end": 12931, + "start": 13140, + "end": 13141, "loc": { "start": { - "line": 348, + "line": 353, "column": 28 }, "end": { - "line": 348, + "line": 353, "column": 29 } } @@ -138751,15 +140363,15 @@ "binop": null }, "value": "microphone", - "start": 12931, - "end": 12941, + "start": 13141, + "end": 13151, "loc": { "start": { - "line": 348, + "line": 353, "column": 29 }, "end": { - "line": 348, + "line": 353, "column": 39 } } @@ -138777,15 +140389,15 @@ "binop": null, "updateContext": null }, - "start": 12941, - "end": 12942, + "start": 13151, + "end": 13152, "loc": { "start": { - "line": 348, + "line": 353, "column": 39 }, "end": { - "line": 348, + "line": 353, "column": 40 } } @@ -138803,15 +140415,15 @@ "binop": null }, "value": "active", - "start": 12942, - "end": 12948, + "start": 13152, + "end": 13158, "loc": { "start": { - "line": 348, + "line": 353, "column": 40 }, "end": { - "line": 348, + "line": 353, "column": 46 } } @@ -138828,15 +140440,15 @@ "postfix": false, "binop": null }, - "start": 12948, - "end": 12949, + "start": 13158, + "end": 13159, "loc": { "start": { - "line": 348, + "line": 353, "column": 46 }, "end": { - "line": 348, + "line": 353, "column": 47 } } @@ -138853,15 +140465,15 @@ "postfix": false, "binop": null }, - "start": 12962, - "end": 12963, + "start": 13172, + "end": 13173, "loc": { "start": { - "line": 349, + "line": 354, "column": 12 }, "end": { - "line": 349, + "line": 354, "column": 13 } } @@ -138881,15 +140493,15 @@ "updateContext": null }, "value": "this", - "start": 12980, - "end": 12984, + "start": 13190, + "end": 13194, "loc": { "start": { - "line": 350, + "line": 355, "column": 16 }, "end": { - "line": 350, + "line": 355, "column": 20 } } @@ -138907,15 +140519,15 @@ "binop": null, "updateContext": null }, - "start": 12984, - "end": 12985, + "start": 13194, + "end": 13195, "loc": { "start": { - "line": 350, + "line": 355, "column": 20 }, "end": { - "line": 350, + "line": 355, "column": 21 } } @@ -138933,15 +140545,15 @@ "binop": null }, "value": "log", - "start": 12985, - "end": 12988, + "start": 13195, + "end": 13198, "loc": { "start": { - "line": 350, + "line": 355, "column": 21 }, "end": { - "line": 350, + "line": 355, "column": 24 } } @@ -138958,15 +140570,15 @@ "postfix": false, "binop": null }, - "start": 12988, - "end": 12989, + "start": 13198, + "end": 13199, "loc": { "start": { - "line": 350, + "line": 355, "column": 24 }, "end": { - "line": 350, + "line": 355, "column": 25 } } @@ -138985,15 +140597,15 @@ "updateContext": null }, "value": "Start microphone", - "start": 12989, - "end": 13007, + "start": 13199, + "end": 13217, "loc": { "start": { - "line": 350, + "line": 355, "column": 25 }, "end": { - "line": 350, + "line": 355, "column": 43 } } @@ -139010,15 +140622,15 @@ "postfix": false, "binop": null }, - "start": 13007, - "end": 13008, + "start": 13217, + "end": 13218, "loc": { "start": { - "line": 350, + "line": 355, "column": 43 }, "end": { - "line": 350, + "line": 355, "column": 44 } } @@ -139036,15 +140648,15 @@ "binop": null, "updateContext": null }, - "start": 13008, - "end": 13009, + "start": 13218, + "end": 13219, "loc": { "start": { - "line": 350, + "line": 355, "column": 44 }, "end": { - "line": 350, + "line": 355, "column": 45 } } @@ -139064,15 +140676,15 @@ "updateContext": null }, "value": "this", - "start": 13026, - "end": 13030, + "start": 13236, + "end": 13240, "loc": { "start": { - "line": 351, + "line": 356, "column": 16 }, "end": { - "line": 351, + "line": 356, "column": 20 } } @@ -139090,15 +140702,15 @@ "binop": null, "updateContext": null }, - "start": 13030, - "end": 13031, + "start": 13240, + "end": 13241, "loc": { "start": { - "line": 351, + "line": 356, "column": 20 }, "end": { - "line": 351, + "line": 356, "column": 21 } } @@ -139116,15 +140728,15 @@ "binop": null }, "value": "surfer", - "start": 13031, - "end": 13037, + "start": 13241, + "end": 13247, "loc": { "start": { - "line": 351, + "line": 356, "column": 21 }, "end": { - "line": 351, + "line": 356, "column": 27 } } @@ -139142,15 +140754,15 @@ "binop": null, "updateContext": null }, - "start": 13037, - "end": 13038, + "start": 13247, + "end": 13248, "loc": { "start": { - "line": 351, + "line": 356, "column": 27 }, "end": { - "line": 351, + "line": 356, "column": 28 } } @@ -139168,15 +140780,15 @@ "binop": null }, "value": "microphone", - "start": 13038, - "end": 13048, + "start": 13248, + "end": 13258, "loc": { "start": { - "line": 351, + "line": 356, "column": 28 }, "end": { - "line": 351, + "line": 356, "column": 38 } } @@ -139194,15 +140806,15 @@ "binop": null, "updateContext": null }, - "start": 13048, - "end": 13049, + "start": 13258, + "end": 13259, "loc": { "start": { - "line": 351, + "line": 356, "column": 38 }, "end": { - "line": 351, + "line": 356, "column": 39 } } @@ -139220,15 +140832,15 @@ "binop": null }, "value": "start", - "start": 13049, - "end": 13054, + "start": 13259, + "end": 13264, "loc": { "start": { - "line": 351, + "line": 356, "column": 39 }, "end": { - "line": 351, + "line": 356, "column": 44 } } @@ -139245,15 +140857,15 @@ "postfix": false, "binop": null }, - "start": 13054, - "end": 13055, + "start": 13264, + "end": 13265, "loc": { "start": { - "line": 351, + "line": 356, "column": 44 }, "end": { - "line": 351, + "line": 356, "column": 45 } } @@ -139270,15 +140882,15 @@ "postfix": false, "binop": null }, - "start": 13055, - "end": 13056, + "start": 13265, + "end": 13266, "loc": { "start": { - "line": 351, + "line": 356, "column": 45 }, "end": { - "line": 351, + "line": 356, "column": 46 } } @@ -139296,15 +140908,15 @@ "binop": null, "updateContext": null }, - "start": 13056, - "end": 13057, + "start": 13266, + "end": 13267, "loc": { "start": { - "line": 351, + "line": 356, "column": 46 }, "end": { - "line": 351, + "line": 356, "column": 47 } } @@ -139321,15 +140933,15 @@ "postfix": false, "binop": null }, - "start": 13070, - "end": 13071, + "start": 13280, + "end": 13281, "loc": { "start": { - "line": 352, + "line": 357, "column": 12 }, "end": { - "line": 352, + "line": 357, "column": 13 } } @@ -139349,15 +140961,15 @@ "updateContext": null }, "value": "else", - "start": 13072, - "end": 13076, + "start": 13282, + "end": 13286, "loc": { "start": { - "line": 352, + "line": 357, "column": 14 }, "end": { - "line": 352, + "line": 357, "column": 18 } } @@ -139374,15 +140986,15 @@ "postfix": false, "binop": null }, - "start": 13077, - "end": 13078, + "start": 13287, + "end": 13288, "loc": { "start": { - "line": 352, + "line": 357, "column": 19 }, "end": { - "line": 352, + "line": 357, "column": 20 } } @@ -139390,15 +141002,15 @@ { "type": "CommentLine", "value": " toggle paused", - "start": 13095, - "end": 13111, + "start": 13305, + "end": 13321, "loc": { "start": { - "line": 353, + "line": 358, "column": 16 }, "end": { - "line": 353, + "line": 358, "column": 32 } } @@ -139418,15 +141030,15 @@ "updateContext": null }, "value": "let", - "start": 13128, - "end": 13131, + "start": 13338, + "end": 13341, "loc": { "start": { - "line": 354, + "line": 359, "column": 16 }, "end": { - "line": 354, + "line": 359, "column": 19 } } @@ -139444,15 +141056,15 @@ "binop": null }, "value": "paused", - "start": 13132, - "end": 13138, + "start": 13342, + "end": 13348, "loc": { "start": { - "line": 354, + "line": 359, "column": 20 }, "end": { - "line": 354, + "line": 359, "column": 26 } } @@ -139471,15 +141083,15 @@ "updateContext": null }, "value": "=", - "start": 13139, - "end": 13140, + "start": 13349, + "end": 13350, "loc": { "start": { - "line": 354, + "line": 359, "column": 27 }, "end": { - "line": 354, + "line": 359, "column": 28 } } @@ -139498,15 +141110,15 @@ "updateContext": null }, "value": "!", - "start": 13141, - "end": 13142, + "start": 13351, + "end": 13352, "loc": { "start": { - "line": 354, + "line": 359, "column": 29 }, "end": { - "line": 354, + "line": 359, "column": 30 } } @@ -139526,15 +141138,15 @@ "updateContext": null }, "value": "this", - "start": 13142, - "end": 13146, + "start": 13352, + "end": 13356, "loc": { "start": { - "line": 354, + "line": 359, "column": 30 }, "end": { - "line": 354, + "line": 359, "column": 34 } } @@ -139552,15 +141164,15 @@ "binop": null, "updateContext": null }, - "start": 13146, - "end": 13147, + "start": 13356, + "end": 13357, "loc": { "start": { - "line": 354, + "line": 359, "column": 34 }, "end": { - "line": 354, + "line": 359, "column": 35 } } @@ -139578,15 +141190,15 @@ "binop": null }, "value": "surfer", - "start": 13147, - "end": 13153, + "start": 13357, + "end": 13363, "loc": { "start": { - "line": 354, + "line": 359, "column": 35 }, "end": { - "line": 354, + "line": 359, "column": 41 } } @@ -139604,15 +141216,15 @@ "binop": null, "updateContext": null }, - "start": 13153, - "end": 13154, + "start": 13363, + "end": 13364, "loc": { "start": { - "line": 354, + "line": 359, "column": 41 }, "end": { - "line": 354, + "line": 359, "column": 42 } } @@ -139630,15 +141242,15 @@ "binop": null }, "value": "microphone", - "start": 13154, - "end": 13164, + "start": 13364, + "end": 13374, "loc": { "start": { - "line": 354, + "line": 359, "column": 42 }, "end": { - "line": 354, + "line": 359, "column": 52 } } @@ -139656,15 +141268,15 @@ "binop": null, "updateContext": null }, - "start": 13164, - "end": 13165, + "start": 13374, + "end": 13375, "loc": { "start": { - "line": 354, + "line": 359, "column": 52 }, "end": { - "line": 354, + "line": 359, "column": 53 } } @@ -139682,15 +141294,15 @@ "binop": null }, "value": "paused", - "start": 13165, - "end": 13171, + "start": 13375, + "end": 13381, "loc": { "start": { - "line": 354, + "line": 359, "column": 53 }, "end": { - "line": 354, + "line": 359, "column": 59 } } @@ -139708,15 +141320,15 @@ "binop": null, "updateContext": null }, - "start": 13171, - "end": 13172, + "start": 13381, + "end": 13382, "loc": { "start": { - "line": 354, + "line": 359, "column": 59 }, "end": { - "line": 354, + "line": 359, "column": 60 } } @@ -139736,15 +141348,15 @@ "updateContext": null }, "value": "if", - "start": 13190, - "end": 13192, + "start": 13400, + "end": 13402, "loc": { "start": { - "line": 356, + "line": 361, "column": 16 }, "end": { - "line": 356, + "line": 361, "column": 18 } } @@ -139761,15 +141373,15 @@ "postfix": false, "binop": null }, - "start": 13193, - "end": 13194, + "start": 13403, + "end": 13404, "loc": { "start": { - "line": 356, + "line": 361, "column": 19 }, "end": { - "line": 356, + "line": 361, "column": 20 } } @@ -139787,15 +141399,15 @@ "binop": null }, "value": "paused", - "start": 13194, - "end": 13200, + "start": 13404, + "end": 13410, "loc": { "start": { - "line": 356, + "line": 361, "column": 20 }, "end": { - "line": 356, + "line": 361, "column": 26 } } @@ -139812,15 +141424,15 @@ "postfix": false, "binop": null }, - "start": 13200, - "end": 13201, + "start": 13410, + "end": 13411, "loc": { "start": { - "line": 356, + "line": 361, "column": 26 }, "end": { - "line": 356, + "line": 361, "column": 27 } } @@ -139837,15 +141449,15 @@ "postfix": false, "binop": null }, - "start": 13202, - "end": 13203, + "start": 13412, + "end": 13413, "loc": { "start": { - "line": 356, + "line": 361, "column": 28 }, "end": { - "line": 356, + "line": 361, "column": 29 } } @@ -139865,15 +141477,15 @@ "updateContext": null }, "value": "this", - "start": 13224, - "end": 13228, + "start": 13434, + "end": 13438, "loc": { "start": { - "line": 357, + "line": 362, "column": 20 }, "end": { - "line": 357, + "line": 362, "column": 24 } } @@ -139891,15 +141503,15 @@ "binop": null, "updateContext": null }, - "start": 13228, - "end": 13229, + "start": 13438, + "end": 13439, "loc": { "start": { - "line": 357, + "line": 362, "column": 24 }, "end": { - "line": 357, + "line": 362, "column": 25 } } @@ -139917,15 +141529,15 @@ "binop": null }, "value": "pause", - "start": 13229, - "end": 13234, + "start": 13439, + "end": 13444, "loc": { "start": { - "line": 357, + "line": 362, "column": 25 }, "end": { - "line": 357, + "line": 362, "column": 30 } } @@ -139942,15 +141554,15 @@ "postfix": false, "binop": null }, - "start": 13234, - "end": 13235, + "start": 13444, + "end": 13445, "loc": { "start": { - "line": 357, + "line": 362, "column": 30 }, "end": { - "line": 357, + "line": 362, "column": 31 } } @@ -139967,15 +141579,15 @@ "postfix": false, "binop": null }, - "start": 13235, - "end": 13236, + "start": 13445, + "end": 13446, "loc": { "start": { - "line": 357, + "line": 362, "column": 31 }, "end": { - "line": 357, + "line": 362, "column": 32 } } @@ -139993,15 +141605,15 @@ "binop": null, "updateContext": null }, - "start": 13236, - "end": 13237, + "start": 13446, + "end": 13447, "loc": { "start": { - "line": 357, + "line": 362, "column": 32 }, "end": { - "line": 357, + "line": 362, "column": 33 } } @@ -140018,15 +141630,15 @@ "postfix": false, "binop": null }, - "start": 13254, - "end": 13255, + "start": 13464, + "end": 13465, "loc": { "start": { - "line": 358, + "line": 363, "column": 16 }, "end": { - "line": 358, + "line": 363, "column": 17 } } @@ -140046,15 +141658,15 @@ "updateContext": null }, "value": "else", - "start": 13256, - "end": 13260, + "start": 13466, + "end": 13470, "loc": { "start": { - "line": 358, + "line": 363, "column": 18 }, "end": { - "line": 358, + "line": 363, "column": 22 } } @@ -140071,15 +141683,15 @@ "postfix": false, "binop": null }, - "start": 13261, - "end": 13262, + "start": 13471, + "end": 13472, "loc": { "start": { - "line": 358, + "line": 363, "column": 23 }, "end": { - "line": 358, + "line": 363, "column": 24 } } @@ -140099,15 +141711,15 @@ "updateContext": null }, "value": "this", - "start": 13283, - "end": 13287, + "start": 13493, + "end": 13497, "loc": { "start": { - "line": 359, + "line": 364, "column": 20 }, "end": { - "line": 359, + "line": 364, "column": 24 } } @@ -140125,15 +141737,15 @@ "binop": null, "updateContext": null }, - "start": 13287, - "end": 13288, + "start": 13497, + "end": 13498, "loc": { "start": { - "line": 359, + "line": 364, "column": 24 }, "end": { - "line": 359, + "line": 364, "column": 25 } } @@ -140151,15 +141763,15 @@ "binop": null }, "value": "log", - "start": 13288, - "end": 13291, + "start": 13498, + "end": 13501, "loc": { "start": { - "line": 359, + "line": 364, "column": 25 }, "end": { - "line": 359, + "line": 364, "column": 28 } } @@ -140176,15 +141788,15 @@ "postfix": false, "binop": null }, - "start": 13291, - "end": 13292, + "start": 13501, + "end": 13502, "loc": { "start": { - "line": 359, + "line": 364, "column": 28 }, "end": { - "line": 359, + "line": 364, "column": 29 } } @@ -140203,15 +141815,15 @@ "updateContext": null }, "value": "Resume microphone", - "start": 13292, - "end": 13311, + "start": 13502, + "end": 13521, "loc": { "start": { - "line": 359, + "line": 364, "column": 29 }, "end": { - "line": 359, + "line": 364, "column": 48 } } @@ -140228,15 +141840,15 @@ "postfix": false, "binop": null }, - "start": 13311, - "end": 13312, + "start": 13521, + "end": 13522, "loc": { "start": { - "line": 359, + "line": 364, "column": 48 }, "end": { - "line": 359, + "line": 364, "column": 49 } } @@ -140254,15 +141866,15 @@ "binop": null, "updateContext": null }, - "start": 13312, - "end": 13313, + "start": 13522, + "end": 13523, "loc": { "start": { - "line": 359, + "line": 364, "column": 49 }, "end": { - "line": 359, + "line": 364, "column": 50 } } @@ -140282,15 +141894,15 @@ "updateContext": null }, "value": "this", - "start": 13334, - "end": 13338, + "start": 13544, + "end": 13548, "loc": { "start": { - "line": 360, + "line": 365, "column": 20 }, "end": { - "line": 360, + "line": 365, "column": 24 } } @@ -140308,15 +141920,15 @@ "binop": null, "updateContext": null }, - "start": 13338, - "end": 13339, + "start": 13548, + "end": 13549, "loc": { "start": { - "line": 360, + "line": 365, "column": 24 }, "end": { - "line": 360, + "line": 365, "column": 25 } } @@ -140334,15 +141946,15 @@ "binop": null }, "value": "surfer", - "start": 13339, - "end": 13345, + "start": 13549, + "end": 13555, "loc": { "start": { - "line": 360, + "line": 365, "column": 25 }, "end": { - "line": 360, + "line": 365, "column": 31 } } @@ -140360,15 +141972,15 @@ "binop": null, "updateContext": null }, - "start": 13345, - "end": 13346, + "start": 13555, + "end": 13556, "loc": { "start": { - "line": 360, + "line": 365, "column": 31 }, "end": { - "line": 360, + "line": 365, "column": 32 } } @@ -140386,15 +141998,15 @@ "binop": null }, "value": "microphone", - "start": 13346, - "end": 13356, + "start": 13556, + "end": 13566, "loc": { "start": { - "line": 360, + "line": 365, "column": 32 }, "end": { - "line": 360, + "line": 365, "column": 42 } } @@ -140412,15 +142024,15 @@ "binop": null, "updateContext": null }, - "start": 13356, - "end": 13357, + "start": 13566, + "end": 13567, "loc": { "start": { - "line": 360, + "line": 365, "column": 42 }, "end": { - "line": 360, + "line": 365, "column": 43 } } @@ -140438,15 +142050,15 @@ "binop": null }, "value": "play", - "start": 13357, - "end": 13361, + "start": 13567, + "end": 13571, "loc": { "start": { - "line": 360, + "line": 365, "column": 43 }, "end": { - "line": 360, + "line": 365, "column": 47 } } @@ -140463,15 +142075,15 @@ "postfix": false, "binop": null }, - "start": 13361, - "end": 13362, + "start": 13571, + "end": 13572, "loc": { "start": { - "line": 360, + "line": 365, "column": 47 }, "end": { - "line": 360, + "line": 365, "column": 48 } } @@ -140488,15 +142100,15 @@ "postfix": false, "binop": null }, - "start": 13362, - "end": 13363, + "start": 13572, + "end": 13573, "loc": { "start": { - "line": 360, + "line": 365, "column": 48 }, "end": { - "line": 360, + "line": 365, "column": 49 } } @@ -140514,15 +142126,15 @@ "binop": null, "updateContext": null }, - "start": 13363, - "end": 13364, + "start": 13573, + "end": 13574, "loc": { "start": { - "line": 360, + "line": 365, "column": 49 }, "end": { - "line": 360, + "line": 365, "column": 50 } } @@ -140539,15 +142151,15 @@ "postfix": false, "binop": null }, - "start": 13381, - "end": 13382, + "start": 13591, + "end": 13592, "loc": { "start": { - "line": 361, + "line": 366, "column": 16 }, "end": { - "line": 361, + "line": 366, "column": 17 } } @@ -140564,15 +142176,15 @@ "postfix": false, "binop": null }, - "start": 13395, - "end": 13396, + "start": 13605, + "end": 13606, "loc": { "start": { - "line": 362, + "line": 367, "column": 12 }, "end": { - "line": 362, + "line": 367, "column": 13 } } @@ -140589,15 +142201,15 @@ "postfix": false, "binop": null }, - "start": 13405, - "end": 13406, + "start": 13615, + "end": 13616, "loc": { "start": { - "line": 363, + "line": 368, "column": 8 }, "end": { - "line": 363, + "line": 368, "column": 9 } } @@ -140617,15 +142229,15 @@ "updateContext": null }, "value": "else", - "start": 13407, - "end": 13411, + "start": 13617, + "end": 13621, "loc": { "start": { - "line": 363, + "line": 368, "column": 10 }, "end": { - "line": 363, + "line": 368, "column": 14 } } @@ -140642,15 +142254,15 @@ "postfix": false, "binop": null }, - "start": 13412, - "end": 13413, + "start": 13622, + "end": 13623, "loc": { "start": { - "line": 363, + "line": 368, "column": 15 }, "end": { - "line": 363, + "line": 368, "column": 16 } } @@ -140670,15 +142282,15 @@ "updateContext": null }, "value": "this", - "start": 13426, - "end": 13430, + "start": 13636, + "end": 13640, "loc": { "start": { - "line": 364, + "line": 369, "column": 12 }, "end": { - "line": 364, + "line": 369, "column": 16 } } @@ -140696,15 +142308,15 @@ "binop": null, "updateContext": null }, - "start": 13430, - "end": 13431, + "start": 13640, + "end": 13641, "loc": { "start": { - "line": 364, + "line": 369, "column": 16 }, "end": { - "line": 364, + "line": 369, "column": 17 } } @@ -140722,15 +142334,15 @@ "binop": null }, "value": "log", - "start": 13431, - "end": 13434, + "start": 13641, + "end": 13644, "loc": { "start": { - "line": 364, + "line": 369, "column": 17 }, "end": { - "line": 364, + "line": 369, "column": 20 } } @@ -140747,15 +142359,15 @@ "postfix": false, "binop": null }, - "start": 13434, - "end": 13435, + "start": 13644, + "end": 13645, "loc": { "start": { - "line": 364, + "line": 369, "column": 20 }, "end": { - "line": 364, + "line": 369, "column": 21 } } @@ -140774,15 +142386,15 @@ "updateContext": null }, "value": "Start playback", - "start": 13435, - "end": 13451, + "start": 13645, + "end": 13661, "loc": { "start": { - "line": 364, + "line": 369, "column": 21 }, "end": { - "line": 364, + "line": 369, "column": 37 } } @@ -140799,15 +142411,15 @@ "postfix": false, "binop": null }, - "start": 13451, - "end": 13452, + "start": 13661, + "end": 13662, "loc": { "start": { - "line": 364, + "line": 369, "column": 37 }, "end": { - "line": 364, + "line": 369, "column": 38 } } @@ -140825,15 +142437,15 @@ "binop": null, "updateContext": null }, - "start": 13452, - "end": 13453, + "start": 13662, + "end": 13663, "loc": { "start": { - "line": 364, + "line": 369, "column": 38 }, "end": { - "line": 364, + "line": 369, "column": 39 } } @@ -140841,15 +142453,15 @@ { "type": "CommentLine", "value": " put video.js player UI in playback mode", - "start": 13467, - "end": 13509, + "start": 13677, + "end": 13719, "loc": { "start": { - "line": 366, + "line": 371, "column": 12 }, "end": { - "line": 366, + "line": 371, "column": 54 } } @@ -140869,15 +142481,15 @@ "updateContext": null }, "value": "this", - "start": 13522, - "end": 13526, + "start": 13732, + "end": 13736, "loc": { "start": { - "line": 367, + "line": 372, "column": 12 }, "end": { - "line": 367, + "line": 372, "column": 16 } } @@ -140895,15 +142507,15 @@ "binop": null, "updateContext": null }, - "start": 13526, - "end": 13527, + "start": 13736, + "end": 13737, "loc": { "start": { - "line": 367, + "line": 372, "column": 16 }, "end": { - "line": 367, + "line": 372, "column": 17 } } @@ -140921,15 +142533,15 @@ "binop": null }, "value": "player", - "start": 13527, - "end": 13533, + "start": 13737, + "end": 13743, "loc": { "start": { - "line": 367, + "line": 372, "column": 17 }, "end": { - "line": 367, + "line": 372, "column": 23 } } @@ -140947,15 +142559,15 @@ "binop": null, "updateContext": null }, - "start": 13533, - "end": 13534, + "start": 13743, + "end": 13744, "loc": { "start": { - "line": 367, + "line": 372, "column": 23 }, "end": { - "line": 367, + "line": 372, "column": 24 } } @@ -140973,15 +142585,15 @@ "binop": null }, "value": "play", - "start": 13534, - "end": 13538, + "start": 13744, + "end": 13748, "loc": { "start": { - "line": 367, + "line": 372, "column": 24 }, "end": { - "line": 367, + "line": 372, "column": 28 } } @@ -140998,15 +142610,15 @@ "postfix": false, "binop": null }, - "start": 13538, - "end": 13539, + "start": 13748, + "end": 13749, "loc": { "start": { - "line": 367, + "line": 372, "column": 28 }, "end": { - "line": 367, + "line": 372, "column": 29 } } @@ -141023,15 +142635,15 @@ "postfix": false, "binop": null }, - "start": 13539, - "end": 13540, + "start": 13749, + "end": 13750, "loc": { "start": { - "line": 367, + "line": 372, "column": 29 }, "end": { - "line": 367, + "line": 372, "column": 30 } } @@ -141049,15 +142661,15 @@ "binop": null, "updateContext": null }, - "start": 13540, - "end": 13541, + "start": 13750, + "end": 13751, "loc": { "start": { - "line": 367, + "line": 372, "column": 30 }, "end": { - "line": 367, + "line": 372, "column": 31 } } @@ -141065,15 +142677,15 @@ { "type": "CommentLine", "value": " start surfer playback", - "start": 13555, - "end": 13579, + "start": 13765, + "end": 13789, "loc": { "start": { - "line": 369, + "line": 374, "column": 12 }, "end": { - "line": 369, + "line": 374, "column": 36 } } @@ -141093,15 +142705,15 @@ "updateContext": null }, "value": "this", - "start": 13592, - "end": 13596, + "start": 13802, + "end": 13806, "loc": { "start": { - "line": 370, + "line": 375, "column": 12 }, "end": { - "line": 370, + "line": 375, "column": 16 } } @@ -141119,15 +142731,15 @@ "binop": null, "updateContext": null }, - "start": 13596, - "end": 13597, + "start": 13806, + "end": 13807, "loc": { "start": { - "line": 370, + "line": 375, "column": 16 }, "end": { - "line": 370, + "line": 375, "column": 17 } } @@ -141145,15 +142757,15 @@ "binop": null }, "value": "surfer", - "start": 13597, - "end": 13603, + "start": 13807, + "end": 13813, "loc": { "start": { - "line": 370, + "line": 375, "column": 17 }, "end": { - "line": 370, + "line": 375, "column": 23 } } @@ -141171,15 +142783,15 @@ "binop": null, "updateContext": null }, - "start": 13603, - "end": 13604, + "start": 13813, + "end": 13814, "loc": { "start": { - "line": 370, + "line": 375, "column": 23 }, "end": { - "line": 370, + "line": 375, "column": 24 } } @@ -141197,15 +142809,15 @@ "binop": null }, "value": "play", - "start": 13604, - "end": 13608, + "start": 13814, + "end": 13818, "loc": { "start": { - "line": 370, + "line": 375, "column": 24 }, "end": { - "line": 370, + "line": 375, "column": 28 } } @@ -141222,15 +142834,15 @@ "postfix": false, "binop": null }, - "start": 13608, - "end": 13609, + "start": 13818, + "end": 13819, "loc": { "start": { - "line": 370, + "line": 375, "column": 28 }, "end": { - "line": 370, + "line": 375, "column": 29 } } @@ -141247,15 +142859,15 @@ "postfix": false, "binop": null }, - "start": 13609, - "end": 13610, + "start": 13819, + "end": 13820, "loc": { "start": { - "line": 370, + "line": 375, "column": 29 }, "end": { - "line": 370, + "line": 375, "column": 30 } } @@ -141273,15 +142885,15 @@ "binop": null, "updateContext": null }, - "start": 13610, - "end": 13611, + "start": 13820, + "end": 13821, "loc": { "start": { - "line": 370, + "line": 375, "column": 30 }, "end": { - "line": 370, + "line": 375, "column": 31 } } @@ -141298,15 +142910,15 @@ "postfix": false, "binop": null }, - "start": 13620, - "end": 13621, + "start": 13830, + "end": 13831, "loc": { "start": { - "line": 371, + "line": 376, "column": 8 }, "end": { - "line": 371, + "line": 376, "column": 9 } } @@ -141323,15 +142935,15 @@ "postfix": false, "binop": null }, - "start": 13626, - "end": 13627, + "start": 13836, + "end": 13837, "loc": { "start": { - "line": 372, + "line": 377, "column": 4 }, "end": { - "line": 372, + "line": 377, "column": 5 } } @@ -141339,15 +142951,15 @@ { "type": "CommentBlock", "value": "*\n * Pauses playback or microphone visualization.\n ", - "start": 13633, - "end": 13696, + "start": 13843, + "end": 13906, "loc": { "start": { - "line": 374, + "line": 379, "column": 4 }, "end": { - "line": 376, + "line": 381, "column": 7 } } @@ -141365,15 +142977,15 @@ "binop": null }, "value": "pause", - "start": 13701, - "end": 13706, + "start": 13911, + "end": 13916, "loc": { "start": { - "line": 377, + "line": 382, "column": 4 }, "end": { - "line": 377, + "line": 382, "column": 9 } } @@ -141390,15 +143002,15 @@ "postfix": false, "binop": null }, - "start": 13706, - "end": 13707, + "start": 13916, + "end": 13917, "loc": { "start": { - "line": 377, + "line": 382, "column": 9 }, "end": { - "line": 377, + "line": 382, "column": 10 } } @@ -141415,15 +143027,15 @@ "postfix": false, "binop": null }, - "start": 13707, - "end": 13708, + "start": 13917, + "end": 13918, "loc": { "start": { - "line": 377, + "line": 382, "column": 10 }, "end": { - "line": 377, + "line": 382, "column": 11 } } @@ -141440,15 +143052,15 @@ "postfix": false, "binop": null }, - "start": 13709, - "end": 13710, + "start": 13919, + "end": 13920, "loc": { "start": { - "line": 377, + "line": 382, "column": 12 }, "end": { - "line": 377, + "line": 382, "column": 13 } } @@ -141456,15 +143068,15 @@ { "type": "CommentLine", "value": " show play button", - "start": 13719, - "end": 13738, + "start": 13929, + "end": 13948, "loc": { "start": { - "line": 378, + "line": 383, "column": 8 }, "end": { - "line": 378, + "line": 383, "column": 27 } } @@ -141484,15 +143096,15 @@ "updateContext": null }, "value": "if", - "start": 13747, - "end": 13749, + "start": 13957, + "end": 13959, "loc": { "start": { - "line": 379, + "line": 384, "column": 8 }, "end": { - "line": 379, + "line": 384, "column": 10 } } @@ -141509,15 +143121,15 @@ "postfix": false, "binop": null }, - "start": 13750, - "end": 13751, + "start": 13960, + "end": 13961, "loc": { "start": { - "line": 379, + "line": 384, "column": 11 }, "end": { - "line": 379, + "line": 384, "column": 12 } } @@ -141537,15 +143149,15 @@ "updateContext": null }, "value": "this", - "start": 13751, - "end": 13755, + "start": 13961, + "end": 13965, "loc": { "start": { - "line": 379, + "line": 384, "column": 12 }, "end": { - "line": 379, + "line": 384, "column": 16 } } @@ -141563,15 +143175,15 @@ "binop": null, "updateContext": null }, - "start": 13755, - "end": 13756, + "start": 13965, + "end": 13966, "loc": { "start": { - "line": 379, + "line": 384, "column": 16 }, "end": { - "line": 379, + "line": 384, "column": 17 } } @@ -141589,15 +143201,15 @@ "binop": null }, "value": "player", - "start": 13756, - "end": 13762, + "start": 13966, + "end": 13972, "loc": { "start": { - "line": 379, + "line": 384, "column": 17 }, "end": { - "line": 379, + "line": 384, "column": 23 } } @@ -141615,15 +143227,15 @@ "binop": null, "updateContext": null }, - "start": 13762, - "end": 13763, + "start": 13972, + "end": 13973, "loc": { "start": { - "line": 379, + "line": 384, "column": 23 }, "end": { - "line": 379, + "line": 384, "column": 24 } } @@ -141641,15 +143253,15 @@ "binop": null }, "value": "controlBar", - "start": 13763, - "end": 13773, + "start": 13973, + "end": 13983, "loc": { "start": { - "line": 379, + "line": 384, "column": 24 }, "end": { - "line": 379, + "line": 384, "column": 34 } } @@ -141667,15 +143279,15 @@ "binop": null, "updateContext": null }, - "start": 13773, - "end": 13774, + "start": 13983, + "end": 13984, "loc": { "start": { - "line": 379, + "line": 384, "column": 34 }, "end": { - "line": 379, + "line": 384, "column": 35 } } @@ -141693,15 +143305,15 @@ "binop": null }, "value": "playToggle", - "start": 13774, - "end": 13784, + "start": 13984, + "end": 13994, "loc": { "start": { - "line": 379, + "line": 384, "column": 35 }, "end": { - "line": 379, + "line": 384, "column": 45 } } @@ -141720,15 +143332,15 @@ "updateContext": null }, "value": "!==", - "start": 13785, - "end": 13788, + "start": 13995, + "end": 13998, "loc": { "start": { - "line": 379, + "line": 384, "column": 46 }, "end": { - "line": 379, + "line": 384, "column": 49 } } @@ -141746,15 +143358,15 @@ "binop": null }, "value": "undefined", - "start": 13789, - "end": 13798, + "start": 13999, + "end": 14008, "loc": { "start": { - "line": 379, + "line": 384, "column": 50 }, "end": { - "line": 379, + "line": 384, "column": 59 } } @@ -141773,15 +143385,15 @@ "updateContext": null }, "value": "&&", - "start": 13799, - "end": 13801, + "start": 14009, + "end": 14011, "loc": { "start": { - "line": 379, + "line": 384, "column": 60 }, "end": { - "line": 379, + "line": 384, "column": 62 } } @@ -141801,15 +143413,15 @@ "updateContext": null }, "value": "this", - "start": 13814, - "end": 13818, + "start": 14024, + "end": 14028, "loc": { "start": { - "line": 380, + "line": 385, "column": 12 }, "end": { - "line": 380, + "line": 385, "column": 16 } } @@ -141827,15 +143439,15 @@ "binop": null, "updateContext": null }, - "start": 13818, - "end": 13819, + "start": 14028, + "end": 14029, "loc": { "start": { - "line": 380, + "line": 385, "column": 16 }, "end": { - "line": 380, + "line": 385, "column": 17 } } @@ -141853,15 +143465,15 @@ "binop": null }, "value": "player", - "start": 13819, - "end": 13825, + "start": 14029, + "end": 14035, "loc": { "start": { - "line": 380, + "line": 385, "column": 17 }, "end": { - "line": 380, + "line": 385, "column": 23 } } @@ -141879,15 +143491,15 @@ "binop": null, "updateContext": null }, - "start": 13825, - "end": 13826, + "start": 14035, + "end": 14036, "loc": { "start": { - "line": 380, + "line": 385, "column": 23 }, "end": { - "line": 380, + "line": 385, "column": 24 } } @@ -141905,15 +143517,15 @@ "binop": null }, "value": "controlBar", - "start": 13826, - "end": 13836, + "start": 14036, + "end": 14046, "loc": { "start": { - "line": 380, + "line": 385, "column": 24 }, "end": { - "line": 380, + "line": 385, "column": 34 } } @@ -141931,15 +143543,15 @@ "binop": null, "updateContext": null }, - "start": 13836, - "end": 13837, + "start": 14046, + "end": 14047, "loc": { "start": { - "line": 380, + "line": 385, "column": 34 }, "end": { - "line": 380, + "line": 385, "column": 35 } } @@ -141957,15 +143569,15 @@ "binop": null }, "value": "playToggle", - "start": 13837, - "end": 13847, + "start": 14047, + "end": 14057, "loc": { "start": { - "line": 380, + "line": 385, "column": 35 }, "end": { - "line": 380, + "line": 385, "column": 45 } } @@ -141983,15 +143595,15 @@ "binop": null, "updateContext": null }, - "start": 13847, - "end": 13848, + "start": 14057, + "end": 14058, "loc": { "start": { - "line": 380, + "line": 385, "column": 45 }, "end": { - "line": 380, + "line": 385, "column": 46 } } @@ -142009,15 +143621,15 @@ "binop": null }, "value": "contentEl", - "start": 13848, - "end": 13857, + "start": 14058, + "end": 14067, "loc": { "start": { - "line": 380, + "line": 385, "column": 46 }, "end": { - "line": 380, + "line": 385, "column": 55 } } @@ -142034,15 +143646,15 @@ "postfix": false, "binop": null }, - "start": 13857, - "end": 13858, + "start": 14067, + "end": 14068, "loc": { "start": { - "line": 380, + "line": 385, "column": 55 }, "end": { - "line": 380, + "line": 385, "column": 56 } } @@ -142059,15 +143671,15 @@ "postfix": false, "binop": null }, - "start": 13858, - "end": 13859, + "start": 14068, + "end": 14069, "loc": { "start": { - "line": 380, + "line": 385, "column": 56 }, "end": { - "line": 380, + "line": 385, "column": 57 } } @@ -142084,15 +143696,15 @@ "postfix": false, "binop": null }, - "start": 13859, - "end": 13860, + "start": 14069, + "end": 14070, "loc": { "start": { - "line": 380, + "line": 385, "column": 57 }, "end": { - "line": 380, + "line": 385, "column": 58 } } @@ -142109,15 +143721,15 @@ "postfix": false, "binop": null }, - "start": 13861, - "end": 13862, + "start": 14071, + "end": 14072, "loc": { "start": { - "line": 380, + "line": 385, "column": 59 }, "end": { - "line": 380, + "line": 385, "column": 60 } } @@ -142137,15 +143749,15 @@ "updateContext": null }, "value": "this", - "start": 13875, - "end": 13879, + "start": 14085, + "end": 14089, "loc": { "start": { - "line": 381, + "line": 386, "column": 12 }, "end": { - "line": 381, + "line": 386, "column": 16 } } @@ -142163,15 +143775,15 @@ "binop": null, "updateContext": null }, - "start": 13879, - "end": 13880, + "start": 14089, + "end": 14090, "loc": { "start": { - "line": 381, + "line": 386, "column": 16 }, "end": { - "line": 381, + "line": 386, "column": 17 } } @@ -142189,15 +143801,15 @@ "binop": null }, "value": "player", - "start": 13880, - "end": 13886, + "start": 14090, + "end": 14096, "loc": { "start": { - "line": 381, + "line": 386, "column": 17 }, "end": { - "line": 381, + "line": 386, "column": 23 } } @@ -142215,15 +143827,15 @@ "binop": null, "updateContext": null }, - "start": 13886, - "end": 13887, + "start": 14096, + "end": 14097, "loc": { "start": { - "line": 381, + "line": 386, "column": 23 }, "end": { - "line": 381, + "line": 386, "column": 24 } } @@ -142241,15 +143853,15 @@ "binop": null }, "value": "controlBar", - "start": 13887, - "end": 13897, + "start": 14097, + "end": 14107, "loc": { "start": { - "line": 381, + "line": 386, "column": 24 }, "end": { - "line": 381, + "line": 386, "column": 34 } } @@ -142267,15 +143879,15 @@ "binop": null, "updateContext": null }, - "start": 13897, - "end": 13898, + "start": 14107, + "end": 14108, "loc": { "start": { - "line": 381, + "line": 386, "column": 34 }, "end": { - "line": 381, + "line": 386, "column": 35 } } @@ -142293,15 +143905,15 @@ "binop": null }, "value": "playToggle", - "start": 13898, - "end": 13908, + "start": 14108, + "end": 14118, "loc": { "start": { - "line": 381, + "line": 386, "column": 35 }, "end": { - "line": 381, + "line": 386, "column": 45 } } @@ -142319,15 +143931,15 @@ "binop": null, "updateContext": null }, - "start": 13908, - "end": 13909, + "start": 14118, + "end": 14119, "loc": { "start": { - "line": 381, + "line": 386, "column": 45 }, "end": { - "line": 381, + "line": 386, "column": 46 } } @@ -142345,15 +143957,15 @@ "binop": null }, "value": "handlePause", - "start": 13909, - "end": 13920, + "start": 14119, + "end": 14130, "loc": { "start": { - "line": 381, + "line": 386, "column": 46 }, "end": { - "line": 381, + "line": 386, "column": 57 } } @@ -142370,15 +143982,15 @@ "postfix": false, "binop": null }, - "start": 13920, - "end": 13921, + "start": 14130, + "end": 14131, "loc": { "start": { - "line": 381, + "line": 386, "column": 57 }, "end": { - "line": 381, + "line": 386, "column": 58 } } @@ -142395,15 +144007,15 @@ "postfix": false, "binop": null }, - "start": 13921, - "end": 13922, + "start": 14131, + "end": 14132, "loc": { "start": { - "line": 381, + "line": 386, "column": 58 }, "end": { - "line": 381, + "line": 386, "column": 59 } } @@ -142421,15 +144033,15 @@ "binop": null, "updateContext": null }, - "start": 13922, - "end": 13923, + "start": 14132, + "end": 14133, "loc": { "start": { - "line": 381, + "line": 386, "column": 59 }, "end": { - "line": 381, + "line": 386, "column": 60 } } @@ -142446,15 +144058,15 @@ "postfix": false, "binop": null }, - "start": 13932, - "end": 13933, + "start": 14142, + "end": 14143, "loc": { "start": { - "line": 382, + "line": 387, "column": 8 }, "end": { - "line": 382, + "line": 387, "column": 9 } } @@ -142474,15 +144086,15 @@ "updateContext": null }, "value": "if", - "start": 13943, - "end": 13945, + "start": 14153, + "end": 14155, "loc": { "start": { - "line": 384, + "line": 389, "column": 8 }, "end": { - "line": 384, + "line": 389, "column": 10 } } @@ -142499,15 +144111,15 @@ "postfix": false, "binop": null }, - "start": 13946, - "end": 13947, + "start": 14156, + "end": 14157, "loc": { "start": { - "line": 384, + "line": 389, "column": 11 }, "end": { - "line": 384, + "line": 389, "column": 12 } } @@ -142527,15 +144139,15 @@ "updateContext": null }, "value": "this", - "start": 13947, - "end": 13951, + "start": 14157, + "end": 14161, "loc": { "start": { - "line": 384, + "line": 389, "column": 12 }, "end": { - "line": 384, + "line": 389, "column": 16 } } @@ -142553,15 +144165,15 @@ "binop": null, "updateContext": null }, - "start": 13951, - "end": 13952, + "start": 14161, + "end": 14162, "loc": { "start": { - "line": 384, + "line": 389, "column": 16 }, "end": { - "line": 384, + "line": 389, "column": 17 } } @@ -142579,15 +144191,15 @@ "binop": null }, "value": "liveMode", - "start": 13952, - "end": 13960, + "start": 14162, + "end": 14170, "loc": { "start": { - "line": 384, + "line": 389, "column": 17 }, "end": { - "line": 384, + "line": 389, "column": 25 } } @@ -142604,15 +144216,15 @@ "postfix": false, "binop": null }, - "start": 13960, - "end": 13961, + "start": 14170, + "end": 14171, "loc": { "start": { - "line": 384, + "line": 389, "column": 25 }, "end": { - "line": 384, + "line": 389, "column": 26 } } @@ -142629,15 +144241,15 @@ "postfix": false, "binop": null }, - "start": 13962, - "end": 13963, + "start": 14172, + "end": 14173, "loc": { "start": { - "line": 384, + "line": 389, "column": 27 }, "end": { - "line": 384, + "line": 389, "column": 28 } } @@ -142645,15 +144257,15 @@ { "type": "CommentLine", "value": " pause microphone visualization", - "start": 13976, - "end": 14009, + "start": 14186, + "end": 14219, "loc": { "start": { - "line": 385, + "line": 390, "column": 12 }, "end": { - "line": 385, + "line": 390, "column": 45 } } @@ -142673,15 +144285,15 @@ "updateContext": null }, "value": "this", - "start": 14022, - "end": 14026, + "start": 14232, + "end": 14236, "loc": { "start": { - "line": 386, + "line": 391, "column": 12 }, "end": { - "line": 386, + "line": 391, "column": 16 } } @@ -142699,15 +144311,15 @@ "binop": null, "updateContext": null }, - "start": 14026, - "end": 14027, + "start": 14236, + "end": 14237, "loc": { "start": { - "line": 386, + "line": 391, "column": 16 }, "end": { - "line": 386, + "line": 391, "column": 17 } } @@ -142725,15 +144337,15 @@ "binop": null }, "value": "log", - "start": 14027, - "end": 14030, + "start": 14237, + "end": 14240, "loc": { "start": { - "line": 386, + "line": 391, "column": 17 }, "end": { - "line": 386, + "line": 391, "column": 20 } } @@ -142750,15 +144362,15 @@ "postfix": false, "binop": null }, - "start": 14030, - "end": 14031, + "start": 14240, + "end": 14241, "loc": { "start": { - "line": 386, + "line": 391, "column": 20 }, "end": { - "line": 386, + "line": 391, "column": 21 } } @@ -142777,15 +144389,15 @@ "updateContext": null }, "value": "Pause microphone", - "start": 14031, - "end": 14049, + "start": 14241, + "end": 14259, "loc": { "start": { - "line": 386, + "line": 391, "column": 21 }, "end": { - "line": 386, + "line": 391, "column": 39 } } @@ -142802,15 +144414,15 @@ "postfix": false, "binop": null }, - "start": 14049, - "end": 14050, + "start": 14259, + "end": 14260, "loc": { "start": { - "line": 386, + "line": 391, "column": 39 }, "end": { - "line": 386, + "line": 391, "column": 40 } } @@ -142828,15 +144440,15 @@ "binop": null, "updateContext": null }, - "start": 14050, - "end": 14051, + "start": 14260, + "end": 14261, "loc": { "start": { - "line": 386, + "line": 391, "column": 40 }, "end": { - "line": 386, + "line": 391, "column": 41 } } @@ -142856,15 +144468,15 @@ "updateContext": null }, "value": "this", - "start": 14064, - "end": 14068, + "start": 14274, + "end": 14278, "loc": { "start": { - "line": 387, + "line": 392, "column": 12 }, "end": { - "line": 387, + "line": 392, "column": 16 } } @@ -142882,15 +144494,15 @@ "binop": null, "updateContext": null }, - "start": 14068, - "end": 14069, + "start": 14278, + "end": 14279, "loc": { "start": { - "line": 387, + "line": 392, "column": 16 }, "end": { - "line": 387, + "line": 392, "column": 17 } } @@ -142908,15 +144520,15 @@ "binop": null }, "value": "surfer", - "start": 14069, - "end": 14075, + "start": 14279, + "end": 14285, "loc": { "start": { - "line": 387, + "line": 392, "column": 17 }, "end": { - "line": 387, + "line": 392, "column": 23 } } @@ -142934,15 +144546,15 @@ "binop": null, "updateContext": null }, - "start": 14075, - "end": 14076, + "start": 14285, + "end": 14286, "loc": { "start": { - "line": 387, + "line": 392, "column": 23 }, "end": { - "line": 387, + "line": 392, "column": 24 } } @@ -142960,15 +144572,15 @@ "binop": null }, "value": "microphone", - "start": 14076, - "end": 14086, + "start": 14286, + "end": 14296, "loc": { "start": { - "line": 387, + "line": 392, "column": 24 }, "end": { - "line": 387, + "line": 392, "column": 34 } } @@ -142986,15 +144598,15 @@ "binop": null, "updateContext": null }, - "start": 14086, - "end": 14087, + "start": 14296, + "end": 14297, "loc": { "start": { - "line": 387, + "line": 392, "column": 34 }, "end": { - "line": 387, + "line": 392, "column": 35 } } @@ -143012,15 +144624,15 @@ "binop": null }, "value": "pause", - "start": 14087, - "end": 14092, + "start": 14297, + "end": 14302, "loc": { "start": { - "line": 387, + "line": 392, "column": 35 }, "end": { - "line": 387, + "line": 392, "column": 40 } } @@ -143037,15 +144649,15 @@ "postfix": false, "binop": null }, - "start": 14092, - "end": 14093, + "start": 14302, + "end": 14303, "loc": { "start": { - "line": 387, + "line": 392, "column": 40 }, "end": { - "line": 387, + "line": 392, "column": 41 } } @@ -143062,15 +144674,15 @@ "postfix": false, "binop": null }, - "start": 14093, - "end": 14094, + "start": 14303, + "end": 14304, "loc": { "start": { - "line": 387, + "line": 392, "column": 41 }, "end": { - "line": 387, + "line": 392, "column": 42 } } @@ -143088,15 +144700,15 @@ "binop": null, "updateContext": null }, - "start": 14094, - "end": 14095, + "start": 14304, + "end": 14305, "loc": { "start": { - "line": 387, + "line": 392, "column": 42 }, "end": { - "line": 387, + "line": 392, "column": 43 } } @@ -143113,15 +144725,15 @@ "postfix": false, "binop": null }, - "start": 14104, - "end": 14105, + "start": 14314, + "end": 14315, "loc": { "start": { - "line": 388, + "line": 393, "column": 8 }, "end": { - "line": 388, + "line": 393, "column": 9 } } @@ -143141,15 +144753,15 @@ "updateContext": null }, "value": "else", - "start": 14106, - "end": 14110, + "start": 14316, + "end": 14320, "loc": { "start": { - "line": 388, + "line": 393, "column": 10 }, "end": { - "line": 388, + "line": 393, "column": 14 } } @@ -143166,15 +144778,15 @@ "postfix": false, "binop": null }, - "start": 14111, - "end": 14112, + "start": 14321, + "end": 14322, "loc": { "start": { - "line": 388, + "line": 393, "column": 15 }, "end": { - "line": 388, + "line": 393, "column": 16 } } @@ -143182,15 +144794,15 @@ { "type": "CommentLine", "value": " pause playback", - "start": 14125, - "end": 14142, + "start": 14335, + "end": 14352, "loc": { "start": { - "line": 389, + "line": 394, "column": 12 }, "end": { - "line": 389, + "line": 394, "column": 29 } } @@ -143210,15 +144822,15 @@ "updateContext": null }, "value": "this", - "start": 14155, - "end": 14159, + "start": 14365, + "end": 14369, "loc": { "start": { - "line": 390, + "line": 395, "column": 12 }, "end": { - "line": 390, + "line": 395, "column": 16 } } @@ -143236,15 +144848,15 @@ "binop": null, "updateContext": null }, - "start": 14159, - "end": 14160, + "start": 14369, + "end": 14370, "loc": { "start": { - "line": 390, + "line": 395, "column": 16 }, "end": { - "line": 390, + "line": 395, "column": 17 } } @@ -143262,15 +144874,15 @@ "binop": null }, "value": "log", - "start": 14160, - "end": 14163, + "start": 14370, + "end": 14373, "loc": { "start": { - "line": 390, + "line": 395, "column": 17 }, "end": { - "line": 390, + "line": 395, "column": 20 } } @@ -143287,15 +144899,15 @@ "postfix": false, "binop": null }, - "start": 14163, - "end": 14164, + "start": 14373, + "end": 14374, "loc": { "start": { - "line": 390, + "line": 395, "column": 20 }, "end": { - "line": 390, + "line": 395, "column": 21 } } @@ -143314,15 +144926,15 @@ "updateContext": null }, "value": "Pause playback", - "start": 14164, - "end": 14180, + "start": 14374, + "end": 14390, "loc": { "start": { - "line": 390, + "line": 395, "column": 21 }, "end": { - "line": 390, + "line": 395, "column": 37 } } @@ -143339,15 +144951,15 @@ "postfix": false, "binop": null }, - "start": 14180, - "end": 14181, + "start": 14390, + "end": 14391, "loc": { "start": { - "line": 390, + "line": 395, "column": 37 }, "end": { - "line": 390, + "line": 395, "column": 38 } } @@ -143365,15 +144977,15 @@ "binop": null, "updateContext": null }, - "start": 14181, - "end": 14182, + "start": 14391, + "end": 14392, "loc": { "start": { - "line": 390, + "line": 395, "column": 38 }, "end": { - "line": 390, + "line": 395, "column": 39 } } @@ -143393,15 +145005,15 @@ "updateContext": null }, "value": "if", - "start": 14196, - "end": 14198, + "start": 14406, + "end": 14408, "loc": { "start": { - "line": 392, + "line": 397, "column": 12 }, "end": { - "line": 392, + "line": 397, "column": 14 } } @@ -143418,15 +145030,15 @@ "postfix": false, "binop": null }, - "start": 14199, - "end": 14200, + "start": 14409, + "end": 14410, "loc": { "start": { - "line": 392, + "line": 397, "column": 15 }, "end": { - "line": 392, + "line": 397, "column": 16 } } @@ -143445,15 +145057,15 @@ "updateContext": null }, "value": "!", - "start": 14200, - "end": 14201, + "start": 14410, + "end": 14411, "loc": { "start": { - "line": 392, + "line": 397, "column": 16 }, "end": { - "line": 392, + "line": 397, "column": 17 } } @@ -143473,15 +145085,15 @@ "updateContext": null }, "value": "this", - "start": 14201, - "end": 14205, + "start": 14411, + "end": 14415, "loc": { "start": { - "line": 392, + "line": 397, "column": 17 }, "end": { - "line": 392, + "line": 397, "column": 21 } } @@ -143499,15 +145111,15 @@ "binop": null, "updateContext": null }, - "start": 14205, - "end": 14206, + "start": 14415, + "end": 14416, "loc": { "start": { - "line": 392, + "line": 397, "column": 21 }, "end": { - "line": 392, + "line": 397, "column": 22 } } @@ -143525,15 +145137,15 @@ "binop": null }, "value": "waveFinished", - "start": 14206, - "end": 14218, + "start": 14416, + "end": 14428, "loc": { "start": { - "line": 392, + "line": 397, "column": 22 }, "end": { - "line": 392, + "line": 397, "column": 34 } } @@ -143550,15 +145162,15 @@ "postfix": false, "binop": null }, - "start": 14218, - "end": 14219, + "start": 14428, + "end": 14429, "loc": { "start": { - "line": 392, + "line": 397, "column": 34 }, "end": { - "line": 392, + "line": 397, "column": 35 } } @@ -143575,15 +145187,15 @@ "postfix": false, "binop": null }, - "start": 14220, - "end": 14221, + "start": 14430, + "end": 14431, "loc": { "start": { - "line": 392, + "line": 397, "column": 36 }, "end": { - "line": 392, + "line": 397, "column": 37 } } @@ -143591,15 +145203,15 @@ { "type": "CommentLine", "value": " pause wavesurfer playback", - "start": 14238, - "end": 14266, + "start": 14448, + "end": 14476, "loc": { "start": { - "line": 393, + "line": 398, "column": 16 }, "end": { - "line": 393, + "line": 398, "column": 44 } } @@ -143619,15 +145231,15 @@ "updateContext": null }, "value": "this", - "start": 14283, - "end": 14287, + "start": 14493, + "end": 14497, "loc": { "start": { - "line": 394, + "line": 399, "column": 16 }, "end": { - "line": 394, + "line": 399, "column": 20 } } @@ -143645,15 +145257,15 @@ "binop": null, "updateContext": null }, - "start": 14287, - "end": 14288, + "start": 14497, + "end": 14498, "loc": { "start": { - "line": 394, + "line": 399, "column": 20 }, "end": { - "line": 394, + "line": 399, "column": 21 } } @@ -143671,15 +145283,15 @@ "binop": null }, "value": "surfer", - "start": 14288, - "end": 14294, + "start": 14498, + "end": 14504, "loc": { "start": { - "line": 394, + "line": 399, "column": 21 }, "end": { - "line": 394, + "line": 399, "column": 27 } } @@ -143697,15 +145309,15 @@ "binop": null, "updateContext": null }, - "start": 14294, - "end": 14295, + "start": 14504, + "end": 14505, "loc": { "start": { - "line": 394, + "line": 399, "column": 27 }, "end": { - "line": 394, + "line": 399, "column": 28 } } @@ -143723,15 +145335,15 @@ "binop": null }, "value": "pause", - "start": 14295, - "end": 14300, + "start": 14505, + "end": 14510, "loc": { "start": { - "line": 394, + "line": 399, "column": 28 }, "end": { - "line": 394, + "line": 399, "column": 33 } } @@ -143748,15 +145360,15 @@ "postfix": false, "binop": null }, - "start": 14300, - "end": 14301, + "start": 14510, + "end": 14511, "loc": { "start": { - "line": 394, + "line": 399, "column": 33 }, "end": { - "line": 394, + "line": 399, "column": 34 } } @@ -143773,15 +145385,15 @@ "postfix": false, "binop": null }, - "start": 14301, - "end": 14302, + "start": 14511, + "end": 14512, "loc": { "start": { - "line": 394, + "line": 399, "column": 34 }, "end": { - "line": 394, + "line": 399, "column": 35 } } @@ -143799,15 +145411,15 @@ "binop": null, "updateContext": null }, - "start": 14302, - "end": 14303, + "start": 14512, + "end": 14513, "loc": { "start": { - "line": 394, + "line": 399, "column": 35 }, "end": { - "line": 394, + "line": 399, "column": 36 } } @@ -143824,15 +145436,15 @@ "postfix": false, "binop": null }, - "start": 14316, - "end": 14317, + "start": 14526, + "end": 14527, "loc": { "start": { - "line": 395, + "line": 400, "column": 12 }, "end": { - "line": 395, + "line": 400, "column": 13 } } @@ -143852,15 +145464,15 @@ "updateContext": null }, "value": "else", - "start": 14318, - "end": 14322, + "start": 14528, + "end": 14532, "loc": { "start": { - "line": 395, + "line": 400, "column": 14 }, "end": { - "line": 395, + "line": 400, "column": 18 } } @@ -143877,15 +145489,15 @@ "postfix": false, "binop": null }, - "start": 14323, - "end": 14324, + "start": 14533, + "end": 14534, "loc": { "start": { - "line": 395, + "line": 400, "column": 19 }, "end": { - "line": 395, + "line": 400, "column": 20 } } @@ -143905,15 +145517,15 @@ "updateContext": null }, "value": "this", - "start": 14341, - "end": 14345, + "start": 14551, + "end": 14555, "loc": { "start": { - "line": 396, + "line": 401, "column": 16 }, "end": { - "line": 396, + "line": 401, "column": 20 } } @@ -143931,15 +145543,15 @@ "binop": null, "updateContext": null }, - "start": 14345, - "end": 14346, + "start": 14555, + "end": 14556, "loc": { "start": { - "line": 396, + "line": 401, "column": 20 }, "end": { - "line": 396, + "line": 401, "column": 21 } } @@ -143957,15 +145569,15 @@ "binop": null }, "value": "waveFinished", - "start": 14346, - "end": 14358, + "start": 14556, + "end": 14568, "loc": { "start": { - "line": 396, + "line": 401, "column": 21 }, "end": { - "line": 396, + "line": 401, "column": 33 } } @@ -143984,15 +145596,15 @@ "updateContext": null }, "value": "=", - "start": 14359, - "end": 14360, + "start": 14569, + "end": 14570, "loc": { "start": { - "line": 396, + "line": 401, "column": 34 }, "end": { - "line": 396, + "line": 401, "column": 35 } } @@ -144012,15 +145624,15 @@ "updateContext": null }, "value": "false", - "start": 14361, - "end": 14366, + "start": 14571, + "end": 14576, "loc": { "start": { - "line": 396, + "line": 401, "column": 36 }, "end": { - "line": 396, + "line": 401, "column": 41 } } @@ -144038,15 +145650,15 @@ "binop": null, "updateContext": null }, - "start": 14366, - "end": 14367, + "start": 14576, + "end": 14577, "loc": { "start": { - "line": 396, + "line": 401, "column": 41 }, "end": { - "line": 396, + "line": 401, "column": 42 } } @@ -144063,15 +145675,15 @@ "postfix": false, "binop": null }, - "start": 14380, - "end": 14381, + "start": 14590, + "end": 14591, "loc": { "start": { - "line": 397, + "line": 402, "column": 12 }, "end": { - "line": 397, + "line": 402, "column": 13 } } @@ -144091,15 +145703,15 @@ "updateContext": null }, "value": "this", - "start": 14395, - "end": 14399, + "start": 14605, + "end": 14609, "loc": { "start": { - "line": 399, + "line": 404, "column": 12 }, "end": { - "line": 399, + "line": 404, "column": 16 } } @@ -144117,15 +145729,15 @@ "binop": null, "updateContext": null }, - "start": 14399, - "end": 14400, + "start": 14609, + "end": 14610, "loc": { "start": { - "line": 399, + "line": 404, "column": 16 }, "end": { - "line": 399, + "line": 404, "column": 17 } } @@ -144143,15 +145755,15 @@ "binop": null }, "value": "setCurrentTime", - "start": 14400, - "end": 14414, + "start": 14610, + "end": 14624, "loc": { "start": { - "line": 399, + "line": 404, "column": 17 }, "end": { - "line": 399, + "line": 404, "column": 31 } } @@ -144168,15 +145780,15 @@ "postfix": false, "binop": null }, - "start": 14414, - "end": 14415, + "start": 14624, + "end": 14625, "loc": { "start": { - "line": 399, + "line": 404, "column": 31 }, "end": { - "line": 399, + "line": 404, "column": 32 } } @@ -144193,15 +145805,15 @@ "postfix": false, "binop": null }, - "start": 14415, - "end": 14416, + "start": 14625, + "end": 14626, "loc": { "start": { - "line": 399, + "line": 404, "column": 32 }, "end": { - "line": 399, + "line": 404, "column": 33 } } @@ -144219,15 +145831,15 @@ "binop": null, "updateContext": null }, - "start": 14416, - "end": 14417, + "start": 14626, + "end": 14627, "loc": { "start": { - "line": 399, + "line": 404, "column": 33 }, "end": { - "line": 399, + "line": 404, "column": 34 } } @@ -144244,15 +145856,15 @@ "postfix": false, "binop": null }, - "start": 14426, - "end": 14427, + "start": 14636, + "end": 14637, "loc": { "start": { - "line": 400, + "line": 405, "column": 8 }, "end": { - "line": 400, + "line": 405, "column": 9 } } @@ -144269,15 +145881,15 @@ "postfix": false, "binop": null }, - "start": 14432, - "end": 14433, + "start": 14642, + "end": 14643, "loc": { "start": { - "line": 401, + "line": 406, "column": 4 }, "end": { - "line": 401, + "line": 406, "column": 5 } } @@ -144285,15 +145897,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n ", - "start": 14439, - "end": 14466, + "start": 14649, + "end": 14676, "loc": { "start": { - "line": 403, + "line": 408, "column": 4 }, "end": { - "line": 405, + "line": 410, "column": 7 } } @@ -144311,15 +145923,15 @@ "binop": null }, "value": "dispose", - "start": 14471, - "end": 14478, + "start": 14681, + "end": 14688, "loc": { "start": { - "line": 406, + "line": 411, "column": 4 }, "end": { - "line": 406, + "line": 411, "column": 11 } } @@ -144336,15 +145948,15 @@ "postfix": false, "binop": null }, - "start": 14478, - "end": 14479, + "start": 14688, + "end": 14689, "loc": { "start": { - "line": 406, + "line": 411, "column": 11 }, "end": { - "line": 406, + "line": 411, "column": 12 } } @@ -144361,15 +145973,15 @@ "postfix": false, "binop": null }, - "start": 14479, - "end": 14480, + "start": 14689, + "end": 14690, "loc": { "start": { - "line": 406, + "line": 411, "column": 12 }, "end": { - "line": 406, + "line": 411, "column": 13 } } @@ -144386,15 +145998,15 @@ "postfix": false, "binop": null }, - "start": 14481, - "end": 14482, + "start": 14691, + "end": 14692, "loc": { "start": { - "line": 406, + "line": 411, "column": 14 }, "end": { - "line": 406, + "line": 411, "column": 15 } } @@ -144414,15 +146026,15 @@ "updateContext": null }, "value": "if", - "start": 14491, - "end": 14493, + "start": 14701, + "end": 14703, "loc": { "start": { - "line": 407, + "line": 412, "column": 8 }, "end": { - "line": 407, + "line": 412, "column": 10 } } @@ -144439,15 +146051,15 @@ "postfix": false, "binop": null }, - "start": 14494, - "end": 14495, + "start": 14704, + "end": 14705, "loc": { "start": { - "line": 407, + "line": 412, "column": 11 }, "end": { - "line": 407, + "line": 412, "column": 12 } } @@ -144467,15 +146079,15 @@ "updateContext": null }, "value": "this", - "start": 14495, - "end": 14499, + "start": 14705, + "end": 14709, "loc": { "start": { - "line": 407, + "line": 412, "column": 12 }, "end": { - "line": 407, + "line": 412, "column": 16 } } @@ -144493,15 +146105,15 @@ "binop": null, "updateContext": null }, - "start": 14499, - "end": 14500, + "start": 14709, + "end": 14710, "loc": { "start": { - "line": 407, + "line": 412, "column": 16 }, "end": { - "line": 407, + "line": 412, "column": 17 } } @@ -144519,15 +146131,15 @@ "binop": null }, "value": "surfer", - "start": 14500, - "end": 14506, + "start": 14710, + "end": 14716, "loc": { "start": { - "line": 407, + "line": 412, "column": 17 }, "end": { - "line": 407, + "line": 412, "column": 23 } } @@ -144544,15 +146156,15 @@ "postfix": false, "binop": null }, - "start": 14506, - "end": 14507, + "start": 14716, + "end": 14717, "loc": { "start": { - "line": 407, + "line": 412, "column": 23 }, "end": { - "line": 407, + "line": 412, "column": 24 } } @@ -144569,15 +146181,15 @@ "postfix": false, "binop": null }, - "start": 14508, - "end": 14509, + "start": 14718, + "end": 14719, "loc": { "start": { - "line": 407, + "line": 412, "column": 25 }, "end": { - "line": 407, + "line": 412, "column": 26 } } @@ -144597,15 +146209,15 @@ "updateContext": null }, "value": "if", - "start": 14522, - "end": 14524, + "start": 14732, + "end": 14734, "loc": { "start": { - "line": 408, + "line": 413, "column": 12 }, "end": { - "line": 408, + "line": 413, "column": 14 } } @@ -144622,15 +146234,15 @@ "postfix": false, "binop": null }, - "start": 14525, - "end": 14526, + "start": 14735, + "end": 14736, "loc": { "start": { - "line": 408, + "line": 413, "column": 15 }, "end": { - "line": 408, + "line": 413, "column": 16 } } @@ -144650,15 +146262,15 @@ "updateContext": null }, "value": "this", - "start": 14526, - "end": 14530, + "start": 14736, + "end": 14740, "loc": { "start": { - "line": 408, + "line": 413, "column": 16 }, "end": { - "line": 408, + "line": 413, "column": 20 } } @@ -144676,15 +146288,15 @@ "binop": null, "updateContext": null }, - "start": 14530, - "end": 14531, + "start": 14740, + "end": 14741, "loc": { "start": { - "line": 408, + "line": 413, "column": 20 }, "end": { - "line": 408, + "line": 413, "column": 21 } } @@ -144702,15 +146314,15 @@ "binop": null }, "value": "liveMode", - "start": 14531, - "end": 14539, + "start": 14741, + "end": 14749, "loc": { "start": { - "line": 408, + "line": 413, "column": 21 }, "end": { - "line": 408, + "line": 413, "column": 29 } } @@ -144729,15 +146341,15 @@ "updateContext": null }, "value": "&&", - "start": 14540, - "end": 14542, + "start": 14750, + "end": 14752, "loc": { "start": { - "line": 408, + "line": 413, "column": 30 }, "end": { - "line": 408, + "line": 413, "column": 32 } } @@ -144757,15 +146369,15 @@ "updateContext": null }, "value": "this", - "start": 14543, - "end": 14547, + "start": 14753, + "end": 14757, "loc": { "start": { - "line": 408, + "line": 413, "column": 33 }, "end": { - "line": 408, + "line": 413, "column": 37 } } @@ -144783,15 +146395,15 @@ "binop": null, "updateContext": null }, - "start": 14547, - "end": 14548, + "start": 14757, + "end": 14758, "loc": { "start": { - "line": 408, + "line": 413, "column": 37 }, "end": { - "line": 408, + "line": 413, "column": 38 } } @@ -144809,15 +146421,15 @@ "binop": null }, "value": "surfer", - "start": 14548, - "end": 14554, + "start": 14758, + "end": 14764, "loc": { "start": { - "line": 408, + "line": 413, "column": 38 }, "end": { - "line": 408, + "line": 413, "column": 44 } } @@ -144835,15 +146447,15 @@ "binop": null, "updateContext": null }, - "start": 14554, - "end": 14555, + "start": 14764, + "end": 14765, "loc": { "start": { - "line": 408, + "line": 413, "column": 44 }, "end": { - "line": 408, + "line": 413, "column": 45 } } @@ -144861,15 +146473,15 @@ "binop": null }, "value": "microphone", - "start": 14555, - "end": 14565, + "start": 14765, + "end": 14775, "loc": { "start": { - "line": 408, + "line": 413, "column": 45 }, "end": { - "line": 408, + "line": 413, "column": 55 } } @@ -144886,15 +146498,15 @@ "postfix": false, "binop": null }, - "start": 14565, - "end": 14566, + "start": 14775, + "end": 14776, "loc": { "start": { - "line": 408, + "line": 413, "column": 55 }, "end": { - "line": 408, + "line": 413, "column": 56 } } @@ -144911,15 +146523,15 @@ "postfix": false, "binop": null }, - "start": 14567, - "end": 14568, + "start": 14777, + "end": 14778, "loc": { "start": { - "line": 408, + "line": 413, "column": 57 }, "end": { - "line": 408, + "line": 413, "column": 58 } } @@ -144927,15 +146539,15 @@ { "type": "CommentLine", "value": " destroy microphone plugin", - "start": 14585, - "end": 14613, + "start": 14795, + "end": 14823, "loc": { "start": { - "line": 409, + "line": 414, "column": 16 }, "end": { - "line": 409, + "line": 414, "column": 44 } } @@ -144955,15 +146567,15 @@ "updateContext": null }, "value": "this", - "start": 14630, - "end": 14634, + "start": 14840, + "end": 14844, "loc": { "start": { - "line": 410, + "line": 415, "column": 16 }, "end": { - "line": 410, + "line": 415, "column": 20 } } @@ -144981,15 +146593,15 @@ "binop": null, "updateContext": null }, - "start": 14634, - "end": 14635, + "start": 14844, + "end": 14845, "loc": { "start": { - "line": 410, + "line": 415, "column": 20 }, "end": { - "line": 410, + "line": 415, "column": 21 } } @@ -145007,15 +146619,15 @@ "binop": null }, "value": "surfer", - "start": 14635, - "end": 14641, + "start": 14845, + "end": 14851, "loc": { "start": { - "line": 410, + "line": 415, "column": 21 }, "end": { - "line": 410, + "line": 415, "column": 27 } } @@ -145033,15 +146645,15 @@ "binop": null, "updateContext": null }, - "start": 14641, - "end": 14642, + "start": 14851, + "end": 14852, "loc": { "start": { - "line": 410, + "line": 415, "column": 27 }, "end": { - "line": 410, + "line": 415, "column": 28 } } @@ -145059,15 +146671,15 @@ "binop": null }, "value": "microphone", - "start": 14642, - "end": 14652, + "start": 14852, + "end": 14862, "loc": { "start": { - "line": 410, + "line": 415, "column": 28 }, "end": { - "line": 410, + "line": 415, "column": 38 } } @@ -145085,15 +146697,15 @@ "binop": null, "updateContext": null }, - "start": 14652, - "end": 14653, + "start": 14862, + "end": 14863, "loc": { "start": { - "line": 410, + "line": 415, "column": 38 }, "end": { - "line": 410, + "line": 415, "column": 39 } } @@ -145111,15 +146723,15 @@ "binop": null }, "value": "destroy", - "start": 14653, - "end": 14660, + "start": 14863, + "end": 14870, "loc": { "start": { - "line": 410, + "line": 415, "column": 39 }, "end": { - "line": 410, + "line": 415, "column": 46 } } @@ -145136,15 +146748,15 @@ "postfix": false, "binop": null }, - "start": 14660, - "end": 14661, + "start": 14870, + "end": 14871, "loc": { "start": { - "line": 410, + "line": 415, "column": 46 }, "end": { - "line": 410, + "line": 415, "column": 47 } } @@ -145161,15 +146773,15 @@ "postfix": false, "binop": null }, - "start": 14661, - "end": 14662, + "start": 14871, + "end": 14872, "loc": { "start": { - "line": 410, + "line": 415, "column": 47 }, "end": { - "line": 410, + "line": 415, "column": 48 } } @@ -145187,15 +146799,15 @@ "binop": null, "updateContext": null }, - "start": 14662, - "end": 14663, + "start": 14872, + "end": 14873, "loc": { "start": { - "line": 410, + "line": 415, "column": 48 }, "end": { - "line": 410, + "line": 415, "column": 49 } } @@ -145215,15 +146827,15 @@ "updateContext": null }, "value": "this", - "start": 14680, - "end": 14684, + "start": 14890, + "end": 14894, "loc": { "start": { - "line": 411, + "line": 416, "column": 16 }, "end": { - "line": 411, + "line": 416, "column": 20 } } @@ -145241,15 +146853,15 @@ "binop": null, "updateContext": null }, - "start": 14684, - "end": 14685, + "start": 14894, + "end": 14895, "loc": { "start": { - "line": 411, + "line": 416, "column": 20 }, "end": { - "line": 411, + "line": 416, "column": 21 } } @@ -145267,15 +146879,15 @@ "binop": null }, "value": "log", - "start": 14685, - "end": 14688, + "start": 14895, + "end": 14898, "loc": { "start": { - "line": 411, + "line": 416, "column": 21 }, "end": { - "line": 411, + "line": 416, "column": 24 } } @@ -145292,15 +146904,15 @@ "postfix": false, "binop": null }, - "start": 14688, - "end": 14689, + "start": 14898, + "end": 14899, "loc": { "start": { - "line": 411, + "line": 416, "column": 24 }, "end": { - "line": 411, + "line": 416, "column": 25 } } @@ -145319,15 +146931,15 @@ "updateContext": null }, "value": "Destroyed microphone plugin", - "start": 14689, - "end": 14718, + "start": 14899, + "end": 14928, "loc": { "start": { - "line": 411, + "line": 416, "column": 25 }, "end": { - "line": 411, + "line": 416, "column": 54 } } @@ -145344,15 +146956,15 @@ "postfix": false, "binop": null }, - "start": 14718, - "end": 14719, + "start": 14928, + "end": 14929, "loc": { "start": { - "line": 411, + "line": 416, "column": 54 }, "end": { - "line": 411, + "line": 416, "column": 55 } } @@ -145370,15 +146982,15 @@ "binop": null, "updateContext": null }, - "start": 14719, - "end": 14720, + "start": 14929, + "end": 14930, "loc": { "start": { - "line": 411, + "line": 416, "column": 55 }, "end": { - "line": 411, + "line": 416, "column": 56 } } @@ -145395,15 +147007,15 @@ "postfix": false, "binop": null }, - "start": 14733, - "end": 14734, + "start": 14943, + "end": 14944, "loc": { "start": { - "line": 412, + "line": 417, "column": 12 }, "end": { - "line": 412, + "line": 417, "column": 13 } } @@ -145411,15 +147023,15 @@ { "type": "CommentLine", "value": " destroy wavesurfer instance", - "start": 14747, - "end": 14777, + "start": 14957, + "end": 14987, "loc": { "start": { - "line": 413, + "line": 418, "column": 12 }, "end": { - "line": 413, + "line": 418, "column": 42 } } @@ -145439,15 +147051,15 @@ "updateContext": null }, "value": "this", - "start": 14790, - "end": 14794, + "start": 15000, + "end": 15004, "loc": { "start": { - "line": 414, + "line": 419, "column": 12 }, "end": { - "line": 414, + "line": 419, "column": 16 } } @@ -145465,15 +147077,15 @@ "binop": null, "updateContext": null }, - "start": 14794, - "end": 14795, + "start": 15004, + "end": 15005, "loc": { "start": { - "line": 414, + "line": 419, "column": 16 }, "end": { - "line": 414, + "line": 419, "column": 17 } } @@ -145491,15 +147103,15 @@ "binop": null }, "value": "surfer", - "start": 14795, - "end": 14801, + "start": 15005, + "end": 15011, "loc": { "start": { - "line": 414, + "line": 419, "column": 17 }, "end": { - "line": 414, + "line": 419, "column": 23 } } @@ -145517,15 +147129,15 @@ "binop": null, "updateContext": null }, - "start": 14801, - "end": 14802, + "start": 15011, + "end": 15012, "loc": { "start": { - "line": 414, + "line": 419, "column": 23 }, "end": { - "line": 414, + "line": 419, "column": 24 } } @@ -145543,15 +147155,15 @@ "binop": null }, "value": "destroy", - "start": 14802, - "end": 14809, + "start": 15012, + "end": 15019, "loc": { "start": { - "line": 414, + "line": 419, "column": 24 }, "end": { - "line": 414, + "line": 419, "column": 31 } } @@ -145568,15 +147180,15 @@ "postfix": false, "binop": null }, - "start": 14809, - "end": 14810, + "start": 15019, + "end": 15020, "loc": { "start": { - "line": 414, + "line": 419, "column": 31 }, "end": { - "line": 414, + "line": 419, "column": 32 } } @@ -145593,15 +147205,15 @@ "postfix": false, "binop": null }, - "start": 14810, - "end": 14811, + "start": 15020, + "end": 15021, "loc": { "start": { - "line": 414, + "line": 419, "column": 32 }, "end": { - "line": 414, + "line": 419, "column": 33 } } @@ -145619,15 +147231,15 @@ "binop": null, "updateContext": null }, - "start": 14811, - "end": 14812, + "start": 15021, + "end": 15022, "loc": { "start": { - "line": 414, + "line": 419, "column": 33 }, "end": { - "line": 414, + "line": 419, "column": 34 } } @@ -145644,15 +147256,15 @@ "postfix": false, "binop": null }, - "start": 14821, - "end": 14822, + "start": 15031, + "end": 15032, "loc": { "start": { - "line": 415, + "line": 420, "column": 8 }, "end": { - "line": 415, + "line": 420, "column": 9 } } @@ -145672,15 +147284,15 @@ "updateContext": null }, "value": "this", - "start": 14831, - "end": 14835, + "start": 15041, + "end": 15045, "loc": { "start": { - "line": 416, + "line": 421, "column": 8 }, "end": { - "line": 416, + "line": 421, "column": 12 } } @@ -145698,15 +147310,15 @@ "binop": null, "updateContext": null }, - "start": 14835, - "end": 14836, + "start": 15045, + "end": 15046, "loc": { "start": { - "line": 416, + "line": 421, "column": 12 }, "end": { - "line": 416, + "line": 421, "column": 13 } } @@ -145724,15 +147336,15 @@ "binop": null }, "value": "log", - "start": 14836, - "end": 14839, + "start": 15046, + "end": 15049, "loc": { "start": { - "line": 416, + "line": 421, "column": 13 }, "end": { - "line": 416, + "line": 421, "column": 16 } } @@ -145749,15 +147361,15 @@ "postfix": false, "binop": null }, - "start": 14839, - "end": 14840, + "start": 15049, + "end": 15050, "loc": { "start": { - "line": 416, + "line": 421, "column": 16 }, "end": { - "line": 416, + "line": 421, "column": 17 } } @@ -145776,15 +147388,15 @@ "updateContext": null }, "value": "Destroyed plugin", - "start": 14840, - "end": 14858, + "start": 15050, + "end": 15068, "loc": { "start": { - "line": 416, + "line": 421, "column": 17 }, "end": { - "line": 416, + "line": 421, "column": 35 } } @@ -145801,15 +147413,15 @@ "postfix": false, "binop": null }, - "start": 14858, - "end": 14859, + "start": 15068, + "end": 15069, "loc": { "start": { - "line": 416, + "line": 421, "column": 35 }, "end": { - "line": 416, + "line": 421, "column": 36 } } @@ -145827,15 +147439,15 @@ "binop": null, "updateContext": null }, - "start": 14859, - "end": 14860, + "start": 15069, + "end": 15070, "loc": { "start": { - "line": 416, + "line": 421, "column": 36 }, "end": { - "line": 416, + "line": 421, "column": 37 } } @@ -145852,15 +147464,15 @@ "postfix": false, "binop": null }, - "start": 14865, - "end": 14866, + "start": 15075, + "end": 15076, "loc": { "start": { - "line": 417, + "line": 422, "column": 4 }, "end": { - "line": 417, + "line": 422, "column": 5 } } @@ -145868,15 +147480,15 @@ { "type": "CommentBlock", "value": "*\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n ", - "start": 14872, - "end": 14997, + "start": 15082, + "end": 15207, "loc": { "start": { - "line": 419, + "line": 424, "column": 4 }, "end": { - "line": 423, + "line": 428, "column": 7 } } @@ -145894,15 +147506,15 @@ "binop": null }, "value": "isDestroyed", - "start": 15002, - "end": 15013, + "start": 15212, + "end": 15223, "loc": { "start": { - "line": 424, + "line": 429, "column": 4 }, "end": { - "line": 424, + "line": 429, "column": 15 } } @@ -145919,15 +147531,15 @@ "postfix": false, "binop": null }, - "start": 15013, - "end": 15014, + "start": 15223, + "end": 15224, "loc": { "start": { - "line": 424, + "line": 429, "column": 15 }, "end": { - "line": 424, + "line": 429, "column": 16 } } @@ -145944,15 +147556,15 @@ "postfix": false, "binop": null }, - "start": 15014, - "end": 15015, + "start": 15224, + "end": 15225, "loc": { "start": { - "line": 424, + "line": 429, "column": 16 }, "end": { - "line": 424, + "line": 429, "column": 17 } } @@ -145969,15 +147581,15 @@ "postfix": false, "binop": null }, - "start": 15016, - "end": 15017, + "start": 15226, + "end": 15227, "loc": { "start": { - "line": 424, + "line": 429, "column": 18 }, "end": { - "line": 424, + "line": 429, "column": 19 } } @@ -145997,15 +147609,15 @@ "updateContext": null }, "value": "return", - "start": 15026, - "end": 15032, + "start": 15236, + "end": 15242, "loc": { "start": { - "line": 425, + "line": 430, "column": 8 }, "end": { - "line": 425, + "line": 430, "column": 14 } } @@ -146025,15 +147637,15 @@ "updateContext": null }, "value": "this", - "start": 15033, - "end": 15037, + "start": 15243, + "end": 15247, "loc": { "start": { - "line": 425, + "line": 430, "column": 15 }, "end": { - "line": 425, + "line": 430, "column": 19 } } @@ -146051,15 +147663,15 @@ "binop": null, "updateContext": null }, - "start": 15037, - "end": 15038, + "start": 15247, + "end": 15248, "loc": { "start": { - "line": 425, + "line": 430, "column": 19 }, "end": { - "line": 425, + "line": 430, "column": 20 } } @@ -146077,15 +147689,15 @@ "binop": null }, "value": "player", - "start": 15038, - "end": 15044, + "start": 15248, + "end": 15254, "loc": { "start": { - "line": 425, + "line": 430, "column": 20 }, "end": { - "line": 425, + "line": 430, "column": 26 } } @@ -146104,15 +147716,15 @@ "updateContext": null }, "value": "&&", - "start": 15045, - "end": 15047, + "start": 15255, + "end": 15257, "loc": { "start": { - "line": 425, + "line": 430, "column": 27 }, "end": { - "line": 425, + "line": 430, "column": 29 } } @@ -146129,15 +147741,15 @@ "postfix": false, "binop": null }, - "start": 15048, - "end": 15049, + "start": 15258, + "end": 15259, "loc": { "start": { - "line": 425, + "line": 430, "column": 30 }, "end": { - "line": 425, + "line": 430, "column": 31 } } @@ -146157,15 +147769,15 @@ "updateContext": null }, "value": "this", - "start": 15049, - "end": 15053, + "start": 15259, + "end": 15263, "loc": { "start": { - "line": 425, + "line": 430, "column": 31 }, "end": { - "line": 425, + "line": 430, "column": 35 } } @@ -146183,15 +147795,15 @@ "binop": null, "updateContext": null }, - "start": 15053, - "end": 15054, + "start": 15263, + "end": 15264, "loc": { "start": { - "line": 425, + "line": 430, "column": 35 }, "end": { - "line": 425, + "line": 430, "column": 36 } } @@ -146209,15 +147821,15 @@ "binop": null }, "value": "player", - "start": 15054, - "end": 15060, + "start": 15264, + "end": 15270, "loc": { "start": { - "line": 425, + "line": 430, "column": 36 }, "end": { - "line": 425, + "line": 430, "column": 42 } } @@ -146235,15 +147847,15 @@ "binop": null, "updateContext": null }, - "start": 15060, - "end": 15061, + "start": 15270, + "end": 15271, "loc": { "start": { - "line": 425, + "line": 430, "column": 42 }, "end": { - "line": 425, + "line": 430, "column": 43 } } @@ -146261,15 +147873,15 @@ "binop": null }, "value": "children", - "start": 15061, - "end": 15069, + "start": 15271, + "end": 15279, "loc": { "start": { - "line": 425, + "line": 430, "column": 43 }, "end": { - "line": 425, + "line": 430, "column": 51 } } @@ -146286,15 +147898,15 @@ "postfix": false, "binop": null }, - "start": 15069, - "end": 15070, + "start": 15279, + "end": 15280, "loc": { "start": { - "line": 425, + "line": 430, "column": 51 }, "end": { - "line": 425, + "line": 430, "column": 52 } } @@ -146311,15 +147923,15 @@ "postfix": false, "binop": null }, - "start": 15070, - "end": 15071, + "start": 15280, + "end": 15281, "loc": { "start": { - "line": 425, + "line": 430, "column": 52 }, "end": { - "line": 425, + "line": 430, "column": 53 } } @@ -146338,15 +147950,15 @@ "updateContext": null }, "value": "===", - "start": 15072, - "end": 15075, + "start": 15282, + "end": 15285, "loc": { "start": { - "line": 425, + "line": 430, "column": 54 }, "end": { - "line": 425, + "line": 430, "column": 57 } } @@ -146366,15 +147978,15 @@ "updateContext": null }, "value": "null", - "start": 15076, - "end": 15080, + "start": 15286, + "end": 15290, "loc": { "start": { - "line": 425, + "line": 430, "column": 58 }, "end": { - "line": 425, + "line": 430, "column": 62 } } @@ -146391,15 +148003,15 @@ "postfix": false, "binop": null }, - "start": 15080, - "end": 15081, + "start": 15290, + "end": 15291, "loc": { "start": { - "line": 425, + "line": 430, "column": 62 }, "end": { - "line": 425, + "line": 430, "column": 63 } } @@ -146417,15 +148029,15 @@ "binop": null, "updateContext": null }, - "start": 15081, - "end": 15082, + "start": 15291, + "end": 15292, "loc": { "start": { - "line": 425, + "line": 430, "column": 63 }, "end": { - "line": 425, + "line": 430, "column": 64 } } @@ -146442,15 +148054,15 @@ "postfix": false, "binop": null }, - "start": 15087, - "end": 15088, + "start": 15297, + "end": 15298, "loc": { "start": { - "line": 426, + "line": 431, "column": 4 }, "end": { - "line": 426, + "line": 431, "column": 5 } } @@ -146458,15 +148070,15 @@ { "type": "CommentBlock", "value": "*\n * Remove the player and waveform.\n ", - "start": 15094, - "end": 15144, + "start": 15304, + "end": 15354, "loc": { "start": { - "line": 428, + "line": 433, "column": 4 }, "end": { - "line": 430, + "line": 435, "column": 7 } } @@ -146484,15 +148096,15 @@ "binop": null }, "value": "destroy", - "start": 15149, - "end": 15156, + "start": 15359, + "end": 15366, "loc": { "start": { - "line": 431, + "line": 436, "column": 4 }, "end": { - "line": 431, + "line": 436, "column": 11 } } @@ -146509,15 +148121,15 @@ "postfix": false, "binop": null }, - "start": 15156, - "end": 15157, + "start": 15366, + "end": 15367, "loc": { "start": { - "line": 431, + "line": 436, "column": 11 }, "end": { - "line": 431, + "line": 436, "column": 12 } } @@ -146534,15 +148146,15 @@ "postfix": false, "binop": null }, - "start": 15157, - "end": 15158, + "start": 15367, + "end": 15368, "loc": { "start": { - "line": 431, + "line": 436, "column": 12 }, "end": { - "line": 431, + "line": 436, "column": 13 } } @@ -146559,15 +148171,15 @@ "postfix": false, "binop": null }, - "start": 15159, - "end": 15160, + "start": 15369, + "end": 15370, "loc": { "start": { - "line": 431, + "line": 436, "column": 14 }, "end": { - "line": 431, + "line": 436, "column": 15 } } @@ -146587,15 +148199,15 @@ "updateContext": null }, "value": "this", - "start": 15169, - "end": 15173, + "start": 15379, + "end": 15383, "loc": { "start": { - "line": 432, + "line": 437, "column": 8 }, "end": { - "line": 432, + "line": 437, "column": 12 } } @@ -146613,15 +148225,15 @@ "binop": null, "updateContext": null }, - "start": 15173, - "end": 15174, + "start": 15383, + "end": 15384, "loc": { "start": { - "line": 432, + "line": 437, "column": 12 }, "end": { - "line": 432, + "line": 437, "column": 13 } } @@ -146639,15 +148251,15 @@ "binop": null }, "value": "player", - "start": 15174, - "end": 15180, + "start": 15384, + "end": 15390, "loc": { "start": { - "line": 432, + "line": 437, "column": 13 }, "end": { - "line": 432, + "line": 437, "column": 19 } } @@ -146665,15 +148277,15 @@ "binop": null, "updateContext": null }, - "start": 15180, - "end": 15181, + "start": 15390, + "end": 15391, "loc": { "start": { - "line": 432, + "line": 437, "column": 19 }, "end": { - "line": 432, + "line": 437, "column": 20 } } @@ -146691,15 +148303,15 @@ "binop": null }, "value": "dispose", - "start": 15181, - "end": 15188, + "start": 15391, + "end": 15398, "loc": { "start": { - "line": 432, + "line": 437, "column": 20 }, "end": { - "line": 432, + "line": 437, "column": 27 } } @@ -146716,15 +148328,15 @@ "postfix": false, "binop": null }, - "start": 15188, - "end": 15189, + "start": 15398, + "end": 15399, "loc": { "start": { - "line": 432, + "line": 437, "column": 27 }, "end": { - "line": 432, + "line": 437, "column": 28 } } @@ -146741,15 +148353,15 @@ "postfix": false, "binop": null }, - "start": 15189, - "end": 15190, + "start": 15399, + "end": 15400, "loc": { "start": { - "line": 432, + "line": 437, "column": 28 }, "end": { - "line": 432, + "line": 437, "column": 29 } } @@ -146767,15 +148379,15 @@ "binop": null, "updateContext": null }, - "start": 15190, - "end": 15191, + "start": 15400, + "end": 15401, "loc": { "start": { - "line": 432, + "line": 437, "column": 29 }, "end": { - "line": 432, + "line": 437, "column": 30 } } @@ -146792,15 +148404,15 @@ "postfix": false, "binop": null }, - "start": 15196, - "end": 15197, + "start": 15406, + "end": 15407, "loc": { "start": { - "line": 433, + "line": 438, "column": 4 }, "end": { - "line": 433, + "line": 438, "column": 5 } } @@ -146808,15 +148420,15 @@ { "type": "CommentBlock", "value": "*\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n ", - "start": 15203, - "end": 15304, + "start": 15413, + "end": 15514, "loc": { "start": { - "line": 435, + "line": 440, "column": 4 }, "end": { - "line": 439, + "line": 444, "column": 7 } } @@ -146834,15 +148446,15 @@ "binop": null }, "value": "setVolume", - "start": 15309, - "end": 15318, + "start": 15519, + "end": 15528, "loc": { "start": { - "line": 440, + "line": 445, "column": 4 }, "end": { - "line": 440, + "line": 445, "column": 13 } } @@ -146859,15 +148471,15 @@ "postfix": false, "binop": null }, - "start": 15318, - "end": 15319, + "start": 15528, + "end": 15529, "loc": { "start": { - "line": 440, + "line": 445, "column": 13 }, "end": { - "line": 440, + "line": 445, "column": 14 } } @@ -146885,15 +148497,15 @@ "binop": null }, "value": "volume", - "start": 15319, - "end": 15325, + "start": 15529, + "end": 15535, "loc": { "start": { - "line": 440, + "line": 445, "column": 14 }, "end": { - "line": 440, + "line": 445, "column": 20 } } @@ -146910,15 +148522,15 @@ "postfix": false, "binop": null }, - "start": 15325, - "end": 15326, + "start": 15535, + "end": 15536, "loc": { "start": { - "line": 440, + "line": 445, "column": 20 }, "end": { - "line": 440, + "line": 445, "column": 21 } } @@ -146935,15 +148547,15 @@ "postfix": false, "binop": null }, - "start": 15327, - "end": 15328, + "start": 15537, + "end": 15538, "loc": { "start": { - "line": 440, + "line": 445, "column": 22 }, "end": { - "line": 440, + "line": 445, "column": 23 } } @@ -146963,15 +148575,15 @@ "updateContext": null }, "value": "if", - "start": 15337, - "end": 15339, + "start": 15547, + "end": 15549, "loc": { "start": { - "line": 441, + "line": 446, "column": 8 }, "end": { - "line": 441, + "line": 446, "column": 10 } } @@ -146988,15 +148600,15 @@ "postfix": false, "binop": null }, - "start": 15340, - "end": 15341, + "start": 15550, + "end": 15551, "loc": { "start": { - "line": 441, + "line": 446, "column": 11 }, "end": { - "line": 441, + "line": 446, "column": 12 } } @@ -147014,15 +148626,15 @@ "binop": null }, "value": "volume", - "start": 15341, - "end": 15347, + "start": 15551, + "end": 15557, "loc": { "start": { - "line": 441, + "line": 446, "column": 12 }, "end": { - "line": 441, + "line": 446, "column": 18 } } @@ -147041,15 +148653,15 @@ "updateContext": null }, "value": "!==", - "start": 15348, - "end": 15351, + "start": 15558, + "end": 15561, "loc": { "start": { - "line": 441, + "line": 446, "column": 19 }, "end": { - "line": 441, + "line": 446, "column": 22 } } @@ -147067,15 +148679,15 @@ "binop": null }, "value": "undefined", - "start": 15352, - "end": 15361, + "start": 15562, + "end": 15571, "loc": { "start": { - "line": 441, + "line": 446, "column": 23 }, "end": { - "line": 441, + "line": 446, "column": 32 } } @@ -147092,15 +148704,15 @@ "postfix": false, "binop": null }, - "start": 15361, - "end": 15362, + "start": 15571, + "end": 15572, "loc": { "start": { - "line": 441, + "line": 446, "column": 32 }, "end": { - "line": 441, + "line": 446, "column": 33 } } @@ -147117,15 +148729,15 @@ "postfix": false, "binop": null }, - "start": 15363, - "end": 15364, + "start": 15573, + "end": 15574, "loc": { "start": { - "line": 441, + "line": 446, "column": 34 }, "end": { - "line": 441, + "line": 446, "column": 35 } } @@ -147145,15 +148757,15 @@ "updateContext": null }, "value": "this", - "start": 15377, - "end": 15381, + "start": 15587, + "end": 15591, "loc": { "start": { - "line": 442, + "line": 447, "column": 12 }, "end": { - "line": 442, + "line": 447, "column": 16 } } @@ -147171,15 +148783,15 @@ "binop": null, "updateContext": null }, - "start": 15381, - "end": 15382, + "start": 15591, + "end": 15592, "loc": { "start": { - "line": 442, + "line": 447, "column": 16 }, "end": { - "line": 442, + "line": 447, "column": 17 } } @@ -147197,15 +148809,15 @@ "binop": null }, "value": "log", - "start": 15382, - "end": 15385, + "start": 15592, + "end": 15595, "loc": { "start": { - "line": 442, + "line": 447, "column": 17 }, "end": { - "line": 442, + "line": 447, "column": 20 } } @@ -147222,15 +148834,15 @@ "postfix": false, "binop": null }, - "start": 15385, - "end": 15386, + "start": 15595, + "end": 15596, "loc": { "start": { - "line": 442, + "line": 447, "column": 20 }, "end": { - "line": 442, + "line": 447, "column": 21 } } @@ -147249,15 +148861,15 @@ "updateContext": null }, "value": "Changing volume to: ", - "start": 15386, - "end": 15408, + "start": 15596, + "end": 15618, "loc": { "start": { - "line": 442, + "line": 447, "column": 21 }, "end": { - "line": 442, + "line": 447, "column": 43 } } @@ -147276,15 +148888,15 @@ "updateContext": null }, "value": "+", - "start": 15409, - "end": 15410, + "start": 15619, + "end": 15620, "loc": { "start": { - "line": 442, + "line": 447, "column": 44 }, "end": { - "line": 442, + "line": 447, "column": 45 } } @@ -147302,15 +148914,15 @@ "binop": null }, "value": "volume", - "start": 15411, - "end": 15417, + "start": 15621, + "end": 15627, "loc": { "start": { - "line": 442, + "line": 447, "column": 46 }, "end": { - "line": 442, + "line": 447, "column": 52 } } @@ -147327,15 +148939,15 @@ "postfix": false, "binop": null }, - "start": 15417, - "end": 15418, + "start": 15627, + "end": 15628, "loc": { "start": { - "line": 442, + "line": 447, "column": 52 }, "end": { - "line": 442, + "line": 447, "column": 53 } } @@ -147353,15 +148965,15 @@ "binop": null, "updateContext": null }, - "start": 15418, - "end": 15419, + "start": 15628, + "end": 15629, "loc": { "start": { - "line": 442, + "line": 447, "column": 53 }, "end": { - "line": 442, + "line": 447, "column": 54 } } @@ -147369,15 +148981,15 @@ { "type": "CommentLine", "value": " update player volume", - "start": 15433, - "end": 15456, + "start": 15643, + "end": 15666, "loc": { "start": { - "line": 444, + "line": 449, "column": 12 }, "end": { - "line": 444, + "line": 449, "column": 35 } } @@ -147397,15 +149009,15 @@ "updateContext": null }, "value": "this", - "start": 15469, - "end": 15473, + "start": 15679, + "end": 15683, "loc": { "start": { - "line": 445, + "line": 450, "column": 12 }, "end": { - "line": 445, + "line": 450, "column": 16 } } @@ -147423,15 +149035,15 @@ "binop": null, "updateContext": null }, - "start": 15473, - "end": 15474, + "start": 15683, + "end": 15684, "loc": { "start": { - "line": 445, + "line": 450, "column": 16 }, "end": { - "line": 445, + "line": 450, "column": 17 } } @@ -147449,15 +149061,15 @@ "binop": null }, "value": "player", - "start": 15474, - "end": 15480, + "start": 15684, + "end": 15690, "loc": { "start": { - "line": 445, + "line": 450, "column": 17 }, "end": { - "line": 445, + "line": 450, "column": 23 } } @@ -147475,15 +149087,15 @@ "binop": null, "updateContext": null }, - "start": 15480, - "end": 15481, + "start": 15690, + "end": 15691, "loc": { "start": { - "line": 445, + "line": 450, "column": 23 }, "end": { - "line": 445, + "line": 450, "column": 24 } } @@ -147501,15 +149113,15 @@ "binop": null }, "value": "volume", - "start": 15481, - "end": 15487, + "start": 15691, + "end": 15697, "loc": { "start": { - "line": 445, + "line": 450, "column": 24 }, "end": { - "line": 445, + "line": 450, "column": 30 } } @@ -147526,15 +149138,15 @@ "postfix": false, "binop": null }, - "start": 15487, - "end": 15488, + "start": 15697, + "end": 15698, "loc": { "start": { - "line": 445, + "line": 450, "column": 30 }, "end": { - "line": 445, + "line": 450, "column": 31 } } @@ -147552,15 +149164,15 @@ "binop": null }, "value": "volume", - "start": 15488, - "end": 15494, + "start": 15698, + "end": 15704, "loc": { "start": { - "line": 445, + "line": 450, "column": 31 }, "end": { - "line": 445, + "line": 450, "column": 37 } } @@ -147577,15 +149189,15 @@ "postfix": false, "binop": null }, - "start": 15494, - "end": 15495, + "start": 15704, + "end": 15705, "loc": { "start": { - "line": 445, + "line": 450, "column": 37 }, "end": { - "line": 445, + "line": 450, "column": 38 } } @@ -147603,15 +149215,15 @@ "binop": null, "updateContext": null }, - "start": 15495, - "end": 15496, + "start": 15705, + "end": 15706, "loc": { "start": { - "line": 445, + "line": 450, "column": 38 }, "end": { - "line": 445, + "line": 450, "column": 39 } } @@ -147628,15 +149240,15 @@ "postfix": false, "binop": null }, - "start": 15505, - "end": 15506, + "start": 15715, + "end": 15716, "loc": { "start": { - "line": 446, + "line": 451, "column": 8 }, "end": { - "line": 446, + "line": 451, "column": 9 } } @@ -147653,15 +149265,15 @@ "postfix": false, "binop": null }, - "start": 15511, - "end": 15512, + "start": 15721, + "end": 15722, "loc": { "start": { - "line": 447, + "line": 452, "column": 4 }, "end": { - "line": 447, + "line": 452, "column": 5 } } @@ -147669,15 +149281,15 @@ { "type": "CommentBlock", "value": "*\n * Save waveform image as data URI.\n *\n * The default format is `'image/png'`. Other supported types are\n * `'image/jpeg'` and `'image/webp'`.\n *\n * @param {string} format='image/png' A string indicating the image format.\n * The default format type is `'image/png'`.\n * @param {number} quality=1 A number between 0 and 1 indicating the image\n * quality to use for image formats that use lossy compression such as\n * `'image/jpeg'`` and `'image/webp'`.\n * @param {string} type Image data type to return. Either 'blob' (default)\n * or 'dataURL'.\n * @return {string|string[]|Promise} When using `'dataURL'` `type` this returns\n * a single data URL or an array of data URLs, one for each canvas. The `'blob'`\n * `type` returns a `Promise` resolving with an array of `Blob` instances, one\n * for each canvas.\n ", - "start": 15518, - "end": 16397, + "start": 15728, + "end": 16607, "loc": { "start": { - "line": 449, + "line": 454, "column": 4 }, "end": { - "line": 466, + "line": 471, "column": 7 } } @@ -147695,15 +149307,15 @@ "binop": null }, "value": "exportImage", - "start": 16402, - "end": 16413, + "start": 16612, + "end": 16623, "loc": { "start": { - "line": 467, + "line": 472, "column": 4 }, "end": { - "line": 467, + "line": 472, "column": 15 } } @@ -147720,15 +149332,15 @@ "postfix": false, "binop": null }, - "start": 16413, - "end": 16414, + "start": 16623, + "end": 16624, "loc": { "start": { - "line": 467, + "line": 472, "column": 15 }, "end": { - "line": 467, + "line": 472, "column": 16 } } @@ -147746,15 +149358,15 @@ "binop": null }, "value": "format", - "start": 16414, - "end": 16420, + "start": 16624, + "end": 16630, "loc": { "start": { - "line": 467, + "line": 472, "column": 16 }, "end": { - "line": 467, + "line": 472, "column": 22 } } @@ -147772,15 +149384,15 @@ "binop": null, "updateContext": null }, - "start": 16420, - "end": 16421, + "start": 16630, + "end": 16631, "loc": { "start": { - "line": 467, + "line": 472, "column": 22 }, "end": { - "line": 467, + "line": 472, "column": 23 } } @@ -147798,15 +149410,15 @@ "binop": null }, "value": "quality", - "start": 16422, - "end": 16429, + "start": 16632, + "end": 16639, "loc": { "start": { - "line": 467, + "line": 472, "column": 24 }, "end": { - "line": 467, + "line": 472, "column": 31 } } @@ -147824,15 +149436,15 @@ "binop": null, "updateContext": null }, - "start": 16429, - "end": 16430, + "start": 16639, + "end": 16640, "loc": { "start": { - "line": 467, + "line": 472, "column": 31 }, "end": { - "line": 467, + "line": 472, "column": 32 } } @@ -147850,15 +149462,15 @@ "binop": null }, "value": "type", - "start": 16431, - "end": 16435, + "start": 16641, + "end": 16645, "loc": { "start": { - "line": 467, + "line": 472, "column": 33 }, "end": { - "line": 467, + "line": 472, "column": 37 } } @@ -147877,15 +149489,15 @@ "updateContext": null }, "value": "=", - "start": 16436, - "end": 16437, + "start": 16646, + "end": 16647, "loc": { "start": { - "line": 467, + "line": 472, "column": 38 }, "end": { - "line": 467, + "line": 472, "column": 39 } } @@ -147904,15 +149516,15 @@ "updateContext": null }, "value": "blob", - "start": 16438, - "end": 16444, + "start": 16648, + "end": 16654, "loc": { "start": { - "line": 467, + "line": 472, "column": 40 }, "end": { - "line": 467, + "line": 472, "column": 46 } } @@ -147929,15 +149541,15 @@ "postfix": false, "binop": null }, - "start": 16444, - "end": 16445, + "start": 16654, + "end": 16655, "loc": { "start": { - "line": 467, + "line": 472, "column": 46 }, "end": { - "line": 467, + "line": 472, "column": 47 } } @@ -147954,15 +149566,15 @@ "postfix": false, "binop": null }, - "start": 16446, - "end": 16447, + "start": 16656, + "end": 16657, "loc": { "start": { - "line": 467, + "line": 472, "column": 48 }, "end": { - "line": 467, + "line": 472, "column": 49 } } @@ -147982,15 +149594,15 @@ "updateContext": null }, "value": "return", - "start": 16456, - "end": 16462, + "start": 16666, + "end": 16672, "loc": { "start": { - "line": 468, + "line": 473, "column": 8 }, "end": { - "line": 468, + "line": 473, "column": 14 } } @@ -148010,15 +149622,15 @@ "updateContext": null }, "value": "this", - "start": 16463, - "end": 16467, + "start": 16673, + "end": 16677, "loc": { "start": { - "line": 468, + "line": 473, "column": 15 }, "end": { - "line": 468, + "line": 473, "column": 19 } } @@ -148036,15 +149648,15 @@ "binop": null, "updateContext": null }, - "start": 16467, - "end": 16468, + "start": 16677, + "end": 16678, "loc": { "start": { - "line": 468, + "line": 473, "column": 19 }, "end": { - "line": 468, + "line": 473, "column": 20 } } @@ -148062,15 +149674,15 @@ "binop": null }, "value": "surfer", - "start": 16468, - "end": 16474, + "start": 16678, + "end": 16684, "loc": { "start": { - "line": 468, + "line": 473, "column": 20 }, "end": { - "line": 468, + "line": 473, "column": 26 } } @@ -148088,15 +149700,15 @@ "binop": null, "updateContext": null }, - "start": 16474, - "end": 16475, + "start": 16684, + "end": 16685, "loc": { "start": { - "line": 468, + "line": 473, "column": 26 }, "end": { - "line": 468, + "line": 473, "column": 27 } } @@ -148114,15 +149726,15 @@ "binop": null }, "value": "exportImage", - "start": 16475, - "end": 16486, + "start": 16685, + "end": 16696, "loc": { "start": { - "line": 468, + "line": 473, "column": 27 }, "end": { - "line": 468, + "line": 473, "column": 38 } } @@ -148139,15 +149751,15 @@ "postfix": false, "binop": null }, - "start": 16486, - "end": 16487, + "start": 16696, + "end": 16697, "loc": { "start": { - "line": 468, + "line": 473, "column": 38 }, "end": { - "line": 468, + "line": 473, "column": 39 } } @@ -148165,15 +149777,15 @@ "binop": null }, "value": "format", - "start": 16487, - "end": 16493, + "start": 16697, + "end": 16703, "loc": { "start": { - "line": 468, + "line": 473, "column": 39 }, "end": { - "line": 468, + "line": 473, "column": 45 } } @@ -148191,15 +149803,15 @@ "binop": null, "updateContext": null }, - "start": 16493, - "end": 16494, + "start": 16703, + "end": 16704, "loc": { "start": { - "line": 468, + "line": 473, "column": 45 }, "end": { - "line": 468, + "line": 473, "column": 46 } } @@ -148217,15 +149829,15 @@ "binop": null }, "value": "quality", - "start": 16495, - "end": 16502, + "start": 16705, + "end": 16712, "loc": { "start": { - "line": 468, + "line": 473, "column": 47 }, "end": { - "line": 468, + "line": 473, "column": 54 } } @@ -148243,15 +149855,15 @@ "binop": null, "updateContext": null }, - "start": 16502, - "end": 16503, + "start": 16712, + "end": 16713, "loc": { "start": { - "line": 468, + "line": 473, "column": 54 }, "end": { - "line": 468, + "line": 473, "column": 55 } } @@ -148269,15 +149881,15 @@ "binop": null }, "value": "type", - "start": 16504, - "end": 16508, + "start": 16714, + "end": 16718, "loc": { "start": { - "line": 468, + "line": 473, "column": 56 }, "end": { - "line": 468, + "line": 473, "column": 60 } } @@ -148294,15 +149906,15 @@ "postfix": false, "binop": null }, - "start": 16508, - "end": 16509, + "start": 16718, + "end": 16719, "loc": { "start": { - "line": 468, + "line": 473, "column": 60 }, "end": { - "line": 468, + "line": 473, "column": 61 } } @@ -148320,15 +149932,15 @@ "binop": null, "updateContext": null }, - "start": 16509, - "end": 16510, + "start": 16719, + "end": 16720, "loc": { "start": { - "line": 468, + "line": 473, "column": 61 }, "end": { - "line": 468, + "line": 473, "column": 62 } } @@ -148345,15 +149957,15 @@ "postfix": false, "binop": null }, - "start": 16515, - "end": 16516, + "start": 16725, + "end": 16726, "loc": { "start": { - "line": 469, + "line": 474, "column": 4 }, "end": { - "line": 469, + "line": 474, "column": 5 } } @@ -148361,15 +149973,15 @@ { "type": "CommentBlock", "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", - "start": 16522, - "end": 16640, + "start": 16732, + "end": 16850, "loc": { "start": { - "line": 471, + "line": 476, "column": 4 }, "end": { - "line": 475, + "line": 480, "column": 7 } } @@ -148387,15 +149999,15 @@ "binop": null }, "value": "setAudioOutput", - "start": 16645, - "end": 16659, + "start": 16855, + "end": 16869, "loc": { "start": { - "line": 476, + "line": 481, "column": 4 }, "end": { - "line": 476, + "line": 481, "column": 18 } } @@ -148412,15 +150024,15 @@ "postfix": false, "binop": null }, - "start": 16659, - "end": 16660, + "start": 16869, + "end": 16870, "loc": { "start": { - "line": 476, + "line": 481, "column": 18 }, "end": { - "line": 476, + "line": 481, "column": 19 } } @@ -148438,15 +150050,15 @@ "binop": null }, "value": "deviceId", - "start": 16660, - "end": 16668, + "start": 16870, + "end": 16878, "loc": { "start": { - "line": 476, + "line": 481, "column": 19 }, "end": { - "line": 476, + "line": 481, "column": 27 } } @@ -148463,15 +150075,15 @@ "postfix": false, "binop": null }, - "start": 16668, - "end": 16669, + "start": 16878, + "end": 16879, "loc": { "start": { - "line": 476, + "line": 481, "column": 27 }, "end": { - "line": 476, + "line": 481, "column": 28 } } @@ -148488,15 +150100,15 @@ "postfix": false, "binop": null }, - "start": 16670, - "end": 16671, + "start": 16880, + "end": 16881, "loc": { "start": { - "line": 476, + "line": 481, "column": 29 }, "end": { - "line": 476, + "line": 481, "column": 30 } } @@ -148516,15 +150128,15 @@ "updateContext": null }, "value": "if", - "start": 16680, - "end": 16682, + "start": 16890, + "end": 16892, "loc": { "start": { - "line": 477, + "line": 482, "column": 8 }, "end": { - "line": 477, + "line": 482, "column": 10 } } @@ -148541,15 +150153,15 @@ "postfix": false, "binop": null }, - "start": 16683, - "end": 16684, + "start": 16893, + "end": 16894, "loc": { "start": { - "line": 477, + "line": 482, "column": 11 }, "end": { - "line": 477, + "line": 482, "column": 12 } } @@ -148567,15 +150179,15 @@ "binop": null }, "value": "deviceId", - "start": 16684, - "end": 16692, + "start": 16894, + "end": 16902, "loc": { "start": { - "line": 477, + "line": 482, "column": 12 }, "end": { - "line": 477, + "line": 482, "column": 20 } } @@ -148592,15 +150204,15 @@ "postfix": false, "binop": null }, - "start": 16692, - "end": 16693, + "start": 16902, + "end": 16903, "loc": { "start": { - "line": 477, + "line": 482, "column": 20 }, "end": { - "line": 477, + "line": 482, "column": 21 } } @@ -148617,15 +150229,15 @@ "postfix": false, "binop": null }, - "start": 16694, - "end": 16695, + "start": 16904, + "end": 16905, "loc": { "start": { - "line": 477, + "line": 482, "column": 22 }, "end": { - "line": 477, + "line": 482, "column": 23 } } @@ -148645,15 +150257,15 @@ "updateContext": null }, "value": "this", - "start": 16708, - "end": 16712, + "start": 16918, + "end": 16922, "loc": { "start": { - "line": 478, + "line": 483, "column": 12 }, "end": { - "line": 478, + "line": 483, "column": 16 } } @@ -148671,15 +150283,15 @@ "binop": null, "updateContext": null }, - "start": 16712, - "end": 16713, + "start": 16922, + "end": 16923, "loc": { "start": { - "line": 478, + "line": 483, "column": 16 }, "end": { - "line": 478, + "line": 483, "column": 17 } } @@ -148697,15 +150309,15 @@ "binop": null }, "value": "surfer", - "start": 16713, - "end": 16719, + "start": 16923, + "end": 16929, "loc": { "start": { - "line": 478, + "line": 483, "column": 17 }, "end": { - "line": 478, + "line": 483, "column": 23 } } @@ -148723,15 +150335,15 @@ "binop": null, "updateContext": null }, - "start": 16719, - "end": 16720, + "start": 16929, + "end": 16930, "loc": { "start": { - "line": 478, + "line": 483, "column": 23 }, "end": { - "line": 478, + "line": 483, "column": 24 } } @@ -148749,15 +150361,15 @@ "binop": null }, "value": "setSinkId", - "start": 16720, - "end": 16729, + "start": 16930, + "end": 16939, "loc": { "start": { - "line": 478, + "line": 483, "column": 24 }, "end": { - "line": 478, + "line": 483, "column": 33 } } @@ -148774,15 +150386,15 @@ "postfix": false, "binop": null }, - "start": 16729, - "end": 16730, + "start": 16939, + "end": 16940, "loc": { "start": { - "line": 478, + "line": 483, "column": 33 }, "end": { - "line": 478, + "line": 483, "column": 34 } } @@ -148800,15 +150412,15 @@ "binop": null }, "value": "deviceId", - "start": 16730, - "end": 16738, + "start": 16940, + "end": 16948, "loc": { "start": { - "line": 478, + "line": 483, "column": 34 }, "end": { - "line": 478, + "line": 483, "column": 42 } } @@ -148825,15 +150437,15 @@ "postfix": false, "binop": null }, - "start": 16738, - "end": 16739, + "start": 16948, + "end": 16949, "loc": { "start": { - "line": 478, + "line": 483, "column": 42 }, "end": { - "line": 478, + "line": 483, "column": 43 } } @@ -148851,15 +150463,15 @@ "binop": null, "updateContext": null }, - "start": 16739, - "end": 16740, + "start": 16949, + "end": 16950, "loc": { "start": { - "line": 478, + "line": 483, "column": 43 }, "end": { - "line": 478, + "line": 483, "column": 44 } } @@ -148877,15 +150489,15 @@ "binop": null }, "value": "then", - "start": 16740, - "end": 16744, + "start": 16950, + "end": 16954, "loc": { "start": { - "line": 478, + "line": 483, "column": 44 }, "end": { - "line": 478, + "line": 483, "column": 48 } } @@ -148902,15 +150514,15 @@ "postfix": false, "binop": null }, - "start": 16744, - "end": 16745, + "start": 16954, + "end": 16955, "loc": { "start": { - "line": 478, + "line": 483, "column": 48 }, "end": { - "line": 478, + "line": 483, "column": 49 } } @@ -148927,15 +150539,15 @@ "postfix": false, "binop": null }, - "start": 16745, - "end": 16746, + "start": 16955, + "end": 16956, "loc": { "start": { - "line": 478, + "line": 483, "column": 49 }, "end": { - "line": 478, + "line": 483, "column": 50 } } @@ -148953,15 +150565,15 @@ "binop": null }, "value": "result", - "start": 16746, - "end": 16752, + "start": 16956, + "end": 16962, "loc": { "start": { - "line": 478, + "line": 483, "column": 50 }, "end": { - "line": 478, + "line": 483, "column": 56 } } @@ -148978,15 +150590,15 @@ "postfix": false, "binop": null }, - "start": 16752, - "end": 16753, + "start": 16962, + "end": 16963, "loc": { "start": { - "line": 478, + "line": 483, "column": 56 }, "end": { - "line": 478, + "line": 483, "column": 57 } } @@ -149004,15 +150616,15 @@ "binop": null, "updateContext": null }, - "start": 16754, - "end": 16756, + "start": 16964, + "end": 16966, "loc": { "start": { - "line": 478, + "line": 483, "column": 58 }, "end": { - "line": 478, + "line": 483, "column": 60 } } @@ -149029,15 +150641,15 @@ "postfix": false, "binop": null }, - "start": 16757, - "end": 16758, + "start": 16967, + "end": 16968, "loc": { "start": { - "line": 478, + "line": 483, "column": 61 }, "end": { - "line": 478, + "line": 483, "column": 62 } } @@ -149045,15 +150657,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16775, - "end": 16794, + "start": 16985, + "end": 17004, "loc": { "start": { - "line": 479, + "line": 484, "column": 16 }, "end": { - "line": 479, + "line": 484, "column": 35 } } @@ -149073,15 +150685,15 @@ "updateContext": null }, "value": "this", - "start": 16811, - "end": 16815, + "start": 17021, + "end": 17025, "loc": { "start": { - "line": 480, + "line": 485, "column": 16 }, "end": { - "line": 480, + "line": 485, "column": 20 } } @@ -149099,15 +150711,15 @@ "binop": null, "updateContext": null }, - "start": 16815, - "end": 16816, + "start": 17025, + "end": 17026, "loc": { "start": { - "line": 480, + "line": 485, "column": 20 }, "end": { - "line": 480, + "line": 485, "column": 21 } } @@ -149125,15 +150737,15 @@ "binop": null }, "value": "player", - "start": 16816, - "end": 16822, + "start": 17026, + "end": 17032, "loc": { "start": { - "line": 480, + "line": 485, "column": 21 }, "end": { - "line": 480, + "line": 485, "column": 27 } } @@ -149151,15 +150763,15 @@ "binop": null, "updateContext": null }, - "start": 16822, - "end": 16823, + "start": 17032, + "end": 17033, "loc": { "start": { - "line": 480, + "line": 485, "column": 27 }, "end": { - "line": 480, + "line": 485, "column": 28 } } @@ -149177,15 +150789,15 @@ "binop": null }, "value": "trigger", - "start": 16823, - "end": 16830, + "start": 17033, + "end": 17040, "loc": { "start": { - "line": 480, + "line": 485, "column": 28 }, "end": { - "line": 480, + "line": 485, "column": 35 } } @@ -149202,15 +150814,15 @@ "postfix": false, "binop": null }, - "start": 16830, - "end": 16831, + "start": 17040, + "end": 17041, "loc": { "start": { - "line": 480, + "line": 485, "column": 35 }, "end": { - "line": 480, + "line": 485, "column": 36 } } @@ -149228,15 +150840,15 @@ "binop": null }, "value": "Event", - "start": 16831, - "end": 16836, + "start": 17041, + "end": 17046, "loc": { "start": { - "line": 480, + "line": 485, "column": 36 }, "end": { - "line": 480, + "line": 485, "column": 41 } } @@ -149254,15 +150866,15 @@ "binop": null, "updateContext": null }, - "start": 16836, - "end": 16837, + "start": 17046, + "end": 17047, "loc": { "start": { - "line": 480, + "line": 485, "column": 41 }, "end": { - "line": 480, + "line": 485, "column": 42 } } @@ -149280,15 +150892,15 @@ "binop": null }, "value": "AUDIO_OUTPUT_READY", - "start": 16837, - "end": 16855, + "start": 17047, + "end": 17065, "loc": { "start": { - "line": 480, + "line": 485, "column": 42 }, "end": { - "line": 480, + "line": 485, "column": 60 } } @@ -149305,15 +150917,15 @@ "postfix": false, "binop": null }, - "start": 16855, - "end": 16856, + "start": 17065, + "end": 17066, "loc": { "start": { - "line": 480, + "line": 485, "column": 60 }, "end": { - "line": 480, + "line": 485, "column": 61 } } @@ -149331,15 +150943,15 @@ "binop": null, "updateContext": null }, - "start": 16856, - "end": 16857, + "start": 17066, + "end": 17067, "loc": { "start": { - "line": 480, + "line": 485, "column": 61 }, "end": { - "line": 480, + "line": 485, "column": 62 } } @@ -149356,15 +150968,15 @@ "postfix": false, "binop": null }, - "start": 16870, - "end": 16871, + "start": 17080, + "end": 17081, "loc": { "start": { - "line": 481, + "line": 486, "column": 12 }, "end": { - "line": 481, + "line": 486, "column": 13 } } @@ -149381,15 +150993,15 @@ "postfix": false, "binop": null }, - "start": 16871, - "end": 16872, + "start": 17081, + "end": 17082, "loc": { "start": { - "line": 481, + "line": 486, "column": 13 }, "end": { - "line": 481, + "line": 486, "column": 14 } } @@ -149407,15 +151019,15 @@ "binop": null, "updateContext": null }, - "start": 16872, - "end": 16873, + "start": 17082, + "end": 17083, "loc": { "start": { - "line": 481, + "line": 486, "column": 14 }, "end": { - "line": 481, + "line": 486, "column": 15 } } @@ -149435,15 +151047,15 @@ "updateContext": null }, "value": "catch", - "start": 16873, - "end": 16878, + "start": 17083, + "end": 17088, "loc": { "start": { - "line": 481, + "line": 486, "column": 15 }, "end": { - "line": 481, + "line": 486, "column": 20 } } @@ -149460,15 +151072,15 @@ "postfix": false, "binop": null }, - "start": 16878, - "end": 16879, + "start": 17088, + "end": 17089, "loc": { "start": { - "line": 481, + "line": 486, "column": 20 }, "end": { - "line": 481, + "line": 486, "column": 21 } } @@ -149485,15 +151097,15 @@ "postfix": false, "binop": null }, - "start": 16879, - "end": 16880, + "start": 17089, + "end": 17090, "loc": { "start": { - "line": 481, + "line": 486, "column": 21 }, "end": { - "line": 481, + "line": 486, "column": 22 } } @@ -149511,15 +151123,15 @@ "binop": null }, "value": "err", - "start": 16880, - "end": 16883, + "start": 17090, + "end": 17093, "loc": { "start": { - "line": 481, + "line": 486, "column": 22 }, "end": { - "line": 481, + "line": 486, "column": 25 } } @@ -149536,15 +151148,15 @@ "postfix": false, "binop": null }, - "start": 16883, - "end": 16884, + "start": 17093, + "end": 17094, "loc": { "start": { - "line": 481, + "line": 486, "column": 25 }, "end": { - "line": 481, + "line": 486, "column": 26 } } @@ -149562,15 +151174,15 @@ "binop": null, "updateContext": null }, - "start": 16885, - "end": 16887, + "start": 17095, + "end": 17097, "loc": { "start": { - "line": 481, + "line": 486, "column": 27 }, "end": { - "line": 481, + "line": 486, "column": 29 } } @@ -149587,15 +151199,15 @@ "postfix": false, "binop": null }, - "start": 16888, - "end": 16889, + "start": 17098, + "end": 17099, "loc": { "start": { - "line": 481, + "line": 486, "column": 30 }, "end": { - "line": 481, + "line": 486, "column": 31 } } @@ -149603,15 +151215,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16906, - "end": 16925, + "start": 17116, + "end": 17135, "loc": { "start": { - "line": 482, + "line": 487, "column": 16 }, "end": { - "line": 482, + "line": 487, "column": 35 } } @@ -149631,15 +151243,15 @@ "updateContext": null }, "value": "this", - "start": 16942, - "end": 16946, + "start": 17152, + "end": 17156, "loc": { "start": { - "line": 483, + "line": 488, "column": 16 }, "end": { - "line": 483, + "line": 488, "column": 20 } } @@ -149657,15 +151269,15 @@ "binop": null, "updateContext": null }, - "start": 16946, - "end": 16947, + "start": 17156, + "end": 17157, "loc": { "start": { - "line": 483, + "line": 488, "column": 20 }, "end": { - "line": 483, + "line": 488, "column": 21 } } @@ -149683,15 +151295,15 @@ "binop": null }, "value": "player", - "start": 16947, - "end": 16953, + "start": 17157, + "end": 17163, "loc": { "start": { - "line": 483, + "line": 488, "column": 21 }, "end": { - "line": 483, + "line": 488, "column": 27 } } @@ -149709,15 +151321,15 @@ "binop": null, "updateContext": null }, - "start": 16953, - "end": 16954, + "start": 17163, + "end": 17164, "loc": { "start": { - "line": 483, + "line": 488, "column": 27 }, "end": { - "line": 483, + "line": 488, "column": 28 } } @@ -149735,15 +151347,15 @@ "binop": null }, "value": "trigger", - "start": 16954, - "end": 16961, + "start": 17164, + "end": 17171, "loc": { "start": { - "line": 483, + "line": 488, "column": 28 }, "end": { - "line": 483, + "line": 488, "column": 35 } } @@ -149760,15 +151372,15 @@ "postfix": false, "binop": null }, - "start": 16961, - "end": 16962, + "start": 17171, + "end": 17172, "loc": { "start": { - "line": 483, + "line": 488, "column": 35 }, "end": { - "line": 483, + "line": 488, "column": 36 } } @@ -149786,15 +151398,15 @@ "binop": null }, "value": "Event", - "start": 16962, - "end": 16967, + "start": 17172, + "end": 17177, "loc": { "start": { - "line": 483, + "line": 488, "column": 36 }, "end": { - "line": 483, + "line": 488, "column": 41 } } @@ -149812,15 +151424,15 @@ "binop": null, "updateContext": null }, - "start": 16967, - "end": 16968, + "start": 17177, + "end": 17178, "loc": { "start": { - "line": 483, + "line": 488, "column": 41 }, "end": { - "line": 483, + "line": 488, "column": 42 } } @@ -149838,15 +151450,15 @@ "binop": null }, "value": "ERROR", - "start": 16968, - "end": 16973, + "start": 17178, + "end": 17183, "loc": { "start": { - "line": 483, + "line": 488, "column": 42 }, "end": { - "line": 483, + "line": 488, "column": 47 } } @@ -149864,15 +151476,15 @@ "binop": null, "updateContext": null }, - "start": 16973, - "end": 16974, + "start": 17183, + "end": 17184, "loc": { "start": { - "line": 483, + "line": 488, "column": 47 }, "end": { - "line": 483, + "line": 488, "column": 48 } } @@ -149890,15 +151502,15 @@ "binop": null }, "value": "err", - "start": 16975, - "end": 16978, + "start": 17185, + "end": 17188, "loc": { "start": { - "line": 483, + "line": 488, "column": 49 }, "end": { - "line": 483, + "line": 488, "column": 52 } } @@ -149915,15 +151527,15 @@ "postfix": false, "binop": null }, - "start": 16978, - "end": 16979, + "start": 17188, + "end": 17189, "loc": { "start": { - "line": 483, + "line": 488, "column": 52 }, "end": { - "line": 483, + "line": 488, "column": 53 } } @@ -149941,15 +151553,15 @@ "binop": null, "updateContext": null }, - "start": 16979, - "end": 16980, + "start": 17189, + "end": 17190, "loc": { "start": { - "line": 483, + "line": 488, "column": 53 }, "end": { - "line": 483, + "line": 488, "column": 54 } } @@ -149969,15 +151581,15 @@ "updateContext": null }, "value": "this", - "start": 16998, - "end": 17002, + "start": 17208, + "end": 17212, "loc": { "start": { - "line": 485, + "line": 490, "column": 16 }, "end": { - "line": 485, + "line": 490, "column": 20 } } @@ -149995,15 +151607,15 @@ "binop": null, "updateContext": null }, - "start": 17002, - "end": 17003, + "start": 17212, + "end": 17213, "loc": { "start": { - "line": 485, + "line": 490, "column": 20 }, "end": { - "line": 485, + "line": 490, "column": 21 } } @@ -150021,15 +151633,15 @@ "binop": null }, "value": "log", - "start": 17003, - "end": 17006, + "start": 17213, + "end": 17216, "loc": { "start": { - "line": 485, + "line": 490, "column": 21 }, "end": { - "line": 485, + "line": 490, "column": 24 } } @@ -150046,15 +151658,15 @@ "postfix": false, "binop": null }, - "start": 17006, - "end": 17007, + "start": 17216, + "end": 17217, "loc": { "start": { - "line": 485, + "line": 490, "column": 24 }, "end": { - "line": 485, + "line": 490, "column": 25 } } @@ -150072,15 +151684,15 @@ "binop": null }, "value": "err", - "start": 17007, - "end": 17010, + "start": 17217, + "end": 17220, "loc": { "start": { - "line": 485, + "line": 490, "column": 25 }, "end": { - "line": 485, + "line": 490, "column": 28 } } @@ -150098,15 +151710,15 @@ "binop": null, "updateContext": null }, - "start": 17010, - "end": 17011, + "start": 17220, + "end": 17221, "loc": { "start": { - "line": 485, + "line": 490, "column": 28 }, "end": { - "line": 485, + "line": 490, "column": 29 } } @@ -150125,15 +151737,15 @@ "updateContext": null }, "value": "error", - "start": 17012, - "end": 17019, + "start": 17222, + "end": 17229, "loc": { "start": { - "line": 485, + "line": 490, "column": 30 }, "end": { - "line": 485, + "line": 490, "column": 37 } } @@ -150150,15 +151762,15 @@ "postfix": false, "binop": null }, - "start": 17019, - "end": 17020, + "start": 17229, + "end": 17230, "loc": { "start": { - "line": 485, + "line": 490, "column": 37 }, "end": { - "line": 485, + "line": 490, "column": 38 } } @@ -150176,15 +151788,15 @@ "binop": null, "updateContext": null }, - "start": 17020, - "end": 17021, + "start": 17230, + "end": 17231, "loc": { "start": { - "line": 485, + "line": 490, "column": 38 }, "end": { - "line": 485, + "line": 490, "column": 39 } } @@ -150201,15 +151813,15 @@ "postfix": false, "binop": null }, - "start": 17034, - "end": 17035, + "start": 17244, + "end": 17245, "loc": { "start": { - "line": 486, + "line": 491, "column": 12 }, "end": { - "line": 486, + "line": 491, "column": 13 } } @@ -150226,15 +151838,15 @@ "postfix": false, "binop": null }, - "start": 17035, - "end": 17036, + "start": 17245, + "end": 17246, "loc": { "start": { - "line": 486, + "line": 491, "column": 13 }, "end": { - "line": 486, + "line": 491, "column": 14 } } @@ -150252,15 +151864,15 @@ "binop": null, "updateContext": null }, - "start": 17036, - "end": 17037, + "start": 17246, + "end": 17247, "loc": { "start": { - "line": 486, + "line": 491, "column": 14 }, "end": { - "line": 486, + "line": 491, "column": 15 } } @@ -150277,15 +151889,15 @@ "postfix": false, "binop": null }, - "start": 17046, - "end": 17047, + "start": 17256, + "end": 17257, "loc": { "start": { - "line": 487, + "line": 492, "column": 8 }, "end": { - "line": 487, + "line": 492, "column": 9 } } @@ -150302,15 +151914,15 @@ "postfix": false, "binop": null }, - "start": 17052, - "end": 17053, + "start": 17262, + "end": 17263, "loc": { "start": { - "line": 488, + "line": 493, "column": 4 }, "end": { - "line": 488, + "line": 493, "column": 5 } } @@ -150318,15 +151930,15 @@ { "type": "CommentBlock", "value": "*\n * Get the current time (in seconds) of the stream during playback.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Current time of the stream.\n ", - "start": 17059, - "end": 17258, + "start": 17269, + "end": 17468, "loc": { "start": { - "line": 490, + "line": 495, "column": 4 }, "end": { - "line": 496, + "line": 501, "column": 7 } } @@ -150344,15 +151956,15 @@ "binop": null }, "value": "getCurrentTime", - "start": 17263, - "end": 17277, + "start": 17473, + "end": 17487, "loc": { "start": { - "line": 497, + "line": 502, "column": 4 }, "end": { - "line": 497, + "line": 502, "column": 18 } } @@ -150369,15 +151981,15 @@ "postfix": false, "binop": null }, - "start": 17277, - "end": 17278, + "start": 17487, + "end": 17488, "loc": { "start": { - "line": 497, + "line": 502, "column": 18 }, "end": { - "line": 497, + "line": 502, "column": 19 } } @@ -150394,15 +152006,15 @@ "postfix": false, "binop": null }, - "start": 17278, - "end": 17279, + "start": 17488, + "end": 17489, "loc": { "start": { - "line": 497, + "line": 502, "column": 19 }, "end": { - "line": 497, + "line": 502, "column": 20 } } @@ -150419,15 +152031,15 @@ "postfix": false, "binop": null }, - "start": 17280, - "end": 17281, + "start": 17490, + "end": 17491, "loc": { "start": { - "line": 497, + "line": 502, "column": 21 }, "end": { - "line": 497, + "line": 502, "column": 22 } } @@ -150447,15 +152059,15 @@ "updateContext": null }, "value": "let", - "start": 17290, - "end": 17293, + "start": 17500, + "end": 17503, "loc": { "start": { - "line": 498, + "line": 503, "column": 8 }, "end": { - "line": 498, + "line": 503, "column": 11 } } @@ -150473,15 +152085,15 @@ "binop": null }, "value": "currentTime", - "start": 17294, - "end": 17305, + "start": 17504, + "end": 17515, "loc": { "start": { - "line": 498, + "line": 503, "column": 12 }, "end": { - "line": 498, + "line": 503, "column": 23 } } @@ -150500,15 +152112,15 @@ "updateContext": null }, "value": "=", - "start": 17306, - "end": 17307, + "start": 17516, + "end": 17517, "loc": { "start": { - "line": 498, + "line": 503, "column": 24 }, "end": { - "line": 498, + "line": 503, "column": 25 } } @@ -150528,15 +152140,15 @@ "updateContext": null }, "value": "this", - "start": 17308, - "end": 17312, + "start": 17518, + "end": 17522, "loc": { "start": { - "line": 498, + "line": 503, "column": 26 }, "end": { - "line": 498, + "line": 503, "column": 30 } } @@ -150554,15 +152166,15 @@ "binop": null, "updateContext": null }, - "start": 17312, - "end": 17313, + "start": 17522, + "end": 17523, "loc": { "start": { - "line": 498, + "line": 503, "column": 30 }, "end": { - "line": 498, + "line": 503, "column": 31 } } @@ -150580,15 +152192,15 @@ "binop": null }, "value": "surfer", - "start": 17313, - "end": 17319, + "start": 17523, + "end": 17529, "loc": { "start": { - "line": 498, + "line": 503, "column": 31 }, "end": { - "line": 498, + "line": 503, "column": 37 } } @@ -150606,15 +152218,15 @@ "binop": null, "updateContext": null }, - "start": 17319, - "end": 17320, + "start": 17529, + "end": 17530, "loc": { "start": { - "line": 498, + "line": 503, "column": 37 }, "end": { - "line": 498, + "line": 503, "column": 38 } } @@ -150632,15 +152244,15 @@ "binop": null }, "value": "getCurrentTime", - "start": 17320, - "end": 17334, + "start": 17530, + "end": 17544, "loc": { "start": { - "line": 498, + "line": 503, "column": 38 }, "end": { - "line": 498, + "line": 503, "column": 52 } } @@ -150657,15 +152269,15 @@ "postfix": false, "binop": null }, - "start": 17334, - "end": 17335, + "start": 17544, + "end": 17545, "loc": { "start": { - "line": 498, + "line": 503, "column": 52 }, "end": { - "line": 498, + "line": 503, "column": 53 } } @@ -150682,15 +152294,15 @@ "postfix": false, "binop": null }, - "start": 17335, - "end": 17336, + "start": 17545, + "end": 17546, "loc": { "start": { - "line": 498, + "line": 503, "column": 53 }, "end": { - "line": 498, + "line": 503, "column": 54 } } @@ -150708,15 +152320,15 @@ "binop": null, "updateContext": null }, - "start": 17336, - "end": 17337, + "start": 17546, + "end": 17547, "loc": { "start": { - "line": 498, + "line": 503, "column": 54 }, "end": { - "line": 498, + "line": 503, "column": 55 } } @@ -150734,15 +152346,15 @@ "binop": null }, "value": "currentTime", - "start": 17346, - "end": 17357, + "start": 17556, + "end": 17567, "loc": { "start": { - "line": 499, + "line": 504, "column": 8 }, "end": { - "line": 499, + "line": 504, "column": 19 } } @@ -150761,15 +152373,15 @@ "updateContext": null }, "value": "=", - "start": 17358, - "end": 17359, + "start": 17568, + "end": 17569, "loc": { "start": { - "line": 499, + "line": 504, "column": 20 }, "end": { - "line": 499, + "line": 504, "column": 21 } } @@ -150787,15 +152399,15 @@ "binop": null }, "value": "isNaN", - "start": 17360, - "end": 17365, + "start": 17570, + "end": 17575, "loc": { "start": { - "line": 499, + "line": 504, "column": 22 }, "end": { - "line": 499, + "line": 504, "column": 27 } } @@ -150812,15 +152424,15 @@ "postfix": false, "binop": null }, - "start": 17365, - "end": 17366, + "start": 17575, + "end": 17576, "loc": { "start": { - "line": 499, + "line": 504, "column": 27 }, "end": { - "line": 499, + "line": 504, "column": 28 } } @@ -150838,15 +152450,15 @@ "binop": null }, "value": "currentTime", - "start": 17366, - "end": 17377, + "start": 17576, + "end": 17587, "loc": { "start": { - "line": 499, + "line": 504, "column": 28 }, "end": { - "line": 499, + "line": 504, "column": 39 } } @@ -150863,15 +152475,15 @@ "postfix": false, "binop": null }, - "start": 17377, - "end": 17378, + "start": 17587, + "end": 17588, "loc": { "start": { - "line": 499, + "line": 504, "column": 39 }, "end": { - "line": 499, + "line": 504, "column": 40 } } @@ -150889,15 +152501,15 @@ "binop": null, "updateContext": null }, - "start": 17379, - "end": 17380, + "start": 17589, + "end": 17590, "loc": { "start": { - "line": 499, + "line": 504, "column": 41 }, "end": { - "line": 499, + "line": 504, "column": 42 } } @@ -150916,15 +152528,15 @@ "updateContext": null }, "value": 0, - "start": 17381, - "end": 17382, + "start": 17591, + "end": 17592, "loc": { "start": { - "line": 499, + "line": 504, "column": 43 }, "end": { - "line": 499, + "line": 504, "column": 44 } } @@ -150942,15 +152554,15 @@ "binop": null, "updateContext": null }, - "start": 17383, - "end": 17384, + "start": 17593, + "end": 17594, "loc": { "start": { - "line": 499, + "line": 504, "column": 45 }, "end": { - "line": 499, + "line": 504, "column": 46 } } @@ -150968,15 +152580,15 @@ "binop": null }, "value": "currentTime", - "start": 17385, - "end": 17396, + "start": 17595, + "end": 17606, "loc": { "start": { - "line": 499, + "line": 504, "column": 47 }, "end": { - "line": 499, + "line": 504, "column": 58 } } @@ -150994,15 +152606,15 @@ "binop": null, "updateContext": null }, - "start": 17396, - "end": 17397, + "start": 17606, + "end": 17607, "loc": { "start": { - "line": 499, + "line": 504, "column": 58 }, "end": { - "line": 499, + "line": 504, "column": 59 } } @@ -151022,15 +152634,15 @@ "updateContext": null }, "value": "return", - "start": 17407, - "end": 17413, + "start": 17617, + "end": 17623, "loc": { "start": { - "line": 501, + "line": 506, "column": 8 }, "end": { - "line": 501, + "line": 506, "column": 14 } } @@ -151048,15 +152660,15 @@ "binop": null }, "value": "currentTime", - "start": 17414, - "end": 17425, + "start": 17624, + "end": 17635, "loc": { "start": { - "line": 501, + "line": 506, "column": 15 }, "end": { - "line": 501, + "line": 506, "column": 26 } } @@ -151074,15 +152686,15 @@ "binop": null, "updateContext": null }, - "start": 17425, - "end": 17426, + "start": 17635, + "end": 17636, "loc": { "start": { - "line": 501, + "line": 506, "column": 26 }, "end": { - "line": 501, + "line": 506, "column": 27 } } @@ -151099,15 +152711,15 @@ "postfix": false, "binop": null }, - "start": 17431, - "end": 17432, + "start": 17641, + "end": 17642, "loc": { "start": { - "line": 502, + "line": 507, "column": 4 }, "end": { - "line": 502, + "line": 507, "column": 5 } } @@ -151115,15 +152727,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the current time.\n *\n * @param {number} [currentTime] - Current position of the playhead\n * (in seconds).\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 17438, - "end": 17709, + "start": 17648, + "end": 17919, "loc": { "start": { - "line": 504, + "line": 509, "column": 4 }, "end": { - "line": 511, + "line": 516, "column": 7 } } @@ -151141,15 +152753,15 @@ "binop": null }, "value": "setCurrentTime", - "start": 17714, - "end": 17728, + "start": 17924, + "end": 17938, "loc": { "start": { - "line": 512, + "line": 517, "column": 4 }, "end": { - "line": 512, + "line": 517, "column": 18 } } @@ -151166,15 +152778,15 @@ "postfix": false, "binop": null }, - "start": 17728, - "end": 17729, + "start": 17938, + "end": 17939, "loc": { "start": { - "line": 512, + "line": 517, "column": 18 }, "end": { - "line": 512, + "line": 517, "column": 19 } } @@ -151192,15 +152804,15 @@ "binop": null }, "value": "currentTime", - "start": 17729, - "end": 17740, + "start": 17939, + "end": 17950, "loc": { "start": { - "line": 512, + "line": 517, "column": 19 }, "end": { - "line": 512, + "line": 517, "column": 30 } } @@ -151218,15 +152830,15 @@ "binop": null, "updateContext": null }, - "start": 17740, - "end": 17741, + "start": 17950, + "end": 17951, "loc": { "start": { - "line": 512, + "line": 517, "column": 30 }, "end": { - "line": 512, + "line": 517, "column": 31 } } @@ -151244,15 +152856,15 @@ "binop": null }, "value": "duration", - "start": 17742, - "end": 17750, + "start": 17952, + "end": 17960, "loc": { "start": { - "line": 512, + "line": 517, "column": 32 }, "end": { - "line": 512, + "line": 517, "column": 40 } } @@ -151269,15 +152881,15 @@ "postfix": false, "binop": null }, - "start": 17750, - "end": 17751, + "start": 17960, + "end": 17961, "loc": { "start": { - "line": 512, + "line": 517, "column": 40 }, "end": { - "line": 512, + "line": 517, "column": 41 } } @@ -151294,15 +152906,15 @@ "postfix": false, "binop": null }, - "start": 17752, - "end": 17753, + "start": 17962, + "end": 17963, "loc": { "start": { - "line": 512, + "line": 517, "column": 42 }, "end": { - "line": 512, + "line": 517, "column": 43 } } @@ -151322,15 +152934,15 @@ "updateContext": null }, "value": "if", - "start": 17762, - "end": 17764, + "start": 17972, + "end": 17974, "loc": { "start": { - "line": 513, + "line": 518, "column": 8 }, "end": { - "line": 513, + "line": 518, "column": 10 } } @@ -151347,15 +152959,15 @@ "postfix": false, "binop": null }, - "start": 17765, - "end": 17766, + "start": 17975, + "end": 17976, "loc": { "start": { - "line": 513, + "line": 518, "column": 11 }, "end": { - "line": 513, + "line": 518, "column": 12 } } @@ -151373,15 +152985,15 @@ "binop": null }, "value": "currentTime", - "start": 17766, - "end": 17777, + "start": 17976, + "end": 17987, "loc": { "start": { - "line": 513, + "line": 518, "column": 12 }, "end": { - "line": 513, + "line": 518, "column": 23 } } @@ -151400,15 +153012,15 @@ "updateContext": null }, "value": "===", - "start": 17778, - "end": 17781, + "start": 17988, + "end": 17991, "loc": { "start": { - "line": 513, + "line": 518, "column": 24 }, "end": { - "line": 513, + "line": 518, "column": 27 } } @@ -151426,15 +153038,15 @@ "binop": null }, "value": "undefined", - "start": 17782, - "end": 17791, + "start": 17992, + "end": 18001, "loc": { "start": { - "line": 513, + "line": 518, "column": 28 }, "end": { - "line": 513, + "line": 518, "column": 37 } } @@ -151451,15 +153063,15 @@ "postfix": false, "binop": null }, - "start": 17791, - "end": 17792, + "start": 18001, + "end": 18002, "loc": { "start": { - "line": 513, + "line": 518, "column": 37 }, "end": { - "line": 513, + "line": 518, "column": 38 } } @@ -151476,15 +153088,15 @@ "postfix": false, "binop": null }, - "start": 17793, - "end": 17794, + "start": 18003, + "end": 18004, "loc": { "start": { - "line": 513, + "line": 518, "column": 39 }, "end": { - "line": 513, + "line": 518, "column": 40 } } @@ -151502,15 +153114,15 @@ "binop": null }, "value": "currentTime", - "start": 17807, - "end": 17818, + "start": 18017, + "end": 18028, "loc": { "start": { - "line": 514, + "line": 519, "column": 12 }, "end": { - "line": 514, + "line": 519, "column": 23 } } @@ -151529,15 +153141,15 @@ "updateContext": null }, "value": "=", - "start": 17819, - "end": 17820, + "start": 18029, + "end": 18030, "loc": { "start": { - "line": 514, + "line": 519, "column": 24 }, "end": { - "line": 514, + "line": 519, "column": 25 } } @@ -151557,15 +153169,15 @@ "updateContext": null }, "value": "this", - "start": 17821, - "end": 17825, + "start": 18031, + "end": 18035, "loc": { "start": { - "line": 514, + "line": 519, "column": 26 }, "end": { - "line": 514, + "line": 519, "column": 30 } } @@ -151583,15 +153195,15 @@ "binop": null, "updateContext": null }, - "start": 17825, - "end": 17826, + "start": 18035, + "end": 18036, "loc": { "start": { - "line": 514, + "line": 519, "column": 30 }, "end": { - "line": 514, + "line": 519, "column": 31 } } @@ -151609,15 +153221,15 @@ "binop": null }, "value": "surfer", - "start": 17826, - "end": 17832, + "start": 18036, + "end": 18042, "loc": { "start": { - "line": 514, + "line": 519, "column": 31 }, "end": { - "line": 514, + "line": 519, "column": 37 } } @@ -151635,15 +153247,15 @@ "binop": null, "updateContext": null }, - "start": 17832, - "end": 17833, + "start": 18042, + "end": 18043, "loc": { "start": { - "line": 514, + "line": 519, "column": 37 }, "end": { - "line": 514, + "line": 519, "column": 38 } } @@ -151661,15 +153273,15 @@ "binop": null }, "value": "getCurrentTime", - "start": 17833, - "end": 17847, + "start": 18043, + "end": 18057, "loc": { "start": { - "line": 514, + "line": 519, "column": 38 }, "end": { - "line": 514, + "line": 519, "column": 52 } } @@ -151686,15 +153298,15 @@ "postfix": false, "binop": null }, - "start": 17847, - "end": 17848, + "start": 18057, + "end": 18058, "loc": { "start": { - "line": 514, + "line": 519, "column": 52 }, "end": { - "line": 514, + "line": 519, "column": 53 } } @@ -151711,15 +153323,15 @@ "postfix": false, "binop": null }, - "start": 17848, - "end": 17849, + "start": 18058, + "end": 18059, "loc": { "start": { - "line": 514, + "line": 519, "column": 53 }, "end": { - "line": 514, + "line": 519, "column": 54 } } @@ -151737,15 +153349,15 @@ "binop": null, "updateContext": null }, - "start": 17849, - "end": 17850, + "start": 18059, + "end": 18060, "loc": { "start": { - "line": 514, + "line": 519, "column": 54 }, "end": { - "line": 514, + "line": 519, "column": 55 } } @@ -151762,15 +153374,15 @@ "postfix": false, "binop": null }, - "start": 17859, - "end": 17860, + "start": 18069, + "end": 18070, "loc": { "start": { - "line": 515, + "line": 520, "column": 8 }, "end": { - "line": 515, + "line": 520, "column": 9 } } @@ -151790,15 +153402,15 @@ "updateContext": null }, "value": "if", - "start": 17870, - "end": 17872, + "start": 18080, + "end": 18082, "loc": { "start": { - "line": 517, + "line": 522, "column": 8 }, "end": { - "line": 517, + "line": 522, "column": 10 } } @@ -151815,15 +153427,15 @@ "postfix": false, "binop": null }, - "start": 17873, - "end": 17874, + "start": 18083, + "end": 18084, "loc": { "start": { - "line": 517, + "line": 522, "column": 11 }, "end": { - "line": 517, + "line": 522, "column": 12 } } @@ -151841,15 +153453,15 @@ "binop": null }, "value": "duration", - "start": 17874, - "end": 17882, + "start": 18084, + "end": 18092, "loc": { "start": { - "line": 517, + "line": 522, "column": 12 }, "end": { - "line": 517, + "line": 522, "column": 20 } } @@ -151868,15 +153480,15 @@ "updateContext": null }, "value": "===", - "start": 17883, - "end": 17886, + "start": 18093, + "end": 18096, "loc": { "start": { - "line": 517, + "line": 522, "column": 21 }, "end": { - "line": 517, + "line": 522, "column": 24 } } @@ -151894,15 +153506,15 @@ "binop": null }, "value": "undefined", - "start": 17887, - "end": 17896, + "start": 18097, + "end": 18106, "loc": { "start": { - "line": 517, + "line": 522, "column": 25 }, "end": { - "line": 517, + "line": 522, "column": 34 } } @@ -151919,15 +153531,15 @@ "postfix": false, "binop": null }, - "start": 17896, - "end": 17897, + "start": 18106, + "end": 18107, "loc": { "start": { - "line": 517, + "line": 522, "column": 34 }, "end": { - "line": 517, + "line": 522, "column": 35 } } @@ -151944,15 +153556,15 @@ "postfix": false, "binop": null }, - "start": 17898, - "end": 17899, + "start": 18108, + "end": 18109, "loc": { "start": { - "line": 517, + "line": 522, "column": 36 }, "end": { - "line": 517, + "line": 522, "column": 37 } } @@ -151970,15 +153582,15 @@ "binop": null }, "value": "duration", - "start": 17912, - "end": 17920, + "start": 18122, + "end": 18130, "loc": { "start": { - "line": 518, + "line": 523, "column": 12 }, "end": { - "line": 518, + "line": 523, "column": 20 } } @@ -151997,15 +153609,15 @@ "updateContext": null }, "value": "=", - "start": 17921, - "end": 17922, + "start": 18131, + "end": 18132, "loc": { "start": { - "line": 518, + "line": 523, "column": 21 }, "end": { - "line": 518, + "line": 523, "column": 22 } } @@ -152025,15 +153637,15 @@ "updateContext": null }, "value": "this", - "start": 17923, - "end": 17927, + "start": 18133, + "end": 18137, "loc": { "start": { - "line": 518, + "line": 523, "column": 23 }, "end": { - "line": 518, + "line": 523, "column": 27 } } @@ -152051,15 +153663,15 @@ "binop": null, "updateContext": null }, - "start": 17927, - "end": 17928, + "start": 18137, + "end": 18138, "loc": { "start": { - "line": 518, + "line": 523, "column": 27 }, "end": { - "line": 518, + "line": 523, "column": 28 } } @@ -152077,15 +153689,15 @@ "binop": null }, "value": "surfer", - "start": 17928, - "end": 17934, + "start": 18138, + "end": 18144, "loc": { "start": { - "line": 518, + "line": 523, "column": 28 }, "end": { - "line": 518, + "line": 523, "column": 34 } } @@ -152103,15 +153715,15 @@ "binop": null, "updateContext": null }, - "start": 17934, - "end": 17935, + "start": 18144, + "end": 18145, "loc": { "start": { - "line": 518, + "line": 523, "column": 34 }, "end": { - "line": 518, + "line": 523, "column": 35 } } @@ -152129,15 +153741,15 @@ "binop": null }, "value": "getDuration", - "start": 17935, - "end": 17946, + "start": 18145, + "end": 18156, "loc": { "start": { - "line": 518, + "line": 523, "column": 35 }, "end": { - "line": 518, + "line": 523, "column": 46 } } @@ -152154,15 +153766,15 @@ "postfix": false, "binop": null }, - "start": 17946, - "end": 17947, + "start": 18156, + "end": 18157, "loc": { "start": { - "line": 518, + "line": 523, "column": 46 }, "end": { - "line": 518, + "line": 523, "column": 47 } } @@ -152179,15 +153791,15 @@ "postfix": false, "binop": null }, - "start": 17947, - "end": 17948, + "start": 18157, + "end": 18158, "loc": { "start": { - "line": 518, + "line": 523, "column": 47 }, "end": { - "line": 518, + "line": 523, "column": 48 } } @@ -152205,15 +153817,15 @@ "binop": null, "updateContext": null }, - "start": 17948, - "end": 17949, + "start": 18158, + "end": 18159, "loc": { "start": { - "line": 518, + "line": 523, "column": 48 }, "end": { - "line": 518, + "line": 523, "column": 49 } } @@ -152230,15 +153842,15 @@ "postfix": false, "binop": null }, - "start": 17958, - "end": 17959, + "start": 18168, + "end": 18169, "loc": { "start": { - "line": 519, + "line": 524, "column": 8 }, "end": { - "line": 519, + "line": 524, "column": 9 } } @@ -152256,15 +153868,15 @@ "binop": null }, "value": "currentTime", - "start": 17969, - "end": 17980, + "start": 18179, + "end": 18190, "loc": { "start": { - "line": 521, + "line": 526, "column": 8 }, "end": { - "line": 521, + "line": 526, "column": 19 } } @@ -152283,15 +153895,15 @@ "updateContext": null }, "value": "=", - "start": 17981, - "end": 17982, + "start": 18191, + "end": 18192, "loc": { "start": { - "line": 521, + "line": 526, "column": 20 }, "end": { - "line": 521, + "line": 526, "column": 21 } } @@ -152309,15 +153921,15 @@ "binop": null }, "value": "isNaN", - "start": 17983, - "end": 17988, + "start": 18193, + "end": 18198, "loc": { "start": { - "line": 521, + "line": 526, "column": 22 }, "end": { - "line": 521, + "line": 526, "column": 27 } } @@ -152334,15 +153946,15 @@ "postfix": false, "binop": null }, - "start": 17988, - "end": 17989, + "start": 18198, + "end": 18199, "loc": { "start": { - "line": 521, + "line": 526, "column": 27 }, "end": { - "line": 521, + "line": 526, "column": 28 } } @@ -152360,15 +153972,15 @@ "binop": null }, "value": "currentTime", - "start": 17989, - "end": 18000, + "start": 18199, + "end": 18210, "loc": { "start": { - "line": 521, + "line": 526, "column": 28 }, "end": { - "line": 521, + "line": 526, "column": 39 } } @@ -152385,15 +153997,15 @@ "postfix": false, "binop": null }, - "start": 18000, - "end": 18001, + "start": 18210, + "end": 18211, "loc": { "start": { - "line": 521, + "line": 526, "column": 39 }, "end": { - "line": 521, + "line": 526, "column": 40 } } @@ -152411,15 +154023,15 @@ "binop": null, "updateContext": null }, - "start": 18002, - "end": 18003, + "start": 18212, + "end": 18213, "loc": { "start": { - "line": 521, + "line": 526, "column": 41 }, "end": { - "line": 521, + "line": 526, "column": 42 } } @@ -152438,15 +154050,15 @@ "updateContext": null }, "value": 0, - "start": 18004, - "end": 18005, + "start": 18214, + "end": 18215, "loc": { "start": { - "line": 521, + "line": 526, "column": 43 }, "end": { - "line": 521, + "line": 526, "column": 44 } } @@ -152464,15 +154076,15 @@ "binop": null, "updateContext": null }, - "start": 18006, - "end": 18007, + "start": 18216, + "end": 18217, "loc": { "start": { - "line": 521, + "line": 526, "column": 45 }, "end": { - "line": 521, + "line": 526, "column": 46 } } @@ -152490,15 +154102,15 @@ "binop": null }, "value": "currentTime", - "start": 18008, - "end": 18019, + "start": 18218, + "end": 18229, "loc": { "start": { - "line": 521, + "line": 526, "column": 47 }, "end": { - "line": 521, + "line": 526, "column": 58 } } @@ -152516,15 +154128,15 @@ "binop": null, "updateContext": null }, - "start": 18019, - "end": 18020, + "start": 18229, + "end": 18230, "loc": { "start": { - "line": 521, + "line": 526, "column": 58 }, "end": { - "line": 521, + "line": 526, "column": 59 } } @@ -152542,15 +154154,15 @@ "binop": null }, "value": "duration", - "start": 18029, - "end": 18037, + "start": 18239, + "end": 18247, "loc": { "start": { - "line": 522, + "line": 527, "column": 8 }, "end": { - "line": 522, + "line": 527, "column": 16 } } @@ -152569,15 +154181,15 @@ "updateContext": null }, "value": "=", - "start": 18038, - "end": 18039, + "start": 18248, + "end": 18249, "loc": { "start": { - "line": 522, + "line": 527, "column": 17 }, "end": { - "line": 522, + "line": 527, "column": 18 } } @@ -152595,15 +154207,15 @@ "binop": null }, "value": "isNaN", - "start": 18040, - "end": 18045, + "start": 18250, + "end": 18255, "loc": { "start": { - "line": 522, + "line": 527, "column": 19 }, "end": { - "line": 522, + "line": 527, "column": 24 } } @@ -152620,15 +154232,15 @@ "postfix": false, "binop": null }, - "start": 18045, - "end": 18046, + "start": 18255, + "end": 18256, "loc": { "start": { - "line": 522, + "line": 527, "column": 24 }, "end": { - "line": 522, + "line": 527, "column": 25 } } @@ -152646,15 +154258,15 @@ "binop": null }, "value": "duration", - "start": 18046, - "end": 18054, + "start": 18256, + "end": 18264, "loc": { "start": { - "line": 522, + "line": 527, "column": 25 }, "end": { - "line": 522, + "line": 527, "column": 33 } } @@ -152671,15 +154283,15 @@ "postfix": false, "binop": null }, - "start": 18054, - "end": 18055, + "start": 18264, + "end": 18265, "loc": { "start": { - "line": 522, + "line": 527, "column": 33 }, "end": { - "line": 522, + "line": 527, "column": 34 } } @@ -152697,15 +154309,15 @@ "binop": null, "updateContext": null }, - "start": 18056, - "end": 18057, + "start": 18266, + "end": 18267, "loc": { "start": { - "line": 522, + "line": 527, "column": 35 }, "end": { - "line": 522, + "line": 527, "column": 36 } } @@ -152724,15 +154336,15 @@ "updateContext": null }, "value": 0, - "start": 18058, - "end": 18059, + "start": 18268, + "end": 18269, "loc": { "start": { - "line": 522, + "line": 527, "column": 37 }, "end": { - "line": 522, + "line": 527, "column": 38 } } @@ -152750,15 +154362,15 @@ "binop": null, "updateContext": null }, - "start": 18060, - "end": 18061, + "start": 18270, + "end": 18271, "loc": { "start": { - "line": 522, + "line": 527, "column": 39 }, "end": { - "line": 522, + "line": 527, "column": 40 } } @@ -152776,15 +154388,15 @@ "binop": null }, "value": "duration", - "start": 18062, - "end": 18070, + "start": 18272, + "end": 18280, "loc": { "start": { - "line": 522, + "line": 527, "column": 41 }, "end": { - "line": 522, + "line": 527, "column": 49 } } @@ -152802,15 +154414,15 @@ "binop": null, "updateContext": null }, - "start": 18070, - "end": 18071, + "start": 18280, + "end": 18281, "loc": { "start": { - "line": 522, + "line": 527, "column": 49 }, "end": { - "line": 522, + "line": 527, "column": 50 } } @@ -152818,15 +154430,15 @@ { "type": "CommentLine", "value": " update current time display component", - "start": 18081, - "end": 18121, + "start": 18291, + "end": 18331, "loc": { "start": { - "line": 524, + "line": 529, "column": 8 }, "end": { - "line": 524, + "line": 529, "column": 48 } } @@ -152846,15 +154458,15 @@ "updateContext": null }, "value": "if", - "start": 18130, - "end": 18132, + "start": 18340, + "end": 18342, "loc": { "start": { - "line": 525, + "line": 530, "column": 8 }, "end": { - "line": 525, + "line": 530, "column": 10 } } @@ -152871,15 +154483,15 @@ "postfix": false, "binop": null }, - "start": 18133, - "end": 18134, + "start": 18343, + "end": 18344, "loc": { "start": { - "line": 525, + "line": 530, "column": 11 }, "end": { - "line": 525, + "line": 530, "column": 12 } } @@ -152899,15 +154511,15 @@ "updateContext": null }, "value": "this", - "start": 18134, - "end": 18138, + "start": 18344, + "end": 18348, "loc": { "start": { - "line": 525, + "line": 530, "column": 12 }, "end": { - "line": 525, + "line": 530, "column": 16 } } @@ -152925,15 +154537,15 @@ "binop": null, "updateContext": null }, - "start": 18138, - "end": 18139, + "start": 18348, + "end": 18349, "loc": { "start": { - "line": 525, + "line": 530, "column": 16 }, "end": { - "line": 525, + "line": 530, "column": 17 } } @@ -152951,15 +154563,15 @@ "binop": null }, "value": "player", - "start": 18139, - "end": 18145, + "start": 18349, + "end": 18355, "loc": { "start": { - "line": 525, + "line": 530, "column": 17 }, "end": { - "line": 525, + "line": 530, "column": 23 } } @@ -152977,15 +154589,15 @@ "binop": null, "updateContext": null }, - "start": 18145, - "end": 18146, + "start": 18355, + "end": 18356, "loc": { "start": { - "line": 525, + "line": 530, "column": 23 }, "end": { - "line": 525, + "line": 530, "column": 24 } } @@ -153003,15 +154615,15 @@ "binop": null }, "value": "controlBar", - "start": 18146, - "end": 18156, + "start": 18356, + "end": 18366, "loc": { "start": { - "line": 525, + "line": 530, "column": 24 }, "end": { - "line": 525, + "line": 530, "column": 34 } } @@ -153029,15 +154641,15 @@ "binop": null, "updateContext": null }, - "start": 18156, - "end": 18157, + "start": 18366, + "end": 18367, "loc": { "start": { - "line": 525, + "line": 530, "column": 34 }, "end": { - "line": 525, + "line": 530, "column": 35 } } @@ -153055,15 +154667,15 @@ "binop": null }, "value": "currentTimeDisplay", - "start": 18157, - "end": 18175, + "start": 18367, + "end": 18385, "loc": { "start": { - "line": 525, + "line": 530, "column": 35 }, "end": { - "line": 525, + "line": 530, "column": 53 } } @@ -153082,15 +154694,15 @@ "updateContext": null }, "value": "&&", - "start": 18176, - "end": 18178, + "start": 18386, + "end": 18388, "loc": { "start": { - "line": 525, + "line": 530, "column": 54 }, "end": { - "line": 525, + "line": 530, "column": 56 } } @@ -153110,15 +154722,15 @@ "updateContext": null }, "value": "this", - "start": 18191, - "end": 18195, + "start": 18401, + "end": 18405, "loc": { "start": { - "line": 526, + "line": 531, "column": 12 }, "end": { - "line": 526, + "line": 531, "column": 16 } } @@ -153136,15 +154748,15 @@ "binop": null, "updateContext": null }, - "start": 18195, - "end": 18196, + "start": 18405, + "end": 18406, "loc": { "start": { - "line": 526, + "line": 531, "column": 16 }, "end": { - "line": 526, + "line": 531, "column": 17 } } @@ -153162,15 +154774,15 @@ "binop": null }, "value": "player", - "start": 18196, - "end": 18202, + "start": 18406, + "end": 18412, "loc": { "start": { - "line": 526, + "line": 531, "column": 17 }, "end": { - "line": 526, + "line": 531, "column": 23 } } @@ -153188,15 +154800,15 @@ "binop": null, "updateContext": null }, - "start": 18202, - "end": 18203, + "start": 18412, + "end": 18413, "loc": { "start": { - "line": 526, + "line": 531, "column": 23 }, "end": { - "line": 526, + "line": 531, "column": 24 } } @@ -153214,15 +154826,15 @@ "binop": null }, "value": "controlBar", - "start": 18203, - "end": 18213, + "start": 18413, + "end": 18423, "loc": { "start": { - "line": 526, + "line": 531, "column": 24 }, "end": { - "line": 526, + "line": 531, "column": 34 } } @@ -153240,15 +154852,15 @@ "binop": null, "updateContext": null }, - "start": 18213, - "end": 18214, + "start": 18423, + "end": 18424, "loc": { "start": { - "line": 526, + "line": 531, "column": 34 }, "end": { - "line": 526, + "line": 531, "column": 35 } } @@ -153266,15 +154878,15 @@ "binop": null }, "value": "currentTimeDisplay", - "start": 18214, - "end": 18232, + "start": 18424, + "end": 18442, "loc": { "start": { - "line": 526, + "line": 531, "column": 35 }, "end": { - "line": 526, + "line": 531, "column": 53 } } @@ -153292,15 +154904,15 @@ "binop": null, "updateContext": null }, - "start": 18232, - "end": 18233, + "start": 18442, + "end": 18443, "loc": { "start": { - "line": 526, + "line": 531, "column": 53 }, "end": { - "line": 526, + "line": 531, "column": 54 } } @@ -153318,15 +154930,15 @@ "binop": null }, "value": "contentEl", - "start": 18233, - "end": 18242, + "start": 18443, + "end": 18452, "loc": { "start": { - "line": 526, + "line": 531, "column": 54 }, "end": { - "line": 526, + "line": 531, "column": 63 } } @@ -153343,15 +154955,15 @@ "postfix": false, "binop": null }, - "start": 18242, - "end": 18243, + "start": 18452, + "end": 18453, "loc": { "start": { - "line": 526, + "line": 531, "column": 63 }, "end": { - "line": 526, + "line": 531, "column": 64 } } @@ -153368,15 +154980,15 @@ "postfix": false, "binop": null }, - "start": 18243, - "end": 18244, + "start": 18453, + "end": 18454, "loc": { "start": { - "line": 526, + "line": 531, "column": 64 }, "end": { - "line": 526, + "line": 531, "column": 65 } } @@ -153395,15 +155007,15 @@ "updateContext": null }, "value": "&&", - "start": 18245, - "end": 18247, + "start": 18455, + "end": 18457, "loc": { "start": { - "line": 526, + "line": 531, "column": 66 }, "end": { - "line": 526, + "line": 531, "column": 68 } } @@ -153423,15 +155035,15 @@ "updateContext": null }, "value": "this", - "start": 18260, - "end": 18264, + "start": 18470, + "end": 18474, "loc": { "start": { - "line": 527, + "line": 532, "column": 12 }, "end": { - "line": 527, + "line": 532, "column": 16 } } @@ -153449,15 +155061,15 @@ "binop": null, "updateContext": null }, - "start": 18264, - "end": 18265, + "start": 18474, + "end": 18475, "loc": { "start": { - "line": 527, + "line": 532, "column": 16 }, "end": { - "line": 527, + "line": 532, "column": 17 } } @@ -153475,15 +155087,15 @@ "binop": null }, "value": "player", - "start": 18265, - "end": 18271, + "start": 18475, + "end": 18481, "loc": { "start": { - "line": 527, + "line": 532, "column": 17 }, "end": { - "line": 527, + "line": 532, "column": 23 } } @@ -153501,15 +155113,15 @@ "binop": null, "updateContext": null }, - "start": 18271, - "end": 18272, + "start": 18481, + "end": 18482, "loc": { "start": { - "line": 527, + "line": 532, "column": 23 }, "end": { - "line": 527, + "line": 532, "column": 24 } } @@ -153527,15 +155139,15 @@ "binop": null }, "value": "controlBar", - "start": 18272, - "end": 18282, + "start": 18482, + "end": 18492, "loc": { "start": { - "line": 527, + "line": 532, "column": 24 }, "end": { - "line": 527, + "line": 532, "column": 34 } } @@ -153553,15 +155165,15 @@ "binop": null, "updateContext": null }, - "start": 18282, - "end": 18283, + "start": 18492, + "end": 18493, "loc": { "start": { - "line": 527, + "line": 532, "column": 34 }, "end": { - "line": 527, + "line": 532, "column": 35 } } @@ -153579,15 +155191,15 @@ "binop": null }, "value": "currentTimeDisplay", - "start": 18283, - "end": 18301, + "start": 18493, + "end": 18511, "loc": { "start": { - "line": 527, + "line": 532, "column": 35 }, "end": { - "line": 527, + "line": 532, "column": 53 } } @@ -153605,15 +155217,15 @@ "binop": null, "updateContext": null }, - "start": 18301, - "end": 18302, + "start": 18511, + "end": 18512, "loc": { "start": { - "line": 527, + "line": 532, "column": 53 }, "end": { - "line": 527, + "line": 532, "column": 54 } } @@ -153631,15 +155243,15 @@ "binop": null }, "value": "contentEl", - "start": 18302, - "end": 18311, + "start": 18512, + "end": 18521, "loc": { "start": { - "line": 527, + "line": 532, "column": 54 }, "end": { - "line": 527, + "line": 532, "column": 63 } } @@ -153656,15 +155268,15 @@ "postfix": false, "binop": null }, - "start": 18311, - "end": 18312, + "start": 18521, + "end": 18522, "loc": { "start": { - "line": 527, + "line": 532, "column": 63 }, "end": { - "line": 527, + "line": 532, "column": 64 } } @@ -153681,15 +155293,15 @@ "postfix": false, "binop": null }, - "start": 18312, - "end": 18313, + "start": 18522, + "end": 18523, "loc": { "start": { - "line": 527, + "line": 532, "column": 64 }, "end": { - "line": 527, + "line": 532, "column": 65 } } @@ -153707,15 +155319,15 @@ "binop": null, "updateContext": null }, - "start": 18313, - "end": 18314, + "start": 18523, + "end": 18524, "loc": { "start": { - "line": 527, + "line": 532, "column": 65 }, "end": { - "line": 527, + "line": 532, "column": 66 } } @@ -153733,15 +155345,15 @@ "binop": null }, "value": "lastChild", - "start": 18314, - "end": 18323, + "start": 18524, + "end": 18533, "loc": { "start": { - "line": 527, + "line": 532, "column": 66 }, "end": { - "line": 527, + "line": 532, "column": 75 } } @@ -153758,15 +155370,15 @@ "postfix": false, "binop": null }, - "start": 18323, - "end": 18324, + "start": 18533, + "end": 18534, "loc": { "start": { - "line": 527, + "line": 532, "column": 75 }, "end": { - "line": 527, + "line": 532, "column": 76 } } @@ -153783,15 +155395,15 @@ "postfix": false, "binop": null }, - "start": 18325, - "end": 18326, + "start": 18535, + "end": 18536, "loc": { "start": { - "line": 527, + "line": 532, "column": 77 }, "end": { - "line": 527, + "line": 532, "column": 78 } } @@ -153811,15 +155423,15 @@ "updateContext": null }, "value": "let", - "start": 18339, - "end": 18342, + "start": 18549, + "end": 18552, "loc": { "start": { - "line": 528, + "line": 533, "column": 12 }, "end": { - "line": 528, + "line": 533, "column": 15 } } @@ -153837,15 +155449,15 @@ "binop": null }, "value": "time", - "start": 18343, - "end": 18347, + "start": 18553, + "end": 18557, "loc": { "start": { - "line": 528, + "line": 533, "column": 16 }, "end": { - "line": 528, + "line": 533, "column": 20 } } @@ -153864,15 +155476,15 @@ "updateContext": null }, "value": "=", - "start": 18348, - "end": 18349, + "start": 18558, + "end": 18559, "loc": { "start": { - "line": 528, + "line": 533, "column": 21 }, "end": { - "line": 528, + "line": 533, "column": 22 } } @@ -153890,15 +155502,15 @@ "binop": null }, "value": "Math", - "start": 18350, - "end": 18354, + "start": 18560, + "end": 18564, "loc": { "start": { - "line": 528, + "line": 533, "column": 23 }, "end": { - "line": 528, + "line": 533, "column": 27 } } @@ -153916,15 +155528,15 @@ "binop": null, "updateContext": null }, - "start": 18354, - "end": 18355, + "start": 18564, + "end": 18565, "loc": { "start": { - "line": 528, + "line": 533, "column": 27 }, "end": { - "line": 528, + "line": 533, "column": 28 } } @@ -153942,15 +155554,15 @@ "binop": null }, "value": "min", - "start": 18355, - "end": 18358, + "start": 18565, + "end": 18568, "loc": { "start": { - "line": 528, + "line": 533, "column": 28 }, "end": { - "line": 528, + "line": 533, "column": 31 } } @@ -153967,15 +155579,15 @@ "postfix": false, "binop": null }, - "start": 18358, - "end": 18359, + "start": 18568, + "end": 18569, "loc": { "start": { - "line": 528, + "line": 533, "column": 31 }, "end": { - "line": 528, + "line": 533, "column": 32 } } @@ -153993,15 +155605,15 @@ "binop": null }, "value": "currentTime", - "start": 18359, - "end": 18370, + "start": 18569, + "end": 18580, "loc": { "start": { - "line": 528, + "line": 533, "column": 32 }, "end": { - "line": 528, + "line": 533, "column": 43 } } @@ -154019,15 +155631,15 @@ "binop": null, "updateContext": null }, - "start": 18370, - "end": 18371, + "start": 18580, + "end": 18581, "loc": { "start": { - "line": 528, + "line": 533, "column": 43 }, "end": { - "line": 528, + "line": 533, "column": 44 } } @@ -154045,15 +155657,15 @@ "binop": null }, "value": "duration", - "start": 18372, - "end": 18380, + "start": 18582, + "end": 18590, "loc": { "start": { - "line": 528, + "line": 533, "column": 45 }, "end": { - "line": 528, + "line": 533, "column": 53 } } @@ -154070,15 +155682,15 @@ "postfix": false, "binop": null }, - "start": 18380, - "end": 18381, + "start": 18590, + "end": 18591, "loc": { "start": { - "line": 528, + "line": 533, "column": 53 }, "end": { - "line": 528, + "line": 533, "column": 54 } } @@ -154096,15 +155708,15 @@ "binop": null, "updateContext": null }, - "start": 18381, - "end": 18382, + "start": 18591, + "end": 18592, "loc": { "start": { - "line": 528, + "line": 533, "column": 54 }, "end": { - "line": 528, + "line": 533, "column": 55 } } @@ -154124,15 +155736,15 @@ "updateContext": null }, "value": "this", - "start": 18396, - "end": 18400, + "start": 18606, + "end": 18610, "loc": { "start": { - "line": 530, + "line": 535, "column": 12 }, "end": { - "line": 530, + "line": 535, "column": 16 } } @@ -154150,15 +155762,15 @@ "binop": null, "updateContext": null }, - "start": 18400, - "end": 18401, + "start": 18610, + "end": 18611, "loc": { "start": { - "line": 530, + "line": 535, "column": 16 }, "end": { - "line": 530, + "line": 535, "column": 17 } } @@ -154176,15 +155788,15 @@ "binop": null }, "value": "player", - "start": 18401, - "end": 18407, + "start": 18611, + "end": 18617, "loc": { "start": { - "line": 530, + "line": 535, "column": 17 }, "end": { - "line": 530, + "line": 535, "column": 23 } } @@ -154202,15 +155814,15 @@ "binop": null, "updateContext": null }, - "start": 18407, - "end": 18408, + "start": 18617, + "end": 18618, "loc": { "start": { - "line": 530, + "line": 535, "column": 23 }, "end": { - "line": 530, + "line": 535, "column": 24 } } @@ -154228,15 +155840,15 @@ "binop": null }, "value": "controlBar", - "start": 18408, - "end": 18418, + "start": 18618, + "end": 18628, "loc": { "start": { - "line": 530, + "line": 535, "column": 24 }, "end": { - "line": 530, + "line": 535, "column": 34 } } @@ -154254,15 +155866,15 @@ "binop": null, "updateContext": null }, - "start": 18418, - "end": 18419, + "start": 18628, + "end": 18629, "loc": { "start": { - "line": 530, + "line": 535, "column": 34 }, "end": { - "line": 530, + "line": 535, "column": 35 } } @@ -154280,15 +155892,15 @@ "binop": null }, "value": "currentTimeDisplay", - "start": 18419, - "end": 18437, + "start": 18629, + "end": 18647, "loc": { "start": { - "line": 530, + "line": 535, "column": 35 }, "end": { - "line": 530, + "line": 535, "column": 53 } } @@ -154306,15 +155918,15 @@ "binop": null, "updateContext": null }, - "start": 18437, - "end": 18438, + "start": 18647, + "end": 18648, "loc": { "start": { - "line": 530, + "line": 535, "column": 53 }, "end": { - "line": 530, + "line": 535, "column": 54 } } @@ -154332,15 +155944,15 @@ "binop": null }, "value": "formattedTime_", - "start": 18438, - "end": 18452, + "start": 18648, + "end": 18662, "loc": { "start": { - "line": 530, + "line": 535, "column": 54 }, "end": { - "line": 530, + "line": 535, "column": 68 } } @@ -154359,15 +155971,15 @@ "updateContext": null }, "value": "=", - "start": 18453, - "end": 18454, + "start": 18663, + "end": 18664, "loc": { "start": { - "line": 530, + "line": 535, "column": 69 }, "end": { - "line": 530, + "line": 535, "column": 70 } } @@ -154387,15 +155999,15 @@ "updateContext": null }, "value": "this", - "start": 18471, - "end": 18475, + "start": 18681, + "end": 18685, "loc": { "start": { - "line": 531, + "line": 536, "column": 16 }, "end": { - "line": 531, + "line": 536, "column": 20 } } @@ -154413,15 +156025,15 @@ "binop": null, "updateContext": null }, - "start": 18475, - "end": 18476, + "start": 18685, + "end": 18686, "loc": { "start": { - "line": 531, + "line": 536, "column": 20 }, "end": { - "line": 531, + "line": 536, "column": 21 } } @@ -154439,15 +156051,15 @@ "binop": null }, "value": "player", - "start": 18476, - "end": 18482, + "start": 18686, + "end": 18692, "loc": { "start": { - "line": 531, + "line": 536, "column": 21 }, "end": { - "line": 531, + "line": 536, "column": 27 } } @@ -154465,15 +156077,15 @@ "binop": null, "updateContext": null }, - "start": 18482, - "end": 18483, + "start": 18692, + "end": 18693, "loc": { "start": { - "line": 531, + "line": 536, "column": 27 }, "end": { - "line": 531, + "line": 536, "column": 28 } } @@ -154491,15 +156103,15 @@ "binop": null }, "value": "controlBar", - "start": 18483, - "end": 18493, + "start": 18693, + "end": 18703, "loc": { "start": { - "line": 531, + "line": 536, "column": 28 }, "end": { - "line": 531, + "line": 536, "column": 38 } } @@ -154517,15 +156129,15 @@ "binop": null, "updateContext": null }, - "start": 18493, - "end": 18494, + "start": 18703, + "end": 18704, "loc": { "start": { - "line": 531, + "line": 536, "column": 38 }, "end": { - "line": 531, + "line": 536, "column": 39 } } @@ -154543,15 +156155,15 @@ "binop": null }, "value": "currentTimeDisplay", - "start": 18494, - "end": 18512, + "start": 18704, + "end": 18722, "loc": { "start": { - "line": 531, + "line": 536, "column": 39 }, "end": { - "line": 531, + "line": 536, "column": 57 } } @@ -154569,15 +156181,15 @@ "binop": null, "updateContext": null }, - "start": 18512, - "end": 18513, + "start": 18722, + "end": 18723, "loc": { "start": { - "line": 531, + "line": 536, "column": 57 }, "end": { - "line": 531, + "line": 536, "column": 58 } } @@ -154595,15 +156207,15 @@ "binop": null }, "value": "contentEl", - "start": 18513, - "end": 18522, + "start": 18723, + "end": 18732, "loc": { "start": { - "line": 531, + "line": 536, "column": 58 }, "end": { - "line": 531, + "line": 536, "column": 67 } } @@ -154620,15 +156232,15 @@ "postfix": false, "binop": null }, - "start": 18522, - "end": 18523, + "start": 18732, + "end": 18733, "loc": { "start": { - "line": 531, + "line": 536, "column": 67 }, "end": { - "line": 531, + "line": 536, "column": 68 } } @@ -154645,15 +156257,15 @@ "postfix": false, "binop": null }, - "start": 18523, - "end": 18524, + "start": 18733, + "end": 18734, "loc": { "start": { - "line": 531, + "line": 536, "column": 68 }, "end": { - "line": 531, + "line": 536, "column": 69 } } @@ -154671,15 +156283,15 @@ "binop": null, "updateContext": null }, - "start": 18524, - "end": 18525, + "start": 18734, + "end": 18735, "loc": { "start": { - "line": 531, + "line": 536, "column": 69 }, "end": { - "line": 531, + "line": 536, "column": 70 } } @@ -154697,15 +156309,15 @@ "binop": null }, "value": "lastChild", - "start": 18525, - "end": 18534, + "start": 18735, + "end": 18744, "loc": { "start": { - "line": 531, + "line": 536, "column": 70 }, "end": { - "line": 531, + "line": 536, "column": 79 } } @@ -154723,15 +156335,15 @@ "binop": null, "updateContext": null }, - "start": 18534, - "end": 18535, + "start": 18744, + "end": 18745, "loc": { "start": { - "line": 531, + "line": 536, "column": 79 }, "end": { - "line": 531, + "line": 536, "column": 80 } } @@ -154749,15 +156361,15 @@ "binop": null }, "value": "textContent", - "start": 18535, - "end": 18546, + "start": 18745, + "end": 18756, "loc": { "start": { - "line": 531, + "line": 536, "column": 80 }, "end": { - "line": 531, + "line": 536, "column": 91 } } @@ -154776,19 +156388,73 @@ "updateContext": null }, "value": "=", - "start": 18547, - "end": 18548, + "start": 18757, + "end": 18758, "loc": { "start": { - "line": 531, + "line": 536, "column": 92 }, "end": { - "line": 531, + "line": 536, "column": 93 } } }, + { + "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": 18779, + "end": 18783, + "loc": { + "start": { + "line": 537, + "column": 20 + }, + "end": { + "line": 537, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18783, + "end": 18784, + "loc": { + "start": { + "line": 537, + "column": 24 + }, + "end": { + "line": 537, + "column": 25 + } + } + }, { "type": { "label": "name", @@ -154801,17 +156467,17 @@ "postfix": false, "binop": null }, - "value": "formatTime", - "start": 18569, - "end": 18579, + "value": "_formatTime", + "start": 18784, + "end": 18795, "loc": { "start": { - "line": 532, - "column": 20 + "line": 537, + "column": 25 }, "end": { - "line": 532, - "column": 30 + "line": 537, + "column": 36 } } }, @@ -154827,16 +156493,16 @@ "postfix": false, "binop": null }, - "start": 18579, - "end": 18580, + "start": 18795, + "end": 18796, "loc": { "start": { - "line": 532, - "column": 30 + "line": 537, + "column": 36 }, "end": { - "line": 532, - "column": 31 + "line": 537, + "column": 37 } } }, @@ -154853,16 +156519,16 @@ "binop": null }, "value": "time", - "start": 18580, - "end": 18584, + "start": 18796, + "end": 18800, "loc": { "start": { - "line": 532, - "column": 31 + "line": 537, + "column": 37 }, "end": { - "line": 532, - "column": 35 + "line": 537, + "column": 41 } } }, @@ -154879,16 +156545,16 @@ "binop": null, "updateContext": null }, - "start": 18584, - "end": 18585, + "start": 18800, + "end": 18801, "loc": { "start": { - "line": 532, - "column": 35 + "line": 537, + "column": 41 }, "end": { - "line": 532, - "column": 36 + "line": 537, + "column": 42 } } }, @@ -154905,16 +156571,16 @@ "binop": null }, "value": "duration", - "start": 18586, - "end": 18594, + "start": 18802, + "end": 18810, "loc": { "start": { - "line": 532, - "column": 37 + "line": 537, + "column": 43 }, "end": { - "line": 532, - "column": 45 + "line": 537, + "column": 51 } } }, @@ -154931,16 +156597,16 @@ "binop": null, "updateContext": null }, - "start": 18594, - "end": 18595, + "start": 18810, + "end": 18811, "loc": { "start": { - "line": 532, - "column": 45 + "line": 537, + "column": 51 }, "end": { - "line": 532, - "column": 46 + "line": 537, + "column": 52 } } }, @@ -154959,16 +156625,16 @@ "updateContext": null }, "value": "this", - "start": 18596, - "end": 18600, + "start": 18812, + "end": 18816, "loc": { "start": { - "line": 532, - "column": 47 + "line": 537, + "column": 53 }, "end": { - "line": 532, - "column": 51 + "line": 537, + "column": 57 } } }, @@ -154985,16 +156651,16 @@ "binop": null, "updateContext": null }, - "start": 18600, - "end": 18601, + "start": 18816, + "end": 18817, "loc": { "start": { - "line": 532, - "column": 51 + "line": 537, + "column": 57 }, "end": { - "line": 532, - "column": 52 + "line": 537, + "column": 58 } } }, @@ -155011,16 +156677,16 @@ "binop": null }, "value": "displayMilliseconds", - "start": 18601, - "end": 18620, + "start": 18817, + "end": 18836, "loc": { "start": { - "line": 532, - "column": 52 + "line": 537, + "column": 58 }, "end": { - "line": 532, - "column": 71 + "line": 537, + "column": 77 } } }, @@ -155036,16 +156702,16 @@ "postfix": false, "binop": null }, - "start": 18620, - "end": 18621, + "start": 18836, + "end": 18837, "loc": { "start": { - "line": 532, - "column": 71 + "line": 537, + "column": 77 }, "end": { - "line": 532, - "column": 72 + "line": 537, + "column": 78 } } }, @@ -155062,16 +156728,16 @@ "binop": null, "updateContext": null }, - "start": 18621, - "end": 18622, + "start": 18837, + "end": 18838, "loc": { "start": { - "line": 532, - "column": 72 + "line": 537, + "column": 78 }, "end": { - "line": 532, - "column": 73 + "line": 537, + "column": 79 } } }, @@ -155087,15 +156753,15 @@ "postfix": false, "binop": null }, - "start": 18631, - "end": 18632, + "start": 18847, + "end": 18848, "loc": { "start": { - "line": 533, + "line": 538, "column": 8 }, "end": { - "line": 533, + "line": 538, "column": 9 } } @@ -155115,15 +156781,15 @@ "updateContext": null }, "value": "if", - "start": 18642, - "end": 18644, + "start": 18858, + "end": 18860, "loc": { "start": { - "line": 535, + "line": 540, "column": 8 }, "end": { - "line": 535, + "line": 540, "column": 10 } } @@ -155140,15 +156806,15 @@ "postfix": false, "binop": null }, - "start": 18645, - "end": 18646, + "start": 18861, + "end": 18862, "loc": { "start": { - "line": 535, + "line": 540, "column": 11 }, "end": { - "line": 535, + "line": 540, "column": 12 } } @@ -155168,15 +156834,15 @@ "updateContext": null }, "value": "this", - "start": 18646, - "end": 18650, + "start": 18862, + "end": 18866, "loc": { "start": { - "line": 535, + "line": 540, "column": 12 }, "end": { - "line": 535, + "line": 540, "column": 16 } } @@ -155194,15 +156860,15 @@ "binop": null, "updateContext": null }, - "start": 18650, - "end": 18651, + "start": 18866, + "end": 18867, "loc": { "start": { - "line": 535, + "line": 540, "column": 16 }, "end": { - "line": 535, + "line": 540, "column": 17 } } @@ -155220,15 +156886,15 @@ "binop": null }, "value": "textTracksEnabled", - "start": 18651, - "end": 18668, + "start": 18867, + "end": 18884, "loc": { "start": { - "line": 535, + "line": 540, "column": 17 }, "end": { - "line": 535, + "line": 540, "column": 34 } } @@ -155247,15 +156913,15 @@ "updateContext": null }, "value": "&&", - "start": 18669, - "end": 18671, + "start": 18885, + "end": 18887, "loc": { "start": { - "line": 535, + "line": 540, "column": 35 }, "end": { - "line": 535, + "line": 540, "column": 37 } } @@ -155275,15 +156941,15 @@ "updateContext": null }, "value": "this", - "start": 18672, - "end": 18676, + "start": 18888, + "end": 18892, "loc": { "start": { - "line": 535, + "line": 540, "column": 38 }, "end": { - "line": 535, + "line": 540, "column": 42 } } @@ -155301,15 +156967,15 @@ "binop": null, "updateContext": null }, - "start": 18676, - "end": 18677, + "start": 18892, + "end": 18893, "loc": { "start": { - "line": 535, + "line": 540, "column": 42 }, "end": { - "line": 535, + "line": 540, "column": 43 } } @@ -155327,15 +156993,15 @@ "binop": null }, "value": "player", - "start": 18677, - "end": 18683, + "start": 18893, + "end": 18899, "loc": { "start": { - "line": 535, + "line": 540, "column": 43 }, "end": { - "line": 535, + "line": 540, "column": 49 } } @@ -155353,15 +157019,15 @@ "binop": null, "updateContext": null }, - "start": 18683, - "end": 18684, + "start": 18899, + "end": 18900, "loc": { "start": { - "line": 535, + "line": 540, "column": 49 }, "end": { - "line": 535, + "line": 540, "column": 50 } } @@ -155379,15 +157045,15 @@ "binop": null }, "value": "tech_", - "start": 18684, - "end": 18689, + "start": 18900, + "end": 18905, "loc": { "start": { - "line": 535, + "line": 540, "column": 50 }, "end": { - "line": 535, + "line": 540, "column": 55 } } @@ -155406,15 +157072,15 @@ "updateContext": null }, "value": "&&", - "start": 18690, - "end": 18692, + "start": 18906, + "end": 18908, "loc": { "start": { - "line": 535, + "line": 540, "column": 56 }, "end": { - "line": 535, + "line": 540, "column": 58 } } @@ -155434,15 +157100,15 @@ "updateContext": null }, "value": "this", - "start": 18693, - "end": 18697, + "start": 18909, + "end": 18913, "loc": { "start": { - "line": 535, + "line": 540, "column": 59 }, "end": { - "line": 535, + "line": 540, "column": 63 } } @@ -155460,15 +157126,15 @@ "binop": null, "updateContext": null }, - "start": 18697, - "end": 18698, + "start": 18913, + "end": 18914, "loc": { "start": { - "line": 535, + "line": 540, "column": 63 }, "end": { - "line": 535, + "line": 540, "column": 64 } } @@ -155486,15 +157152,15 @@ "binop": null }, "value": "player", - "start": 18698, - "end": 18704, + "start": 18914, + "end": 18920, "loc": { "start": { - "line": 535, + "line": 540, "column": 64 }, "end": { - "line": 535, + "line": 540, "column": 70 } } @@ -155512,15 +157178,15 @@ "binop": null, "updateContext": null }, - "start": 18704, - "end": 18705, + "start": 18920, + "end": 18921, "loc": { "start": { - "line": 535, + "line": 540, "column": 70 }, "end": { - "line": 535, + "line": 540, "column": 71 } } @@ -155538,15 +157204,15 @@ "binop": null }, "value": "tech_", - "start": 18705, - "end": 18710, + "start": 18921, + "end": 18926, "loc": { "start": { - "line": 535, + "line": 540, "column": 71 }, "end": { - "line": 535, + "line": 540, "column": 76 } } @@ -155564,15 +157230,15 @@ "binop": null, "updateContext": null }, - "start": 18710, - "end": 18711, + "start": 18926, + "end": 18927, "loc": { "start": { - "line": 535, + "line": 540, "column": 76 }, "end": { - "line": 535, + "line": 540, "column": 77 } } @@ -155590,15 +157256,15 @@ "binop": null }, "value": "el_", - "start": 18711, - "end": 18714, + "start": 18927, + "end": 18930, "loc": { "start": { - "line": 535, + "line": 540, "column": 77 }, "end": { - "line": 535, + "line": 540, "column": 80 } } @@ -155615,15 +157281,15 @@ "postfix": false, "binop": null }, - "start": 18714, - "end": 18715, + "start": 18930, + "end": 18931, "loc": { "start": { - "line": 535, + "line": 540, "column": 80 }, "end": { - "line": 535, + "line": 540, "column": 81 } } @@ -155640,15 +157306,15 @@ "postfix": false, "binop": null }, - "start": 18716, - "end": 18717, + "start": 18932, + "end": 18933, "loc": { "start": { - "line": 535, + "line": 540, "column": 82 }, "end": { - "line": 535, + "line": 540, "column": 83 } } @@ -155656,15 +157322,15 @@ { "type": "CommentLine", "value": " only needed for text tracks", - "start": 18730, - "end": 18760, + "start": 18946, + "end": 18976, "loc": { "start": { - "line": 536, + "line": 541, "column": 12 }, "end": { - "line": 536, + "line": 541, "column": 42 } } @@ -155684,15 +157350,15 @@ "updateContext": null }, "value": "this", - "start": 18773, - "end": 18777, + "start": 18989, + "end": 18993, "loc": { "start": { - "line": 537, + "line": 542, "column": 12 }, "end": { - "line": 537, + "line": 542, "column": 16 } } @@ -155710,15 +157376,15 @@ "binop": null, "updateContext": null }, - "start": 18777, - "end": 18778, + "start": 18993, + "end": 18994, "loc": { "start": { - "line": 537, + "line": 542, "column": 16 }, "end": { - "line": 537, + "line": 542, "column": 17 } } @@ -155736,15 +157402,15 @@ "binop": null }, "value": "player", - "start": 18778, - "end": 18784, + "start": 18994, + "end": 19000, "loc": { "start": { - "line": 537, + "line": 542, "column": 17 }, "end": { - "line": 537, + "line": 542, "column": 23 } } @@ -155762,15 +157428,15 @@ "binop": null, "updateContext": null }, - "start": 18784, - "end": 18785, + "start": 19000, + "end": 19001, "loc": { "start": { - "line": 537, + "line": 542, "column": 23 }, "end": { - "line": 537, + "line": 542, "column": 24 } } @@ -155788,15 +157454,15 @@ "binop": null }, "value": "tech_", - "start": 18785, - "end": 18790, + "start": 19001, + "end": 19006, "loc": { "start": { - "line": 537, + "line": 542, "column": 24 }, "end": { - "line": 537, + "line": 542, "column": 29 } } @@ -155814,15 +157480,15 @@ "binop": null, "updateContext": null }, - "start": 18790, - "end": 18791, + "start": 19006, + "end": 19007, "loc": { "start": { - "line": 537, + "line": 542, "column": 29 }, "end": { - "line": 537, + "line": 542, "column": 30 } } @@ -155840,15 +157506,15 @@ "binop": null }, "value": "setCurrentTime", - "start": 18791, - "end": 18805, + "start": 19007, + "end": 19021, "loc": { "start": { - "line": 537, + "line": 542, "column": 30 }, "end": { - "line": 537, + "line": 542, "column": 44 } } @@ -155865,15 +157531,15 @@ "postfix": false, "binop": null }, - "start": 18805, - "end": 18806, + "start": 19021, + "end": 19022, "loc": { "start": { - "line": 537, + "line": 542, "column": 44 }, "end": { - "line": 537, + "line": 542, "column": 45 } } @@ -155891,15 +157557,15 @@ "binop": null }, "value": "currentTime", - "start": 18806, - "end": 18817, + "start": 19022, + "end": 19033, "loc": { "start": { - "line": 537, + "line": 542, "column": 45 }, "end": { - "line": 537, + "line": 542, "column": 56 } } @@ -155916,15 +157582,15 @@ "postfix": false, "binop": null }, - "start": 18817, - "end": 18818, + "start": 19033, + "end": 19034, "loc": { "start": { - "line": 537, + "line": 542, "column": 56 }, "end": { - "line": 537, + "line": 542, "column": 57 } } @@ -155942,15 +157608,15 @@ "binop": null, "updateContext": null }, - "start": 18818, - "end": 18819, + "start": 19034, + "end": 19035, "loc": { "start": { - "line": 537, + "line": 542, "column": 57 }, "end": { - "line": 537, + "line": 542, "column": 58 } } @@ -155967,15 +157633,15 @@ "postfix": false, "binop": null }, - "start": 18828, - "end": 18829, + "start": 19044, + "end": 19045, "loc": { "start": { - "line": 538, + "line": 543, "column": 8 }, "end": { - "line": 538, + "line": 543, "column": 9 } } @@ -155992,15 +157658,15 @@ "postfix": false, "binop": null }, - "start": 18834, - "end": 18835, + "start": 19050, + "end": 19051, "loc": { "start": { - "line": 539, + "line": 544, "column": 4 }, "end": { - "line": 539, + "line": 544, "column": 5 } } @@ -156008,15 +157674,15 @@ { "type": "CommentBlock", "value": "*\n * Get the duration of the stream in seconds.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Duration of the stream.\n ", - "start": 18841, - "end": 19014, + "start": 19057, + "end": 19230, "loc": { "start": { - "line": 541, + "line": 546, "column": 4 }, "end": { - "line": 547, + "line": 552, "column": 7 } } @@ -156034,15 +157700,15 @@ "binop": null }, "value": "getDuration", - "start": 19019, - "end": 19030, + "start": 19235, + "end": 19246, "loc": { "start": { - "line": 548, + "line": 553, "column": 4 }, "end": { - "line": 548, + "line": 553, "column": 15 } } @@ -156059,15 +157725,15 @@ "postfix": false, "binop": null }, - "start": 19030, - "end": 19031, + "start": 19246, + "end": 19247, "loc": { "start": { - "line": 548, + "line": 553, "column": 15 }, "end": { - "line": 548, + "line": 553, "column": 16 } } @@ -156084,15 +157750,15 @@ "postfix": false, "binop": null }, - "start": 19031, - "end": 19032, + "start": 19247, + "end": 19248, "loc": { "start": { - "line": 548, + "line": 553, "column": 16 }, "end": { - "line": 548, + "line": 553, "column": 17 } } @@ -156109,15 +157775,15 @@ "postfix": false, "binop": null }, - "start": 19033, - "end": 19034, + "start": 19249, + "end": 19250, "loc": { "start": { - "line": 548, + "line": 553, "column": 18 }, "end": { - "line": 548, + "line": 553, "column": 19 } } @@ -156137,15 +157803,15 @@ "updateContext": null }, "value": "let", - "start": 19043, - "end": 19046, + "start": 19259, + "end": 19262, "loc": { "start": { - "line": 549, + "line": 554, "column": 8 }, "end": { - "line": 549, + "line": 554, "column": 11 } } @@ -156163,15 +157829,15 @@ "binop": null }, "value": "duration", - "start": 19047, - "end": 19055, + "start": 19263, + "end": 19271, "loc": { "start": { - "line": 549, + "line": 554, "column": 12 }, "end": { - "line": 549, + "line": 554, "column": 20 } } @@ -156190,15 +157856,15 @@ "updateContext": null }, "value": "=", - "start": 19056, - "end": 19057, + "start": 19272, + "end": 19273, "loc": { "start": { - "line": 549, + "line": 554, "column": 21 }, "end": { - "line": 549, + "line": 554, "column": 22 } } @@ -156218,15 +157884,15 @@ "updateContext": null }, "value": "this", - "start": 19058, - "end": 19062, + "start": 19274, + "end": 19278, "loc": { "start": { - "line": 549, + "line": 554, "column": 23 }, "end": { - "line": 549, + "line": 554, "column": 27 } } @@ -156244,15 +157910,15 @@ "binop": null, "updateContext": null }, - "start": 19062, - "end": 19063, + "start": 19278, + "end": 19279, "loc": { "start": { - "line": 549, + "line": 554, "column": 27 }, "end": { - "line": 549, + "line": 554, "column": 28 } } @@ -156270,15 +157936,15 @@ "binop": null }, "value": "surfer", - "start": 19063, - "end": 19069, + "start": 19279, + "end": 19285, "loc": { "start": { - "line": 549, + "line": 554, "column": 28 }, "end": { - "line": 549, + "line": 554, "column": 34 } } @@ -156296,15 +157962,15 @@ "binop": null, "updateContext": null }, - "start": 19069, - "end": 19070, + "start": 19285, + "end": 19286, "loc": { "start": { - "line": 549, + "line": 554, "column": 34 }, "end": { - "line": 549, + "line": 554, "column": 35 } } @@ -156322,15 +157988,15 @@ "binop": null }, "value": "getDuration", - "start": 19070, - "end": 19081, + "start": 19286, + "end": 19297, "loc": { "start": { - "line": 549, + "line": 554, "column": 35 }, "end": { - "line": 549, + "line": 554, "column": 46 } } @@ -156347,15 +158013,15 @@ "postfix": false, "binop": null }, - "start": 19081, - "end": 19082, + "start": 19297, + "end": 19298, "loc": { "start": { - "line": 549, + "line": 554, "column": 46 }, "end": { - "line": 549, + "line": 554, "column": 47 } } @@ -156372,15 +158038,15 @@ "postfix": false, "binop": null }, - "start": 19082, - "end": 19083, + "start": 19298, + "end": 19299, "loc": { "start": { - "line": 549, + "line": 554, "column": 47 }, "end": { - "line": 549, + "line": 554, "column": 48 } } @@ -156398,15 +158064,15 @@ "binop": null, "updateContext": null }, - "start": 19083, - "end": 19084, + "start": 19299, + "end": 19300, "loc": { "start": { - "line": 549, + "line": 554, "column": 48 }, "end": { - "line": 549, + "line": 554, "column": 49 } } @@ -156424,15 +158090,15 @@ "binop": null }, "value": "duration", - "start": 19093, - "end": 19101, + "start": 19309, + "end": 19317, "loc": { "start": { - "line": 550, + "line": 555, "column": 8 }, "end": { - "line": 550, + "line": 555, "column": 16 } } @@ -156451,15 +158117,15 @@ "updateContext": null }, "value": "=", - "start": 19102, - "end": 19103, + "start": 19318, + "end": 19319, "loc": { "start": { - "line": 550, + "line": 555, "column": 17 }, "end": { - "line": 550, + "line": 555, "column": 18 } } @@ -156477,15 +158143,15 @@ "binop": null }, "value": "isNaN", - "start": 19104, - "end": 19109, + "start": 19320, + "end": 19325, "loc": { "start": { - "line": 550, + "line": 555, "column": 19 }, "end": { - "line": 550, + "line": 555, "column": 24 } } @@ -156502,15 +158168,15 @@ "postfix": false, "binop": null }, - "start": 19109, - "end": 19110, + "start": 19325, + "end": 19326, "loc": { "start": { - "line": 550, + "line": 555, "column": 24 }, "end": { - "line": 550, + "line": 555, "column": 25 } } @@ -156528,15 +158194,15 @@ "binop": null }, "value": "duration", - "start": 19110, - "end": 19118, + "start": 19326, + "end": 19334, "loc": { "start": { - "line": 550, + "line": 555, "column": 25 }, "end": { - "line": 550, + "line": 555, "column": 33 } } @@ -156553,15 +158219,15 @@ "postfix": false, "binop": null }, - "start": 19118, - "end": 19119, + "start": 19334, + "end": 19335, "loc": { "start": { - "line": 550, + "line": 555, "column": 33 }, "end": { - "line": 550, + "line": 555, "column": 34 } } @@ -156579,15 +158245,15 @@ "binop": null, "updateContext": null }, - "start": 19120, - "end": 19121, + "start": 19336, + "end": 19337, "loc": { "start": { - "line": 550, + "line": 555, "column": 35 }, "end": { - "line": 550, + "line": 555, "column": 36 } } @@ -156606,15 +158272,15 @@ "updateContext": null }, "value": 0, - "start": 19122, - "end": 19123, + "start": 19338, + "end": 19339, "loc": { "start": { - "line": 550, + "line": 555, "column": 37 }, "end": { - "line": 550, + "line": 555, "column": 38 } } @@ -156632,15 +158298,15 @@ "binop": null, "updateContext": null }, - "start": 19124, - "end": 19125, + "start": 19340, + "end": 19341, "loc": { "start": { - "line": 550, + "line": 555, "column": 39 }, "end": { - "line": 550, + "line": 555, "column": 40 } } @@ -156658,15 +158324,15 @@ "binop": null }, "value": "duration", - "start": 19126, - "end": 19134, + "start": 19342, + "end": 19350, "loc": { "start": { - "line": 550, + "line": 555, "column": 41 }, "end": { - "line": 550, + "line": 555, "column": 49 } } @@ -156684,15 +158350,15 @@ "binop": null, "updateContext": null }, - "start": 19134, - "end": 19135, + "start": 19350, + "end": 19351, "loc": { "start": { - "line": 550, + "line": 555, "column": 49 }, "end": { - "line": 550, + "line": 555, "column": 50 } } @@ -156712,15 +158378,15 @@ "updateContext": null }, "value": "return", - "start": 19145, - "end": 19151, + "start": 19361, + "end": 19367, "loc": { "start": { - "line": 552, + "line": 557, "column": 8 }, "end": { - "line": 552, + "line": 557, "column": 14 } } @@ -156738,15 +158404,15 @@ "binop": null }, "value": "duration", - "start": 19152, - "end": 19160, + "start": 19368, + "end": 19376, "loc": { "start": { - "line": 552, + "line": 557, "column": 15 }, "end": { - "line": 552, + "line": 557, "column": 23 } } @@ -156764,15 +158430,15 @@ "binop": null, "updateContext": null }, - "start": 19160, - "end": 19161, + "start": 19376, + "end": 19377, "loc": { "start": { - "line": 552, + "line": 557, "column": 23 }, "end": { - "line": 552, + "line": 557, "column": 24 } } @@ -156789,15 +158455,15 @@ "postfix": false, "binop": null }, - "start": 19166, - "end": 19167, + "start": 19382, + "end": 19383, "loc": { "start": { - "line": 553, + "line": 558, "column": 4 }, "end": { - "line": 553, + "line": 558, "column": 5 } } @@ -156805,15 +158471,15 @@ { "type": "CommentBlock", "value": "*\n * Updates the player's element displaying the duration time.\n *\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n ", - "start": 19173, - "end": 19348, + "start": 19389, + "end": 19564, "loc": { "start": { - "line": 555, + "line": 560, "column": 4 }, "end": { - "line": 560, + "line": 565, "column": 7 } } @@ -156831,15 +158497,15 @@ "binop": null }, "value": "setDuration", - "start": 19353, - "end": 19364, + "start": 19569, + "end": 19580, "loc": { "start": { - "line": 561, + "line": 566, "column": 4 }, "end": { - "line": 561, + "line": 566, "column": 15 } } @@ -156856,15 +158522,15 @@ "postfix": false, "binop": null }, - "start": 19364, - "end": 19365, + "start": 19580, + "end": 19581, "loc": { "start": { - "line": 561, + "line": 566, "column": 15 }, "end": { - "line": 561, + "line": 566, "column": 16 } } @@ -156882,15 +158548,15 @@ "binop": null }, "value": "duration", - "start": 19365, - "end": 19373, + "start": 19581, + "end": 19589, "loc": { "start": { - "line": 561, + "line": 566, "column": 16 }, "end": { - "line": 561, + "line": 566, "column": 24 } } @@ -156907,15 +158573,15 @@ "postfix": false, "binop": null }, - "start": 19373, - "end": 19374, + "start": 19589, + "end": 19590, "loc": { "start": { - "line": 561, + "line": 566, "column": 24 }, "end": { - "line": 561, + "line": 566, "column": 25 } } @@ -156932,15 +158598,15 @@ "postfix": false, "binop": null }, - "start": 19375, - "end": 19376, + "start": 19591, + "end": 19592, "loc": { "start": { - "line": 561, + "line": 566, "column": 26 }, "end": { - "line": 561, + "line": 566, "column": 27 } } @@ -156960,15 +158626,15 @@ "updateContext": null }, "value": "if", - "start": 19385, - "end": 19387, + "start": 19601, + "end": 19603, "loc": { "start": { - "line": 562, + "line": 567, "column": 8 }, "end": { - "line": 562, + "line": 567, "column": 10 } } @@ -156985,15 +158651,15 @@ "postfix": false, "binop": null }, - "start": 19388, - "end": 19389, + "start": 19604, + "end": 19605, "loc": { "start": { - "line": 562, + "line": 567, "column": 11 }, "end": { - "line": 562, + "line": 567, "column": 12 } } @@ -157011,15 +158677,15 @@ "binop": null }, "value": "duration", - "start": 19389, - "end": 19397, + "start": 19605, + "end": 19613, "loc": { "start": { - "line": 562, + "line": 567, "column": 12 }, "end": { - "line": 562, + "line": 567, "column": 20 } } @@ -157038,15 +158704,15 @@ "updateContext": null }, "value": "===", - "start": 19398, - "end": 19401, + "start": 19614, + "end": 19617, "loc": { "start": { - "line": 562, + "line": 567, "column": 21 }, "end": { - "line": 562, + "line": 567, "column": 24 } } @@ -157064,15 +158730,15 @@ "binop": null }, "value": "undefined", - "start": 19402, - "end": 19411, + "start": 19618, + "end": 19627, "loc": { "start": { - "line": 562, + "line": 567, "column": 25 }, "end": { - "line": 562, + "line": 567, "column": 34 } } @@ -157089,15 +158755,15 @@ "postfix": false, "binop": null }, - "start": 19411, - "end": 19412, + "start": 19627, + "end": 19628, "loc": { "start": { - "line": 562, + "line": 567, "column": 34 }, "end": { - "line": 562, + "line": 567, "column": 35 } } @@ -157114,15 +158780,15 @@ "postfix": false, "binop": null }, - "start": 19413, - "end": 19414, + "start": 19629, + "end": 19630, "loc": { "start": { - "line": 562, + "line": 567, "column": 36 }, "end": { - "line": 562, + "line": 567, "column": 37 } } @@ -157140,15 +158806,15 @@ "binop": null }, "value": "duration", - "start": 19427, - "end": 19435, + "start": 19643, + "end": 19651, "loc": { "start": { - "line": 563, + "line": 568, "column": 12 }, "end": { - "line": 563, + "line": 568, "column": 20 } } @@ -157167,15 +158833,15 @@ "updateContext": null }, "value": "=", - "start": 19436, - "end": 19437, + "start": 19652, + "end": 19653, "loc": { "start": { - "line": 563, + "line": 568, "column": 21 }, "end": { - "line": 563, + "line": 568, "column": 22 } } @@ -157195,15 +158861,15 @@ "updateContext": null }, "value": "this", - "start": 19438, - "end": 19442, + "start": 19654, + "end": 19658, "loc": { "start": { - "line": 563, + "line": 568, "column": 23 }, "end": { - "line": 563, + "line": 568, "column": 27 } } @@ -157221,15 +158887,15 @@ "binop": null, "updateContext": null }, - "start": 19442, - "end": 19443, + "start": 19658, + "end": 19659, "loc": { "start": { - "line": 563, + "line": 568, "column": 27 }, "end": { - "line": 563, + "line": 568, "column": 28 } } @@ -157247,15 +158913,15 @@ "binop": null }, "value": "surfer", - "start": 19443, - "end": 19449, + "start": 19659, + "end": 19665, "loc": { "start": { - "line": 563, + "line": 568, "column": 28 }, "end": { - "line": 563, + "line": 568, "column": 34 } } @@ -157273,15 +158939,15 @@ "binop": null, "updateContext": null }, - "start": 19449, - "end": 19450, + "start": 19665, + "end": 19666, "loc": { "start": { - "line": 563, + "line": 568, "column": 34 }, "end": { - "line": 563, + "line": 568, "column": 35 } } @@ -157299,15 +158965,15 @@ "binop": null }, "value": "getDuration", - "start": 19450, - "end": 19461, + "start": 19666, + "end": 19677, "loc": { "start": { - "line": 563, + "line": 568, "column": 35 }, "end": { - "line": 563, + "line": 568, "column": 46 } } @@ -157324,15 +158990,15 @@ "postfix": false, "binop": null }, - "start": 19461, - "end": 19462, + "start": 19677, + "end": 19678, "loc": { "start": { - "line": 563, + "line": 568, "column": 46 }, "end": { - "line": 563, + "line": 568, "column": 47 } } @@ -157349,15 +159015,15 @@ "postfix": false, "binop": null }, - "start": 19462, - "end": 19463, + "start": 19678, + "end": 19679, "loc": { "start": { - "line": 563, + "line": 568, "column": 47 }, "end": { - "line": 563, + "line": 568, "column": 48 } } @@ -157375,15 +159041,15 @@ "binop": null, "updateContext": null }, - "start": 19463, - "end": 19464, + "start": 19679, + "end": 19680, "loc": { "start": { - "line": 563, + "line": 568, "column": 48 }, "end": { - "line": 563, + "line": 568, "column": 49 } } @@ -157400,15 +159066,15 @@ "postfix": false, "binop": null }, - "start": 19473, - "end": 19474, + "start": 19689, + "end": 19690, "loc": { "start": { - "line": 564, + "line": 569, "column": 8 }, "end": { - "line": 564, + "line": 569, "column": 9 } } @@ -157426,15 +159092,15 @@ "binop": null }, "value": "duration", - "start": 19483, - "end": 19491, + "start": 19699, + "end": 19707, "loc": { "start": { - "line": 565, + "line": 570, "column": 8 }, "end": { - "line": 565, + "line": 570, "column": 16 } } @@ -157453,15 +159119,15 @@ "updateContext": null }, "value": "=", - "start": 19492, - "end": 19493, + "start": 19708, + "end": 19709, "loc": { "start": { - "line": 565, + "line": 570, "column": 17 }, "end": { - "line": 565, + "line": 570, "column": 18 } } @@ -157479,15 +159145,15 @@ "binop": null }, "value": "isNaN", - "start": 19494, - "end": 19499, + "start": 19710, + "end": 19715, "loc": { "start": { - "line": 565, + "line": 570, "column": 19 }, "end": { - "line": 565, + "line": 570, "column": 24 } } @@ -157504,15 +159170,15 @@ "postfix": false, "binop": null }, - "start": 19499, - "end": 19500, + "start": 19715, + "end": 19716, "loc": { "start": { - "line": 565, + "line": 570, "column": 24 }, "end": { - "line": 565, + "line": 570, "column": 25 } } @@ -157530,15 +159196,15 @@ "binop": null }, "value": "duration", - "start": 19500, - "end": 19508, + "start": 19716, + "end": 19724, "loc": { "start": { - "line": 565, + "line": 570, "column": 25 }, "end": { - "line": 565, + "line": 570, "column": 33 } } @@ -157555,15 +159221,15 @@ "postfix": false, "binop": null }, - "start": 19508, - "end": 19509, + "start": 19724, + "end": 19725, "loc": { "start": { - "line": 565, + "line": 570, "column": 33 }, "end": { - "line": 565, + "line": 570, "column": 34 } } @@ -157581,15 +159247,15 @@ "binop": null, "updateContext": null }, - "start": 19510, - "end": 19511, + "start": 19726, + "end": 19727, "loc": { "start": { - "line": 565, + "line": 570, "column": 35 }, "end": { - "line": 565, + "line": 570, "column": 36 } } @@ -157608,15 +159274,15 @@ "updateContext": null }, "value": 0, - "start": 19512, - "end": 19513, + "start": 19728, + "end": 19729, "loc": { "start": { - "line": 565, + "line": 570, "column": 37 }, "end": { - "line": 565, + "line": 570, "column": 38 } } @@ -157634,15 +159300,15 @@ "binop": null, "updateContext": null }, - "start": 19514, - "end": 19515, + "start": 19730, + "end": 19731, "loc": { "start": { - "line": 565, + "line": 570, "column": 39 }, "end": { - "line": 565, + "line": 570, "column": 40 } } @@ -157660,15 +159326,15 @@ "binop": null }, "value": "duration", - "start": 19516, - "end": 19524, + "start": 19732, + "end": 19740, "loc": { "start": { - "line": 565, + "line": 570, "column": 41 }, "end": { - "line": 565, + "line": 570, "column": 49 } } @@ -157686,15 +159352,15 @@ "binop": null, "updateContext": null }, - "start": 19524, - "end": 19525, + "start": 19740, + "end": 19741, "loc": { "start": { - "line": 565, + "line": 570, "column": 49 }, "end": { - "line": 565, + "line": 570, "column": 50 } } @@ -157702,15 +159368,15 @@ { "type": "CommentLine", "value": " update duration display component", - "start": 19535, - "end": 19571, + "start": 19751, + "end": 19787, "loc": { "start": { - "line": 567, + "line": 572, "column": 8 }, "end": { - "line": 567, + "line": 572, "column": 44 } } @@ -157730,15 +159396,15 @@ "updateContext": null }, "value": "if", - "start": 19580, - "end": 19582, + "start": 19796, + "end": 19798, "loc": { "start": { - "line": 568, + "line": 573, "column": 8 }, "end": { - "line": 568, + "line": 573, "column": 10 } } @@ -157755,15 +159421,15 @@ "postfix": false, "binop": null }, - "start": 19583, - "end": 19584, + "start": 19799, + "end": 19800, "loc": { "start": { - "line": 568, + "line": 573, "column": 11 }, "end": { - "line": 568, + "line": 573, "column": 12 } } @@ -157783,15 +159449,15 @@ "updateContext": null }, "value": "this", - "start": 19584, - "end": 19588, + "start": 19800, + "end": 19804, "loc": { "start": { - "line": 568, + "line": 573, "column": 12 }, "end": { - "line": 568, + "line": 573, "column": 16 } } @@ -157809,15 +159475,15 @@ "binop": null, "updateContext": null }, - "start": 19588, - "end": 19589, + "start": 19804, + "end": 19805, "loc": { "start": { - "line": 568, + "line": 573, "column": 16 }, "end": { - "line": 568, + "line": 573, "column": 17 } } @@ -157835,15 +159501,15 @@ "binop": null }, "value": "player", - "start": 19589, - "end": 19595, + "start": 19805, + "end": 19811, "loc": { "start": { - "line": 568, + "line": 573, "column": 17 }, "end": { - "line": 568, + "line": 573, "column": 23 } } @@ -157861,15 +159527,15 @@ "binop": null, "updateContext": null }, - "start": 19595, - "end": 19596, + "start": 19811, + "end": 19812, "loc": { "start": { - "line": 568, + "line": 573, "column": 23 }, "end": { - "line": 568, + "line": 573, "column": 24 } } @@ -157887,15 +159553,15 @@ "binop": null }, "value": "controlBar", - "start": 19596, - "end": 19606, + "start": 19812, + "end": 19822, "loc": { "start": { - "line": 568, + "line": 573, "column": 24 }, "end": { - "line": 568, + "line": 573, "column": 34 } } @@ -157913,15 +159579,15 @@ "binop": null, "updateContext": null }, - "start": 19606, - "end": 19607, + "start": 19822, + "end": 19823, "loc": { "start": { - "line": 568, + "line": 573, "column": 34 }, "end": { - "line": 568, + "line": 573, "column": 35 } } @@ -157939,15 +159605,15 @@ "binop": null }, "value": "durationDisplay", - "start": 19607, - "end": 19622, + "start": 19823, + "end": 19838, "loc": { "start": { - "line": 568, + "line": 573, "column": 35 }, "end": { - "line": 568, + "line": 573, "column": 50 } } @@ -157966,15 +159632,15 @@ "updateContext": null }, "value": "&&", - "start": 19623, - "end": 19625, + "start": 19839, + "end": 19841, "loc": { "start": { - "line": 568, + "line": 573, "column": 51 }, "end": { - "line": 568, + "line": 573, "column": 53 } } @@ -157994,15 +159660,15 @@ "updateContext": null }, "value": "this", - "start": 19638, - "end": 19642, + "start": 19854, + "end": 19858, "loc": { "start": { - "line": 569, + "line": 574, "column": 12 }, "end": { - "line": 569, + "line": 574, "column": 16 } } @@ -158020,15 +159686,15 @@ "binop": null, "updateContext": null }, - "start": 19642, - "end": 19643, + "start": 19858, + "end": 19859, "loc": { "start": { - "line": 569, + "line": 574, "column": 16 }, "end": { - "line": 569, + "line": 574, "column": 17 } } @@ -158046,15 +159712,15 @@ "binop": null }, "value": "player", - "start": 19643, - "end": 19649, + "start": 19859, + "end": 19865, "loc": { "start": { - "line": 569, + "line": 574, "column": 17 }, "end": { - "line": 569, + "line": 574, "column": 23 } } @@ -158072,15 +159738,15 @@ "binop": null, "updateContext": null }, - "start": 19649, - "end": 19650, + "start": 19865, + "end": 19866, "loc": { "start": { - "line": 569, + "line": 574, "column": 23 }, "end": { - "line": 569, + "line": 574, "column": 24 } } @@ -158098,15 +159764,15 @@ "binop": null }, "value": "controlBar", - "start": 19650, - "end": 19660, + "start": 19866, + "end": 19876, "loc": { "start": { - "line": 569, + "line": 574, "column": 24 }, "end": { - "line": 569, + "line": 574, "column": 34 } } @@ -158124,15 +159790,15 @@ "binop": null, "updateContext": null }, - "start": 19660, - "end": 19661, + "start": 19876, + "end": 19877, "loc": { "start": { - "line": 569, + "line": 574, "column": 34 }, "end": { - "line": 569, + "line": 574, "column": 35 } } @@ -158150,15 +159816,15 @@ "binop": null }, "value": "durationDisplay", - "start": 19661, - "end": 19676, + "start": 19877, + "end": 19892, "loc": { "start": { - "line": 569, + "line": 574, "column": 35 }, "end": { - "line": 569, + "line": 574, "column": 50 } } @@ -158176,15 +159842,15 @@ "binop": null, "updateContext": null }, - "start": 19676, - "end": 19677, + "start": 19892, + "end": 19893, "loc": { "start": { - "line": 569, + "line": 574, "column": 50 }, "end": { - "line": 569, + "line": 574, "column": 51 } } @@ -158202,15 +159868,15 @@ "binop": null }, "value": "contentEl", - "start": 19677, - "end": 19686, + "start": 19893, + "end": 19902, "loc": { "start": { - "line": 569, + "line": 574, "column": 51 }, "end": { - "line": 569, + "line": 574, "column": 60 } } @@ -158227,15 +159893,15 @@ "postfix": false, "binop": null }, - "start": 19686, - "end": 19687, + "start": 19902, + "end": 19903, "loc": { "start": { - "line": 569, + "line": 574, "column": 60 }, "end": { - "line": 569, + "line": 574, "column": 61 } } @@ -158252,15 +159918,15 @@ "postfix": false, "binop": null }, - "start": 19687, - "end": 19688, + "start": 19903, + "end": 19904, "loc": { "start": { - "line": 569, + "line": 574, "column": 61 }, "end": { - "line": 569, + "line": 574, "column": 62 } } @@ -158279,15 +159945,15 @@ "updateContext": null }, "value": "&&", - "start": 19689, - "end": 19691, + "start": 19905, + "end": 19907, "loc": { "start": { - "line": 569, + "line": 574, "column": 63 }, "end": { - "line": 569, + "line": 574, "column": 65 } } @@ -158307,15 +159973,15 @@ "updateContext": null }, "value": "this", - "start": 19704, - "end": 19708, + "start": 19920, + "end": 19924, "loc": { "start": { - "line": 570, + "line": 575, "column": 12 }, "end": { - "line": 570, + "line": 575, "column": 16 } } @@ -158333,15 +159999,15 @@ "binop": null, "updateContext": null }, - "start": 19708, - "end": 19709, + "start": 19924, + "end": 19925, "loc": { "start": { - "line": 570, + "line": 575, "column": 16 }, "end": { - "line": 570, + "line": 575, "column": 17 } } @@ -158359,15 +160025,15 @@ "binop": null }, "value": "player", - "start": 19709, - "end": 19715, + "start": 19925, + "end": 19931, "loc": { "start": { - "line": 570, + "line": 575, "column": 17 }, "end": { - "line": 570, + "line": 575, "column": 23 } } @@ -158385,15 +160051,15 @@ "binop": null, "updateContext": null }, - "start": 19715, - "end": 19716, + "start": 19931, + "end": 19932, "loc": { "start": { - "line": 570, + "line": 575, "column": 23 }, "end": { - "line": 570, + "line": 575, "column": 24 } } @@ -158411,15 +160077,15 @@ "binop": null }, "value": "controlBar", - "start": 19716, - "end": 19726, + "start": 19932, + "end": 19942, "loc": { "start": { - "line": 570, + "line": 575, "column": 24 }, "end": { - "line": 570, + "line": 575, "column": 34 } } @@ -158437,15 +160103,15 @@ "binop": null, "updateContext": null }, - "start": 19726, - "end": 19727, + "start": 19942, + "end": 19943, "loc": { "start": { - "line": 570, + "line": 575, "column": 34 }, "end": { - "line": 570, + "line": 575, "column": 35 } } @@ -158463,15 +160129,15 @@ "binop": null }, "value": "durationDisplay", - "start": 19727, - "end": 19742, + "start": 19943, + "end": 19958, "loc": { "start": { - "line": 570, + "line": 575, "column": 35 }, "end": { - "line": 570, + "line": 575, "column": 50 } } @@ -158489,15 +160155,15 @@ "binop": null, "updateContext": null }, - "start": 19742, - "end": 19743, + "start": 19958, + "end": 19959, "loc": { "start": { - "line": 570, + "line": 575, "column": 50 }, "end": { - "line": 570, + "line": 575, "column": 51 } } @@ -158515,15 +160181,15 @@ "binop": null }, "value": "contentEl", - "start": 19743, - "end": 19752, + "start": 19959, + "end": 19968, "loc": { "start": { - "line": 570, + "line": 575, "column": 51 }, "end": { - "line": 570, + "line": 575, "column": 60 } } @@ -158540,15 +160206,15 @@ "postfix": false, "binop": null }, - "start": 19752, - "end": 19753, + "start": 19968, + "end": 19969, "loc": { "start": { - "line": 570, + "line": 575, "column": 60 }, "end": { - "line": 570, + "line": 575, "column": 61 } } @@ -158565,15 +160231,15 @@ "postfix": false, "binop": null }, - "start": 19753, - "end": 19754, + "start": 19969, + "end": 19970, "loc": { "start": { - "line": 570, + "line": 575, "column": 61 }, "end": { - "line": 570, + "line": 575, "column": 62 } } @@ -158591,15 +160257,15 @@ "binop": null, "updateContext": null }, - "start": 19754, - "end": 19755, + "start": 19970, + "end": 19971, "loc": { "start": { - "line": 570, + "line": 575, "column": 62 }, "end": { - "line": 570, + "line": 575, "column": 63 } } @@ -158617,15 +160283,15 @@ "binop": null }, "value": "lastChild", - "start": 19755, - "end": 19764, + "start": 19971, + "end": 19980, "loc": { "start": { - "line": 570, + "line": 575, "column": 63 }, "end": { - "line": 570, + "line": 575, "column": 72 } } @@ -158642,15 +160308,15 @@ "postfix": false, "binop": null }, - "start": 19764, - "end": 19765, + "start": 19980, + "end": 19981, "loc": { "start": { - "line": 570, + "line": 575, "column": 72 }, "end": { - "line": 570, + "line": 575, "column": 73 } } @@ -158667,15 +160333,15 @@ "postfix": false, "binop": null }, - "start": 19766, - "end": 19767, + "start": 19982, + "end": 19983, "loc": { "start": { - "line": 570, + "line": 575, "column": 74 }, "end": { - "line": 570, + "line": 575, "column": 75 } } @@ -158695,15 +160361,15 @@ "updateContext": null }, "value": "this", - "start": 19780, - "end": 19784, + "start": 19996, + "end": 20000, "loc": { "start": { - "line": 571, + "line": 576, "column": 12 }, "end": { - "line": 571, + "line": 576, "column": 16 } } @@ -158721,15 +160387,15 @@ "binop": null, "updateContext": null }, - "start": 19784, - "end": 19785, + "start": 20000, + "end": 20001, "loc": { "start": { - "line": 571, + "line": 576, "column": 16 }, "end": { - "line": 571, + "line": 576, "column": 17 } } @@ -158747,15 +160413,15 @@ "binop": null }, "value": "player", - "start": 19785, - "end": 19791, + "start": 20001, + "end": 20007, "loc": { "start": { - "line": 571, + "line": 576, "column": 17 }, "end": { - "line": 571, + "line": 576, "column": 23 } } @@ -158773,15 +160439,15 @@ "binop": null, "updateContext": null }, - "start": 19791, - "end": 19792, + "start": 20007, + "end": 20008, "loc": { "start": { - "line": 571, + "line": 576, "column": 23 }, "end": { - "line": 571, + "line": 576, "column": 24 } } @@ -158799,15 +160465,15 @@ "binop": null }, "value": "controlBar", - "start": 19792, - "end": 19802, + "start": 20008, + "end": 20018, "loc": { "start": { - "line": 571, + "line": 576, "column": 24 }, "end": { - "line": 571, + "line": 576, "column": 34 } } @@ -158825,15 +160491,15 @@ "binop": null, "updateContext": null }, - "start": 19802, - "end": 19803, + "start": 20018, + "end": 20019, "loc": { "start": { - "line": 571, + "line": 576, "column": 34 }, "end": { - "line": 571, + "line": 576, "column": 35 } } @@ -158851,15 +160517,15 @@ "binop": null }, "value": "durationDisplay", - "start": 19803, - "end": 19818, + "start": 20019, + "end": 20034, "loc": { "start": { - "line": 571, + "line": 576, "column": 35 }, "end": { - "line": 571, + "line": 576, "column": 50 } } @@ -158877,15 +160543,15 @@ "binop": null, "updateContext": null }, - "start": 19818, - "end": 19819, + "start": 20034, + "end": 20035, "loc": { "start": { - "line": 571, + "line": 576, "column": 50 }, "end": { - "line": 571, + "line": 576, "column": 51 } } @@ -158903,15 +160569,15 @@ "binop": null }, "value": "formattedTime_", - "start": 19819, - "end": 19833, + "start": 20035, + "end": 20049, "loc": { "start": { - "line": 571, + "line": 576, "column": 51 }, "end": { - "line": 571, + "line": 576, "column": 65 } } @@ -158930,15 +160596,15 @@ "updateContext": null }, "value": "=", - "start": 19834, - "end": 19835, + "start": 20050, + "end": 20051, "loc": { "start": { - "line": 571, + "line": 576, "column": 66 }, "end": { - "line": 571, + "line": 576, "column": 67 } } @@ -158958,15 +160624,15 @@ "updateContext": null }, "value": "this", - "start": 19852, - "end": 19856, + "start": 20068, + "end": 20072, "loc": { "start": { - "line": 572, + "line": 577, "column": 16 }, "end": { - "line": 572, + "line": 577, "column": 20 } } @@ -158984,15 +160650,15 @@ "binop": null, "updateContext": null }, - "start": 19856, - "end": 19857, + "start": 20072, + "end": 20073, "loc": { "start": { - "line": 572, + "line": 577, "column": 20 }, "end": { - "line": 572, + "line": 577, "column": 21 } } @@ -159010,15 +160676,15 @@ "binop": null }, "value": "player", - "start": 19857, - "end": 19863, + "start": 20073, + "end": 20079, "loc": { "start": { - "line": 572, + "line": 577, "column": 21 }, "end": { - "line": 572, + "line": 577, "column": 27 } } @@ -159036,15 +160702,15 @@ "binop": null, "updateContext": null }, - "start": 19863, - "end": 19864, + "start": 20079, + "end": 20080, "loc": { "start": { - "line": 572, + "line": 577, "column": 27 }, "end": { - "line": 572, + "line": 577, "column": 28 } } @@ -159062,15 +160728,15 @@ "binop": null }, "value": "controlBar", - "start": 19864, - "end": 19874, + "start": 20080, + "end": 20090, "loc": { "start": { - "line": 572, + "line": 577, "column": 28 }, "end": { - "line": 572, + "line": 577, "column": 38 } } @@ -159088,15 +160754,15 @@ "binop": null, "updateContext": null }, - "start": 19874, - "end": 19875, + "start": 20090, + "end": 20091, "loc": { "start": { - "line": 572, + "line": 577, "column": 38 }, "end": { - "line": 572, + "line": 577, "column": 39 } } @@ -159114,15 +160780,15 @@ "binop": null }, "value": "durationDisplay", - "start": 19875, - "end": 19890, + "start": 20091, + "end": 20106, "loc": { "start": { - "line": 572, + "line": 577, "column": 39 }, "end": { - "line": 572, + "line": 577, "column": 54 } } @@ -159140,15 +160806,15 @@ "binop": null, "updateContext": null }, - "start": 19890, - "end": 19891, + "start": 20106, + "end": 20107, "loc": { "start": { - "line": 572, + "line": 577, "column": 54 }, "end": { - "line": 572, + "line": 577, "column": 55 } } @@ -159166,15 +160832,15 @@ "binop": null }, "value": "contentEl", - "start": 19891, - "end": 19900, + "start": 20107, + "end": 20116, "loc": { "start": { - "line": 572, + "line": 577, "column": 55 }, "end": { - "line": 572, + "line": 577, "column": 64 } } @@ -159191,15 +160857,15 @@ "postfix": false, "binop": null }, - "start": 19900, - "end": 19901, + "start": 20116, + "end": 20117, "loc": { "start": { - "line": 572, + "line": 577, "column": 64 }, "end": { - "line": 572, + "line": 577, "column": 65 } } @@ -159216,15 +160882,15 @@ "postfix": false, "binop": null }, - "start": 19901, - "end": 19902, + "start": 20117, + "end": 20118, "loc": { "start": { - "line": 572, + "line": 577, "column": 65 }, "end": { - "line": 572, + "line": 577, "column": 66 } } @@ -159242,15 +160908,15 @@ "binop": null, "updateContext": null }, - "start": 19902, - "end": 19903, + "start": 20118, + "end": 20119, "loc": { "start": { - "line": 572, + "line": 577, "column": 66 }, "end": { - "line": 572, + "line": 577, "column": 67 } } @@ -159268,15 +160934,15 @@ "binop": null }, "value": "lastChild", - "start": 19903, - "end": 19912, + "start": 20119, + "end": 20128, "loc": { "start": { - "line": 572, + "line": 577, "column": 67 }, "end": { - "line": 572, + "line": 577, "column": 76 } } @@ -159294,15 +160960,15 @@ "binop": null, "updateContext": null }, - "start": 19912, - "end": 19913, + "start": 20128, + "end": 20129, "loc": { "start": { - "line": 572, + "line": 577, "column": 76 }, "end": { - "line": 572, + "line": 577, "column": 77 } } @@ -159320,15 +160986,15 @@ "binop": null }, "value": "textContent", - "start": 19913, - "end": 19924, + "start": 20129, + "end": 20140, "loc": { "start": { - "line": 572, + "line": 577, "column": 77 }, "end": { - "line": 572, + "line": 577, "column": 88 } } @@ -159347,19 +161013,73 @@ "updateContext": null }, "value": "=", - "start": 19925, - "end": 19926, + "start": 20141, + "end": 20142, "loc": { "start": { - "line": 572, + "line": 577, "column": 89 }, "end": { - "line": 572, + "line": 577, "column": 90 } } }, + { + "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": 20163, + "end": 20167, + "loc": { + "start": { + "line": 578, + "column": 20 + }, + "end": { + "line": 578, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20167, + "end": 20168, + "loc": { + "start": { + "line": 578, + "column": 24 + }, + "end": { + "line": 578, + "column": 25 + } + } + }, { "type": { "label": "name", @@ -159372,17 +161092,17 @@ "postfix": false, "binop": null }, - "value": "formatTime", - "start": 19947, - "end": 19957, + "value": "_formatTime", + "start": 20168, + "end": 20179, "loc": { "start": { - "line": 573, - "column": 20 + "line": 578, + "column": 25 }, "end": { - "line": 573, - "column": 30 + "line": 578, + "column": 36 } } }, @@ -159398,16 +161118,16 @@ "postfix": false, "binop": null }, - "start": 19957, - "end": 19958, + "start": 20179, + "end": 20180, "loc": { "start": { - "line": 573, - "column": 30 + "line": 578, + "column": 36 }, "end": { - "line": 573, - "column": 31 + "line": 578, + "column": 37 } } }, @@ -159424,16 +161144,16 @@ "binop": null }, "value": "duration", - "start": 19958, - "end": 19966, + "start": 20180, + "end": 20188, "loc": { "start": { - "line": 573, - "column": 31 + "line": 578, + "column": 37 }, "end": { - "line": 573, - "column": 39 + "line": 578, + "column": 45 } } }, @@ -159450,16 +161170,16 @@ "binop": null, "updateContext": null }, - "start": 19966, - "end": 19967, + "start": 20188, + "end": 20189, "loc": { "start": { - "line": 573, - "column": 39 + "line": 578, + "column": 45 }, "end": { - "line": 573, - "column": 40 + "line": 578, + "column": 46 } } }, @@ -159476,16 +161196,16 @@ "binop": null }, "value": "duration", - "start": 19968, - "end": 19976, + "start": 20190, + "end": 20198, "loc": { "start": { - "line": 573, - "column": 41 + "line": 578, + "column": 47 }, "end": { - "line": 573, - "column": 49 + "line": 578, + "column": 55 } } }, @@ -159502,16 +161222,16 @@ "binop": null, "updateContext": null }, - "start": 19976, - "end": 19977, + "start": 20198, + "end": 20199, "loc": { "start": { - "line": 573, - "column": 49 + "line": 578, + "column": 55 }, "end": { - "line": 573, - "column": 50 + "line": 578, + "column": 56 } } }, @@ -159530,16 +161250,16 @@ "updateContext": null }, "value": "this", - "start": 19978, - "end": 19982, + "start": 20200, + "end": 20204, "loc": { "start": { - "line": 573, - "column": 51 + "line": 578, + "column": 57 }, "end": { - "line": 573, - "column": 55 + "line": 578, + "column": 61 } } }, @@ -159556,16 +161276,16 @@ "binop": null, "updateContext": null }, - "start": 19982, - "end": 19983, + "start": 20204, + "end": 20205, "loc": { "start": { - "line": 573, - "column": 55 + "line": 578, + "column": 61 }, "end": { - "line": 573, - "column": 56 + "line": 578, + "column": 62 } } }, @@ -159582,16 +161302,16 @@ "binop": null }, "value": "displayMilliseconds", - "start": 19983, - "end": 20002, + "start": 20205, + "end": 20224, "loc": { "start": { - "line": 573, - "column": 56 + "line": 578, + "column": 62 }, "end": { - "line": 573, - "column": 75 + "line": 578, + "column": 81 } } }, @@ -159607,16 +161327,16 @@ "postfix": false, "binop": null }, - "start": 20002, - "end": 20003, + "start": 20224, + "end": 20225, "loc": { "start": { - "line": 573, - "column": 75 + "line": 578, + "column": 81 }, "end": { - "line": 573, - "column": 76 + "line": 578, + "column": 82 } } }, @@ -159633,16 +161353,16 @@ "binop": null, "updateContext": null }, - "start": 20003, - "end": 20004, + "start": 20225, + "end": 20226, "loc": { "start": { - "line": 573, - "column": 76 + "line": 578, + "column": 82 }, "end": { - "line": 573, - "column": 77 + "line": 578, + "column": 83 } } }, @@ -159658,15 +161378,15 @@ "postfix": false, "binop": null }, - "start": 20013, - "end": 20014, + "start": 20235, + "end": 20236, "loc": { "start": { - "line": 574, + "line": 579, "column": 8 }, "end": { - "line": 574, + "line": 579, "column": 9 } } @@ -159683,15 +161403,15 @@ "postfix": false, "binop": null }, - "start": 20019, - "end": 20020, + "start": 20241, + "end": 20242, "loc": { "start": { - "line": 575, + "line": 580, "column": 4 }, "end": { - "line": 575, + "line": 580, "column": 5 } } @@ -159699,15 +161419,15 @@ { "type": "CommentBlock", "value": "*\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n ", - "start": 20026, - "end": 20143, + "start": 20248, + "end": 20365, "loc": { "start": { - "line": 577, + "line": 582, "column": 4 }, "end": { - "line": 582, + "line": 587, "column": 7 } } @@ -159725,15 +161445,15 @@ "binop": null }, "value": "onWaveReady", - "start": 20148, - "end": 20159, + "start": 20370, + "end": 20381, "loc": { "start": { - "line": 583, + "line": 588, "column": 4 }, "end": { - "line": 583, + "line": 588, "column": 15 } } @@ -159750,15 +161470,15 @@ "postfix": false, "binop": null }, - "start": 20159, - "end": 20160, + "start": 20381, + "end": 20382, "loc": { "start": { - "line": 583, + "line": 588, "column": 15 }, "end": { - "line": 583, + "line": 588, "column": 16 } } @@ -159775,15 +161495,15 @@ "postfix": false, "binop": null }, - "start": 20160, - "end": 20161, + "start": 20382, + "end": 20383, "loc": { "start": { - "line": 583, + "line": 588, "column": 16 }, "end": { - "line": 583, + "line": 588, "column": 17 } } @@ -159800,15 +161520,15 @@ "postfix": false, "binop": null }, - "start": 20162, - "end": 20163, + "start": 20384, + "end": 20385, "loc": { "start": { - "line": 583, + "line": 588, "column": 18 }, "end": { - "line": 583, + "line": 588, "column": 19 } } @@ -159828,15 +161548,15 @@ "updateContext": null }, "value": "this", - "start": 20172, - "end": 20176, + "start": 20394, + "end": 20398, "loc": { "start": { - "line": 584, + "line": 589, "column": 8 }, "end": { - "line": 584, + "line": 589, "column": 12 } } @@ -159854,15 +161574,15 @@ "binop": null, "updateContext": null }, - "start": 20176, - "end": 20177, + "start": 20398, + "end": 20399, "loc": { "start": { - "line": 584, + "line": 589, "column": 12 }, "end": { - "line": 584, + "line": 589, "column": 13 } } @@ -159880,15 +161600,15 @@ "binop": null }, "value": "waveReady", - "start": 20177, - "end": 20186, + "start": 20399, + "end": 20408, "loc": { "start": { - "line": 584, + "line": 589, "column": 13 }, "end": { - "line": 584, + "line": 589, "column": 22 } } @@ -159907,15 +161627,15 @@ "updateContext": null }, "value": "=", - "start": 20187, - "end": 20188, + "start": 20409, + "end": 20410, "loc": { "start": { - "line": 584, + "line": 589, "column": 23 }, "end": { - "line": 584, + "line": 589, "column": 24 } } @@ -159935,15 +161655,15 @@ "updateContext": null }, "value": "true", - "start": 20189, - "end": 20193, + "start": 20411, + "end": 20415, "loc": { "start": { - "line": 584, + "line": 589, "column": 25 }, "end": { - "line": 584, + "line": 589, "column": 29 } } @@ -159961,15 +161681,15 @@ "binop": null, "updateContext": null }, - "start": 20193, - "end": 20194, + "start": 20415, + "end": 20416, "loc": { "start": { - "line": 584, + "line": 589, "column": 29 }, "end": { - "line": 584, + "line": 589, "column": 30 } } @@ -159989,15 +161709,15 @@ "updateContext": null }, "value": "this", - "start": 20203, - "end": 20207, + "start": 20425, + "end": 20429, "loc": { "start": { - "line": 585, + "line": 590, "column": 8 }, "end": { - "line": 585, + "line": 590, "column": 12 } } @@ -160015,15 +161735,15 @@ "binop": null, "updateContext": null }, - "start": 20207, - "end": 20208, + "start": 20429, + "end": 20430, "loc": { "start": { - "line": 585, + "line": 590, "column": 12 }, "end": { - "line": 585, + "line": 590, "column": 13 } } @@ -160041,15 +161761,15 @@ "binop": null }, "value": "waveFinished", - "start": 20208, - "end": 20220, + "start": 20430, + "end": 20442, "loc": { "start": { - "line": 585, + "line": 590, "column": 13 }, "end": { - "line": 585, + "line": 590, "column": 25 } } @@ -160068,15 +161788,15 @@ "updateContext": null }, "value": "=", - "start": 20221, - "end": 20222, + "start": 20443, + "end": 20444, "loc": { "start": { - "line": 585, + "line": 590, "column": 26 }, "end": { - "line": 585, + "line": 590, "column": 27 } } @@ -160096,15 +161816,15 @@ "updateContext": null }, "value": "false", - "start": 20223, - "end": 20228, + "start": 20445, + "end": 20450, "loc": { "start": { - "line": 585, + "line": 590, "column": 28 }, "end": { - "line": 585, + "line": 590, "column": 33 } } @@ -160122,15 +161842,15 @@ "binop": null, "updateContext": null }, - "start": 20228, - "end": 20229, + "start": 20450, + "end": 20451, "loc": { "start": { - "line": 585, + "line": 590, "column": 33 }, "end": { - "line": 585, + "line": 590, "column": 34 } } @@ -160150,15 +161870,15 @@ "updateContext": null }, "value": "this", - "start": 20238, - "end": 20242, + "start": 20460, + "end": 20464, "loc": { "start": { - "line": 586, + "line": 591, "column": 8 }, "end": { - "line": 586, + "line": 591, "column": 12 } } @@ -160176,15 +161896,15 @@ "binop": null, "updateContext": null }, - "start": 20242, - "end": 20243, + "start": 20464, + "end": 20465, "loc": { "start": { - "line": 586, + "line": 591, "column": 12 }, "end": { - "line": 586, + "line": 591, "column": 13 } } @@ -160202,15 +161922,15 @@ "binop": null }, "value": "liveMode", - "start": 20243, - "end": 20251, + "start": 20465, + "end": 20473, "loc": { "start": { - "line": 586, + "line": 591, "column": 13 }, "end": { - "line": 586, + "line": 591, "column": 21 } } @@ -160229,15 +161949,15 @@ "updateContext": null }, "value": "=", - "start": 20252, - "end": 20253, + "start": 20474, + "end": 20475, "loc": { "start": { - "line": 586, + "line": 591, "column": 22 }, "end": { - "line": 586, + "line": 591, "column": 23 } } @@ -160257,15 +161977,15 @@ "updateContext": null }, "value": "false", - "start": 20254, - "end": 20259, + "start": 20476, + "end": 20481, "loc": { "start": { - "line": 586, + "line": 591, "column": 24 }, "end": { - "line": 586, + "line": 591, "column": 29 } } @@ -160283,15 +162003,15 @@ "binop": null, "updateContext": null }, - "start": 20259, - "end": 20260, + "start": 20481, + "end": 20482, "loc": { "start": { - "line": 586, + "line": 591, "column": 29 }, "end": { - "line": 586, + "line": 591, "column": 30 } } @@ -160311,15 +162031,15 @@ "updateContext": null }, "value": "this", - "start": 20270, - "end": 20274, + "start": 20492, + "end": 20496, "loc": { "start": { - "line": 588, + "line": 593, "column": 8 }, "end": { - "line": 588, + "line": 593, "column": 12 } } @@ -160337,15 +162057,15 @@ "binop": null, "updateContext": null }, - "start": 20274, - "end": 20275, + "start": 20496, + "end": 20497, "loc": { "start": { - "line": 588, + "line": 593, "column": 12 }, "end": { - "line": 588, + "line": 593, "column": 13 } } @@ -160363,15 +162083,15 @@ "binop": null }, "value": "log", - "start": 20275, - "end": 20278, + "start": 20497, + "end": 20500, "loc": { "start": { - "line": 588, + "line": 593, "column": 13 }, "end": { - "line": 588, + "line": 593, "column": 16 } } @@ -160388,15 +162108,15 @@ "postfix": false, "binop": null }, - "start": 20278, - "end": 20279, + "start": 20500, + "end": 20501, "loc": { "start": { - "line": 588, + "line": 593, "column": 16 }, "end": { - "line": 588, + "line": 593, "column": 17 } } @@ -160415,15 +162135,15 @@ "updateContext": null }, "value": "Waveform is ready", - "start": 20279, - "end": 20298, + "start": 20501, + "end": 20520, "loc": { "start": { - "line": 588, + "line": 593, "column": 17 }, "end": { - "line": 588, + "line": 593, "column": 36 } } @@ -160440,15 +162160,15 @@ "postfix": false, "binop": null }, - "start": 20298, - "end": 20299, + "start": 20520, + "end": 20521, "loc": { "start": { - "line": 588, + "line": 593, "column": 36 }, "end": { - "line": 588, + "line": 593, "column": 37 } } @@ -160466,15 +162186,15 @@ "binop": null, "updateContext": null }, - "start": 20299, - "end": 20300, + "start": 20521, + "end": 20522, "loc": { "start": { - "line": 588, + "line": 593, "column": 37 }, "end": { - "line": 588, + "line": 593, "column": 38 } } @@ -160494,15 +162214,15 @@ "updateContext": null }, "value": "this", - "start": 20309, - "end": 20313, + "start": 20531, + "end": 20535, "loc": { "start": { - "line": 589, + "line": 594, "column": 8 }, "end": { - "line": 589, + "line": 594, "column": 12 } } @@ -160520,15 +162240,15 @@ "binop": null, "updateContext": null }, - "start": 20313, - "end": 20314, + "start": 20535, + "end": 20536, "loc": { "start": { - "line": 589, + "line": 594, "column": 12 }, "end": { - "line": 589, + "line": 594, "column": 13 } } @@ -160546,15 +162266,15 @@ "binop": null }, "value": "player", - "start": 20314, - "end": 20320, + "start": 20536, + "end": 20542, "loc": { "start": { - "line": 589, + "line": 594, "column": 13 }, "end": { - "line": 589, + "line": 594, "column": 19 } } @@ -160572,15 +162292,15 @@ "binop": null, "updateContext": null }, - "start": 20320, - "end": 20321, + "start": 20542, + "end": 20543, "loc": { "start": { - "line": 589, + "line": 594, "column": 19 }, "end": { - "line": 589, + "line": 594, "column": 20 } } @@ -160598,15 +162318,15 @@ "binop": null }, "value": "trigger", - "start": 20321, - "end": 20328, + "start": 20543, + "end": 20550, "loc": { "start": { - "line": 589, + "line": 594, "column": 20 }, "end": { - "line": 589, + "line": 594, "column": 27 } } @@ -160623,15 +162343,15 @@ "postfix": false, "binop": null }, - "start": 20328, - "end": 20329, + "start": 20550, + "end": 20551, "loc": { "start": { - "line": 589, + "line": 594, "column": 27 }, "end": { - "line": 589, + "line": 594, "column": 28 } } @@ -160649,15 +162369,15 @@ "binop": null }, "value": "Event", - "start": 20329, - "end": 20334, + "start": 20551, + "end": 20556, "loc": { "start": { - "line": 589, + "line": 594, "column": 28 }, "end": { - "line": 589, + "line": 594, "column": 33 } } @@ -160675,15 +162395,15 @@ "binop": null, "updateContext": null }, - "start": 20334, - "end": 20335, + "start": 20556, + "end": 20557, "loc": { "start": { - "line": 589, + "line": 594, "column": 33 }, "end": { - "line": 589, + "line": 594, "column": 34 } } @@ -160701,15 +162421,15 @@ "binop": null }, "value": "WAVE_READY", - "start": 20335, - "end": 20345, + "start": 20557, + "end": 20567, "loc": { "start": { - "line": 589, + "line": 594, "column": 34 }, "end": { - "line": 589, + "line": 594, "column": 44 } } @@ -160726,15 +162446,15 @@ "postfix": false, "binop": null }, - "start": 20345, - "end": 20346, + "start": 20567, + "end": 20568, "loc": { "start": { - "line": 589, + "line": 594, "column": 44 }, "end": { - "line": 589, + "line": 594, "column": 45 } } @@ -160752,15 +162472,15 @@ "binop": null, "updateContext": null }, - "start": 20346, - "end": 20347, + "start": 20568, + "end": 20569, "loc": { "start": { - "line": 589, + "line": 594, "column": 45 }, "end": { - "line": 589, + "line": 594, "column": 46 } } @@ -160780,15 +162500,15 @@ "updateContext": null }, "value": "if", - "start": 20357, - "end": 20359, + "start": 20579, + "end": 20581, "loc": { "start": { - "line": 591, + "line": 596, "column": 8 }, "end": { - "line": 591, + "line": 596, "column": 10 } } @@ -160805,15 +162525,15 @@ "postfix": false, "binop": null }, - "start": 20360, - "end": 20361, + "start": 20582, + "end": 20583, "loc": { "start": { - "line": 591, + "line": 596, "column": 11 }, "end": { - "line": 591, + "line": 596, "column": 12 } } @@ -160833,15 +162553,15 @@ "updateContext": null }, "value": "this", - "start": 20361, - "end": 20365, + "start": 20583, + "end": 20587, "loc": { "start": { - "line": 591, + "line": 596, "column": 12 }, "end": { - "line": 591, + "line": 596, "column": 16 } } @@ -160859,15 +162579,15 @@ "binop": null, "updateContext": null }, - "start": 20365, - "end": 20366, + "start": 20587, + "end": 20588, "loc": { "start": { - "line": 591, + "line": 596, "column": 16 }, "end": { - "line": 591, + "line": 596, "column": 17 } } @@ -160885,15 +162605,15 @@ "binop": null }, "value": "backend", - "start": 20366, - "end": 20373, + "start": 20588, + "end": 20595, "loc": { "start": { - "line": 591, + "line": 596, "column": 17 }, "end": { - "line": 591, + "line": 596, "column": 24 } } @@ -160912,15 +162632,15 @@ "updateContext": null }, "value": "===", - "start": 20374, - "end": 20377, + "start": 20596, + "end": 20599, "loc": { "start": { - "line": 591, + "line": 596, "column": 25 }, "end": { - "line": 591, + "line": 596, "column": 28 } } @@ -160938,15 +162658,15 @@ "binop": null }, "value": "WEBAUDIO", - "start": 20378, - "end": 20386, + "start": 20600, + "end": 20608, "loc": { "start": { - "line": 591, + "line": 596, "column": 29 }, "end": { - "line": 591, + "line": 596, "column": 37 } } @@ -160963,15 +162683,15 @@ "postfix": false, "binop": null }, - "start": 20386, - "end": 20387, + "start": 20608, + "end": 20609, "loc": { "start": { - "line": 591, + "line": 596, "column": 37 }, "end": { - "line": 591, + "line": 596, "column": 38 } } @@ -160988,15 +162708,15 @@ "postfix": false, "binop": null }, - "start": 20388, - "end": 20389, + "start": 20610, + "end": 20611, "loc": { "start": { - "line": 591, + "line": 596, "column": 39 }, "end": { - "line": 591, + "line": 596, "column": 40 } } @@ -161004,15 +162724,15 @@ { "type": "CommentLine", "value": " update time display", - "start": 20402, - "end": 20424, + "start": 20624, + "end": 20646, "loc": { "start": { - "line": 592, + "line": 597, "column": 12 }, "end": { - "line": 592, + "line": 597, "column": 34 } } @@ -161032,15 +162752,15 @@ "updateContext": null }, "value": "this", - "start": 20437, - "end": 20441, + "start": 20659, + "end": 20663, "loc": { "start": { - "line": 593, + "line": 598, "column": 12 }, "end": { - "line": 593, + "line": 598, "column": 16 } } @@ -161058,15 +162778,15 @@ "binop": null, "updateContext": null }, - "start": 20441, - "end": 20442, + "start": 20663, + "end": 20664, "loc": { "start": { - "line": 593, + "line": 598, "column": 16 }, "end": { - "line": 593, + "line": 598, "column": 17 } } @@ -161084,15 +162804,15 @@ "binop": null }, "value": "setCurrentTime", - "start": 20442, - "end": 20456, + "start": 20664, + "end": 20678, "loc": { "start": { - "line": 593, + "line": 598, "column": 17 }, "end": { - "line": 593, + "line": 598, "column": 31 } } @@ -161109,15 +162829,15 @@ "postfix": false, "binop": null }, - "start": 20456, - "end": 20457, + "start": 20678, + "end": 20679, "loc": { "start": { - "line": 593, + "line": 598, "column": 31 }, "end": { - "line": 593, + "line": 598, "column": 32 } } @@ -161134,15 +162854,15 @@ "postfix": false, "binop": null }, - "start": 20457, - "end": 20458, + "start": 20679, + "end": 20680, "loc": { "start": { - "line": 593, + "line": 598, "column": 32 }, "end": { - "line": 593, + "line": 598, "column": 33 } } @@ -161160,15 +162880,15 @@ "binop": null, "updateContext": null }, - "start": 20458, - "end": 20459, + "start": 20680, + "end": 20681, "loc": { "start": { - "line": 593, + "line": 598, "column": 33 }, "end": { - "line": 593, + "line": 598, "column": 34 } } @@ -161188,15 +162908,15 @@ "updateContext": null }, "value": "this", - "start": 20472, - "end": 20476, + "start": 20694, + "end": 20698, "loc": { "start": { - "line": 594, + "line": 599, "column": 12 }, "end": { - "line": 594, + "line": 599, "column": 16 } } @@ -161214,15 +162934,15 @@ "binop": null, "updateContext": null }, - "start": 20476, - "end": 20477, + "start": 20698, + "end": 20699, "loc": { "start": { - "line": 594, + "line": 599, "column": 16 }, "end": { - "line": 594, + "line": 599, "column": 17 } } @@ -161240,15 +162960,15 @@ "binop": null }, "value": "setDuration", - "start": 20477, - "end": 20488, + "start": 20699, + "end": 20710, "loc": { "start": { - "line": 594, + "line": 599, "column": 17 }, "end": { - "line": 594, + "line": 599, "column": 28 } } @@ -161265,15 +162985,15 @@ "postfix": false, "binop": null }, - "start": 20488, - "end": 20489, + "start": 20710, + "end": 20711, "loc": { "start": { - "line": 594, + "line": 599, "column": 28 }, "end": { - "line": 594, + "line": 599, "column": 29 } } @@ -161290,15 +163010,15 @@ "postfix": false, "binop": null }, - "start": 20489, - "end": 20490, + "start": 20711, + "end": 20712, "loc": { "start": { - "line": 594, + "line": 599, "column": 29 }, "end": { - "line": 594, + "line": 599, "column": 30 } } @@ -161316,15 +163036,15 @@ "binop": null, "updateContext": null }, - "start": 20490, - "end": 20491, + "start": 20712, + "end": 20713, "loc": { "start": { - "line": 594, + "line": 599, "column": 30 }, "end": { - "line": 594, + "line": 599, "column": 31 } } @@ -161332,15 +163052,15 @@ { "type": "CommentLine", "value": " enable and show play button", - "start": 20505, - "end": 20535, + "start": 20727, + "end": 20757, "loc": { "start": { - "line": 596, + "line": 601, "column": 12 }, "end": { - "line": 596, + "line": 601, "column": 42 } } @@ -161360,15 +163080,15 @@ "updateContext": null }, "value": "if", - "start": 20548, - "end": 20550, + "start": 20770, + "end": 20772, "loc": { "start": { - "line": 597, + "line": 602, "column": 12 }, "end": { - "line": 597, + "line": 602, "column": 14 } } @@ -161385,15 +163105,15 @@ "postfix": false, "binop": null }, - "start": 20551, - "end": 20552, + "start": 20773, + "end": 20774, "loc": { "start": { - "line": 597, + "line": 602, "column": 15 }, "end": { - "line": 597, + "line": 602, "column": 16 } } @@ -161413,15 +163133,15 @@ "updateContext": null }, "value": "this", - "start": 20552, - "end": 20556, + "start": 20774, + "end": 20778, "loc": { "start": { - "line": 597, + "line": 602, "column": 16 }, "end": { - "line": 597, + "line": 602, "column": 20 } } @@ -161439,15 +163159,15 @@ "binop": null, "updateContext": null }, - "start": 20556, - "end": 20557, + "start": 20778, + "end": 20779, "loc": { "start": { - "line": 597, + "line": 602, "column": 20 }, "end": { - "line": 597, + "line": 602, "column": 21 } } @@ -161465,15 +163185,15 @@ "binop": null }, "value": "player", - "start": 20557, - "end": 20563, + "start": 20779, + "end": 20785, "loc": { "start": { - "line": 597, + "line": 602, "column": 21 }, "end": { - "line": 597, + "line": 602, "column": 27 } } @@ -161491,15 +163211,15 @@ "binop": null, "updateContext": null }, - "start": 20563, - "end": 20564, + "start": 20785, + "end": 20786, "loc": { "start": { - "line": 597, + "line": 602, "column": 27 }, "end": { - "line": 597, + "line": 602, "column": 28 } } @@ -161517,15 +163237,15 @@ "binop": null }, "value": "controlBar", - "start": 20564, - "end": 20574, + "start": 20786, + "end": 20796, "loc": { "start": { - "line": 597, + "line": 602, "column": 28 }, "end": { - "line": 597, + "line": 602, "column": 38 } } @@ -161543,15 +163263,15 @@ "binop": null, "updateContext": null }, - "start": 20574, - "end": 20575, + "start": 20796, + "end": 20797, "loc": { "start": { - "line": 597, + "line": 602, "column": 38 }, "end": { - "line": 597, + "line": 602, "column": 39 } } @@ -161569,15 +163289,15 @@ "binop": null }, "value": "playToggle", - "start": 20575, - "end": 20585, + "start": 20797, + "end": 20807, "loc": { "start": { - "line": 597, + "line": 602, "column": 39 }, "end": { - "line": 597, + "line": 602, "column": 49 } } @@ -161596,15 +163316,15 @@ "updateContext": null }, "value": "!==", - "start": 20586, - "end": 20589, + "start": 20808, + "end": 20811, "loc": { "start": { - "line": 597, + "line": 602, "column": 50 }, "end": { - "line": 597, + "line": 602, "column": 53 } } @@ -161622,15 +163342,15 @@ "binop": null }, "value": "undefined", - "start": 20590, - "end": 20599, + "start": 20812, + "end": 20821, "loc": { "start": { - "line": 597, + "line": 602, "column": 54 }, "end": { - "line": 597, + "line": 602, "column": 63 } } @@ -161649,15 +163369,15 @@ "updateContext": null }, "value": "&&", - "start": 20600, - "end": 20602, + "start": 20822, + "end": 20824, "loc": { "start": { - "line": 597, + "line": 602, "column": 64 }, "end": { - "line": 597, + "line": 602, "column": 66 } } @@ -161677,15 +163397,15 @@ "updateContext": null }, "value": "this", - "start": 20619, - "end": 20623, + "start": 20841, + "end": 20845, "loc": { "start": { - "line": 598, + "line": 603, "column": 16 }, "end": { - "line": 598, + "line": 603, "column": 20 } } @@ -161703,15 +163423,15 @@ "binop": null, "updateContext": null }, - "start": 20623, - "end": 20624, + "start": 20845, + "end": 20846, "loc": { "start": { - "line": 598, + "line": 603, "column": 20 }, "end": { - "line": 598, + "line": 603, "column": 21 } } @@ -161729,15 +163449,15 @@ "binop": null }, "value": "player", - "start": 20624, - "end": 20630, + "start": 20846, + "end": 20852, "loc": { "start": { - "line": 598, + "line": 603, "column": 21 }, "end": { - "line": 598, + "line": 603, "column": 27 } } @@ -161755,15 +163475,15 @@ "binop": null, "updateContext": null }, - "start": 20630, - "end": 20631, + "start": 20852, + "end": 20853, "loc": { "start": { - "line": 598, + "line": 603, "column": 27 }, "end": { - "line": 598, + "line": 603, "column": 28 } } @@ -161781,15 +163501,15 @@ "binop": null }, "value": "controlBar", - "start": 20631, - "end": 20641, + "start": 20853, + "end": 20863, "loc": { "start": { - "line": 598, + "line": 603, "column": 28 }, "end": { - "line": 598, + "line": 603, "column": 38 } } @@ -161807,15 +163527,15 @@ "binop": null, "updateContext": null }, - "start": 20641, - "end": 20642, + "start": 20863, + "end": 20864, "loc": { "start": { - "line": 598, + "line": 603, "column": 38 }, "end": { - "line": 598, + "line": 603, "column": 39 } } @@ -161833,15 +163553,15 @@ "binop": null }, "value": "playToggle", - "start": 20642, - "end": 20652, + "start": 20864, + "end": 20874, "loc": { "start": { - "line": 598, + "line": 603, "column": 39 }, "end": { - "line": 598, + "line": 603, "column": 49 } } @@ -161859,15 +163579,15 @@ "binop": null, "updateContext": null }, - "start": 20652, - "end": 20653, + "start": 20874, + "end": 20875, "loc": { "start": { - "line": 598, + "line": 603, "column": 49 }, "end": { - "line": 598, + "line": 603, "column": 50 } } @@ -161885,15 +163605,15 @@ "binop": null }, "value": "contentEl", - "start": 20653, - "end": 20662, + "start": 20875, + "end": 20884, "loc": { "start": { - "line": 598, + "line": 603, "column": 50 }, "end": { - "line": 598, + "line": 603, "column": 59 } } @@ -161910,15 +163630,15 @@ "postfix": false, "binop": null }, - "start": 20662, - "end": 20663, + "start": 20884, + "end": 20885, "loc": { "start": { - "line": 598, + "line": 603, "column": 59 }, "end": { - "line": 598, + "line": 603, "column": 60 } } @@ -161935,15 +163655,15 @@ "postfix": false, "binop": null }, - "start": 20663, - "end": 20664, + "start": 20885, + "end": 20886, "loc": { "start": { - "line": 598, + "line": 603, "column": 60 }, "end": { - "line": 598, + "line": 603, "column": 61 } } @@ -161960,15 +163680,15 @@ "postfix": false, "binop": null }, - "start": 20664, - "end": 20665, + "start": 20886, + "end": 20887, "loc": { "start": { - "line": 598, + "line": 603, "column": 61 }, "end": { - "line": 598, + "line": 603, "column": 62 } } @@ -161985,15 +163705,15 @@ "postfix": false, "binop": null }, - "start": 20666, - "end": 20667, + "start": 20888, + "end": 20889, "loc": { "start": { - "line": 598, + "line": 603, "column": 63 }, "end": { - "line": 598, + "line": 603, "column": 64 } } @@ -162013,15 +163733,15 @@ "updateContext": null }, "value": "this", - "start": 20684, - "end": 20688, + "start": 20906, + "end": 20910, "loc": { "start": { - "line": 599, + "line": 604, "column": 16 }, "end": { - "line": 599, + "line": 604, "column": 20 } } @@ -162039,15 +163759,15 @@ "binop": null, "updateContext": null }, - "start": 20688, - "end": 20689, + "start": 20910, + "end": 20911, "loc": { "start": { - "line": 599, + "line": 604, "column": 20 }, "end": { - "line": 599, + "line": 604, "column": 21 } } @@ -162065,15 +163785,15 @@ "binop": null }, "value": "player", - "start": 20689, - "end": 20695, + "start": 20911, + "end": 20917, "loc": { "start": { - "line": 599, + "line": 604, "column": 21 }, "end": { - "line": 599, + "line": 604, "column": 27 } } @@ -162091,15 +163811,15 @@ "binop": null, "updateContext": null }, - "start": 20695, - "end": 20696, + "start": 20917, + "end": 20918, "loc": { "start": { - "line": 599, + "line": 604, "column": 27 }, "end": { - "line": 599, + "line": 604, "column": 28 } } @@ -162117,15 +163837,15 @@ "binop": null }, "value": "controlBar", - "start": 20696, - "end": 20706, + "start": 20918, + "end": 20928, "loc": { "start": { - "line": 599, + "line": 604, "column": 28 }, "end": { - "line": 599, + "line": 604, "column": 38 } } @@ -162143,15 +163863,15 @@ "binop": null, "updateContext": null }, - "start": 20706, - "end": 20707, + "start": 20928, + "end": 20929, "loc": { "start": { - "line": 599, + "line": 604, "column": 38 }, "end": { - "line": 599, + "line": 604, "column": 39 } } @@ -162169,15 +163889,15 @@ "binop": null }, "value": "playToggle", - "start": 20707, - "end": 20717, + "start": 20929, + "end": 20939, "loc": { "start": { - "line": 599, + "line": 604, "column": 39 }, "end": { - "line": 599, + "line": 604, "column": 49 } } @@ -162195,15 +163915,15 @@ "binop": null, "updateContext": null }, - "start": 20717, - "end": 20718, + "start": 20939, + "end": 20940, "loc": { "start": { - "line": 599, + "line": 604, "column": 49 }, "end": { - "line": 599, + "line": 604, "column": 50 } } @@ -162221,15 +163941,15 @@ "binop": null }, "value": "show", - "start": 20718, - "end": 20722, + "start": 20940, + "end": 20944, "loc": { "start": { - "line": 599, + "line": 604, "column": 50 }, "end": { - "line": 599, + "line": 604, "column": 54 } } @@ -162246,15 +163966,15 @@ "postfix": false, "binop": null }, - "start": 20722, - "end": 20723, + "start": 20944, + "end": 20945, "loc": { "start": { - "line": 599, + "line": 604, "column": 54 }, "end": { - "line": 599, + "line": 604, "column": 55 } } @@ -162271,15 +163991,15 @@ "postfix": false, "binop": null }, - "start": 20723, - "end": 20724, + "start": 20945, + "end": 20946, "loc": { "start": { - "line": 599, + "line": 604, "column": 55 }, "end": { - "line": 599, + "line": 604, "column": 56 } } @@ -162297,15 +164017,15 @@ "binop": null, "updateContext": null }, - "start": 20724, - "end": 20725, + "start": 20946, + "end": 20947, "loc": { "start": { - "line": 599, + "line": 604, "column": 56 }, "end": { - "line": 599, + "line": 604, "column": 57 } } @@ -162322,15 +164042,15 @@ "postfix": false, "binop": null }, - "start": 20738, - "end": 20739, + "start": 20960, + "end": 20961, "loc": { "start": { - "line": 600, + "line": 605, "column": 12 }, "end": { - "line": 600, + "line": 605, "column": 13 } } @@ -162347,15 +164067,15 @@ "postfix": false, "binop": null }, - "start": 20748, - "end": 20749, + "start": 20970, + "end": 20971, "loc": { "start": { - "line": 601, + "line": 606, "column": 8 }, "end": { - "line": 601, + "line": 606, "column": 9 } } @@ -162363,15 +164083,15 @@ { "type": "CommentLine", "value": " hide loading spinner", - "start": 20759, - "end": 20782, + "start": 20981, + "end": 21004, "loc": { "start": { - "line": 603, + "line": 608, "column": 8 }, "end": { - "line": 603, + "line": 608, "column": 31 } } @@ -162391,15 +164111,15 @@ "updateContext": null }, "value": "if", - "start": 20791, - "end": 20793, + "start": 21013, + "end": 21015, "loc": { "start": { - "line": 604, + "line": 609, "column": 8 }, "end": { - "line": 604, + "line": 609, "column": 10 } } @@ -162416,15 +164136,15 @@ "postfix": false, "binop": null }, - "start": 20794, - "end": 20795, + "start": 21016, + "end": 21017, "loc": { "start": { - "line": 604, + "line": 609, "column": 11 }, "end": { - "line": 604, + "line": 609, "column": 12 } } @@ -162444,15 +164164,15 @@ "updateContext": null }, "value": "this", - "start": 20795, - "end": 20799, + "start": 21017, + "end": 21021, "loc": { "start": { - "line": 604, + "line": 609, "column": 12 }, "end": { - "line": 604, + "line": 609, "column": 16 } } @@ -162470,15 +164190,15 @@ "binop": null, "updateContext": null }, - "start": 20799, - "end": 20800, + "start": 21021, + "end": 21022, "loc": { "start": { - "line": 604, + "line": 609, "column": 16 }, "end": { - "line": 604, + "line": 609, "column": 17 } } @@ -162496,15 +164216,15 @@ "binop": null }, "value": "player", - "start": 20800, - "end": 20806, + "start": 21022, + "end": 21028, "loc": { "start": { - "line": 604, + "line": 609, "column": 17 }, "end": { - "line": 604, + "line": 609, "column": 23 } } @@ -162522,15 +164242,15 @@ "binop": null, "updateContext": null }, - "start": 20806, - "end": 20807, + "start": 21028, + "end": 21029, "loc": { "start": { - "line": 604, + "line": 609, "column": 23 }, "end": { - "line": 604, + "line": 609, "column": 24 } } @@ -162548,15 +164268,15 @@ "binop": null }, "value": "loadingSpinner", - "start": 20807, - "end": 20821, + "start": 21029, + "end": 21043, "loc": { "start": { - "line": 604, + "line": 609, "column": 24 }, "end": { - "line": 604, + "line": 609, "column": 38 } } @@ -162574,15 +164294,15 @@ "binop": null, "updateContext": null }, - "start": 20821, - "end": 20822, + "start": 21043, + "end": 21044, "loc": { "start": { - "line": 604, + "line": 609, "column": 38 }, "end": { - "line": 604, + "line": 609, "column": 39 } } @@ -162600,15 +164320,15 @@ "binop": null }, "value": "contentEl", - "start": 20822, - "end": 20831, + "start": 21044, + "end": 21053, "loc": { "start": { - "line": 604, + "line": 609, "column": 39 }, "end": { - "line": 604, + "line": 609, "column": 48 } } @@ -162625,15 +164345,15 @@ "postfix": false, "binop": null }, - "start": 20831, - "end": 20832, + "start": 21053, + "end": 21054, "loc": { "start": { - "line": 604, + "line": 609, "column": 48 }, "end": { - "line": 604, + "line": 609, "column": 49 } } @@ -162650,15 +164370,15 @@ "postfix": false, "binop": null }, - "start": 20832, - "end": 20833, + "start": 21054, + "end": 21055, "loc": { "start": { - "line": 604, + "line": 609, "column": 49 }, "end": { - "line": 604, + "line": 609, "column": 50 } } @@ -162675,15 +164395,15 @@ "postfix": false, "binop": null }, - "start": 20833, - "end": 20834, + "start": 21055, + "end": 21056, "loc": { "start": { - "line": 604, + "line": 609, "column": 50 }, "end": { - "line": 604, + "line": 609, "column": 51 } } @@ -162700,15 +164420,15 @@ "postfix": false, "binop": null }, - "start": 20835, - "end": 20836, + "start": 21057, + "end": 21058, "loc": { "start": { - "line": 604, + "line": 609, "column": 52 }, "end": { - "line": 604, + "line": 609, "column": 53 } } @@ -162728,15 +164448,15 @@ "updateContext": null }, "value": "this", - "start": 20849, - "end": 20853, + "start": 21071, + "end": 21075, "loc": { "start": { - "line": 605, + "line": 610, "column": 12 }, "end": { - "line": 605, + "line": 610, "column": 16 } } @@ -162754,15 +164474,15 @@ "binop": null, "updateContext": null }, - "start": 20853, - "end": 20854, + "start": 21075, + "end": 21076, "loc": { "start": { - "line": 605, + "line": 610, "column": 16 }, "end": { - "line": 605, + "line": 610, "column": 17 } } @@ -162780,15 +164500,15 @@ "binop": null }, "value": "player", - "start": 20854, - "end": 20860, + "start": 21076, + "end": 21082, "loc": { "start": { - "line": 605, + "line": 610, "column": 17 }, "end": { - "line": 605, + "line": 610, "column": 23 } } @@ -162806,15 +164526,15 @@ "binop": null, "updateContext": null }, - "start": 20860, - "end": 20861, + "start": 21082, + "end": 21083, "loc": { "start": { - "line": 605, + "line": 610, "column": 23 }, "end": { - "line": 605, + "line": 610, "column": 24 } } @@ -162832,15 +164552,15 @@ "binop": null }, "value": "loadingSpinner", - "start": 20861, - "end": 20875, + "start": 21083, + "end": 21097, "loc": { "start": { - "line": 605, + "line": 610, "column": 24 }, "end": { - "line": 605, + "line": 610, "column": 38 } } @@ -162858,15 +164578,15 @@ "binop": null, "updateContext": null }, - "start": 20875, - "end": 20876, + "start": 21097, + "end": 21098, "loc": { "start": { - "line": 605, + "line": 610, "column": 38 }, "end": { - "line": 605, + "line": 610, "column": 39 } } @@ -162884,15 +164604,15 @@ "binop": null }, "value": "hide", - "start": 20876, - "end": 20880, + "start": 21098, + "end": 21102, "loc": { "start": { - "line": 605, + "line": 610, "column": 39 }, "end": { - "line": 605, + "line": 610, "column": 43 } } @@ -162909,15 +164629,15 @@ "postfix": false, "binop": null }, - "start": 20880, - "end": 20881, + "start": 21102, + "end": 21103, "loc": { "start": { - "line": 605, + "line": 610, "column": 43 }, "end": { - "line": 605, + "line": 610, "column": 44 } } @@ -162934,15 +164654,15 @@ "postfix": false, "binop": null }, - "start": 20881, - "end": 20882, + "start": 21103, + "end": 21104, "loc": { "start": { - "line": 605, + "line": 610, "column": 44 }, "end": { - "line": 605, + "line": 610, "column": 45 } } @@ -162960,15 +164680,15 @@ "binop": null, "updateContext": null }, - "start": 20882, - "end": 20883, + "start": 21104, + "end": 21105, "loc": { "start": { - "line": 605, + "line": 610, "column": 45 }, "end": { - "line": 605, + "line": 610, "column": 46 } } @@ -162985,15 +164705,15 @@ "postfix": false, "binop": null }, - "start": 20892, - "end": 20893, + "start": 21114, + "end": 21115, "loc": { "start": { - "line": 606, + "line": 611, "column": 8 }, "end": { - "line": 606, + "line": 611, "column": 9 } } @@ -163001,15 +164721,15 @@ { "type": "CommentLine", "value": " auto-play when ready (if enabled)", - "start": 20903, - "end": 20939, + "start": 21125, + "end": 21161, "loc": { "start": { - "line": 608, + "line": 613, "column": 8 }, "end": { - "line": 608, + "line": 613, "column": 44 } } @@ -163029,15 +164749,15 @@ "updateContext": null }, "value": "if", - "start": 20948, - "end": 20950, + "start": 21170, + "end": 21172, "loc": { "start": { - "line": 609, + "line": 614, "column": 8 }, "end": { - "line": 609, + "line": 614, "column": 10 } } @@ -163054,15 +164774,15 @@ "postfix": false, "binop": null }, - "start": 20951, - "end": 20952, + "start": 21173, + "end": 21174, "loc": { "start": { - "line": 609, + "line": 614, "column": 11 }, "end": { - "line": 609, + "line": 614, "column": 12 } } @@ -163082,15 +164802,15 @@ "updateContext": null }, "value": "this", - "start": 20952, - "end": 20956, + "start": 21174, + "end": 21178, "loc": { "start": { - "line": 609, + "line": 614, "column": 12 }, "end": { - "line": 609, + "line": 614, "column": 16 } } @@ -163108,15 +164828,15 @@ "binop": null, "updateContext": null }, - "start": 20956, - "end": 20957, + "start": 21178, + "end": 21179, "loc": { "start": { - "line": 609, + "line": 614, "column": 16 }, "end": { - "line": 609, + "line": 614, "column": 17 } } @@ -163134,15 +164854,15 @@ "binop": null }, "value": "player", - "start": 20957, - "end": 20963, + "start": 21179, + "end": 21185, "loc": { "start": { - "line": 609, + "line": 614, "column": 17 }, "end": { - "line": 609, + "line": 614, "column": 23 } } @@ -163160,15 +164880,15 @@ "binop": null, "updateContext": null }, - "start": 20963, - "end": 20964, + "start": 21185, + "end": 21186, "loc": { "start": { - "line": 609, + "line": 614, "column": 23 }, "end": { - "line": 609, + "line": 614, "column": 24 } } @@ -163186,15 +164906,15 @@ "binop": null }, "value": "options_", - "start": 20964, - "end": 20972, + "start": 21186, + "end": 21194, "loc": { "start": { - "line": 609, + "line": 614, "column": 24 }, "end": { - "line": 609, + "line": 614, "column": 32 } } @@ -163212,15 +164932,15 @@ "binop": null, "updateContext": null }, - "start": 20972, - "end": 20973, + "start": 21194, + "end": 21195, "loc": { "start": { - "line": 609, + "line": 614, "column": 32 }, "end": { - "line": 609, + "line": 614, "column": 33 } } @@ -163238,15 +164958,15 @@ "binop": null }, "value": "autoplay", - "start": 20973, - "end": 20981, + "start": 21195, + "end": 21203, "loc": { "start": { - "line": 609, + "line": 614, "column": 33 }, "end": { - "line": 609, + "line": 614, "column": 41 } } @@ -163265,15 +164985,15 @@ "updateContext": null }, "value": "===", - "start": 20982, - "end": 20985, + "start": 21204, + "end": 21207, "loc": { "start": { - "line": 609, + "line": 614, "column": 42 }, "end": { - "line": 609, + "line": 614, "column": 45 } } @@ -163293,15 +165013,15 @@ "updateContext": null }, "value": "true", - "start": 20986, - "end": 20990, + "start": 21208, + "end": 21212, "loc": { "start": { - "line": 609, + "line": 614, "column": 46 }, "end": { - "line": 609, + "line": 614, "column": 50 } } @@ -163318,15 +165038,15 @@ "postfix": false, "binop": null }, - "start": 20990, - "end": 20991, + "start": 21212, + "end": 21213, "loc": { "start": { - "line": 609, + "line": 614, "column": 50 }, "end": { - "line": 609, + "line": 614, "column": 51 } } @@ -163343,15 +165063,15 @@ "postfix": false, "binop": null }, - "start": 20992, - "end": 20993, + "start": 21214, + "end": 21215, "loc": { "start": { - "line": 609, + "line": 614, "column": 52 }, "end": { - "line": 609, + "line": 614, "column": 53 } } @@ -163359,15 +165079,15 @@ { "type": "CommentLine", "value": " autoplay is only allowed when audio is muted", - "start": 21006, - "end": 21053, + "start": 21228, + "end": 21275, "loc": { "start": { - "line": 610, + "line": 615, "column": 12 }, "end": { - "line": 610, + "line": 615, "column": 59 } } @@ -163387,15 +165107,15 @@ "updateContext": null }, "value": "this", - "start": 21066, - "end": 21070, + "start": 21288, + "end": 21292, "loc": { "start": { - "line": 611, + "line": 616, "column": 12 }, "end": { - "line": 611, + "line": 616, "column": 16 } } @@ -163413,15 +165133,15 @@ "binop": null, "updateContext": null }, - "start": 21070, - "end": 21071, + "start": 21292, + "end": 21293, "loc": { "start": { - "line": 611, + "line": 616, "column": 16 }, "end": { - "line": 611, + "line": 616, "column": 17 } } @@ -163439,15 +165159,15 @@ "binop": null }, "value": "setVolume", - "start": 21071, - "end": 21080, + "start": 21293, + "end": 21302, "loc": { "start": { - "line": 611, + "line": 616, "column": 17 }, "end": { - "line": 611, + "line": 616, "column": 26 } } @@ -163464,15 +165184,15 @@ "postfix": false, "binop": null }, - "start": 21080, - "end": 21081, + "start": 21302, + "end": 21303, "loc": { "start": { - "line": 611, + "line": 616, "column": 26 }, "end": { - "line": 611, + "line": 616, "column": 27 } } @@ -163491,15 +165211,15 @@ "updateContext": null }, "value": 0, - "start": 21081, - "end": 21082, + "start": 21303, + "end": 21304, "loc": { "start": { - "line": 611, + "line": 616, "column": 27 }, "end": { - "line": 611, + "line": 616, "column": 28 } } @@ -163516,15 +165236,15 @@ "postfix": false, "binop": null }, - "start": 21082, - "end": 21083, + "start": 21304, + "end": 21305, "loc": { "start": { - "line": 611, + "line": 616, "column": 28 }, "end": { - "line": 611, + "line": 616, "column": 29 } } @@ -163542,15 +165262,15 @@ "binop": null, "updateContext": null }, - "start": 21083, - "end": 21084, + "start": 21305, + "end": 21306, "loc": { "start": { - "line": 611, + "line": 616, "column": 29 }, "end": { - "line": 611, + "line": 616, "column": 30 } } @@ -163558,15 +165278,15 @@ { "type": "CommentLine", "value": " try auto-play", - "start": 21098, - "end": 21114, + "start": 21320, + "end": 21336, "loc": { "start": { - "line": 613, + "line": 618, "column": 12 }, "end": { - "line": 613, + "line": 618, "column": 28 } } @@ -163586,15 +165306,15 @@ "updateContext": null }, "value": "if", - "start": 21127, - "end": 21129, + "start": 21349, + "end": 21351, "loc": { "start": { - "line": 614, + "line": 619, "column": 12 }, "end": { - "line": 614, + "line": 619, "column": 14 } } @@ -163611,15 +165331,15 @@ "postfix": false, "binop": null }, - "start": 21130, - "end": 21131, + "start": 21352, + "end": 21353, "loc": { "start": { - "line": 614, + "line": 619, "column": 15 }, "end": { - "line": 614, + "line": 619, "column": 16 } } @@ -163639,15 +165359,15 @@ "updateContext": null }, "value": "this", - "start": 21131, - "end": 21135, + "start": 21353, + "end": 21357, "loc": { "start": { - "line": 614, + "line": 619, "column": 16 }, "end": { - "line": 614, + "line": 619, "column": 20 } } @@ -163665,15 +165385,15 @@ "binop": null, "updateContext": null }, - "start": 21135, - "end": 21136, + "start": 21357, + "end": 21358, "loc": { "start": { - "line": 614, + "line": 619, "column": 20 }, "end": { - "line": 614, + "line": 619, "column": 21 } } @@ -163691,15 +165411,15 @@ "binop": null }, "value": "backend", - "start": 21136, - "end": 21143, + "start": 21358, + "end": 21365, "loc": { "start": { - "line": 614, + "line": 619, "column": 21 }, "end": { - "line": 614, + "line": 619, "column": 28 } } @@ -163718,15 +165438,15 @@ "updateContext": null }, "value": "===", - "start": 21144, - "end": 21147, + "start": 21366, + "end": 21369, "loc": { "start": { - "line": 614, + "line": 619, "column": 29 }, "end": { - "line": 614, + "line": 619, "column": 32 } } @@ -163744,15 +165464,15 @@ "binop": null }, "value": "WEBAUDIO", - "start": 21148, - "end": 21156, + "start": 21370, + "end": 21378, "loc": { "start": { - "line": 614, + "line": 619, "column": 33 }, "end": { - "line": 614, + "line": 619, "column": 41 } } @@ -163769,15 +165489,15 @@ "postfix": false, "binop": null }, - "start": 21156, - "end": 21157, + "start": 21378, + "end": 21379, "loc": { "start": { - "line": 614, + "line": 619, "column": 41 }, "end": { - "line": 614, + "line": 619, "column": 42 } } @@ -163794,15 +165514,15 @@ "postfix": false, "binop": null }, - "start": 21158, - "end": 21159, + "start": 21380, + "end": 21381, "loc": { "start": { - "line": 614, + "line": 619, "column": 43 }, "end": { - "line": 614, + "line": 619, "column": 44 } } @@ -163822,15 +165542,15 @@ "updateContext": null }, "value": "this", - "start": 21176, - "end": 21180, + "start": 21398, + "end": 21402, "loc": { "start": { - "line": 615, + "line": 620, "column": 16 }, "end": { - "line": 615, + "line": 620, "column": 20 } } @@ -163848,15 +165568,15 @@ "binop": null, "updateContext": null }, - "start": 21180, - "end": 21181, + "start": 21402, + "end": 21403, "loc": { "start": { - "line": 615, + "line": 620, "column": 20 }, "end": { - "line": 615, + "line": 620, "column": 21 } } @@ -163874,15 +165594,15 @@ "binop": null }, "value": "play", - "start": 21181, - "end": 21185, + "start": 21403, + "end": 21407, "loc": { "start": { - "line": 615, + "line": 620, "column": 21 }, "end": { - "line": 615, + "line": 620, "column": 25 } } @@ -163899,15 +165619,15 @@ "postfix": false, "binop": null }, - "start": 21185, - "end": 21186, + "start": 21407, + "end": 21408, "loc": { "start": { - "line": 615, + "line": 620, "column": 25 }, "end": { - "line": 615, + "line": 620, "column": 26 } } @@ -163924,15 +165644,15 @@ "postfix": false, "binop": null }, - "start": 21186, - "end": 21187, + "start": 21408, + "end": 21409, "loc": { "start": { - "line": 615, + "line": 620, "column": 26 }, "end": { - "line": 615, + "line": 620, "column": 27 } } @@ -163950,15 +165670,15 @@ "binop": null, "updateContext": null }, - "start": 21187, - "end": 21188, + "start": 21409, + "end": 21410, "loc": { "start": { - "line": 615, + "line": 620, "column": 27 }, "end": { - "line": 615, + "line": 620, "column": 28 } } @@ -163975,15 +165695,15 @@ "postfix": false, "binop": null }, - "start": 21201, - "end": 21202, + "start": 21423, + "end": 21424, "loc": { "start": { - "line": 616, + "line": 621, "column": 12 }, "end": { - "line": 616, + "line": 621, "column": 13 } } @@ -164003,15 +165723,15 @@ "updateContext": null }, "value": "else", - "start": 21203, - "end": 21207, + "start": 21425, + "end": 21429, "loc": { "start": { - "line": 616, + "line": 621, "column": 14 }, "end": { - "line": 616, + "line": 621, "column": 18 } } @@ -164028,15 +165748,15 @@ "postfix": false, "binop": null }, - "start": 21208, - "end": 21209, + "start": 21430, + "end": 21431, "loc": { "start": { - "line": 616, + "line": 621, "column": 19 }, "end": { - "line": 616, + "line": 621, "column": 20 } } @@ -164056,15 +165776,15 @@ "updateContext": null }, "value": "this", - "start": 21226, - "end": 21230, + "start": 21448, + "end": 21452, "loc": { "start": { - "line": 617, + "line": 622, "column": 16 }, "end": { - "line": 617, + "line": 622, "column": 20 } } @@ -164082,15 +165802,15 @@ "binop": null, "updateContext": null }, - "start": 21230, - "end": 21231, + "start": 21452, + "end": 21453, "loc": { "start": { - "line": 617, + "line": 622, "column": 20 }, "end": { - "line": 617, + "line": 622, "column": 21 } } @@ -164108,15 +165828,15 @@ "binop": null }, "value": "player", - "start": 21231, - "end": 21237, + "start": 21453, + "end": 21459, "loc": { "start": { - "line": 617, + "line": 622, "column": 21 }, "end": { - "line": 617, + "line": 622, "column": 27 } } @@ -164134,15 +165854,15 @@ "binop": null, "updateContext": null }, - "start": 21237, - "end": 21238, + "start": 21459, + "end": 21460, "loc": { "start": { - "line": 617, + "line": 622, "column": 27 }, "end": { - "line": 617, + "line": 622, "column": 28 } } @@ -164160,15 +165880,15 @@ "binop": null }, "value": "play", - "start": 21238, - "end": 21242, + "start": 21460, + "end": 21464, "loc": { "start": { - "line": 617, + "line": 622, "column": 28 }, "end": { - "line": 617, + "line": 622, "column": 32 } } @@ -164185,15 +165905,15 @@ "postfix": false, "binop": null }, - "start": 21242, - "end": 21243, + "start": 21464, + "end": 21465, "loc": { "start": { - "line": 617, + "line": 622, "column": 32 }, "end": { - "line": 617, + "line": 622, "column": 33 } } @@ -164210,15 +165930,15 @@ "postfix": false, "binop": null }, - "start": 21243, - "end": 21244, + "start": 21465, + "end": 21466, "loc": { "start": { - "line": 617, + "line": 622, "column": 33 }, "end": { - "line": 617, + "line": 622, "column": 34 } } @@ -164236,15 +165956,15 @@ "binop": null, "updateContext": null }, - "start": 21244, - "end": 21245, + "start": 21466, + "end": 21467, "loc": { "start": { - "line": 617, + "line": 622, "column": 34 }, "end": { - "line": 617, + "line": 622, "column": 35 } } @@ -164264,15 +165984,15 @@ "updateContext": null }, "value": "catch", - "start": 21245, - "end": 21250, + "start": 21467, + "end": 21472, "loc": { "start": { - "line": 617, + "line": 622, "column": 35 }, "end": { - "line": 617, + "line": 622, "column": 40 } } @@ -164289,15 +166009,15 @@ "postfix": false, "binop": null }, - "start": 21250, - "end": 21251, + "start": 21472, + "end": 21473, "loc": { "start": { - "line": 617, + "line": 622, "column": 40 }, "end": { - "line": 617, + "line": 622, "column": 41 } } @@ -164315,15 +166035,15 @@ "binop": null }, "value": "e", - "start": 21251, - "end": 21252, + "start": 21473, + "end": 21474, "loc": { "start": { - "line": 617, + "line": 622, "column": 41 }, "end": { - "line": 617, + "line": 622, "column": 42 } } @@ -164341,15 +166061,15 @@ "binop": null, "updateContext": null }, - "start": 21253, - "end": 21255, + "start": 21475, + "end": 21477, "loc": { "start": { - "line": 617, + "line": 622, "column": 43 }, "end": { - "line": 617, + "line": 622, "column": 45 } } @@ -164366,15 +166086,15 @@ "postfix": false, "binop": null }, - "start": 21256, - "end": 21257, + "start": 21478, + "end": 21479, "loc": { "start": { - "line": 617, + "line": 622, "column": 46 }, "end": { - "line": 617, + "line": 622, "column": 47 } } @@ -164394,15 +166114,15 @@ "updateContext": null }, "value": "this", - "start": 21278, - "end": 21282, + "start": 21500, + "end": 21504, "loc": { "start": { - "line": 618, + "line": 623, "column": 20 }, "end": { - "line": 618, + "line": 623, "column": 24 } } @@ -164420,15 +166140,15 @@ "binop": null, "updateContext": null }, - "start": 21282, - "end": 21283, + "start": 21504, + "end": 21505, "loc": { "start": { - "line": 618, + "line": 623, "column": 24 }, "end": { - "line": 618, + "line": 623, "column": 25 } } @@ -164446,15 +166166,15 @@ "binop": null }, "value": "onWaveError", - "start": 21283, - "end": 21294, + "start": 21505, + "end": 21516, "loc": { "start": { - "line": 618, + "line": 623, "column": 25 }, "end": { - "line": 618, + "line": 623, "column": 36 } } @@ -164471,15 +166191,15 @@ "postfix": false, "binop": null }, - "start": 21294, - "end": 21295, + "start": 21516, + "end": 21517, "loc": { "start": { - "line": 618, + "line": 623, "column": 36 }, "end": { - "line": 618, + "line": 623, "column": 37 } } @@ -164497,15 +166217,15 @@ "binop": null }, "value": "e", - "start": 21295, - "end": 21296, + "start": 21517, + "end": 21518, "loc": { "start": { - "line": 618, + "line": 623, "column": 37 }, "end": { - "line": 618, + "line": 623, "column": 38 } } @@ -164522,15 +166242,15 @@ "postfix": false, "binop": null }, - "start": 21296, - "end": 21297, + "start": 21518, + "end": 21519, "loc": { "start": { - "line": 618, + "line": 623, "column": 38 }, "end": { - "line": 618, + "line": 623, "column": 39 } } @@ -164548,15 +166268,15 @@ "binop": null, "updateContext": null }, - "start": 21297, - "end": 21298, + "start": 21519, + "end": 21520, "loc": { "start": { - "line": 618, + "line": 623, "column": 39 }, "end": { - "line": 618, + "line": 623, "column": 40 } } @@ -164573,15 +166293,15 @@ "postfix": false, "binop": null }, - "start": 21315, - "end": 21316, + "start": 21537, + "end": 21538, "loc": { "start": { - "line": 619, + "line": 624, "column": 16 }, "end": { - "line": 619, + "line": 624, "column": 17 } } @@ -164598,15 +166318,15 @@ "postfix": false, "binop": null }, - "start": 21316, - "end": 21317, + "start": 21538, + "end": 21539, "loc": { "start": { - "line": 619, + "line": 624, "column": 17 }, "end": { - "line": 619, + "line": 624, "column": 18 } } @@ -164624,15 +166344,15 @@ "binop": null, "updateContext": null }, - "start": 21317, - "end": 21318, + "start": 21539, + "end": 21540, "loc": { "start": { - "line": 619, + "line": 624, "column": 18 }, "end": { - "line": 619, + "line": 624, "column": 19 } } @@ -164649,15 +166369,15 @@ "postfix": false, "binop": null }, - "start": 21331, - "end": 21332, + "start": 21553, + "end": 21554, "loc": { "start": { - "line": 620, + "line": 625, "column": 12 }, "end": { - "line": 620, + "line": 625, "column": 13 } } @@ -164674,15 +166394,15 @@ "postfix": false, "binop": null }, - "start": 21341, - "end": 21342, + "start": 21563, + "end": 21564, "loc": { "start": { - "line": 621, + "line": 626, "column": 8 }, "end": { - "line": 621, + "line": 626, "column": 9 } } @@ -164699,15 +166419,15 @@ "postfix": false, "binop": null }, - "start": 21347, - "end": 21348, + "start": 21569, + "end": 21570, "loc": { "start": { - "line": 622, + "line": 627, "column": 4 }, "end": { - "line": 622, + "line": 627, "column": 5 } } @@ -164715,15 +166435,15 @@ { "type": "CommentBlock", "value": "*\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n ", - "start": 21354, - "end": 21461, + "start": 21576, + "end": 21683, "loc": { "start": { - "line": 624, + "line": 629, "column": 4 }, "end": { - "line": 629, + "line": 634, "column": 7 } } @@ -164741,15 +166461,15 @@ "binop": null }, "value": "onWaveFinish", - "start": 21466, - "end": 21478, + "start": 21688, + "end": 21700, "loc": { "start": { - "line": 630, + "line": 635, "column": 4 }, "end": { - "line": 630, + "line": 635, "column": 16 } } @@ -164766,15 +166486,15 @@ "postfix": false, "binop": null }, - "start": 21478, - "end": 21479, + "start": 21700, + "end": 21701, "loc": { "start": { - "line": 630, + "line": 635, "column": 16 }, "end": { - "line": 630, + "line": 635, "column": 17 } } @@ -164791,15 +166511,15 @@ "postfix": false, "binop": null }, - "start": 21479, - "end": 21480, + "start": 21701, + "end": 21702, "loc": { "start": { - "line": 630, + "line": 635, "column": 17 }, "end": { - "line": 630, + "line": 635, "column": 18 } } @@ -164816,15 +166536,15 @@ "postfix": false, "binop": null }, - "start": 21481, - "end": 21482, + "start": 21703, + "end": 21704, "loc": { "start": { - "line": 630, + "line": 635, "column": 19 }, "end": { - "line": 630, + "line": 635, "column": 20 } } @@ -164844,15 +166564,15 @@ "updateContext": null }, "value": "this", - "start": 21491, - "end": 21495, + "start": 21713, + "end": 21717, "loc": { "start": { - "line": 631, + "line": 636, "column": 8 }, "end": { - "line": 631, + "line": 636, "column": 12 } } @@ -164870,15 +166590,15 @@ "binop": null, "updateContext": null }, - "start": 21495, - "end": 21496, + "start": 21717, + "end": 21718, "loc": { "start": { - "line": 631, + "line": 636, "column": 12 }, "end": { - "line": 631, + "line": 636, "column": 13 } } @@ -164896,15 +166616,15 @@ "binop": null }, "value": "log", - "start": 21496, - "end": 21499, + "start": 21718, + "end": 21721, "loc": { "start": { - "line": 631, + "line": 636, "column": 13 }, "end": { - "line": 631, + "line": 636, "column": 16 } } @@ -164921,15 +166641,15 @@ "postfix": false, "binop": null }, - "start": 21499, - "end": 21500, + "start": 21721, + "end": 21722, "loc": { "start": { - "line": 631, + "line": 636, "column": 16 }, "end": { - "line": 631, + "line": 636, "column": 17 } } @@ -164948,15 +166668,15 @@ "updateContext": null }, "value": "Finished playback", - "start": 21500, - "end": 21519, + "start": 21722, + "end": 21741, "loc": { "start": { - "line": 631, + "line": 636, "column": 17 }, "end": { - "line": 631, + "line": 636, "column": 36 } } @@ -164973,15 +166693,15 @@ "postfix": false, "binop": null }, - "start": 21519, - "end": 21520, + "start": 21741, + "end": 21742, "loc": { "start": { - "line": 631, + "line": 636, "column": 36 }, "end": { - "line": 631, + "line": 636, "column": 37 } } @@ -164999,15 +166719,15 @@ "binop": null, "updateContext": null }, - "start": 21520, - "end": 21521, + "start": 21742, + "end": 21743, "loc": { "start": { - "line": 631, + "line": 636, "column": 37 }, "end": { - "line": 631, + "line": 636, "column": 38 } } @@ -165015,15 +166735,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 21531, - "end": 21550, + "start": 21753, + "end": 21772, "loc": { "start": { - "line": 633, + "line": 638, "column": 8 }, "end": { - "line": 633, + "line": 638, "column": 27 } } @@ -165043,15 +166763,15 @@ "updateContext": null }, "value": "this", - "start": 21559, - "end": 21563, + "start": 21781, + "end": 21785, "loc": { "start": { - "line": 634, + "line": 639, "column": 8 }, "end": { - "line": 634, + "line": 639, "column": 12 } } @@ -165069,15 +166789,15 @@ "binop": null, "updateContext": null }, - "start": 21563, - "end": 21564, + "start": 21785, + "end": 21786, "loc": { "start": { - "line": 634, + "line": 639, "column": 12 }, "end": { - "line": 634, + "line": 639, "column": 13 } } @@ -165095,15 +166815,15 @@ "binop": null }, "value": "player", - "start": 21564, - "end": 21570, + "start": 21786, + "end": 21792, "loc": { "start": { - "line": 634, + "line": 639, "column": 13 }, "end": { - "line": 634, + "line": 639, "column": 19 } } @@ -165121,15 +166841,15 @@ "binop": null, "updateContext": null }, - "start": 21570, - "end": 21571, + "start": 21792, + "end": 21793, "loc": { "start": { - "line": 634, + "line": 639, "column": 19 }, "end": { - "line": 634, + "line": 639, "column": 20 } } @@ -165147,15 +166867,15 @@ "binop": null }, "value": "trigger", - "start": 21571, - "end": 21578, + "start": 21793, + "end": 21800, "loc": { "start": { - "line": 634, + "line": 639, "column": 20 }, "end": { - "line": 634, + "line": 639, "column": 27 } } @@ -165172,15 +166892,15 @@ "postfix": false, "binop": null }, - "start": 21578, - "end": 21579, + "start": 21800, + "end": 21801, "loc": { "start": { - "line": 634, + "line": 639, "column": 27 }, "end": { - "line": 634, + "line": 639, "column": 28 } } @@ -165198,15 +166918,15 @@ "binop": null }, "value": "Event", - "start": 21579, - "end": 21584, + "start": 21801, + "end": 21806, "loc": { "start": { - "line": 634, + "line": 639, "column": 28 }, "end": { - "line": 634, + "line": 639, "column": 33 } } @@ -165224,15 +166944,15 @@ "binop": null, "updateContext": null }, - "start": 21584, - "end": 21585, + "start": 21806, + "end": 21807, "loc": { "start": { - "line": 634, + "line": 639, "column": 33 }, "end": { - "line": 634, + "line": 639, "column": 34 } } @@ -165250,15 +166970,15 @@ "binop": null }, "value": "PLAYBACK_FINISH", - "start": 21585, - "end": 21600, + "start": 21807, + "end": 21822, "loc": { "start": { - "line": 634, + "line": 639, "column": 34 }, "end": { - "line": 634, + "line": 639, "column": 49 } } @@ -165275,15 +166995,15 @@ "postfix": false, "binop": null }, - "start": 21600, - "end": 21601, + "start": 21822, + "end": 21823, "loc": { "start": { - "line": 634, + "line": 639, "column": 49 }, "end": { - "line": 634, + "line": 639, "column": 50 } } @@ -165301,15 +167021,15 @@ "binop": null, "updateContext": null }, - "start": 21601, - "end": 21602, + "start": 21823, + "end": 21824, "loc": { "start": { - "line": 634, + "line": 639, "column": 50 }, "end": { - "line": 634, + "line": 639, "column": 51 } } @@ -165317,15 +167037,15 @@ { "type": "CommentLine", "value": " check if loop is enabled", - "start": 21612, - "end": 21639, + "start": 21834, + "end": 21861, "loc": { "start": { - "line": 636, + "line": 641, "column": 8 }, "end": { - "line": 636, + "line": 641, "column": 35 } } @@ -165345,15 +167065,15 @@ "updateContext": null }, "value": "if", - "start": 21648, - "end": 21650, + "start": 21870, + "end": 21872, "loc": { "start": { - "line": 637, + "line": 642, "column": 8 }, "end": { - "line": 637, + "line": 642, "column": 10 } } @@ -165370,15 +167090,15 @@ "postfix": false, "binop": null }, - "start": 21651, - "end": 21652, + "start": 21873, + "end": 21874, "loc": { "start": { - "line": 637, + "line": 642, "column": 11 }, "end": { - "line": 637, + "line": 642, "column": 12 } } @@ -165398,15 +167118,15 @@ "updateContext": null }, "value": "this", - "start": 21652, - "end": 21656, + "start": 21874, + "end": 21878, "loc": { "start": { - "line": 637, + "line": 642, "column": 12 }, "end": { - "line": 637, + "line": 642, "column": 16 } } @@ -165424,15 +167144,15 @@ "binop": null, "updateContext": null }, - "start": 21656, - "end": 21657, + "start": 21878, + "end": 21879, "loc": { "start": { - "line": 637, + "line": 642, "column": 16 }, "end": { - "line": 637, + "line": 642, "column": 17 } } @@ -165450,15 +167170,15 @@ "binop": null }, "value": "player", - "start": 21657, - "end": 21663, + "start": 21879, + "end": 21885, "loc": { "start": { - "line": 637, + "line": 642, "column": 17 }, "end": { - "line": 637, + "line": 642, "column": 23 } } @@ -165476,15 +167196,15 @@ "binop": null, "updateContext": null }, - "start": 21663, - "end": 21664, + "start": 21885, + "end": 21886, "loc": { "start": { - "line": 637, + "line": 642, "column": 23 }, "end": { - "line": 637, + "line": 642, "column": 24 } } @@ -165502,15 +167222,15 @@ "binop": null }, "value": "options_", - "start": 21664, - "end": 21672, + "start": 21886, + "end": 21894, "loc": { "start": { - "line": 637, + "line": 642, "column": 24 }, "end": { - "line": 637, + "line": 642, "column": 32 } } @@ -165528,15 +167248,15 @@ "binop": null, "updateContext": null }, - "start": 21672, - "end": 21673, + "start": 21894, + "end": 21895, "loc": { "start": { - "line": 637, + "line": 642, "column": 32 }, "end": { - "line": 637, + "line": 642, "column": 33 } } @@ -165554,15 +167274,15 @@ "binop": null }, "value": "loop", - "start": 21673, - "end": 21677, + "start": 21895, + "end": 21899, "loc": { "start": { - "line": 637, + "line": 642, "column": 33 }, "end": { - "line": 637, + "line": 642, "column": 37 } } @@ -165581,15 +167301,15 @@ "updateContext": null }, "value": "===", - "start": 21678, - "end": 21681, + "start": 21900, + "end": 21903, "loc": { "start": { - "line": 637, + "line": 642, "column": 38 }, "end": { - "line": 637, + "line": 642, "column": 41 } } @@ -165609,15 +167329,15 @@ "updateContext": null }, "value": "true", - "start": 21682, - "end": 21686, + "start": 21904, + "end": 21908, "loc": { "start": { - "line": 637, + "line": 642, "column": 42 }, "end": { - "line": 637, + "line": 642, "column": 46 } } @@ -165634,15 +167354,15 @@ "postfix": false, "binop": null }, - "start": 21686, - "end": 21687, + "start": 21908, + "end": 21909, "loc": { "start": { - "line": 637, + "line": 642, "column": 46 }, "end": { - "line": 637, + "line": 642, "column": 47 } } @@ -165659,15 +167379,15 @@ "postfix": false, "binop": null }, - "start": 21688, - "end": 21689, + "start": 21910, + "end": 21911, "loc": { "start": { - "line": 637, + "line": 642, "column": 48 }, "end": { - "line": 637, + "line": 642, "column": 49 } } @@ -165687,15 +167407,15 @@ "updateContext": null }, "value": "if", - "start": 21702, - "end": 21704, + "start": 21924, + "end": 21926, "loc": { "start": { - "line": 638, + "line": 643, "column": 12 }, "end": { - "line": 638, + "line": 643, "column": 14 } } @@ -165712,15 +167432,15 @@ "postfix": false, "binop": null }, - "start": 21705, - "end": 21706, + "start": 21927, + "end": 21928, "loc": { "start": { - "line": 638, + "line": 643, "column": 15 }, "end": { - "line": 638, + "line": 643, "column": 16 } } @@ -165740,15 +167460,15 @@ "updateContext": null }, "value": "this", - "start": 21706, - "end": 21710, + "start": 21928, + "end": 21932, "loc": { "start": { - "line": 638, + "line": 643, "column": 16 }, "end": { - "line": 638, + "line": 643, "column": 20 } } @@ -165766,15 +167486,15 @@ "binop": null, "updateContext": null }, - "start": 21710, - "end": 21711, + "start": 21932, + "end": 21933, "loc": { "start": { - "line": 638, + "line": 643, "column": 20 }, "end": { - "line": 638, + "line": 643, "column": 21 } } @@ -165792,15 +167512,15 @@ "binop": null }, "value": "backend", - "start": 21711, - "end": 21718, + "start": 21933, + "end": 21940, "loc": { "start": { - "line": 638, + "line": 643, "column": 21 }, "end": { - "line": 638, + "line": 643, "column": 28 } } @@ -165819,15 +167539,15 @@ "updateContext": null }, "value": "===", - "start": 21719, - "end": 21722, + "start": 21941, + "end": 21944, "loc": { "start": { - "line": 638, + "line": 643, "column": 29 }, "end": { - "line": 638, + "line": 643, "column": 32 } } @@ -165845,15 +167565,15 @@ "binop": null }, "value": "WEBAUDIO", - "start": 21723, - "end": 21731, + "start": 21945, + "end": 21953, "loc": { "start": { - "line": 638, + "line": 643, "column": 33 }, "end": { - "line": 638, + "line": 643, "column": 41 } } @@ -165870,15 +167590,15 @@ "postfix": false, "binop": null }, - "start": 21731, - "end": 21732, + "start": 21953, + "end": 21954, "loc": { "start": { - "line": 638, + "line": 643, "column": 41 }, "end": { - "line": 638, + "line": 643, "column": 42 } } @@ -165895,15 +167615,15 @@ "postfix": false, "binop": null }, - "start": 21733, - "end": 21734, + "start": 21955, + "end": 21956, "loc": { "start": { - "line": 638, + "line": 643, "column": 43 }, "end": { - "line": 638, + "line": 643, "column": 44 } } @@ -165911,15 +167631,15 @@ { "type": "CommentLine", "value": " reset waveform", - "start": 21751, - "end": 21768, + "start": 21973, + "end": 21990, "loc": { "start": { - "line": 639, + "line": 644, "column": 16 }, "end": { - "line": 639, + "line": 644, "column": 33 } } @@ -165939,15 +167659,15 @@ "updateContext": null }, "value": "this", - "start": 21785, - "end": 21789, + "start": 22007, + "end": 22011, "loc": { "start": { - "line": 640, + "line": 645, "column": 16 }, "end": { - "line": 640, + "line": 645, "column": 20 } } @@ -165965,15 +167685,15 @@ "binop": null, "updateContext": null }, - "start": 21789, - "end": 21790, + "start": 22011, + "end": 22012, "loc": { "start": { - "line": 640, + "line": 645, "column": 20 }, "end": { - "line": 640, + "line": 645, "column": 21 } } @@ -165991,15 +167711,15 @@ "binop": null }, "value": "surfer", - "start": 21790, - "end": 21796, + "start": 22012, + "end": 22018, "loc": { "start": { - "line": 640, + "line": 645, "column": 21 }, "end": { - "line": 640, + "line": 645, "column": 27 } } @@ -166017,15 +167737,15 @@ "binop": null, "updateContext": null }, - "start": 21796, - "end": 21797, + "start": 22018, + "end": 22019, "loc": { "start": { - "line": 640, + "line": 645, "column": 27 }, "end": { - "line": 640, + "line": 645, "column": 28 } } @@ -166043,15 +167763,15 @@ "binop": null }, "value": "stop", - "start": 21797, - "end": 21801, + "start": 22019, + "end": 22023, "loc": { "start": { - "line": 640, + "line": 645, "column": 28 }, "end": { - "line": 640, + "line": 645, "column": 32 } } @@ -166068,15 +167788,15 @@ "postfix": false, "binop": null }, - "start": 21801, - "end": 21802, + "start": 22023, + "end": 22024, "loc": { "start": { - "line": 640, + "line": 645, "column": 32 }, "end": { - "line": 640, + "line": 645, "column": 33 } } @@ -166093,15 +167813,15 @@ "postfix": false, "binop": null }, - "start": 21802, - "end": 21803, + "start": 22024, + "end": 22025, "loc": { "start": { - "line": 640, + "line": 645, "column": 33 }, "end": { - "line": 640, + "line": 645, "column": 34 } } @@ -166119,15 +167839,15 @@ "binop": null, "updateContext": null }, - "start": 21803, - "end": 21804, + "start": 22025, + "end": 22026, "loc": { "start": { - "line": 640, + "line": 645, "column": 34 }, "end": { - "line": 640, + "line": 645, "column": 35 } } @@ -166147,15 +167867,15 @@ "updateContext": null }, "value": "this", - "start": 21821, - "end": 21825, + "start": 22043, + "end": 22047, "loc": { "start": { - "line": 641, + "line": 646, "column": 16 }, "end": { - "line": 641, + "line": 646, "column": 20 } } @@ -166173,15 +167893,15 @@ "binop": null, "updateContext": null }, - "start": 21825, - "end": 21826, + "start": 22047, + "end": 22048, "loc": { "start": { - "line": 641, + "line": 646, "column": 20 }, "end": { - "line": 641, + "line": 646, "column": 21 } } @@ -166199,15 +167919,15 @@ "binop": null }, "value": "play", - "start": 21826, - "end": 21830, + "start": 22048, + "end": 22052, "loc": { "start": { - "line": 641, + "line": 646, "column": 21 }, "end": { - "line": 641, + "line": 646, "column": 25 } } @@ -166224,15 +167944,15 @@ "postfix": false, "binop": null }, - "start": 21830, - "end": 21831, + "start": 22052, + "end": 22053, "loc": { "start": { - "line": 641, + "line": 646, "column": 25 }, "end": { - "line": 641, + "line": 646, "column": 26 } } @@ -166249,15 +167969,15 @@ "postfix": false, "binop": null }, - "start": 21831, - "end": 21832, + "start": 22053, + "end": 22054, "loc": { "start": { - "line": 641, + "line": 646, "column": 26 }, "end": { - "line": 641, + "line": 646, "column": 27 } } @@ -166275,15 +167995,15 @@ "binop": null, "updateContext": null }, - "start": 21832, - "end": 21833, + "start": 22054, + "end": 22055, "loc": { "start": { - "line": 641, + "line": 646, "column": 27 }, "end": { - "line": 641, + "line": 646, "column": 28 } } @@ -166300,15 +168020,15 @@ "postfix": false, "binop": null }, - "start": 21846, - "end": 21847, + "start": 22068, + "end": 22069, "loc": { "start": { - "line": 642, + "line": 647, "column": 12 }, "end": { - "line": 642, + "line": 647, "column": 13 } } @@ -166325,15 +168045,15 @@ "postfix": false, "binop": null }, - "start": 21856, - "end": 21857, + "start": 22078, + "end": 22079, "loc": { "start": { - "line": 643, + "line": 648, "column": 8 }, "end": { - "line": 643, + "line": 648, "column": 9 } } @@ -166353,15 +168073,15 @@ "updateContext": null }, "value": "else", - "start": 21858, - "end": 21862, + "start": 22080, + "end": 22084, "loc": { "start": { - "line": 643, + "line": 648, "column": 10 }, "end": { - "line": 643, + "line": 648, "column": 14 } } @@ -166378,15 +168098,15 @@ "postfix": false, "binop": null }, - "start": 21863, - "end": 21864, + "start": 22085, + "end": 22086, "loc": { "start": { - "line": 643, + "line": 648, "column": 15 }, "end": { - "line": 643, + "line": 648, "column": 16 } } @@ -166394,15 +168114,15 @@ { "type": "CommentLine", "value": " finished", - "start": 21877, - "end": 21888, + "start": 22099, + "end": 22110, "loc": { "start": { - "line": 644, + "line": 649, "column": 12 }, "end": { - "line": 644, + "line": 649, "column": 23 } } @@ -166422,15 +168142,15 @@ "updateContext": null }, "value": "this", - "start": 21901, - "end": 21905, + "start": 22123, + "end": 22127, "loc": { "start": { - "line": 645, + "line": 650, "column": 12 }, "end": { - "line": 645, + "line": 650, "column": 16 } } @@ -166448,15 +168168,15 @@ "binop": null, "updateContext": null }, - "start": 21905, - "end": 21906, + "start": 22127, + "end": 22128, "loc": { "start": { - "line": 645, + "line": 650, "column": 16 }, "end": { - "line": 645, + "line": 650, "column": 17 } } @@ -166474,15 +168194,15 @@ "binop": null }, "value": "waveFinished", - "start": 21906, - "end": 21918, + "start": 22128, + "end": 22140, "loc": { "start": { - "line": 645, + "line": 650, "column": 17 }, "end": { - "line": 645, + "line": 650, "column": 29 } } @@ -166501,15 +168221,15 @@ "updateContext": null }, "value": "=", - "start": 21919, - "end": 21920, + "start": 22141, + "end": 22142, "loc": { "start": { - "line": 645, + "line": 650, "column": 30 }, "end": { - "line": 645, + "line": 650, "column": 31 } } @@ -166529,15 +168249,15 @@ "updateContext": null }, "value": "true", - "start": 21921, - "end": 21925, + "start": 22143, + "end": 22147, "loc": { "start": { - "line": 645, + "line": 650, "column": 32 }, "end": { - "line": 645, + "line": 650, "column": 36 } } @@ -166555,15 +168275,15 @@ "binop": null, "updateContext": null }, - "start": 21925, - "end": 21926, + "start": 22147, + "end": 22148, "loc": { "start": { - "line": 645, + "line": 650, "column": 36 }, "end": { - "line": 645, + "line": 650, "column": 37 } } @@ -166583,15 +168303,15 @@ "updateContext": null }, "value": "if", - "start": 21940, - "end": 21942, + "start": 22162, + "end": 22164, "loc": { "start": { - "line": 647, + "line": 652, "column": 12 }, "end": { - "line": 647, + "line": 652, "column": 14 } } @@ -166608,15 +168328,15 @@ "postfix": false, "binop": null }, - "start": 21943, - "end": 21944, + "start": 22165, + "end": 22166, "loc": { "start": { - "line": 647, + "line": 652, "column": 15 }, "end": { - "line": 647, + "line": 652, "column": 16 } } @@ -166636,15 +168356,15 @@ "updateContext": null }, "value": "this", - "start": 21944, - "end": 21948, + "start": 22166, + "end": 22170, "loc": { "start": { - "line": 647, + "line": 652, "column": 16 }, "end": { - "line": 647, + "line": 652, "column": 20 } } @@ -166662,15 +168382,15 @@ "binop": null, "updateContext": null }, - "start": 21948, - "end": 21949, + "start": 22170, + "end": 22171, "loc": { "start": { - "line": 647, + "line": 652, "column": 20 }, "end": { - "line": 647, + "line": 652, "column": 21 } } @@ -166688,15 +168408,15 @@ "binop": null }, "value": "backend", - "start": 21949, - "end": 21956, + "start": 22171, + "end": 22178, "loc": { "start": { - "line": 647, + "line": 652, "column": 21 }, "end": { - "line": 647, + "line": 652, "column": 28 } } @@ -166715,15 +168435,15 @@ "updateContext": null }, "value": "===", - "start": 21957, - "end": 21960, + "start": 22179, + "end": 22182, "loc": { "start": { - "line": 647, + "line": 652, "column": 29 }, "end": { - "line": 647, + "line": 652, "column": 32 } } @@ -166741,15 +168461,15 @@ "binop": null }, "value": "WEBAUDIO", - "start": 21961, - "end": 21969, + "start": 22183, + "end": 22191, "loc": { "start": { - "line": 647, + "line": 652, "column": 33 }, "end": { - "line": 647, + "line": 652, "column": 41 } } @@ -166766,15 +168486,15 @@ "postfix": false, "binop": null }, - "start": 21969, - "end": 21970, + "start": 22191, + "end": 22192, "loc": { "start": { - "line": 647, + "line": 652, "column": 41 }, "end": { - "line": 647, + "line": 652, "column": 42 } } @@ -166791,15 +168511,15 @@ "postfix": false, "binop": null }, - "start": 21971, - "end": 21972, + "start": 22193, + "end": 22194, "loc": { "start": { - "line": 647, + "line": 652, "column": 43 }, "end": { - "line": 647, + "line": 652, "column": 44 } } @@ -166807,15 +168527,15 @@ { "type": "CommentLine", "value": " pause player", - "start": 21989, - "end": 22004, + "start": 22211, + "end": 22226, "loc": { "start": { - "line": 648, + "line": 653, "column": 16 }, "end": { - "line": 648, + "line": 653, "column": 31 } } @@ -166835,15 +168555,15 @@ "updateContext": null }, "value": "this", - "start": 22021, - "end": 22025, + "start": 22243, + "end": 22247, "loc": { "start": { - "line": 649, + "line": 654, "column": 16 }, "end": { - "line": 649, + "line": 654, "column": 20 } } @@ -166861,15 +168581,15 @@ "binop": null, "updateContext": null }, - "start": 22025, - "end": 22026, + "start": 22247, + "end": 22248, "loc": { "start": { - "line": 649, + "line": 654, "column": 20 }, "end": { - "line": 649, + "line": 654, "column": 21 } } @@ -166887,15 +168607,15 @@ "binop": null }, "value": "pause", - "start": 22026, - "end": 22031, + "start": 22248, + "end": 22253, "loc": { "start": { - "line": 649, + "line": 654, "column": 21 }, "end": { - "line": 649, + "line": 654, "column": 26 } } @@ -166912,15 +168632,15 @@ "postfix": false, "binop": null }, - "start": 22031, - "end": 22032, + "start": 22253, + "end": 22254, "loc": { "start": { - "line": 649, + "line": 654, "column": 26 }, "end": { - "line": 649, + "line": 654, "column": 27 } } @@ -166937,15 +168657,15 @@ "postfix": false, "binop": null }, - "start": 22032, - "end": 22033, + "start": 22254, + "end": 22255, "loc": { "start": { - "line": 649, + "line": 654, "column": 27 }, "end": { - "line": 649, + "line": 654, "column": 28 } } @@ -166963,15 +168683,15 @@ "binop": null, "updateContext": null }, - "start": 22033, - "end": 22034, + "start": 22255, + "end": 22256, "loc": { "start": { - "line": 649, + "line": 654, "column": 28 }, "end": { - "line": 649, + "line": 654, "column": 29 } } @@ -166979,15 +168699,15 @@ { "type": "CommentLine", "value": " show the replay state of play toggle", - "start": 22052, - "end": 22091, + "start": 22274, + "end": 22313, "loc": { "start": { - "line": 651, + "line": 656, "column": 16 }, "end": { - "line": 651, + "line": 656, "column": 55 } } @@ -167007,15 +168727,15 @@ "updateContext": null }, "value": "this", - "start": 22108, - "end": 22112, + "start": 22330, + "end": 22334, "loc": { "start": { - "line": 652, + "line": 657, "column": 16 }, "end": { - "line": 652, + "line": 657, "column": 20 } } @@ -167033,15 +168753,15 @@ "binop": null, "updateContext": null }, - "start": 22112, - "end": 22113, + "start": 22334, + "end": 22335, "loc": { "start": { - "line": 652, + "line": 657, "column": 20 }, "end": { - "line": 652, + "line": 657, "column": 21 } } @@ -167059,15 +168779,15 @@ "binop": null }, "value": "player", - "start": 22113, - "end": 22119, + "start": 22335, + "end": 22341, "loc": { "start": { - "line": 652, + "line": 657, "column": 21 }, "end": { - "line": 652, + "line": 657, "column": 27 } } @@ -167085,15 +168805,15 @@ "binop": null, "updateContext": null }, - "start": 22119, - "end": 22120, + "start": 22341, + "end": 22342, "loc": { "start": { - "line": 652, + "line": 657, "column": 27 }, "end": { - "line": 652, + "line": 657, "column": 28 } } @@ -167111,15 +168831,15 @@ "binop": null }, "value": "trigger", - "start": 22120, - "end": 22127, + "start": 22342, + "end": 22349, "loc": { "start": { - "line": 652, + "line": 657, "column": 28 }, "end": { - "line": 652, + "line": 657, "column": 35 } } @@ -167136,15 +168856,15 @@ "postfix": false, "binop": null }, - "start": 22127, - "end": 22128, + "start": 22349, + "end": 22350, "loc": { "start": { - "line": 652, + "line": 657, "column": 35 }, "end": { - "line": 652, + "line": 657, "column": 36 } } @@ -167162,15 +168882,15 @@ "binop": null }, "value": "Event", - "start": 22128, - "end": 22133, + "start": 22350, + "end": 22355, "loc": { "start": { - "line": 652, + "line": 657, "column": 36 }, "end": { - "line": 652, + "line": 657, "column": 41 } } @@ -167188,15 +168908,15 @@ "binop": null, "updateContext": null }, - "start": 22133, - "end": 22134, + "start": 22355, + "end": 22356, "loc": { "start": { - "line": 652, + "line": 657, "column": 41 }, "end": { - "line": 652, + "line": 657, "column": 42 } } @@ -167214,15 +168934,15 @@ "binop": null }, "value": "ENDED", - "start": 22134, - "end": 22139, + "start": 22356, + "end": 22361, "loc": { "start": { - "line": 652, + "line": 657, "column": 42 }, "end": { - "line": 652, + "line": 657, "column": 47 } } @@ -167239,15 +168959,15 @@ "postfix": false, "binop": null }, - "start": 22139, - "end": 22140, + "start": 22361, + "end": 22362, "loc": { "start": { - "line": 652, + "line": 657, "column": 47 }, "end": { - "line": 652, + "line": 657, "column": 48 } } @@ -167265,15 +168985,15 @@ "binop": null, "updateContext": null }, - "start": 22140, - "end": 22141, + "start": 22362, + "end": 22363, "loc": { "start": { - "line": 652, + "line": 657, "column": 48 }, "end": { - "line": 652, + "line": 657, "column": 49 } } @@ -167281,15 +169001,15 @@ { "type": "CommentLine", "value": " this gets called once after the clip has ended and the user", - "start": 22159, - "end": 22221, + "start": 22381, + "end": 22443, "loc": { "start": { - "line": 654, + "line": 659, "column": 16 }, "end": { - "line": 654, + "line": 659, "column": 78 } } @@ -167297,15 +169017,15 @@ { "type": "CommentLine", "value": " seeks so that we can change the replay button back to a play", - "start": 22238, - "end": 22301, + "start": 22460, + "end": 22523, "loc": { "start": { - "line": 655, + "line": 660, "column": 16 }, "end": { - "line": 655, + "line": 660, "column": 79 } } @@ -167313,15 +169033,15 @@ { "type": "CommentLine", "value": " button", - "start": 22318, - "end": 22327, + "start": 22540, + "end": 22549, "loc": { "start": { - "line": 656, + "line": 661, "column": 16 }, "end": { - "line": 656, + "line": 661, "column": 25 } } @@ -167341,15 +169061,15 @@ "updateContext": null }, "value": "this", - "start": 22344, - "end": 22348, + "start": 22566, + "end": 22570, "loc": { "start": { - "line": 657, + "line": 662, "column": 16 }, "end": { - "line": 657, + "line": 662, "column": 20 } } @@ -167367,15 +169087,15 @@ "binop": null, "updateContext": null }, - "start": 22348, - "end": 22349, + "start": 22570, + "end": 22571, "loc": { "start": { - "line": 657, + "line": 662, "column": 20 }, "end": { - "line": 657, + "line": 662, "column": 21 } } @@ -167393,15 +169113,15 @@ "binop": null }, "value": "surfer", - "start": 22349, - "end": 22355, + "start": 22571, + "end": 22577, "loc": { "start": { - "line": 657, + "line": 662, "column": 21 }, "end": { - "line": 657, + "line": 662, "column": 27 } } @@ -167419,15 +169139,15 @@ "binop": null, "updateContext": null }, - "start": 22355, - "end": 22356, + "start": 22577, + "end": 22578, "loc": { "start": { - "line": 657, + "line": 662, "column": 27 }, "end": { - "line": 657, + "line": 662, "column": 28 } } @@ -167445,15 +169165,15 @@ "binop": null }, "value": "once", - "start": 22356, - "end": 22360, + "start": 22578, + "end": 22582, "loc": { "start": { - "line": 657, + "line": 662, "column": 28 }, "end": { - "line": 657, + "line": 662, "column": 32 } } @@ -167470,15 +169190,15 @@ "postfix": false, "binop": null }, - "start": 22360, - "end": 22361, + "start": 22582, + "end": 22583, "loc": { "start": { - "line": 657, + "line": 662, "column": 32 }, "end": { - "line": 657, + "line": 662, "column": 33 } } @@ -167496,15 +169216,15 @@ "binop": null }, "value": "Event", - "start": 22361, - "end": 22366, + "start": 22583, + "end": 22588, "loc": { "start": { - "line": 657, + "line": 662, "column": 33 }, "end": { - "line": 657, + "line": 662, "column": 38 } } @@ -167522,15 +169242,15 @@ "binop": null, "updateContext": null }, - "start": 22366, - "end": 22367, + "start": 22588, + "end": 22589, "loc": { "start": { - "line": 657, + "line": 662, "column": 38 }, "end": { - "line": 657, + "line": 662, "column": 39 } } @@ -167548,15 +169268,15 @@ "binop": null }, "value": "SEEK", - "start": 22367, - "end": 22371, + "start": 22589, + "end": 22593, "loc": { "start": { - "line": 657, + "line": 662, "column": 39 }, "end": { - "line": 657, + "line": 662, "column": 43 } } @@ -167574,15 +169294,15 @@ "binop": null, "updateContext": null }, - "start": 22371, - "end": 22372, + "start": 22593, + "end": 22594, "loc": { "start": { - "line": 657, + "line": 662, "column": 43 }, "end": { - "line": 657, + "line": 662, "column": 44 } } @@ -167599,15 +169319,15 @@ "postfix": false, "binop": null }, - "start": 22373, - "end": 22374, + "start": 22595, + "end": 22596, "loc": { "start": { - "line": 657, + "line": 662, "column": 45 }, "end": { - "line": 657, + "line": 662, "column": 46 } } @@ -167624,15 +169344,15 @@ "postfix": false, "binop": null }, - "start": 22374, - "end": 22375, + "start": 22596, + "end": 22597, "loc": { "start": { - "line": 657, + "line": 662, "column": 46 }, "end": { - "line": 657, + "line": 662, "column": 47 } } @@ -167650,15 +169370,15 @@ "binop": null, "updateContext": null }, - "start": 22376, - "end": 22378, + "start": 22598, + "end": 22600, "loc": { "start": { - "line": 657, + "line": 662, "column": 48 }, "end": { - "line": 657, + "line": 662, "column": 50 } } @@ -167675,15 +169395,15 @@ "postfix": false, "binop": null }, - "start": 22379, - "end": 22380, + "start": 22601, + "end": 22602, "loc": { "start": { - "line": 657, + "line": 662, "column": 51 }, "end": { - "line": 657, + "line": 662, "column": 52 } } @@ -167703,15 +169423,15 @@ "updateContext": null }, "value": "if", - "start": 22401, - "end": 22403, + "start": 22623, + "end": 22625, "loc": { "start": { - "line": 658, + "line": 663, "column": 20 }, "end": { - "line": 658, + "line": 663, "column": 22 } } @@ -167728,15 +169448,15 @@ "postfix": false, "binop": null }, - "start": 22404, - "end": 22405, + "start": 22626, + "end": 22627, "loc": { "start": { - "line": 658, + "line": 663, "column": 23 }, "end": { - "line": 658, + "line": 663, "column": 24 } } @@ -167756,15 +169476,15 @@ "updateContext": null }, "value": "this", - "start": 22405, - "end": 22409, + "start": 22627, + "end": 22631, "loc": { "start": { - "line": 658, + "line": 663, "column": 24 }, "end": { - "line": 658, + "line": 663, "column": 28 } } @@ -167782,15 +169502,15 @@ "binop": null, "updateContext": null }, - "start": 22409, - "end": 22410, + "start": 22631, + "end": 22632, "loc": { "start": { - "line": 658, + "line": 663, "column": 28 }, "end": { - "line": 658, + "line": 663, "column": 29 } } @@ -167808,15 +169528,15 @@ "binop": null }, "value": "player", - "start": 22410, - "end": 22416, + "start": 22632, + "end": 22638, "loc": { "start": { - "line": 658, + "line": 663, "column": 29 }, "end": { - "line": 658, + "line": 663, "column": 35 } } @@ -167834,15 +169554,15 @@ "binop": null, "updateContext": null }, - "start": 22416, - "end": 22417, + "start": 22638, + "end": 22639, "loc": { "start": { - "line": 658, + "line": 663, "column": 35 }, "end": { - "line": 658, + "line": 663, "column": 36 } } @@ -167860,15 +169580,15 @@ "binop": null }, "value": "controlBar", - "start": 22417, - "end": 22427, + "start": 22639, + "end": 22649, "loc": { "start": { - "line": 658, + "line": 663, "column": 36 }, "end": { - "line": 658, + "line": 663, "column": 46 } } @@ -167886,15 +169606,15 @@ "binop": null, "updateContext": null }, - "start": 22427, - "end": 22428, + "start": 22649, + "end": 22650, "loc": { "start": { - "line": 658, + "line": 663, "column": 46 }, "end": { - "line": 658, + "line": 663, "column": 47 } } @@ -167912,15 +169632,15 @@ "binop": null }, "value": "playToggle", - "start": 22428, - "end": 22438, + "start": 22650, + "end": 22660, "loc": { "start": { - "line": 658, + "line": 663, "column": 47 }, "end": { - "line": 658, + "line": 663, "column": 57 } } @@ -167939,15 +169659,15 @@ "updateContext": null }, "value": "!==", - "start": 22439, - "end": 22442, + "start": 22661, + "end": 22664, "loc": { "start": { - "line": 658, + "line": 663, "column": 58 }, "end": { - "line": 658, + "line": 663, "column": 61 } } @@ -167965,15 +169685,15 @@ "binop": null }, "value": "undefined", - "start": 22443, - "end": 22452, + "start": 22665, + "end": 22674, "loc": { "start": { - "line": 658, + "line": 663, "column": 62 }, "end": { - "line": 658, + "line": 663, "column": 71 } } @@ -167990,15 +169710,15 @@ "postfix": false, "binop": null }, - "start": 22452, - "end": 22453, + "start": 22674, + "end": 22675, "loc": { "start": { - "line": 658, + "line": 663, "column": 71 }, "end": { - "line": 658, + "line": 663, "column": 72 } } @@ -168015,15 +169735,15 @@ "postfix": false, "binop": null }, - "start": 22454, - "end": 22455, + "start": 22676, + "end": 22677, "loc": { "start": { - "line": 658, + "line": 663, "column": 73 }, "end": { - "line": 658, + "line": 663, "column": 74 } } @@ -168043,15 +169763,15 @@ "updateContext": null }, "value": "this", - "start": 22480, - "end": 22484, + "start": 22702, + "end": 22706, "loc": { "start": { - "line": 659, + "line": 664, "column": 24 }, "end": { - "line": 659, + "line": 664, "column": 28 } } @@ -168069,15 +169789,15 @@ "binop": null, "updateContext": null }, - "start": 22484, - "end": 22485, + "start": 22706, + "end": 22707, "loc": { "start": { - "line": 659, + "line": 664, "column": 28 }, "end": { - "line": 659, + "line": 664, "column": 29 } } @@ -168095,15 +169815,15 @@ "binop": null }, "value": "player", - "start": 22485, - "end": 22491, + "start": 22707, + "end": 22713, "loc": { "start": { - "line": 659, + "line": 664, "column": 29 }, "end": { - "line": 659, + "line": 664, "column": 35 } } @@ -168121,15 +169841,15 @@ "binop": null, "updateContext": null }, - "start": 22491, - "end": 22492, + "start": 22713, + "end": 22714, "loc": { "start": { - "line": 659, + "line": 664, "column": 35 }, "end": { - "line": 659, + "line": 664, "column": 36 } } @@ -168147,15 +169867,15 @@ "binop": null }, "value": "controlBar", - "start": 22492, - "end": 22502, + "start": 22714, + "end": 22724, "loc": { "start": { - "line": 659, + "line": 664, "column": 36 }, "end": { - "line": 659, + "line": 664, "column": 46 } } @@ -168173,15 +169893,15 @@ "binop": null, "updateContext": null }, - "start": 22502, - "end": 22503, + "start": 22724, + "end": 22725, "loc": { "start": { - "line": 659, + "line": 664, "column": 46 }, "end": { - "line": 659, + "line": 664, "column": 47 } } @@ -168199,15 +169919,15 @@ "binop": null }, "value": "playToggle", - "start": 22503, - "end": 22513, + "start": 22725, + "end": 22735, "loc": { "start": { - "line": 659, + "line": 664, "column": 47 }, "end": { - "line": 659, + "line": 664, "column": 57 } } @@ -168225,15 +169945,15 @@ "binop": null, "updateContext": null }, - "start": 22513, - "end": 22514, + "start": 22735, + "end": 22736, "loc": { "start": { - "line": 659, + "line": 664, "column": 57 }, "end": { - "line": 659, + "line": 664, "column": 58 } } @@ -168251,15 +169971,15 @@ "binop": null }, "value": "removeClass", - "start": 22514, - "end": 22525, + "start": 22736, + "end": 22747, "loc": { "start": { - "line": 659, + "line": 664, "column": 58 }, "end": { - "line": 659, + "line": 664, "column": 69 } } @@ -168276,15 +169996,15 @@ "postfix": false, "binop": null }, - "start": 22525, - "end": 22526, + "start": 22747, + "end": 22748, "loc": { "start": { - "line": 659, + "line": 664, "column": 69 }, "end": { - "line": 659, + "line": 664, "column": 70 } } @@ -168303,15 +170023,15 @@ "updateContext": null }, "value": "vjs-ended", - "start": 22526, - "end": 22537, + "start": 22748, + "end": 22759, "loc": { "start": { - "line": 659, + "line": 664, "column": 70 }, "end": { - "line": 659, + "line": 664, "column": 81 } } @@ -168328,15 +170048,15 @@ "postfix": false, "binop": null }, - "start": 22537, - "end": 22538, + "start": 22759, + "end": 22760, "loc": { "start": { - "line": 659, + "line": 664, "column": 81 }, "end": { - "line": 659, + "line": 664, "column": 82 } } @@ -168354,15 +170074,15 @@ "binop": null, "updateContext": null }, - "start": 22538, - "end": 22539, + "start": 22760, + "end": 22761, "loc": { "start": { - "line": 659, + "line": 664, "column": 82 }, "end": { - "line": 659, + "line": 664, "column": 83 } } @@ -168379,15 +170099,15 @@ "postfix": false, "binop": null }, - "start": 22560, - "end": 22561, + "start": 22782, + "end": 22783, "loc": { "start": { - "line": 660, + "line": 665, "column": 20 }, "end": { - "line": 660, + "line": 665, "column": 21 } } @@ -168407,15 +170127,15 @@ "updateContext": null }, "value": "this", - "start": 22582, - "end": 22586, + "start": 22804, + "end": 22808, "loc": { "start": { - "line": 661, + "line": 666, "column": 20 }, "end": { - "line": 661, + "line": 666, "column": 24 } } @@ -168433,15 +170153,15 @@ "binop": null, "updateContext": null }, - "start": 22586, - "end": 22587, + "start": 22808, + "end": 22809, "loc": { "start": { - "line": 661, + "line": 666, "column": 24 }, "end": { - "line": 661, + "line": 666, "column": 25 } } @@ -168459,15 +170179,15 @@ "binop": null }, "value": "player", - "start": 22587, - "end": 22593, + "start": 22809, + "end": 22815, "loc": { "start": { - "line": 661, + "line": 666, "column": 25 }, "end": { - "line": 661, + "line": 666, "column": 31 } } @@ -168485,15 +170205,15 @@ "binop": null, "updateContext": null }, - "start": 22593, - "end": 22594, + "start": 22815, + "end": 22816, "loc": { "start": { - "line": 661, + "line": 666, "column": 31 }, "end": { - "line": 661, + "line": 666, "column": 32 } } @@ -168511,15 +170231,15 @@ "binop": null }, "value": "trigger", - "start": 22594, - "end": 22601, + "start": 22816, + "end": 22823, "loc": { "start": { - "line": 661, + "line": 666, "column": 32 }, "end": { - "line": 661, + "line": 666, "column": 39 } } @@ -168536,15 +170256,15 @@ "postfix": false, "binop": null }, - "start": 22601, - "end": 22602, + "start": 22823, + "end": 22824, "loc": { "start": { - "line": 661, + "line": 666, "column": 39 }, "end": { - "line": 661, + "line": 666, "column": 40 } } @@ -168562,15 +170282,15 @@ "binop": null }, "value": "Event", - "start": 22602, - "end": 22607, + "start": 22824, + "end": 22829, "loc": { "start": { - "line": 661, + "line": 666, "column": 40 }, "end": { - "line": 661, + "line": 666, "column": 45 } } @@ -168588,15 +170308,15 @@ "binop": null, "updateContext": null }, - "start": 22607, - "end": 22608, + "start": 22829, + "end": 22830, "loc": { "start": { - "line": 661, + "line": 666, "column": 45 }, "end": { - "line": 661, + "line": 666, "column": 46 } } @@ -168614,15 +170334,15 @@ "binop": null }, "value": "PAUSE", - "start": 22608, - "end": 22613, + "start": 22830, + "end": 22835, "loc": { "start": { - "line": 661, + "line": 666, "column": 46 }, "end": { - "line": 661, + "line": 666, "column": 51 } } @@ -168639,15 +170359,15 @@ "postfix": false, "binop": null }, - "start": 22613, - "end": 22614, + "start": 22835, + "end": 22836, "loc": { "start": { - "line": 661, + "line": 666, "column": 51 }, "end": { - "line": 661, + "line": 666, "column": 52 } } @@ -168665,15 +170385,15 @@ "binop": null, "updateContext": null }, - "start": 22614, - "end": 22615, + "start": 22836, + "end": 22837, "loc": { "start": { - "line": 661, + "line": 666, "column": 52 }, "end": { - "line": 661, + "line": 666, "column": 53 } } @@ -168690,15 +170410,15 @@ "postfix": false, "binop": null }, - "start": 22632, - "end": 22633, + "start": 22854, + "end": 22855, "loc": { "start": { - "line": 662, + "line": 667, "column": 16 }, "end": { - "line": 662, + "line": 667, "column": 17 } } @@ -168715,15 +170435,15 @@ "postfix": false, "binop": null }, - "start": 22633, - "end": 22634, + "start": 22855, + "end": 22856, "loc": { "start": { - "line": 662, + "line": 667, "column": 17 }, "end": { - "line": 662, + "line": 667, "column": 18 } } @@ -168741,15 +170461,15 @@ "binop": null, "updateContext": null }, - "start": 22634, - "end": 22635, + "start": 22856, + "end": 22857, "loc": { "start": { - "line": 662, + "line": 667, "column": 18 }, "end": { - "line": 662, + "line": 667, "column": 19 } } @@ -168766,15 +170486,15 @@ "postfix": false, "binop": null }, - "start": 22648, - "end": 22649, + "start": 22870, + "end": 22871, "loc": { "start": { - "line": 663, + "line": 668, "column": 12 }, "end": { - "line": 663, + "line": 668, "column": 13 } } @@ -168791,15 +170511,15 @@ "postfix": false, "binop": null }, - "start": 22658, - "end": 22659, + "start": 22880, + "end": 22881, "loc": { "start": { - "line": 664, + "line": 669, "column": 8 }, "end": { - "line": 664, + "line": 669, "column": 9 } } @@ -168816,15 +170536,15 @@ "postfix": false, "binop": null }, - "start": 22664, - "end": 22665, + "start": 22886, + "end": 22887, "loc": { "start": { - "line": 665, + "line": 670, "column": 4 }, "end": { - "line": 665, + "line": 670, "column": 5 } } @@ -168832,15 +170552,15 @@ { "type": "CommentBlock", "value": "*\n * Fires continuously during audio playback.\n *\n * @param {number} time - Current time/location of the playhead.\n * @private\n ", - "start": 22671, - "end": 22823, + "start": 22893, + "end": 23045, "loc": { "start": { - "line": 667, + "line": 672, "column": 4 }, "end": { - "line": 672, + "line": 677, "column": 7 } } @@ -168858,15 +170578,15 @@ "binop": null }, "value": "onWaveProgress", - "start": 22828, - "end": 22842, + "start": 23050, + "end": 23064, "loc": { "start": { - "line": 673, + "line": 678, "column": 4 }, "end": { - "line": 673, + "line": 678, "column": 18 } } @@ -168883,15 +170603,15 @@ "postfix": false, "binop": null }, - "start": 22842, - "end": 22843, + "start": 23064, + "end": 23065, "loc": { "start": { - "line": 673, + "line": 678, "column": 18 }, "end": { - "line": 673, + "line": 678, "column": 19 } } @@ -168909,15 +170629,15 @@ "binop": null }, "value": "time", - "start": 22843, - "end": 22847, + "start": 23065, + "end": 23069, "loc": { "start": { - "line": 673, + "line": 678, "column": 19 }, "end": { - "line": 673, + "line": 678, "column": 23 } } @@ -168934,15 +170654,15 @@ "postfix": false, "binop": null }, - "start": 22847, - "end": 22848, + "start": 23069, + "end": 23070, "loc": { "start": { - "line": 673, + "line": 678, "column": 23 }, "end": { - "line": 673, + "line": 678, "column": 24 } } @@ -168959,15 +170679,15 @@ "postfix": false, "binop": null }, - "start": 22849, - "end": 22850, + "start": 23071, + "end": 23072, "loc": { "start": { - "line": 673, + "line": 678, "column": 25 }, "end": { - "line": 673, + "line": 678, "column": 26 } } @@ -168987,15 +170707,15 @@ "updateContext": null }, "value": "this", - "start": 22859, - "end": 22863, + "start": 23081, + "end": 23085, "loc": { "start": { - "line": 674, + "line": 679, "column": 8 }, "end": { - "line": 674, + "line": 679, "column": 12 } } @@ -169013,15 +170733,15 @@ "binop": null, "updateContext": null }, - "start": 22863, - "end": 22864, + "start": 23085, + "end": 23086, "loc": { "start": { - "line": 674, + "line": 679, "column": 12 }, "end": { - "line": 674, + "line": 679, "column": 13 } } @@ -169039,15 +170759,15 @@ "binop": null }, "value": "setCurrentTime", - "start": 22864, - "end": 22878, + "start": 23086, + "end": 23100, "loc": { "start": { - "line": 674, + "line": 679, "column": 13 }, "end": { - "line": 674, + "line": 679, "column": 27 } } @@ -169064,15 +170784,15 @@ "postfix": false, "binop": null }, - "start": 22878, - "end": 22879, + "start": 23100, + "end": 23101, "loc": { "start": { - "line": 674, + "line": 679, "column": 27 }, "end": { - "line": 674, + "line": 679, "column": 28 } } @@ -169089,15 +170809,15 @@ "postfix": false, "binop": null }, - "start": 22879, - "end": 22880, + "start": 23101, + "end": 23102, "loc": { "start": { - "line": 674, + "line": 679, "column": 28 }, "end": { - "line": 674, + "line": 679, "column": 29 } } @@ -169115,15 +170835,15 @@ "binop": null, "updateContext": null }, - "start": 22880, - "end": 22881, + "start": 23102, + "end": 23103, "loc": { "start": { - "line": 674, + "line": 679, "column": 29 }, "end": { - "line": 674, + "line": 679, "column": 30 } } @@ -169140,15 +170860,15 @@ "postfix": false, "binop": null }, - "start": 22886, - "end": 22887, + "start": 23108, + "end": 23109, "loc": { "start": { - "line": 675, + "line": 680, "column": 4 }, "end": { - "line": 675, + "line": 680, "column": 5 } } @@ -169156,15 +170876,15 @@ { "type": "CommentBlock", "value": "*\n * Fires during seeking of the waveform.\n *\n * @private\n ", - "start": 22893, - "end": 22972, + "start": 23115, + "end": 23194, "loc": { "start": { - "line": 677, + "line": 682, "column": 4 }, "end": { - "line": 681, + "line": 686, "column": 7 } } @@ -169182,15 +170902,15 @@ "binop": null }, "value": "onWaveSeek", - "start": 22977, - "end": 22987, + "start": 23199, + "end": 23209, "loc": { "start": { - "line": 682, + "line": 687, "column": 4 }, "end": { - "line": 682, + "line": 687, "column": 14 } } @@ -169207,15 +170927,15 @@ "postfix": false, "binop": null }, - "start": 22987, - "end": 22988, + "start": 23209, + "end": 23210, "loc": { "start": { - "line": 682, + "line": 687, "column": 14 }, "end": { - "line": 682, + "line": 687, "column": 15 } } @@ -169232,15 +170952,15 @@ "postfix": false, "binop": null }, - "start": 22988, - "end": 22989, + "start": 23210, + "end": 23211, "loc": { "start": { - "line": 682, + "line": 687, "column": 15 }, "end": { - "line": 682, + "line": 687, "column": 16 } } @@ -169257,15 +170977,15 @@ "postfix": false, "binop": null }, - "start": 22990, - "end": 22991, + "start": 23212, + "end": 23213, "loc": { "start": { - "line": 682, + "line": 687, "column": 17 }, "end": { - "line": 682, + "line": 687, "column": 18 } } @@ -169285,15 +171005,15 @@ "updateContext": null }, "value": "this", - "start": 23000, - "end": 23004, + "start": 23222, + "end": 23226, "loc": { "start": { - "line": 683, + "line": 688, "column": 8 }, "end": { - "line": 683, + "line": 688, "column": 12 } } @@ -169311,15 +171031,15 @@ "binop": null, "updateContext": null }, - "start": 23004, - "end": 23005, + "start": 23226, + "end": 23227, "loc": { "start": { - "line": 683, + "line": 688, "column": 12 }, "end": { - "line": 683, + "line": 688, "column": 13 } } @@ -169337,15 +171057,15 @@ "binop": null }, "value": "setCurrentTime", - "start": 23005, - "end": 23019, + "start": 23227, + "end": 23241, "loc": { "start": { - "line": 683, + "line": 688, "column": 13 }, "end": { - "line": 683, + "line": 688, "column": 27 } } @@ -169362,15 +171082,15 @@ "postfix": false, "binop": null }, - "start": 23019, - "end": 23020, + "start": 23241, + "end": 23242, "loc": { "start": { - "line": 683, + "line": 688, "column": 27 }, "end": { - "line": 683, + "line": 688, "column": 28 } } @@ -169387,15 +171107,15 @@ "postfix": false, "binop": null }, - "start": 23020, - "end": 23021, + "start": 23242, + "end": 23243, "loc": { "start": { - "line": 683, + "line": 688, "column": 28 }, "end": { - "line": 683, + "line": 688, "column": 29 } } @@ -169413,15 +171133,15 @@ "binop": null, "updateContext": null }, - "start": 23021, - "end": 23022, + "start": 23243, + "end": 23244, "loc": { "start": { - "line": 683, + "line": 688, "column": 29 }, "end": { - "line": 683, + "line": 688, "column": 30 } } @@ -169438,15 +171158,15 @@ "postfix": false, "binop": null }, - "start": 23027, - "end": 23028, + "start": 23249, + "end": 23250, "loc": { "start": { - "line": 684, + "line": 689, "column": 4 }, "end": { - "line": 684, + "line": 689, "column": 5 } } @@ -169454,15 +171174,15 @@ { "type": "CommentBlock", "value": "*\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n ", - "start": 23034, - "end": 23144, + "start": 23256, + "end": 23366, "loc": { "start": { - "line": 686, + "line": 691, "column": 4 }, "end": { - "line": 691, + "line": 696, "column": 7 } } @@ -169480,15 +171200,15 @@ "binop": null }, "value": "onWaveError", - "start": 23149, - "end": 23160, + "start": 23371, + "end": 23382, "loc": { "start": { - "line": 692, + "line": 697, "column": 4 }, "end": { - "line": 692, + "line": 697, "column": 15 } } @@ -169505,15 +171225,15 @@ "postfix": false, "binop": null }, - "start": 23160, - "end": 23161, + "start": 23382, + "end": 23383, "loc": { "start": { - "line": 692, + "line": 697, "column": 15 }, "end": { - "line": 692, + "line": 697, "column": 16 } } @@ -169531,15 +171251,15 @@ "binop": null }, "value": "error", - "start": 23161, - "end": 23166, + "start": 23383, + "end": 23388, "loc": { "start": { - "line": 692, + "line": 697, "column": 16 }, "end": { - "line": 692, + "line": 697, "column": 21 } } @@ -169556,15 +171276,15 @@ "postfix": false, "binop": null }, - "start": 23166, - "end": 23167, + "start": 23388, + "end": 23389, "loc": { "start": { - "line": 692, + "line": 697, "column": 21 }, "end": { - "line": 692, + "line": 697, "column": 22 } } @@ -169581,15 +171301,15 @@ "postfix": false, "binop": null }, - "start": 23168, - "end": 23169, + "start": 23390, + "end": 23391, "loc": { "start": { - "line": 692, + "line": 697, "column": 23 }, "end": { - "line": 692, + "line": 697, "column": 24 } } @@ -169597,15 +171317,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 23178, - "end": 23197, + "start": 23400, + "end": 23419, "loc": { "start": { - "line": 693, + "line": 698, "column": 8 }, "end": { - "line": 693, + "line": 698, "column": 27 } } @@ -169625,15 +171345,15 @@ "updateContext": null }, "value": "if", - "start": 23206, - "end": 23208, + "start": 23428, + "end": 23430, "loc": { "start": { - "line": 694, + "line": 699, "column": 8 }, "end": { - "line": 694, + "line": 699, "column": 10 } } @@ -169650,15 +171370,15 @@ "postfix": false, "binop": null }, - "start": 23209, - "end": 23210, + "start": 23431, + "end": 23432, "loc": { "start": { - "line": 694, + "line": 699, "column": 11 }, "end": { - "line": 694, + "line": 699, "column": 12 } } @@ -169676,15 +171396,15 @@ "binop": null }, "value": "error", - "start": 23210, - "end": 23215, + "start": 23432, + "end": 23437, "loc": { "start": { - "line": 694, + "line": 699, "column": 12 }, "end": { - "line": 694, + "line": 699, "column": 17 } } @@ -169702,15 +171422,15 @@ "binop": null, "updateContext": null }, - "start": 23215, - "end": 23216, + "start": 23437, + "end": 23438, "loc": { "start": { - "line": 694, + "line": 699, "column": 17 }, "end": { - "line": 694, + "line": 699, "column": 18 } } @@ -169728,15 +171448,15 @@ "binop": null }, "value": "name", - "start": 23216, - "end": 23220, + "start": 23438, + "end": 23442, "loc": { "start": { - "line": 694, + "line": 699, "column": 18 }, "end": { - "line": 694, + "line": 699, "column": 22 } } @@ -169755,15 +171475,15 @@ "updateContext": null }, "value": "&&", - "start": 23221, - "end": 23223, + "start": 23443, + "end": 23445, "loc": { "start": { - "line": 694, + "line": 699, "column": 23 }, "end": { - "line": 694, + "line": 699, "column": 25 } } @@ -169781,15 +171501,15 @@ "binop": null }, "value": "error", - "start": 23224, - "end": 23229, + "start": 23446, + "end": 23451, "loc": { "start": { - "line": 694, + "line": 699, "column": 26 }, "end": { - "line": 694, + "line": 699, "column": 31 } } @@ -169807,15 +171527,15 @@ "binop": null, "updateContext": null }, - "start": 23229, - "end": 23230, + "start": 23451, + "end": 23452, "loc": { "start": { - "line": 694, + "line": 699, "column": 31 }, "end": { - "line": 694, + "line": 699, "column": 32 } } @@ -169833,15 +171553,15 @@ "binop": null }, "value": "name", - "start": 23230, - "end": 23234, + "start": 23452, + "end": 23456, "loc": { "start": { - "line": 694, + "line": 699, "column": 32 }, "end": { - "line": 694, + "line": 699, "column": 36 } } @@ -169860,15 +171580,15 @@ "updateContext": null }, "value": "===", - "start": 23235, - "end": 23238, + "start": 23457, + "end": 23460, "loc": { "start": { - "line": 694, + "line": 699, "column": 37 }, "end": { - "line": 694, + "line": 699, "column": 40 } } @@ -169887,15 +171607,15 @@ "updateContext": null }, "value": "AbortError", - "start": 23239, - "end": 23251, + "start": 23461, + "end": 23473, "loc": { "start": { - "line": 694, + "line": 699, "column": 41 }, "end": { - "line": 694, + "line": 699, "column": 53 } } @@ -169914,15 +171634,15 @@ "updateContext": null }, "value": "||", - "start": 23252, - "end": 23254, + "start": 23474, + "end": 23476, "loc": { "start": { - "line": 694, + "line": 699, "column": 54 }, "end": { - "line": 694, + "line": 699, "column": 56 } } @@ -169940,15 +171660,15 @@ "binop": null }, "value": "error", - "start": 23267, - "end": 23272, + "start": 23489, + "end": 23494, "loc": { "start": { - "line": 695, + "line": 700, "column": 12 }, "end": { - "line": 695, + "line": 700, "column": 17 } } @@ -169966,15 +171686,15 @@ "binop": null, "updateContext": null }, - "start": 23272, - "end": 23273, + "start": 23494, + "end": 23495, "loc": { "start": { - "line": 695, + "line": 700, "column": 17 }, "end": { - "line": 695, + "line": 700, "column": 18 } } @@ -169992,15 +171712,15 @@ "binop": null }, "value": "name", - "start": 23273, - "end": 23277, + "start": 23495, + "end": 23499, "loc": { "start": { - "line": 695, + "line": 700, "column": 18 }, "end": { - "line": 695, + "line": 700, "column": 22 } } @@ -170019,15 +171739,15 @@ "updateContext": null }, "value": "===", - "start": 23278, - "end": 23281, + "start": 23500, + "end": 23503, "loc": { "start": { - "line": 695, + "line": 700, "column": 23 }, "end": { - "line": 695, + "line": 700, "column": 26 } } @@ -170046,15 +171766,15 @@ "updateContext": null }, "value": "DOMException", - "start": 23282, - "end": 23296, + "start": 23504, + "end": 23518, "loc": { "start": { - "line": 695, + "line": 700, "column": 27 }, "end": { - "line": 695, + "line": 700, "column": 41 } } @@ -170073,15 +171793,15 @@ "updateContext": null }, "value": "&&", - "start": 23297, - "end": 23299, + "start": 23519, + "end": 23521, "loc": { "start": { - "line": 695, + "line": 700, "column": 42 }, "end": { - "line": 695, + "line": 700, "column": 44 } } @@ -170099,15 +171819,15 @@ "binop": null }, "value": "error", - "start": 23300, - "end": 23305, + "start": 23522, + "end": 23527, "loc": { "start": { - "line": 695, + "line": 700, "column": 45 }, "end": { - "line": 695, + "line": 700, "column": 50 } } @@ -170125,15 +171845,15 @@ "binop": null, "updateContext": null }, - "start": 23305, - "end": 23306, + "start": 23527, + "end": 23528, "loc": { "start": { - "line": 695, + "line": 700, "column": 50 }, "end": { - "line": 695, + "line": 700, "column": 51 } } @@ -170151,15 +171871,15 @@ "binop": null }, "value": "message", - "start": 23306, - "end": 23313, + "start": 23528, + "end": 23535, "loc": { "start": { - "line": 695, + "line": 700, "column": 51 }, "end": { - "line": 695, + "line": 700, "column": 58 } } @@ -170177,15 +171897,15 @@ "binop": null, "updateContext": null }, - "start": 23313, - "end": 23314, + "start": 23535, + "end": 23536, "loc": { "start": { - "line": 695, + "line": 700, "column": 58 }, "end": { - "line": 695, + "line": 700, "column": 59 } } @@ -170203,15 +171923,15 @@ "binop": null }, "value": "startsWith", - "start": 23314, - "end": 23324, + "start": 23536, + "end": 23546, "loc": { "start": { - "line": 695, + "line": 700, "column": 59 }, "end": { - "line": 695, + "line": 700, "column": 69 } } @@ -170228,15 +171948,15 @@ "postfix": false, "binop": null }, - "start": 23324, - "end": 23325, + "start": 23546, + "end": 23547, "loc": { "start": { - "line": 695, + "line": 700, "column": 69 }, "end": { - "line": 695, + "line": 700, "column": 70 } } @@ -170255,15 +171975,15 @@ "updateContext": null }, "value": "The operation was aborted", - "start": 23325, - "end": 23352, + "start": 23547, + "end": 23574, "loc": { "start": { - "line": 695, + "line": 700, "column": 70 }, "end": { - "line": 695, + "line": 700, "column": 97 } } @@ -170280,15 +172000,15 @@ "postfix": false, "binop": null }, - "start": 23352, - "end": 23353, + "start": 23574, + "end": 23575, "loc": { "start": { - "line": 695, + "line": 700, "column": 97 }, "end": { - "line": 695, + "line": 700, "column": 98 } } @@ -170305,15 +172025,15 @@ "postfix": false, "binop": null }, - "start": 23353, - "end": 23354, + "start": 23575, + "end": 23576, "loc": { "start": { - "line": 695, + "line": 700, "column": 98 }, "end": { - "line": 695, + "line": 700, "column": 99 } } @@ -170330,15 +172050,15 @@ "postfix": false, "binop": null }, - "start": 23363, - "end": 23364, + "start": 23585, + "end": 23586, "loc": { "start": { - "line": 696, + "line": 701, "column": 8 }, "end": { - "line": 696, + "line": 701, "column": 9 } } @@ -170358,15 +172078,15 @@ "updateContext": null }, "value": "this", - "start": 23377, - "end": 23381, + "start": 23599, + "end": 23603, "loc": { "start": { - "line": 697, + "line": 702, "column": 12 }, "end": { - "line": 697, + "line": 702, "column": 16 } } @@ -170384,15 +172104,15 @@ "binop": null, "updateContext": null }, - "start": 23381, - "end": 23382, + "start": 23603, + "end": 23604, "loc": { "start": { - "line": 697, + "line": 702, "column": 16 }, "end": { - "line": 697, + "line": 702, "column": 17 } } @@ -170410,15 +172130,15 @@ "binop": null }, "value": "player", - "start": 23382, - "end": 23388, + "start": 23604, + "end": 23610, "loc": { "start": { - "line": 697, + "line": 702, "column": 17 }, "end": { - "line": 697, + "line": 702, "column": 23 } } @@ -170436,15 +172156,15 @@ "binop": null, "updateContext": null }, - "start": 23388, - "end": 23389, + "start": 23610, + "end": 23611, "loc": { "start": { - "line": 697, + "line": 702, "column": 23 }, "end": { - "line": 697, + "line": 702, "column": 24 } } @@ -170462,15 +172182,15 @@ "binop": null }, "value": "trigger", - "start": 23389, - "end": 23396, + "start": 23611, + "end": 23618, "loc": { "start": { - "line": 697, + "line": 702, "column": 24 }, "end": { - "line": 697, + "line": 702, "column": 31 } } @@ -170487,15 +172207,15 @@ "postfix": false, "binop": null }, - "start": 23396, - "end": 23397, + "start": 23618, + "end": 23619, "loc": { "start": { - "line": 697, + "line": 702, "column": 31 }, "end": { - "line": 697, + "line": 702, "column": 32 } } @@ -170513,15 +172233,15 @@ "binop": null }, "value": "Event", - "start": 23397, - "end": 23402, + "start": 23619, + "end": 23624, "loc": { "start": { - "line": 697, + "line": 702, "column": 32 }, "end": { - "line": 697, + "line": 702, "column": 37 } } @@ -170539,15 +172259,15 @@ "binop": null, "updateContext": null }, - "start": 23402, - "end": 23403, + "start": 23624, + "end": 23625, "loc": { "start": { - "line": 697, + "line": 702, "column": 37 }, "end": { - "line": 697, + "line": 702, "column": 38 } } @@ -170565,15 +172285,15 @@ "binop": null }, "value": "ABORT", - "start": 23403, - "end": 23408, + "start": 23625, + "end": 23630, "loc": { "start": { - "line": 697, + "line": 702, "column": 38 }, "end": { - "line": 697, + "line": 702, "column": 43 } } @@ -170591,15 +172311,15 @@ "binop": null, "updateContext": null }, - "start": 23408, - "end": 23409, + "start": 23630, + "end": 23631, "loc": { "start": { - "line": 697, + "line": 702, "column": 43 }, "end": { - "line": 697, + "line": 702, "column": 44 } } @@ -170617,15 +172337,15 @@ "binop": null }, "value": "error", - "start": 23410, - "end": 23415, + "start": 23632, + "end": 23637, "loc": { "start": { - "line": 697, + "line": 702, "column": 45 }, "end": { - "line": 697, + "line": 702, "column": 50 } } @@ -170642,15 +172362,15 @@ "postfix": false, "binop": null }, - "start": 23415, - "end": 23416, + "start": 23637, + "end": 23638, "loc": { "start": { - "line": 697, + "line": 702, "column": 50 }, "end": { - "line": 697, + "line": 702, "column": 51 } } @@ -170668,15 +172388,15 @@ "binop": null, "updateContext": null }, - "start": 23416, - "end": 23417, + "start": 23638, + "end": 23639, "loc": { "start": { - "line": 697, + "line": 702, "column": 51 }, "end": { - "line": 697, + "line": 702, "column": 52 } } @@ -170693,15 +172413,15 @@ "postfix": false, "binop": null }, - "start": 23426, - "end": 23427, + "start": 23648, + "end": 23649, "loc": { "start": { - "line": 698, + "line": 703, "column": 8 }, "end": { - "line": 698, + "line": 703, "column": 9 } } @@ -170721,15 +172441,15 @@ "updateContext": null }, "value": "else", - "start": 23428, - "end": 23432, + "start": 23650, + "end": 23654, "loc": { "start": { - "line": 698, + "line": 703, "column": 10 }, "end": { - "line": 698, + "line": 703, "column": 14 } } @@ -170746,15 +172466,15 @@ "postfix": false, "binop": null }, - "start": 23433, - "end": 23434, + "start": 23655, + "end": 23656, "loc": { "start": { - "line": 698, + "line": 703, "column": 15 }, "end": { - "line": 698, + "line": 703, "column": 16 } } @@ -170774,15 +172494,15 @@ "updateContext": null }, "value": "this", - "start": 23447, - "end": 23451, + "start": 23669, + "end": 23673, "loc": { "start": { - "line": 699, + "line": 704, "column": 12 }, "end": { - "line": 699, + "line": 704, "column": 16 } } @@ -170800,15 +172520,15 @@ "binop": null, "updateContext": null }, - "start": 23451, - "end": 23452, + "start": 23673, + "end": 23674, "loc": { "start": { - "line": 699, + "line": 704, "column": 16 }, "end": { - "line": 699, + "line": 704, "column": 17 } } @@ -170826,15 +172546,15 @@ "binop": null }, "value": "player", - "start": 23452, - "end": 23458, + "start": 23674, + "end": 23680, "loc": { "start": { - "line": 699, + "line": 704, "column": 17 }, "end": { - "line": 699, + "line": 704, "column": 23 } } @@ -170852,15 +172572,15 @@ "binop": null, "updateContext": null }, - "start": 23458, - "end": 23459, + "start": 23680, + "end": 23681, "loc": { "start": { - "line": 699, + "line": 704, "column": 23 }, "end": { - "line": 699, + "line": 704, "column": 24 } } @@ -170878,15 +172598,15 @@ "binop": null }, "value": "trigger", - "start": 23459, - "end": 23466, + "start": 23681, + "end": 23688, "loc": { "start": { - "line": 699, + "line": 704, "column": 24 }, "end": { - "line": 699, + "line": 704, "column": 31 } } @@ -170903,15 +172623,15 @@ "postfix": false, "binop": null }, - "start": 23466, - "end": 23467, + "start": 23688, + "end": 23689, "loc": { "start": { - "line": 699, + "line": 704, "column": 31 }, "end": { - "line": 699, + "line": 704, "column": 32 } } @@ -170929,15 +172649,15 @@ "binop": null }, "value": "Event", - "start": 23467, - "end": 23472, + "start": 23689, + "end": 23694, "loc": { "start": { - "line": 699, + "line": 704, "column": 32 }, "end": { - "line": 699, + "line": 704, "column": 37 } } @@ -170955,15 +172675,15 @@ "binop": null, "updateContext": null }, - "start": 23472, - "end": 23473, + "start": 23694, + "end": 23695, "loc": { "start": { - "line": 699, + "line": 704, "column": 37 }, "end": { - "line": 699, + "line": 704, "column": 38 } } @@ -170981,15 +172701,15 @@ "binop": null }, "value": "ERROR", - "start": 23473, - "end": 23478, + "start": 23695, + "end": 23700, "loc": { "start": { - "line": 699, + "line": 704, "column": 38 }, "end": { - "line": 699, + "line": 704, "column": 43 } } @@ -171007,15 +172727,15 @@ "binop": null, "updateContext": null }, - "start": 23478, - "end": 23479, + "start": 23700, + "end": 23701, "loc": { "start": { - "line": 699, + "line": 704, "column": 43 }, "end": { - "line": 699, + "line": 704, "column": 44 } } @@ -171033,15 +172753,15 @@ "binop": null }, "value": "error", - "start": 23480, - "end": 23485, + "start": 23702, + "end": 23707, "loc": { "start": { - "line": 699, + "line": 704, "column": 45 }, "end": { - "line": 699, + "line": 704, "column": 50 } } @@ -171058,15 +172778,15 @@ "postfix": false, "binop": null }, - "start": 23485, - "end": 23486, + "start": 23707, + "end": 23708, "loc": { "start": { - "line": 699, + "line": 704, "column": 50 }, "end": { - "line": 699, + "line": 704, "column": 51 } } @@ -171084,15 +172804,15 @@ "binop": null, "updateContext": null }, - "start": 23486, - "end": 23487, + "start": 23708, + "end": 23709, "loc": { "start": { - "line": 699, + "line": 704, "column": 51 }, "end": { - "line": 699, + "line": 704, "column": 52 } } @@ -171112,15 +172832,15 @@ "updateContext": null }, "value": "this", - "start": 23501, - "end": 23505, + "start": 23723, + "end": 23727, "loc": { "start": { - "line": 701, + "line": 706, "column": 12 }, "end": { - "line": 701, + "line": 706, "column": 16 } } @@ -171138,15 +172858,15 @@ "binop": null, "updateContext": null }, - "start": 23505, - "end": 23506, + "start": 23727, + "end": 23728, "loc": { "start": { - "line": 701, + "line": 706, "column": 16 }, "end": { - "line": 701, + "line": 706, "column": 17 } } @@ -171164,15 +172884,15 @@ "binop": null }, "value": "log", - "start": 23506, - "end": 23509, + "start": 23728, + "end": 23731, "loc": { "start": { - "line": 701, + "line": 706, "column": 17 }, "end": { - "line": 701, + "line": 706, "column": 20 } } @@ -171189,15 +172909,15 @@ "postfix": false, "binop": null }, - "start": 23509, - "end": 23510, + "start": 23731, + "end": 23732, "loc": { "start": { - "line": 701, + "line": 706, "column": 20 }, "end": { - "line": 701, + "line": 706, "column": 21 } } @@ -171215,15 +172935,15 @@ "binop": null }, "value": "error", - "start": 23510, - "end": 23515, + "start": 23732, + "end": 23737, "loc": { "start": { - "line": 701, + "line": 706, "column": 21 }, "end": { - "line": 701, + "line": 706, "column": 26 } } @@ -171241,15 +172961,15 @@ "binop": null, "updateContext": null }, - "start": 23515, - "end": 23516, + "start": 23737, + "end": 23738, "loc": { "start": { - "line": 701, + "line": 706, "column": 26 }, "end": { - "line": 701, + "line": 706, "column": 27 } } @@ -171268,15 +172988,15 @@ "updateContext": null }, "value": "error", - "start": 23517, - "end": 23524, + "start": 23739, + "end": 23746, "loc": { "start": { - "line": 701, + "line": 706, "column": 28 }, "end": { - "line": 701, + "line": 706, "column": 35 } } @@ -171293,15 +173013,15 @@ "postfix": false, "binop": null }, - "start": 23524, - "end": 23525, + "start": 23746, + "end": 23747, "loc": { "start": { - "line": 701, + "line": 706, "column": 35 }, "end": { - "line": 701, + "line": 706, "column": 36 } } @@ -171319,15 +173039,15 @@ "binop": null, "updateContext": null }, - "start": 23525, - "end": 23526, + "start": 23747, + "end": 23748, "loc": { "start": { - "line": 701, + "line": 706, "column": 36 }, "end": { - "line": 701, + "line": 706, "column": 37 } } @@ -171344,15 +173064,15 @@ "postfix": false, "binop": null }, - "start": 23535, - "end": 23536, + "start": 23757, + "end": 23758, "loc": { "start": { - "line": 702, + "line": 707, "column": 8 }, "end": { - "line": 702, + "line": 707, "column": 9 } } @@ -171369,15 +173089,15 @@ "postfix": false, "binop": null }, - "start": 23541, - "end": 23542, + "start": 23763, + "end": 23764, "loc": { "start": { - "line": 703, + "line": 708, "column": 4 }, "end": { - "line": 703, + "line": 708, "column": 5 } } @@ -171385,15 +173105,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the play toggle is clicked.\n * @private\n ", - "start": 23548, - "end": 23621, + "start": 23770, + "end": 23843, "loc": { "start": { - "line": 705, + "line": 710, "column": 4 }, "end": { - "line": 708, + "line": 713, "column": 7 } } @@ -171411,15 +173131,15 @@ "binop": null }, "value": "onPlayToggle", - "start": 23626, - "end": 23638, + "start": 23848, + "end": 23860, "loc": { "start": { - "line": 709, + "line": 714, "column": 4 }, "end": { - "line": 709, + "line": 714, "column": 16 } } @@ -171436,15 +173156,15 @@ "postfix": false, "binop": null }, - "start": 23638, - "end": 23639, + "start": 23860, + "end": 23861, "loc": { "start": { - "line": 709, + "line": 714, "column": 16 }, "end": { - "line": 709, + "line": 714, "column": 17 } } @@ -171461,15 +173181,15 @@ "postfix": false, "binop": null }, - "start": 23639, - "end": 23640, + "start": 23861, + "end": 23862, "loc": { "start": { - "line": 709, + "line": 714, "column": 17 }, "end": { - "line": 709, + "line": 714, "column": 18 } } @@ -171486,15 +173206,15 @@ "postfix": false, "binop": null }, - "start": 23641, - "end": 23642, + "start": 23863, + "end": 23864, "loc": { "start": { - "line": 709, + "line": 714, "column": 19 }, "end": { - "line": 709, + "line": 714, "column": 20 } } @@ -171514,15 +173234,15 @@ "updateContext": null }, "value": "if", - "start": 23651, - "end": 23653, + "start": 23873, + "end": 23875, "loc": { "start": { - "line": 710, + "line": 715, "column": 8 }, "end": { - "line": 710, + "line": 715, "column": 10 } } @@ -171539,15 +173259,15 @@ "postfix": false, "binop": null }, - "start": 23654, - "end": 23655, + "start": 23876, + "end": 23877, "loc": { "start": { - "line": 710, + "line": 715, "column": 11 }, "end": { - "line": 710, + "line": 715, "column": 12 } } @@ -171567,15 +173287,15 @@ "updateContext": null }, "value": "this", - "start": 23655, - "end": 23659, + "start": 23877, + "end": 23881, "loc": { "start": { - "line": 710, + "line": 715, "column": 12 }, "end": { - "line": 710, + "line": 715, "column": 16 } } @@ -171593,15 +173313,15 @@ "binop": null, "updateContext": null }, - "start": 23659, - "end": 23660, + "start": 23881, + "end": 23882, "loc": { "start": { - "line": 710, + "line": 715, "column": 16 }, "end": { - "line": 710, + "line": 715, "column": 17 } } @@ -171619,15 +173339,15 @@ "binop": null }, "value": "player", - "start": 23660, - "end": 23666, + "start": 23882, + "end": 23888, "loc": { "start": { - "line": 710, + "line": 715, "column": 17 }, "end": { - "line": 710, + "line": 715, "column": 23 } } @@ -171645,15 +173365,15 @@ "binop": null, "updateContext": null }, - "start": 23666, - "end": 23667, + "start": 23888, + "end": 23889, "loc": { "start": { - "line": 710, + "line": 715, "column": 23 }, "end": { - "line": 710, + "line": 715, "column": 24 } } @@ -171671,15 +173391,15 @@ "binop": null }, "value": "controlBar", - "start": 23667, - "end": 23677, + "start": 23889, + "end": 23899, "loc": { "start": { - "line": 710, + "line": 715, "column": 24 }, "end": { - "line": 710, + "line": 715, "column": 34 } } @@ -171697,15 +173417,15 @@ "binop": null, "updateContext": null }, - "start": 23677, - "end": 23678, + "start": 23899, + "end": 23900, "loc": { "start": { - "line": 710, + "line": 715, "column": 34 }, "end": { - "line": 710, + "line": 715, "column": 35 } } @@ -171723,15 +173443,15 @@ "binop": null }, "value": "playToggle", - "start": 23678, - "end": 23688, + "start": 23900, + "end": 23910, "loc": { "start": { - "line": 710, + "line": 715, "column": 35 }, "end": { - "line": 710, + "line": 715, "column": 45 } } @@ -171750,15 +173470,15 @@ "updateContext": null }, "value": "!==", - "start": 23689, - "end": 23692, + "start": 23911, + "end": 23914, "loc": { "start": { - "line": 710, + "line": 715, "column": 46 }, "end": { - "line": 710, + "line": 715, "column": 49 } } @@ -171776,15 +173496,15 @@ "binop": null }, "value": "undefined", - "start": 23693, - "end": 23702, + "start": 23915, + "end": 23924, "loc": { "start": { - "line": 710, + "line": 715, "column": 50 }, "end": { - "line": 710, + "line": 715, "column": 59 } } @@ -171803,15 +173523,15 @@ "updateContext": null }, "value": "&&", - "start": 23703, - "end": 23705, + "start": 23925, + "end": 23927, "loc": { "start": { - "line": 710, + "line": 715, "column": 60 }, "end": { - "line": 710, + "line": 715, "column": 62 } } @@ -171831,15 +173551,15 @@ "updateContext": null }, "value": "this", - "start": 23718, - "end": 23722, + "start": 23940, + "end": 23944, "loc": { "start": { - "line": 711, + "line": 716, "column": 12 }, "end": { - "line": 711, + "line": 716, "column": 16 } } @@ -171857,15 +173577,15 @@ "binop": null, "updateContext": null }, - "start": 23722, - "end": 23723, + "start": 23944, + "end": 23945, "loc": { "start": { - "line": 711, + "line": 716, "column": 16 }, "end": { - "line": 711, + "line": 716, "column": 17 } } @@ -171883,15 +173603,15 @@ "binop": null }, "value": "player", - "start": 23723, - "end": 23729, + "start": 23945, + "end": 23951, "loc": { "start": { - "line": 711, + "line": 716, "column": 17 }, "end": { - "line": 711, + "line": 716, "column": 23 } } @@ -171909,15 +173629,15 @@ "binop": null, "updateContext": null }, - "start": 23729, - "end": 23730, + "start": 23951, + "end": 23952, "loc": { "start": { - "line": 711, + "line": 716, "column": 23 }, "end": { - "line": 711, + "line": 716, "column": 24 } } @@ -171935,15 +173655,15 @@ "binop": null }, "value": "controlBar", - "start": 23730, - "end": 23740, + "start": 23952, + "end": 23962, "loc": { "start": { - "line": 711, + "line": 716, "column": 24 }, "end": { - "line": 711, + "line": 716, "column": 34 } } @@ -171961,15 +173681,15 @@ "binop": null, "updateContext": null }, - "start": 23740, - "end": 23741, + "start": 23962, + "end": 23963, "loc": { "start": { - "line": 711, + "line": 716, "column": 34 }, "end": { - "line": 711, + "line": 716, "column": 35 } } @@ -171987,15 +173707,15 @@ "binop": null }, "value": "playToggle", - "start": 23741, - "end": 23751, + "start": 23963, + "end": 23973, "loc": { "start": { - "line": 711, + "line": 716, "column": 35 }, "end": { - "line": 711, + "line": 716, "column": 45 } } @@ -172013,15 +173733,15 @@ "binop": null, "updateContext": null }, - "start": 23751, - "end": 23752, + "start": 23973, + "end": 23974, "loc": { "start": { - "line": 711, + "line": 716, "column": 45 }, "end": { - "line": 711, + "line": 716, "column": 46 } } @@ -172039,15 +173759,15 @@ "binop": null }, "value": "hasClass", - "start": 23752, - "end": 23760, + "start": 23974, + "end": 23982, "loc": { "start": { - "line": 711, + "line": 716, "column": 46 }, "end": { - "line": 711, + "line": 716, "column": 54 } } @@ -172064,15 +173784,15 @@ "postfix": false, "binop": null }, - "start": 23760, - "end": 23761, + "start": 23982, + "end": 23983, "loc": { "start": { - "line": 711, + "line": 716, "column": 54 }, "end": { - "line": 711, + "line": 716, "column": 55 } } @@ -172091,15 +173811,15 @@ "updateContext": null }, "value": "vjs-ended", - "start": 23761, - "end": 23772, + "start": 23983, + "end": 23994, "loc": { "start": { - "line": 711, + "line": 716, "column": 55 }, "end": { - "line": 711, + "line": 716, "column": 66 } } @@ -172116,15 +173836,15 @@ "postfix": false, "binop": null }, - "start": 23772, - "end": 23773, + "start": 23994, + "end": 23995, "loc": { "start": { - "line": 711, + "line": 716, "column": 66 }, "end": { - "line": 711, + "line": 716, "column": 67 } } @@ -172141,15 +173861,15 @@ "postfix": false, "binop": null }, - "start": 23773, - "end": 23774, + "start": 23995, + "end": 23996, "loc": { "start": { - "line": 711, + "line": 716, "column": 67 }, "end": { - "line": 711, + "line": 716, "column": 68 } } @@ -172166,15 +173886,15 @@ "postfix": false, "binop": null }, - "start": 23775, - "end": 23776, + "start": 23997, + "end": 23998, "loc": { "start": { - "line": 711, + "line": 716, "column": 69 }, "end": { - "line": 711, + "line": 716, "column": 70 } } @@ -172194,15 +173914,15 @@ "updateContext": null }, "value": "this", - "start": 23789, - "end": 23793, + "start": 24011, + "end": 24015, "loc": { "start": { - "line": 712, + "line": 717, "column": 12 }, "end": { - "line": 712, + "line": 717, "column": 16 } } @@ -172220,15 +173940,15 @@ "binop": null, "updateContext": null }, - "start": 23793, - "end": 23794, + "start": 24015, + "end": 24016, "loc": { "start": { - "line": 712, + "line": 717, "column": 16 }, "end": { - "line": 712, + "line": 717, "column": 17 } } @@ -172246,15 +173966,15 @@ "binop": null }, "value": "player", - "start": 23794, - "end": 23800, + "start": 24016, + "end": 24022, "loc": { "start": { - "line": 712, + "line": 717, "column": 17 }, "end": { - "line": 712, + "line": 717, "column": 23 } } @@ -172272,15 +173992,15 @@ "binop": null, "updateContext": null }, - "start": 23800, - "end": 23801, + "start": 24022, + "end": 24023, "loc": { "start": { - "line": 712, + "line": 717, "column": 23 }, "end": { - "line": 712, + "line": 717, "column": 24 } } @@ -172298,15 +174018,15 @@ "binop": null }, "value": "controlBar", - "start": 23801, - "end": 23811, + "start": 24023, + "end": 24033, "loc": { "start": { - "line": 712, + "line": 717, "column": 24 }, "end": { - "line": 712, + "line": 717, "column": 34 } } @@ -172324,15 +174044,15 @@ "binop": null, "updateContext": null }, - "start": 23811, - "end": 23812, + "start": 24033, + "end": 24034, "loc": { "start": { - "line": 712, + "line": 717, "column": 34 }, "end": { - "line": 712, + "line": 717, "column": 35 } } @@ -172350,15 +174070,15 @@ "binop": null }, "value": "playToggle", - "start": 23812, - "end": 23822, + "start": 24034, + "end": 24044, "loc": { "start": { - "line": 712, + "line": 717, "column": 35 }, "end": { - "line": 712, + "line": 717, "column": 45 } } @@ -172376,15 +174096,15 @@ "binop": null, "updateContext": null }, - "start": 23822, - "end": 23823, + "start": 24044, + "end": 24045, "loc": { "start": { - "line": 712, + "line": 717, "column": 45 }, "end": { - "line": 712, + "line": 717, "column": 46 } } @@ -172402,15 +174122,15 @@ "binop": null }, "value": "removeClass", - "start": 23823, - "end": 23834, + "start": 24045, + "end": 24056, "loc": { "start": { - "line": 712, + "line": 717, "column": 46 }, "end": { - "line": 712, + "line": 717, "column": 57 } } @@ -172427,15 +174147,15 @@ "postfix": false, "binop": null }, - "start": 23834, - "end": 23835, + "start": 24056, + "end": 24057, "loc": { "start": { - "line": 712, + "line": 717, "column": 57 }, "end": { - "line": 712, + "line": 717, "column": 58 } } @@ -172454,15 +174174,15 @@ "updateContext": null }, "value": "vjs-ended", - "start": 23835, - "end": 23846, + "start": 24057, + "end": 24068, "loc": { "start": { - "line": 712, + "line": 717, "column": 58 }, "end": { - "line": 712, + "line": 717, "column": 69 } } @@ -172479,15 +174199,15 @@ "postfix": false, "binop": null }, - "start": 23846, - "end": 23847, + "start": 24068, + "end": 24069, "loc": { "start": { - "line": 712, + "line": 717, "column": 69 }, "end": { - "line": 712, + "line": 717, "column": 70 } } @@ -172505,15 +174225,15 @@ "binop": null, "updateContext": null }, - "start": 23847, - "end": 23848, + "start": 24069, + "end": 24070, "loc": { "start": { - "line": 712, + "line": 717, "column": 70 }, "end": { - "line": 712, + "line": 717, "column": 71 } } @@ -172530,15 +174250,15 @@ "postfix": false, "binop": null }, - "start": 23857, - "end": 23858, + "start": 24079, + "end": 24080, "loc": { "start": { - "line": 713, + "line": 718, "column": 8 }, "end": { - "line": 713, + "line": 718, "column": 9 } } @@ -172558,15 +174278,15 @@ "updateContext": null }, "value": "if", - "start": 23867, - "end": 23869, + "start": 24089, + "end": 24091, "loc": { "start": { - "line": 714, + "line": 719, "column": 8 }, "end": { - "line": 714, + "line": 719, "column": 10 } } @@ -172583,15 +174303,15 @@ "postfix": false, "binop": null }, - "start": 23870, - "end": 23871, + "start": 24092, + "end": 24093, "loc": { "start": { - "line": 714, + "line": 719, "column": 11 }, "end": { - "line": 714, + "line": 719, "column": 12 } } @@ -172611,15 +174331,15 @@ "updateContext": null }, "value": "this", - "start": 23871, - "end": 23875, + "start": 24093, + "end": 24097, "loc": { "start": { - "line": 714, + "line": 719, "column": 12 }, "end": { - "line": 714, + "line": 719, "column": 16 } } @@ -172637,15 +174357,15 @@ "binop": null, "updateContext": null }, - "start": 23875, - "end": 23876, + "start": 24097, + "end": 24098, "loc": { "start": { - "line": 714, + "line": 719, "column": 16 }, "end": { - "line": 714, + "line": 719, "column": 17 } } @@ -172663,15 +174383,15 @@ "binop": null }, "value": "surfer", - "start": 23876, - "end": 23882, + "start": 24098, + "end": 24104, "loc": { "start": { - "line": 714, + "line": 719, "column": 17 }, "end": { - "line": 714, + "line": 719, "column": 23 } } @@ -172689,15 +174409,15 @@ "binop": null, "updateContext": null }, - "start": 23882, - "end": 23883, + "start": 24104, + "end": 24105, "loc": { "start": { - "line": 714, + "line": 719, "column": 23 }, "end": { - "line": 714, + "line": 719, "column": 24 } } @@ -172715,15 +174435,15 @@ "binop": null }, "value": "isPlaying", - "start": 23883, - "end": 23892, + "start": 24105, + "end": 24114, "loc": { "start": { - "line": 714, + "line": 719, "column": 24 }, "end": { - "line": 714, + "line": 719, "column": 33 } } @@ -172740,15 +174460,15 @@ "postfix": false, "binop": null }, - "start": 23892, - "end": 23893, + "start": 24114, + "end": 24115, "loc": { "start": { - "line": 714, + "line": 719, "column": 33 }, "end": { - "line": 714, + "line": 719, "column": 34 } } @@ -172765,15 +174485,15 @@ "postfix": false, "binop": null }, - "start": 23893, - "end": 23894, + "start": 24115, + "end": 24116, "loc": { "start": { - "line": 714, + "line": 719, "column": 34 }, "end": { - "line": 714, + "line": 719, "column": 35 } } @@ -172790,15 +174510,15 @@ "postfix": false, "binop": null }, - "start": 23894, - "end": 23895, + "start": 24116, + "end": 24117, "loc": { "start": { - "line": 714, + "line": 719, "column": 35 }, "end": { - "line": 714, + "line": 719, "column": 36 } } @@ -172815,15 +174535,15 @@ "postfix": false, "binop": null }, - "start": 23896, - "end": 23897, + "start": 24118, + "end": 24119, "loc": { "start": { - "line": 714, + "line": 719, "column": 37 }, "end": { - "line": 714, + "line": 719, "column": 38 } } @@ -172843,15 +174563,15 @@ "updateContext": null }, "value": "this", - "start": 23910, - "end": 23914, + "start": 24132, + "end": 24136, "loc": { "start": { - "line": 715, + "line": 720, "column": 12 }, "end": { - "line": 715, + "line": 720, "column": 16 } } @@ -172869,15 +174589,15 @@ "binop": null, "updateContext": null }, - "start": 23914, - "end": 23915, + "start": 24136, + "end": 24137, "loc": { "start": { - "line": 715, + "line": 720, "column": 16 }, "end": { - "line": 715, + "line": 720, "column": 17 } } @@ -172895,15 +174615,15 @@ "binop": null }, "value": "pause", - "start": 23915, - "end": 23920, + "start": 24137, + "end": 24142, "loc": { "start": { - "line": 715, + "line": 720, "column": 17 }, "end": { - "line": 715, + "line": 720, "column": 22 } } @@ -172920,15 +174640,15 @@ "postfix": false, "binop": null }, - "start": 23920, - "end": 23921, + "start": 24142, + "end": 24143, "loc": { "start": { - "line": 715, + "line": 720, "column": 22 }, "end": { - "line": 715, + "line": 720, "column": 23 } } @@ -172945,15 +174665,15 @@ "postfix": false, "binop": null }, - "start": 23921, - "end": 23922, + "start": 24143, + "end": 24144, "loc": { "start": { - "line": 715, + "line": 720, "column": 23 }, "end": { - "line": 715, + "line": 720, "column": 24 } } @@ -172971,15 +174691,15 @@ "binop": null, "updateContext": null }, - "start": 23922, - "end": 23923, + "start": 24144, + "end": 24145, "loc": { "start": { - "line": 715, + "line": 720, "column": 24 }, "end": { - "line": 715, + "line": 720, "column": 25 } } @@ -172996,15 +174716,15 @@ "postfix": false, "binop": null }, - "start": 23932, - "end": 23933, + "start": 24154, + "end": 24155, "loc": { "start": { - "line": 716, + "line": 721, "column": 8 }, "end": { - "line": 716, + "line": 721, "column": 9 } } @@ -173024,15 +174744,15 @@ "updateContext": null }, "value": "else", - "start": 23934, - "end": 23938, + "start": 24156, + "end": 24160, "loc": { "start": { - "line": 716, + "line": 721, "column": 10 }, "end": { - "line": 716, + "line": 721, "column": 14 } } @@ -173049,15 +174769,15 @@ "postfix": false, "binop": null }, - "start": 23939, - "end": 23940, + "start": 24161, + "end": 24162, "loc": { "start": { - "line": 716, + "line": 721, "column": 15 }, "end": { - "line": 716, + "line": 721, "column": 16 } } @@ -173077,15 +174797,15 @@ "updateContext": null }, "value": "this", - "start": 23953, - "end": 23957, + "start": 24175, + "end": 24179, "loc": { "start": { - "line": 717, + "line": 722, "column": 12 }, "end": { - "line": 717, + "line": 722, "column": 16 } } @@ -173103,15 +174823,15 @@ "binop": null, "updateContext": null }, - "start": 23957, - "end": 23958, + "start": 24179, + "end": 24180, "loc": { "start": { - "line": 717, + "line": 722, "column": 16 }, "end": { - "line": 717, + "line": 722, "column": 17 } } @@ -173129,15 +174849,15 @@ "binop": null }, "value": "play", - "start": 23958, - "end": 23962, + "start": 24180, + "end": 24184, "loc": { "start": { - "line": 717, + "line": 722, "column": 17 }, "end": { - "line": 717, + "line": 722, "column": 21 } } @@ -173154,15 +174874,15 @@ "postfix": false, "binop": null }, - "start": 23962, - "end": 23963, + "start": 24184, + "end": 24185, "loc": { "start": { - "line": 717, + "line": 722, "column": 21 }, "end": { - "line": 717, + "line": 722, "column": 22 } } @@ -173179,15 +174899,15 @@ "postfix": false, "binop": null }, - "start": 23963, - "end": 23964, + "start": 24185, + "end": 24186, "loc": { "start": { - "line": 717, + "line": 722, "column": 22 }, "end": { - "line": 717, + "line": 722, "column": 23 } } @@ -173205,15 +174925,15 @@ "binop": null, "updateContext": null }, - "start": 23964, - "end": 23965, + "start": 24186, + "end": 24187, "loc": { "start": { - "line": 717, + "line": 722, "column": 23 }, "end": { - "line": 717, + "line": 722, "column": 24 } } @@ -173230,15 +174950,15 @@ "postfix": false, "binop": null }, - "start": 23974, - "end": 23975, + "start": 24196, + "end": 24197, "loc": { "start": { - "line": 718, + "line": 723, "column": 8 }, "end": { - "line": 718, + "line": 723, "column": 9 } } @@ -173255,15 +174975,15 @@ "postfix": false, "binop": null }, - "start": 23980, - "end": 23981, + "start": 24202, + "end": 24203, "loc": { "start": { - "line": 719, + "line": 724, "column": 4 }, "end": { - "line": 719, + "line": 724, "column": 5 } } @@ -173271,15 +174991,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the volume in the video.js player changes.\n * @private\n ", - "start": 23987, - "end": 24075, + "start": 24209, + "end": 24297, "loc": { "start": { - "line": 721, + "line": 726, "column": 4 }, "end": { - "line": 724, + "line": 729, "column": 7 } } @@ -173297,15 +175017,15 @@ "binop": null }, "value": "onVolumeChange", - "start": 24080, - "end": 24094, + "start": 24302, + "end": 24316, "loc": { "start": { - "line": 725, + "line": 730, "column": 4 }, "end": { - "line": 725, + "line": 730, "column": 18 } } @@ -173322,15 +175042,15 @@ "postfix": false, "binop": null }, - "start": 24094, - "end": 24095, + "start": 24316, + "end": 24317, "loc": { "start": { - "line": 725, + "line": 730, "column": 18 }, "end": { - "line": 725, + "line": 730, "column": 19 } } @@ -173347,15 +175067,15 @@ "postfix": false, "binop": null }, - "start": 24095, - "end": 24096, + "start": 24317, + "end": 24318, "loc": { "start": { - "line": 725, + "line": 730, "column": 19 }, "end": { - "line": 725, + "line": 730, "column": 20 } } @@ -173372,15 +175092,15 @@ "postfix": false, "binop": null }, - "start": 24097, - "end": 24098, + "start": 24319, + "end": 24320, "loc": { "start": { - "line": 725, + "line": 730, "column": 21 }, "end": { - "line": 725, + "line": 730, "column": 22 } } @@ -173400,15 +175120,15 @@ "updateContext": null }, "value": "let", - "start": 24107, - "end": 24110, + "start": 24329, + "end": 24332, "loc": { "start": { - "line": 726, + "line": 731, "column": 8 }, "end": { - "line": 726, + "line": 731, "column": 11 } } @@ -173426,15 +175146,15 @@ "binop": null }, "value": "volume", - "start": 24111, - "end": 24117, + "start": 24333, + "end": 24339, "loc": { "start": { - "line": 726, + "line": 731, "column": 12 }, "end": { - "line": 726, + "line": 731, "column": 18 } } @@ -173453,15 +175173,15 @@ "updateContext": null }, "value": "=", - "start": 24118, - "end": 24119, + "start": 24340, + "end": 24341, "loc": { "start": { - "line": 726, + "line": 731, "column": 19 }, "end": { - "line": 726, + "line": 731, "column": 20 } } @@ -173481,15 +175201,15 @@ "updateContext": null }, "value": "this", - "start": 24120, - "end": 24124, + "start": 24342, + "end": 24346, "loc": { "start": { - "line": 726, + "line": 731, "column": 21 }, "end": { - "line": 726, + "line": 731, "column": 25 } } @@ -173507,15 +175227,15 @@ "binop": null, "updateContext": null }, - "start": 24124, - "end": 24125, + "start": 24346, + "end": 24347, "loc": { "start": { - "line": 726, + "line": 731, "column": 25 }, "end": { - "line": 726, + "line": 731, "column": 26 } } @@ -173533,15 +175253,15 @@ "binop": null }, "value": "player", - "start": 24125, - "end": 24131, + "start": 24347, + "end": 24353, "loc": { "start": { - "line": 726, + "line": 731, "column": 26 }, "end": { - "line": 726, + "line": 731, "column": 32 } } @@ -173559,15 +175279,15 @@ "binop": null, "updateContext": null }, - "start": 24131, - "end": 24132, + "start": 24353, + "end": 24354, "loc": { "start": { - "line": 726, + "line": 731, "column": 32 }, "end": { - "line": 726, + "line": 731, "column": 33 } } @@ -173585,15 +175305,15 @@ "binop": null }, "value": "volume", - "start": 24132, - "end": 24138, + "start": 24354, + "end": 24360, "loc": { "start": { - "line": 726, + "line": 731, "column": 33 }, "end": { - "line": 726, + "line": 731, "column": 39 } } @@ -173610,15 +175330,15 @@ "postfix": false, "binop": null }, - "start": 24138, - "end": 24139, + "start": 24360, + "end": 24361, "loc": { "start": { - "line": 726, + "line": 731, "column": 39 }, "end": { - "line": 726, + "line": 731, "column": 40 } } @@ -173635,15 +175355,15 @@ "postfix": false, "binop": null }, - "start": 24139, - "end": 24140, + "start": 24361, + "end": 24362, "loc": { "start": { - "line": 726, + "line": 731, "column": 40 }, "end": { - "line": 726, + "line": 731, "column": 41 } } @@ -173661,15 +175381,15 @@ "binop": null, "updateContext": null }, - "start": 24140, - "end": 24141, + "start": 24362, + "end": 24363, "loc": { "start": { - "line": 726, + "line": 731, "column": 41 }, "end": { - "line": 726, + "line": 731, "column": 42 } } @@ -173689,15 +175409,15 @@ "updateContext": null }, "value": "if", - "start": 24150, - "end": 24152, + "start": 24372, + "end": 24374, "loc": { "start": { - "line": 727, + "line": 732, "column": 8 }, "end": { - "line": 727, + "line": 732, "column": 10 } } @@ -173714,15 +175434,15 @@ "postfix": false, "binop": null }, - "start": 24153, - "end": 24154, + "start": 24375, + "end": 24376, "loc": { "start": { - "line": 727, + "line": 732, "column": 11 }, "end": { - "line": 727, + "line": 732, "column": 12 } } @@ -173742,15 +175462,15 @@ "updateContext": null }, "value": "this", - "start": 24154, - "end": 24158, + "start": 24376, + "end": 24380, "loc": { "start": { - "line": 727, + "line": 732, "column": 12 }, "end": { - "line": 727, + "line": 732, "column": 16 } } @@ -173768,15 +175488,15 @@ "binop": null, "updateContext": null }, - "start": 24158, - "end": 24159, + "start": 24380, + "end": 24381, "loc": { "start": { - "line": 727, + "line": 732, "column": 16 }, "end": { - "line": 727, + "line": 732, "column": 17 } } @@ -173794,15 +175514,15 @@ "binop": null }, "value": "player", - "start": 24159, - "end": 24165, + "start": 24381, + "end": 24387, "loc": { "start": { - "line": 727, + "line": 732, "column": 17 }, "end": { - "line": 727, + "line": 732, "column": 23 } } @@ -173820,15 +175540,15 @@ "binop": null, "updateContext": null }, - "start": 24165, - "end": 24166, + "start": 24387, + "end": 24388, "loc": { "start": { - "line": 727, + "line": 732, "column": 23 }, "end": { - "line": 727, + "line": 732, "column": 24 } } @@ -173846,15 +175566,15 @@ "binop": null }, "value": "muted", - "start": 24166, - "end": 24171, + "start": 24388, + "end": 24393, "loc": { "start": { - "line": 727, + "line": 732, "column": 24 }, "end": { - "line": 727, + "line": 732, "column": 29 } } @@ -173871,15 +175591,15 @@ "postfix": false, "binop": null }, - "start": 24171, - "end": 24172, + "start": 24393, + "end": 24394, "loc": { "start": { - "line": 727, + "line": 732, "column": 29 }, "end": { - "line": 727, + "line": 732, "column": 30 } } @@ -173896,15 +175616,15 @@ "postfix": false, "binop": null }, - "start": 24172, - "end": 24173, + "start": 24394, + "end": 24395, "loc": { "start": { - "line": 727, + "line": 732, "column": 30 }, "end": { - "line": 727, + "line": 732, "column": 31 } } @@ -173921,15 +175641,15 @@ "postfix": false, "binop": null }, - "start": 24173, - "end": 24174, + "start": 24395, + "end": 24396, "loc": { "start": { - "line": 727, + "line": 732, "column": 31 }, "end": { - "line": 727, + "line": 732, "column": 32 } } @@ -173946,15 +175666,15 @@ "postfix": false, "binop": null }, - "start": 24175, - "end": 24176, + "start": 24397, + "end": 24398, "loc": { "start": { - "line": 727, + "line": 732, "column": 33 }, "end": { - "line": 727, + "line": 732, "column": 34 } } @@ -173962,15 +175682,15 @@ { "type": "CommentLine", "value": " muted volume", - "start": 24189, - "end": 24204, + "start": 24411, + "end": 24426, "loc": { "start": { - "line": 728, + "line": 733, "column": 12 }, "end": { - "line": 728, + "line": 733, "column": 27 } } @@ -173988,15 +175708,15 @@ "binop": null }, "value": "volume", - "start": 24217, - "end": 24223, + "start": 24439, + "end": 24445, "loc": { "start": { - "line": 729, + "line": 734, "column": 12 }, "end": { - "line": 729, + "line": 734, "column": 18 } } @@ -174015,15 +175735,15 @@ "updateContext": null }, "value": "=", - "start": 24224, - "end": 24225, + "start": 24446, + "end": 24447, "loc": { "start": { - "line": 729, + "line": 734, "column": 19 }, "end": { - "line": 729, + "line": 734, "column": 20 } } @@ -174042,15 +175762,15 @@ "updateContext": null }, "value": 0, - "start": 24226, - "end": 24227, + "start": 24448, + "end": 24449, "loc": { "start": { - "line": 729, + "line": 734, "column": 21 }, "end": { - "line": 729, + "line": 734, "column": 22 } } @@ -174068,15 +175788,15 @@ "binop": null, "updateContext": null }, - "start": 24227, - "end": 24228, + "start": 24449, + "end": 24450, "loc": { "start": { - "line": 729, + "line": 734, "column": 22 }, "end": { - "line": 729, + "line": 734, "column": 23 } } @@ -174093,15 +175813,15 @@ "postfix": false, "binop": null }, - "start": 24237, - "end": 24238, + "start": 24459, + "end": 24460, "loc": { "start": { - "line": 730, + "line": 735, "column": 8 }, "end": { - "line": 730, + "line": 735, "column": 9 } } @@ -174109,15 +175829,15 @@ { "type": "CommentLine", "value": " update wavesurfer.js volume", - "start": 24248, - "end": 24278, + "start": 24470, + "end": 24500, "loc": { "start": { - "line": 732, + "line": 737, "column": 8 }, "end": { - "line": 732, + "line": 737, "column": 38 } } @@ -174137,15 +175857,15 @@ "updateContext": null }, "value": "this", - "start": 24287, - "end": 24291, + "start": 24509, + "end": 24513, "loc": { "start": { - "line": 733, + "line": 738, "column": 8 }, "end": { - "line": 733, + "line": 738, "column": 12 } } @@ -174163,15 +175883,15 @@ "binop": null, "updateContext": null }, - "start": 24291, - "end": 24292, + "start": 24513, + "end": 24514, "loc": { "start": { - "line": 733, + "line": 738, "column": 12 }, "end": { - "line": 733, + "line": 738, "column": 13 } } @@ -174189,15 +175909,15 @@ "binop": null }, "value": "surfer", - "start": 24292, - "end": 24298, + "start": 24514, + "end": 24520, "loc": { "start": { - "line": 733, + "line": 738, "column": 13 }, "end": { - "line": 733, + "line": 738, "column": 19 } } @@ -174215,15 +175935,15 @@ "binop": null, "updateContext": null }, - "start": 24298, - "end": 24299, + "start": 24520, + "end": 24521, "loc": { "start": { - "line": 733, + "line": 738, "column": 19 }, "end": { - "line": 733, + "line": 738, "column": 20 } } @@ -174241,15 +175961,15 @@ "binop": null }, "value": "setVolume", - "start": 24299, - "end": 24308, + "start": 24521, + "end": 24530, "loc": { "start": { - "line": 733, + "line": 738, "column": 20 }, "end": { - "line": 733, + "line": 738, "column": 29 } } @@ -174266,15 +175986,15 @@ "postfix": false, "binop": null }, - "start": 24308, - "end": 24309, + "start": 24530, + "end": 24531, "loc": { "start": { - "line": 733, + "line": 738, "column": 29 }, "end": { - "line": 733, + "line": 738, "column": 30 } } @@ -174292,15 +176012,15 @@ "binop": null }, "value": "volume", - "start": 24309, - "end": 24315, + "start": 24531, + "end": 24537, "loc": { "start": { - "line": 733, + "line": 738, "column": 30 }, "end": { - "line": 733, + "line": 738, "column": 36 } } @@ -174317,15 +176037,15 @@ "postfix": false, "binop": null }, - "start": 24315, - "end": 24316, + "start": 24537, + "end": 24538, "loc": { "start": { - "line": 733, + "line": 738, "column": 36 }, "end": { - "line": 733, + "line": 738, "column": 37 } } @@ -174343,15 +176063,15 @@ "binop": null, "updateContext": null }, - "start": 24316, - "end": 24317, + "start": 24538, + "end": 24539, "loc": { "start": { - "line": 733, + "line": 738, "column": 37 }, "end": { - "line": 733, + "line": 738, "column": 38 } } @@ -174368,15 +176088,15 @@ "postfix": false, "binop": null }, - "start": 24322, - "end": 24323, + "start": 24544, + "end": 24545, "loc": { "start": { - "line": 734, + "line": 739, "column": 4 }, "end": { - "line": 734, + "line": 739, "column": 5 } } @@ -174384,15 +176104,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n ", - "start": 24329, - "end": 24433, + "start": 24551, + "end": 24655, "loc": { "start": { - "line": 736, + "line": 741, "column": 4 }, "end": { - "line": 739, + "line": 744, "column": 7 } } @@ -174410,15 +176130,15 @@ "binop": null }, "value": "onScreenChange", - "start": 24438, - "end": 24452, + "start": 24660, + "end": 24674, "loc": { "start": { - "line": 740, + "line": 745, "column": 4 }, "end": { - "line": 740, + "line": 745, "column": 18 } } @@ -174435,15 +176155,15 @@ "postfix": false, "binop": null }, - "start": 24452, - "end": 24453, + "start": 24674, + "end": 24675, "loc": { "start": { - "line": 740, + "line": 745, "column": 18 }, "end": { - "line": 740, + "line": 745, "column": 19 } } @@ -174460,15 +176180,15 @@ "postfix": false, "binop": null }, - "start": 24453, - "end": 24454, + "start": 24675, + "end": 24676, "loc": { "start": { - "line": 740, + "line": 745, "column": 19 }, "end": { - "line": 740, + "line": 745, "column": 20 } } @@ -174485,15 +176205,15 @@ "postfix": false, "binop": null }, - "start": 24455, - "end": 24456, + "start": 24677, + "end": 24678, "loc": { "start": { - "line": 740, + "line": 745, "column": 21 }, "end": { - "line": 740, + "line": 745, "column": 22 } } @@ -174501,15 +176221,15 @@ { "type": "CommentLine", "value": " execute with tiny delay so the player element completes", - "start": 24465, - "end": 24523, + "start": 24687, + "end": 24745, "loc": { "start": { - "line": 741, + "line": 746, "column": 8 }, "end": { - "line": 741, + "line": 746, "column": 66 } } @@ -174517,15 +176237,15 @@ { "type": "CommentLine", "value": " rendering and correct dimensions are reported", - "start": 24532, - "end": 24580, + "start": 24754, + "end": 24802, "loc": { "start": { - "line": 742, + "line": 747, "column": 8 }, "end": { - "line": 742, + "line": 747, "column": 56 } } @@ -174545,15 +176265,15 @@ "updateContext": null }, "value": "let", - "start": 24589, - "end": 24592, + "start": 24811, + "end": 24814, "loc": { "start": { - "line": 743, + "line": 748, "column": 8 }, "end": { - "line": 743, + "line": 748, "column": 11 } } @@ -174571,15 +176291,15 @@ "binop": null }, "value": "fullscreenDelay", - "start": 24593, - "end": 24608, + "start": 24815, + "end": 24830, "loc": { "start": { - "line": 743, + "line": 748, "column": 12 }, "end": { - "line": 743, + "line": 748, "column": 27 } } @@ -174598,15 +176318,15 @@ "updateContext": null }, "value": "=", - "start": 24609, - "end": 24610, + "start": 24831, + "end": 24832, "loc": { "start": { - "line": 743, + "line": 748, "column": 28 }, "end": { - "line": 743, + "line": 748, "column": 29 } } @@ -174626,15 +176346,15 @@ "updateContext": null }, "value": "this", - "start": 24611, - "end": 24615, + "start": 24833, + "end": 24837, "loc": { "start": { - "line": 743, + "line": 748, "column": 30 }, "end": { - "line": 743, + "line": 748, "column": 34 } } @@ -174652,15 +176372,15 @@ "binop": null, "updateContext": null }, - "start": 24615, - "end": 24616, + "start": 24837, + "end": 24838, "loc": { "start": { - "line": 743, + "line": 748, "column": 34 }, "end": { - "line": 743, + "line": 748, "column": 35 } } @@ -174678,15 +176398,15 @@ "binop": null }, "value": "player", - "start": 24616, - "end": 24622, + "start": 24838, + "end": 24844, "loc": { "start": { - "line": 743, + "line": 748, "column": 35 }, "end": { - "line": 743, + "line": 748, "column": 41 } } @@ -174704,15 +176424,15 @@ "binop": null, "updateContext": null }, - "start": 24622, - "end": 24623, + "start": 24844, + "end": 24845, "loc": { "start": { - "line": 743, + "line": 748, "column": 41 }, "end": { - "line": 743, + "line": 748, "column": 42 } } @@ -174730,15 +176450,15 @@ "binop": null }, "value": "setInterval", - "start": 24623, - "end": 24634, + "start": 24845, + "end": 24856, "loc": { "start": { - "line": 743, + "line": 748, "column": 42 }, "end": { - "line": 743, + "line": 748, "column": 53 } } @@ -174755,15 +176475,15 @@ "postfix": false, "binop": null }, - "start": 24634, - "end": 24635, + "start": 24856, + "end": 24857, "loc": { "start": { - "line": 743, + "line": 748, "column": 53 }, "end": { - "line": 743, + "line": 748, "column": 54 } } @@ -174780,15 +176500,15 @@ "postfix": false, "binop": null }, - "start": 24635, - "end": 24636, + "start": 24857, + "end": 24858, "loc": { "start": { - "line": 743, + "line": 748, "column": 54 }, "end": { - "line": 743, + "line": 748, "column": 55 } } @@ -174805,15 +176525,15 @@ "postfix": false, "binop": null }, - "start": 24636, - "end": 24637, + "start": 24858, + "end": 24859, "loc": { "start": { - "line": 743, + "line": 748, "column": 55 }, "end": { - "line": 743, + "line": 748, "column": 56 } } @@ -174831,15 +176551,15 @@ "binop": null, "updateContext": null }, - "start": 24638, - "end": 24640, + "start": 24860, + "end": 24862, "loc": { "start": { - "line": 743, + "line": 748, "column": 57 }, "end": { - "line": 743, + "line": 748, "column": 59 } } @@ -174856,15 +176576,15 @@ "postfix": false, "binop": null }, - "start": 24641, - "end": 24642, + "start": 24863, + "end": 24864, "loc": { "start": { - "line": 743, + "line": 748, "column": 60 }, "end": { - "line": 743, + "line": 748, "column": 61 } } @@ -174884,15 +176604,15 @@ "updateContext": null }, "value": "let", - "start": 24655, - "end": 24658, + "start": 24877, + "end": 24880, "loc": { "start": { - "line": 744, + "line": 749, "column": 12 }, "end": { - "line": 744, + "line": 749, "column": 15 } } @@ -174910,15 +176630,15 @@ "binop": null }, "value": "isFullscreen", - "start": 24659, - "end": 24671, + "start": 24881, + "end": 24893, "loc": { "start": { - "line": 744, + "line": 749, "column": 16 }, "end": { - "line": 744, + "line": 749, "column": 28 } } @@ -174937,15 +176657,15 @@ "updateContext": null }, "value": "=", - "start": 24672, - "end": 24673, + "start": 24894, + "end": 24895, "loc": { "start": { - "line": 744, + "line": 749, "column": 29 }, "end": { - "line": 744, + "line": 749, "column": 30 } } @@ -174965,15 +176685,15 @@ "updateContext": null }, "value": "this", - "start": 24674, - "end": 24678, + "start": 24896, + "end": 24900, "loc": { "start": { - "line": 744, + "line": 749, "column": 31 }, "end": { - "line": 744, + "line": 749, "column": 35 } } @@ -174991,15 +176711,15 @@ "binop": null, "updateContext": null }, - "start": 24678, - "end": 24679, + "start": 24900, + "end": 24901, "loc": { "start": { - "line": 744, + "line": 749, "column": 35 }, "end": { - "line": 744, + "line": 749, "column": 36 } } @@ -175017,15 +176737,15 @@ "binop": null }, "value": "player", - "start": 24679, - "end": 24685, + "start": 24901, + "end": 24907, "loc": { "start": { - "line": 744, + "line": 749, "column": 36 }, "end": { - "line": 744, + "line": 749, "column": 42 } } @@ -175043,15 +176763,15 @@ "binop": null, "updateContext": null }, - "start": 24685, - "end": 24686, + "start": 24907, + "end": 24908, "loc": { "start": { - "line": 744, + "line": 749, "column": 42 }, "end": { - "line": 744, + "line": 749, "column": 43 } } @@ -175069,15 +176789,15 @@ "binop": null }, "value": "isFullscreen", - "start": 24686, - "end": 24698, + "start": 24908, + "end": 24920, "loc": { "start": { - "line": 744, + "line": 749, "column": 43 }, "end": { - "line": 744, + "line": 749, "column": 55 } } @@ -175094,15 +176814,15 @@ "postfix": false, "binop": null }, - "start": 24698, - "end": 24699, + "start": 24920, + "end": 24921, "loc": { "start": { - "line": 744, + "line": 749, "column": 55 }, "end": { - "line": 744, + "line": 749, "column": 56 } } @@ -175119,15 +176839,15 @@ "postfix": false, "binop": null }, - "start": 24699, - "end": 24700, + "start": 24921, + "end": 24922, "loc": { "start": { - "line": 744, + "line": 749, "column": 56 }, "end": { - "line": 744, + "line": 749, "column": 57 } } @@ -175145,15 +176865,15 @@ "binop": null, "updateContext": null }, - "start": 24700, - "end": 24701, + "start": 24922, + "end": 24923, "loc": { "start": { - "line": 744, + "line": 749, "column": 57 }, "end": { - "line": 744, + "line": 749, "column": 58 } } @@ -175173,15 +176893,15 @@ "updateContext": null }, "value": "let", - "start": 24714, - "end": 24717, + "start": 24936, + "end": 24939, "loc": { "start": { - "line": 745, + "line": 750, "column": 12 }, "end": { - "line": 745, + "line": 750, "column": 15 } } @@ -175199,15 +176919,15 @@ "binop": null }, "value": "newWidth", - "start": 24718, - "end": 24726, + "start": 24940, + "end": 24948, "loc": { "start": { - "line": 745, + "line": 750, "column": 16 }, "end": { - "line": 745, + "line": 750, "column": 24 } } @@ -175225,15 +176945,15 @@ "binop": null, "updateContext": null }, - "start": 24726, - "end": 24727, + "start": 24948, + "end": 24949, "loc": { "start": { - "line": 745, + "line": 750, "column": 24 }, "end": { - "line": 745, + "line": 750, "column": 25 } } @@ -175251,15 +176971,15 @@ "binop": null }, "value": "newHeight", - "start": 24728, - "end": 24737, + "start": 24950, + "end": 24959, "loc": { "start": { - "line": 745, + "line": 750, "column": 26 }, "end": { - "line": 745, + "line": 750, "column": 35 } } @@ -175277,15 +176997,15 @@ "binop": null, "updateContext": null }, - "start": 24737, - "end": 24738, + "start": 24959, + "end": 24960, "loc": { "start": { - "line": 745, + "line": 750, "column": 35 }, "end": { - "line": 745, + "line": 750, "column": 36 } } @@ -175305,15 +177025,15 @@ "updateContext": null }, "value": "if", - "start": 24751, - "end": 24753, + "start": 24973, + "end": 24975, "loc": { "start": { - "line": 746, + "line": 751, "column": 12 }, "end": { - "line": 746, + "line": 751, "column": 14 } } @@ -175330,15 +177050,15 @@ "postfix": false, "binop": null }, - "start": 24754, - "end": 24755, + "start": 24976, + "end": 24977, "loc": { "start": { - "line": 746, + "line": 751, "column": 15 }, "end": { - "line": 746, + "line": 751, "column": 16 } } @@ -175357,15 +177077,15 @@ "updateContext": null }, "value": "!", - "start": 24755, - "end": 24756, + "start": 24977, + "end": 24978, "loc": { "start": { - "line": 746, + "line": 751, "column": 16 }, "end": { - "line": 746, + "line": 751, "column": 17 } } @@ -175383,15 +177103,15 @@ "binop": null }, "value": "isFullscreen", - "start": 24756, - "end": 24768, + "start": 24978, + "end": 24990, "loc": { "start": { - "line": 746, + "line": 751, "column": 17 }, "end": { - "line": 746, + "line": 751, "column": 29 } } @@ -175408,15 +177128,15 @@ "postfix": false, "binop": null }, - "start": 24768, - "end": 24769, + "start": 24990, + "end": 24991, "loc": { "start": { - "line": 746, + "line": 751, "column": 29 }, "end": { - "line": 746, + "line": 751, "column": 30 } } @@ -175433,15 +177153,15 @@ "postfix": false, "binop": null }, - "start": 24770, - "end": 24771, + "start": 24992, + "end": 24993, "loc": { "start": { - "line": 746, + "line": 751, "column": 31 }, "end": { - "line": 746, + "line": 751, "column": 32 } } @@ -175449,15 +177169,15 @@ { "type": "CommentLine", "value": " restore original dimensions", - "start": 24788, - "end": 24818, + "start": 25010, + "end": 25040, "loc": { "start": { - "line": 747, + "line": 752, "column": 16 }, "end": { - "line": 747, + "line": 752, "column": 46 } } @@ -175475,15 +177195,15 @@ "binop": null }, "value": "newWidth", - "start": 24835, - "end": 24843, + "start": 25057, + "end": 25065, "loc": { "start": { - "line": 748, + "line": 753, "column": 16 }, "end": { - "line": 748, + "line": 753, "column": 24 } } @@ -175502,15 +177222,15 @@ "updateContext": null }, "value": "=", - "start": 24844, - "end": 24845, + "start": 25066, + "end": 25067, "loc": { "start": { - "line": 748, + "line": 753, "column": 25 }, "end": { - "line": 748, + "line": 753, "column": 26 } } @@ -175530,15 +177250,15 @@ "updateContext": null }, "value": "this", - "start": 24846, - "end": 24850, + "start": 25068, + "end": 25072, "loc": { "start": { - "line": 748, + "line": 753, "column": 27 }, "end": { - "line": 748, + "line": 753, "column": 31 } } @@ -175556,15 +177276,15 @@ "binop": null, "updateContext": null }, - "start": 24850, - "end": 24851, + "start": 25072, + "end": 25073, "loc": { "start": { - "line": 748, + "line": 753, "column": 31 }, "end": { - "line": 748, + "line": 753, "column": 32 } } @@ -175582,15 +177302,15 @@ "binop": null }, "value": "originalWidth", - "start": 24851, - "end": 24864, + "start": 25073, + "end": 25086, "loc": { "start": { - "line": 748, + "line": 753, "column": 32 }, "end": { - "line": 748, + "line": 753, "column": 45 } } @@ -175608,15 +177328,15 @@ "binop": null, "updateContext": null }, - "start": 24864, - "end": 24865, + "start": 25086, + "end": 25087, "loc": { "start": { - "line": 748, + "line": 753, "column": 45 }, "end": { - "line": 748, + "line": 753, "column": 46 } } @@ -175634,15 +177354,15 @@ "binop": null }, "value": "newHeight", - "start": 24882, - "end": 24891, + "start": 25104, + "end": 25113, "loc": { "start": { - "line": 749, + "line": 754, "column": 16 }, "end": { - "line": 749, + "line": 754, "column": 25 } } @@ -175661,15 +177381,15 @@ "updateContext": null }, "value": "=", - "start": 24892, - "end": 24893, + "start": 25114, + "end": 25115, "loc": { "start": { - "line": 749, + "line": 754, "column": 26 }, "end": { - "line": 749, + "line": 754, "column": 27 } } @@ -175689,15 +177409,15 @@ "updateContext": null }, "value": "this", - "start": 24894, - "end": 24898, + "start": 25116, + "end": 25120, "loc": { "start": { - "line": 749, + "line": 754, "column": 28 }, "end": { - "line": 749, + "line": 754, "column": 32 } } @@ -175715,15 +177435,15 @@ "binop": null, "updateContext": null }, - "start": 24898, - "end": 24899, + "start": 25120, + "end": 25121, "loc": { "start": { - "line": 749, + "line": 754, "column": 32 }, "end": { - "line": 749, + "line": 754, "column": 33 } } @@ -175741,15 +177461,15 @@ "binop": null }, "value": "originalHeight", - "start": 24899, - "end": 24913, + "start": 25121, + "end": 25135, "loc": { "start": { - "line": 749, + "line": 754, "column": 33 }, "end": { - "line": 749, + "line": 754, "column": 47 } } @@ -175767,15 +177487,15 @@ "binop": null, "updateContext": null }, - "start": 24913, - "end": 24914, + "start": 25135, + "end": 25136, "loc": { "start": { - "line": 749, + "line": 754, "column": 47 }, "end": { - "line": 749, + "line": 754, "column": 48 } } @@ -175792,15 +177512,15 @@ "postfix": false, "binop": null }, - "start": 24927, - "end": 24928, + "start": 25149, + "end": 25150, "loc": { "start": { - "line": 750, + "line": 755, "column": 12 }, "end": { - "line": 750, + "line": 755, "column": 13 } } @@ -175820,15 +177540,15 @@ "updateContext": null }, "value": "if", - "start": 24942, - "end": 24944, + "start": 25164, + "end": 25166, "loc": { "start": { - "line": 752, + "line": 757, "column": 12 }, "end": { - "line": 752, + "line": 757, "column": 14 } } @@ -175845,15 +177565,15 @@ "postfix": false, "binop": null }, - "start": 24945, - "end": 24946, + "start": 25167, + "end": 25168, "loc": { "start": { - "line": 752, + "line": 757, "column": 15 }, "end": { - "line": 752, + "line": 757, "column": 16 } } @@ -175873,15 +177593,15 @@ "updateContext": null }, "value": "this", - "start": 24946, - "end": 24950, + "start": 25168, + "end": 25172, "loc": { "start": { - "line": 752, + "line": 757, "column": 16 }, "end": { - "line": 752, + "line": 757, "column": 20 } } @@ -175899,15 +177619,15 @@ "binop": null, "updateContext": null }, - "start": 24950, - "end": 24951, + "start": 25172, + "end": 25173, "loc": { "start": { - "line": 752, + "line": 757, "column": 20 }, "end": { - "line": 752, + "line": 757, "column": 21 } } @@ -175925,15 +177645,15 @@ "binop": null }, "value": "waveReady", - "start": 24951, - "end": 24960, + "start": 25173, + "end": 25182, "loc": { "start": { - "line": 752, + "line": 757, "column": 21 }, "end": { - "line": 752, + "line": 757, "column": 30 } } @@ -175950,15 +177670,15 @@ "postfix": false, "binop": null }, - "start": 24960, - "end": 24961, + "start": 25182, + "end": 25183, "loc": { "start": { - "line": 752, + "line": 757, "column": 30 }, "end": { - "line": 752, + "line": 757, "column": 31 } } @@ -175975,15 +177695,15 @@ "postfix": false, "binop": null }, - "start": 24962, - "end": 24963, + "start": 25184, + "end": 25185, "loc": { "start": { - "line": 752, + "line": 757, "column": 32 }, "end": { - "line": 752, + "line": 757, "column": 33 } } @@ -176003,15 +177723,15 @@ "updateContext": null }, "value": "if", - "start": 24980, - "end": 24982, + "start": 25202, + "end": 25204, "loc": { "start": { - "line": 753, + "line": 758, "column": 16 }, "end": { - "line": 753, + "line": 758, "column": 18 } } @@ -176028,15 +177748,15 @@ "postfix": false, "binop": null }, - "start": 24983, - "end": 24984, + "start": 25205, + "end": 25206, "loc": { "start": { - "line": 753, + "line": 758, "column": 19 }, "end": { - "line": 753, + "line": 758, "column": 20 } } @@ -176056,15 +177776,15 @@ "updateContext": null }, "value": "this", - "start": 24984, - "end": 24988, + "start": 25206, + "end": 25210, "loc": { "start": { - "line": 753, + "line": 758, "column": 20 }, "end": { - "line": 753, + "line": 758, "column": 24 } } @@ -176082,15 +177802,15 @@ "binop": null, "updateContext": null }, - "start": 24988, - "end": 24989, + "start": 25210, + "end": 25211, "loc": { "start": { - "line": 753, + "line": 758, "column": 24 }, "end": { - "line": 753, + "line": 758, "column": 25 } } @@ -176108,15 +177828,15 @@ "binop": null }, "value": "liveMode", - "start": 24989, - "end": 24997, + "start": 25211, + "end": 25219, "loc": { "start": { - "line": 753, + "line": 758, "column": 25 }, "end": { - "line": 753, + "line": 758, "column": 33 } } @@ -176135,15 +177855,15 @@ "updateContext": null }, "value": "&&", - "start": 24998, - "end": 25000, + "start": 25220, + "end": 25222, "loc": { "start": { - "line": 753, + "line": 758, "column": 34 }, "end": { - "line": 753, + "line": 758, "column": 36 } } @@ -176162,15 +177882,15 @@ "updateContext": null }, "value": "!", - "start": 25001, - "end": 25002, + "start": 25223, + "end": 25224, "loc": { "start": { - "line": 753, + "line": 758, "column": 37 }, "end": { - "line": 753, + "line": 758, "column": 38 } } @@ -176190,15 +177910,15 @@ "updateContext": null }, "value": "this", - "start": 25002, - "end": 25006, + "start": 25224, + "end": 25228, "loc": { "start": { - "line": 753, + "line": 758, "column": 38 }, "end": { - "line": 753, + "line": 758, "column": 42 } } @@ -176216,15 +177936,15 @@ "binop": null, "updateContext": null }, - "start": 25006, - "end": 25007, + "start": 25228, + "end": 25229, "loc": { "start": { - "line": 753, + "line": 758, "column": 42 }, "end": { - "line": 753, + "line": 758, "column": 43 } } @@ -176242,15 +177962,15 @@ "binop": null }, "value": "surfer", - "start": 25007, - "end": 25013, + "start": 25229, + "end": 25235, "loc": { "start": { - "line": 753, + "line": 758, "column": 43 }, "end": { - "line": 753, + "line": 758, "column": 49 } } @@ -176268,15 +177988,15 @@ "binop": null, "updateContext": null }, - "start": 25013, - "end": 25014, + "start": 25235, + "end": 25236, "loc": { "start": { - "line": 753, + "line": 758, "column": 49 }, "end": { - "line": 753, + "line": 758, "column": 50 } } @@ -176294,15 +178014,15 @@ "binop": null }, "value": "microphone", - "start": 25014, - "end": 25024, + "start": 25236, + "end": 25246, "loc": { "start": { - "line": 753, + "line": 758, "column": 50 }, "end": { - "line": 753, + "line": 758, "column": 60 } } @@ -176320,15 +178040,15 @@ "binop": null, "updateContext": null }, - "start": 25024, - "end": 25025, + "start": 25246, + "end": 25247, "loc": { "start": { - "line": 753, + "line": 758, "column": 60 }, "end": { - "line": 753, + "line": 758, "column": 61 } } @@ -176346,15 +178066,15 @@ "binop": null }, "value": "active", - "start": 25025, - "end": 25031, + "start": 25247, + "end": 25253, "loc": { "start": { - "line": 753, + "line": 758, "column": 61 }, "end": { - "line": 753, + "line": 758, "column": 67 } } @@ -176371,15 +178091,15 @@ "postfix": false, "binop": null }, - "start": 25031, - "end": 25032, + "start": 25253, + "end": 25254, "loc": { "start": { - "line": 753, + "line": 758, "column": 67 }, "end": { - "line": 753, + "line": 758, "column": 68 } } @@ -176396,15 +178116,15 @@ "postfix": false, "binop": null }, - "start": 25033, - "end": 25034, + "start": 25255, + "end": 25256, "loc": { "start": { - "line": 753, + "line": 758, "column": 69 }, "end": { - "line": 753, + "line": 758, "column": 70 } } @@ -176412,15 +178132,15 @@ { "type": "CommentLine", "value": " we're in live mode but the microphone hasn't been", - "start": 25055, - "end": 25107, + "start": 25277, + "end": 25329, "loc": { "start": { - "line": 754, + "line": 759, "column": 20 }, "end": { - "line": 754, + "line": 759, "column": 72 } } @@ -176428,15 +178148,15 @@ { "type": "CommentLine", "value": " started yet", - "start": 25128, - "end": 25142, + "start": 25350, + "end": 25364, "loc": { "start": { - "line": 755, + "line": 760, "column": 20 }, "end": { - "line": 755, + "line": 760, "column": 34 } } @@ -176456,15 +178176,15 @@ "updateContext": null }, "value": "return", - "start": 25163, - "end": 25169, + "start": 25385, + "end": 25391, "loc": { "start": { - "line": 756, + "line": 761, "column": 20 }, "end": { - "line": 756, + "line": 761, "column": 26 } } @@ -176482,15 +178202,15 @@ "binop": null, "updateContext": null }, - "start": 25169, - "end": 25170, + "start": 25391, + "end": 25392, "loc": { "start": { - "line": 756, + "line": 761, "column": 26 }, "end": { - "line": 756, + "line": 761, "column": 27 } } @@ -176507,15 +178227,15 @@ "postfix": false, "binop": null }, - "start": 25187, - "end": 25188, + "start": 25409, + "end": 25410, "loc": { "start": { - "line": 757, + "line": 762, "column": 16 }, "end": { - "line": 757, + "line": 762, "column": 17 } } @@ -176523,15 +178243,15 @@ { "type": "CommentLine", "value": " redraw", - "start": 25205, - "end": 25214, + "start": 25427, + "end": 25436, "loc": { "start": { - "line": 758, + "line": 763, "column": 16 }, "end": { - "line": 758, + "line": 763, "column": 25 } } @@ -176551,15 +178271,15 @@ "updateContext": null }, "value": "this", - "start": 25231, - "end": 25235, + "start": 25453, + "end": 25457, "loc": { "start": { - "line": 759, + "line": 764, "column": 16 }, "end": { - "line": 759, + "line": 764, "column": 20 } } @@ -176577,15 +178297,15 @@ "binop": null, "updateContext": null }, - "start": 25235, - "end": 25236, + "start": 25457, + "end": 25458, "loc": { "start": { - "line": 759, + "line": 764, "column": 20 }, "end": { - "line": 759, + "line": 764, "column": 21 } } @@ -176603,15 +178323,15 @@ "binop": null }, "value": "redrawWaveform", - "start": 25236, - "end": 25250, + "start": 25458, + "end": 25472, "loc": { "start": { - "line": 759, + "line": 764, "column": 21 }, "end": { - "line": 759, + "line": 764, "column": 35 } } @@ -176628,15 +178348,15 @@ "postfix": false, "binop": null }, - "start": 25250, - "end": 25251, + "start": 25472, + "end": 25473, "loc": { "start": { - "line": 759, + "line": 764, "column": 35 }, "end": { - "line": 759, + "line": 764, "column": 36 } } @@ -176654,15 +178374,15 @@ "binop": null }, "value": "newWidth", - "start": 25251, - "end": 25259, + "start": 25473, + "end": 25481, "loc": { "start": { - "line": 759, + "line": 764, "column": 36 }, "end": { - "line": 759, + "line": 764, "column": 44 } } @@ -176680,15 +178400,15 @@ "binop": null, "updateContext": null }, - "start": 25259, - "end": 25260, + "start": 25481, + "end": 25482, "loc": { "start": { - "line": 759, + "line": 764, "column": 44 }, "end": { - "line": 759, + "line": 764, "column": 45 } } @@ -176706,15 +178426,15 @@ "binop": null }, "value": "newHeight", - "start": 25261, - "end": 25270, + "start": 25483, + "end": 25492, "loc": { "start": { - "line": 759, + "line": 764, "column": 46 }, "end": { - "line": 759, + "line": 764, "column": 55 } } @@ -176731,15 +178451,15 @@ "postfix": false, "binop": null }, - "start": 25270, - "end": 25271, + "start": 25492, + "end": 25493, "loc": { "start": { - "line": 759, + "line": 764, "column": 55 }, "end": { - "line": 759, + "line": 764, "column": 56 } } @@ -176757,15 +178477,15 @@ "binop": null, "updateContext": null }, - "start": 25271, - "end": 25272, + "start": 25493, + "end": 25494, "loc": { "start": { - "line": 759, + "line": 764, "column": 56 }, "end": { - "line": 759, + "line": 764, "column": 57 } } @@ -176782,15 +178502,15 @@ "postfix": false, "binop": null }, - "start": 25285, - "end": 25286, + "start": 25507, + "end": 25508, "loc": { "start": { - "line": 760, + "line": 765, "column": 12 }, "end": { - "line": 760, + "line": 765, "column": 13 } } @@ -176798,15 +178518,15 @@ { "type": "CommentLine", "value": " stop fullscreenDelay interval", - "start": 25300, - "end": 25332, + "start": 25522, + "end": 25554, "loc": { "start": { - "line": 762, + "line": 767, "column": 12 }, "end": { - "line": 762, + "line": 767, "column": 44 } } @@ -176826,15 +178546,15 @@ "updateContext": null }, "value": "this", - "start": 25345, - "end": 25349, + "start": 25567, + "end": 25571, "loc": { "start": { - "line": 763, + "line": 768, "column": 12 }, "end": { - "line": 763, + "line": 768, "column": 16 } } @@ -176852,15 +178572,15 @@ "binop": null, "updateContext": null }, - "start": 25349, - "end": 25350, + "start": 25571, + "end": 25572, "loc": { "start": { - "line": 763, + "line": 768, "column": 16 }, "end": { - "line": 763, + "line": 768, "column": 17 } } @@ -176878,15 +178598,15 @@ "binop": null }, "value": "player", - "start": 25350, - "end": 25356, + "start": 25572, + "end": 25578, "loc": { "start": { - "line": 763, + "line": 768, "column": 17 }, "end": { - "line": 763, + "line": 768, "column": 23 } } @@ -176904,15 +178624,15 @@ "binop": null, "updateContext": null }, - "start": 25356, - "end": 25357, + "start": 25578, + "end": 25579, "loc": { "start": { - "line": 763, + "line": 768, "column": 23 }, "end": { - "line": 763, + "line": 768, "column": 24 } } @@ -176930,15 +178650,15 @@ "binop": null }, "value": "clearInterval", - "start": 25357, - "end": 25370, + "start": 25579, + "end": 25592, "loc": { "start": { - "line": 763, + "line": 768, "column": 24 }, "end": { - "line": 763, + "line": 768, "column": 37 } } @@ -176955,15 +178675,15 @@ "postfix": false, "binop": null }, - "start": 25370, - "end": 25371, + "start": 25592, + "end": 25593, "loc": { "start": { - "line": 763, + "line": 768, "column": 37 }, "end": { - "line": 763, + "line": 768, "column": 38 } } @@ -176981,15 +178701,15 @@ "binop": null }, "value": "fullscreenDelay", - "start": 25371, - "end": 25386, + "start": 25593, + "end": 25608, "loc": { "start": { - "line": 763, + "line": 768, "column": 38 }, "end": { - "line": 763, + "line": 768, "column": 53 } } @@ -177006,15 +178726,15 @@ "postfix": false, "binop": null }, - "start": 25386, - "end": 25387, + "start": 25608, + "end": 25609, "loc": { "start": { - "line": 763, + "line": 768, "column": 53 }, "end": { - "line": 763, + "line": 768, "column": 54 } } @@ -177032,15 +178752,15 @@ "binop": null, "updateContext": null }, - "start": 25387, - "end": 25388, + "start": 25609, + "end": 25610, "loc": { "start": { - "line": 763, + "line": 768, "column": 54 }, "end": { - "line": 763, + "line": 768, "column": 55 } } @@ -177057,15 +178777,15 @@ "postfix": false, "binop": null }, - "start": 25398, - "end": 25399, + "start": 25620, + "end": 25621, "loc": { "start": { - "line": 765, + "line": 770, "column": 8 }, "end": { - "line": 765, + "line": 770, "column": 9 } } @@ -177083,15 +178803,15 @@ "binop": null, "updateContext": null }, - "start": 25399, - "end": 25400, + "start": 25621, + "end": 25622, "loc": { "start": { - "line": 765, + "line": 770, "column": 9 }, "end": { - "line": 765, + "line": 770, "column": 10 } } @@ -177110,15 +178830,15 @@ "updateContext": null }, "value": 100, - "start": 25401, - "end": 25404, + "start": 25623, + "end": 25626, "loc": { "start": { - "line": 765, + "line": 770, "column": 11 }, "end": { - "line": 765, + "line": 770, "column": 14 } } @@ -177135,15 +178855,15 @@ "postfix": false, "binop": null }, - "start": 25404, - "end": 25405, + "start": 25626, + "end": 25627, "loc": { "start": { - "line": 765, + "line": 770, "column": 14 }, "end": { - "line": 765, + "line": 770, "column": 15 } } @@ -177161,15 +178881,15 @@ "binop": null, "updateContext": null }, - "start": 25405, - "end": 25406, + "start": 25627, + "end": 25628, "loc": { "start": { - "line": 765, + "line": 770, "column": 15 }, "end": { - "line": 765, + "line": 770, "column": 16 } } @@ -177186,15 +178906,15 @@ "postfix": false, "binop": null }, - "start": 25411, - "end": 25412, + "start": 25633, + "end": 25634, "loc": { "start": { - "line": 766, + "line": 771, "column": 4 }, "end": { - "line": 766, + "line": 771, "column": 5 } } @@ -177202,15 +178922,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player is resized.\n *\n * @private\n ", - "start": 25418, - "end": 25502, + "start": 25640, + "end": 25724, "loc": { "start": { - "line": 768, + "line": 773, "column": 4 }, "end": { - "line": 772, + "line": 777, "column": 7 } } @@ -177228,15 +178948,15 @@ "binop": null }, "value": "onResizeChange", - "start": 25507, - "end": 25521, + "start": 25729, + "end": 25743, "loc": { "start": { - "line": 773, + "line": 778, "column": 4 }, "end": { - "line": 773, + "line": 778, "column": 18 } } @@ -177253,15 +178973,15 @@ "postfix": false, "binop": null }, - "start": 25521, - "end": 25522, + "start": 25743, + "end": 25744, "loc": { "start": { - "line": 773, + "line": 778, "column": 18 }, "end": { - "line": 773, + "line": 778, "column": 19 } } @@ -177278,15 +178998,15 @@ "postfix": false, "binop": null }, - "start": 25522, - "end": 25523, + "start": 25744, + "end": 25745, "loc": { "start": { - "line": 773, + "line": 778, "column": 19 }, "end": { - "line": 773, + "line": 778, "column": 20 } } @@ -177303,15 +179023,15 @@ "postfix": false, "binop": null }, - "start": 25524, - "end": 25525, + "start": 25746, + "end": 25747, "loc": { "start": { - "line": 773, + "line": 778, "column": 21 }, "end": { - "line": 773, + "line": 778, "column": 22 } } @@ -177331,15 +179051,15 @@ "updateContext": null }, "value": "if", - "start": 25534, - "end": 25536, + "start": 25756, + "end": 25758, "loc": { "start": { - "line": 774, + "line": 779, "column": 8 }, "end": { - "line": 774, + "line": 779, "column": 10 } } @@ -177356,15 +179076,15 @@ "postfix": false, "binop": null }, - "start": 25537, - "end": 25538, + "start": 25759, + "end": 25760, "loc": { "start": { - "line": 774, + "line": 779, "column": 11 }, "end": { - "line": 774, + "line": 779, "column": 12 } } @@ -177384,15 +179104,15 @@ "updateContext": null }, "value": "this", - "start": 25538, - "end": 25542, + "start": 25760, + "end": 25764, "loc": { "start": { - "line": 774, + "line": 779, "column": 12 }, "end": { - "line": 774, + "line": 779, "column": 16 } } @@ -177410,15 +179130,15 @@ "binop": null, "updateContext": null }, - "start": 25542, - "end": 25543, + "start": 25764, + "end": 25765, "loc": { "start": { - "line": 774, + "line": 779, "column": 16 }, "end": { - "line": 774, + "line": 779, "column": 17 } } @@ -177436,15 +179156,15 @@ "binop": null }, "value": "surfer", - "start": 25543, - "end": 25549, + "start": 25765, + "end": 25771, "loc": { "start": { - "line": 774, + "line": 779, "column": 17 }, "end": { - "line": 774, + "line": 779, "column": 23 } } @@ -177463,15 +179183,15 @@ "updateContext": null }, "value": "!==", - "start": 25550, - "end": 25553, + "start": 25772, + "end": 25775, "loc": { "start": { - "line": 774, + "line": 779, "column": 24 }, "end": { - "line": 774, + "line": 779, "column": 27 } } @@ -177489,15 +179209,15 @@ "binop": null }, "value": "undefined", - "start": 25554, - "end": 25563, + "start": 25776, + "end": 25785, "loc": { "start": { - "line": 774, + "line": 779, "column": 28 }, "end": { - "line": 774, + "line": 779, "column": 37 } } @@ -177514,15 +179234,15 @@ "postfix": false, "binop": null }, - "start": 25563, - "end": 25564, + "start": 25785, + "end": 25786, "loc": { "start": { - "line": 774, + "line": 779, "column": 37 }, "end": { - "line": 774, + "line": 779, "column": 38 } } @@ -177539,15 +179259,15 @@ "postfix": false, "binop": null }, - "start": 25565, - "end": 25566, + "start": 25787, + "end": 25788, "loc": { "start": { - "line": 774, + "line": 779, "column": 39 }, "end": { - "line": 774, + "line": 779, "column": 40 } } @@ -177555,15 +179275,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 25579, - "end": 25597, + "start": 25801, + "end": 25819, "loc": { "start": { - "line": 775, + "line": 780, "column": 12 }, "end": { - "line": 775, + "line": 780, "column": 30 } } @@ -177583,15 +179303,15 @@ "updateContext": null }, "value": "this", - "start": 25610, - "end": 25614, + "start": 25832, + "end": 25836, "loc": { "start": { - "line": 776, + "line": 781, "column": 12 }, "end": { - "line": 776, + "line": 781, "column": 16 } } @@ -177609,15 +179329,15 @@ "binop": null, "updateContext": null }, - "start": 25614, - "end": 25615, + "start": 25836, + "end": 25837, "loc": { "start": { - "line": 776, + "line": 781, "column": 16 }, "end": { - "line": 776, + "line": 781, "column": 17 } } @@ -177635,15 +179355,15 @@ "binop": null }, "value": "redrawWaveform", - "start": 25615, - "end": 25629, + "start": 25837, + "end": 25851, "loc": { "start": { - "line": 776, + "line": 781, "column": 17 }, "end": { - "line": 776, + "line": 781, "column": 31 } } @@ -177660,15 +179380,15 @@ "postfix": false, "binop": null }, - "start": 25629, - "end": 25630, + "start": 25851, + "end": 25852, "loc": { "start": { - "line": 776, + "line": 781, "column": 31 }, "end": { - "line": 776, + "line": 781, "column": 32 } } @@ -177685,15 +179405,15 @@ "postfix": false, "binop": null }, - "start": 25630, - "end": 25631, + "start": 25852, + "end": 25853, "loc": { "start": { - "line": 776, + "line": 781, "column": 32 }, "end": { - "line": 776, + "line": 781, "column": 33 } } @@ -177711,15 +179431,15 @@ "binop": null, "updateContext": null }, - "start": 25631, - "end": 25632, + "start": 25853, + "end": 25854, "loc": { "start": { - "line": 776, + "line": 781, "column": 33 }, "end": { - "line": 776, + "line": 781, "column": 34 } } @@ -177736,15 +179456,15 @@ "postfix": false, "binop": null }, - "start": 25641, - "end": 25642, + "start": 25863, + "end": 25864, "loc": { "start": { - "line": 777, + "line": 782, "column": 8 }, "end": { - "line": 777, + "line": 782, "column": 9 } } @@ -177761,15 +179481,15 @@ "postfix": false, "binop": null }, - "start": 25647, - "end": 25648, + "start": 25869, + "end": 25870, "loc": { "start": { - "line": 778, + "line": 783, "column": 4 }, "end": { - "line": 778, + "line": 783, "column": 5 } } @@ -177777,15 +179497,15 @@ { "type": "CommentBlock", "value": "*\n * Redraw waveform.\n *\n * @param {number} [newWidth] - New width for the waveform.\n * @param {number} [newHeight] - New height for the waveform.\n * @private\n ", - "start": 25654, - "end": 25842, + "start": 25876, + "end": 26064, "loc": { "start": { - "line": 780, + "line": 785, "column": 4 }, "end": { - "line": 786, + "line": 791, "column": 7 } } @@ -177803,15 +179523,15 @@ "binop": null }, "value": "redrawWaveform", - "start": 25847, - "end": 25861, + "start": 26069, + "end": 26083, "loc": { "start": { - "line": 787, + "line": 792, "column": 4 }, "end": { - "line": 787, + "line": 792, "column": 18 } } @@ -177828,15 +179548,15 @@ "postfix": false, "binop": null }, - "start": 25861, - "end": 25862, + "start": 26083, + "end": 26084, "loc": { "start": { - "line": 787, + "line": 792, "column": 18 }, "end": { - "line": 787, + "line": 792, "column": 19 } } @@ -177854,15 +179574,15 @@ "binop": null }, "value": "newWidth", - "start": 25862, - "end": 25870, + "start": 26084, + "end": 26092, "loc": { "start": { - "line": 787, + "line": 792, "column": 19 }, "end": { - "line": 787, + "line": 792, "column": 27 } } @@ -177880,15 +179600,15 @@ "binop": null, "updateContext": null }, - "start": 25870, - "end": 25871, + "start": 26092, + "end": 26093, "loc": { "start": { - "line": 787, + "line": 792, "column": 27 }, "end": { - "line": 787, + "line": 792, "column": 28 } } @@ -177906,15 +179626,15 @@ "binop": null }, "value": "newHeight", - "start": 25872, - "end": 25881, + "start": 26094, + "end": 26103, "loc": { "start": { - "line": 787, + "line": 792, "column": 29 }, "end": { - "line": 787, + "line": 792, "column": 38 } } @@ -177931,15 +179651,15 @@ "postfix": false, "binop": null }, - "start": 25881, - "end": 25882, + "start": 26103, + "end": 26104, "loc": { "start": { - "line": 787, + "line": 792, "column": 38 }, "end": { - "line": 787, + "line": 792, "column": 39 } } @@ -177956,15 +179676,15 @@ "postfix": false, "binop": null }, - "start": 25883, - "end": 25884, + "start": 26105, + "end": 26106, "loc": { "start": { - "line": 787, + "line": 792, "column": 40 }, "end": { - "line": 787, + "line": 792, "column": 41 } } @@ -177984,15 +179704,15 @@ "updateContext": null }, "value": "if", - "start": 25893, - "end": 25895, + "start": 26115, + "end": 26117, "loc": { "start": { - "line": 788, + "line": 793, "column": 8 }, "end": { - "line": 788, + "line": 793, "column": 10 } } @@ -178009,15 +179729,15 @@ "postfix": false, "binop": null }, - "start": 25896, - "end": 25897, + "start": 26118, + "end": 26119, "loc": { "start": { - "line": 788, + "line": 793, "column": 11 }, "end": { - "line": 788, + "line": 793, "column": 12 } } @@ -178036,15 +179756,15 @@ "updateContext": null }, "value": "!", - "start": 25897, - "end": 25898, + "start": 26119, + "end": 26120, "loc": { "start": { - "line": 788, + "line": 793, "column": 12 }, "end": { - "line": 788, + "line": 793, "column": 13 } } @@ -178064,15 +179784,15 @@ "updateContext": null }, "value": "this", - "start": 25898, - "end": 25902, + "start": 26120, + "end": 26124, "loc": { "start": { - "line": 788, + "line": 793, "column": 13 }, "end": { - "line": 788, + "line": 793, "column": 17 } } @@ -178090,15 +179810,15 @@ "binop": null, "updateContext": null }, - "start": 25902, - "end": 25903, + "start": 26124, + "end": 26125, "loc": { "start": { - "line": 788, + "line": 793, "column": 17 }, "end": { - "line": 788, + "line": 793, "column": 18 } } @@ -178116,15 +179836,15 @@ "binop": null }, "value": "isDestroyed", - "start": 25903, - "end": 25914, + "start": 26125, + "end": 26136, "loc": { "start": { - "line": 788, + "line": 793, "column": 18 }, "end": { - "line": 788, + "line": 793, "column": 29 } } @@ -178141,15 +179861,15 @@ "postfix": false, "binop": null }, - "start": 25914, - "end": 25915, + "start": 26136, + "end": 26137, "loc": { "start": { - "line": 788, + "line": 793, "column": 29 }, "end": { - "line": 788, + "line": 793, "column": 30 } } @@ -178166,15 +179886,15 @@ "postfix": false, "binop": null }, - "start": 25915, - "end": 25916, + "start": 26137, + "end": 26138, "loc": { "start": { - "line": 788, + "line": 793, "column": 30 }, "end": { - "line": 788, + "line": 793, "column": 31 } } @@ -178191,15 +179911,15 @@ "postfix": false, "binop": null }, - "start": 25916, - "end": 25917, + "start": 26138, + "end": 26139, "loc": { "start": { - "line": 788, + "line": 793, "column": 31 }, "end": { - "line": 788, + "line": 793, "column": 32 } } @@ -178216,15 +179936,15 @@ "postfix": false, "binop": null }, - "start": 25918, - "end": 25919, + "start": 26140, + "end": 26141, "loc": { "start": { - "line": 788, + "line": 793, "column": 33 }, "end": { - "line": 788, + "line": 793, "column": 34 } } @@ -178244,15 +179964,15 @@ "updateContext": null }, "value": "if", - "start": 25932, - "end": 25934, + "start": 26154, + "end": 26156, "loc": { "start": { - "line": 789, + "line": 794, "column": 12 }, "end": { - "line": 789, + "line": 794, "column": 14 } } @@ -178269,15 +179989,15 @@ "postfix": false, "binop": null }, - "start": 25935, - "end": 25936, + "start": 26157, + "end": 26158, "loc": { "start": { - "line": 789, + "line": 794, "column": 15 }, "end": { - "line": 789, + "line": 794, "column": 16 } } @@ -178297,15 +180017,15 @@ "updateContext": null }, "value": "this", - "start": 25936, - "end": 25940, + "start": 26158, + "end": 26162, "loc": { "start": { - "line": 789, + "line": 794, "column": 16 }, "end": { - "line": 789, + "line": 794, "column": 20 } } @@ -178323,15 +180043,15 @@ "binop": null, "updateContext": null }, - "start": 25940, - "end": 25941, + "start": 26162, + "end": 26163, "loc": { "start": { - "line": 789, + "line": 794, "column": 20 }, "end": { - "line": 789, + "line": 794, "column": 21 } } @@ -178349,15 +180069,15 @@ "binop": null }, "value": "player", - "start": 25941, - "end": 25947, + "start": 26163, + "end": 26169, "loc": { "start": { - "line": 789, + "line": 794, "column": 21 }, "end": { - "line": 789, + "line": 794, "column": 27 } } @@ -178375,15 +180095,15 @@ "binop": null, "updateContext": null }, - "start": 25947, - "end": 25948, + "start": 26169, + "end": 26170, "loc": { "start": { - "line": 789, + "line": 794, "column": 27 }, "end": { - "line": 789, + "line": 794, "column": 28 } } @@ -178401,15 +180121,15 @@ "binop": null }, "value": "el_", - "start": 25948, - "end": 25951, + "start": 26170, + "end": 26173, "loc": { "start": { - "line": 789, + "line": 794, "column": 28 }, "end": { - "line": 789, + "line": 794, "column": 31 } } @@ -178426,15 +180146,15 @@ "postfix": false, "binop": null }, - "start": 25951, - "end": 25952, + "start": 26173, + "end": 26174, "loc": { "start": { - "line": 789, + "line": 794, "column": 31 }, "end": { - "line": 789, + "line": 794, "column": 32 } } @@ -178451,15 +180171,15 @@ "postfix": false, "binop": null }, - "start": 25953, - "end": 25954, + "start": 26175, + "end": 26176, "loc": { "start": { - "line": 789, + "line": 794, "column": 33 }, "end": { - "line": 789, + "line": 794, "column": 34 } } @@ -178479,15 +180199,15 @@ "updateContext": null }, "value": "let", - "start": 25971, - "end": 25974, + "start": 26193, + "end": 26196, "loc": { "start": { - "line": 790, + "line": 795, "column": 16 }, "end": { - "line": 790, + "line": 795, "column": 19 } } @@ -178505,15 +180225,15 @@ "binop": null }, "value": "rect", - "start": 25975, - "end": 25979, + "start": 26197, + "end": 26201, "loc": { "start": { - "line": 790, + "line": 795, "column": 20 }, "end": { - "line": 790, + "line": 795, "column": 24 } } @@ -178532,15 +180252,15 @@ "updateContext": null }, "value": "=", - "start": 25980, - "end": 25981, + "start": 26202, + "end": 26203, "loc": { "start": { - "line": 790, + "line": 795, "column": 25 }, "end": { - "line": 790, + "line": 795, "column": 26 } } @@ -178560,15 +180280,15 @@ "updateContext": null }, "value": "this", - "start": 25982, - "end": 25986, + "start": 26204, + "end": 26208, "loc": { "start": { - "line": 790, + "line": 795, "column": 27 }, "end": { - "line": 790, + "line": 795, "column": 31 } } @@ -178586,15 +180306,15 @@ "binop": null, "updateContext": null }, - "start": 25986, - "end": 25987, + "start": 26208, + "end": 26209, "loc": { "start": { - "line": 790, + "line": 795, "column": 31 }, "end": { - "line": 790, + "line": 795, "column": 32 } } @@ -178612,15 +180332,15 @@ "binop": null }, "value": "player", - "start": 25987, - "end": 25993, + "start": 26209, + "end": 26215, "loc": { "start": { - "line": 790, + "line": 795, "column": 32 }, "end": { - "line": 790, + "line": 795, "column": 38 } } @@ -178638,15 +180358,15 @@ "binop": null, "updateContext": null }, - "start": 25993, - "end": 25994, + "start": 26215, + "end": 26216, "loc": { "start": { - "line": 790, + "line": 795, "column": 38 }, "end": { - "line": 790, + "line": 795, "column": 39 } } @@ -178664,15 +180384,15 @@ "binop": null }, "value": "el_", - "start": 25994, - "end": 25997, + "start": 26216, + "end": 26219, "loc": { "start": { - "line": 790, + "line": 795, "column": 39 }, "end": { - "line": 790, + "line": 795, "column": 42 } } @@ -178690,15 +180410,15 @@ "binop": null, "updateContext": null }, - "start": 25997, - "end": 25998, + "start": 26219, + "end": 26220, "loc": { "start": { - "line": 790, + "line": 795, "column": 42 }, "end": { - "line": 790, + "line": 795, "column": 43 } } @@ -178716,15 +180436,15 @@ "binop": null }, "value": "getBoundingClientRect", - "start": 25998, - "end": 26019, + "start": 26220, + "end": 26241, "loc": { "start": { - "line": 790, + "line": 795, "column": 43 }, "end": { - "line": 790, + "line": 795, "column": 64 } } @@ -178741,15 +180461,15 @@ "postfix": false, "binop": null }, - "start": 26019, - "end": 26020, + "start": 26241, + "end": 26242, "loc": { "start": { - "line": 790, + "line": 795, "column": 64 }, "end": { - "line": 790, + "line": 795, "column": 65 } } @@ -178766,15 +180486,15 @@ "postfix": false, "binop": null }, - "start": 26020, - "end": 26021, + "start": 26242, + "end": 26243, "loc": { "start": { - "line": 790, + "line": 795, "column": 65 }, "end": { - "line": 790, + "line": 795, "column": 66 } } @@ -178792,15 +180512,15 @@ "binop": null, "updateContext": null }, - "start": 26021, - "end": 26022, + "start": 26243, + "end": 26244, "loc": { "start": { - "line": 790, + "line": 795, "column": 66 }, "end": { - "line": 790, + "line": 795, "column": 67 } } @@ -178820,15 +180540,15 @@ "updateContext": null }, "value": "if", - "start": 26039, - "end": 26041, + "start": 26261, + "end": 26263, "loc": { "start": { - "line": 791, + "line": 796, "column": 16 }, "end": { - "line": 791, + "line": 796, "column": 18 } } @@ -178845,15 +180565,15 @@ "postfix": false, "binop": null }, - "start": 26042, - "end": 26043, + "start": 26264, + "end": 26265, "loc": { "start": { - "line": 791, + "line": 796, "column": 19 }, "end": { - "line": 791, + "line": 796, "column": 20 } } @@ -178871,15 +180591,15 @@ "binop": null }, "value": "newWidth", - "start": 26043, - "end": 26051, + "start": 26265, + "end": 26273, "loc": { "start": { - "line": 791, + "line": 796, "column": 20 }, "end": { - "line": 791, + "line": 796, "column": 28 } } @@ -178898,15 +180618,15 @@ "updateContext": null }, "value": "===", - "start": 26052, - "end": 26055, + "start": 26274, + "end": 26277, "loc": { "start": { - "line": 791, + "line": 796, "column": 29 }, "end": { - "line": 791, + "line": 796, "column": 32 } } @@ -178924,15 +180644,15 @@ "binop": null }, "value": "undefined", - "start": 26056, - "end": 26065, + "start": 26278, + "end": 26287, "loc": { "start": { - "line": 791, + "line": 796, "column": 33 }, "end": { - "line": 791, + "line": 796, "column": 42 } } @@ -178949,15 +180669,15 @@ "postfix": false, "binop": null }, - "start": 26065, - "end": 26066, + "start": 26287, + "end": 26288, "loc": { "start": { - "line": 791, + "line": 796, "column": 42 }, "end": { - "line": 791, + "line": 796, "column": 43 } } @@ -178974,15 +180694,15 @@ "postfix": false, "binop": null }, - "start": 26067, - "end": 26068, + "start": 26289, + "end": 26290, "loc": { "start": { - "line": 791, + "line": 796, "column": 44 }, "end": { - "line": 791, + "line": 796, "column": 45 } } @@ -178990,15 +180710,15 @@ { "type": "CommentLine", "value": " get player width", - "start": 26089, - "end": 26108, + "start": 26311, + "end": 26330, "loc": { "start": { - "line": 792, + "line": 797, "column": 20 }, "end": { - "line": 792, + "line": 797, "column": 39 } } @@ -179016,15 +180736,15 @@ "binop": null }, "value": "newWidth", - "start": 26129, - "end": 26137, + "start": 26351, + "end": 26359, "loc": { "start": { - "line": 793, + "line": 798, "column": 20 }, "end": { - "line": 793, + "line": 798, "column": 28 } } @@ -179043,15 +180763,15 @@ "updateContext": null }, "value": "=", - "start": 26138, - "end": 26139, + "start": 26360, + "end": 26361, "loc": { "start": { - "line": 793, + "line": 798, "column": 29 }, "end": { - "line": 793, + "line": 798, "column": 30 } } @@ -179069,15 +180789,15 @@ "binop": null }, "value": "rect", - "start": 26140, - "end": 26144, + "start": 26362, + "end": 26366, "loc": { "start": { - "line": 793, + "line": 798, "column": 31 }, "end": { - "line": 793, + "line": 798, "column": 35 } } @@ -179095,15 +180815,15 @@ "binop": null, "updateContext": null }, - "start": 26144, - "end": 26145, + "start": 26366, + "end": 26367, "loc": { "start": { - "line": 793, + "line": 798, "column": 35 }, "end": { - "line": 793, + "line": 798, "column": 36 } } @@ -179121,15 +180841,15 @@ "binop": null }, "value": "width", - "start": 26145, - "end": 26150, + "start": 26367, + "end": 26372, "loc": { "start": { - "line": 793, + "line": 798, "column": 36 }, "end": { - "line": 793, + "line": 798, "column": 41 } } @@ -179147,15 +180867,15 @@ "binop": null, "updateContext": null }, - "start": 26150, - "end": 26151, + "start": 26372, + "end": 26373, "loc": { "start": { - "line": 793, + "line": 798, "column": 41 }, "end": { - "line": 793, + "line": 798, "column": 42 } } @@ -179172,15 +180892,15 @@ "postfix": false, "binop": null }, - "start": 26168, - "end": 26169, + "start": 26390, + "end": 26391, "loc": { "start": { - "line": 794, + "line": 799, "column": 16 }, "end": { - "line": 794, + "line": 799, "column": 17 } } @@ -179200,15 +180920,15 @@ "updateContext": null }, "value": "if", - "start": 26186, - "end": 26188, + "start": 26408, + "end": 26410, "loc": { "start": { - "line": 795, + "line": 800, "column": 16 }, "end": { - "line": 795, + "line": 800, "column": 18 } } @@ -179225,15 +180945,15 @@ "postfix": false, "binop": null }, - "start": 26189, - "end": 26190, + "start": 26411, + "end": 26412, "loc": { "start": { - "line": 795, + "line": 800, "column": 19 }, "end": { - "line": 795, + "line": 800, "column": 20 } } @@ -179251,15 +180971,15 @@ "binop": null }, "value": "newHeight", - "start": 26190, - "end": 26199, + "start": 26412, + "end": 26421, "loc": { "start": { - "line": 795, + "line": 800, "column": 20 }, "end": { - "line": 795, + "line": 800, "column": 29 } } @@ -179278,15 +180998,15 @@ "updateContext": null }, "value": "===", - "start": 26200, - "end": 26203, + "start": 26422, + "end": 26425, "loc": { "start": { - "line": 795, + "line": 800, "column": 30 }, "end": { - "line": 795, + "line": 800, "column": 33 } } @@ -179304,15 +181024,15 @@ "binop": null }, "value": "undefined", - "start": 26204, - "end": 26213, + "start": 26426, + "end": 26435, "loc": { "start": { - "line": 795, + "line": 800, "column": 34 }, "end": { - "line": 795, + "line": 800, "column": 43 } } @@ -179329,15 +181049,15 @@ "postfix": false, "binop": null }, - "start": 26213, - "end": 26214, + "start": 26435, + "end": 26436, "loc": { "start": { - "line": 795, + "line": 800, "column": 43 }, "end": { - "line": 795, + "line": 800, "column": 44 } } @@ -179354,15 +181074,15 @@ "postfix": false, "binop": null }, - "start": 26215, - "end": 26216, + "start": 26437, + "end": 26438, "loc": { "start": { - "line": 795, + "line": 800, "column": 45 }, "end": { - "line": 795, + "line": 800, "column": 46 } } @@ -179370,15 +181090,15 @@ { "type": "CommentLine", "value": " get player height", - "start": 26237, - "end": 26257, + "start": 26459, + "end": 26479, "loc": { "start": { - "line": 796, + "line": 801, "column": 20 }, "end": { - "line": 796, + "line": 801, "column": 40 } } @@ -179396,15 +181116,15 @@ "binop": null }, "value": "newHeight", - "start": 26278, - "end": 26287, + "start": 26500, + "end": 26509, "loc": { "start": { - "line": 797, + "line": 802, "column": 20 }, "end": { - "line": 797, + "line": 802, "column": 29 } } @@ -179423,15 +181143,15 @@ "updateContext": null }, "value": "=", - "start": 26288, - "end": 26289, + "start": 26510, + "end": 26511, "loc": { "start": { - "line": 797, + "line": 802, "column": 30 }, "end": { - "line": 797, + "line": 802, "column": 31 } } @@ -179449,15 +181169,15 @@ "binop": null }, "value": "rect", - "start": 26290, - "end": 26294, + "start": 26512, + "end": 26516, "loc": { "start": { - "line": 797, + "line": 802, "column": 32 }, "end": { - "line": 797, + "line": 802, "column": 36 } } @@ -179475,15 +181195,15 @@ "binop": null, "updateContext": null }, - "start": 26294, - "end": 26295, + "start": 26516, + "end": 26517, "loc": { "start": { - "line": 797, + "line": 802, "column": 36 }, "end": { - "line": 797, + "line": 802, "column": 37 } } @@ -179501,15 +181221,15 @@ "binop": null }, "value": "height", - "start": 26295, - "end": 26301, + "start": 26517, + "end": 26523, "loc": { "start": { - "line": 797, + "line": 802, "column": 37 }, "end": { - "line": 797, + "line": 802, "column": 43 } } @@ -179527,15 +181247,15 @@ "binop": null, "updateContext": null }, - "start": 26301, - "end": 26302, + "start": 26523, + "end": 26524, "loc": { "start": { - "line": 797, + "line": 802, "column": 43 }, "end": { - "line": 797, + "line": 802, "column": 44 } } @@ -179552,15 +181272,15 @@ "postfix": false, "binop": null }, - "start": 26319, - "end": 26320, + "start": 26541, + "end": 26542, "loc": { "start": { - "line": 798, + "line": 803, "column": 16 }, "end": { - "line": 798, + "line": 803, "column": 17 } } @@ -179577,15 +181297,15 @@ "postfix": false, "binop": null }, - "start": 26333, - "end": 26334, + "start": 26555, + "end": 26556, "loc": { "start": { - "line": 799, + "line": 804, "column": 12 }, "end": { - "line": 799, + "line": 804, "column": 13 } } @@ -179593,15 +181313,15 @@ { "type": "CommentLine", "value": " destroy old drawing", - "start": 26348, - "end": 26370, + "start": 26570, + "end": 26592, "loc": { "start": { - "line": 801, + "line": 806, "column": 12 }, "end": { - "line": 801, + "line": 806, "column": 34 } } @@ -179621,15 +181341,15 @@ "updateContext": null }, "value": "this", - "start": 26383, - "end": 26387, + "start": 26605, + "end": 26609, "loc": { "start": { - "line": 802, + "line": 807, "column": 12 }, "end": { - "line": 802, + "line": 807, "column": 16 } } @@ -179647,15 +181367,15 @@ "binop": null, "updateContext": null }, - "start": 26387, - "end": 26388, + "start": 26609, + "end": 26610, "loc": { "start": { - "line": 802, + "line": 807, "column": 16 }, "end": { - "line": 802, + "line": 807, "column": 17 } } @@ -179673,15 +181393,15 @@ "binop": null }, "value": "surfer", - "start": 26388, - "end": 26394, + "start": 26610, + "end": 26616, "loc": { "start": { - "line": 802, + "line": 807, "column": 17 }, "end": { - "line": 802, + "line": 807, "column": 23 } } @@ -179699,15 +181419,15 @@ "binop": null, "updateContext": null }, - "start": 26394, - "end": 26395, + "start": 26616, + "end": 26617, "loc": { "start": { - "line": 802, + "line": 807, "column": 23 }, "end": { - "line": 802, + "line": 807, "column": 24 } } @@ -179725,15 +181445,15 @@ "binop": null }, "value": "drawer", - "start": 26395, - "end": 26401, + "start": 26617, + "end": 26623, "loc": { "start": { - "line": 802, + "line": 807, "column": 24 }, "end": { - "line": 802, + "line": 807, "column": 30 } } @@ -179751,15 +181471,15 @@ "binop": null, "updateContext": null }, - "start": 26401, - "end": 26402, + "start": 26623, + "end": 26624, "loc": { "start": { - "line": 802, + "line": 807, "column": 30 }, "end": { - "line": 802, + "line": 807, "column": 31 } } @@ -179777,15 +181497,15 @@ "binop": null }, "value": "destroy", - "start": 26402, - "end": 26409, + "start": 26624, + "end": 26631, "loc": { "start": { - "line": 802, + "line": 807, "column": 31 }, "end": { - "line": 802, + "line": 807, "column": 38 } } @@ -179802,15 +181522,15 @@ "postfix": false, "binop": null }, - "start": 26409, - "end": 26410, + "start": 26631, + "end": 26632, "loc": { "start": { - "line": 802, + "line": 807, "column": 38 }, "end": { - "line": 802, + "line": 807, "column": 39 } } @@ -179827,15 +181547,15 @@ "postfix": false, "binop": null }, - "start": 26410, - "end": 26411, + "start": 26632, + "end": 26633, "loc": { "start": { - "line": 802, + "line": 807, "column": 39 }, "end": { - "line": 802, + "line": 807, "column": 40 } } @@ -179853,15 +181573,15 @@ "binop": null, "updateContext": null }, - "start": 26411, - "end": 26412, + "start": 26633, + "end": 26634, "loc": { "start": { - "line": 802, + "line": 807, "column": 40 }, "end": { - "line": 802, + "line": 807, "column": 41 } } @@ -179869,15 +181589,15 @@ { "type": "CommentLine", "value": " set new dimensions", - "start": 26426, - "end": 26447, + "start": 26648, + "end": 26669, "loc": { "start": { - "line": 804, + "line": 809, "column": 12 }, "end": { - "line": 804, + "line": 809, "column": 33 } } @@ -179897,15 +181617,15 @@ "updateContext": null }, "value": "this", - "start": 26460, - "end": 26464, + "start": 26682, + "end": 26686, "loc": { "start": { - "line": 805, + "line": 810, "column": 12 }, "end": { - "line": 805, + "line": 810, "column": 16 } } @@ -179923,15 +181643,15 @@ "binop": null, "updateContext": null }, - "start": 26464, - "end": 26465, + "start": 26686, + "end": 26687, "loc": { "start": { - "line": 805, + "line": 810, "column": 16 }, "end": { - "line": 805, + "line": 810, "column": 17 } } @@ -179949,15 +181669,15 @@ "binop": null }, "value": "surfer", - "start": 26465, - "end": 26471, + "start": 26687, + "end": 26693, "loc": { "start": { - "line": 805, + "line": 810, "column": 17 }, "end": { - "line": 805, + "line": 810, "column": 23 } } @@ -179975,15 +181695,15 @@ "binop": null, "updateContext": null }, - "start": 26471, - "end": 26472, + "start": 26693, + "end": 26694, "loc": { "start": { - "line": 805, + "line": 810, "column": 23 }, "end": { - "line": 805, + "line": 810, "column": 24 } } @@ -180001,15 +181721,15 @@ "binop": null }, "value": "params", - "start": 26472, - "end": 26478, + "start": 26694, + "end": 26700, "loc": { "start": { - "line": 805, + "line": 810, "column": 24 }, "end": { - "line": 805, + "line": 810, "column": 30 } } @@ -180027,15 +181747,15 @@ "binop": null, "updateContext": null }, - "start": 26478, - "end": 26479, + "start": 26700, + "end": 26701, "loc": { "start": { - "line": 805, + "line": 810, "column": 30 }, "end": { - "line": 805, + "line": 810, "column": 31 } } @@ -180053,15 +181773,15 @@ "binop": null }, "value": "width", - "start": 26479, - "end": 26484, + "start": 26701, + "end": 26706, "loc": { "start": { - "line": 805, + "line": 810, "column": 31 }, "end": { - "line": 805, + "line": 810, "column": 36 } } @@ -180080,15 +181800,15 @@ "updateContext": null }, "value": "=", - "start": 26485, - "end": 26486, + "start": 26707, + "end": 26708, "loc": { "start": { - "line": 805, + "line": 810, "column": 37 }, "end": { - "line": 805, + "line": 810, "column": 38 } } @@ -180106,15 +181826,15 @@ "binop": null }, "value": "newWidth", - "start": 26487, - "end": 26495, + "start": 26709, + "end": 26717, "loc": { "start": { - "line": 805, + "line": 810, "column": 39 }, "end": { - "line": 805, + "line": 810, "column": 47 } } @@ -180132,15 +181852,15 @@ "binop": null, "updateContext": null }, - "start": 26495, - "end": 26496, + "start": 26717, + "end": 26718, "loc": { "start": { - "line": 805, + "line": 810, "column": 47 }, "end": { - "line": 805, + "line": 810, "column": 48 } } @@ -180160,15 +181880,15 @@ "updateContext": null }, "value": "this", - "start": 26509, - "end": 26513, + "start": 26731, + "end": 26735, "loc": { "start": { - "line": 806, + "line": 811, "column": 12 }, "end": { - "line": 806, + "line": 811, "column": 16 } } @@ -180186,15 +181906,15 @@ "binop": null, "updateContext": null }, - "start": 26513, - "end": 26514, + "start": 26735, + "end": 26736, "loc": { "start": { - "line": 806, + "line": 811, "column": 16 }, "end": { - "line": 806, + "line": 811, "column": 17 } } @@ -180212,15 +181932,15 @@ "binop": null }, "value": "surfer", - "start": 26514, - "end": 26520, + "start": 26736, + "end": 26742, "loc": { "start": { - "line": 806, + "line": 811, "column": 17 }, "end": { - "line": 806, + "line": 811, "column": 23 } } @@ -180238,15 +181958,15 @@ "binop": null, "updateContext": null }, - "start": 26520, - "end": 26521, + "start": 26742, + "end": 26743, "loc": { "start": { - "line": 806, + "line": 811, "column": 23 }, "end": { - "line": 806, + "line": 811, "column": 24 } } @@ -180264,15 +181984,15 @@ "binop": null }, "value": "params", - "start": 26521, - "end": 26527, + "start": 26743, + "end": 26749, "loc": { "start": { - "line": 806, + "line": 811, "column": 24 }, "end": { - "line": 806, + "line": 811, "column": 30 } } @@ -180290,15 +182010,15 @@ "binop": null, "updateContext": null }, - "start": 26527, - "end": 26528, + "start": 26749, + "end": 26750, "loc": { "start": { - "line": 806, + "line": 811, "column": 30 }, "end": { - "line": 806, + "line": 811, "column": 31 } } @@ -180316,15 +182036,15 @@ "binop": null }, "value": "height", - "start": 26528, - "end": 26534, + "start": 26750, + "end": 26756, "loc": { "start": { - "line": 806, + "line": 811, "column": 31 }, "end": { - "line": 806, + "line": 811, "column": 37 } } @@ -180343,15 +182063,15 @@ "updateContext": null }, "value": "=", - "start": 26535, - "end": 26536, + "start": 26757, + "end": 26758, "loc": { "start": { - "line": 806, + "line": 811, "column": 38 }, "end": { - "line": 806, + "line": 811, "column": 39 } } @@ -180369,15 +182089,15 @@ "binop": null }, "value": "newHeight", - "start": 26537, - "end": 26546, + "start": 26759, + "end": 26768, "loc": { "start": { - "line": 806, + "line": 811, "column": 40 }, "end": { - "line": 806, + "line": 811, "column": 49 } } @@ -180396,15 +182116,15 @@ "updateContext": null }, "value": "-", - "start": 26547, - "end": 26548, + "start": 26769, + "end": 26770, "loc": { "start": { - "line": 806, + "line": 811, "column": 50 }, "end": { - "line": 806, + "line": 811, "column": 51 } } @@ -180424,15 +182144,15 @@ "updateContext": null }, "value": "this", - "start": 26549, - "end": 26553, + "start": 26771, + "end": 26775, "loc": { "start": { - "line": 806, + "line": 811, "column": 52 }, "end": { - "line": 806, + "line": 811, "column": 56 } } @@ -180450,15 +182170,15 @@ "binop": null, "updateContext": null }, - "start": 26553, - "end": 26554, + "start": 26775, + "end": 26776, "loc": { "start": { - "line": 806, + "line": 811, "column": 56 }, "end": { - "line": 806, + "line": 811, "column": 57 } } @@ -180476,15 +182196,15 @@ "binop": null }, "value": "player", - "start": 26554, - "end": 26560, + "start": 26776, + "end": 26782, "loc": { "start": { - "line": 806, + "line": 811, "column": 57 }, "end": { - "line": 806, + "line": 811, "column": 63 } } @@ -180502,15 +182222,15 @@ "binop": null, "updateContext": null }, - "start": 26560, - "end": 26561, + "start": 26782, + "end": 26783, "loc": { "start": { - "line": 806, + "line": 811, "column": 63 }, "end": { - "line": 806, + "line": 811, "column": 64 } } @@ -180528,15 +182248,15 @@ "binop": null }, "value": "controlBar", - "start": 26561, - "end": 26571, + "start": 26783, + "end": 26793, "loc": { "start": { - "line": 806, + "line": 811, "column": 64 }, "end": { - "line": 806, + "line": 811, "column": 74 } } @@ -180554,15 +182274,15 @@ "binop": null, "updateContext": null }, - "start": 26571, - "end": 26572, + "start": 26793, + "end": 26794, "loc": { "start": { - "line": 806, + "line": 811, "column": 74 }, "end": { - "line": 806, + "line": 811, "column": 75 } } @@ -180580,15 +182300,15 @@ "binop": null }, "value": "height", - "start": 26572, - "end": 26578, + "start": 26794, + "end": 26800, "loc": { "start": { - "line": 806, + "line": 811, "column": 75 }, "end": { - "line": 806, + "line": 811, "column": 81 } } @@ -180605,15 +182325,15 @@ "postfix": false, "binop": null }, - "start": 26578, - "end": 26579, + "start": 26800, + "end": 26801, "loc": { "start": { - "line": 806, + "line": 811, "column": 81 }, "end": { - "line": 806, + "line": 811, "column": 82 } } @@ -180630,15 +182350,15 @@ "postfix": false, "binop": null }, - "start": 26579, - "end": 26580, + "start": 26801, + "end": 26802, "loc": { "start": { - "line": 806, + "line": 811, "column": 82 }, "end": { - "line": 806, + "line": 811, "column": 83 } } @@ -180656,15 +182376,15 @@ "binop": null, "updateContext": null }, - "start": 26580, - "end": 26581, + "start": 26802, + "end": 26803, "loc": { "start": { - "line": 806, + "line": 811, "column": 83 }, "end": { - "line": 806, + "line": 811, "column": 84 } } @@ -180672,15 +182392,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 26595, - "end": 26613, + "start": 26817, + "end": 26835, "loc": { "start": { - "line": 808, + "line": 813, "column": 12 }, "end": { - "line": 808, + "line": 813, "column": 30 } } @@ -180700,15 +182420,15 @@ "updateContext": null }, "value": "this", - "start": 26626, - "end": 26630, + "start": 26848, + "end": 26852, "loc": { "start": { - "line": 809, + "line": 814, "column": 12 }, "end": { - "line": 809, + "line": 814, "column": 16 } } @@ -180726,15 +182446,15 @@ "binop": null, "updateContext": null }, - "start": 26630, - "end": 26631, + "start": 26852, + "end": 26853, "loc": { "start": { - "line": 809, + "line": 814, "column": 16 }, "end": { - "line": 809, + "line": 814, "column": 17 } } @@ -180752,15 +182472,15 @@ "binop": null }, "value": "surfer", - "start": 26631, - "end": 26637, + "start": 26853, + "end": 26859, "loc": { "start": { - "line": 809, + "line": 814, "column": 17 }, "end": { - "line": 809, + "line": 814, "column": 23 } } @@ -180778,15 +182498,15 @@ "binop": null, "updateContext": null }, - "start": 26637, - "end": 26638, + "start": 26859, + "end": 26860, "loc": { "start": { - "line": 809, + "line": 814, "column": 23 }, "end": { - "line": 809, + "line": 814, "column": 24 } } @@ -180804,15 +182524,15 @@ "binop": null }, "value": "createDrawer", - "start": 26638, - "end": 26650, + "start": 26860, + "end": 26872, "loc": { "start": { - "line": 809, + "line": 814, "column": 24 }, "end": { - "line": 809, + "line": 814, "column": 36 } } @@ -180829,15 +182549,15 @@ "postfix": false, "binop": null }, - "start": 26650, - "end": 26651, + "start": 26872, + "end": 26873, "loc": { "start": { - "line": 809, + "line": 814, "column": 36 }, "end": { - "line": 809, + "line": 814, "column": 37 } } @@ -180854,15 +182574,15 @@ "postfix": false, "binop": null }, - "start": 26651, - "end": 26652, + "start": 26873, + "end": 26874, "loc": { "start": { - "line": 809, + "line": 814, "column": 37 }, "end": { - "line": 809, + "line": 814, "column": 38 } } @@ -180880,15 +182600,15 @@ "binop": null, "updateContext": null }, - "start": 26652, - "end": 26653, + "start": 26874, + "end": 26875, "loc": { "start": { - "line": 809, + "line": 814, "column": 38 }, "end": { - "line": 809, + "line": 814, "column": 39 } } @@ -180908,15 +182628,15 @@ "updateContext": null }, "value": "this", - "start": 26666, - "end": 26670, + "start": 26888, + "end": 26892, "loc": { "start": { - "line": 810, + "line": 815, "column": 12 }, "end": { - "line": 810, + "line": 815, "column": 16 } } @@ -180934,15 +182654,15 @@ "binop": null, "updateContext": null }, - "start": 26670, - "end": 26671, + "start": 26892, + "end": 26893, "loc": { "start": { - "line": 810, + "line": 815, "column": 16 }, "end": { - "line": 810, + "line": 815, "column": 17 } } @@ -180960,15 +182680,15 @@ "binop": null }, "value": "surfer", - "start": 26671, - "end": 26677, + "start": 26893, + "end": 26899, "loc": { "start": { - "line": 810, + "line": 815, "column": 17 }, "end": { - "line": 810, + "line": 815, "column": 23 } } @@ -180986,15 +182706,15 @@ "binop": null, "updateContext": null }, - "start": 26677, - "end": 26678, + "start": 26899, + "end": 26900, "loc": { "start": { - "line": 810, + "line": 815, "column": 23 }, "end": { - "line": 810, + "line": 815, "column": 24 } } @@ -181012,15 +182732,15 @@ "binop": null }, "value": "drawer", - "start": 26678, - "end": 26684, + "start": 26900, + "end": 26906, "loc": { "start": { - "line": 810, + "line": 815, "column": 24 }, "end": { - "line": 810, + "line": 815, "column": 30 } } @@ -181038,15 +182758,15 @@ "binop": null, "updateContext": null }, - "start": 26684, - "end": 26685, + "start": 26906, + "end": 26907, "loc": { "start": { - "line": 810, + "line": 815, "column": 30 }, "end": { - "line": 810, + "line": 815, "column": 31 } } @@ -181064,15 +182784,15 @@ "binop": null }, "value": "wrapper", - "start": 26685, - "end": 26692, + "start": 26907, + "end": 26914, "loc": { "start": { - "line": 810, + "line": 815, "column": 31 }, "end": { - "line": 810, + "line": 815, "column": 38 } } @@ -181090,15 +182810,15 @@ "binop": null, "updateContext": null }, - "start": 26692, - "end": 26693, + "start": 26914, + "end": 26915, "loc": { "start": { - "line": 810, + "line": 815, "column": 38 }, "end": { - "line": 810, + "line": 815, "column": 39 } } @@ -181116,15 +182836,15 @@ "binop": null }, "value": "className", - "start": 26693, - "end": 26702, + "start": 26915, + "end": 26924, "loc": { "start": { - "line": 810, + "line": 815, "column": 39 }, "end": { - "line": 810, + "line": 815, "column": 48 } } @@ -181143,15 +182863,15 @@ "updateContext": null }, "value": "=", - "start": 26703, - "end": 26704, + "start": 26925, + "end": 26926, "loc": { "start": { - "line": 810, + "line": 815, "column": 49 }, "end": { - "line": 810, + "line": 815, "column": 50 } } @@ -181169,15 +182889,15 @@ "binop": null }, "value": "wavesurferClassName", - "start": 26705, - "end": 26724, + "start": 26927, + "end": 26946, "loc": { "start": { - "line": 810, + "line": 815, "column": 51 }, "end": { - "line": 810, + "line": 815, "column": 70 } } @@ -181195,15 +182915,15 @@ "binop": null, "updateContext": null }, - "start": 26724, - "end": 26725, + "start": 26946, + "end": 26947, "loc": { "start": { - "line": 810, + "line": 815, "column": 70 }, "end": { - "line": 810, + "line": 815, "column": 71 } } @@ -181223,15 +182943,15 @@ "updateContext": null }, "value": "this", - "start": 26738, - "end": 26742, + "start": 26960, + "end": 26964, "loc": { "start": { - "line": 811, + "line": 816, "column": 12 }, "end": { - "line": 811, + "line": 816, "column": 16 } } @@ -181249,15 +182969,15 @@ "binop": null, "updateContext": null }, - "start": 26742, - "end": 26743, + "start": 26964, + "end": 26965, "loc": { "start": { - "line": 811, + "line": 816, "column": 16 }, "end": { - "line": 811, + "line": 816, "column": 17 } } @@ -181275,15 +182995,15 @@ "binop": null }, "value": "surfer", - "start": 26743, - "end": 26749, + "start": 26965, + "end": 26971, "loc": { "start": { - "line": 811, + "line": 816, "column": 17 }, "end": { - "line": 811, + "line": 816, "column": 23 } } @@ -181301,15 +183021,15 @@ "binop": null, "updateContext": null }, - "start": 26749, - "end": 26750, + "start": 26971, + "end": 26972, "loc": { "start": { - "line": 811, + "line": 816, "column": 23 }, "end": { - "line": 811, + "line": 816, "column": 24 } } @@ -181327,15 +183047,15 @@ "binop": null }, "value": "drawBuffer", - "start": 26750, - "end": 26760, + "start": 26972, + "end": 26982, "loc": { "start": { - "line": 811, + "line": 816, "column": 24 }, "end": { - "line": 811, + "line": 816, "column": 34 } } @@ -181352,15 +183072,15 @@ "postfix": false, "binop": null }, - "start": 26760, - "end": 26761, + "start": 26982, + "end": 26983, "loc": { "start": { - "line": 811, + "line": 816, "column": 34 }, "end": { - "line": 811, + "line": 816, "column": 35 } } @@ -181377,15 +183097,15 @@ "postfix": false, "binop": null }, - "start": 26761, - "end": 26762, + "start": 26983, + "end": 26984, "loc": { "start": { - "line": 811, + "line": 816, "column": 35 }, "end": { - "line": 811, + "line": 816, "column": 36 } } @@ -181403,15 +183123,15 @@ "binop": null, "updateContext": null }, - "start": 26762, - "end": 26763, + "start": 26984, + "end": 26985, "loc": { "start": { - "line": 811, + "line": 816, "column": 36 }, "end": { - "line": 811, + "line": 816, "column": 37 } } @@ -181419,15 +183139,15 @@ { "type": "CommentLine", "value": " make sure playhead is restored at right position", - "start": 26777, - "end": 26828, + "start": 26999, + "end": 27050, "loc": { "start": { - "line": 813, + "line": 818, "column": 12 }, "end": { - "line": 813, + "line": 818, "column": 63 } } @@ -181447,15 +183167,15 @@ "updateContext": null }, "value": "this", - "start": 26841, - "end": 26845, + "start": 27063, + "end": 27067, "loc": { "start": { - "line": 814, + "line": 819, "column": 12 }, "end": { - "line": 814, + "line": 819, "column": 16 } } @@ -181473,15 +183193,15 @@ "binop": null, "updateContext": null }, - "start": 26845, - "end": 26846, + "start": 27067, + "end": 27068, "loc": { "start": { - "line": 814, + "line": 819, "column": 16 }, "end": { - "line": 814, + "line": 819, "column": 17 } } @@ -181499,15 +183219,15 @@ "binop": null }, "value": "surfer", - "start": 26846, - "end": 26852, + "start": 27068, + "end": 27074, "loc": { "start": { - "line": 814, + "line": 819, "column": 17 }, "end": { - "line": 814, + "line": 819, "column": 23 } } @@ -181525,15 +183245,15 @@ "binop": null, "updateContext": null }, - "start": 26852, - "end": 26853, + "start": 27074, + "end": 27075, "loc": { "start": { - "line": 814, + "line": 819, "column": 23 }, "end": { - "line": 814, + "line": 819, "column": 24 } } @@ -181551,15 +183271,15 @@ "binop": null }, "value": "drawer", - "start": 26853, - "end": 26859, + "start": 27075, + "end": 27081, "loc": { "start": { - "line": 814, + "line": 819, "column": 24 }, "end": { - "line": 814, + "line": 819, "column": 30 } } @@ -181577,15 +183297,15 @@ "binop": null, "updateContext": null }, - "start": 26859, - "end": 26860, + "start": 27081, + "end": 27082, "loc": { "start": { - "line": 814, + "line": 819, "column": 30 }, "end": { - "line": 814, + "line": 819, "column": 31 } } @@ -181603,15 +183323,15 @@ "binop": null }, "value": "progress", - "start": 26860, - "end": 26868, + "start": 27082, + "end": 27090, "loc": { "start": { - "line": 814, + "line": 819, "column": 31 }, "end": { - "line": 814, + "line": 819, "column": 39 } } @@ -181628,15 +183348,15 @@ "postfix": false, "binop": null }, - "start": 26868, - "end": 26869, + "start": 27090, + "end": 27091, "loc": { "start": { - "line": 814, + "line": 819, "column": 39 }, "end": { - "line": 814, + "line": 819, "column": 40 } } @@ -181656,15 +183376,15 @@ "updateContext": null }, "value": "this", - "start": 26869, - "end": 26873, + "start": 27091, + "end": 27095, "loc": { "start": { - "line": 814, + "line": 819, "column": 40 }, "end": { - "line": 814, + "line": 819, "column": 44 } } @@ -181682,15 +183402,15 @@ "binop": null, "updateContext": null }, - "start": 26873, - "end": 26874, + "start": 27095, + "end": 27096, "loc": { "start": { - "line": 814, + "line": 819, "column": 44 }, "end": { - "line": 814, + "line": 819, "column": 45 } } @@ -181708,15 +183428,15 @@ "binop": null }, "value": "surfer", - "start": 26874, - "end": 26880, + "start": 27096, + "end": 27102, "loc": { "start": { - "line": 814, + "line": 819, "column": 45 }, "end": { - "line": 814, + "line": 819, "column": 51 } } @@ -181734,15 +183454,15 @@ "binop": null, "updateContext": null }, - "start": 26880, - "end": 26881, + "start": 27102, + "end": 27103, "loc": { "start": { - "line": 814, + "line": 819, "column": 51 }, "end": { - "line": 814, + "line": 819, "column": 52 } } @@ -181760,15 +183480,15 @@ "binop": null }, "value": "backend", - "start": 26881, - "end": 26888, + "start": 27103, + "end": 27110, "loc": { "start": { - "line": 814, + "line": 819, "column": 52 }, "end": { - "line": 814, + "line": 819, "column": 59 } } @@ -181786,15 +183506,15 @@ "binop": null, "updateContext": null }, - "start": 26888, - "end": 26889, + "start": 27110, + "end": 27111, "loc": { "start": { - "line": 814, + "line": 819, "column": 59 }, "end": { - "line": 814, + "line": 819, "column": 60 } } @@ -181812,15 +183532,15 @@ "binop": null }, "value": "getPlayedPercents", - "start": 26889, - "end": 26906, + "start": 27111, + "end": 27128, "loc": { "start": { - "line": 814, + "line": 819, "column": 60 }, "end": { - "line": 814, + "line": 819, "column": 77 } } @@ -181837,15 +183557,15 @@ "postfix": false, "binop": null }, - "start": 26906, - "end": 26907, + "start": 27128, + "end": 27129, "loc": { "start": { - "line": 814, + "line": 819, "column": 77 }, "end": { - "line": 814, + "line": 819, "column": 78 } } @@ -181862,15 +183582,15 @@ "postfix": false, "binop": null }, - "start": 26907, - "end": 26908, + "start": 27129, + "end": 27130, "loc": { "start": { - "line": 814, + "line": 819, "column": 78 }, "end": { - "line": 814, + "line": 819, "column": 79 } } @@ -181887,15 +183607,15 @@ "postfix": false, "binop": null }, - "start": 26908, - "end": 26909, + "start": 27130, + "end": 27131, "loc": { "start": { - "line": 814, + "line": 819, "column": 79 }, "end": { - "line": 814, + "line": 819, "column": 80 } } @@ -181913,15 +183633,15 @@ "binop": null, "updateContext": null }, - "start": 26909, - "end": 26910, + "start": 27131, + "end": 27132, "loc": { "start": { - "line": 814, + "line": 819, "column": 80 }, "end": { - "line": 814, + "line": 819, "column": 81 } } @@ -181938,15 +183658,15 @@ "postfix": false, "binop": null }, - "start": 26919, - "end": 26920, + "start": 27141, + "end": 27142, "loc": { "start": { - "line": 815, + "line": 820, "column": 8 }, "end": { - "line": 815, + "line": 820, "column": 9 } } @@ -181963,15 +183683,15 @@ "postfix": false, "binop": null }, - "start": 26925, - "end": 26926, + "start": 27147, + "end": 27148, "loc": { "start": { - "line": 816, + "line": 821, "column": 4 }, "end": { - "line": 816, + "line": 821, "column": 5 } } @@ -181979,15 +183699,15 @@ { "type": "CommentBlock", "value": "*\n * Log message to console (if the debug option is enabled).\n *\n * @private\n * @param {Array} args - The arguments to be passed to the matching console\n * method.\n * @param {string} logType - The name of the console method to use.\n ", - "start": 26932, - "end": 27201, + "start": 27154, + "end": 27423, "loc": { "start": { - "line": 818, + "line": 823, "column": 4 }, "end": { - "line": 825, + "line": 830, "column": 7 } } @@ -182005,15 +183725,15 @@ "binop": null }, "value": "log", - "start": 27206, - "end": 27209, + "start": 27428, + "end": 27431, "loc": { "start": { - "line": 826, + "line": 831, "column": 4 }, "end": { - "line": 826, + "line": 831, "column": 7 } } @@ -182030,15 +183750,15 @@ "postfix": false, "binop": null }, - "start": 27209, - "end": 27210, + "start": 27431, + "end": 27432, "loc": { "start": { - "line": 826, + "line": 831, "column": 7 }, "end": { - "line": 826, + "line": 831, "column": 8 } } @@ -182056,15 +183776,15 @@ "binop": null }, "value": "args", - "start": 27210, - "end": 27214, + "start": 27432, + "end": 27436, "loc": { "start": { - "line": 826, + "line": 831, "column": 8 }, "end": { - "line": 826, + "line": 831, "column": 12 } } @@ -182082,15 +183802,15 @@ "binop": null, "updateContext": null }, - "start": 27214, - "end": 27215, + "start": 27436, + "end": 27437, "loc": { "start": { - "line": 826, + "line": 831, "column": 12 }, "end": { - "line": 826, + "line": 831, "column": 13 } } @@ -182108,15 +183828,15 @@ "binop": null }, "value": "logType", - "start": 27216, - "end": 27223, + "start": 27438, + "end": 27445, "loc": { "start": { - "line": 826, + "line": 831, "column": 14 }, "end": { - "line": 826, + "line": 831, "column": 21 } } @@ -182133,15 +183853,15 @@ "postfix": false, "binop": null }, - "start": 27223, - "end": 27224, + "start": 27445, + "end": 27446, "loc": { "start": { - "line": 826, + "line": 831, "column": 21 }, "end": { - "line": 826, + "line": 831, "column": 22 } } @@ -182158,15 +183878,15 @@ "postfix": false, "binop": null }, - "start": 27225, - "end": 27226, + "start": 27447, + "end": 27448, "loc": { "start": { - "line": 826, + "line": 831, "column": 23 }, "end": { - "line": 826, + "line": 831, "column": 24 } } @@ -182184,15 +183904,15 @@ "binop": null }, "value": "log", - "start": 27235, - "end": 27238, + "start": 27457, + "end": 27460, "loc": { "start": { - "line": 827, + "line": 832, "column": 8 }, "end": { - "line": 827, + "line": 832, "column": 11 } } @@ -182209,15 +183929,15 @@ "postfix": false, "binop": null }, - "start": 27238, - "end": 27239, + "start": 27460, + "end": 27461, "loc": { "start": { - "line": 827, + "line": 832, "column": 11 }, "end": { - "line": 827, + "line": 832, "column": 12 } } @@ -182235,15 +183955,15 @@ "binop": null }, "value": "args", - "start": 27239, - "end": 27243, + "start": 27461, + "end": 27465, "loc": { "start": { - "line": 827, + "line": 832, "column": 12 }, "end": { - "line": 827, + "line": 832, "column": 16 } } @@ -182261,15 +183981,15 @@ "binop": null, "updateContext": null }, - "start": 27243, - "end": 27244, + "start": 27465, + "end": 27466, "loc": { "start": { - "line": 827, + "line": 832, "column": 16 }, "end": { - "line": 827, + "line": 832, "column": 17 } } @@ -182287,15 +184007,15 @@ "binop": null }, "value": "logType", - "start": 27245, - "end": 27252, + "start": 27467, + "end": 27474, "loc": { "start": { - "line": 827, + "line": 832, "column": 18 }, "end": { - "line": 827, + "line": 832, "column": 25 } } @@ -182313,15 +184033,15 @@ "binop": null, "updateContext": null }, - "start": 27252, - "end": 27253, + "start": 27474, + "end": 27475, "loc": { "start": { - "line": 827, + "line": 832, "column": 25 }, "end": { - "line": 827, + "line": 832, "column": 26 } } @@ -182341,15 +184061,15 @@ "updateContext": null }, "value": "this", - "start": 27254, - "end": 27258, + "start": 27476, + "end": 27480, "loc": { "start": { - "line": 827, + "line": 832, "column": 27 }, "end": { - "line": 827, + "line": 832, "column": 31 } } @@ -182367,15 +184087,15 @@ "binop": null, "updateContext": null }, - "start": 27258, - "end": 27259, + "start": 27480, + "end": 27481, "loc": { "start": { - "line": 827, + "line": 832, "column": 31 }, "end": { - "line": 827, + "line": 832, "column": 32 } } @@ -182393,15 +184113,15 @@ "binop": null }, "value": "debug", - "start": 27259, - "end": 27264, + "start": 27481, + "end": 27486, "loc": { "start": { - "line": 827, + "line": 832, "column": 32 }, "end": { - "line": 827, + "line": 832, "column": 37 } } @@ -182418,15 +184138,15 @@ "postfix": false, "binop": null }, - "start": 27264, - "end": 27265, + "start": 27486, + "end": 27487, "loc": { "start": { - "line": 827, + "line": 832, "column": 37 }, "end": { - "line": 827, + "line": 832, "column": 38 } } @@ -182444,15 +184164,15 @@ "binop": null, "updateContext": null }, - "start": 27265, - "end": 27266, + "start": 27487, + "end": 27488, "loc": { "start": { - "line": 827, + "line": 832, "column": 38 }, "end": { - "line": 827, + "line": 832, "column": 39 } } @@ -182469,15 +184189,576 @@ "postfix": false, "binop": null }, - "start": 27271, - "end": 27272, + "start": 27493, + "end": 27494, + "loc": { + "start": { + "line": 833, + "column": 4 + }, + "end": { + "line": 833, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Replaces the default `formatTime` implementation with a custom implementation.\n *\n * @param {function} customImplementation - A function which will be used in place\n * of the default `formatTime` implementation. Will receive the current time\n * in seconds and the guide (in seconds) as arguments.\n ", + "start": 27500, + "end": 27839, + "loc": { + "start": { + "line": 835, + "column": 4 + }, + "end": { + "line": 841, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setFormatTime", + "start": 27844, + "end": 27857, + "loc": { + "start": { + "line": 842, + "column": 4 + }, + "end": { + "line": 842, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 27857, + "end": 27858, + "loc": { + "start": { + "line": 842, + "column": 17 + }, + "end": { + "line": 842, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "customImplementation", + "start": 27858, + "end": 27878, + "loc": { + "start": { + "line": 842, + "column": 18 + }, + "end": { + "line": 842, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 27878, + "end": 27879, + "loc": { + "start": { + "line": 842, + "column": 38 + }, + "end": { + "line": 842, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 27880, + "end": 27881, + "loc": { + "start": { + "line": 842, + "column": 40 + }, + "end": { + "line": 842, + "column": 41 + } + } + }, + { + "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": 27890, + "end": 27894, + "loc": { + "start": { + "line": 843, + "column": 8 + }, + "end": { + "line": 843, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 27894, + "end": 27895, + "loc": { + "start": { + "line": 843, + "column": 12 + }, + "end": { + "line": 843, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_formatTime", + "start": 27895, + "end": 27906, + "loc": { + "start": { + "line": 843, + "column": 13 + }, + "end": { + "line": 843, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 27907, + "end": 27908, + "loc": { + "start": { + "line": 843, + "column": 25 + }, + "end": { + "line": 843, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "customImplementation", + "start": 27909, + "end": 27929, + "loc": { + "start": { + "line": 843, + "column": 27 + }, + "end": { + "line": 843, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 27929, + "end": 27930, + "loc": { + "start": { + "line": 843, + "column": 47 + }, + "end": { + "line": 843, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "videojs", + "start": 27940, + "end": 27947, + "loc": { + "start": { + "line": 845, + "column": 8 + }, + "end": { + "line": 845, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 27947, + "end": 27948, + "loc": { + "start": { + "line": 845, + "column": 15 + }, + "end": { + "line": 845, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setFormatTime", + "start": 27948, + "end": 27961, + "loc": { + "start": { + "line": 845, + "column": 16 + }, + "end": { + "line": 845, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 27961, + "end": 27962, + "loc": { + "start": { + "line": 845, + "column": 29 + }, + "end": { + "line": 845, + "column": 30 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 27962, + "end": 27966, + "loc": { + "start": { + "line": 845, + "column": 30 + }, + "end": { + "line": 845, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 27966, + "end": 27967, + "loc": { + "start": { + "line": 845, + "column": 34 + }, + "end": { + "line": 845, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_formatTime", + "start": 27967, + "end": 27978, + "loc": { + "start": { + "line": 845, + "column": 35 + }, + "end": { + "line": 845, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 27978, + "end": 27979, + "loc": { + "start": { + "line": 845, + "column": 46 + }, + "end": { + "line": 845, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 27979, + "end": 27980, + "loc": { + "start": { + "line": 845, + "column": 47 + }, + "end": { + "line": 845, + "column": 48 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 27985, + "end": 27986, "loc": { "start": { - "line": 828, + "line": 846, "column": 4 }, "end": { - "line": 828, + "line": 846, "column": 5 } } @@ -182494,15 +184775,15 @@ "postfix": false, "binop": null }, - "start": 27273, - "end": 27274, + "start": 27987, + "end": 27988, "loc": { "start": { - "line": 829, + "line": 847, "column": 0 }, "end": { - "line": 829, + "line": 847, "column": 1 } } @@ -182510,15 +184791,15 @@ { "type": "CommentLine", "value": " version nr is injected during build", - "start": 27276, - "end": 27314, + "start": 27990, + "end": 28028, "loc": { "start": { - "line": 831, + "line": 849, "column": 0 }, "end": { - "line": 831, + "line": 849, "column": 38 } } @@ -182536,15 +184817,15 @@ "binop": null }, "value": "Wavesurfer", - "start": 27315, - "end": 27325, + "start": 28029, + "end": 28039, "loc": { "start": { - "line": 832, + "line": 850, "column": 0 }, "end": { - "line": 832, + "line": 850, "column": 10 } } @@ -182562,15 +184843,15 @@ "binop": null, "updateContext": null }, - "start": 27325, - "end": 27326, + "start": 28039, + "end": 28040, "loc": { "start": { - "line": 832, + "line": 850, "column": 10 }, "end": { - "line": 832, + "line": 850, "column": 11 } } @@ -182588,15 +184869,15 @@ "binop": null }, "value": "VERSION", - "start": 27326, - "end": 27333, + "start": 28040, + "end": 28047, "loc": { "start": { - "line": 832, + "line": 850, "column": 11 }, "end": { - "line": 832, + "line": 850, "column": 18 } } @@ -182615,15 +184896,15 @@ "updateContext": null }, "value": "=", - "start": 27334, - "end": 27335, + "start": 28048, + "end": 28049, "loc": { "start": { - "line": 832, + "line": 850, "column": 19 }, "end": { - "line": 832, + "line": 850, "column": 20 } } @@ -182641,15 +184922,15 @@ "binop": null }, "value": "__VERSION__", - "start": 27336, - "end": 27347, + "start": 28050, + "end": 28061, "loc": { "start": { - "line": 832, + "line": 850, "column": 21 }, "end": { - "line": 832, + "line": 850, "column": 32 } } @@ -182667,15 +184948,15 @@ "binop": null, "updateContext": null }, - "start": 27347, - "end": 27348, + "start": 28061, + "end": 28062, "loc": { "start": { - "line": 832, + "line": 850, "column": 32 }, "end": { - "line": 832, + "line": 850, "column": 33 } } @@ -182683,15 +184964,15 @@ { "type": "CommentLine", "value": " register plugin once", - "start": 27350, - "end": 27373, + "start": 28064, + "end": 28087, "loc": { "start": { - "line": 834, + "line": 852, "column": 0 }, "end": { - "line": 834, + "line": 852, "column": 23 } } @@ -182709,15 +184990,15 @@ "binop": null }, "value": "videojs", - "start": 27374, - "end": 27381, + "start": 28088, + "end": 28095, "loc": { "start": { - "line": 835, + "line": 853, "column": 0 }, "end": { - "line": 835, + "line": 853, "column": 7 } } @@ -182735,15 +185016,15 @@ "binop": null, "updateContext": null }, - "start": 27381, - "end": 27382, + "start": 28095, + "end": 28096, "loc": { "start": { - "line": 835, + "line": 853, "column": 7 }, "end": { - "line": 835, + "line": 853, "column": 8 } } @@ -182761,15 +185042,15 @@ "binop": null }, "value": "Wavesurfer", - "start": 27382, - "end": 27392, + "start": 28096, + "end": 28106, "loc": { "start": { - "line": 835, + "line": 853, "column": 8 }, "end": { - "line": 835, + "line": 853, "column": 18 } } @@ -182788,15 +185069,15 @@ "updateContext": null }, "value": "=", - "start": 27393, - "end": 27394, + "start": 28107, + "end": 28108, "loc": { "start": { - "line": 835, + "line": 853, "column": 19 }, "end": { - "line": 835, + "line": 853, "column": 20 } } @@ -182814,15 +185095,15 @@ "binop": null }, "value": "Wavesurfer", - "start": 27395, - "end": 27405, + "start": 28109, + "end": 28119, "loc": { "start": { - "line": 835, + "line": 853, "column": 21 }, "end": { - "line": 835, + "line": 853, "column": 31 } } @@ -182840,15 +185121,15 @@ "binop": null, "updateContext": null }, - "start": 27405, - "end": 27406, + "start": 28119, + "end": 28120, "loc": { "start": { - "line": 835, + "line": 853, "column": 31 }, "end": { - "line": 835, + "line": 853, "column": 32 } } @@ -182868,15 +185149,15 @@ "updateContext": null }, "value": "if", - "start": 27407, - "end": 27409, + "start": 28121, + "end": 28123, "loc": { "start": { - "line": 836, + "line": 854, "column": 0 }, "end": { - "line": 836, + "line": 854, "column": 2 } } @@ -182893,15 +185174,15 @@ "postfix": false, "binop": null }, - "start": 27410, - "end": 27411, + "start": 28124, + "end": 28125, "loc": { "start": { - "line": 836, + "line": 854, "column": 3 }, "end": { - "line": 836, + "line": 854, "column": 4 } } @@ -182919,15 +185200,15 @@ "binop": null }, "value": "videojs", - "start": 27411, - "end": 27418, + "start": 28125, + "end": 28132, "loc": { "start": { - "line": 836, + "line": 854, "column": 4 }, "end": { - "line": 836, + "line": 854, "column": 11 } } @@ -182945,15 +185226,15 @@ "binop": null, "updateContext": null }, - "start": 27418, - "end": 27419, + "start": 28132, + "end": 28133, "loc": { "start": { - "line": 836, + "line": 854, "column": 11 }, "end": { - "line": 836, + "line": 854, "column": 12 } } @@ -182971,15 +185252,15 @@ "binop": null }, "value": "getPlugin", - "start": 27419, - "end": 27428, + "start": 28133, + "end": 28142, "loc": { "start": { - "line": 836, + "line": 854, "column": 12 }, "end": { - "line": 836, + "line": 854, "column": 21 } } @@ -182996,15 +185277,15 @@ "postfix": false, "binop": null }, - "start": 27428, - "end": 27429, + "start": 28142, + "end": 28143, "loc": { "start": { - "line": 836, + "line": 854, "column": 21 }, "end": { - "line": 836, + "line": 854, "column": 22 } } @@ -183022,15 +185303,15 @@ "binop": null }, "value": "wavesurferPluginName", - "start": 27429, - "end": 27449, + "start": 28143, + "end": 28163, "loc": { "start": { - "line": 836, + "line": 854, "column": 22 }, "end": { - "line": 836, + "line": 854, "column": 42 } } @@ -183047,15 +185328,15 @@ "postfix": false, "binop": null }, - "start": 27449, - "end": 27450, + "start": 28163, + "end": 28164, "loc": { "start": { - "line": 836, + "line": 854, "column": 42 }, "end": { - "line": 836, + "line": 854, "column": 43 } } @@ -183074,15 +185355,15 @@ "updateContext": null }, "value": "===", - "start": 27451, - "end": 27454, + "start": 28165, + "end": 28168, "loc": { "start": { - "line": 836, + "line": 854, "column": 44 }, "end": { - "line": 836, + "line": 854, "column": 47 } } @@ -183100,15 +185381,15 @@ "binop": null }, "value": "undefined", - "start": 27455, - "end": 27464, + "start": 28169, + "end": 28178, "loc": { "start": { - "line": 836, + "line": 854, "column": 48 }, "end": { - "line": 836, + "line": 854, "column": 57 } } @@ -183125,15 +185406,15 @@ "postfix": false, "binop": null }, - "start": 27464, - "end": 27465, + "start": 28178, + "end": 28179, "loc": { "start": { - "line": 836, + "line": 854, "column": 57 }, "end": { - "line": 836, + "line": 854, "column": 58 } } @@ -183150,15 +185431,15 @@ "postfix": false, "binop": null }, - "start": 27466, - "end": 27467, + "start": 28180, + "end": 28181, "loc": { "start": { - "line": 836, + "line": 854, "column": 59 }, "end": { - "line": 836, + "line": 854, "column": 60 } } @@ -183176,15 +185457,15 @@ "binop": null }, "value": "videojs", - "start": 27472, - "end": 27479, + "start": 28186, + "end": 28193, "loc": { "start": { - "line": 837, + "line": 855, "column": 4 }, "end": { - "line": 837, + "line": 855, "column": 11 } } @@ -183202,15 +185483,15 @@ "binop": null, "updateContext": null }, - "start": 27479, - "end": 27480, + "start": 28193, + "end": 28194, "loc": { "start": { - "line": 837, + "line": 855, "column": 11 }, "end": { - "line": 837, + "line": 855, "column": 12 } } @@ -183228,15 +185509,15 @@ "binop": null }, "value": "registerPlugin", - "start": 27480, - "end": 27494, + "start": 28194, + "end": 28208, "loc": { "start": { - "line": 837, + "line": 855, "column": 12 }, "end": { - "line": 837, + "line": 855, "column": 26 } } @@ -183253,15 +185534,15 @@ "postfix": false, "binop": null }, - "start": 27494, - "end": 27495, + "start": 28208, + "end": 28209, "loc": { "start": { - "line": 837, + "line": 855, "column": 26 }, "end": { - "line": 837, + "line": 855, "column": 27 } } @@ -183279,15 +185560,15 @@ "binop": null }, "value": "wavesurferPluginName", - "start": 27495, - "end": 27515, + "start": 28209, + "end": 28229, "loc": { "start": { - "line": 837, + "line": 855, "column": 27 }, "end": { - "line": 837, + "line": 855, "column": 47 } } @@ -183305,15 +185586,15 @@ "binop": null, "updateContext": null }, - "start": 27515, - "end": 27516, + "start": 28229, + "end": 28230, "loc": { "start": { - "line": 837, + "line": 855, "column": 47 }, "end": { - "line": 837, + "line": 855, "column": 48 } } @@ -183331,15 +185612,15 @@ "binop": null }, "value": "Wavesurfer", - "start": 27517, - "end": 27527, + "start": 28231, + "end": 28241, "loc": { "start": { - "line": 837, + "line": 855, "column": 49 }, "end": { - "line": 837, + "line": 855, "column": 59 } } @@ -183356,15 +185637,15 @@ "postfix": false, "binop": null }, - "start": 27527, - "end": 27528, + "start": 28241, + "end": 28242, "loc": { "start": { - "line": 837, + "line": 855, "column": 59 }, "end": { - "line": 837, + "line": 855, "column": 60 } } @@ -183382,15 +185663,15 @@ "binop": null, "updateContext": null }, - "start": 27528, - "end": 27529, + "start": 28242, + "end": 28243, "loc": { "start": { - "line": 837, + "line": 855, "column": 60 }, "end": { - "line": 837, + "line": 855, "column": 61 } } @@ -183407,15 +185688,15 @@ "postfix": false, "binop": null }, - "start": 27530, - "end": 27531, + "start": 28244, + "end": 28245, "loc": { "start": { - "line": 838, + "line": 856, "column": 0 }, "end": { - "line": 838, + "line": 856, "column": 1 } } @@ -183423,15 +185704,15 @@ { "type": "CommentLine", "value": " register a star-middleware", - "start": 27533, - "end": 27562, + "start": 28247, + "end": 28276, "loc": { "start": { - "line": 840, + "line": 858, "column": 0 }, "end": { - "line": 840, + "line": 858, "column": 29 } } @@ -183449,15 +185730,15 @@ "binop": null }, "value": "videojs", - "start": 27563, - "end": 27570, + "start": 28277, + "end": 28284, "loc": { "start": { - "line": 841, + "line": 859, "column": 0 }, "end": { - "line": 841, + "line": 859, "column": 7 } } @@ -183475,15 +185756,15 @@ "binop": null, "updateContext": null }, - "start": 27570, - "end": 27571, + "start": 28284, + "end": 28285, "loc": { "start": { - "line": 841, + "line": 859, "column": 7 }, "end": { - "line": 841, + "line": 859, "column": 8 } } @@ -183501,15 +185782,15 @@ "binop": null }, "value": "use", - "start": 27571, - "end": 27574, + "start": 28285, + "end": 28288, "loc": { "start": { - "line": 841, + "line": 859, "column": 8 }, "end": { - "line": 841, + "line": 859, "column": 11 } } @@ -183526,15 +185807,15 @@ "postfix": false, "binop": null }, - "start": 27574, - "end": 27575, + "start": 28288, + "end": 28289, "loc": { "start": { - "line": 841, + "line": 859, "column": 11 }, "end": { - "line": 841, + "line": 859, "column": 12 } } @@ -183553,15 +185834,15 @@ "updateContext": null }, "value": "*", - "start": 27575, - "end": 27578, + "start": 28289, + "end": 28292, "loc": { "start": { - "line": 841, + "line": 859, "column": 12 }, "end": { - "line": 841, + "line": 859, "column": 15 } } @@ -183579,15 +185860,15 @@ "binop": null, "updateContext": null }, - "start": 27578, - "end": 27579, + "start": 28292, + "end": 28293, "loc": { "start": { - "line": 841, + "line": 859, "column": 15 }, "end": { - "line": 841, + "line": 859, "column": 16 } } @@ -183605,15 +185886,15 @@ "binop": null }, "value": "player", - "start": 27580, - "end": 27586, + "start": 28294, + "end": 28300, "loc": { "start": { - "line": 841, + "line": 859, "column": 17 }, "end": { - "line": 841, + "line": 859, "column": 23 } } @@ -183631,15 +185912,15 @@ "binop": null, "updateContext": null }, - "start": 27587, - "end": 27589, + "start": 28301, + "end": 28303, "loc": { "start": { - "line": 841, + "line": 859, "column": 24 }, "end": { - "line": 841, + "line": 859, "column": 26 } } @@ -183656,15 +185937,15 @@ "postfix": false, "binop": null }, - "start": 27590, - "end": 27591, + "start": 28304, + "end": 28305, "loc": { "start": { - "line": 841, + "line": 859, "column": 27 }, "end": { - "line": 841, + "line": 859, "column": 28 } } @@ -183672,15 +185953,15 @@ { "type": "CommentLine", "value": " make player available on middleware", - "start": 27596, - "end": 27634, + "start": 28310, + "end": 28348, "loc": { "start": { - "line": 842, + "line": 860, "column": 4 }, "end": { - "line": 842, + "line": 860, "column": 42 } } @@ -183698,15 +185979,15 @@ "binop": null }, "value": "WavesurferMiddleware", - "start": 27639, - "end": 27659, + "start": 28353, + "end": 28373, "loc": { "start": { - "line": 843, + "line": 861, "column": 4 }, "end": { - "line": 843, + "line": 861, "column": 24 } } @@ -183724,15 +186005,15 @@ "binop": null, "updateContext": null }, - "start": 27659, - "end": 27660, + "start": 28373, + "end": 28374, "loc": { "start": { - "line": 843, + "line": 861, "column": 24 }, "end": { - "line": 843, + "line": 861, "column": 25 } } @@ -183750,15 +186031,15 @@ "binop": null }, "value": "player", - "start": 27660, - "end": 27666, + "start": 28374, + "end": 28380, "loc": { "start": { - "line": 843, + "line": 861, "column": 25 }, "end": { - "line": 843, + "line": 861, "column": 31 } } @@ -183777,15 +186058,15 @@ "updateContext": null }, "value": "=", - "start": 27667, - "end": 27668, + "start": 28381, + "end": 28382, "loc": { "start": { - "line": 843, + "line": 861, "column": 32 }, "end": { - "line": 843, + "line": 861, "column": 33 } } @@ -183803,15 +186084,15 @@ "binop": null }, "value": "player", - "start": 27669, - "end": 27675, + "start": 28383, + "end": 28389, "loc": { "start": { - "line": 843, + "line": 861, "column": 34 }, "end": { - "line": 843, + "line": 861, "column": 40 } } @@ -183829,15 +186110,15 @@ "binop": null, "updateContext": null }, - "start": 27675, - "end": 27676, + "start": 28389, + "end": 28390, "loc": { "start": { - "line": 843, + "line": 861, "column": 40 }, "end": { - "line": 843, + "line": 861, "column": 41 } } @@ -183857,15 +186138,15 @@ "updateContext": null }, "value": "return", - "start": 27682, - "end": 27688, + "start": 28396, + "end": 28402, "loc": { "start": { - "line": 845, + "line": 863, "column": 4 }, "end": { - "line": 845, + "line": 863, "column": 10 } } @@ -183883,15 +186164,15 @@ "binop": null }, "value": "WavesurferMiddleware", - "start": 27689, - "end": 27709, + "start": 28403, + "end": 28423, "loc": { "start": { - "line": 845, + "line": 863, "column": 11 }, "end": { - "line": 845, + "line": 863, "column": 31 } } @@ -183909,15 +186190,15 @@ "binop": null, "updateContext": null }, - "start": 27709, - "end": 27710, + "start": 28423, + "end": 28424, "loc": { "start": { - "line": 845, + "line": 863, "column": 31 }, "end": { - "line": 845, + "line": 863, "column": 32 } } @@ -183934,15 +186215,15 @@ "postfix": false, "binop": null }, - "start": 27711, - "end": 27712, + "start": 28425, + "end": 28426, "loc": { "start": { - "line": 846, + "line": 864, "column": 0 }, "end": { - "line": 846, + "line": 864, "column": 1 } } @@ -183959,15 +186240,15 @@ "postfix": false, "binop": null }, - "start": 27712, - "end": 27713, + "start": 28426, + "end": 28427, "loc": { "start": { - "line": 846, + "line": 864, "column": 1 }, "end": { - "line": 846, + "line": 864, "column": 2 } } @@ -183985,15 +186266,15 @@ "binop": null, "updateContext": null }, - "start": 27713, - "end": 27714, + "start": 28427, + "end": 28428, "loc": { "start": { - "line": 846, + "line": 864, "column": 2 }, "end": { - "line": 846, + "line": 864, "column": 3 } } @@ -184013,15 +186294,15 @@ "updateContext": null }, "value": "export", - "start": 27716, - "end": 27722, + "start": 28430, + "end": 28436, "loc": { "start": { - "line": 848, + "line": 866, "column": 0 }, "end": { - "line": 848, + "line": 866, "column": 6 } } @@ -184038,15 +186319,15 @@ "postfix": false, "binop": null }, - "start": 27723, - "end": 27724, + "start": 28437, + "end": 28438, "loc": { "start": { - "line": 848, + "line": 866, "column": 7 }, "end": { - "line": 848, + "line": 866, "column": 8 } } @@ -184064,15 +186345,15 @@ "binop": null }, "value": "Wavesurfer", - "start": 27724, - "end": 27734, + "start": 28438, + "end": 28448, "loc": { "start": { - "line": 848, + "line": 866, "column": 8 }, "end": { - "line": 848, + "line": 866, "column": 18 } } @@ -184089,15 +186370,15 @@ "postfix": false, "binop": null }, - "start": 27734, - "end": 27735, + "start": 28448, + "end": 28449, "loc": { "start": { - "line": 848, + "line": 866, "column": 18 }, "end": { - "line": 848, + "line": 866, "column": 19 } } @@ -184115,15 +186396,15 @@ "binop": null, "updateContext": null }, - "start": 27735, - "end": 27736, + "start": 28449, + "end": 28450, "loc": { "start": { - "line": 848, + "line": 866, "column": 19 }, "end": { - "line": 848, + "line": 866, "column": 20 } } @@ -184141,15 +186422,15 @@ "binop": null, "updateContext": null }, - "start": 27736, - "end": 27736, + "start": 28450, + "end": 28450, "loc": { "start": { - "line": 848, + "line": 866, "column": 20 }, "end": { - "line": 848, + "line": 866, "column": 20 } } diff --git a/docs/api/class/src/js/videojs.wavesurfer.js~Wavesurfer.html b/docs/api/class/src/js/videojs.wavesurfer.js~Wavesurfer.html index 81c090f7..f96f6f32 100644 --- a/docs/api/class/src/js/videojs.wavesurfer.js~Wavesurfer.html +++ b/docs/api/class/src/js/videojs.wavesurfer.js~Wavesurfer.html @@ -512,6 +512,40 @@

Wavesurfer

+ + + + + + + + + + + + @@ -817,6 +851,35 @@

Wavesurfer

+ + + + + + +
Private Members
+ private + + + + + +
+

+ + + + _formatTime: * +

+
+
+ + + +
+
+ +
+
+

+ + + + setFormatTime(customImplementation: function) +

+
+
+ + +

Replaces the default formatTime implementation with a custom implementation.

+
+
+
+ + +
+ public + + + @@ -1603,7 +1666,7 @@

- source + source

@@ -1646,7 +1709,7 @@

- source + source

@@ -1689,7 +1752,7 @@

- source + source

@@ -1732,7 +1795,7 @@

- source + source

@@ -1775,7 +1838,7 @@

- source + source

@@ -1818,7 +1881,7 @@

- source + source

@@ -1861,7 +1924,7 @@

- source + source

@@ -2020,6 +2083,51 @@

+ +

Private Members

+ +
+

+ private + + + + + + _formatTime: * + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + +

Public Methods

@@ -2036,7 +2144,7 @@

- source + source

@@ -2080,7 +2188,7 @@

- source + source

@@ -2177,7 +2285,7 @@

- source + source

@@ -2235,7 +2343,7 @@

- source + source

@@ -2293,7 +2401,7 @@

- source + source

@@ -2350,7 +2458,7 @@

- source + source

@@ -2420,7 +2528,7 @@

- source + source

@@ -2490,7 +2598,7 @@

- source + source

@@ -2534,7 +2642,7 @@

- source + source

@@ -2578,7 +2686,7 @@

- source + source

@@ -2626,6 +2734,69 @@

Params:

+
+
+

+ public + + + + + + setFormatTime(customImplementation: function) + + + + source + +

+ + + + +

Replaces the default formatTime implementation with a custom implementation.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
customImplementationfunction

A function which will be used in place + of the default formatTime implementation. Will receive the current time + in seconds and the guide (in seconds) as arguments.

+
+
+
+ + + + + + + + + + + + + + + + +

@@ -2639,7 +2810,7 @@

- source + source

@@ -2702,7 +2873,7 @@

- source + source

@@ -2745,7 +2916,7 @@

- source + source

@@ -2789,7 +2960,7 @@

- source + source

@@ -2858,7 +3029,7 @@

- source + source

@@ -2902,7 +3073,7 @@

- source + source

@@ -2946,7 +3117,7 @@

- source + source

@@ -2990,7 +3161,7 @@

- source + source

@@ -3034,7 +3205,7 @@

- source + source

@@ -3095,7 +3266,7 @@

- source + source

@@ -3139,7 +3310,7 @@

- source + source

@@ -3200,7 +3371,7 @@

- source + source

@@ -3244,7 +3415,7 @@

- source + source

@@ -3288,7 +3459,7 @@

- source + source

@@ -3362,7 +3533,7 @@

- source + source

@@ -3430,7 +3601,7 @@

- source + source

@@ -3499,7 +3670,7 @@

- source + source

@@ -3560,7 +3731,7 @@

- source + source

diff --git a/docs/api/coverage.json b/docs/api/coverage.json index 1851bc1f..de836974 100644 --- a/docs/api/coverage.json +++ b/docs/api/coverage.json @@ -1,7 +1,7 @@ { - "coverage": "60.34%", - "expectCount": 58, - "actualCount": 35, + "coverage": "60%", + "expectCount": 60, + "actualCount": 36, "files": { "src/js/defaults.js": { "expectCount": 1, @@ -32,8 +32,8 @@ ] }, "src/js/videojs.wavesurfer.js": { - "expectCount": 51, - "actualCount": 30, + "expectCount": 53, + "actualCount": 31, "undocumentLines": [ 18, 20, @@ -49,13 +49,14 @@ 54, 55, 56, - 129, - 151, - 153, - 154, - 177, - 192, - 193 + 135, + 157, + 159, + 160, + 183, + 198, + 199, + 843 ] } } diff --git a/docs/api/file/src/js/videojs.wavesurfer.js.html b/docs/api/file/src/js/videojs.wavesurfer.js.html index 6354edfe..52d76509 100644 --- a/docs/api/file/src/js/videojs.wavesurfer.js.html +++ b/docs/api/file/src/js/videojs.wavesurfer.js.html @@ -98,10 +98,16 @@ this.textTracksEnabled = (this.player.options_.tracks.length > 0); this.displayMilliseconds = options.displayMilliseconds; - // use custom video.js time format - videojs.setFormatTime((seconds, guide) => { - return formatTime(seconds, guide, this.displayMilliseconds); - }); + // use custom time format for video.js player + if (options.formatTime && typeof options.formatTime === 'function') { + // user-supplied formatTime + this.setFormatTime(options.formatTime); + } else { + // plugin's default formatTime + this.setFormatTime((seconds, guide) => { + return formatTime(seconds, guide, this.displayMilliseconds); + }); + } // wait until player ui is ready this.player.one(Event.READY, this.initialize.bind(this)); @@ -367,11 +373,10 @@ this.log(err, 'error'); } }); - request.on('error', e => { - this.log('Unable to retrieve peak data from ' + peaks + - '. Status code: ' + request.response.status, 'warn'); - this.log('Loading URL: ' + url); - this.surfer.load(url); + request.once('error', e => { + this.player.trigger(Event.ERROR, + 'Unable to retrieve peak data from ' + peaks + + '. Status code: ' + request.response.status); }); } } @@ -572,7 +577,7 @@ this.player.controlBar.currentTimeDisplay.formattedTime_ = this.player.controlBar.currentTimeDisplay.contentEl().lastChild.textContent = - formatTime(time, duration, this.displayMilliseconds); + this._formatTime(time, duration, this.displayMilliseconds); } if (this.textTracksEnabled && this.player.tech_ && this.player.tech_.el_) { @@ -613,7 +618,7 @@ this.player.controlBar.durationDisplay.contentEl().lastChild) { this.player.controlBar.durationDisplay.formattedTime_ = this.player.controlBar.durationDisplay.contentEl().lastChild.textContent = - formatTime(duration, duration, this.displayMilliseconds); + this._formatTime(duration, duration, this.displayMilliseconds); } } @@ -869,6 +874,19 @@ log(args, logType) { log(args, logType, this.debug); } + + /** + * Replaces the default `formatTime` implementation with a custom implementation. + * + * @param {function} customImplementation - A function which will be used in place + * of the default `formatTime` implementation. Will receive the current time + * in seconds and the guide (in seconds) as arguments. + */ + setFormatTime(customImplementation) { + this._formatTime = customImplementation; + + videojs.setFormatTime(this._formatTime); + } } // version nr is injected during build diff --git a/docs/api/index.html b/docs/api/index.html index 4eaf79e0..187a19d5 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -48,7 +48,7 @@

npm version npm License -Build Status +Build Status Coverage Status Size Stars

diff --git a/docs/api/index.json b/docs/api/index.json index 12e3ffb1..fef7055c 100644 --- a/docs/api/index.json +++ b/docs/api/index.json @@ -843,7 +843,7 @@ "__docId__": 60, "kind": "file", "name": "src/js/videojs.wavesurfer.js", - "content": "/**\n * @file videojs.wavesurfer.js\n *\n * The main file for the videojs-wavesurfer project.\n * MIT license: https://github.com/collab-project/videojs-wavesurfer/blob/master/LICENSE\n */\n\nimport Event from './event';\nimport log from './utils/log';\nimport formatTime from './utils/format-time';\nimport pluginDefaultOptions from './defaults';\nimport WavesurferMiddleware from './middleware';\nimport window from 'global/window';\n\nimport videojs from 'video.js';\nimport WaveSurfer from 'wavesurfer.js';\n\nconst Plugin = videojs.getPlugin('plugin');\n\nconst wavesurferPluginName = 'wavesurfer';\nconst wavesurferClassName = 'vjs-wavedisplay';\nconst wavesurferStyleName = 'vjs-wavesurfer';\n\n// wavesurfer.js backends\nconst WEBAUDIO = 'WebAudio';\nconst MEDIAELEMENT = 'MediaElement';\nconst MEDIAELEMENT_WEBAUDIO = 'MediaElementWebAudio';\n\n/**\n * Draw a waveform for audio and video files in a video.js player.\n *\n * @class\n * @augments videojs.Plugin\n */\nclass Wavesurfer extends Plugin {\n /**\n * The constructor function for the class.\n *\n * @param {(videojs.Player|Object)} player - video.js Player object.\n * @param {Object} options - Player options.\n */\n constructor(player, options) {\n super(player, options);\n\n // add plugin style\n player.addClass(wavesurferStyleName);\n\n // parse options\n options = videojs.mergeOptions(pluginDefaultOptions, options);\n this.waveReady = false;\n this.waveFinished = false;\n this.liveMode = false;\n this.backend = null;\n this.debug = (options.debug.toString() === 'true');\n this.textTracksEnabled = (this.player.options_.tracks.length > 0);\n this.displayMilliseconds = options.displayMilliseconds;\n\n // use custom video.js time format\n videojs.setFormatTime((seconds, guide) => {\n return formatTime(seconds, guide, this.displayMilliseconds);\n });\n\n // wait until player ui is ready\n this.player.one(Event.READY, this.initialize.bind(this));\n }\n\n /**\n * Player UI is ready: customize controls.\n *\n * @private\n */\n initialize() {\n // hide big play button\n if (this.player.bigPlayButton !== undefined) {\n this.player.bigPlayButton.hide();\n }\n\n // parse options\n let mergedOptions = this.parseOptions(this.player.options_.plugins.wavesurfer);\n\n // controls\n if (this.player.options_.controls === true) {\n // make sure controlBar is showing.\n // video.js hides the controlbar by default because it expects\n // the user to click on the 'big play button' first.\n this.player.controlBar.show();\n this.player.controlBar.el_.style.display = 'flex';\n\n // progress control is only supported with the MediaElement backend\n if (this.backend === WEBAUDIO &&\n this.player.controlBar.progressControl !== undefined) {\n this.player.controlBar.progressControl.hide();\n }\n\n // disable Picture-In-Picture toggle introduced in video.js 7.6.0\n // until there is support for canvas in the Picture-In-Picture\n // browser API (see https://www.chromestatus.com/features/4844605453369344)\n if (this.player.controlBar.pictureInPictureToggle !== undefined) {\n this.player.controlBar.pictureInPictureToggle.hide();\n }\n\n // make sure time displays are visible\n let uiElements = ['currentTimeDisplay', 'timeDivider', 'durationDisplay'];\n uiElements.forEach((element) => {\n // ignore and show when essential elements have been disabled\n // by user\n element = this.player.controlBar[element];\n if (element !== undefined) {\n element.el_.style.display = 'block';\n element.show();\n }\n });\n if (this.player.controlBar.remainingTimeDisplay !== undefined) {\n this.player.controlBar.remainingTimeDisplay.hide();\n }\n\n if (this.backend === WEBAUDIO &&\n this.player.controlBar.playToggle !== undefined) {\n // handle play toggle interaction\n this.player.controlBar.playToggle.on(['tap', 'click'],\n this.onPlayToggle.bind(this));\n\n // disable play button until waveform is ready\n this.player.controlBar.playToggle.hide();\n }\n }\n\n // wavesurfer.js setup\n this.surfer = WaveSurfer.create(mergedOptions);\n this.surfer.on(Event.ERROR, this.onWaveError.bind(this));\n this.surfer.on(Event.FINISH, this.onWaveFinish.bind(this));\n this.backend = this.surfer.params.backend;\n this.log('Using wavesurfer.js ' + this.backend + ' backend.');\n\n // check if the wavesurfer.js microphone plugin is enabled\n if ('microphone' in this.player.wavesurfer().surfer.getActivePlugins()) {\n // enable audio input from a microphone\n this.liveMode = true;\n this.waveReady = true;\n this.log('wavesurfer.js microphone plugin enabled.');\n\n // in live mode, show play button at startup\n this.player.controlBar.playToggle.show();\n\n // listen for wavesurfer.js microphone plugin events\n this.surfer.microphone.on(Event.DEVICE_ERROR,\n this.onWaveError.bind(this));\n }\n\n // listen for wavesurfer.js events\n this.surferReady = this.onWaveReady.bind(this);\n if (this.backend === WEBAUDIO) {\n this.surferProgress = this.onWaveProgress.bind(this);\n this.surferSeek = this.onWaveSeek.bind(this);\n\n // make sure volume is muted when requested\n if (this.player.muted()) {\n this.setVolume(0);\n }\n }\n\n // only listen to the wavesurfer.js playback events when not\n // in live mode\n if (!this.liveMode) {\n this.setupPlaybackEvents(true);\n }\n\n // video.js player events\n this.player.on(Event.VOLUMECHANGE, this.onVolumeChange.bind(this));\n this.player.on(Event.FULLSCREENCHANGE, this.onScreenChange.bind(this));\n\n // video.js fluid option\n if (this.player.options_.fluid === true) {\n // give wave element a classname so it can be styled\n this.surfer.drawer.wrapper.className = wavesurferClassName;\n // listen for window resize events\n this.responsiveWave = WaveSurfer.util.debounce(\n this.onResizeChange.bind(this), 150);\n window.addEventListener(Event.RESIZE, this.responsiveWave);\n }\n }\n\n /**\n * Initializes the waveform options.\n *\n * @private\n * @param {Object} surferOpts - Plugin options.\n * @returns {Object} - Updated `surferOpts` object.\n */\n parseOptions(surferOpts = {}) {\n let rect = this.player.el_.getBoundingClientRect();\n this.originalWidth = this.player.options_.width || rect.width;\n this.originalHeight = this.player.options_.height || rect.height;\n\n // controlbar\n let controlBarHeight = this.player.controlBar.height();\n if (this.player.options_.controls === true && controlBarHeight === 0) {\n // the dimensions of the controlbar are not known yet, but we\n // need it now, so we can calculate the height of the waveform.\n // The default height is 30px, so use that instead.\n controlBarHeight = 30;\n }\n\n // set waveform element and dimensions\n // Set the container to player's container if \"container\" option is\n // not provided. If a waveform needs to be appended to your custom\n // element, then use below option. For example:\n // container: document.querySelector(\"#vjs-waveform\")\n if (surferOpts.container === undefined) {\n surferOpts.container = this.player.el_;\n }\n\n // set the height of generated waveform if user has provided height\n // from options. If height of waveform need to be customized then use\n // option below. For example: waveformHeight: 30\n if (surferOpts.waveformHeight === undefined) {\n let playerHeight = rect.height;\n surferOpts.height = playerHeight - controlBarHeight;\n } else {\n surferOpts.height = surferOpts.waveformHeight;\n }\n\n // split channels\n if (surferOpts.splitChannels && surferOpts.splitChannels === true) {\n surferOpts.height /= 2;\n }\n\n // use MediaElement as default wavesurfer.js backend if one is not\n // specified\n if ('backend' in surferOpts) {\n this.backend = surferOpts.backend;\n } else {\n surferOpts.backend = this.backend = MEDIAELEMENT;\n }\n\n return surferOpts;\n }\n\n /**\n * Starts or stops listening to events related to audio-playback.\n *\n * @param {boolean} enable - Start or stop listening to playback\n * related events.\n * @private\n */\n setupPlaybackEvents(enable) {\n if (enable === false) {\n this.surfer.un(Event.READY, this.surferReady);\n if (this.backend === WEBAUDIO) {\n this.surfer.un(Event.AUDIOPROCESS, this.surferProgress);\n this.surfer.un(Event.SEEK, this.surferSeek);\n }\n } else if (enable === true) {\n this.surfer.on(Event.READY, this.surferReady);\n if (this.backend === WEBAUDIO) {\n this.surfer.on(Event.AUDIOPROCESS, this.surferProgress);\n this.surfer.on(Event.SEEK, this.surferSeek);\n }\n }\n }\n\n /**\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n */\n load(url, peaks) {\n if (url instanceof Blob || url instanceof File) {\n this.log('Loading object: ' + JSON.stringify(url));\n this.surfer.loadBlob(url);\n } else {\n // load peak data from array or file\n if (peaks !== undefined) {\n this.loadPeaks(url, peaks);\n } else {\n // no peaks\n if (typeof url === 'string') {\n this.log('Loading URL: ' + url);\n } else {\n this.log('Loading element: ' + url);\n }\n this.surfer.load(url);\n }\n }\n }\n\n /**\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n */\n loadPeaks(url, peaks) {\n if (Array.isArray(peaks)) {\n // use supplied peaks data\n this.log('Loading URL with array of peaks: ' + url);\n this.surfer.load(url, peaks);\n } else {\n // load peak data from file\n let requestOptions = {\n url: peaks,\n responseType: 'json'\n };\n\n // supply xhr options, if any\n if (this.player.options_.plugins.wavesurfer.xhr !== undefined) {\n requestOptions.xhr = this.player.options_.plugins.wavesurfer.xhr;\n }\n let request = WaveSurfer.util.fetchFile(requestOptions);\n\n request.once('success', data => {\n this.log('Loaded Peak Data URL: ' + peaks);\n // check for data property containing peaks\n if (data && data.data) {\n this.surfer.load(url, data.data);\n } else {\n this.player.trigger(Event.ERROR,\n 'Could not load peaks data from ' + peaks);\n this.log(err, 'error');\n }\n });\n request.on('error', e => {\n this.log('Unable to retrieve peak data from ' + peaks +\n '. Status code: ' + request.response.status, 'warn');\n this.log('Loading URL: ' + url);\n this.surfer.load(url);\n });\n }\n }\n\n /**\n * Start/resume playback or microphone.\n */\n play() {\n // show pause button\n if (this.player.controlBar.playToggle !== undefined &&\n this.player.controlBar.playToggle.contentEl()) {\n this.player.controlBar.playToggle.handlePlay();\n }\n\n if (this.liveMode) {\n // start/resume microphone visualization\n if (!this.surfer.microphone.active)\n {\n this.log('Start microphone');\n this.surfer.microphone.start();\n } else {\n // toggle paused\n let paused = !this.surfer.microphone.paused;\n\n if (paused) {\n this.pause();\n } else {\n this.log('Resume microphone');\n this.surfer.microphone.play();\n }\n }\n } else {\n this.log('Start playback');\n\n // put video.js player UI in playback mode\n this.player.play();\n\n // start surfer playback\n this.surfer.play();\n }\n }\n\n /**\n * Pauses playback or microphone visualization.\n */\n pause() {\n // show play button\n if (this.player.controlBar.playToggle !== undefined &&\n this.player.controlBar.playToggle.contentEl()) {\n this.player.controlBar.playToggle.handlePause();\n }\n\n if (this.liveMode) {\n // pause microphone visualization\n this.log('Pause microphone');\n this.surfer.microphone.pause();\n } else {\n // pause playback\n this.log('Pause playback');\n\n if (!this.waveFinished) {\n // pause wavesurfer playback\n this.surfer.pause();\n } else {\n this.waveFinished = false;\n }\n\n this.setCurrentTime();\n }\n }\n\n /**\n * @private\n */\n dispose() {\n if (this.surfer) {\n if (this.liveMode && this.surfer.microphone) {\n // destroy microphone plugin\n this.surfer.microphone.destroy();\n this.log('Destroyed microphone plugin');\n }\n // destroy wavesurfer instance\n this.surfer.destroy();\n }\n this.log('Destroyed plugin');\n }\n\n /**\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n */\n isDestroyed() {\n return this.player && (this.player.children() === null);\n }\n\n /**\n * Remove the player and waveform.\n */\n destroy() {\n this.player.dispose();\n }\n\n /**\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n */\n setVolume(volume) {\n if (volume !== undefined) {\n this.log('Changing volume to: ' + volume);\n\n // update player volume\n this.player.volume(volume);\n }\n }\n\n /**\n * Save waveform image as data URI.\n *\n * The default format is `'image/png'`. Other supported types are\n * `'image/jpeg'` and `'image/webp'`.\n *\n * @param {string} format='image/png' A string indicating the image format.\n * The default format type is `'image/png'`.\n * @param {number} quality=1 A number between 0 and 1 indicating the image\n * quality to use for image formats that use lossy compression such as\n * `'image/jpeg'`` and `'image/webp'`.\n * @param {string} type Image data type to return. Either 'blob' (default)\n * or 'dataURL'.\n * @return {string|string[]|Promise} When using `'dataURL'` `type` this returns\n * a single data URL or an array of data URLs, one for each canvas. The `'blob'`\n * `type` returns a `Promise` resolving with an array of `Blob` instances, one\n * for each canvas.\n */\n exportImage(format, quality, type = 'blob') {\n return this.surfer.exportImage(format, quality, type);\n }\n\n /**\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n */\n setAudioOutput(deviceId) {\n if (deviceId) {\n this.surfer.setSinkId(deviceId).then((result) => {\n // notify listeners\n this.player.trigger(Event.AUDIO_OUTPUT_READY);\n }).catch((err) => {\n // notify listeners\n this.player.trigger(Event.ERROR, err);\n\n this.log(err, 'error');\n });\n }\n }\n\n /**\n * Get the current time (in seconds) of the stream during playback.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Current time of the stream.\n */\n getCurrentTime() {\n let currentTime = this.surfer.getCurrentTime();\n currentTime = isNaN(currentTime) ? 0 : currentTime;\n\n return currentTime;\n }\n\n /**\n * Updates the player's element displaying the current time.\n *\n * @param {number} [currentTime] - Current position of the playhead\n * (in seconds).\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n */\n setCurrentTime(currentTime, duration) {\n if (currentTime === undefined) {\n currentTime = this.surfer.getCurrentTime();\n }\n\n if (duration === undefined) {\n duration = this.surfer.getDuration();\n }\n\n currentTime = isNaN(currentTime) ? 0 : currentTime;\n duration = isNaN(duration) ? 0 : duration;\n\n // update current time display component\n if (this.player.controlBar.currentTimeDisplay &&\n this.player.controlBar.currentTimeDisplay.contentEl() &&\n this.player.controlBar.currentTimeDisplay.contentEl().lastChild) {\n let time = Math.min(currentTime, duration);\n\n this.player.controlBar.currentTimeDisplay.formattedTime_ =\n this.player.controlBar.currentTimeDisplay.contentEl().lastChild.textContent =\n formatTime(time, duration, this.displayMilliseconds);\n }\n\n if (this.textTracksEnabled && this.player.tech_ && this.player.tech_.el_) {\n // only needed for text tracks\n this.player.tech_.setCurrentTime(currentTime);\n }\n }\n\n /**\n * Get the duration of the stream in seconds.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Duration of the stream.\n */\n getDuration() {\n let duration = this.surfer.getDuration();\n duration = isNaN(duration) ? 0 : duration;\n\n return duration;\n }\n\n /**\n * Updates the player's element displaying the duration time.\n *\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n */\n setDuration(duration) {\n if (duration === undefined) {\n duration = this.surfer.getDuration();\n }\n duration = isNaN(duration) ? 0 : duration;\n\n // update duration display component\n if (this.player.controlBar.durationDisplay &&\n this.player.controlBar.durationDisplay.contentEl() &&\n this.player.controlBar.durationDisplay.contentEl().lastChild) {\n this.player.controlBar.durationDisplay.formattedTime_ =\n this.player.controlBar.durationDisplay.contentEl().lastChild.textContent =\n formatTime(duration, duration, this.displayMilliseconds);\n }\n }\n\n /**\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n */\n onWaveReady() {\n this.waveReady = true;\n this.waveFinished = false;\n this.liveMode = false;\n\n this.log('Waveform is ready');\n this.player.trigger(Event.WAVE_READY);\n\n if (this.backend === WEBAUDIO) {\n // update time display\n this.setCurrentTime();\n this.setDuration();\n\n // enable and show play button\n if (this.player.controlBar.playToggle !== undefined &&\n this.player.controlBar.playToggle.contentEl()) {\n this.player.controlBar.playToggle.show();\n }\n }\n\n // hide loading spinner\n if (this.player.loadingSpinner.contentEl()) {\n this.player.loadingSpinner.hide();\n }\n\n // auto-play when ready (if enabled)\n if (this.player.options_.autoplay === true) {\n // autoplay is only allowed when audio is muted\n this.setVolume(0);\n\n // try auto-play\n if (this.backend === WEBAUDIO) {\n this.play();\n } else {\n this.player.play().catch(e => {\n this.onWaveError(e);\n });\n }\n }\n }\n\n /**\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n */\n onWaveFinish() {\n this.log('Finished playback');\n\n // notify listeners\n this.player.trigger(Event.PLAYBACK_FINISH);\n\n // check if loop is enabled\n if (this.player.options_.loop === true) {\n if (this.backend === WEBAUDIO) {\n // reset waveform\n this.surfer.stop();\n this.play();\n }\n } else {\n // finished\n this.waveFinished = true;\n\n if (this.backend === WEBAUDIO) {\n // pause player\n this.pause();\n\n // show the replay state of play toggle\n this.player.trigger(Event.ENDED);\n\n // this gets called once after the clip has ended and the user\n // seeks so that we can change the replay button back to a play\n // button\n this.surfer.once(Event.SEEK, () => {\n if (this.player.controlBar.playToggle !== undefined) {\n this.player.controlBar.playToggle.removeClass('vjs-ended');\n }\n this.player.trigger(Event.PAUSE);\n });\n }\n }\n }\n\n /**\n * Fires continuously during audio playback.\n *\n * @param {number} time - Current time/location of the playhead.\n * @private\n */\n onWaveProgress(time) {\n this.setCurrentTime();\n }\n\n /**\n * Fires during seeking of the waveform.\n *\n * @private\n */\n onWaveSeek() {\n this.setCurrentTime();\n }\n\n /**\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n */\n onWaveError(error) {\n // notify listeners\n if (error.name && error.name === 'AbortError' ||\n error.name === 'DOMException' && error.message.startsWith('The operation was aborted'))\n {\n this.player.trigger(Event.ABORT, error);\n } else {\n this.player.trigger(Event.ERROR, error);\n\n this.log(error, 'error');\n }\n }\n\n /**\n * Fired when the play toggle is clicked.\n * @private\n */\n onPlayToggle() {\n if (this.player.controlBar.playToggle !== undefined &&\n this.player.controlBar.playToggle.hasClass('vjs-ended')) {\n this.player.controlBar.playToggle.removeClass('vjs-ended');\n }\n if (this.surfer.isPlaying()) {\n this.pause();\n } else {\n this.play();\n }\n }\n\n /**\n * Fired when the volume in the video.js player changes.\n * @private\n */\n onVolumeChange() {\n let volume = this.player.volume();\n if (this.player.muted()) {\n // muted volume\n volume = 0;\n }\n\n // update wavesurfer.js volume\n this.surfer.setVolume(volume);\n }\n\n /**\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n */\n onScreenChange() {\n // execute with tiny delay so the player element completes\n // rendering and correct dimensions are reported\n let fullscreenDelay = this.player.setInterval(() => {\n let isFullscreen = this.player.isFullscreen();\n let newWidth, newHeight;\n if (!isFullscreen) {\n // restore original dimensions\n newWidth = this.originalWidth;\n newHeight = this.originalHeight;\n }\n\n if (this.waveReady) {\n if (this.liveMode && !this.surfer.microphone.active) {\n // we're in live mode but the microphone hasn't been\n // started yet\n return;\n }\n // redraw\n this.redrawWaveform(newWidth, newHeight);\n }\n\n // stop fullscreenDelay interval\n this.player.clearInterval(fullscreenDelay);\n\n }, 100);\n }\n\n /**\n * Fired when the video.js player is resized.\n *\n * @private\n */\n onResizeChange() {\n if (this.surfer !== undefined) {\n // redraw waveform\n this.redrawWaveform();\n }\n }\n\n /**\n * Redraw waveform.\n *\n * @param {number} [newWidth] - New width for the waveform.\n * @param {number} [newHeight] - New height for the waveform.\n * @private\n */\n redrawWaveform(newWidth, newHeight) {\n if (!this.isDestroyed()) {\n if (this.player.el_) {\n let rect = this.player.el_.getBoundingClientRect();\n if (newWidth === undefined) {\n // get player width\n newWidth = rect.width;\n }\n if (newHeight === undefined) {\n // get player height\n newHeight = rect.height;\n }\n }\n\n // destroy old drawing\n this.surfer.drawer.destroy();\n\n // set new dimensions\n this.surfer.params.width = newWidth;\n this.surfer.params.height = newHeight - this.player.controlBar.height();\n\n // redraw waveform\n this.surfer.createDrawer();\n this.surfer.drawer.wrapper.className = wavesurferClassName;\n this.surfer.drawBuffer();\n\n // make sure playhead is restored at right position\n this.surfer.drawer.progress(this.surfer.backend.getPlayedPercents());\n }\n }\n\n /**\n * Log message to console (if the debug option is enabled).\n *\n * @private\n * @param {Array} args - The arguments to be passed to the matching console\n * method.\n * @param {string} logType - The name of the console method to use.\n */\n log(args, logType) {\n log(args, logType, this.debug);\n }\n}\n\n// version nr is injected during build\nWavesurfer.VERSION = __VERSION__;\n\n// register plugin once\nvideojs.Wavesurfer = Wavesurfer;\nif (videojs.getPlugin(wavesurferPluginName) === undefined) {\n videojs.registerPlugin(wavesurferPluginName, Wavesurfer);\n}\n\n// register a star-middleware\nvideojs.use('*', player => {\n // make player available on middleware\n WavesurferMiddleware.player = player;\n\n return WavesurferMiddleware;\n});\n\nexport {Wavesurfer};", + "content": "/**\n * @file videojs.wavesurfer.js\n *\n * The main file for the videojs-wavesurfer project.\n * MIT license: https://github.com/collab-project/videojs-wavesurfer/blob/master/LICENSE\n */\n\nimport Event from './event';\nimport log from './utils/log';\nimport formatTime from './utils/format-time';\nimport pluginDefaultOptions from './defaults';\nimport WavesurferMiddleware from './middleware';\nimport window from 'global/window';\n\nimport videojs from 'video.js';\nimport WaveSurfer from 'wavesurfer.js';\n\nconst Plugin = videojs.getPlugin('plugin');\n\nconst wavesurferPluginName = 'wavesurfer';\nconst wavesurferClassName = 'vjs-wavedisplay';\nconst wavesurferStyleName = 'vjs-wavesurfer';\n\n// wavesurfer.js backends\nconst WEBAUDIO = 'WebAudio';\nconst MEDIAELEMENT = 'MediaElement';\nconst MEDIAELEMENT_WEBAUDIO = 'MediaElementWebAudio';\n\n/**\n * Draw a waveform for audio and video files in a video.js player.\n *\n * @class\n * @augments videojs.Plugin\n */\nclass Wavesurfer extends Plugin {\n /**\n * The constructor function for the class.\n *\n * @param {(videojs.Player|Object)} player - video.js Player object.\n * @param {Object} options - Player options.\n */\n constructor(player, options) {\n super(player, options);\n\n // add plugin style\n player.addClass(wavesurferStyleName);\n\n // parse options\n options = videojs.mergeOptions(pluginDefaultOptions, options);\n this.waveReady = false;\n this.waveFinished = false;\n this.liveMode = false;\n this.backend = null;\n this.debug = (options.debug.toString() === 'true');\n this.textTracksEnabled = (this.player.options_.tracks.length > 0);\n this.displayMilliseconds = options.displayMilliseconds;\n\n // use custom time format for video.js player\n if (options.formatTime && typeof options.formatTime === 'function') {\n // user-supplied formatTime\n this.setFormatTime(options.formatTime);\n } else {\n // plugin's default formatTime\n this.setFormatTime((seconds, guide) => {\n return formatTime(seconds, guide, this.displayMilliseconds);\n });\n }\n\n // wait until player ui is ready\n this.player.one(Event.READY, this.initialize.bind(this));\n }\n\n /**\n * Player UI is ready: customize controls.\n *\n * @private\n */\n initialize() {\n // hide big play button\n if (this.player.bigPlayButton !== undefined) {\n this.player.bigPlayButton.hide();\n }\n\n // parse options\n let mergedOptions = this.parseOptions(this.player.options_.plugins.wavesurfer);\n\n // controls\n if (this.player.options_.controls === true) {\n // make sure controlBar is showing.\n // video.js hides the controlbar by default because it expects\n // the user to click on the 'big play button' first.\n this.player.controlBar.show();\n this.player.controlBar.el_.style.display = 'flex';\n\n // progress control is only supported with the MediaElement backend\n if (this.backend === WEBAUDIO &&\n this.player.controlBar.progressControl !== undefined) {\n this.player.controlBar.progressControl.hide();\n }\n\n // disable Picture-In-Picture toggle introduced in video.js 7.6.0\n // until there is support for canvas in the Picture-In-Picture\n // browser API (see https://www.chromestatus.com/features/4844605453369344)\n if (this.player.controlBar.pictureInPictureToggle !== undefined) {\n this.player.controlBar.pictureInPictureToggle.hide();\n }\n\n // make sure time displays are visible\n let uiElements = ['currentTimeDisplay', 'timeDivider', 'durationDisplay'];\n uiElements.forEach((element) => {\n // ignore and show when essential elements have been disabled\n // by user\n element = this.player.controlBar[element];\n if (element !== undefined) {\n element.el_.style.display = 'block';\n element.show();\n }\n });\n if (this.player.controlBar.remainingTimeDisplay !== undefined) {\n this.player.controlBar.remainingTimeDisplay.hide();\n }\n\n if (this.backend === WEBAUDIO &&\n this.player.controlBar.playToggle !== undefined) {\n // handle play toggle interaction\n this.player.controlBar.playToggle.on(['tap', 'click'],\n this.onPlayToggle.bind(this));\n\n // disable play button until waveform is ready\n this.player.controlBar.playToggle.hide();\n }\n }\n\n // wavesurfer.js setup\n this.surfer = WaveSurfer.create(mergedOptions);\n this.surfer.on(Event.ERROR, this.onWaveError.bind(this));\n this.surfer.on(Event.FINISH, this.onWaveFinish.bind(this));\n this.backend = this.surfer.params.backend;\n this.log('Using wavesurfer.js ' + this.backend + ' backend.');\n\n // check if the wavesurfer.js microphone plugin is enabled\n if ('microphone' in this.player.wavesurfer().surfer.getActivePlugins()) {\n // enable audio input from a microphone\n this.liveMode = true;\n this.waveReady = true;\n this.log('wavesurfer.js microphone plugin enabled.');\n\n // in live mode, show play button at startup\n this.player.controlBar.playToggle.show();\n\n // listen for wavesurfer.js microphone plugin events\n this.surfer.microphone.on(Event.DEVICE_ERROR,\n this.onWaveError.bind(this));\n }\n\n // listen for wavesurfer.js events\n this.surferReady = this.onWaveReady.bind(this);\n if (this.backend === WEBAUDIO) {\n this.surferProgress = this.onWaveProgress.bind(this);\n this.surferSeek = this.onWaveSeek.bind(this);\n\n // make sure volume is muted when requested\n if (this.player.muted()) {\n this.setVolume(0);\n }\n }\n\n // only listen to the wavesurfer.js playback events when not\n // in live mode\n if (!this.liveMode) {\n this.setupPlaybackEvents(true);\n }\n\n // video.js player events\n this.player.on(Event.VOLUMECHANGE, this.onVolumeChange.bind(this));\n this.player.on(Event.FULLSCREENCHANGE, this.onScreenChange.bind(this));\n\n // video.js fluid option\n if (this.player.options_.fluid === true) {\n // give wave element a classname so it can be styled\n this.surfer.drawer.wrapper.className = wavesurferClassName;\n // listen for window resize events\n this.responsiveWave = WaveSurfer.util.debounce(\n this.onResizeChange.bind(this), 150);\n window.addEventListener(Event.RESIZE, this.responsiveWave);\n }\n }\n\n /**\n * Initializes the waveform options.\n *\n * @private\n * @param {Object} surferOpts - Plugin options.\n * @returns {Object} - Updated `surferOpts` object.\n */\n parseOptions(surferOpts = {}) {\n let rect = this.player.el_.getBoundingClientRect();\n this.originalWidth = this.player.options_.width || rect.width;\n this.originalHeight = this.player.options_.height || rect.height;\n\n // controlbar\n let controlBarHeight = this.player.controlBar.height();\n if (this.player.options_.controls === true && controlBarHeight === 0) {\n // the dimensions of the controlbar are not known yet, but we\n // need it now, so we can calculate the height of the waveform.\n // The default height is 30px, so use that instead.\n controlBarHeight = 30;\n }\n\n // set waveform element and dimensions\n // Set the container to player's container if \"container\" option is\n // not provided. If a waveform needs to be appended to your custom\n // element, then use below option. For example:\n // container: document.querySelector(\"#vjs-waveform\")\n if (surferOpts.container === undefined) {\n surferOpts.container = this.player.el_;\n }\n\n // set the height of generated waveform if user has provided height\n // from options. If height of waveform need to be customized then use\n // option below. For example: waveformHeight: 30\n if (surferOpts.waveformHeight === undefined) {\n let playerHeight = rect.height;\n surferOpts.height = playerHeight - controlBarHeight;\n } else {\n surferOpts.height = surferOpts.waveformHeight;\n }\n\n // split channels\n if (surferOpts.splitChannels && surferOpts.splitChannels === true) {\n surferOpts.height /= 2;\n }\n\n // use MediaElement as default wavesurfer.js backend if one is not\n // specified\n if ('backend' in surferOpts) {\n this.backend = surferOpts.backend;\n } else {\n surferOpts.backend = this.backend = MEDIAELEMENT;\n }\n\n return surferOpts;\n }\n\n /**\n * Starts or stops listening to events related to audio-playback.\n *\n * @param {boolean} enable - Start or stop listening to playback\n * related events.\n * @private\n */\n setupPlaybackEvents(enable) {\n if (enable === false) {\n this.surfer.un(Event.READY, this.surferReady);\n if (this.backend === WEBAUDIO) {\n this.surfer.un(Event.AUDIOPROCESS, this.surferProgress);\n this.surfer.un(Event.SEEK, this.surferSeek);\n }\n } else if (enable === true) {\n this.surfer.on(Event.READY, this.surferReady);\n if (this.backend === WEBAUDIO) {\n this.surfer.on(Event.AUDIOPROCESS, this.surferProgress);\n this.surfer.on(Event.SEEK, this.surferSeek);\n }\n }\n }\n\n /**\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n */\n load(url, peaks) {\n if (url instanceof Blob || url instanceof File) {\n this.log('Loading object: ' + JSON.stringify(url));\n this.surfer.loadBlob(url);\n } else {\n // load peak data from array or file\n if (peaks !== undefined) {\n this.loadPeaks(url, peaks);\n } else {\n // no peaks\n if (typeof url === 'string') {\n this.log('Loading URL: ' + url);\n } else {\n this.log('Loading element: ' + url);\n }\n this.surfer.load(url);\n }\n }\n }\n\n /**\n * Start loading waveform data.\n *\n * @param {string|blob|file} url - Either the URL of the audio file,\n * a Blob or a File object.\n * @param {string|number[]} peaks - Either the URL of peaks\n * data for the audio file, or an array with peaks data.\n */\n loadPeaks(url, peaks) {\n if (Array.isArray(peaks)) {\n // use supplied peaks data\n this.log('Loading URL with array of peaks: ' + url);\n this.surfer.load(url, peaks);\n } else {\n // load peak data from file\n let requestOptions = {\n url: peaks,\n responseType: 'json'\n };\n\n // supply xhr options, if any\n if (this.player.options_.plugins.wavesurfer.xhr !== undefined) {\n requestOptions.xhr = this.player.options_.plugins.wavesurfer.xhr;\n }\n let request = WaveSurfer.util.fetchFile(requestOptions);\n\n request.once('success', data => {\n this.log('Loaded Peak Data URL: ' + peaks);\n // check for data property containing peaks\n if (data && data.data) {\n this.surfer.load(url, data.data);\n } else {\n this.player.trigger(Event.ERROR,\n 'Could not load peaks data from ' + peaks);\n this.log(err, 'error');\n }\n });\n request.once('error', e => {\n this.player.trigger(Event.ERROR,\n 'Unable to retrieve peak data from ' + peaks +\n '. Status code: ' + request.response.status);\n });\n }\n }\n\n /**\n * Start/resume playback or microphone.\n */\n play() {\n // show pause button\n if (this.player.controlBar.playToggle !== undefined &&\n this.player.controlBar.playToggle.contentEl()) {\n this.player.controlBar.playToggle.handlePlay();\n }\n\n if (this.liveMode) {\n // start/resume microphone visualization\n if (!this.surfer.microphone.active)\n {\n this.log('Start microphone');\n this.surfer.microphone.start();\n } else {\n // toggle paused\n let paused = !this.surfer.microphone.paused;\n\n if (paused) {\n this.pause();\n } else {\n this.log('Resume microphone');\n this.surfer.microphone.play();\n }\n }\n } else {\n this.log('Start playback');\n\n // put video.js player UI in playback mode\n this.player.play();\n\n // start surfer playback\n this.surfer.play();\n }\n }\n\n /**\n * Pauses playback or microphone visualization.\n */\n pause() {\n // show play button\n if (this.player.controlBar.playToggle !== undefined &&\n this.player.controlBar.playToggle.contentEl()) {\n this.player.controlBar.playToggle.handlePause();\n }\n\n if (this.liveMode) {\n // pause microphone visualization\n this.log('Pause microphone');\n this.surfer.microphone.pause();\n } else {\n // pause playback\n this.log('Pause playback');\n\n if (!this.waveFinished) {\n // pause wavesurfer playback\n this.surfer.pause();\n } else {\n this.waveFinished = false;\n }\n\n this.setCurrentTime();\n }\n }\n\n /**\n * @private\n */\n dispose() {\n if (this.surfer) {\n if (this.liveMode && this.surfer.microphone) {\n // destroy microphone plugin\n this.surfer.microphone.destroy();\n this.log('Destroyed microphone plugin');\n }\n // destroy wavesurfer instance\n this.surfer.destroy();\n }\n this.log('Destroyed plugin');\n }\n\n /**\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n */\n isDestroyed() {\n return this.player && (this.player.children() === null);\n }\n\n /**\n * Remove the player and waveform.\n */\n destroy() {\n this.player.dispose();\n }\n\n /**\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n */\n setVolume(volume) {\n if (volume !== undefined) {\n this.log('Changing volume to: ' + volume);\n\n // update player volume\n this.player.volume(volume);\n }\n }\n\n /**\n * Save waveform image as data URI.\n *\n * The default format is `'image/png'`. Other supported types are\n * `'image/jpeg'` and `'image/webp'`.\n *\n * @param {string} format='image/png' A string indicating the image format.\n * The default format type is `'image/png'`.\n * @param {number} quality=1 A number between 0 and 1 indicating the image\n * quality to use for image formats that use lossy compression such as\n * `'image/jpeg'`` and `'image/webp'`.\n * @param {string} type Image data type to return. Either 'blob' (default)\n * or 'dataURL'.\n * @return {string|string[]|Promise} When using `'dataURL'` `type` this returns\n * a single data URL or an array of data URLs, one for each canvas. The `'blob'`\n * `type` returns a `Promise` resolving with an array of `Blob` instances, one\n * for each canvas.\n */\n exportImage(format, quality, type = 'blob') {\n return this.surfer.exportImage(format, quality, type);\n }\n\n /**\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n */\n setAudioOutput(deviceId) {\n if (deviceId) {\n this.surfer.setSinkId(deviceId).then((result) => {\n // notify listeners\n this.player.trigger(Event.AUDIO_OUTPUT_READY);\n }).catch((err) => {\n // notify listeners\n this.player.trigger(Event.ERROR, err);\n\n this.log(err, 'error');\n });\n }\n }\n\n /**\n * Get the current time (in seconds) of the stream during playback.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Current time of the stream.\n */\n getCurrentTime() {\n let currentTime = this.surfer.getCurrentTime();\n currentTime = isNaN(currentTime) ? 0 : currentTime;\n\n return currentTime;\n }\n\n /**\n * Updates the player's element displaying the current time.\n *\n * @param {number} [currentTime] - Current position of the playhead\n * (in seconds).\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n */\n setCurrentTime(currentTime, duration) {\n if (currentTime === undefined) {\n currentTime = this.surfer.getCurrentTime();\n }\n\n if (duration === undefined) {\n duration = this.surfer.getDuration();\n }\n\n currentTime = isNaN(currentTime) ? 0 : currentTime;\n duration = isNaN(duration) ? 0 : duration;\n\n // update current time display component\n if (this.player.controlBar.currentTimeDisplay &&\n this.player.controlBar.currentTimeDisplay.contentEl() &&\n this.player.controlBar.currentTimeDisplay.contentEl().lastChild) {\n let time = Math.min(currentTime, duration);\n\n this.player.controlBar.currentTimeDisplay.formattedTime_ =\n this.player.controlBar.currentTimeDisplay.contentEl().lastChild.textContent =\n this._formatTime(time, duration, this.displayMilliseconds);\n }\n\n if (this.textTracksEnabled && this.player.tech_ && this.player.tech_.el_) {\n // only needed for text tracks\n this.player.tech_.setCurrentTime(currentTime);\n }\n }\n\n /**\n * Get the duration of the stream in seconds.\n *\n * Returns 0 if no stream is available (yet).\n *\n * @returns {float} Duration of the stream.\n */\n getDuration() {\n let duration = this.surfer.getDuration();\n duration = isNaN(duration) ? 0 : duration;\n\n return duration;\n }\n\n /**\n * Updates the player's element displaying the duration time.\n *\n * @param {number} [duration] - Duration of the waveform (in seconds).\n * @private\n */\n setDuration(duration) {\n if (duration === undefined) {\n duration = this.surfer.getDuration();\n }\n duration = isNaN(duration) ? 0 : duration;\n\n // update duration display component\n if (this.player.controlBar.durationDisplay &&\n this.player.controlBar.durationDisplay.contentEl() &&\n this.player.controlBar.durationDisplay.contentEl().lastChild) {\n this.player.controlBar.durationDisplay.formattedTime_ =\n this.player.controlBar.durationDisplay.contentEl().lastChild.textContent =\n this._formatTime(duration, duration, this.displayMilliseconds);\n }\n }\n\n /**\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n */\n onWaveReady() {\n this.waveReady = true;\n this.waveFinished = false;\n this.liveMode = false;\n\n this.log('Waveform is ready');\n this.player.trigger(Event.WAVE_READY);\n\n if (this.backend === WEBAUDIO) {\n // update time display\n this.setCurrentTime();\n this.setDuration();\n\n // enable and show play button\n if (this.player.controlBar.playToggle !== undefined &&\n this.player.controlBar.playToggle.contentEl()) {\n this.player.controlBar.playToggle.show();\n }\n }\n\n // hide loading spinner\n if (this.player.loadingSpinner.contentEl()) {\n this.player.loadingSpinner.hide();\n }\n\n // auto-play when ready (if enabled)\n if (this.player.options_.autoplay === true) {\n // autoplay is only allowed when audio is muted\n this.setVolume(0);\n\n // try auto-play\n if (this.backend === WEBAUDIO) {\n this.play();\n } else {\n this.player.play().catch(e => {\n this.onWaveError(e);\n });\n }\n }\n }\n\n /**\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n */\n onWaveFinish() {\n this.log('Finished playback');\n\n // notify listeners\n this.player.trigger(Event.PLAYBACK_FINISH);\n\n // check if loop is enabled\n if (this.player.options_.loop === true) {\n if (this.backend === WEBAUDIO) {\n // reset waveform\n this.surfer.stop();\n this.play();\n }\n } else {\n // finished\n this.waveFinished = true;\n\n if (this.backend === WEBAUDIO) {\n // pause player\n this.pause();\n\n // show the replay state of play toggle\n this.player.trigger(Event.ENDED);\n\n // this gets called once after the clip has ended and the user\n // seeks so that we can change the replay button back to a play\n // button\n this.surfer.once(Event.SEEK, () => {\n if (this.player.controlBar.playToggle !== undefined) {\n this.player.controlBar.playToggle.removeClass('vjs-ended');\n }\n this.player.trigger(Event.PAUSE);\n });\n }\n }\n }\n\n /**\n * Fires continuously during audio playback.\n *\n * @param {number} time - Current time/location of the playhead.\n * @private\n */\n onWaveProgress(time) {\n this.setCurrentTime();\n }\n\n /**\n * Fires during seeking of the waveform.\n *\n * @private\n */\n onWaveSeek() {\n this.setCurrentTime();\n }\n\n /**\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n */\n onWaveError(error) {\n // notify listeners\n if (error.name && error.name === 'AbortError' ||\n error.name === 'DOMException' && error.message.startsWith('The operation was aborted'))\n {\n this.player.trigger(Event.ABORT, error);\n } else {\n this.player.trigger(Event.ERROR, error);\n\n this.log(error, 'error');\n }\n }\n\n /**\n * Fired when the play toggle is clicked.\n * @private\n */\n onPlayToggle() {\n if (this.player.controlBar.playToggle !== undefined &&\n this.player.controlBar.playToggle.hasClass('vjs-ended')) {\n this.player.controlBar.playToggle.removeClass('vjs-ended');\n }\n if (this.surfer.isPlaying()) {\n this.pause();\n } else {\n this.play();\n }\n }\n\n /**\n * Fired when the volume in the video.js player changes.\n * @private\n */\n onVolumeChange() {\n let volume = this.player.volume();\n if (this.player.muted()) {\n // muted volume\n volume = 0;\n }\n\n // update wavesurfer.js volume\n this.surfer.setVolume(volume);\n }\n\n /**\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n */\n onScreenChange() {\n // execute with tiny delay so the player element completes\n // rendering and correct dimensions are reported\n let fullscreenDelay = this.player.setInterval(() => {\n let isFullscreen = this.player.isFullscreen();\n let newWidth, newHeight;\n if (!isFullscreen) {\n // restore original dimensions\n newWidth = this.originalWidth;\n newHeight = this.originalHeight;\n }\n\n if (this.waveReady) {\n if (this.liveMode && !this.surfer.microphone.active) {\n // we're in live mode but the microphone hasn't been\n // started yet\n return;\n }\n // redraw\n this.redrawWaveform(newWidth, newHeight);\n }\n\n // stop fullscreenDelay interval\n this.player.clearInterval(fullscreenDelay);\n\n }, 100);\n }\n\n /**\n * Fired when the video.js player is resized.\n *\n * @private\n */\n onResizeChange() {\n if (this.surfer !== undefined) {\n // redraw waveform\n this.redrawWaveform();\n }\n }\n\n /**\n * Redraw waveform.\n *\n * @param {number} [newWidth] - New width for the waveform.\n * @param {number} [newHeight] - New height for the waveform.\n * @private\n */\n redrawWaveform(newWidth, newHeight) {\n if (!this.isDestroyed()) {\n if (this.player.el_) {\n let rect = this.player.el_.getBoundingClientRect();\n if (newWidth === undefined) {\n // get player width\n newWidth = rect.width;\n }\n if (newHeight === undefined) {\n // get player height\n newHeight = rect.height;\n }\n }\n\n // destroy old drawing\n this.surfer.drawer.destroy();\n\n // set new dimensions\n this.surfer.params.width = newWidth;\n this.surfer.params.height = newHeight - this.player.controlBar.height();\n\n // redraw waveform\n this.surfer.createDrawer();\n this.surfer.drawer.wrapper.className = wavesurferClassName;\n this.surfer.drawBuffer();\n\n // make sure playhead is restored at right position\n this.surfer.drawer.progress(this.surfer.backend.getPlayedPercents());\n }\n }\n\n /**\n * Log message to console (if the debug option is enabled).\n *\n * @private\n * @param {Array} args - The arguments to be passed to the matching console\n * method.\n * @param {string} logType - The name of the console method to use.\n */\n log(args, logType) {\n log(args, logType, this.debug);\n }\n\n /**\n * Replaces the default `formatTime` implementation with a custom implementation.\n *\n * @param {function} customImplementation - A function which will be used in place\n * of the default `formatTime` implementation. Will receive the current time\n * in seconds and the guide (in seconds) as arguments.\n */\n setFormatTime(customImplementation) {\n this._formatTime = customImplementation;\n\n videojs.setFormatTime(this._formatTime);\n }\n}\n\n// version nr is injected during build\nWavesurfer.VERSION = __VERSION__;\n\n// register plugin once\nvideojs.Wavesurfer = Wavesurfer;\nif (videojs.getPlugin(wavesurferPluginName) === undefined) {\n videojs.registerPlugin(wavesurferPluginName, Wavesurfer);\n}\n\n// register a star-middleware\nvideojs.use('*', player => {\n // make player available on middleware\n WavesurferMiddleware.player = player;\n\n return WavesurferMiddleware;\n});\n\nexport {Wavesurfer};", "static": true, "longname": "/home/thijs/projects/videojs-wavesurfer/src/js/videojs.wavesurfer.js", "access": "public", @@ -1191,7 +1191,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#initialize", "access": "private", "description": "Player UI is ready: customize controls.", - "lineNumber": 72, + "lineNumber": 78, "params": [], "return": null }, @@ -1204,7 +1204,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#surfer", "access": "public", "description": null, - "lineNumber": 129, + "lineNumber": 135, "undocument": true, "type": { "types": [ @@ -1221,7 +1221,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#surferReady", "access": "public", "description": null, - "lineNumber": 151, + "lineNumber": 157, "undocument": true, "type": { "types": [ @@ -1238,7 +1238,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#surferProgress", "access": "public", "description": null, - "lineNumber": 153, + "lineNumber": 159, "undocument": true, "type": { "types": [ @@ -1255,7 +1255,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#surferSeek", "access": "public", "description": null, - "lineNumber": 154, + "lineNumber": 160, "undocument": true, "type": { "types": [ @@ -1272,7 +1272,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#responsiveWave", "access": "public", "description": null, - "lineNumber": 177, + "lineNumber": 183, "undocument": true, "type": { "types": [ @@ -1291,7 +1291,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#parseOptions", "access": "private", "description": "Initializes the waveform options.", - "lineNumber": 190, + "lineNumber": 196, "unknown": [ { "tagName": "@returns", @@ -1328,7 +1328,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#originalWidth", "access": "public", "description": null, - "lineNumber": 192, + "lineNumber": 198, "undocument": true, "type": { "types": [ @@ -1345,7 +1345,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#originalHeight", "access": "public", "description": null, - "lineNumber": 193, + "lineNumber": 199, "undocument": true, "type": { "types": [ @@ -1364,7 +1364,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#setupPlaybackEvents", "access": "private", "description": "Starts or stops listening to events related to audio-playback.", - "lineNumber": 246, + "lineNumber": 252, "params": [ { "nullable": null, @@ -1390,7 +1390,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#load", "access": "public", "description": "Start loading waveform data.", - "lineNumber": 270, + "lineNumber": 276, "params": [ { "nullable": null, @@ -1429,7 +1429,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#loadPeaks", "access": "public", "description": "Start loading waveform data.", - "lineNumber": 298, + "lineNumber": 304, "params": [ { "nullable": null, @@ -1468,7 +1468,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#play", "access": "public", "description": "Start/resume playback or microphone.", - "lineNumber": 339, + "lineNumber": 344, "params": [], "return": null }, @@ -1483,7 +1483,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#pause", "access": "public", "description": "Pauses playback or microphone visualization.", - "lineNumber": 377, + "lineNumber": 382, "params": [], "return": null }, @@ -1498,7 +1498,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#dispose", "access": "private", "description": "", - "lineNumber": 406, + "lineNumber": 411, "params": [], "return": null }, @@ -1513,7 +1513,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#isDestroyed", "access": "public", "description": "Indicates whether the plugin is destroyed or not.", - "lineNumber": 424, + "lineNumber": 429, "return": { "nullable": null, "types": [ @@ -1535,7 +1535,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#destroy", "access": "public", "description": "Remove the player and waveform.", - "lineNumber": 431, + "lineNumber": 436, "params": [], "return": null }, @@ -1550,7 +1550,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#setVolume", "access": "public", "description": "Set the volume level.", - "lineNumber": 440, + "lineNumber": 445, "params": [ { "nullable": null, @@ -1576,7 +1576,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#exportImage", "access": "public", "description": "Save waveform image as data URI.\n\nThe default format is `'image/png'`. Other supported types are\n`'image/jpeg'` and `'image/webp'`.", - "lineNumber": 467, + "lineNumber": 472, "params": [ { "nullable": null, @@ -1635,7 +1635,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#setAudioOutput", "access": "public", "description": "Change the audio output device.", - "lineNumber": 476, + "lineNumber": 481, "params": [ { "nullable": null, @@ -1661,7 +1661,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#getCurrentTime", "access": "public", "description": "Get the current time (in seconds) of the stream during playback.\n\nReturns 0 if no stream is available (yet).", - "lineNumber": 497, + "lineNumber": 502, "unknown": [ { "tagName": "@returns", @@ -1689,7 +1689,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#setCurrentTime", "access": "private", "description": "Updates the player's element displaying the current time.", - "lineNumber": 512, + "lineNumber": 517, "params": [ { "nullable": null, @@ -1725,7 +1725,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#getDuration", "access": "public", "description": "Get the duration of the stream in seconds.\n\nReturns 0 if no stream is available (yet).", - "lineNumber": 548, + "lineNumber": 553, "unknown": [ { "tagName": "@returns", @@ -1753,7 +1753,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#setDuration", "access": "private", "description": "Updates the player's element displaying the duration time.", - "lineNumber": 561, + "lineNumber": 566, "params": [ { "nullable": null, @@ -1779,7 +1779,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onWaveReady", "access": "private", "description": "Audio is loaded, decoded and the waveform is drawn.", - "lineNumber": 583, + "lineNumber": 588, "unknown": [ { "tagName": "@fires", @@ -1800,7 +1800,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onWaveFinish", "access": "private", "description": "Fires when audio playback completed.", - "lineNumber": 630, + "lineNumber": 635, "unknown": [ { "tagName": "@fires", @@ -1821,7 +1821,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onWaveProgress", "access": "private", "description": "Fires continuously during audio playback.", - "lineNumber": 673, + "lineNumber": 678, "params": [ { "nullable": null, @@ -1847,7 +1847,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onWaveSeek", "access": "private", "description": "Fires during seeking of the waveform.", - "lineNumber": 682, + "lineNumber": 687, "params": [], "return": null }, @@ -1862,7 +1862,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onWaveError", "access": "private", "description": "Waveform error.", - "lineNumber": 692, + "lineNumber": 697, "params": [ { "nullable": null, @@ -1888,7 +1888,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onPlayToggle", "access": "private", "description": "Fired when the play toggle is clicked.", - "lineNumber": 709, + "lineNumber": 714, "params": [], "return": null }, @@ -1903,7 +1903,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onVolumeChange", "access": "private", "description": "Fired when the volume in the video.js player changes.", - "lineNumber": 725, + "lineNumber": 730, "params": [], "return": null }, @@ -1918,7 +1918,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onScreenChange", "access": "private", "description": "Fired when the video.js player switches in or out of fullscreen mode.", - "lineNumber": 740, + "lineNumber": 745, "params": [], "return": null }, @@ -1933,7 +1933,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onResizeChange", "access": "private", "description": "Fired when the video.js player is resized.", - "lineNumber": 773, + "lineNumber": 778, "params": [], "return": null }, @@ -1948,7 +1948,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#redrawWaveform", "access": "private", "description": "Redraw waveform.", - "lineNumber": 787, + "lineNumber": 792, "params": [ { "nullable": null, @@ -1984,7 +1984,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#log", "access": "private", "description": "Log message to console (if the debug option is enabled).", - "lineNumber": 826, + "lineNumber": 831, "params": [ { "nullable": null, @@ -2009,9 +2009,52 @@ ], "return": null }, + { + "__docId__": 121, + "kind": "method", + "name": "setFormatTime", + "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", + "generator": false, + "async": false, + "static": false, + "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#setFormatTime", + "access": "public", + "description": "Replaces the default `formatTime` implementation with a custom implementation.", + "lineNumber": 842, + "params": [ + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": false, + "name": "customImplementation", + "description": "A function which will be used in place\n of the default `formatTime` implementation. Will receive the current time\n in seconds and the guide (in seconds) as arguments." + } + ], + "return": null + }, + { + "__docId__": 122, + "kind": "member", + "name": "_formatTime", + "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", + "static": false, + "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#_formatTime", + "access": "private", + "description": null, + "lineNumber": 843, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, { "kind": "index", - "content": "videojs-wavesurfer\n==================\n\nA [video.js](https://www.videojs.com/) plugin that adds a navigable waveform\nfor audio and video files, using the [wavesurfer.js](https://github.com/katspaugh/wavesurfer.js)\nlibrary. Includes support for fullscreen mode and [real-time visualization of microphone\ninput](https://collab-project.github.io/videojs-wavesurfer/#/microphone).\n\n![Screenshot](https://raw.githubusercontent.com/collab-project/videojs-wavesurfer/master/docs/img/screenshot.png?raw=true \"Screenshot\")\n\n[![npm version](https://img.shields.io/npm/v/videojs-wavesurfer.svg?style=flat)](https://www.npmjs.com/package/videojs-wavesurfer)\n[![npm](https://img.shields.io/npm/dm/videojs-wavesurfer.svg)](https://github.com/collab-project/videojs-wavesurfer/releases)\n[![License](https://img.shields.io/npm/l/videojs-wavesurfer.svg)](LICENSE)\n[![Build Status](https://travis-ci.org/collab-project/videojs-wavesurfer.svg?branch=master)](https://travis-ci.org/collab-project/videojs-wavesurfer)\n[![Coverage Status](https://coveralls.io/repos/github/collab-project/videojs-wavesurfer/badge.svg?branch=master)](https://coveralls.io/github/collab-project/videojs-wavesurfer?branch=master)\n![Size](https://img.shields.io/bundlephobia/minzip/videojs-wavesurfer.svg?style=flat)\n![Stars](https://img.shields.io/github/stars/collab-project/videojs-wavesurfer.svg?style=social)\n\n## Documentation\n\nThe documentation and examples can be found on: https://collab-project.github.io/videojs-wavesurfer\n\n## License\n\nThis work is licensed under the [MIT License](LICENSE).\n", + "content": "videojs-wavesurfer\n==================\n\nA [video.js](https://www.videojs.com/) plugin that adds a navigable waveform\nfor audio and video files, using the [wavesurfer.js](https://github.com/katspaugh/wavesurfer.js)\nlibrary. Includes support for fullscreen mode and [real-time visualization of microphone\ninput](https://collab-project.github.io/videojs-wavesurfer/#/microphone).\n\n![Screenshot](https://raw.githubusercontent.com/collab-project/videojs-wavesurfer/master/docs/img/screenshot.png?raw=true \"Screenshot\")\n\n[![npm version](https://img.shields.io/npm/v/videojs-wavesurfer.svg?style=flat)](https://www.npmjs.com/package/videojs-wavesurfer)\n[![npm](https://img.shields.io/npm/dm/videojs-wavesurfer.svg)](https://github.com/collab-project/videojs-wavesurfer/releases)\n[![License](https://img.shields.io/npm/l/videojs-wavesurfer.svg)](LICENSE)\n[![Build Status](https://github.com/collab-project/videojs-wavesurfer/workflows/videojs-wavesurfer/badge.svg?branch=master)](https://github.com/collab-project/videojs-wavesurfer/actions?workflow=videojs-wavesurfer)\n[![Coverage Status](https://coveralls.io/repos/github/collab-project/videojs-wavesurfer/badge.svg?branch=master)](https://coveralls.io/github/collab-project/videojs-wavesurfer?branch=master)\n![Size](https://img.shields.io/bundlephobia/minzip/videojs-wavesurfer.svg?style=flat)\n![Stars](https://img.shields.io/github/stars/collab-project/videojs-wavesurfer.svg?style=social)\n\n## Documentation\n\nThe documentation and examples can be found on: https://collab-project.github.io/videojs-wavesurfer\n\n## License\n\nThis work is licensed under the [MIT License](LICENSE).\n", "longname": "/home/thijs/projects/videojs-wavesurfer/README.md", "name": "./README.md", "static": true, @@ -2019,7 +2062,7 @@ }, { "kind": "packageJSON", - "content": "{\n \"name\": \"videojs-wavesurfer\",\n \"version\": \"3.2.0\",\n \"description\": \"video.js plugin that adds a navigable waveform for audio and video files.\",\n \"author\": \"Collab\",\n \"license\": \"MIT\",\n \"readmeFilename\": \"README.md\",\n \"bugs\": {\n \"url\": \"https://github.com/collab-project/videojs-wavesurfer/issues\"\n },\n \"homepage\": \"https://github.com/collab-project/videojs-wavesurfer\",\n \"main\": \"dist/videojs.wavesurfer.js\",\n \"style\": \"dist/css/videojs.wavesurfer.css\",\n \"sass\": \"src/css/videojs.wavesurfer.scss\",\n \"directories\": {\n \"docs\": \"./docs\",\n \"lib\": \"./src\",\n \"example\": \"./examples\",\n \"test\": \"./test\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/collab-project/videojs-wavesurfer.git\"\n },\n \"scripts\": {\n \"clean\": \"rimraf dist\",\n \"build\": \"npm run clean && npm run lint && npm run build:dev && npm run build:min\",\n \"build:dev\": \"webpack --config ./build-config/webpack.dev.main.js\",\n \"build:min\": \"webpack --config ./build-config/webpack.prod.main.js\",\n \"docs\": \"npm-run-all docs:*\",\n \"docs:api\": \"rimraf docs/api && esdoc\",\n \"lint\": \"npm-run-all lint:*\",\n \"lint:js\": \"eslint src/js test build-config\",\n \"lint:html\": \"htmlhint examples docs/demo\",\n \"start\": \"npm run build && webpack-dev-server --config ./build-config/webpack.dev.main.js\",\n \"test\": \"karma start karma.conf.js\",\n \"prepublishOnly\": \"not-in-install && npm run build || in-install\"\n },\n \"files\": [\n \"dist/\",\n \"src/\"\n ],\n \"keywords\": [\n \"waveform\",\n \"audio\",\n \"video\",\n \"wavesurfer\",\n \"videojs\",\n \"videojs-plugin\",\n \"player\"\n ],\n \"dependencies\": {\n \"video.js\": \">=7.0.5\",\n \"wavesurfer.js\": \">=3.3.3\"\n },\n \"devDependencies\": {\n \"@babel/core\": \"^7.9.6\",\n \"@babel/preset-env\": \"^7.9.6\",\n \"@babel/register\": \"^7.9.0\",\n \"@jsdevtools/host-environment\": \"^2.0.3\",\n \"@jsdevtools/karma-host-environment\": \"^3.0.2\",\n \"add-zero\": \"^1.0.0\",\n \"babel-loader\": \"^8.1.0\",\n \"babel-plugin-add-module-exports\": \"^1.0.2\",\n \"babel-plugin-istanbul\": \"^6.0.0\",\n \"browserslist\": \"^4.12.0\",\n \"css-loader\": \"^3.5.3\",\n \"date-fns\": \"^2.14.0\",\n \"docsify-cli\": \"^4.4.0\",\n \"esdoc\": \"^1.1.0\",\n \"esdoc-standard-plugin\": \"^1.0.0\",\n \"eslint\": \"^7.0.0\",\n \"htmlhint\": \"^0.13.0\",\n \"in-publish\": \"^2.0.1\",\n \"jasmine-core\": \"^3.5.0\",\n \"karma\": \"^5.0.8\",\n \"karma-chrome-launcher\": \"^3.1.0\",\n \"karma-coverage\": \"^2.0.2\",\n \"karma-coveralls\": \"^2.1.0\",\n \"karma-detect-browsers\": \"^2.3.3\",\n \"karma-edge-launcher\": \"^0.4.2\",\n \"karma-firefox-launcher\": \"^1.3.0\",\n \"karma-jasmine\": \"^3.1.1\",\n \"karma-jasmine-matchers\": \"^4.0.2\",\n \"karma-safari-launcher\": \"^1.0.0\",\n \"karma-safaritechpreview-launcher\": \"^2.0.2\",\n \"karma-verbose-reporter\": \"0.0.6\",\n \"karma-webpack\": \"^4.0.2\",\n \"mini-css-extract-plugin\": \"^0.9.0\",\n \"node-sass\": \"^4.14.1\",\n \"npm-run-all\": \"^4.1.5\",\n \"optimize-css-assets-webpack-plugin\": \"^5.0.3\",\n \"parse-ms\": \"^2.1.0\",\n \"replace-in-file\": \"^6.0.0\",\n \"rimraf\": \"^3.0.2\",\n \"sass-loader\": \"^8.0.2\",\n \"style-loader\": \"^1.2.1\",\n \"terser-webpack-plugin\": \"^3.0.1\",\n \"webpack\": \"^4.43.0\",\n \"webpack-cli\": \"^3.3.11\",\n \"webpack-dev-server\": \"^3.11.0\",\n \"webpack-merge\": \"^4.2.2\",\n \"webrtc-adapter\": \"^7.6.0\"\n }\n}\n", + "content": "{\n \"name\": \"videojs-wavesurfer\",\n \"version\": \"3.5.0\",\n \"description\": \"video.js plugin that adds a navigable waveform for audio and video files.\",\n \"author\": \"Collab\",\n \"license\": \"MIT\",\n \"readmeFilename\": \"README.md\",\n \"bugs\": {\n \"url\": \"https://github.com/collab-project/videojs-wavesurfer/issues\"\n },\n \"homepage\": \"https://github.com/collab-project/videojs-wavesurfer\",\n \"main\": \"dist/videojs.wavesurfer.js\",\n \"style\": \"dist/css/videojs.wavesurfer.css\",\n \"sass\": \"src/css/videojs.wavesurfer.scss\",\n \"directories\": {\n \"docs\": \"./docs\",\n \"lib\": \"./src\",\n \"example\": \"./examples\",\n \"test\": \"./test\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/collab-project/videojs-wavesurfer.git\"\n },\n \"scripts\": {\n \"clean\": \"rimraf dist\",\n \"build\": \"npm run clean && npm run lint && npm run build:dev && npm run build:min\",\n \"build:dev\": \"webpack --config ./build-config/webpack.dev.main.js\",\n \"build:min\": \"webpack --config ./build-config/webpack.prod.main.js\",\n \"docs\": \"npm-run-all docs:*\",\n \"docs:api\": \"rimraf docs/api && esdoc\",\n \"lint\": \"npm-run-all lint:*\",\n \"lint:js\": \"eslint src/js test build-config\",\n \"lint:html\": \"htmlhint examples docs/demo\",\n \"start\": \"npm run build && webpack serve --config ./build-config/webpack.dev.main.js\",\n \"start-doc\": \"docsify serve docs\",\n \"test\": \"karma start karma.conf.js\",\n \"prepublishOnly\": \"not-in-install && npm run build || in-install\"\n },\n \"files\": [\n \"dist/\",\n \"src/\"\n ],\n \"keywords\": [\n \"waveform\",\n \"audio\",\n \"video\",\n \"wavesurfer\",\n \"videojs\",\n \"videojs-plugin\",\n \"player\"\n ],\n \"dependencies\": {\n \"video.js\": \">=7.0.5\",\n \"wavesurfer.js\": \">=4.4.0\"\n },\n \"devDependencies\": {\n \"@babel/core\": \"^7.12.10\",\n \"@babel/preset-env\": \"^7.12.11\",\n \"@babel/register\": \"^7.12.10\",\n \"@jsdevtools/host-environment\": \"^2.1.2\",\n \"@jsdevtools/karma-host-environment\": \"^3.0.3\",\n \"add-zero\": \"^1.0.0\",\n \"babel-loader\": \"^8.2.2\",\n \"babel-plugin-add-module-exports\": \"^1.0.4\",\n \"babel-plugin-istanbul\": \"^6.0.0\",\n \"browserslist\": \"^4.16.3\",\n \"css-loader\": \"^5.0.1\",\n \"css-minimizer-webpack-plugin\": \"^1.2.0\",\n \"date-fns\": \"^2.16.1\",\n \"docsify-cli\": \"^4.4.2\",\n \"esdoc\": \"^1.1.0\",\n \"esdoc-standard-plugin\": \"^1.0.0\",\n \"eslint\": \"^7.19.0\",\n \"htmlhint\": \"^0.14.2\",\n \"in-publish\": \"^2.0.1\",\n \"jasmine-core\": \"^3.6.0\",\n \"karma\": \"^5.2.3\",\n \"karma-chrome-launcher\": \"^3.1.0\",\n \"karma-coverage\": \"^2.0.3\",\n \"karma-detect-browsers\": \"^2.3.3\",\n \"karma-firefox-launcher\": \"^2.1.0\",\n \"karma-jasmine\": \"^4.0.1\",\n \"karma-jasmine-matchers\": \"^4.0.2\",\n \"karma-verbose-reporter\": \"0.0.6\",\n \"karma-webpack\": \"^5.0.0-alpha.6\",\n \"mini-css-extract-plugin\": \"^1.3.5\",\n \"npm-run-all\": \"^4.1.5\",\n \"parse-ms\": \"^2.1.0\",\n \"replace-in-file\": \"^6.2.0\",\n \"rimraf\": \"^3.0.2\",\n \"sass\": \"^1.32.5\",\n \"sass-loader\": \"^10.1.1\",\n \"style-loader\": \"^2.0.0\",\n \"webpack\": \"^5.19.0\",\n \"webpack-cli\": \"^4.4.0\",\n \"webpack-dev-server\": \"^4.0.0-beta.0\",\n \"webpack-merge\": \"^5.7.3\",\n \"webpack-remove-empty-scripts\": \"^0.7.1\",\n \"webrtc-adapter\": \"^7.7.0\"\n }\n}\n", "longname": "/home/thijs/projects/videojs-wavesurfer/package.json", "name": "package.json", "static": true, diff --git a/docs/api/script/search_index.js b/docs/api/script/search_index.js index 9599bb9c..8dca1ed9 100644 --- a/docs/api/script/search_index.js +++ b/docs/api/script/search_index.js @@ -359,6 +359,12 @@ window.esdocSearchIndex = [ "src/js/videojs.wavesurfer.js", "file" ], + [ + "src/js/videojs.wavesurfer.js~wavesurfer#_formattime", + "class/src/js/videojs.wavesurfer.js~Wavesurfer.html#instance-member-_formatTime", + "src/js/videojs.wavesurfer.js~Wavesurfer#_formatTime", + "member" + ], [ "src/js/videojs.wavesurfer.js~wavesurfer#backend", "class/src/js/videojs.wavesurfer.js~Wavesurfer.html#instance-member-backend", @@ -563,6 +569,12 @@ window.esdocSearchIndex = [ "src/js/videojs.wavesurfer.js~Wavesurfer#setDuration", "method" ], + [ + "src/js/videojs.wavesurfer.js~wavesurfer#setformattime", + "class/src/js/videojs.wavesurfer.js~Wavesurfer.html#instance-method-setFormatTime", + "src/js/videojs.wavesurfer.js~Wavesurfer#setFormatTime", + "method" + ], [ "src/js/videojs.wavesurfer.js~wavesurfer#setvolume", "class/src/js/videojs.wavesurfer.js~Wavesurfer.html#instance-method-setVolume", diff --git a/docs/api/source.html b/docs/api/source.html index f480504c..9ec6acfe 100644 --- a/docs/api/source.html +++ b/docs/api/source.html @@ -40,7 +40,7 @@
-

Source 35/58

+

Source 36/60

@@ -96,13 +96,13 @@ - + - - - - + + + +
2019-08-05 12:59:58 (UTC)
src/js/videojs.wavesurfer.jssrc/js/videojs.wavesurfer.js Plugin Wavesurfer58 %30/5127736 byte8472020-05-02 22:03:03 (UTC)58 %31/5328450 byte8652021-02-02 18:42:56 (UTC)
diff --git a/package-lock.json b/package-lock.json index a3ad44e4..f93ea67c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "videojs-wavesurfer", - "version": "3.4.0", + "version": "3.5.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index c894dafc..2d729125 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "videojs-wavesurfer", - "version": "3.4.0", + "version": "3.5.0", "description": "video.js plugin that adds a navigable waveform for audio and video files.", "author": "Collab", "license": "MIT",