From 986cf83237ccf4f1dd365feb74ebb8f199e1a22c Mon Sep 17 00:00:00 2001 From: Thijs Triemstra Date: Tue, 23 Mar 2021 14:57:28 +0100 Subject: [PATCH] bump version: 3.7.0 --- CHANGES.md | 2 +- .../ast/source/js/videojs.wavesurfer.js.json | 57977 ++++++++-------- .../js/videojs.wavesurfer.js~Wavesurfer.html | 204 +- docs/api/coverage.json | 17 +- .../file/src/js/videojs.wavesurfer.js.html | 16 - docs/api/index.json | 154 +- docs/api/script/search_index.js | 12 - docs/api/source.html | 14 +- package-lock.json | 2 +- package.json | 2 +- 10 files changed, 27479 insertions(+), 30921 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index c0d222d..8a8aa9e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,6 @@ # videojs-wavesurfer changelog -## 3.7.0 - unreleased +## 3.7.0 - 2021/03/23 - Remove unneccessary resize handler for `fluid` mode (#132) diff --git a/docs/api/ast/source/js/videojs.wavesurfer.js.json b/docs/api/ast/source/js/videojs.wavesurfer.js.json index 85b047d..1ff7188 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": 28450, + "end": 27981, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 866, + "line": 850, "column": 20 } }, "program": { "type": "Program", "start": 0, - "end": 28450, + "end": 27981, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 866, + "line": 850, "column": 20 } }, @@ -1216,14 +1216,14 @@ { "type": "Identifier", "start": 942, - "end": 27988, + "end": 27519, "loc": { "start": { "line": 35, "column": 0 }, "end": { - "line": 847, + "line": 831, "column": 1 } }, @@ -1265,14 +1265,14 @@ "body": { "type": "ClassBody", "start": 974, - "end": 27988, + "end": 27519, "loc": { "start": { "line": 35, "column": 32 }, "end": { - "line": 847, + "line": 831, "column": 1 } }, @@ -3844,14 +3844,14 @@ { "type": "ClassMethod", "start": 2379, - "end": 7043, + "end": 6810, "loc": { "start": { "line": 78, "column": 4 }, "end": { - "line": 187, + "line": 183, "column": 5 } }, @@ -3884,14 +3884,14 @@ "body": { "type": "BlockStatement", "start": 2392, - "end": 7043, + "end": 6810, "loc": { "start": { "line": 78, "column": 17 }, "end": { - "line": 187, + "line": 183, "column": 5 } }, @@ -12391,14 +12391,14 @@ { "type": "IfStatement", "start": 6615, - "end": 7037, + "end": 6804, "loc": { "start": { "line": 179, "column": 8 }, "end": { - "line": 186, + "line": 182, "column": 9 } }, @@ -12556,14 +12556,14 @@ "consequent": { "type": "BlockStatement", "start": 6656, - "end": 7037, + "end": 6804, "loc": { "start": { "line": 179, "column": 49 }, "end": { - "line": 186, + "line": 182, "column": 9 } }, @@ -12785,538 +12785,7 @@ } } } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " listen for window resize events", - "start": 6807, - "end": 6841, - "loc": { - "start": { - "line": 182, - "column": 12 - }, - "end": { - "line": 182, - "column": 46 - } - } - } ] - }, - { - "type": "ExpressionStatement", - "start": 6854, - "end": 6955, - "loc": { - "start": { - "line": 183, - "column": 12 - }, - "end": { - "line": 184, - "column": 53 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 6854, - "end": 6954, - "loc": { - "start": { - "line": 183, - "column": 12 - }, - "end": { - "line": 184, - "column": 52 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 6854, - "end": 6873, - "loc": { - "start": { - "line": 183, - "column": 12 - }, - "end": { - "line": 183, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 6854, - "end": 6858, - "loc": { - "start": { - "line": 183, - "column": 12 - }, - "end": { - "line": 183, - "column": 16 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 6859, - "end": 6873, - "loc": { - "start": { - "line": 183, - "column": 17 - }, - "end": { - "line": 183, - "column": 31 - }, - "identifierName": "responsiveWave" - }, - "name": "responsiveWave" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "CallExpression", - "start": 6876, - "end": 6954, - "loc": { - "start": { - "line": 183, - "column": 34 - }, - "end": { - "line": 184, - "column": 52 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6876, - "end": 6900, - "loc": { - "start": { - "line": 183, - "column": 34 - }, - "end": { - "line": 183, - "column": 58 - } - }, - "object": { - "type": "MemberExpression", - "start": 6876, - "end": 6891, - "loc": { - "start": { - "line": 183, - "column": 34 - }, - "end": { - "line": 183, - "column": 49 - } - }, - "object": { - "type": "Identifier", - "start": 6876, - "end": 6886, - "loc": { - "start": { - "line": 183, - "column": 34 - }, - "end": { - "line": 183, - "column": 44 - }, - "identifierName": "WaveSurfer" - }, - "name": "WaveSurfer" - }, - "property": { - "type": "Identifier", - "start": 6887, - "end": 6891, - "loc": { - "start": { - "line": 183, - "column": 45 - }, - "end": { - "line": 183, - "column": 49 - }, - "identifierName": "util" - }, - "name": "util" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6892, - "end": 6900, - "loc": { - "start": { - "line": 183, - "column": 50 - }, - "end": { - "line": 183, - "column": 58 - }, - "identifierName": "debounce" - }, - "name": "debounce" - }, - "computed": false - }, - "arguments": [ - { - "type": "CallExpression", - "start": 6918, - "end": 6948, - "loc": { - "start": { - "line": 184, - "column": 16 - }, - "end": { - "line": 184, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6918, - "end": 6942, - "loc": { - "start": { - "line": 184, - "column": 16 - }, - "end": { - "line": 184, - "column": 40 - } - }, - "object": { - "type": "MemberExpression", - "start": 6918, - "end": 6937, - "loc": { - "start": { - "line": 184, - "column": 16 - }, - "end": { - "line": 184, - "column": 35 - } - }, - "object": { - "type": "ThisExpression", - "start": 6918, - "end": 6922, - "loc": { - "start": { - "line": 184, - "column": 16 - }, - "end": { - "line": 184, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 6923, - "end": 6937, - "loc": { - "start": { - "line": 184, - "column": 21 - }, - "end": { - "line": 184, - "column": 35 - }, - "identifierName": "onResizeChange" - }, - "name": "onResizeChange" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6938, - "end": 6942, - "loc": { - "start": { - "line": 184, - "column": 36 - }, - "end": { - "line": 184, - "column": 40 - }, - "identifierName": "bind" - }, - "name": "bind" - }, - "computed": false - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 6943, - "end": 6947, - "loc": { - "start": { - "line": 184, - "column": 41 - }, - "end": { - "line": 184, - "column": 45 - } - } - } - ] - }, - { - "type": "NumericLiteral", - "start": 6950, - "end": 6953, - "loc": { - "start": { - "line": 184, - "column": 48 - }, - "end": { - "line": 184, - "column": 51 - } - }, - "extra": { - "rawValue": 150, - "raw": "150" - }, - "value": 150 - } - ] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " listen for window resize events", - "start": 6807, - "end": 6841, - "loc": { - "start": { - "line": 182, - "column": 12 - }, - "end": { - "line": 182, - "column": 46 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 6968, - "end": 7027, - "loc": { - "start": { - "line": 185, - "column": 12 - }, - "end": { - "line": 185, - "column": 71 - } - }, - "expression": { - "type": "CallExpression", - "start": 6968, - "end": 7026, - "loc": { - "start": { - "line": 185, - "column": 12 - }, - "end": { - "line": 185, - "column": 70 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6968, - "end": 6991, - "loc": { - "start": { - "line": 185, - "column": 12 - }, - "end": { - "line": 185, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 6968, - "end": 6974, - "loc": { - "start": { - "line": 185, - "column": 12 - }, - "end": { - "line": 185, - "column": 18 - }, - "identifierName": "window" - }, - "name": "window" - }, - "property": { - "type": "Identifier", - "start": 6975, - "end": 6991, - "loc": { - "start": { - "line": 185, - "column": 19 - }, - "end": { - "line": 185, - "column": 35 - }, - "identifierName": "addEventListener" - }, - "name": "addEventListener" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 6992, - "end": 7004, - "loc": { - "start": { - "line": 185, - "column": 36 - }, - "end": { - "line": 185, - "column": 48 - } - }, - "object": { - "type": "Identifier", - "start": 6992, - "end": 6997, - "loc": { - "start": { - "line": 185, - "column": 36 - }, - "end": { - "line": 185, - "column": 41 - }, - "identifierName": "Event" - }, - "name": "Event" - }, - "property": { - "type": "Identifier", - "start": 6998, - "end": 7004, - "loc": { - "start": { - "line": 185, - "column": 42 - }, - "end": { - "line": 185, - "column": 48 - }, - "identifierName": "RESIZE" - }, - "name": "RESIZE" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 7006, - "end": 7025, - "loc": { - "start": { - "line": 185, - "column": 50 - }, - "end": { - "line": 185, - "column": 69 - } - }, - "object": { - "type": "ThisExpression", - "start": 7006, - "end": 7010, - "loc": { - "start": { - "line": 185, - "column": 50 - }, - "end": { - "line": 185, - "column": 54 - } - } - }, - "property": { - "type": "Identifier", - "start": 7011, - "end": 7025, - "loc": { - "start": { - "line": 185, - "column": 55 - }, - "end": { - "line": 185, - "column": 69 - }, - "identifierName": "responsiveWave" - }, - "name": "responsiveWave" - }, - "computed": false - } - ] - } } ], "directives": [] @@ -13367,15 +12836,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": 7049, - "end": 7232, + "start": 6816, + "end": 6999, "loc": { "start": { - "line": 189, + "line": 185, "column": 4 }, "end": { - "line": 195, + "line": 191, "column": 7 } } @@ -13384,15 +12853,15 @@ }, { "type": "ClassMethod", - "start": 7237, - "end": 9246, + "start": 7004, + "end": 9013, "loc": { "start": { - "line": 196, + "line": 192, "column": 4 }, "end": { - "line": 243, + "line": 239, "column": 5 } }, @@ -13400,15 +12869,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7237, - "end": 7249, + "start": 7004, + "end": 7016, "loc": { "start": { - "line": 196, + "line": 192, "column": 4 }, "end": { - "line": 196, + "line": 192, "column": 16 }, "identifierName": "parseOptions" @@ -13424,29 +12893,29 @@ "params": [ { "type": "AssignmentPattern", - "start": 7250, - "end": 7265, + "start": 7017, + "end": 7032, "loc": { "start": { - "line": 196, + "line": 192, "column": 17 }, "end": { - "line": 196, + "line": 192, "column": 32 } }, "left": { "type": "Identifier", - "start": 7250, - "end": 7260, + "start": 7017, + "end": 7027, "loc": { "start": { - "line": 196, + "line": 192, "column": 17 }, "end": { - "line": 196, + "line": 192, "column": 27 }, "identifierName": "surferOpts" @@ -13455,15 +12924,15 @@ }, "right": { "type": "ObjectExpression", - "start": 7263, - "end": 7265, + "start": 7030, + "end": 7032, "loc": { "start": { - "line": 196, + "line": 192, "column": 30 }, "end": { - "line": 196, + "line": 192, "column": 32 } }, @@ -13473,59 +12942,59 @@ ], "body": { "type": "BlockStatement", - "start": 7267, - "end": 9246, + "start": 7034, + "end": 9013, "loc": { "start": { - "line": 196, + "line": 192, "column": 34 }, "end": { - "line": 243, + "line": 239, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 7277, - "end": 7328, + "start": 7044, + "end": 7095, "loc": { "start": { - "line": 197, + "line": 193, "column": 8 }, "end": { - "line": 197, + "line": 193, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7281, - "end": 7327, + "start": 7048, + "end": 7094, "loc": { "start": { - "line": 197, + "line": 193, "column": 12 }, "end": { - "line": 197, + "line": 193, "column": 58 } }, "id": { "type": "Identifier", - "start": 7281, - "end": 7285, + "start": 7048, + "end": 7052, "loc": { "start": { - "line": 197, + "line": 193, "column": 12 }, "end": { - "line": 197, + "line": 193, "column": 16 }, "identifierName": "rect" @@ -13534,86 +13003,86 @@ }, "init": { "type": "CallExpression", - "start": 7288, - "end": 7327, + "start": 7055, + "end": 7094, "loc": { "start": { - "line": 197, + "line": 193, "column": 19 }, "end": { - "line": 197, + "line": 193, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 7288, - "end": 7325, + "start": 7055, + "end": 7092, "loc": { "start": { - "line": 197, + "line": 193, "column": 19 }, "end": { - "line": 197, + "line": 193, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 7288, - "end": 7303, + "start": 7055, + "end": 7070, "loc": { "start": { - "line": 197, + "line": 193, "column": 19 }, "end": { - "line": 197, + "line": 193, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 7288, - "end": 7299, + "start": 7055, + "end": 7066, "loc": { "start": { - "line": 197, + "line": 193, "column": 19 }, "end": { - "line": 197, + "line": 193, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 7288, - "end": 7292, + "start": 7055, + "end": 7059, "loc": { "start": { - "line": 197, + "line": 193, "column": 19 }, "end": { - "line": 197, + "line": 193, "column": 23 } } }, "property": { "type": "Identifier", - "start": 7293, - "end": 7299, + "start": 7060, + "end": 7066, "loc": { "start": { - "line": 197, + "line": 193, "column": 24 }, "end": { - "line": 197, + "line": 193, "column": 30 }, "identifierName": "player" @@ -13624,15 +13093,15 @@ }, "property": { "type": "Identifier", - "start": 7300, - "end": 7303, + "start": 7067, + "end": 7070, "loc": { "start": { - "line": 197, + "line": 193, "column": 31 }, "end": { - "line": 197, + "line": 193, "column": 34 }, "identifierName": "el_" @@ -13643,15 +13112,15 @@ }, "property": { "type": "Identifier", - "start": 7304, - "end": 7325, + "start": 7071, + "end": 7092, "loc": { "start": { - "line": 197, + "line": 193, "column": 35 }, "end": { - "line": 197, + "line": 193, "column": 56 }, "identifierName": "getBoundingClientRect" @@ -13668,73 +13137,73 @@ }, { "type": "ExpressionStatement", - "start": 7337, - "end": 7399, + "start": 7104, + "end": 7166, "loc": { "start": { - "line": 198, + "line": 194, "column": 8 }, "end": { - "line": 198, + "line": 194, "column": 70 } }, "expression": { "type": "AssignmentExpression", - "start": 7337, - "end": 7398, + "start": 7104, + "end": 7165, "loc": { "start": { - "line": 198, + "line": 194, "column": 8 }, "end": { - "line": 198, + "line": 194, "column": 69 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 7337, - "end": 7355, + "start": 7104, + "end": 7122, "loc": { "start": { - "line": 198, + "line": 194, "column": 8 }, "end": { - "line": 198, + "line": 194, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 7337, - "end": 7341, + "start": 7104, + "end": 7108, "loc": { "start": { - "line": 198, + "line": 194, "column": 8 }, "end": { - "line": 198, + "line": 194, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7342, - "end": 7355, + "start": 7109, + "end": 7122, "loc": { "start": { - "line": 198, + "line": 194, "column": 13 }, "end": { - "line": 198, + "line": 194, "column": 26 }, "identifierName": "originalWidth" @@ -13745,86 +13214,86 @@ }, "right": { "type": "LogicalExpression", - "start": 7358, - "end": 7398, + "start": 7125, + "end": 7165, "loc": { "start": { - "line": 198, + "line": 194, "column": 29 }, "end": { - "line": 198, + "line": 194, "column": 69 } }, "left": { "type": "MemberExpression", - "start": 7358, - "end": 7384, + "start": 7125, + "end": 7151, "loc": { "start": { - "line": 198, + "line": 194, "column": 29 }, "end": { - "line": 198, + "line": 194, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 7358, - "end": 7378, + "start": 7125, + "end": 7145, "loc": { "start": { - "line": 198, + "line": 194, "column": 29 }, "end": { - "line": 198, + "line": 194, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 7358, - "end": 7369, + "start": 7125, + "end": 7136, "loc": { "start": { - "line": 198, + "line": 194, "column": 29 }, "end": { - "line": 198, + "line": 194, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 7358, - "end": 7362, + "start": 7125, + "end": 7129, "loc": { "start": { - "line": 198, + "line": 194, "column": 29 }, "end": { - "line": 198, + "line": 194, "column": 33 } } }, "property": { "type": "Identifier", - "start": 7363, - "end": 7369, + "start": 7130, + "end": 7136, "loc": { "start": { - "line": 198, + "line": 194, "column": 34 }, "end": { - "line": 198, + "line": 194, "column": 40 }, "identifierName": "player" @@ -13835,15 +13304,15 @@ }, "property": { "type": "Identifier", - "start": 7370, - "end": 7378, + "start": 7137, + "end": 7145, "loc": { "start": { - "line": 198, + "line": 194, "column": 41 }, "end": { - "line": 198, + "line": 194, "column": 49 }, "identifierName": "options_" @@ -13854,15 +13323,15 @@ }, "property": { "type": "Identifier", - "start": 7379, - "end": 7384, + "start": 7146, + "end": 7151, "loc": { "start": { - "line": 198, + "line": 194, "column": 50 }, "end": { - "line": 198, + "line": 194, "column": 55 }, "identifierName": "width" @@ -13874,29 +13343,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 7388, - "end": 7398, + "start": 7155, + "end": 7165, "loc": { "start": { - "line": 198, + "line": 194, "column": 59 }, "end": { - "line": 198, + "line": 194, "column": 69 } }, "object": { "type": "Identifier", - "start": 7388, - "end": 7392, + "start": 7155, + "end": 7159, "loc": { "start": { - "line": 198, + "line": 194, "column": 59 }, "end": { - "line": 198, + "line": 194, "column": 63 }, "identifierName": "rect" @@ -13905,15 +13374,15 @@ }, "property": { "type": "Identifier", - "start": 7393, - "end": 7398, + "start": 7160, + "end": 7165, "loc": { "start": { - "line": 198, + "line": 194, "column": 64 }, "end": { - "line": 198, + "line": 194, "column": 69 }, "identifierName": "width" @@ -13927,73 +13396,73 @@ }, { "type": "ExpressionStatement", - "start": 7408, - "end": 7473, + "start": 7175, + "end": 7240, "loc": { "start": { - "line": 199, + "line": 195, "column": 8 }, "end": { - "line": 199, + "line": 195, "column": 73 } }, "expression": { "type": "AssignmentExpression", - "start": 7408, - "end": 7472, + "start": 7175, + "end": 7239, "loc": { "start": { - "line": 199, + "line": 195, "column": 8 }, "end": { - "line": 199, + "line": 195, "column": 72 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 7408, - "end": 7427, + "start": 7175, + "end": 7194, "loc": { "start": { - "line": 199, + "line": 195, "column": 8 }, "end": { - "line": 199, + "line": 195, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 7408, - "end": 7412, + "start": 7175, + "end": 7179, "loc": { "start": { - "line": 199, + "line": 195, "column": 8 }, "end": { - "line": 199, + "line": 195, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7413, - "end": 7427, + "start": 7180, + "end": 7194, "loc": { "start": { - "line": 199, + "line": 195, "column": 13 }, "end": { - "line": 199, + "line": 195, "column": 27 }, "identifierName": "originalHeight" @@ -14004,86 +13473,86 @@ }, "right": { "type": "LogicalExpression", - "start": 7430, - "end": 7472, + "start": 7197, + "end": 7239, "loc": { "start": { - "line": 199, + "line": 195, "column": 30 }, "end": { - "line": 199, + "line": 195, "column": 72 } }, "left": { "type": "MemberExpression", - "start": 7430, - "end": 7457, + "start": 7197, + "end": 7224, "loc": { "start": { - "line": 199, + "line": 195, "column": 30 }, "end": { - "line": 199, + "line": 195, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 7430, - "end": 7450, + "start": 7197, + "end": 7217, "loc": { "start": { - "line": 199, + "line": 195, "column": 30 }, "end": { - "line": 199, + "line": 195, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 7430, - "end": 7441, + "start": 7197, + "end": 7208, "loc": { "start": { - "line": 199, + "line": 195, "column": 30 }, "end": { - "line": 199, + "line": 195, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 7430, - "end": 7434, + "start": 7197, + "end": 7201, "loc": { "start": { - "line": 199, + "line": 195, "column": 30 }, "end": { - "line": 199, + "line": 195, "column": 34 } } }, "property": { "type": "Identifier", - "start": 7435, - "end": 7441, + "start": 7202, + "end": 7208, "loc": { "start": { - "line": 199, + "line": 195, "column": 35 }, "end": { - "line": 199, + "line": 195, "column": 41 }, "identifierName": "player" @@ -14094,15 +13563,15 @@ }, "property": { "type": "Identifier", - "start": 7442, - "end": 7450, + "start": 7209, + "end": 7217, "loc": { "start": { - "line": 199, + "line": 195, "column": 42 }, "end": { - "line": 199, + "line": 195, "column": 50 }, "identifierName": "options_" @@ -14113,15 +13582,15 @@ }, "property": { "type": "Identifier", - "start": 7451, - "end": 7457, + "start": 7218, + "end": 7224, "loc": { "start": { - "line": 199, + "line": 195, "column": 51 }, "end": { - "line": 199, + "line": 195, "column": 57 }, "identifierName": "height" @@ -14133,29 +13602,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 7461, - "end": 7472, + "start": 7228, + "end": 7239, "loc": { "start": { - "line": 199, + "line": 195, "column": 61 }, "end": { - "line": 199, + "line": 195, "column": 72 } }, "object": { "type": "Identifier", - "start": 7461, - "end": 7465, + "start": 7228, + "end": 7232, "loc": { "start": { - "line": 199, + "line": 195, "column": 61 }, "end": { - "line": 199, + "line": 195, "column": 65 }, "identifierName": "rect" @@ -14164,15 +13633,15 @@ }, "property": { "type": "Identifier", - "start": 7466, - "end": 7472, + "start": 7233, + "end": 7239, "loc": { "start": { - "line": 199, + "line": 195, "column": 66 }, "end": { - "line": 199, + "line": 195, "column": 72 }, "identifierName": "height" @@ -14187,15 +13656,15 @@ { "type": "CommentLine", "value": " controlbar", - "start": 7483, - "end": 7496, + "start": 7250, + "end": 7263, "loc": { "start": { - "line": 201, + "line": 197, "column": 8 }, "end": { - "line": 201, + "line": 197, "column": 21 } } @@ -14204,44 +13673,44 @@ }, { "type": "VariableDeclaration", - "start": 7505, - "end": 7560, + "start": 7272, + "end": 7327, "loc": { "start": { - "line": 202, + "line": 198, "column": 8 }, "end": { - "line": 202, + "line": 198, "column": 63 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7509, - "end": 7559, + "start": 7276, + "end": 7326, "loc": { "start": { - "line": 202, + "line": 198, "column": 12 }, "end": { - "line": 202, + "line": 198, "column": 62 } }, "id": { "type": "Identifier", - "start": 7509, - "end": 7525, + "start": 7276, + "end": 7292, "loc": { "start": { - "line": 202, + "line": 198, "column": 12 }, "end": { - "line": 202, + "line": 198, "column": 28 }, "identifierName": "controlBarHeight" @@ -14251,86 +13720,86 @@ }, "init": { "type": "CallExpression", - "start": 7528, - "end": 7559, + "start": 7295, + "end": 7326, "loc": { "start": { - "line": 202, + "line": 198, "column": 31 }, "end": { - "line": 202, + "line": 198, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 7528, - "end": 7557, + "start": 7295, + "end": 7324, "loc": { "start": { - "line": 202, + "line": 198, "column": 31 }, "end": { - "line": 202, + "line": 198, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 7528, - "end": 7550, + "start": 7295, + "end": 7317, "loc": { "start": { - "line": 202, + "line": 198, "column": 31 }, "end": { - "line": 202, + "line": 198, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 7528, - "end": 7539, + "start": 7295, + "end": 7306, "loc": { "start": { - "line": 202, + "line": 198, "column": 31 }, "end": { - "line": 202, + "line": 198, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 7528, - "end": 7532, + "start": 7295, + "end": 7299, "loc": { "start": { - "line": 202, + "line": 198, "column": 31 }, "end": { - "line": 202, + "line": 198, "column": 35 } } }, "property": { "type": "Identifier", - "start": 7533, - "end": 7539, + "start": 7300, + "end": 7306, "loc": { "start": { - "line": 202, + "line": 198, "column": 36 }, "end": { - "line": 202, + "line": 198, "column": 42 }, "identifierName": "player" @@ -14341,15 +13810,15 @@ }, "property": { "type": "Identifier", - "start": 7540, - "end": 7550, + "start": 7307, + "end": 7317, "loc": { "start": { - "line": 202, + "line": 198, "column": 43 }, "end": { - "line": 202, + "line": 198, "column": 53 }, "identifierName": "controlBar" @@ -14360,15 +13829,15 @@ }, "property": { "type": "Identifier", - "start": 7551, - "end": 7557, + "start": 7318, + "end": 7324, "loc": { "start": { - "line": 202, + "line": 198, "column": 54 }, "end": { - "line": 202, + "line": 198, "column": 60 }, "identifierName": "height" @@ -14387,15 +13856,15 @@ { "type": "CommentLine", "value": " controlbar", - "start": 7483, - "end": 7496, + "start": 7250, + "end": 7263, "loc": { "start": { - "line": 201, + "line": 197, "column": 8 }, "end": { - "line": 201, + "line": 197, "column": 21 } } @@ -14404,114 +13873,114 @@ }, { "type": "IfStatement", - "start": 7569, - "end": 7899, + "start": 7336, + "end": 7666, "loc": { "start": { - "line": 203, + "line": 199, "column": 8 }, "end": { - "line": 208, + "line": 204, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 7573, - "end": 7637, + "start": 7340, + "end": 7404, "loc": { "start": { - "line": 203, + "line": 199, "column": 12 }, "end": { - "line": 203, + "line": 199, "column": 76 } }, "left": { "type": "BinaryExpression", - "start": 7573, - "end": 7611, + "start": 7340, + "end": 7378, "loc": { "start": { - "line": 203, + "line": 199, "column": 12 }, "end": { - "line": 203, + "line": 199, "column": 50 } }, "left": { "type": "MemberExpression", - "start": 7573, - "end": 7602, + "start": 7340, + "end": 7369, "loc": { "start": { - "line": 203, + "line": 199, "column": 12 }, "end": { - "line": 203, + "line": 199, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 7573, - "end": 7593, + "start": 7340, + "end": 7360, "loc": { "start": { - "line": 203, + "line": 199, "column": 12 }, "end": { - "line": 203, + "line": 199, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 7573, - "end": 7584, + "start": 7340, + "end": 7351, "loc": { "start": { - "line": 203, + "line": 199, "column": 12 }, "end": { - "line": 203, + "line": 199, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 7573, - "end": 7577, + "start": 7340, + "end": 7344, "loc": { "start": { - "line": 203, + "line": 199, "column": 12 }, "end": { - "line": 203, + "line": 199, "column": 16 } } }, "property": { "type": "Identifier", - "start": 7578, - "end": 7584, + "start": 7345, + "end": 7351, "loc": { "start": { - "line": 203, + "line": 199, "column": 17 }, "end": { - "line": 203, + "line": 199, "column": 23 }, "identifierName": "player" @@ -14522,15 +13991,15 @@ }, "property": { "type": "Identifier", - "start": 7585, - "end": 7593, + "start": 7352, + "end": 7360, "loc": { "start": { - "line": 203, + "line": 199, "column": 24 }, "end": { - "line": 203, + "line": 199, "column": 32 }, "identifierName": "options_" @@ -14541,15 +14010,15 @@ }, "property": { "type": "Identifier", - "start": 7594, - "end": 7602, + "start": 7361, + "end": 7369, "loc": { "start": { - "line": 203, + "line": 199, "column": 33 }, "end": { - "line": 203, + "line": 199, "column": 41 }, "identifierName": "controls" @@ -14561,15 +14030,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 7607, - "end": 7611, + "start": 7374, + "end": 7378, "loc": { "start": { - "line": 203, + "line": 199, "column": 46 }, "end": { - "line": 203, + "line": 199, "column": 50 } }, @@ -14579,29 +14048,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 7615, - "end": 7637, + "start": 7382, + "end": 7404, "loc": { "start": { - "line": 203, + "line": 199, "column": 54 }, "end": { - "line": 203, + "line": 199, "column": 76 } }, "left": { "type": "Identifier", - "start": 7615, - "end": 7631, + "start": 7382, + "end": 7398, "loc": { "start": { - "line": 203, + "line": 199, "column": 54 }, "end": { - "line": 203, + "line": 199, "column": 70 }, "identifierName": "controlBarHeight" @@ -14611,15 +14080,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 7636, - "end": 7637, + "start": 7403, + "end": 7404, "loc": { "start": { - "line": 203, + "line": 199, "column": 75 }, "end": { - "line": 203, + "line": 199, "column": 76 } }, @@ -14633,59 +14102,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 7639, - "end": 7899, + "start": 7406, + "end": 7666, "loc": { "start": { - "line": 203, + "line": 199, "column": 78 }, "end": { - "line": 208, + "line": 204, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 7867, - "end": 7889, + "start": 7634, + "end": 7656, "loc": { "start": { - "line": 207, + "line": 203, "column": 12 }, "end": { - "line": 207, + "line": 203, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 7867, - "end": 7888, + "start": 7634, + "end": 7655, "loc": { "start": { - "line": 207, + "line": 203, "column": 12 }, "end": { - "line": 207, + "line": 203, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7867, - "end": 7883, + "start": 7634, + "end": 7650, "loc": { "start": { - "line": 207, + "line": 203, "column": 12 }, "end": { - "line": 207, + "line": 203, "column": 28 }, "identifierName": "controlBarHeight" @@ -14695,15 +14164,15 @@ }, "right": { "type": "NumericLiteral", - "start": 7886, - "end": 7888, + "start": 7653, + "end": 7655, "loc": { "start": { - "line": 207, + "line": 203, "column": 31 }, "end": { - "line": 207, + "line": 203, "column": 33 } }, @@ -14719,15 +14188,15 @@ { "type": "CommentLine", "value": " the dimensions of the controlbar are not known yet, but we", - "start": 7653, - "end": 7714, + "start": 7420, + "end": 7481, "loc": { "start": { - "line": 204, + "line": 200, "column": 12 }, "end": { - "line": 204, + "line": 200, "column": 73 } } @@ -14735,15 +14204,15 @@ { "type": "CommentLine", "value": " need it now, so we can calculate the height of the waveform.", - "start": 7727, - "end": 7790, + "start": 7494, + "end": 7557, "loc": { "start": { - "line": 205, + "line": 201, "column": 12 }, "end": { - "line": 205, + "line": 201, "column": 75 } } @@ -14751,15 +14220,15 @@ { "type": "CommentLine", "value": " The default height is 30px, so use that instead.", - "start": 7803, - "end": 7854, + "start": 7570, + "end": 7621, "loc": { "start": { - "line": 206, + "line": 202, "column": 12 }, "end": { - "line": 206, + "line": 202, "column": 63 } } @@ -14775,15 +14244,15 @@ { "type": "CommentLine", "value": " set waveform element and dimensions", - "start": 7909, - "end": 7947, + "start": 7676, + "end": 7714, "loc": { "start": { - "line": 210, + "line": 206, "column": 8 }, "end": { - "line": 210, + "line": 206, "column": 46 } } @@ -14791,15 +14260,15 @@ { "type": "CommentLine", "value": " Set the container to player's container if \"container\" option is", - "start": 7956, - "end": 8023, + "start": 7723, + "end": 7790, "loc": { "start": { - "line": 211, + "line": 207, "column": 8 }, "end": { - "line": 211, + "line": 207, "column": 75 } } @@ -14807,15 +14276,15 @@ { "type": "CommentLine", "value": " not provided. If a waveform needs to be appended to your custom", - "start": 8032, - "end": 8098, + "start": 7799, + "end": 7865, "loc": { "start": { - "line": 212, + "line": 208, "column": 8 }, "end": { - "line": 212, + "line": 208, "column": 74 } } @@ -14823,15 +14292,15 @@ { "type": "CommentLine", "value": " element, then use below option. For example:", - "start": 8107, - "end": 8154, + "start": 7874, + "end": 7921, "loc": { "start": { - "line": 213, + "line": 209, "column": 8 }, "end": { - "line": 213, + "line": 209, "column": 55 } } @@ -14839,15 +14308,15 @@ { "type": "CommentLine", "value": " container: document.querySelector(\"#vjs-waveform\")", - "start": 8163, - "end": 8216, + "start": 7930, + "end": 7983, "loc": { "start": { - "line": 214, + "line": 210, "column": 8 }, "end": { - "line": 214, + "line": 210, "column": 61 } } @@ -14856,57 +14325,57 @@ }, { "type": "IfStatement", - "start": 8225, - "end": 8328, + "start": 7992, + "end": 8095, "loc": { "start": { - "line": 215, + "line": 211, "column": 8 }, "end": { - "line": 217, + "line": 213, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 8229, - "end": 8263, + "start": 7996, + "end": 8030, "loc": { "start": { - "line": 215, + "line": 211, "column": 12 }, "end": { - "line": 215, + "line": 211, "column": 46 } }, "left": { "type": "MemberExpression", - "start": 8229, - "end": 8249, + "start": 7996, + "end": 8016, "loc": { "start": { - "line": 215, + "line": 211, "column": 12 }, "end": { - "line": 215, + "line": 211, "column": 32 } }, "object": { "type": "Identifier", - "start": 8229, - "end": 8239, + "start": 7996, + "end": 8006, "loc": { "start": { - "line": 215, + "line": 211, "column": 12 }, "end": { - "line": 215, + "line": 211, "column": 22 }, "identifierName": "surferOpts" @@ -14916,15 +14385,15 @@ }, "property": { "type": "Identifier", - "start": 8240, - "end": 8249, + "start": 8007, + "end": 8016, "loc": { "start": { - "line": 215, + "line": 211, "column": 23 }, "end": { - "line": 215, + "line": 211, "column": 32 }, "identifierName": "container" @@ -14937,15 +14406,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 8254, - "end": 8263, + "start": 8021, + "end": 8030, "loc": { "start": { - "line": 215, + "line": 211, "column": 37 }, "end": { - "line": 215, + "line": 211, "column": 46 }, "identifierName": "undefined" @@ -14956,73 +14425,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 8265, - "end": 8328, + "start": 8032, + "end": 8095, "loc": { "start": { - "line": 215, + "line": 211, "column": 48 }, "end": { - "line": 217, + "line": 213, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8279, - "end": 8318, + "start": 8046, + "end": 8085, "loc": { "start": { - "line": 216, + "line": 212, "column": 12 }, "end": { - "line": 216, + "line": 212, "column": 51 } }, "expression": { "type": "AssignmentExpression", - "start": 8279, - "end": 8317, + "start": 8046, + "end": 8084, "loc": { "start": { - "line": 216, + "line": 212, "column": 12 }, "end": { - "line": 216, + "line": 212, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8279, - "end": 8299, + "start": 8046, + "end": 8066, "loc": { "start": { - "line": 216, + "line": 212, "column": 12 }, "end": { - "line": 216, + "line": 212, "column": 32 } }, "object": { "type": "Identifier", - "start": 8279, - "end": 8289, + "start": 8046, + "end": 8056, "loc": { "start": { - "line": 216, + "line": 212, "column": 12 }, "end": { - "line": 216, + "line": 212, "column": 22 }, "identifierName": "surferOpts" @@ -15031,15 +14500,15 @@ }, "property": { "type": "Identifier", - "start": 8290, - "end": 8299, + "start": 8057, + "end": 8066, "loc": { "start": { - "line": 216, + "line": 212, "column": 23 }, "end": { - "line": 216, + "line": 212, "column": 32 }, "identifierName": "container" @@ -15050,58 +14519,58 @@ }, "right": { "type": "MemberExpression", - "start": 8302, - "end": 8317, + "start": 8069, + "end": 8084, "loc": { "start": { - "line": 216, + "line": 212, "column": 35 }, "end": { - "line": 216, + "line": 212, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 8302, - "end": 8313, + "start": 8069, + "end": 8080, "loc": { "start": { - "line": 216, + "line": 212, "column": 35 }, "end": { - "line": 216, + "line": 212, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 8302, - "end": 8306, + "start": 8069, + "end": 8073, "loc": { "start": { - "line": 216, + "line": 212, "column": 35 }, "end": { - "line": 216, + "line": 212, "column": 39 } } }, "property": { "type": "Identifier", - "start": 8307, - "end": 8313, + "start": 8074, + "end": 8080, "loc": { "start": { - "line": 216, + "line": 212, "column": 40 }, "end": { - "line": 216, + "line": 212, "column": 46 }, "identifierName": "player" @@ -15112,15 +14581,15 @@ }, "property": { "type": "Identifier", - "start": 8314, - "end": 8317, + "start": 8081, + "end": 8084, "loc": { "start": { - "line": 216, + "line": 212, "column": 47 }, "end": { - "line": 216, + "line": 212, "column": 50 }, "identifierName": "el_" @@ -15140,15 +14609,15 @@ { "type": "CommentLine", "value": " set waveform element and dimensions", - "start": 7909, - "end": 7947, + "start": 7676, + "end": 7714, "loc": { "start": { - "line": 210, + "line": 206, "column": 8 }, "end": { - "line": 210, + "line": 206, "column": 46 } } @@ -15156,15 +14625,15 @@ { "type": "CommentLine", "value": " Set the container to player's container if \"container\" option is", - "start": 7956, - "end": 8023, + "start": 7723, + "end": 7790, "loc": { "start": { - "line": 211, + "line": 207, "column": 8 }, "end": { - "line": 211, + "line": 207, "column": 75 } } @@ -15172,15 +14641,15 @@ { "type": "CommentLine", "value": " not provided. If a waveform needs to be appended to your custom", - "start": 8032, - "end": 8098, + "start": 7799, + "end": 7865, "loc": { "start": { - "line": 212, + "line": 208, "column": 8 }, "end": { - "line": 212, + "line": 208, "column": 74 } } @@ -15188,15 +14657,15 @@ { "type": "CommentLine", "value": " element, then use below option. For example:", - "start": 8107, - "end": 8154, + "start": 7874, + "end": 7921, "loc": { "start": { - "line": 213, + "line": 209, "column": 8 }, "end": { - "line": 213, + "line": 209, "column": 55 } } @@ -15204,15 +14673,15 @@ { "type": "CommentLine", "value": " container: document.querySelector(\"#vjs-waveform\")", - "start": 8163, - "end": 8216, + "start": 7930, + "end": 7983, "loc": { "start": { - "line": 214, + "line": 210, "column": 8 }, "end": { - "line": 214, + "line": 210, "column": 61 } } @@ -15222,15 +14691,15 @@ { "type": "CommentLine", "value": " set the height of generated waveform if user has provided height", - "start": 8338, - "end": 8405, + "start": 8105, + "end": 8172, "loc": { "start": { - "line": 219, + "line": 215, "column": 8 }, "end": { - "line": 219, + "line": 215, "column": 75 } } @@ -15238,15 +14707,15 @@ { "type": "CommentLine", "value": " from options. If height of waveform need to be customized then use", - "start": 8414, - "end": 8483, + "start": 8181, + "end": 8250, "loc": { "start": { - "line": 220, + "line": 216, "column": 8 }, "end": { - "line": 220, + "line": 216, "column": 77 } } @@ -15254,15 +14723,15 @@ { "type": "CommentLine", "value": " option below. For example: waveformHeight: 30", - "start": 8492, - "end": 8540, + "start": 8259, + "end": 8307, "loc": { "start": { - "line": 221, + "line": 217, "column": 8 }, "end": { - "line": 221, + "line": 217, "column": 56 } } @@ -15271,57 +14740,57 @@ }, { "type": "IfStatement", - "start": 8549, - "end": 8790, + "start": 8316, + "end": 8557, "loc": { "start": { - "line": 222, + "line": 218, "column": 8 }, "end": { - "line": 227, + "line": 223, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 8553, - "end": 8592, + "start": 8320, + "end": 8359, "loc": { "start": { - "line": 222, + "line": 218, "column": 12 }, "end": { - "line": 222, + "line": 218, "column": 51 } }, "left": { "type": "MemberExpression", - "start": 8553, - "end": 8578, + "start": 8320, + "end": 8345, "loc": { "start": { - "line": 222, + "line": 218, "column": 12 }, "end": { - "line": 222, + "line": 218, "column": 37 } }, "object": { "type": "Identifier", - "start": 8553, - "end": 8563, + "start": 8320, + "end": 8330, "loc": { "start": { - "line": 222, + "line": 218, "column": 12 }, "end": { - "line": 222, + "line": 218, "column": 22 }, "identifierName": "surferOpts" @@ -15331,15 +14800,15 @@ }, "property": { "type": "Identifier", - "start": 8564, - "end": 8578, + "start": 8331, + "end": 8345, "loc": { "start": { - "line": 222, + "line": 218, "column": 23 }, "end": { - "line": 222, + "line": 218, "column": 37 }, "identifierName": "waveformHeight" @@ -15352,15 +14821,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 8583, - "end": 8592, + "start": 8350, + "end": 8359, "loc": { "start": { - "line": 222, + "line": 218, "column": 42 }, "end": { - "line": 222, + "line": 218, "column": 51 }, "identifierName": "undefined" @@ -15371,59 +14840,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 8594, - "end": 8714, + "start": 8361, + "end": 8481, "loc": { "start": { - "line": 222, + "line": 218, "column": 53 }, "end": { - "line": 225, + "line": 221, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 8608, - "end": 8639, + "start": 8375, + "end": 8406, "loc": { "start": { - "line": 223, + "line": 219, "column": 12 }, "end": { - "line": 223, + "line": 219, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8612, - "end": 8638, + "start": 8379, + "end": 8405, "loc": { "start": { - "line": 223, + "line": 219, "column": 16 }, "end": { - "line": 223, + "line": 219, "column": 42 } }, "id": { "type": "Identifier", - "start": 8612, - "end": 8624, + "start": 8379, + "end": 8391, "loc": { "start": { - "line": 223, + "line": 219, "column": 16 }, "end": { - "line": 223, + "line": 219, "column": 28 }, "identifierName": "playerHeight" @@ -15432,29 +14901,29 @@ }, "init": { "type": "MemberExpression", - "start": 8627, - "end": 8638, + "start": 8394, + "end": 8405, "loc": { "start": { - "line": 223, + "line": 219, "column": 31 }, "end": { - "line": 223, + "line": 219, "column": 42 } }, "object": { "type": "Identifier", - "start": 8627, - "end": 8631, + "start": 8394, + "end": 8398, "loc": { "start": { - "line": 223, + "line": 219, "column": 31 }, "end": { - "line": 223, + "line": 219, "column": 35 }, "identifierName": "rect" @@ -15463,15 +14932,15 @@ }, "property": { "type": "Identifier", - "start": 8632, - "end": 8638, + "start": 8399, + "end": 8405, "loc": { "start": { - "line": 223, + "line": 219, "column": 36 }, "end": { - "line": 223, + "line": 219, "column": 42 }, "identifierName": "height" @@ -15486,58 +14955,58 @@ }, { "type": "ExpressionStatement", - "start": 8652, - "end": 8704, + "start": 8419, + "end": 8471, "loc": { "start": { - "line": 224, + "line": 220, "column": 12 }, "end": { - "line": 224, + "line": 220, "column": 64 } }, "expression": { "type": "AssignmentExpression", - "start": 8652, - "end": 8703, + "start": 8419, + "end": 8470, "loc": { "start": { - "line": 224, + "line": 220, "column": 12 }, "end": { - "line": 224, + "line": 220, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8652, - "end": 8669, + "start": 8419, + "end": 8436, "loc": { "start": { - "line": 224, + "line": 220, "column": 12 }, "end": { - "line": 224, + "line": 220, "column": 29 } }, "object": { "type": "Identifier", - "start": 8652, - "end": 8662, + "start": 8419, + "end": 8429, "loc": { "start": { - "line": 224, + "line": 220, "column": 12 }, "end": { - "line": 224, + "line": 220, "column": 22 }, "identifierName": "surferOpts" @@ -15546,15 +15015,15 @@ }, "property": { "type": "Identifier", - "start": 8663, - "end": 8669, + "start": 8430, + "end": 8436, "loc": { "start": { - "line": 224, + "line": 220, "column": 23 }, "end": { - "line": 224, + "line": 220, "column": 29 }, "identifierName": "height" @@ -15565,29 +15034,29 @@ }, "right": { "type": "BinaryExpression", - "start": 8672, - "end": 8703, + "start": 8439, + "end": 8470, "loc": { "start": { - "line": 224, + "line": 220, "column": 32 }, "end": { - "line": 224, + "line": 220, "column": 63 } }, "left": { "type": "Identifier", - "start": 8672, - "end": 8684, + "start": 8439, + "end": 8451, "loc": { "start": { - "line": 224, + "line": 220, "column": 32 }, "end": { - "line": 224, + "line": 220, "column": 44 }, "identifierName": "playerHeight" @@ -15597,15 +15066,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 8687, - "end": 8703, + "start": 8454, + "end": 8470, "loc": { "start": { - "line": 224, + "line": 220, "column": 47 }, "end": { - "line": 224, + "line": 220, "column": 63 }, "identifierName": "controlBarHeight" @@ -15620,73 +15089,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 8720, - "end": 8790, + "start": 8487, + "end": 8557, "loc": { "start": { - "line": 225, + "line": 221, "column": 15 }, "end": { - "line": 227, + "line": 223, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8734, - "end": 8780, + "start": 8501, + "end": 8547, "loc": { "start": { - "line": 226, + "line": 222, "column": 12 }, "end": { - "line": 226, + "line": 222, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 8734, - "end": 8779, + "start": 8501, + "end": 8546, "loc": { "start": { - "line": 226, + "line": 222, "column": 12 }, "end": { - "line": 226, + "line": 222, "column": 57 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8734, - "end": 8751, + "start": 8501, + "end": 8518, "loc": { "start": { - "line": 226, + "line": 222, "column": 12 }, "end": { - "line": 226, + "line": 222, "column": 29 } }, "object": { "type": "Identifier", - "start": 8734, - "end": 8744, + "start": 8501, + "end": 8511, "loc": { "start": { - "line": 226, + "line": 222, "column": 12 }, "end": { - "line": 226, + "line": 222, "column": 22 }, "identifierName": "surferOpts" @@ -15695,15 +15164,15 @@ }, "property": { "type": "Identifier", - "start": 8745, - "end": 8751, + "start": 8512, + "end": 8518, "loc": { "start": { - "line": 226, + "line": 222, "column": 23 }, "end": { - "line": 226, + "line": 222, "column": 29 }, "identifierName": "height" @@ -15714,29 +15183,29 @@ }, "right": { "type": "MemberExpression", - "start": 8754, - "end": 8779, + "start": 8521, + "end": 8546, "loc": { "start": { - "line": 226, + "line": 222, "column": 32 }, "end": { - "line": 226, + "line": 222, "column": 57 } }, "object": { "type": "Identifier", - "start": 8754, - "end": 8764, + "start": 8521, + "end": 8531, "loc": { "start": { - "line": 226, + "line": 222, "column": 32 }, "end": { - "line": 226, + "line": 222, "column": 42 }, "identifierName": "surferOpts" @@ -15745,15 +15214,15 @@ }, "property": { "type": "Identifier", - "start": 8765, - "end": 8779, + "start": 8532, + "end": 8546, "loc": { "start": { - "line": 226, + "line": 222, "column": 43 }, "end": { - "line": 226, + "line": 222, "column": 57 }, "identifierName": "waveformHeight" @@ -15772,15 +15241,15 @@ { "type": "CommentLine", "value": " set the height of generated waveform if user has provided height", - "start": 8338, - "end": 8405, + "start": 8105, + "end": 8172, "loc": { "start": { - "line": 219, + "line": 215, "column": 8 }, "end": { - "line": 219, + "line": 215, "column": 75 } } @@ -15788,15 +15257,15 @@ { "type": "CommentLine", "value": " from options. If height of waveform need to be customized then use", - "start": 8414, - "end": 8483, + "start": 8181, + "end": 8250, "loc": { "start": { - "line": 220, + "line": 216, "column": 8 }, "end": { - "line": 220, + "line": 216, "column": 77 } } @@ -15804,15 +15273,15 @@ { "type": "CommentLine", "value": " option below. For example: waveformHeight: 30", - "start": 8492, - "end": 8540, + "start": 8259, + "end": 8307, "loc": { "start": { - "line": 221, + "line": 217, "column": 8 }, "end": { - "line": 221, + "line": 217, "column": 56 } } @@ -15822,15 +15291,15 @@ { "type": "CommentLine", "value": " split channels", - "start": 8800, - "end": 8817, + "start": 8567, + "end": 8584, "loc": { "start": { - "line": 229, + "line": 225, "column": 8 }, "end": { - "line": 229, + "line": 225, "column": 25 } } @@ -15839,57 +15308,57 @@ }, { "type": "IfStatement", - "start": 8826, - "end": 8940, + "start": 8593, + "end": 8707, "loc": { "start": { - "line": 230, + "line": 226, "column": 8 }, "end": { - "line": 232, + "line": 228, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 8830, - "end": 8891, + "start": 8597, + "end": 8658, "loc": { "start": { - "line": 230, + "line": 226, "column": 12 }, "end": { - "line": 230, + "line": 226, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 8830, - "end": 8854, + "start": 8597, + "end": 8621, "loc": { "start": { - "line": 230, + "line": 226, "column": 12 }, "end": { - "line": 230, + "line": 226, "column": 36 } }, "object": { "type": "Identifier", - "start": 8830, - "end": 8840, + "start": 8597, + "end": 8607, "loc": { "start": { - "line": 230, + "line": 226, "column": 12 }, "end": { - "line": 230, + "line": 226, "column": 22 }, "identifierName": "surferOpts" @@ -15899,15 +15368,15 @@ }, "property": { "type": "Identifier", - "start": 8841, - "end": 8854, + "start": 8608, + "end": 8621, "loc": { "start": { - "line": 230, + "line": 226, "column": 23 }, "end": { - "line": 230, + "line": 226, "column": 36 }, "identifierName": "splitChannels" @@ -15920,43 +15389,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 8858, - "end": 8891, + "start": 8625, + "end": 8658, "loc": { "start": { - "line": 230, + "line": 226, "column": 40 }, "end": { - "line": 230, + "line": 226, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 8858, - "end": 8882, + "start": 8625, + "end": 8649, "loc": { "start": { - "line": 230, + "line": 226, "column": 40 }, "end": { - "line": 230, + "line": 226, "column": 64 } }, "object": { "type": "Identifier", - "start": 8858, - "end": 8868, + "start": 8625, + "end": 8635, "loc": { "start": { - "line": 230, + "line": 226, "column": 40 }, "end": { - "line": 230, + "line": 226, "column": 50 }, "identifierName": "surferOpts" @@ -15965,15 +15434,15 @@ }, "property": { "type": "Identifier", - "start": 8869, - "end": 8882, + "start": 8636, + "end": 8649, "loc": { "start": { - "line": 230, + "line": 226, "column": 51 }, "end": { - "line": 230, + "line": 226, "column": 64 }, "identifierName": "splitChannels" @@ -15985,15 +15454,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 8887, - "end": 8891, + "start": 8654, + "end": 8658, "loc": { "start": { - "line": 230, + "line": 226, "column": 69 }, "end": { - "line": 230, + "line": 226, "column": 73 } }, @@ -16004,73 +15473,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 8893, - "end": 8940, + "start": 8660, + "end": 8707, "loc": { "start": { - "line": 230, + "line": 226, "column": 75 }, "end": { - "line": 232, + "line": 228, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8907, - "end": 8930, + "start": 8674, + "end": 8697, "loc": { "start": { - "line": 231, + "line": 227, "column": 12 }, "end": { - "line": 231, + "line": 227, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 8907, - "end": 8929, + "start": 8674, + "end": 8696, "loc": { "start": { - "line": 231, + "line": 227, "column": 12 }, "end": { - "line": 231, + "line": 227, "column": 34 } }, "operator": "/=", "left": { "type": "MemberExpression", - "start": 8907, - "end": 8924, + "start": 8674, + "end": 8691, "loc": { "start": { - "line": 231, + "line": 227, "column": 12 }, "end": { - "line": 231, + "line": 227, "column": 29 } }, "object": { "type": "Identifier", - "start": 8907, - "end": 8917, + "start": 8674, + "end": 8684, "loc": { "start": { - "line": 231, + "line": 227, "column": 12 }, "end": { - "line": 231, + "line": 227, "column": 22 }, "identifierName": "surferOpts" @@ -16079,15 +15548,15 @@ }, "property": { "type": "Identifier", - "start": 8918, - "end": 8924, + "start": 8685, + "end": 8691, "loc": { "start": { - "line": 231, + "line": 227, "column": 23 }, "end": { - "line": 231, + "line": 227, "column": 29 }, "identifierName": "height" @@ -16098,15 +15567,15 @@ }, "right": { "type": "NumericLiteral", - "start": 8928, - "end": 8929, + "start": 8695, + "end": 8696, "loc": { "start": { - "line": 231, + "line": 227, "column": 33 }, "end": { - "line": 231, + "line": 227, "column": 34 } }, @@ -16127,15 +15596,15 @@ { "type": "CommentLine", "value": " split channels", - "start": 8800, - "end": 8817, + "start": 8567, + "end": 8584, "loc": { "start": { - "line": 229, + "line": 225, "column": 8 }, "end": { - "line": 229, + "line": 225, "column": 25 } } @@ -16145,15 +15614,15 @@ { "type": "CommentLine", "value": " use MediaElement as default wavesurfer.js backend if one is not", - "start": 8950, - "end": 9016, + "start": 8717, + "end": 8783, "loc": { "start": { - "line": 234, + "line": 230, "column": 8 }, "end": { - "line": 234, + "line": 230, "column": 74 } } @@ -16161,15 +15630,15 @@ { "type": "CommentLine", "value": " specified", - "start": 9025, - "end": 9037, + "start": 8792, + "end": 8804, "loc": { "start": { - "line": 235, + "line": 231, "column": 8 }, "end": { - "line": 235, + "line": 231, "column": 20 } } @@ -16178,43 +15647,43 @@ }, { "type": "IfStatement", - "start": 9046, - "end": 9212, + "start": 8813, + "end": 8979, "loc": { "start": { - "line": 236, + "line": 232, "column": 8 }, "end": { - "line": 240, + "line": 236, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 9050, - "end": 9073, + "start": 8817, + "end": 8840, "loc": { "start": { - "line": 236, + "line": 232, "column": 12 }, "end": { - "line": 236, + "line": 232, "column": 35 } }, "left": { "type": "StringLiteral", - "start": 9050, - "end": 9059, + "start": 8817, + "end": 8826, "loc": { "start": { - "line": 236, + "line": 232, "column": 12 }, "end": { - "line": 236, + "line": 232, "column": 21 } }, @@ -16228,15 +15697,15 @@ "operator": "in", "right": { "type": "Identifier", - "start": 9063, - "end": 9073, + "start": 8830, + "end": 8840, "loc": { "start": { - "line": 236, + "line": 232, "column": 25 }, "end": { - "line": 236, + "line": 232, "column": 35 }, "identifierName": "surferOpts" @@ -16247,88 +15716,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 9075, - "end": 9133, + "start": 8842, + "end": 8900, "loc": { "start": { - "line": 236, + "line": 232, "column": 37 }, "end": { - "line": 238, + "line": 234, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9089, - "end": 9123, + "start": 8856, + "end": 8890, "loc": { "start": { - "line": 237, + "line": 233, "column": 12 }, "end": { - "line": 237, + "line": 233, "column": 46 } }, "expression": { "type": "AssignmentExpression", - "start": 9089, - "end": 9122, + "start": 8856, + "end": 8889, "loc": { "start": { - "line": 237, + "line": 233, "column": 12 }, "end": { - "line": 237, + "line": 233, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9089, - "end": 9101, + "start": 8856, + "end": 8868, "loc": { "start": { - "line": 237, + "line": 233, "column": 12 }, "end": { - "line": 237, + "line": 233, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 9089, - "end": 9093, + "start": 8856, + "end": 8860, "loc": { "start": { - "line": 237, + "line": 233, "column": 12 }, "end": { - "line": 237, + "line": 233, "column": 16 } } }, "property": { "type": "Identifier", - "start": 9094, - "end": 9101, + "start": 8861, + "end": 8868, "loc": { "start": { - "line": 237, + "line": 233, "column": 17 }, "end": { - "line": 237, + "line": 233, "column": 24 }, "identifierName": "backend" @@ -16339,29 +15808,29 @@ }, "right": { "type": "MemberExpression", - "start": 9104, - "end": 9122, + "start": 8871, + "end": 8889, "loc": { "start": { - "line": 237, + "line": 233, "column": 27 }, "end": { - "line": 237, + "line": 233, "column": 45 } }, "object": { "type": "Identifier", - "start": 9104, - "end": 9114, + "start": 8871, + "end": 8881, "loc": { "start": { - "line": 237, + "line": 233, "column": 27 }, "end": { - "line": 237, + "line": 233, "column": 37 }, "identifierName": "surferOpts" @@ -16370,15 +15839,15 @@ }, "property": { "type": "Identifier", - "start": 9115, - "end": 9122, + "start": 8882, + "end": 8889, "loc": { "start": { - "line": 237, + "line": 233, "column": 38 }, "end": { - "line": 237, + "line": 233, "column": 45 }, "identifierName": "backend" @@ -16394,73 +15863,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 9139, - "end": 9212, + "start": 8906, + "end": 8979, "loc": { "start": { - "line": 238, + "line": 234, "column": 15 }, "end": { - "line": 240, + "line": 236, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9153, - "end": 9202, + "start": 8920, + "end": 8969, "loc": { "start": { - "line": 239, + "line": 235, "column": 12 }, "end": { - "line": 239, + "line": 235, "column": 61 } }, "expression": { "type": "AssignmentExpression", - "start": 9153, - "end": 9201, + "start": 8920, + "end": 8968, "loc": { "start": { - "line": 239, + "line": 235, "column": 12 }, "end": { - "line": 239, + "line": 235, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9153, - "end": 9171, + "start": 8920, + "end": 8938, "loc": { "start": { - "line": 239, + "line": 235, "column": 12 }, "end": { - "line": 239, + "line": 235, "column": 30 } }, "object": { "type": "Identifier", - "start": 9153, - "end": 9163, + "start": 8920, + "end": 8930, "loc": { "start": { - "line": 239, + "line": 235, "column": 12 }, "end": { - "line": 239, + "line": 235, "column": 22 }, "identifierName": "surferOpts" @@ -16469,15 +15938,15 @@ }, "property": { "type": "Identifier", - "start": 9164, - "end": 9171, + "start": 8931, + "end": 8938, "loc": { "start": { - "line": 239, + "line": 235, "column": 23 }, "end": { - "line": 239, + "line": 235, "column": 30 }, "identifierName": "backend" @@ -16488,59 +15957,59 @@ }, "right": { "type": "AssignmentExpression", - "start": 9174, - "end": 9201, + "start": 8941, + "end": 8968, "loc": { "start": { - "line": 239, + "line": 235, "column": 33 }, "end": { - "line": 239, + "line": 235, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9174, - "end": 9186, + "start": 8941, + "end": 8953, "loc": { "start": { - "line": 239, + "line": 235, "column": 33 }, "end": { - "line": 239, + "line": 235, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 9174, - "end": 9178, + "start": 8941, + "end": 8945, "loc": { "start": { - "line": 239, + "line": 235, "column": 33 }, "end": { - "line": 239, + "line": 235, "column": 37 } } }, "property": { "type": "Identifier", - "start": 9179, - "end": 9186, + "start": 8946, + "end": 8953, "loc": { "start": { - "line": 239, + "line": 235, "column": 38 }, "end": { - "line": 239, + "line": 235, "column": 45 }, "identifierName": "backend" @@ -16551,15 +16020,15 @@ }, "right": { "type": "Identifier", - "start": 9189, - "end": 9201, + "start": 8956, + "end": 8968, "loc": { "start": { - "line": 239, + "line": 235, "column": 48 }, "end": { - "line": 239, + "line": 235, "column": 60 }, "identifierName": "MEDIAELEMENT" @@ -16576,15 +16045,15 @@ { "type": "CommentLine", "value": " use MediaElement as default wavesurfer.js backend if one is not", - "start": 8950, - "end": 9016, + "start": 8717, + "end": 8783, "loc": { "start": { - "line": 234, + "line": 230, "column": 8 }, "end": { - "line": 234, + "line": 230, "column": 74 } } @@ -16592,15 +16061,15 @@ { "type": "CommentLine", "value": " specified", - "start": 9025, - "end": 9037, + "start": 8792, + "end": 8804, "loc": { "start": { - "line": 235, + "line": 231, "column": 8 }, "end": { - "line": 235, + "line": 231, "column": 20 } } @@ -16609,29 +16078,29 @@ }, { "type": "ReturnStatement", - "start": 9222, - "end": 9240, + "start": 8989, + "end": 9007, "loc": { "start": { - "line": 242, + "line": 238, "column": 8 }, "end": { - "line": 242, + "line": 238, "column": 26 } }, "argument": { "type": "Identifier", - "start": 9229, - "end": 9239, + "start": 8996, + "end": 9006, "loc": { "start": { - "line": 242, + "line": 238, "column": 15 }, "end": { - "line": 242, + "line": 238, "column": 25 }, "identifierName": "surferOpts" @@ -16647,15 +16116,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": 7049, - "end": 7232, + "start": 6816, + "end": 6999, "loc": { "start": { - "line": 189, + "line": 185, "column": 4 }, "end": { - "line": 195, + "line": 191, "column": 7 } } @@ -16665,15 +16134,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": 9252, - "end": 9452, + "start": 9019, + "end": 9219, "loc": { "start": { - "line": 245, + "line": 241, "column": 4 }, "end": { - "line": 251, + "line": 247, "column": 7 } } @@ -16682,15 +16151,15 @@ }, { "type": "ClassMethod", - "start": 9457, - "end": 10076, + "start": 9224, + "end": 9843, "loc": { "start": { - "line": 252, + "line": 248, "column": 4 }, "end": { - "line": 266, + "line": 262, "column": 5 } }, @@ -16698,15 +16167,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9457, - "end": 9476, + "start": 9224, + "end": 9243, "loc": { "start": { - "line": 252, + "line": 248, "column": 4 }, "end": { - "line": 252, + "line": 248, "column": 23 }, "identifierName": "setupPlaybackEvents" @@ -16722,15 +16191,15 @@ "params": [ { "type": "Identifier", - "start": 9477, - "end": 9483, + "start": 9244, + "end": 9250, "loc": { "start": { - "line": 252, + "line": 248, "column": 24 }, "end": { - "line": 252, + "line": 248, "column": 30 }, "identifierName": "enable" @@ -16740,58 +16209,58 @@ ], "body": { "type": "BlockStatement", - "start": 9485, - "end": 10076, + "start": 9252, + "end": 9843, "loc": { "start": { - "line": 252, + "line": 248, "column": 32 }, "end": { - "line": 266, + "line": 262, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 9495, - "end": 10070, + "start": 9262, + "end": 9837, "loc": { "start": { - "line": 253, + "line": 249, "column": 8 }, "end": { - "line": 265, + "line": 261, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 9499, - "end": 9515, + "start": 9266, + "end": 9282, "loc": { "start": { - "line": 253, + "line": 249, "column": 12 }, "end": { - "line": 253, + "line": 249, "column": 28 } }, "left": { "type": "Identifier", - "start": 9499, - "end": 9505, + "start": 9266, + "end": 9272, "loc": { "start": { - "line": 253, + "line": 249, "column": 12 }, "end": { - "line": 253, + "line": 249, "column": 18 }, "identifierName": "enable" @@ -16801,15 +16270,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 9510, - "end": 9515, + "start": 9277, + "end": 9282, "loc": { "start": { - "line": 253, + "line": 249, "column": 23 }, "end": { - "line": 253, + "line": 249, "column": 28 } }, @@ -16818,101 +16287,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9517, - "end": 9780, + "start": 9284, + "end": 9547, "loc": { "start": { - "line": 253, + "line": 249, "column": 30 }, "end": { - "line": 259, + "line": 255, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9531, - "end": 9577, + "start": 9298, + "end": 9344, "loc": { "start": { - "line": 254, + "line": 250, "column": 12 }, "end": { - "line": 254, + "line": 250, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 9531, - "end": 9576, + "start": 9298, + "end": 9343, "loc": { "start": { - "line": 254, + "line": 250, "column": 12 }, "end": { - "line": 254, + "line": 250, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 9531, - "end": 9545, + "start": 9298, + "end": 9312, "loc": { "start": { - "line": 254, + "line": 250, "column": 12 }, "end": { - "line": 254, + "line": 250, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 9531, - "end": 9542, + "start": 9298, + "end": 9309, "loc": { "start": { - "line": 254, + "line": 250, "column": 12 }, "end": { - "line": 254, + "line": 250, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9531, - "end": 9535, + "start": 9298, + "end": 9302, "loc": { "start": { - "line": 254, + "line": 250, "column": 12 }, "end": { - "line": 254, + "line": 250, "column": 16 } } }, "property": { "type": "Identifier", - "start": 9536, - "end": 9542, + "start": 9303, + "end": 9309, "loc": { "start": { - "line": 254, + "line": 250, "column": 17 }, "end": { - "line": 254, + "line": 250, "column": 23 }, "identifierName": "surfer" @@ -16923,15 +16392,15 @@ }, "property": { "type": "Identifier", - "start": 9543, - "end": 9545, + "start": 9310, + "end": 9312, "loc": { "start": { - "line": 254, + "line": 250, "column": 24 }, "end": { - "line": 254, + "line": 250, "column": 26 }, "identifierName": "un" @@ -16943,29 +16412,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9546, - "end": 9557, + "start": 9313, + "end": 9324, "loc": { "start": { - "line": 254, + "line": 250, "column": 27 }, "end": { - "line": 254, + "line": 250, "column": 38 } }, "object": { "type": "Identifier", - "start": 9546, - "end": 9551, + "start": 9313, + "end": 9318, "loc": { "start": { - "line": 254, + "line": 250, "column": 27 }, "end": { - "line": 254, + "line": 250, "column": 32 }, "identifierName": "Event" @@ -16974,15 +16443,15 @@ }, "property": { "type": "Identifier", - "start": 9552, - "end": 9557, + "start": 9319, + "end": 9324, "loc": { "start": { - "line": 254, + "line": 250, "column": 33 }, "end": { - "line": 254, + "line": 250, "column": 38 }, "identifierName": "READY" @@ -16993,44 +16462,44 @@ }, { "type": "MemberExpression", - "start": 9559, - "end": 9575, + "start": 9326, + "end": 9342, "loc": { "start": { - "line": 254, + "line": 250, "column": 40 }, "end": { - "line": 254, + "line": 250, "column": 56 } }, "object": { "type": "ThisExpression", - "start": 9559, - "end": 9563, + "start": 9326, + "end": 9330, "loc": { "start": { - "line": 254, + "line": 250, "column": 40 }, "end": { - "line": 254, + "line": 250, "column": 44 } } }, "property": { "type": "Identifier", - "start": 9564, - "end": 9575, + "start": 9331, + "end": 9342, "loc": { "start": { - "line": 254, + "line": 250, "column": 45 }, "end": { - "line": 254, + "line": 250, "column": 56 }, "identifierName": "surferReady" @@ -17044,72 +16513,72 @@ }, { "type": "IfStatement", - "start": 9590, - "end": 9770, + "start": 9357, + "end": 9537, "loc": { "start": { - "line": 255, + "line": 251, "column": 12 }, "end": { - "line": 258, + "line": 254, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 9594, - "end": 9619, + "start": 9361, + "end": 9386, "loc": { "start": { - "line": 255, + "line": 251, "column": 16 }, "end": { - "line": 255, + "line": 251, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 9594, - "end": 9606, + "start": 9361, + "end": 9373, "loc": { "start": { - "line": 255, + "line": 251, "column": 16 }, "end": { - "line": 255, + "line": 251, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 9594, - "end": 9598, + "start": 9361, + "end": 9365, "loc": { "start": { - "line": 255, + "line": 251, "column": 16 }, "end": { - "line": 255, + "line": 251, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9599, - "end": 9606, + "start": 9366, + "end": 9373, "loc": { "start": { - "line": 255, + "line": 251, "column": 21 }, "end": { - "line": 255, + "line": 251, "column": 28 }, "identifierName": "backend" @@ -17121,15 +16590,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 9611, - "end": 9619, + "start": 9378, + "end": 9386, "loc": { "start": { - "line": 255, + "line": 251, "column": 33 }, "end": { - "line": 255, + "line": 251, "column": 41 }, "identifierName": "WEBAUDIO" @@ -17139,101 +16608,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9621, - "end": 9770, + "start": 9388, + "end": 9537, "loc": { "start": { - "line": 255, + "line": 251, "column": 43 }, "end": { - "line": 258, + "line": 254, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9639, - "end": 9695, + "start": 9406, + "end": 9462, "loc": { "start": { - "line": 256, + "line": 252, "column": 16 }, "end": { - "line": 256, + "line": 252, "column": 72 } }, "expression": { "type": "CallExpression", - "start": 9639, - "end": 9694, + "start": 9406, + "end": 9461, "loc": { "start": { - "line": 256, + "line": 252, "column": 16 }, "end": { - "line": 256, + "line": 252, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 9639, - "end": 9653, + "start": 9406, + "end": 9420, "loc": { "start": { - "line": 256, + "line": 252, "column": 16 }, "end": { - "line": 256, + "line": 252, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9639, - "end": 9650, + "start": 9406, + "end": 9417, "loc": { "start": { - "line": 256, + "line": 252, "column": 16 }, "end": { - "line": 256, + "line": 252, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9639, - "end": 9643, + "start": 9406, + "end": 9410, "loc": { "start": { - "line": 256, + "line": 252, "column": 16 }, "end": { - "line": 256, + "line": 252, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9644, - "end": 9650, + "start": 9411, + "end": 9417, "loc": { "start": { - "line": 256, + "line": 252, "column": 21 }, "end": { - "line": 256, + "line": 252, "column": 27 }, "identifierName": "surfer" @@ -17244,15 +16713,15 @@ }, "property": { "type": "Identifier", - "start": 9651, - "end": 9653, + "start": 9418, + "end": 9420, "loc": { "start": { - "line": 256, + "line": 252, "column": 28 }, "end": { - "line": 256, + "line": 252, "column": 30 }, "identifierName": "un" @@ -17264,29 +16733,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9654, - "end": 9672, + "start": 9421, + "end": 9439, "loc": { "start": { - "line": 256, + "line": 252, "column": 31 }, "end": { - "line": 256, + "line": 252, "column": 49 } }, "object": { "type": "Identifier", - "start": 9654, - "end": 9659, + "start": 9421, + "end": 9426, "loc": { "start": { - "line": 256, + "line": 252, "column": 31 }, "end": { - "line": 256, + "line": 252, "column": 36 }, "identifierName": "Event" @@ -17295,15 +16764,15 @@ }, "property": { "type": "Identifier", - "start": 9660, - "end": 9672, + "start": 9427, + "end": 9439, "loc": { "start": { - "line": 256, + "line": 252, "column": 37 }, "end": { - "line": 256, + "line": 252, "column": 49 }, "identifierName": "AUDIOPROCESS" @@ -17314,44 +16783,44 @@ }, { "type": "MemberExpression", - "start": 9674, - "end": 9693, + "start": 9441, + "end": 9460, "loc": { "start": { - "line": 256, + "line": 252, "column": 51 }, "end": { - "line": 256, + "line": 252, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 9674, - "end": 9678, + "start": 9441, + "end": 9445, "loc": { "start": { - "line": 256, + "line": 252, "column": 51 }, "end": { - "line": 256, + "line": 252, "column": 55 } } }, "property": { "type": "Identifier", - "start": 9679, - "end": 9693, + "start": 9446, + "end": 9460, "loc": { "start": { - "line": 256, + "line": 252, "column": 56 }, "end": { - "line": 256, + "line": 252, "column": 70 }, "identifierName": "surferProgress" @@ -17365,86 +16834,86 @@ }, { "type": "ExpressionStatement", - "start": 9712, - "end": 9756, + "start": 9479, + "end": 9523, "loc": { "start": { - "line": 257, + "line": 253, "column": 16 }, "end": { - "line": 257, + "line": 253, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 9712, - "end": 9755, + "start": 9479, + "end": 9522, "loc": { "start": { - "line": 257, + "line": 253, "column": 16 }, "end": { - "line": 257, + "line": 253, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 9712, - "end": 9726, + "start": 9479, + "end": 9493, "loc": { "start": { - "line": 257, + "line": 253, "column": 16 }, "end": { - "line": 257, + "line": 253, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9712, - "end": 9723, + "start": 9479, + "end": 9490, "loc": { "start": { - "line": 257, + "line": 253, "column": 16 }, "end": { - "line": 257, + "line": 253, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9712, - "end": 9716, + "start": 9479, + "end": 9483, "loc": { "start": { - "line": 257, + "line": 253, "column": 16 }, "end": { - "line": 257, + "line": 253, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9717, - "end": 9723, + "start": 9484, + "end": 9490, "loc": { "start": { - "line": 257, + "line": 253, "column": 21 }, "end": { - "line": 257, + "line": 253, "column": 27 }, "identifierName": "surfer" @@ -17455,15 +16924,15 @@ }, "property": { "type": "Identifier", - "start": 9724, - "end": 9726, + "start": 9491, + "end": 9493, "loc": { "start": { - "line": 257, + "line": 253, "column": 28 }, "end": { - "line": 257, + "line": 253, "column": 30 }, "identifierName": "un" @@ -17475,29 +16944,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9727, - "end": 9737, + "start": 9494, + "end": 9504, "loc": { "start": { - "line": 257, + "line": 253, "column": 31 }, "end": { - "line": 257, + "line": 253, "column": 41 } }, "object": { "type": "Identifier", - "start": 9727, - "end": 9732, + "start": 9494, + "end": 9499, "loc": { "start": { - "line": 257, + "line": 253, "column": 31 }, "end": { - "line": 257, + "line": 253, "column": 36 }, "identifierName": "Event" @@ -17506,15 +16975,15 @@ }, "property": { "type": "Identifier", - "start": 9733, - "end": 9737, + "start": 9500, + "end": 9504, "loc": { "start": { - "line": 257, + "line": 253, "column": 37 }, "end": { - "line": 257, + "line": 253, "column": 41 }, "identifierName": "SEEK" @@ -17525,44 +16994,44 @@ }, { "type": "MemberExpression", - "start": 9739, - "end": 9754, + "start": 9506, + "end": 9521, "loc": { "start": { - "line": 257, + "line": 253, "column": 43 }, "end": { - "line": 257, + "line": 253, "column": 58 } }, "object": { "type": "ThisExpression", - "start": 9739, - "end": 9743, + "start": 9506, + "end": 9510, "loc": { "start": { - "line": 257, + "line": 253, "column": 43 }, "end": { - "line": 257, + "line": 253, "column": 47 } } }, "property": { "type": "Identifier", - "start": 9744, - "end": 9754, + "start": 9511, + "end": 9521, "loc": { "start": { - "line": 257, + "line": 253, "column": 48 }, "end": { - "line": 257, + "line": 253, "column": 58 }, "identifierName": "surferSeek" @@ -17584,43 +17053,43 @@ }, "alternate": { "type": "IfStatement", - "start": 9786, - "end": 10070, + "start": 9553, + "end": 9837, "loc": { "start": { - "line": 259, + "line": 255, "column": 15 }, "end": { - "line": 265, + "line": 261, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 9790, - "end": 9805, + "start": 9557, + "end": 9572, "loc": { "start": { - "line": 259, + "line": 255, "column": 19 }, "end": { - "line": 259, + "line": 255, "column": 34 } }, "left": { "type": "Identifier", - "start": 9790, - "end": 9796, + "start": 9557, + "end": 9563, "loc": { "start": { - "line": 259, + "line": 255, "column": 19 }, "end": { - "line": 259, + "line": 255, "column": 25 }, "identifierName": "enable" @@ -17630,15 +17099,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 9801, - "end": 9805, + "start": 9568, + "end": 9572, "loc": { "start": { - "line": 259, + "line": 255, "column": 30 }, "end": { - "line": 259, + "line": 255, "column": 34 } }, @@ -17647,101 +17116,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9807, - "end": 10070, + "start": 9574, + "end": 9837, "loc": { "start": { - "line": 259, + "line": 255, "column": 36 }, "end": { - "line": 265, + "line": 261, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9821, - "end": 9867, + "start": 9588, + "end": 9634, "loc": { "start": { - "line": 260, + "line": 256, "column": 12 }, "end": { - "line": 260, + "line": 256, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 9821, - "end": 9866, + "start": 9588, + "end": 9633, "loc": { "start": { - "line": 260, + "line": 256, "column": 12 }, "end": { - "line": 260, + "line": 256, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 9821, - "end": 9835, + "start": 9588, + "end": 9602, "loc": { "start": { - "line": 260, + "line": 256, "column": 12 }, "end": { - "line": 260, + "line": 256, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 9821, - "end": 9832, + "start": 9588, + "end": 9599, "loc": { "start": { - "line": 260, + "line": 256, "column": 12 }, "end": { - "line": 260, + "line": 256, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9821, - "end": 9825, + "start": 9588, + "end": 9592, "loc": { "start": { - "line": 260, + "line": 256, "column": 12 }, "end": { - "line": 260, + "line": 256, "column": 16 } } }, "property": { "type": "Identifier", - "start": 9826, - "end": 9832, + "start": 9593, + "end": 9599, "loc": { "start": { - "line": 260, + "line": 256, "column": 17 }, "end": { - "line": 260, + "line": 256, "column": 23 }, "identifierName": "surfer" @@ -17752,15 +17221,15 @@ }, "property": { "type": "Identifier", - "start": 9833, - "end": 9835, + "start": 9600, + "end": 9602, "loc": { "start": { - "line": 260, + "line": 256, "column": 24 }, "end": { - "line": 260, + "line": 256, "column": 26 }, "identifierName": "on" @@ -17772,29 +17241,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9836, - "end": 9847, + "start": 9603, + "end": 9614, "loc": { "start": { - "line": 260, + "line": 256, "column": 27 }, "end": { - "line": 260, + "line": 256, "column": 38 } }, "object": { "type": "Identifier", - "start": 9836, - "end": 9841, + "start": 9603, + "end": 9608, "loc": { "start": { - "line": 260, + "line": 256, "column": 27 }, "end": { - "line": 260, + "line": 256, "column": 32 }, "identifierName": "Event" @@ -17803,15 +17272,15 @@ }, "property": { "type": "Identifier", - "start": 9842, - "end": 9847, + "start": 9609, + "end": 9614, "loc": { "start": { - "line": 260, + "line": 256, "column": 33 }, "end": { - "line": 260, + "line": 256, "column": 38 }, "identifierName": "READY" @@ -17822,44 +17291,44 @@ }, { "type": "MemberExpression", - "start": 9849, - "end": 9865, + "start": 9616, + "end": 9632, "loc": { "start": { - "line": 260, + "line": 256, "column": 40 }, "end": { - "line": 260, + "line": 256, "column": 56 } }, "object": { "type": "ThisExpression", - "start": 9849, - "end": 9853, + "start": 9616, + "end": 9620, "loc": { "start": { - "line": 260, + "line": 256, "column": 40 }, "end": { - "line": 260, + "line": 256, "column": 44 } } }, "property": { "type": "Identifier", - "start": 9854, - "end": 9865, + "start": 9621, + "end": 9632, "loc": { "start": { - "line": 260, + "line": 256, "column": 45 }, "end": { - "line": 260, + "line": 256, "column": 56 }, "identifierName": "surferReady" @@ -17873,72 +17342,72 @@ }, { "type": "IfStatement", - "start": 9880, - "end": 10060, + "start": 9647, + "end": 9827, "loc": { "start": { - "line": 261, + "line": 257, "column": 12 }, "end": { - "line": 264, + "line": 260, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 9884, - "end": 9909, + "start": 9651, + "end": 9676, "loc": { "start": { - "line": 261, + "line": 257, "column": 16 }, "end": { - "line": 261, + "line": 257, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 9884, - "end": 9896, + "start": 9651, + "end": 9663, "loc": { "start": { - "line": 261, + "line": 257, "column": 16 }, "end": { - "line": 261, + "line": 257, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 9884, - "end": 9888, + "start": 9651, + "end": 9655, "loc": { "start": { - "line": 261, + "line": 257, "column": 16 }, "end": { - "line": 261, + "line": 257, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9889, - "end": 9896, + "start": 9656, + "end": 9663, "loc": { "start": { - "line": 261, + "line": 257, "column": 21 }, "end": { - "line": 261, + "line": 257, "column": 28 }, "identifierName": "backend" @@ -17950,15 +17419,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 9901, - "end": 9909, + "start": 9668, + "end": 9676, "loc": { "start": { - "line": 261, + "line": 257, "column": 33 }, "end": { - "line": 261, + "line": 257, "column": 41 }, "identifierName": "WEBAUDIO" @@ -17968,101 +17437,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9911, - "end": 10060, + "start": 9678, + "end": 9827, "loc": { "start": { - "line": 261, + "line": 257, "column": 43 }, "end": { - "line": 264, + "line": 260, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9929, - "end": 9985, + "start": 9696, + "end": 9752, "loc": { "start": { - "line": 262, + "line": 258, "column": 16 }, "end": { - "line": 262, + "line": 258, "column": 72 } }, "expression": { "type": "CallExpression", - "start": 9929, - "end": 9984, + "start": 9696, + "end": 9751, "loc": { "start": { - "line": 262, + "line": 258, "column": 16 }, "end": { - "line": 262, + "line": 258, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 9929, - "end": 9943, + "start": 9696, + "end": 9710, "loc": { "start": { - "line": 262, + "line": 258, "column": 16 }, "end": { - "line": 262, + "line": 258, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9929, - "end": 9940, + "start": 9696, + "end": 9707, "loc": { "start": { - "line": 262, + "line": 258, "column": 16 }, "end": { - "line": 262, + "line": 258, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9929, - "end": 9933, + "start": 9696, + "end": 9700, "loc": { "start": { - "line": 262, + "line": 258, "column": 16 }, "end": { - "line": 262, + "line": 258, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9934, - "end": 9940, + "start": 9701, + "end": 9707, "loc": { "start": { - "line": 262, + "line": 258, "column": 21 }, "end": { - "line": 262, + "line": 258, "column": 27 }, "identifierName": "surfer" @@ -18073,15 +17542,15 @@ }, "property": { "type": "Identifier", - "start": 9941, - "end": 9943, + "start": 9708, + "end": 9710, "loc": { "start": { - "line": 262, + "line": 258, "column": 28 }, "end": { - "line": 262, + "line": 258, "column": 30 }, "identifierName": "on" @@ -18093,29 +17562,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9944, - "end": 9962, + "start": 9711, + "end": 9729, "loc": { "start": { - "line": 262, + "line": 258, "column": 31 }, "end": { - "line": 262, + "line": 258, "column": 49 } }, "object": { "type": "Identifier", - "start": 9944, - "end": 9949, + "start": 9711, + "end": 9716, "loc": { "start": { - "line": 262, + "line": 258, "column": 31 }, "end": { - "line": 262, + "line": 258, "column": 36 }, "identifierName": "Event" @@ -18124,15 +17593,15 @@ }, "property": { "type": "Identifier", - "start": 9950, - "end": 9962, + "start": 9717, + "end": 9729, "loc": { "start": { - "line": 262, + "line": 258, "column": 37 }, "end": { - "line": 262, + "line": 258, "column": 49 }, "identifierName": "AUDIOPROCESS" @@ -18143,44 +17612,44 @@ }, { "type": "MemberExpression", - "start": 9964, - "end": 9983, + "start": 9731, + "end": 9750, "loc": { "start": { - "line": 262, + "line": 258, "column": 51 }, "end": { - "line": 262, + "line": 258, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 9964, - "end": 9968, + "start": 9731, + "end": 9735, "loc": { "start": { - "line": 262, + "line": 258, "column": 51 }, "end": { - "line": 262, + "line": 258, "column": 55 } } }, "property": { "type": "Identifier", - "start": 9969, - "end": 9983, + "start": 9736, + "end": 9750, "loc": { "start": { - "line": 262, + "line": 258, "column": 56 }, "end": { - "line": 262, + "line": 258, "column": 70 }, "identifierName": "surferProgress" @@ -18194,86 +17663,86 @@ }, { "type": "ExpressionStatement", - "start": 10002, - "end": 10046, + "start": 9769, + "end": 9813, "loc": { "start": { - "line": 263, + "line": 259, "column": 16 }, "end": { - "line": 263, + "line": 259, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 10002, - "end": 10045, + "start": 9769, + "end": 9812, "loc": { "start": { - "line": 263, + "line": 259, "column": 16 }, "end": { - "line": 263, + "line": 259, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 10002, - "end": 10016, + "start": 9769, + "end": 9783, "loc": { "start": { - "line": 263, + "line": 259, "column": 16 }, "end": { - "line": 263, + "line": 259, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 10002, - "end": 10013, + "start": 9769, + "end": 9780, "loc": { "start": { - "line": 263, + "line": 259, "column": 16 }, "end": { - "line": 263, + "line": 259, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 10002, - "end": 10006, + "start": 9769, + "end": 9773, "loc": { "start": { - "line": 263, + "line": 259, "column": 16 }, "end": { - "line": 263, + "line": 259, "column": 20 } } }, "property": { "type": "Identifier", - "start": 10007, - "end": 10013, + "start": 9774, + "end": 9780, "loc": { "start": { - "line": 263, + "line": 259, "column": 21 }, "end": { - "line": 263, + "line": 259, "column": 27 }, "identifierName": "surfer" @@ -18284,15 +17753,15 @@ }, "property": { "type": "Identifier", - "start": 10014, - "end": 10016, + "start": 9781, + "end": 9783, "loc": { "start": { - "line": 263, + "line": 259, "column": 28 }, "end": { - "line": 263, + "line": 259, "column": 30 }, "identifierName": "on" @@ -18304,29 +17773,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 10017, - "end": 10027, + "start": 9784, + "end": 9794, "loc": { "start": { - "line": 263, + "line": 259, "column": 31 }, "end": { - "line": 263, + "line": 259, "column": 41 } }, "object": { "type": "Identifier", - "start": 10017, - "end": 10022, + "start": 9784, + "end": 9789, "loc": { "start": { - "line": 263, + "line": 259, "column": 31 }, "end": { - "line": 263, + "line": 259, "column": 36 }, "identifierName": "Event" @@ -18335,15 +17804,15 @@ }, "property": { "type": "Identifier", - "start": 10023, - "end": 10027, + "start": 9790, + "end": 9794, "loc": { "start": { - "line": 263, + "line": 259, "column": 37 }, "end": { - "line": 263, + "line": 259, "column": 41 }, "identifierName": "SEEK" @@ -18354,44 +17823,44 @@ }, { "type": "MemberExpression", - "start": 10029, - "end": 10044, + "start": 9796, + "end": 9811, "loc": { "start": { - "line": 263, + "line": 259, "column": 43 }, "end": { - "line": 263, + "line": 259, "column": 58 } }, "object": { "type": "ThisExpression", - "start": 10029, - "end": 10033, + "start": 9796, + "end": 9800, "loc": { "start": { - "line": 263, + "line": 259, "column": 43 }, "end": { - "line": 263, + "line": 259, "column": 47 } } }, "property": { "type": "Identifier", - "start": 10034, - "end": 10044, + "start": 9801, + "end": 9811, "loc": { "start": { - "line": 263, + "line": 259, "column": 48 }, "end": { - "line": 263, + "line": 259, "column": 58 }, "identifierName": "surferSeek" @@ -18422,15 +17891,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": 9252, - "end": 9452, + "start": 9019, + "end": 9219, "loc": { "start": { - "line": 245, + "line": 241, "column": 4 }, "end": { - "line": 251, + "line": 247, "column": 7 } } @@ -18440,15 +17909,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": 10082, - "end": 10374, + "start": 9849, + "end": 10141, "loc": { "start": { - "line": 268, + "line": 264, "column": 4 }, "end": { - "line": 275, + "line": 271, "column": 7 } } @@ -18457,15 +17926,15 @@ }, { "type": "ClassMethod", - "start": 10379, - "end": 11025, + "start": 10146, + "end": 10792, "loc": { "start": { - "line": 276, + "line": 272, "column": 4 }, "end": { - "line": 294, + "line": 290, "column": 5 } }, @@ -18473,15 +17942,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10379, - "end": 10383, + "start": 10146, + "end": 10150, "loc": { "start": { - "line": 276, + "line": 272, "column": 4 }, "end": { - "line": 276, + "line": 272, "column": 8 }, "identifierName": "load" @@ -18497,15 +17966,15 @@ "params": [ { "type": "Identifier", - "start": 10384, - "end": 10387, + "start": 10151, + "end": 10154, "loc": { "start": { - "line": 276, + "line": 272, "column": 9 }, "end": { - "line": 276, + "line": 272, "column": 12 }, "identifierName": "url" @@ -18514,15 +17983,15 @@ }, { "type": "Identifier", - "start": 10389, - "end": 10394, + "start": 10156, + "end": 10161, "loc": { "start": { - "line": 276, + "line": 272, "column": 14 }, "end": { - "line": 276, + "line": 272, "column": 19 }, "identifierName": "peaks" @@ -18532,72 +18001,72 @@ ], "body": { "type": "BlockStatement", - "start": 10396, - "end": 11025, + "start": 10163, + "end": 10792, "loc": { "start": { - "line": 276, + "line": 272, "column": 21 }, "end": { - "line": 294, + "line": 290, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 10406, - "end": 11019, + "start": 10173, + "end": 10786, "loc": { "start": { - "line": 277, + "line": 273, "column": 8 }, "end": { - "line": 293, + "line": 289, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 10410, - "end": 10452, + "start": 10177, + "end": 10219, "loc": { "start": { - "line": 277, + "line": 273, "column": 12 }, "end": { - "line": 277, + "line": 273, "column": 54 } }, "left": { "type": "BinaryExpression", - "start": 10410, - "end": 10429, + "start": 10177, + "end": 10196, "loc": { "start": { - "line": 277, + "line": 273, "column": 12 }, "end": { - "line": 277, + "line": 273, "column": 31 } }, "left": { "type": "Identifier", - "start": 10410, - "end": 10413, + "start": 10177, + "end": 10180, "loc": { "start": { - "line": 277, + "line": 273, "column": 12 }, "end": { - "line": 277, + "line": 273, "column": 15 }, "identifierName": "url" @@ -18607,15 +18076,15 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 10425, - "end": 10429, + "start": 10192, + "end": 10196, "loc": { "start": { - "line": 277, + "line": 273, "column": 27 }, "end": { - "line": 277, + "line": 273, "column": 31 }, "identifierName": "Blob" @@ -18626,29 +18095,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 10433, - "end": 10452, + "start": 10200, + "end": 10219, "loc": { "start": { - "line": 277, + "line": 273, "column": 35 }, "end": { - "line": 277, + "line": 273, "column": 54 } }, "left": { "type": "Identifier", - "start": 10433, - "end": 10436, + "start": 10200, + "end": 10203, "loc": { "start": { - "line": 277, + "line": 273, "column": 35 }, "end": { - "line": 277, + "line": 273, "column": 38 }, "identifierName": "url" @@ -18658,15 +18127,15 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 10448, - "end": 10452, + "start": 10215, + "end": 10219, "loc": { "start": { - "line": 277, + "line": 273, "column": 50 }, "end": { - "line": 277, + "line": 273, "column": 54 }, "identifierName": "File" @@ -18677,87 +18146,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 10454, - "end": 10568, + "start": 10221, + "end": 10335, "loc": { "start": { - "line": 277, + "line": 273, "column": 56 }, "end": { - "line": 280, + "line": 276, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 10468, - "end": 10519, + "start": 10235, + "end": 10286, "loc": { "start": { - "line": 278, + "line": 274, "column": 12 }, "end": { - "line": 278, + "line": 274, "column": 63 } }, "expression": { "type": "CallExpression", - "start": 10468, - "end": 10518, + "start": 10235, + "end": 10285, "loc": { "start": { - "line": 278, + "line": 274, "column": 12 }, "end": { - "line": 278, + "line": 274, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 10468, - "end": 10476, + "start": 10235, + "end": 10243, "loc": { "start": { - "line": 278, + "line": 274, "column": 12 }, "end": { - "line": 278, + "line": 274, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 10468, - "end": 10472, + "start": 10235, + "end": 10239, "loc": { "start": { - "line": 278, + "line": 274, "column": 12 }, "end": { - "line": 278, + "line": 274, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10473, - "end": 10476, + "start": 10240, + "end": 10243, "loc": { "start": { - "line": 278, + "line": 274, "column": 17 }, "end": { - "line": 278, + "line": 274, "column": 20 }, "identifierName": "log" @@ -18769,29 +18238,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10477, - "end": 10517, + "start": 10244, + "end": 10284, "loc": { "start": { - "line": 278, + "line": 274, "column": 21 }, "end": { - "line": 278, + "line": 274, "column": 61 } }, "left": { "type": "StringLiteral", - "start": 10477, - "end": 10495, + "start": 10244, + "end": 10262, "loc": { "start": { - "line": 278, + "line": 274, "column": 21 }, "end": { - "line": 278, + "line": 274, "column": 39 } }, @@ -18804,43 +18273,43 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 10498, - "end": 10517, + "start": 10265, + "end": 10284, "loc": { "start": { - "line": 278, + "line": 274, "column": 42 }, "end": { - "line": 278, + "line": 274, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 10498, - "end": 10512, + "start": 10265, + "end": 10279, "loc": { "start": { - "line": 278, + "line": 274, "column": 42 }, "end": { - "line": 278, + "line": 274, "column": 56 } }, "object": { "type": "Identifier", - "start": 10498, - "end": 10502, + "start": 10265, + "end": 10269, "loc": { "start": { - "line": 278, + "line": 274, "column": 42 }, "end": { - "line": 278, + "line": 274, "column": 46 }, "identifierName": "JSON" @@ -18849,15 +18318,15 @@ }, "property": { "type": "Identifier", - "start": 10503, - "end": 10512, + "start": 10270, + "end": 10279, "loc": { "start": { - "line": 278, + "line": 274, "column": 47 }, "end": { - "line": 278, + "line": 274, "column": 56 }, "identifierName": "stringify" @@ -18869,15 +18338,15 @@ "arguments": [ { "type": "Identifier", - "start": 10513, - "end": 10516, + "start": 10280, + "end": 10283, "loc": { "start": { - "line": 278, + "line": 274, "column": 57 }, "end": { - "line": 278, + "line": 274, "column": 60 }, "identifierName": "url" @@ -18892,86 +18361,86 @@ }, { "type": "ExpressionStatement", - "start": 10532, - "end": 10558, + "start": 10299, + "end": 10325, "loc": { "start": { - "line": 279, + "line": 275, "column": 12 }, "end": { - "line": 279, + "line": 275, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 10532, - "end": 10557, + "start": 10299, + "end": 10324, "loc": { "start": { - "line": 279, + "line": 275, "column": 12 }, "end": { - "line": 279, + "line": 275, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 10532, - "end": 10552, + "start": 10299, + "end": 10319, "loc": { "start": { - "line": 279, + "line": 275, "column": 12 }, "end": { - "line": 279, + "line": 275, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 10532, - "end": 10543, + "start": 10299, + "end": 10310, "loc": { "start": { - "line": 279, + "line": 275, "column": 12 }, "end": { - "line": 279, + "line": 275, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 10532, - "end": 10536, + "start": 10299, + "end": 10303, "loc": { "start": { - "line": 279, + "line": 275, "column": 12 }, "end": { - "line": 279, + "line": 275, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10537, - "end": 10543, + "start": 10304, + "end": 10310, "loc": { "start": { - "line": 279, + "line": 275, "column": 17 }, "end": { - "line": 279, + "line": 275, "column": 23 }, "identifierName": "surfer" @@ -18982,15 +18451,15 @@ }, "property": { "type": "Identifier", - "start": 10544, - "end": 10552, + "start": 10311, + "end": 10319, "loc": { "start": { - "line": 279, + "line": 275, "column": 24 }, "end": { - "line": 279, + "line": 275, "column": 32 }, "identifierName": "loadBlob" @@ -19002,15 +18471,15 @@ "arguments": [ { "type": "Identifier", - "start": 10553, - "end": 10556, + "start": 10320, + "end": 10323, "loc": { "start": { - "line": 279, + "line": 275, "column": 33 }, "end": { - "line": 279, + "line": 275, "column": 36 }, "identifierName": "url" @@ -19025,58 +18494,58 @@ }, "alternate": { "type": "BlockStatement", - "start": 10574, - "end": 11019, + "start": 10341, + "end": 10786, "loc": { "start": { - "line": 280, + "line": 276, "column": 15 }, "end": { - "line": 293, + "line": 289, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 10637, - "end": 11009, + "start": 10404, + "end": 10776, "loc": { "start": { - "line": 282, + "line": 278, "column": 12 }, "end": { - "line": 292, + "line": 288, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 10641, - "end": 10660, + "start": 10408, + "end": 10427, "loc": { "start": { - "line": 282, + "line": 278, "column": 16 }, "end": { - "line": 282, + "line": 278, "column": 35 } }, "left": { "type": "Identifier", - "start": 10641, - "end": 10646, + "start": 10408, + "end": 10413, "loc": { "start": { - "line": 282, + "line": 278, "column": 16 }, "end": { - "line": 282, + "line": 278, "column": 21 }, "identifierName": "peaks" @@ -19087,15 +18556,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 10651, - "end": 10660, + "start": 10418, + "end": 10427, "loc": { "start": { - "line": 282, + "line": 278, "column": 26 }, "end": { - "line": 282, + "line": 278, "column": 35 }, "identifierName": "undefined" @@ -19106,87 +18575,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 10662, - "end": 10721, + "start": 10429, + "end": 10488, "loc": { "start": { - "line": 282, + "line": 278, "column": 37 }, "end": { - "line": 284, + "line": 280, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 10680, - "end": 10707, + "start": 10447, + "end": 10474, "loc": { "start": { - "line": 283, + "line": 279, "column": 16 }, "end": { - "line": 283, + "line": 279, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 10680, - "end": 10706, + "start": 10447, + "end": 10473, "loc": { "start": { - "line": 283, + "line": 279, "column": 16 }, "end": { - "line": 283, + "line": 279, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 10680, - "end": 10694, + "start": 10447, + "end": 10461, "loc": { "start": { - "line": 283, + "line": 279, "column": 16 }, "end": { - "line": 283, + "line": 279, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 10680, - "end": 10684, + "start": 10447, + "end": 10451, "loc": { "start": { - "line": 283, + "line": 279, "column": 16 }, "end": { - "line": 283, + "line": 279, "column": 20 } } }, "property": { "type": "Identifier", - "start": 10685, - "end": 10694, + "start": 10452, + "end": 10461, "loc": { "start": { - "line": 283, + "line": 279, "column": 21 }, "end": { - "line": 283, + "line": 279, "column": 30 }, "identifierName": "loadPeaks" @@ -19198,15 +18667,15 @@ "arguments": [ { "type": "Identifier", - "start": 10695, - "end": 10698, + "start": 10462, + "end": 10465, "loc": { "start": { - "line": 283, + "line": 279, "column": 31 }, "end": { - "line": 283, + "line": 279, "column": 34 }, "identifierName": "url" @@ -19215,15 +18684,15 @@ }, { "type": "Identifier", - "start": 10700, - "end": 10705, + "start": 10467, + "end": 10472, "loc": { "start": { - "line": 283, + "line": 279, "column": 36 }, "end": { - "line": 283, + "line": 279, "column": 41 }, "identifierName": "peaks" @@ -19238,58 +18707,58 @@ }, "alternate": { "type": "BlockStatement", - "start": 10727, - "end": 11009, + "start": 10494, + "end": 10776, "loc": { "start": { - "line": 284, + "line": 280, "column": 19 }, "end": { - "line": 292, + "line": 288, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 10773, - "end": 10956, + "start": 10540, + "end": 10723, "loc": { "start": { - "line": 286, + "line": 282, "column": 16 }, "end": { - "line": 290, + "line": 286, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 10777, - "end": 10800, + "start": 10544, + "end": 10567, "loc": { "start": { - "line": 286, + "line": 282, "column": 20 }, "end": { - "line": 286, + "line": 282, "column": 43 } }, "left": { "type": "UnaryExpression", - "start": 10777, - "end": 10787, + "start": 10544, + "end": 10554, "loc": { "start": { - "line": 286, + "line": 282, "column": 20 }, "end": { - "line": 286, + "line": 282, "column": 30 } }, @@ -19297,15 +18766,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 10784, - "end": 10787, + "start": 10551, + "end": 10554, "loc": { "start": { - "line": 286, + "line": 282, "column": 27 }, "end": { - "line": 286, + "line": 282, "column": 30 }, "identifierName": "url" @@ -19321,15 +18790,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 10792, - "end": 10800, + "start": 10559, + "end": 10567, "loc": { "start": { - "line": 286, + "line": 282, "column": 35 }, "end": { - "line": 286, + "line": 282, "column": 43 } }, @@ -19343,87 +18812,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 10802, - "end": 10874, + "start": 10569, + "end": 10641, "loc": { "start": { - "line": 286, + "line": 282, "column": 45 }, "end": { - "line": 288, + "line": 284, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 10824, - "end": 10856, + "start": 10591, + "end": 10623, "loc": { "start": { - "line": 287, + "line": 283, "column": 20 }, "end": { - "line": 287, + "line": 283, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 10824, - "end": 10855, + "start": 10591, + "end": 10622, "loc": { "start": { - "line": 287, + "line": 283, "column": 20 }, "end": { - "line": 287, + "line": 283, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 10824, - "end": 10832, + "start": 10591, + "end": 10599, "loc": { "start": { - "line": 287, + "line": 283, "column": 20 }, "end": { - "line": 287, + "line": 283, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 10824, - "end": 10828, + "start": 10591, + "end": 10595, "loc": { "start": { - "line": 287, + "line": 283, "column": 20 }, "end": { - "line": 287, + "line": 283, "column": 24 } } }, "property": { "type": "Identifier", - "start": 10829, - "end": 10832, + "start": 10596, + "end": 10599, "loc": { "start": { - "line": 287, + "line": 283, "column": 25 }, "end": { - "line": 287, + "line": 283, "column": 28 }, "identifierName": "log" @@ -19435,29 +18904,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10833, - "end": 10854, + "start": 10600, + "end": 10621, "loc": { "start": { - "line": 287, + "line": 283, "column": 29 }, "end": { - "line": 287, + "line": 283, "column": 50 } }, "left": { "type": "StringLiteral", - "start": 10833, - "end": 10848, + "start": 10600, + "end": 10615, "loc": { "start": { - "line": 287, + "line": 283, "column": 29 }, "end": { - "line": 287, + "line": 283, "column": 44 } }, @@ -19470,15 +18939,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 10851, - "end": 10854, + "start": 10618, + "end": 10621, "loc": { "start": { - "line": 287, + "line": 283, "column": 47 }, "end": { - "line": 287, + "line": 283, "column": 50 }, "identifierName": "url" @@ -19494,87 +18963,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 10880, - "end": 10956, + "start": 10647, + "end": 10723, "loc": { "start": { - "line": 288, + "line": 284, "column": 23 }, "end": { - "line": 290, + "line": 286, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 10902, - "end": 10938, + "start": 10669, + "end": 10705, "loc": { "start": { - "line": 289, + "line": 285, "column": 20 }, "end": { - "line": 289, + "line": 285, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 10902, - "end": 10937, + "start": 10669, + "end": 10704, "loc": { "start": { - "line": 289, + "line": 285, "column": 20 }, "end": { - "line": 289, + "line": 285, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 10902, - "end": 10910, + "start": 10669, + "end": 10677, "loc": { "start": { - "line": 289, + "line": 285, "column": 20 }, "end": { - "line": 289, + "line": 285, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 10902, - "end": 10906, + "start": 10669, + "end": 10673, "loc": { "start": { - "line": 289, + "line": 285, "column": 20 }, "end": { - "line": 289, + "line": 285, "column": 24 } } }, "property": { "type": "Identifier", - "start": 10907, - "end": 10910, + "start": 10674, + "end": 10677, "loc": { "start": { - "line": 289, + "line": 285, "column": 25 }, "end": { - "line": 289, + "line": 285, "column": 28 }, "identifierName": "log" @@ -19586,29 +19055,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10911, - "end": 10936, + "start": 10678, + "end": 10703, "loc": { "start": { - "line": 289, + "line": 285, "column": 29 }, "end": { - "line": 289, + "line": 285, "column": 54 } }, "left": { "type": "StringLiteral", - "start": 10911, - "end": 10930, + "start": 10678, + "end": 10697, "loc": { "start": { - "line": 289, + "line": 285, "column": 29 }, "end": { - "line": 289, + "line": 285, "column": 48 } }, @@ -19621,15 +19090,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 10933, - "end": 10936, + "start": 10700, + "end": 10703, "loc": { "start": { - "line": 289, + "line": 285, "column": 51 }, "end": { - "line": 289, + "line": 285, "column": 54 }, "identifierName": "url" @@ -19647,15 +19116,15 @@ { "type": "CommentLine", "value": " no peaks", - "start": 10745, - "end": 10756, + "start": 10512, + "end": 10523, "loc": { "start": { - "line": 285, + "line": 281, "column": 16 }, "end": { - "line": 285, + "line": 281, "column": 27 } } @@ -19664,86 +19133,86 @@ }, { "type": "ExpressionStatement", - "start": 10973, - "end": 10995, + "start": 10740, + "end": 10762, "loc": { "start": { - "line": 291, + "line": 287, "column": 16 }, "end": { - "line": 291, + "line": 287, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 10973, - "end": 10994, + "start": 10740, + "end": 10761, "loc": { "start": { - "line": 291, + "line": 287, "column": 16 }, "end": { - "line": 291, + "line": 287, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 10973, - "end": 10989, + "start": 10740, + "end": 10756, "loc": { "start": { - "line": 291, + "line": 287, "column": 16 }, "end": { - "line": 291, + "line": 287, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 10973, - "end": 10984, + "start": 10740, + "end": 10751, "loc": { "start": { - "line": 291, + "line": 287, "column": 16 }, "end": { - "line": 291, + "line": 287, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 10973, - "end": 10977, + "start": 10740, + "end": 10744, "loc": { "start": { - "line": 291, + "line": 287, "column": 16 }, "end": { - "line": 291, + "line": 287, "column": 20 } } }, "property": { "type": "Identifier", - "start": 10978, - "end": 10984, + "start": 10745, + "end": 10751, "loc": { "start": { - "line": 291, + "line": 287, "column": 21 }, "end": { - "line": 291, + "line": 287, "column": 27 }, "identifierName": "surfer" @@ -19754,15 +19223,15 @@ }, "property": { "type": "Identifier", - "start": 10985, - "end": 10989, + "start": 10752, + "end": 10756, "loc": { "start": { - "line": 291, + "line": 287, "column": 28 }, "end": { - "line": 291, + "line": 287, "column": 32 }, "identifierName": "load" @@ -19774,15 +19243,15 @@ "arguments": [ { "type": "Identifier", - "start": 10990, - "end": 10993, + "start": 10757, + "end": 10760, "loc": { "start": { - "line": 291, + "line": 287, "column": 33 }, "end": { - "line": 291, + "line": 287, "column": 36 }, "identifierName": "url" @@ -19799,15 +19268,15 @@ { "type": "CommentLine", "value": " load peak data from array or file", - "start": 10588, - "end": 10624, + "start": 10355, + "end": 10391, "loc": { "start": { - "line": 281, + "line": 277, "column": 12 }, "end": { - "line": 281, + "line": 277, "column": 48 } } @@ -19826,15 +19295,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": 10082, - "end": 10374, + "start": 9849, + "end": 10141, "loc": { "start": { - "line": 268, + "line": 264, "column": 4 }, "end": { - "line": 275, + "line": 271, "column": 7 } } @@ -19844,15 +19313,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": 11031, - "end": 11323, + "start": 10798, + "end": 11090, "loc": { "start": { - "line": 296, + "line": 292, "column": 4 }, "end": { - "line": 303, + "line": 299, "column": 7 } } @@ -19861,15 +19330,15 @@ }, { "type": "ClassMethod", - "start": 11328, - "end": 12731, + "start": 11095, + "end": 12498, "loc": { "start": { - "line": 304, + "line": 300, "column": 4 }, "end": { - "line": 339, + "line": 335, "column": 5 } }, @@ -19877,15 +19346,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11328, - "end": 11337, + "start": 11095, + "end": 11104, "loc": { "start": { - "line": 304, + "line": 300, "column": 4 }, "end": { - "line": 304, + "line": 300, "column": 13 }, "identifierName": "loadPeaks" @@ -19901,15 +19370,15 @@ "params": [ { "type": "Identifier", - "start": 11338, - "end": 11341, + "start": 11105, + "end": 11108, "loc": { "start": { - "line": 304, + "line": 300, "column": 14 }, "end": { - "line": 304, + "line": 300, "column": 17 }, "identifierName": "url" @@ -19918,15 +19387,15 @@ }, { "type": "Identifier", - "start": 11343, - "end": 11348, + "start": 11110, + "end": 11115, "loc": { "start": { - "line": 304, + "line": 300, "column": 19 }, "end": { - "line": 304, + "line": 300, "column": 24 }, "identifierName": "peaks" @@ -19936,72 +19405,72 @@ ], "body": { "type": "BlockStatement", - "start": 11350, - "end": 12731, + "start": 11117, + "end": 12498, "loc": { "start": { - "line": 304, + "line": 300, "column": 26 }, "end": { - "line": 339, + "line": 335, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 11360, - "end": 12725, + "start": 11127, + "end": 12492, "loc": { "start": { - "line": 305, + "line": 301, "column": 8 }, "end": { - "line": 338, + "line": 334, "column": 9 } }, "test": { "type": "CallExpression", - "start": 11364, - "end": 11384, + "start": 11131, + "end": 11151, "loc": { "start": { - "line": 305, + "line": 301, "column": 12 }, "end": { - "line": 305, + "line": 301, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 11364, - "end": 11377, + "start": 11131, + "end": 11144, "loc": { "start": { - "line": 305, + "line": 301, "column": 12 }, "end": { - "line": 305, + "line": 301, "column": 25 } }, "object": { "type": "Identifier", - "start": 11364, - "end": 11369, + "start": 11131, + "end": 11136, "loc": { "start": { - "line": 305, + "line": 301, "column": 12 }, "end": { - "line": 305, + "line": 301, "column": 17 }, "identifierName": "Array" @@ -20010,15 +19479,15 @@ }, "property": { "type": "Identifier", - "start": 11370, - "end": 11377, + "start": 11137, + "end": 11144, "loc": { "start": { - "line": 305, + "line": 301, "column": 18 }, "end": { - "line": 305, + "line": 301, "column": 25 }, "identifierName": "isArray" @@ -20030,15 +19499,15 @@ "arguments": [ { "type": "Identifier", - "start": 11378, - "end": 11383, + "start": 11145, + "end": 11150, "loc": { "start": { - "line": 305, + "line": 301, "column": 26 }, "end": { - "line": 305, + "line": 301, "column": 31 }, "identifierName": "peaks" @@ -20049,72 +19518,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 11386, - "end": 11543, + "start": 11153, + "end": 11310, "loc": { "start": { - "line": 305, + "line": 301, "column": 34 }, "end": { - "line": 309, + "line": 305, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 11439, - "end": 11491, + "start": 11206, + "end": 11258, "loc": { "start": { - "line": 307, + "line": 303, "column": 12 }, "end": { - "line": 307, + "line": 303, "column": 64 } }, "expression": { "type": "CallExpression", - "start": 11439, - "end": 11490, + "start": 11206, + "end": 11257, "loc": { "start": { - "line": 307, + "line": 303, "column": 12 }, "end": { - "line": 307, + "line": 303, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 11439, - "end": 11447, + "start": 11206, + "end": 11214, "loc": { "start": { - "line": 307, + "line": 303, "column": 12 }, "end": { - "line": 307, + "line": 303, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 11439, - "end": 11443, + "start": 11206, + "end": 11210, "loc": { "start": { - "line": 307, + "line": 303, "column": 12 }, "end": { - "line": 307, + "line": 303, "column": 16 } }, @@ -20122,15 +19591,15 @@ }, "property": { "type": "Identifier", - "start": 11444, - "end": 11447, + "start": 11211, + "end": 11214, "loc": { "start": { - "line": 307, + "line": 303, "column": 17 }, "end": { - "line": 307, + "line": 303, "column": 20 }, "identifierName": "log" @@ -20143,29 +19612,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11448, - "end": 11489, + "start": 11215, + "end": 11256, "loc": { "start": { - "line": 307, + "line": 303, "column": 21 }, "end": { - "line": 307, + "line": 303, "column": 62 } }, "left": { "type": "StringLiteral", - "start": 11448, - "end": 11483, + "start": 11215, + "end": 11250, "loc": { "start": { - "line": 307, + "line": 303, "column": 21 }, "end": { - "line": 307, + "line": 303, "column": 56 } }, @@ -20178,15 +19647,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 11486, - "end": 11489, + "start": 11253, + "end": 11256, "loc": { "start": { - "line": 307, + "line": 303, "column": 59 }, "end": { - "line": 307, + "line": 303, "column": 62 }, "identifierName": "url" @@ -20201,15 +19670,15 @@ { "type": "CommentLine", "value": " use supplied peaks data", - "start": 11400, - "end": 11426, + "start": 11167, + "end": 11193, "loc": { "start": { - "line": 306, + "line": 302, "column": 12 }, "end": { - "line": 306, + "line": 302, "column": 38 } } @@ -20218,86 +19687,86 @@ }, { "type": "ExpressionStatement", - "start": 11504, - "end": 11533, + "start": 11271, + "end": 11300, "loc": { "start": { - "line": 308, + "line": 304, "column": 12 }, "end": { - "line": 308, + "line": 304, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 11504, - "end": 11532, + "start": 11271, + "end": 11299, "loc": { "start": { - "line": 308, + "line": 304, "column": 12 }, "end": { - "line": 308, + "line": 304, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 11504, - "end": 11520, + "start": 11271, + "end": 11287, "loc": { "start": { - "line": 308, + "line": 304, "column": 12 }, "end": { - "line": 308, + "line": 304, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 11504, - "end": 11515, + "start": 11271, + "end": 11282, "loc": { "start": { - "line": 308, + "line": 304, "column": 12 }, "end": { - "line": 308, + "line": 304, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 11504, - "end": 11508, + "start": 11271, + "end": 11275, "loc": { "start": { - "line": 308, + "line": 304, "column": 12 }, "end": { - "line": 308, + "line": 304, "column": 16 } } }, "property": { "type": "Identifier", - "start": 11509, - "end": 11515, + "start": 11276, + "end": 11282, "loc": { "start": { - "line": 308, + "line": 304, "column": 17 }, "end": { - "line": 308, + "line": 304, "column": 23 }, "identifierName": "surfer" @@ -20308,15 +19777,15 @@ }, "property": { "type": "Identifier", - "start": 11516, - "end": 11520, + "start": 11283, + "end": 11287, "loc": { "start": { - "line": 308, + "line": 304, "column": 24 }, "end": { - "line": 308, + "line": 304, "column": 28 }, "identifierName": "load" @@ -20328,15 +19797,15 @@ "arguments": [ { "type": "Identifier", - "start": 11521, - "end": 11524, + "start": 11288, + "end": 11291, "loc": { "start": { - "line": 308, + "line": 304, "column": 29 }, "end": { - "line": 308, + "line": 304, "column": 32 }, "identifierName": "url" @@ -20345,15 +19814,15 @@ }, { "type": "Identifier", - "start": 11526, - "end": 11531, + "start": 11293, + "end": 11298, "loc": { "start": { - "line": 308, + "line": 304, "column": 34 }, "end": { - "line": 308, + "line": 304, "column": 39 }, "identifierName": "peaks" @@ -20368,59 +19837,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 11549, - "end": 12725, + "start": 11316, + "end": 12492, "loc": { "start": { - "line": 309, + "line": 305, "column": 15 }, "end": { - "line": 338, + "line": 334, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 11603, - "end": 11705, + "start": 11370, + "end": 11472, "loc": { "start": { - "line": 311, + "line": 307, "column": 12 }, "end": { - "line": 314, + "line": 310, "column": 14 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11607, - "end": 11704, + "start": 11374, + "end": 11471, "loc": { "start": { - "line": 311, + "line": 307, "column": 16 }, "end": { - "line": 314, + "line": 310, "column": 13 } }, "id": { "type": "Identifier", - "start": 11607, - "end": 11621, + "start": 11374, + "end": 11388, "loc": { "start": { - "line": 311, + "line": 307, "column": 16 }, "end": { - "line": 311, + "line": 307, "column": 30 }, "identifierName": "requestOptions" @@ -20430,30 +19899,30 @@ }, "init": { "type": "ObjectExpression", - "start": 11624, - "end": 11704, + "start": 11391, + "end": 11471, "loc": { "start": { - "line": 311, + "line": 307, "column": 33 }, "end": { - "line": 314, + "line": 310, "column": 13 } }, "properties": [ { "type": "ObjectProperty", - "start": 11642, - "end": 11652, + "start": 11409, + "end": 11419, "loc": { "start": { - "line": 312, + "line": 308, "column": 16 }, "end": { - "line": 312, + "line": 308, "column": 26 } }, @@ -20462,15 +19931,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11642, - "end": 11645, + "start": 11409, + "end": 11412, "loc": { "start": { - "line": 312, + "line": 308, "column": 16 }, "end": { - "line": 312, + "line": 308, "column": 19 }, "identifierName": "url" @@ -20479,15 +19948,15 @@ }, "value": { "type": "Identifier", - "start": 11647, - "end": 11652, + "start": 11414, + "end": 11419, "loc": { "start": { - "line": 312, + "line": 308, "column": 21 }, "end": { - "line": 312, + "line": 308, "column": 26 }, "identifierName": "peaks" @@ -20497,15 +19966,15 @@ }, { "type": "ObjectProperty", - "start": 11670, - "end": 11690, + "start": 11437, + "end": 11457, "loc": { "start": { - "line": 313, + "line": 309, "column": 16 }, "end": { - "line": 313, + "line": 309, "column": 36 } }, @@ -20514,15 +19983,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11670, - "end": 11682, + "start": 11437, + "end": 11449, "loc": { "start": { - "line": 313, + "line": 309, "column": 16 }, "end": { - "line": 313, + "line": 309, "column": 28 }, "identifierName": "responseType" @@ -20531,15 +20000,15 @@ }, "value": { "type": "StringLiteral", - "start": 11684, - "end": 11690, + "start": 11451, + "end": 11457, "loc": { "start": { - "line": 313, + "line": 309, "column": 30 }, "end": { - "line": 313, + "line": 309, "column": 36 } }, @@ -20560,15 +20029,15 @@ { "type": "CommentLine", "value": " load peak data from file", - "start": 11563, - "end": 11590, + "start": 11330, + "end": 11357, "loc": { "start": { - "line": 310, + "line": 306, "column": 12 }, "end": { - "line": 310, + "line": 306, "column": 39 } } @@ -20578,15 +20047,15 @@ { "type": "CommentLine", "value": " supply xhr options, if any", - "start": 11719, - "end": 11748, + "start": 11486, + "end": 11515, "loc": { "start": { - "line": 316, + "line": 312, "column": 12 }, "end": { - "line": 316, + "line": 312, "column": 41 } } @@ -20595,113 +20064,113 @@ }, { "type": "IfStatement", - "start": 11761, - "end": 11921, + "start": 11528, + "end": 11688, "loc": { "start": { - "line": 317, + "line": 313, "column": 12 }, "end": { - "line": 319, + "line": 315, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 11765, - "end": 11822, + "start": 11532, + "end": 11589, "loc": { "start": { - "line": 317, + "line": 313, "column": 16 }, "end": { - "line": 317, + "line": 313, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 11765, - "end": 11808, + "start": 11532, + "end": 11575, "loc": { "start": { - "line": 317, + "line": 313, "column": 16 }, "end": { - "line": 317, + "line": 313, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 11765, - "end": 11804, + "start": 11532, + "end": 11571, "loc": { "start": { - "line": 317, + "line": 313, "column": 16 }, "end": { - "line": 317, + "line": 313, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 11765, - "end": 11793, + "start": 11532, + "end": 11560, "loc": { "start": { - "line": 317, + "line": 313, "column": 16 }, "end": { - "line": 317, + "line": 313, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 11765, - "end": 11785, + "start": 11532, + "end": 11552, "loc": { "start": { - "line": 317, + "line": 313, "column": 16 }, "end": { - "line": 317, + "line": 313, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 11765, - "end": 11776, + "start": 11532, + "end": 11543, "loc": { "start": { - "line": 317, + "line": 313, "column": 16 }, "end": { - "line": 317, + "line": 313, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 11765, - "end": 11769, + "start": 11532, + "end": 11536, "loc": { "start": { - "line": 317, + "line": 313, "column": 16 }, "end": { - "line": 317, + "line": 313, "column": 20 } }, @@ -20709,15 +20178,15 @@ }, "property": { "type": "Identifier", - "start": 11770, - "end": 11776, + "start": 11537, + "end": 11543, "loc": { "start": { - "line": 317, + "line": 313, "column": 21 }, "end": { - "line": 317, + "line": 313, "column": 27 }, "identifierName": "player" @@ -20729,15 +20198,15 @@ }, "property": { "type": "Identifier", - "start": 11777, - "end": 11785, + "start": 11544, + "end": 11552, "loc": { "start": { - "line": 317, + "line": 313, "column": 28 }, "end": { - "line": 317, + "line": 313, "column": 36 }, "identifierName": "options_" @@ -20749,15 +20218,15 @@ }, "property": { "type": "Identifier", - "start": 11786, - "end": 11793, + "start": 11553, + "end": 11560, "loc": { "start": { - "line": 317, + "line": 313, "column": 37 }, "end": { - "line": 317, + "line": 313, "column": 44 }, "identifierName": "plugins" @@ -20769,15 +20238,15 @@ }, "property": { "type": "Identifier", - "start": 11794, - "end": 11804, + "start": 11561, + "end": 11571, "loc": { "start": { - "line": 317, + "line": 313, "column": 45 }, "end": { - "line": 317, + "line": 313, "column": 55 }, "identifierName": "wavesurfer" @@ -20789,15 +20258,15 @@ }, "property": { "type": "Identifier", - "start": 11805, - "end": 11808, + "start": 11572, + "end": 11575, "loc": { "start": { - "line": 317, + "line": 313, "column": 56 }, "end": { - "line": 317, + "line": 313, "column": 59 }, "identifierName": "xhr" @@ -20810,15 +20279,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 11813, - "end": 11822, + "start": 11580, + "end": 11589, "loc": { "start": { - "line": 317, + "line": 313, "column": 64 }, "end": { - "line": 317, + "line": 313, "column": 73 }, "identifierName": "undefined" @@ -20829,73 +20298,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 11824, - "end": 11921, + "start": 11591, + "end": 11688, "loc": { "start": { - "line": 317, + "line": 313, "column": 75 }, "end": { - "line": 319, + "line": 315, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 11842, - "end": 11907, + "start": 11609, + "end": 11674, "loc": { "start": { - "line": 318, + "line": 314, "column": 16 }, "end": { - "line": 318, + "line": 314, "column": 81 } }, "expression": { "type": "AssignmentExpression", - "start": 11842, - "end": 11906, + "start": 11609, + "end": 11673, "loc": { "start": { - "line": 318, + "line": 314, "column": 16 }, "end": { - "line": 318, + "line": 314, "column": 80 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 11842, - "end": 11860, + "start": 11609, + "end": 11627, "loc": { "start": { - "line": 318, + "line": 314, "column": 16 }, "end": { - "line": 318, + "line": 314, "column": 34 } }, "object": { "type": "Identifier", - "start": 11842, - "end": 11856, + "start": 11609, + "end": 11623, "loc": { "start": { - "line": 318, + "line": 314, "column": 16 }, "end": { - "line": 318, + "line": 314, "column": 30 }, "identifierName": "requestOptions" @@ -20904,15 +20373,15 @@ }, "property": { "type": "Identifier", - "start": 11857, - "end": 11860, + "start": 11624, + "end": 11627, "loc": { "start": { - "line": 318, + "line": 314, "column": 31 }, "end": { - "line": 318, + "line": 314, "column": 34 }, "identifierName": "xhr" @@ -20923,100 +20392,100 @@ }, "right": { "type": "MemberExpression", - "start": 11863, - "end": 11906, + "start": 11630, + "end": 11673, "loc": { "start": { - "line": 318, + "line": 314, "column": 37 }, "end": { - "line": 318, + "line": 314, "column": 80 } }, "object": { "type": "MemberExpression", - "start": 11863, - "end": 11902, + "start": 11630, + "end": 11669, "loc": { "start": { - "line": 318, + "line": 314, "column": 37 }, "end": { - "line": 318, + "line": 314, "column": 76 } }, "object": { "type": "MemberExpression", - "start": 11863, - "end": 11891, + "start": 11630, + "end": 11658, "loc": { "start": { - "line": 318, + "line": 314, "column": 37 }, "end": { - "line": 318, + "line": 314, "column": 65 } }, "object": { "type": "MemberExpression", - "start": 11863, - "end": 11883, + "start": 11630, + "end": 11650, "loc": { "start": { - "line": 318, + "line": 314, "column": 37 }, "end": { - "line": 318, + "line": 314, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 11863, - "end": 11874, + "start": 11630, + "end": 11641, "loc": { "start": { - "line": 318, + "line": 314, "column": 37 }, "end": { - "line": 318, + "line": 314, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 11863, - "end": 11867, + "start": 11630, + "end": 11634, "loc": { "start": { - "line": 318, + "line": 314, "column": 37 }, "end": { - "line": 318, + "line": 314, "column": 41 } } }, "property": { "type": "Identifier", - "start": 11868, - "end": 11874, + "start": 11635, + "end": 11641, "loc": { "start": { - "line": 318, + "line": 314, "column": 42 }, "end": { - "line": 318, + "line": 314, "column": 48 }, "identifierName": "player" @@ -21027,15 +20496,15 @@ }, "property": { "type": "Identifier", - "start": 11875, - "end": 11883, + "start": 11642, + "end": 11650, "loc": { "start": { - "line": 318, + "line": 314, "column": 49 }, "end": { - "line": 318, + "line": 314, "column": 57 }, "identifierName": "options_" @@ -21046,15 +20515,15 @@ }, "property": { "type": "Identifier", - "start": 11884, - "end": 11891, + "start": 11651, + "end": 11658, "loc": { "start": { - "line": 318, + "line": 314, "column": 58 }, "end": { - "line": 318, + "line": 314, "column": 65 }, "identifierName": "plugins" @@ -21065,15 +20534,15 @@ }, "property": { "type": "Identifier", - "start": 11892, - "end": 11902, + "start": 11659, + "end": 11669, "loc": { "start": { - "line": 318, + "line": 314, "column": 66 }, "end": { - "line": 318, + "line": 314, "column": 76 }, "identifierName": "wavesurfer" @@ -21084,15 +20553,15 @@ }, "property": { "type": "Identifier", - "start": 11903, - "end": 11906, + "start": 11670, + "end": 11673, "loc": { "start": { - "line": 318, + "line": 314, "column": 77 }, "end": { - "line": 318, + "line": 314, "column": 80 }, "identifierName": "xhr" @@ -21111,15 +20580,15 @@ { "type": "CommentLine", "value": " supply xhr options, if any", - "start": 11719, - "end": 11748, + "start": 11486, + "end": 11515, "loc": { "start": { - "line": 316, + "line": 312, "column": 12 }, "end": { - "line": 316, + "line": 312, "column": 41 } } @@ -21128,44 +20597,44 @@ }, { "type": "VariableDeclaration", - "start": 11934, - "end": 11990, + "start": 11701, + "end": 11757, "loc": { "start": { - "line": 320, + "line": 316, "column": 12 }, "end": { - "line": 320, + "line": 316, "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11938, - "end": 11989, + "start": 11705, + "end": 11756, "loc": { "start": { - "line": 320, + "line": 316, "column": 16 }, "end": { - "line": 320, + "line": 316, "column": 67 } }, "id": { "type": "Identifier", - "start": 11938, - "end": 11945, + "start": 11705, + "end": 11712, "loc": { "start": { - "line": 320, + "line": 316, "column": 16 }, "end": { - "line": 320, + "line": 316, "column": 23 }, "identifierName": "request" @@ -21174,57 +20643,57 @@ }, "init": { "type": "CallExpression", - "start": 11948, - "end": 11989, + "start": 11715, + "end": 11756, "loc": { "start": { - "line": 320, + "line": 316, "column": 26 }, "end": { - "line": 320, + "line": 316, "column": 67 } }, "callee": { "type": "MemberExpression", - "start": 11948, - "end": 11973, + "start": 11715, + "end": 11740, "loc": { "start": { - "line": 320, + "line": 316, "column": 26 }, "end": { - "line": 320, + "line": 316, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 11948, - "end": 11963, + "start": 11715, + "end": 11730, "loc": { "start": { - "line": 320, + "line": 316, "column": 26 }, "end": { - "line": 320, + "line": 316, "column": 41 } }, "object": { "type": "Identifier", - "start": 11948, - "end": 11958, + "start": 11715, + "end": 11725, "loc": { "start": { - "line": 320, + "line": 316, "column": 26 }, "end": { - "line": 320, + "line": 316, "column": 36 }, "identifierName": "WaveSurfer" @@ -21233,15 +20702,15 @@ }, "property": { "type": "Identifier", - "start": 11959, - "end": 11963, + "start": 11726, + "end": 11730, "loc": { "start": { - "line": 320, + "line": 316, "column": 37 }, "end": { - "line": 320, + "line": 316, "column": 41 }, "identifierName": "util" @@ -21252,15 +20721,15 @@ }, "property": { "type": "Identifier", - "start": 11964, - "end": 11973, + "start": 11731, + "end": 11740, "loc": { "start": { - "line": 320, + "line": 316, "column": 42 }, "end": { - "line": 320, + "line": 316, "column": 51 }, "identifierName": "fetchFile" @@ -21272,15 +20741,15 @@ "arguments": [ { "type": "Identifier", - "start": 11974, - "end": 11988, + "start": 11741, + "end": 11755, "loc": { "start": { - "line": 320, + "line": 316, "column": 52 }, "end": { - "line": 320, + "line": 316, "column": 66 }, "identifierName": "requestOptions" @@ -21295,57 +20764,57 @@ }, { "type": "ExpressionStatement", - "start": 12004, - "end": 12476, + "start": 11771, + "end": 12243, "loc": { "start": { - "line": 322, + "line": 318, "column": 12 }, "end": { - "line": 332, + "line": 328, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 12004, - "end": 12475, + "start": 11771, + "end": 12242, "loc": { "start": { - "line": 322, + "line": 318, "column": 12 }, "end": { - "line": 332, + "line": 328, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 12004, - "end": 12016, + "start": 11771, + "end": 11783, "loc": { "start": { - "line": 322, + "line": 318, "column": 12 }, "end": { - "line": 322, + "line": 318, "column": 24 } }, "object": { "type": "Identifier", - "start": 12004, - "end": 12011, + "start": 11771, + "end": 11778, "loc": { "start": { - "line": 322, + "line": 318, "column": 12 }, "end": { - "line": 322, + "line": 318, "column": 19 }, "identifierName": "request" @@ -21354,15 +20823,15 @@ }, "property": { "type": "Identifier", - "start": 12012, - "end": 12016, + "start": 11779, + "end": 11783, "loc": { "start": { - "line": 322, + "line": 318, "column": 20 }, "end": { - "line": 322, + "line": 318, "column": 24 }, "identifierName": "once" @@ -21374,15 +20843,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 12017, - "end": 12026, + "start": 11784, + "end": 11793, "loc": { "start": { - "line": 322, + "line": 318, "column": 25 }, "end": { - "line": 322, + "line": 318, "column": 34 } }, @@ -21394,15 +20863,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 12028, - "end": 12474, + "start": 11795, + "end": 12241, "loc": { "start": { - "line": 322, + "line": 318, "column": 36 }, "end": { - "line": 332, + "line": 328, "column": 13 } }, @@ -21413,15 +20882,15 @@ "params": [ { "type": "Identifier", - "start": 12028, - "end": 12032, + "start": 11795, + "end": 11799, "loc": { "start": { - "line": 322, + "line": 318, "column": 36 }, "end": { - "line": 322, + "line": 318, "column": 40 }, "identifierName": "data" @@ -21431,87 +20900,87 @@ ], "body": { "type": "BlockStatement", - "start": 12036, - "end": 12474, + "start": 11803, + "end": 12241, "loc": { "start": { - "line": 322, + "line": 318, "column": 44 }, "end": { - "line": 332, + "line": 328, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12054, - "end": 12097, + "start": 11821, + "end": 11864, "loc": { "start": { - "line": 323, + "line": 319, "column": 16 }, "end": { - "line": 323, + "line": 319, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 12054, - "end": 12096, + "start": 11821, + "end": 11863, "loc": { "start": { - "line": 323, + "line": 319, "column": 16 }, "end": { - "line": 323, + "line": 319, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 12054, - "end": 12062, + "start": 11821, + "end": 11829, "loc": { "start": { - "line": 323, + "line": 319, "column": 16 }, "end": { - "line": 323, + "line": 319, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 12054, - "end": 12058, + "start": 11821, + "end": 11825, "loc": { "start": { - "line": 323, + "line": 319, "column": 16 }, "end": { - "line": 323, + "line": 319, "column": 20 } } }, "property": { "type": "Identifier", - "start": 12059, - "end": 12062, + "start": 11826, + "end": 11829, "loc": { "start": { - "line": 323, + "line": 319, "column": 21 }, "end": { - "line": 323, + "line": 319, "column": 24 }, "identifierName": "log" @@ -21523,29 +20992,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 12063, - "end": 12095, + "start": 11830, + "end": 11862, "loc": { "start": { - "line": 323, + "line": 319, "column": 25 }, "end": { - "line": 323, + "line": 319, "column": 57 } }, "left": { "type": "StringLiteral", - "start": 12063, - "end": 12087, + "start": 11830, + "end": 11854, "loc": { "start": { - "line": 323, + "line": 319, "column": 25 }, "end": { - "line": 323, + "line": 319, "column": 49 } }, @@ -21558,15 +21027,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 12090, - "end": 12095, + "start": 11857, + "end": 11862, "loc": { "start": { - "line": 323, + "line": 319, "column": 52 }, "end": { - "line": 323, + "line": 319, "column": 57 }, "identifierName": "peaks" @@ -21580,15 +21049,15 @@ { "type": "CommentLine", "value": " check for data property containing peaks", - "start": 12114, - "end": 12157, + "start": 11881, + "end": 11924, "loc": { "start": { - "line": 324, + "line": 320, "column": 16 }, "end": { - "line": 324, + "line": 320, "column": 59 } } @@ -21597,43 +21066,43 @@ }, { "type": "IfStatement", - "start": 12174, - "end": 12460, + "start": 11941, + "end": 12227, "loc": { "start": { - "line": 325, + "line": 321, "column": 16 }, "end": { - "line": 331, + "line": 327, "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 12178, - "end": 12195, + "start": 11945, + "end": 11962, "loc": { "start": { - "line": 325, + "line": 321, "column": 20 }, "end": { - "line": 325, + "line": 321, "column": 37 } }, "left": { "type": "Identifier", - "start": 12178, - "end": 12182, + "start": 11945, + "end": 11949, "loc": { "start": { - "line": 325, + "line": 321, "column": 20 }, "end": { - "line": 325, + "line": 321, "column": 24 }, "identifierName": "data" @@ -21644,29 +21113,29 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 12186, - "end": 12195, + "start": 11953, + "end": 11962, "loc": { "start": { - "line": 325, + "line": 321, "column": 28 }, "end": { - "line": 325, + "line": 321, "column": 37 } }, "object": { "type": "Identifier", - "start": 12186, - "end": 12190, + "start": 11953, + "end": 11957, "loc": { "start": { - "line": 325, + "line": 321, "column": 28 }, "end": { - "line": 325, + "line": 321, "column": 32 }, "identifierName": "data" @@ -21675,15 +21144,15 @@ }, "property": { "type": "Identifier", - "start": 12191, - "end": 12195, + "start": 11958, + "end": 11962, "loc": { "start": { - "line": 325, + "line": 321, "column": 33 }, "end": { - "line": 325, + "line": 321, "column": 37 }, "identifierName": "data" @@ -21696,101 +21165,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 12197, - "end": 12270, + "start": 11964, + "end": 12037, "loc": { "start": { - "line": 325, + "line": 321, "column": 39 }, "end": { - "line": 327, + "line": 323, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 12219, - "end": 12252, + "start": 11986, + "end": 12019, "loc": { "start": { - "line": 326, + "line": 322, "column": 20 }, "end": { - "line": 326, + "line": 322, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 12219, - "end": 12251, + "start": 11986, + "end": 12018, "loc": { "start": { - "line": 326, + "line": 322, "column": 20 }, "end": { - "line": 326, + "line": 322, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 12219, - "end": 12235, + "start": 11986, + "end": 12002, "loc": { "start": { - "line": 326, + "line": 322, "column": 20 }, "end": { - "line": 326, + "line": 322, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 12219, - "end": 12230, + "start": 11986, + "end": 11997, "loc": { "start": { - "line": 326, + "line": 322, "column": 20 }, "end": { - "line": 326, + "line": 322, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 12219, - "end": 12223, + "start": 11986, + "end": 11990, "loc": { "start": { - "line": 326, + "line": 322, "column": 20 }, "end": { - "line": 326, + "line": 322, "column": 24 } } }, "property": { "type": "Identifier", - "start": 12224, - "end": 12230, + "start": 11991, + "end": 11997, "loc": { "start": { - "line": 326, + "line": 322, "column": 25 }, "end": { - "line": 326, + "line": 322, "column": 31 }, "identifierName": "surfer" @@ -21801,15 +21270,15 @@ }, "property": { "type": "Identifier", - "start": 12231, - "end": 12235, + "start": 11998, + "end": 12002, "loc": { "start": { - "line": 326, + "line": 322, "column": 32 }, "end": { - "line": 326, + "line": 322, "column": 36 }, "identifierName": "load" @@ -21821,15 +21290,15 @@ "arguments": [ { "type": "Identifier", - "start": 12236, - "end": 12239, + "start": 12003, + "end": 12006, "loc": { "start": { - "line": 326, + "line": 322, "column": 37 }, "end": { - "line": 326, + "line": 322, "column": 40 }, "identifierName": "url" @@ -21838,29 +21307,29 @@ }, { "type": "MemberExpression", - "start": 12241, - "end": 12250, + "start": 12008, + "end": 12017, "loc": { "start": { - "line": 326, + "line": 322, "column": 42 }, "end": { - "line": 326, + "line": 322, "column": 51 } }, "object": { "type": "Identifier", - "start": 12241, - "end": 12245, + "start": 12008, + "end": 12012, "loc": { "start": { - "line": 326, + "line": 322, "column": 42 }, "end": { - "line": 326, + "line": 322, "column": 46 }, "identifierName": "data" @@ -21869,15 +21338,15 @@ }, "property": { "type": "Identifier", - "start": 12246, - "end": 12250, + "start": 12013, + "end": 12017, "loc": { "start": { - "line": 326, + "line": 322, "column": 47 }, "end": { - "line": 326, + "line": 322, "column": 51 }, "identifierName": "data" @@ -21894,101 +21363,101 @@ }, "alternate": { "type": "BlockStatement", - "start": 12276, - "end": 12460, + "start": 12043, + "end": 12227, "loc": { "start": { - "line": 327, + "line": 323, "column": 23 }, "end": { - "line": 331, + "line": 327, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 12298, - "end": 12398, + "start": 12065, + "end": 12165, "loc": { "start": { - "line": 328, + "line": 324, "column": 20 }, "end": { - "line": 329, + "line": 325, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 12298, - "end": 12397, + "start": 12065, + "end": 12164, "loc": { "start": { - "line": 328, + "line": 324, "column": 20 }, "end": { - "line": 329, + "line": 325, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 12298, - "end": 12317, + "start": 12065, + "end": 12084, "loc": { "start": { - "line": 328, + "line": 324, "column": 20 }, "end": { - "line": 328, + "line": 324, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 12298, - "end": 12309, + "start": 12065, + "end": 12076, "loc": { "start": { - "line": 328, + "line": 324, "column": 20 }, "end": { - "line": 328, + "line": 324, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 12298, - "end": 12302, + "start": 12065, + "end": 12069, "loc": { "start": { - "line": 328, + "line": 324, "column": 20 }, "end": { - "line": 328, + "line": 324, "column": 24 } } }, "property": { "type": "Identifier", - "start": 12303, - "end": 12309, + "start": 12070, + "end": 12076, "loc": { "start": { - "line": 328, + "line": 324, "column": 25 }, "end": { - "line": 328, + "line": 324, "column": 31 }, "identifierName": "player" @@ -21999,15 +21468,15 @@ }, "property": { "type": "Identifier", - "start": 12310, - "end": 12317, + "start": 12077, + "end": 12084, "loc": { "start": { - "line": 328, + "line": 324, "column": 32 }, "end": { - "line": 328, + "line": 324, "column": 39 }, "identifierName": "trigger" @@ -22019,29 +21488,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 12318, - "end": 12329, + "start": 12085, + "end": 12096, "loc": { "start": { - "line": 328, + "line": 324, "column": 40 }, "end": { - "line": 328, + "line": 324, "column": 51 } }, "object": { "type": "Identifier", - "start": 12318, - "end": 12323, + "start": 12085, + "end": 12090, "loc": { "start": { - "line": 328, + "line": 324, "column": 40 }, "end": { - "line": 328, + "line": 324, "column": 45 }, "identifierName": "Event" @@ -22050,15 +21519,15 @@ }, "property": { "type": "Identifier", - "start": 12324, - "end": 12329, + "start": 12091, + "end": 12096, "loc": { "start": { - "line": 328, + "line": 324, "column": 46 }, "end": { - "line": 328, + "line": 324, "column": 51 }, "identifierName": "ERROR" @@ -22069,29 +21538,29 @@ }, { "type": "BinaryExpression", - "start": 12355, - "end": 12396, + "start": 12122, + "end": 12163, "loc": { "start": { - "line": 329, + "line": 325, "column": 24 }, "end": { - "line": 329, + "line": 325, "column": 65 } }, "left": { "type": "StringLiteral", - "start": 12355, - "end": 12388, + "start": 12122, + "end": 12155, "loc": { "start": { - "line": 329, + "line": 325, "column": 24 }, "end": { - "line": 329, + "line": 325, "column": 57 } }, @@ -22104,15 +21573,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 12391, - "end": 12396, + "start": 12158, + "end": 12163, "loc": { "start": { - "line": 329, + "line": 325, "column": 60 }, "end": { - "line": 329, + "line": 325, "column": 65 }, "identifierName": "peaks" @@ -22125,72 +21594,72 @@ }, { "type": "ExpressionStatement", - "start": 12419, - "end": 12442, + "start": 12186, + "end": 12209, "loc": { "start": { - "line": 330, + "line": 326, "column": 20 }, "end": { - "line": 330, + "line": 326, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 12419, - "end": 12441, + "start": 12186, + "end": 12208, "loc": { "start": { - "line": 330, + "line": 326, "column": 20 }, "end": { - "line": 330, + "line": 326, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 12419, - "end": 12427, + "start": 12186, + "end": 12194, "loc": { "start": { - "line": 330, + "line": 326, "column": 20 }, "end": { - "line": 330, + "line": 326, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 12419, - "end": 12423, + "start": 12186, + "end": 12190, "loc": { "start": { - "line": 330, + "line": 326, "column": 20 }, "end": { - "line": 330, + "line": 326, "column": 24 } } }, "property": { "type": "Identifier", - "start": 12424, - "end": 12427, + "start": 12191, + "end": 12194, "loc": { "start": { - "line": 330, + "line": 326, "column": 25 }, "end": { - "line": 330, + "line": 326, "column": 28 }, "identifierName": "log" @@ -22202,15 +21671,15 @@ "arguments": [ { "type": "Identifier", - "start": 12428, - "end": 12431, + "start": 12195, + "end": 12198, "loc": { "start": { - "line": 330, + "line": 326, "column": 29 }, "end": { - "line": 330, + "line": 326, "column": 32 }, "identifierName": "err" @@ -22219,15 +21688,15 @@ }, { "type": "StringLiteral", - "start": 12433, - "end": 12440, + "start": 12200, + "end": 12207, "loc": { "start": { - "line": 330, + "line": 326, "column": 34 }, "end": { - "line": 330, + "line": 326, "column": 41 } }, @@ -22247,15 +21716,15 @@ { "type": "CommentLine", "value": " check for data property containing peaks", - "start": 12114, - "end": 12157, + "start": 11881, + "end": 11924, "loc": { "start": { - "line": 324, + "line": 320, "column": 16 }, "end": { - "line": 324, + "line": 320, "column": 59 } } @@ -22271,57 +21740,57 @@ }, { "type": "ExpressionStatement", - "start": 12489, - "end": 12715, + "start": 12256, + "end": 12482, "loc": { "start": { - "line": 333, + "line": 329, "column": 12 }, "end": { - "line": 337, + "line": 333, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 12489, - "end": 12714, + "start": 12256, + "end": 12481, "loc": { "start": { - "line": 333, + "line": 329, "column": 12 }, "end": { - "line": 337, + "line": 333, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 12489, - "end": 12501, + "start": 12256, + "end": 12268, "loc": { "start": { - "line": 333, + "line": 329, "column": 12 }, "end": { - "line": 333, + "line": 329, "column": 24 } }, "object": { "type": "Identifier", - "start": 12489, - "end": 12496, + "start": 12256, + "end": 12263, "loc": { "start": { - "line": 333, + "line": 329, "column": 12 }, "end": { - "line": 333, + "line": 329, "column": 19 }, "identifierName": "request" @@ -22330,15 +21799,15 @@ }, "property": { "type": "Identifier", - "start": 12497, - "end": 12501, + "start": 12264, + "end": 12268, "loc": { "start": { - "line": 333, + "line": 329, "column": 20 }, "end": { - "line": 333, + "line": 329, "column": 24 }, "identifierName": "once" @@ -22350,15 +21819,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 12502, - "end": 12509, + "start": 12269, + "end": 12276, "loc": { "start": { - "line": 333, + "line": 329, "column": 25 }, "end": { - "line": 333, + "line": 329, "column": 32 } }, @@ -22370,15 +21839,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 12511, - "end": 12713, + "start": 12278, + "end": 12480, "loc": { "start": { - "line": 333, + "line": 329, "column": 34 }, "end": { - "line": 337, + "line": 333, "column": 13 } }, @@ -22389,15 +21858,15 @@ "params": [ { "type": "Identifier", - "start": 12511, - "end": 12512, + "start": 12278, + "end": 12279, "loc": { "start": { - "line": 333, + "line": 329, "column": 34 }, "end": { - "line": 333, + "line": 329, "column": 35 }, "identifierName": "e" @@ -22407,101 +21876,101 @@ ], "body": { "type": "BlockStatement", - "start": 12516, - "end": 12713, + "start": 12283, + "end": 12480, "loc": { "start": { - "line": 333, + "line": 329, "column": 39 }, "end": { - "line": 337, + "line": 333, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12534, - "end": 12699, + "start": 12301, + "end": 12466, "loc": { "start": { - "line": 334, + "line": 330, "column": 16 }, "end": { - "line": 336, + "line": 332, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 12534, - "end": 12698, + "start": 12301, + "end": 12465, "loc": { "start": { - "line": 334, + "line": 330, "column": 16 }, "end": { - "line": 336, + "line": 332, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 12534, - "end": 12553, + "start": 12301, + "end": 12320, "loc": { "start": { - "line": 334, + "line": 330, "column": 16 }, "end": { - "line": 334, + "line": 330, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 12534, - "end": 12545, + "start": 12301, + "end": 12312, "loc": { "start": { - "line": 334, + "line": 330, "column": 16 }, "end": { - "line": 334, + "line": 330, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 12534, - "end": 12538, + "start": 12301, + "end": 12305, "loc": { "start": { - "line": 334, + "line": 330, "column": 16 }, "end": { - "line": 334, + "line": 330, "column": 20 } } }, "property": { "type": "Identifier", - "start": 12539, - "end": 12545, + "start": 12306, + "end": 12312, "loc": { "start": { - "line": 334, + "line": 330, "column": 21 }, "end": { - "line": 334, + "line": 330, "column": 27 }, "identifierName": "player" @@ -22512,15 +21981,15 @@ }, "property": { "type": "Identifier", - "start": 12546, - "end": 12553, + "start": 12313, + "end": 12320, "loc": { "start": { - "line": 334, + "line": 330, "column": 28 }, "end": { - "line": 334, + "line": 330, "column": 35 }, "identifierName": "trigger" @@ -22532,29 +22001,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 12554, - "end": 12565, + "start": 12321, + "end": 12332, "loc": { "start": { - "line": 334, + "line": 330, "column": 36 }, "end": { - "line": 334, + "line": 330, "column": 47 } }, "object": { "type": "Identifier", - "start": 12554, - "end": 12559, + "start": 12321, + "end": 12326, "loc": { "start": { - "line": 334, + "line": 330, "column": 36 }, "end": { - "line": 334, + "line": 330, "column": 41 }, "identifierName": "Event" @@ -22563,15 +22032,15 @@ }, "property": { "type": "Identifier", - "start": 12560, - "end": 12565, + "start": 12327, + "end": 12332, "loc": { "start": { - "line": 334, + "line": 330, "column": 42 }, "end": { - "line": 334, + "line": 330, "column": 47 }, "identifierName": "ERROR" @@ -22582,57 +22051,57 @@ }, { "type": "BinaryExpression", - "start": 12587, - "end": 12697, + "start": 12354, + "end": 12464, "loc": { "start": { - "line": 335, + "line": 331, "column": 20 }, "end": { - "line": 336, + "line": 332, "column": 63 } }, "left": { "type": "BinaryExpression", - "start": 12587, - "end": 12671, + "start": 12354, + "end": 12438, "loc": { "start": { - "line": 335, + "line": 331, "column": 20 }, "end": { - "line": 336, + "line": 332, "column": 37 } }, "left": { "type": "BinaryExpression", - "start": 12587, - "end": 12631, + "start": 12354, + "end": 12398, "loc": { "start": { - "line": 335, + "line": 331, "column": 20 }, "end": { - "line": 335, + "line": 331, "column": 64 } }, "left": { "type": "StringLiteral", - "start": 12587, - "end": 12623, + "start": 12354, + "end": 12390, "loc": { "start": { - "line": 335, + "line": 331, "column": 20 }, "end": { - "line": 335, + "line": 331, "column": 56 } }, @@ -22645,15 +22114,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 12626, - "end": 12631, + "start": 12393, + "end": 12398, "loc": { "start": { - "line": 335, + "line": 331, "column": 59 }, "end": { - "line": 335, + "line": 331, "column": 64 }, "identifierName": "peaks" @@ -22664,15 +22133,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 12654, - "end": 12671, + "start": 12421, + "end": 12438, "loc": { "start": { - "line": 336, + "line": 332, "column": 20 }, "end": { - "line": 336, + "line": 332, "column": 37 } }, @@ -22686,43 +22155,43 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 12674, - "end": 12697, + "start": 12441, + "end": 12464, "loc": { "start": { - "line": 336, + "line": 332, "column": 40 }, "end": { - "line": 336, + "line": 332, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 12674, - "end": 12690, + "start": 12441, + "end": 12457, "loc": { "start": { - "line": 336, + "line": 332, "column": 40 }, "end": { - "line": 336, + "line": 332, "column": 56 } }, "object": { "type": "Identifier", - "start": 12674, - "end": 12681, + "start": 12441, + "end": 12448, "loc": { "start": { - "line": 336, + "line": 332, "column": 40 }, "end": { - "line": 336, + "line": 332, "column": 47 }, "identifierName": "request" @@ -22731,15 +22200,15 @@ }, "property": { "type": "Identifier", - "start": 12682, - "end": 12690, + "start": 12449, + "end": 12457, "loc": { "start": { - "line": 336, + "line": 332, "column": 48 }, "end": { - "line": 336, + "line": 332, "column": 56 }, "identifierName": "response" @@ -22750,15 +22219,15 @@ }, "property": { "type": "Identifier", - "start": 12691, - "end": 12697, + "start": 12458, + "end": 12464, "loc": { "start": { - "line": 336, + "line": 332, "column": 57 }, "end": { - "line": 336, + "line": 332, "column": 63 }, "identifierName": "status" @@ -22790,15 +22259,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": 11031, - "end": 11323, + "start": 10798, + "end": 11090, "loc": { "start": { - "line": 296, + "line": 292, "column": 4 }, "end": { - "line": 303, + "line": 299, "column": 7 } } @@ -22808,15 +22277,15 @@ { "type": "CommentBlock", "value": "*\n * Start/resume playback or microphone.\n ", - "start": 12737, - "end": 12792, + "start": 12504, + "end": 12559, "loc": { "start": { - "line": 341, + "line": 337, "column": 4 }, "end": { - "line": 343, + "line": 339, "column": 7 } } @@ -22825,15 +22294,15 @@ }, { "type": "ClassMethod", - "start": 12797, - "end": 13837, + "start": 12564, + "end": 13604, "loc": { "start": { - "line": 344, + "line": 340, "column": 4 }, "end": { - "line": 377, + "line": 373, "column": 5 } }, @@ -22841,15 +22310,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12797, - "end": 12801, + "start": 12564, + "end": 12568, "loc": { "start": { - "line": 344, + "line": 340, "column": 4 }, "end": { - "line": 344, + "line": 340, "column": 8 }, "identifierName": "play" @@ -22865,114 +22334,114 @@ "params": [], "body": { "type": "BlockStatement", - "start": 12804, - "end": 13837, + "start": 12571, + "end": 13604, "loc": { "start": { - "line": 344, + "line": 340, "column": 11 }, "end": { - "line": 377, + "line": 373, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 12843, - "end": 13028, + "start": 12610, + "end": 12795, "loc": { "start": { - "line": 346, + "line": 342, "column": 8 }, "end": { - "line": 349, + "line": 345, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 12847, - "end": 12955, + "start": 12614, + "end": 12722, "loc": { "start": { - "line": 346, + "line": 342, "column": 12 }, "end": { - "line": 347, + "line": 343, "column": 57 } }, "left": { "type": "BinaryExpression", - "start": 12847, - "end": 12894, + "start": 12614, + "end": 12661, "loc": { "start": { - "line": 346, + "line": 342, "column": 12 }, "end": { - "line": 346, + "line": 342, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 12847, - "end": 12880, + "start": 12614, + "end": 12647, "loc": { "start": { - "line": 346, + "line": 342, "column": 12 }, "end": { - "line": 346, + "line": 342, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 12847, - "end": 12869, + "start": 12614, + "end": 12636, "loc": { "start": { - "line": 346, + "line": 342, "column": 12 }, "end": { - "line": 346, + "line": 342, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12847, - "end": 12858, + "start": 12614, + "end": 12625, "loc": { "start": { - "line": 346, + "line": 342, "column": 12 }, "end": { - "line": 346, + "line": 342, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12847, - "end": 12851, + "start": 12614, + "end": 12618, "loc": { "start": { - "line": 346, + "line": 342, "column": 12 }, "end": { - "line": 346, + "line": 342, "column": 16 } }, @@ -22980,15 +22449,15 @@ }, "property": { "type": "Identifier", - "start": 12852, - "end": 12858, + "start": 12619, + "end": 12625, "loc": { "start": { - "line": 346, + "line": 342, "column": 17 }, "end": { - "line": 346, + "line": 342, "column": 23 }, "identifierName": "player" @@ -23000,15 +22469,15 @@ }, "property": { "type": "Identifier", - "start": 12859, - "end": 12869, + "start": 12626, + "end": 12636, "loc": { "start": { - "line": 346, + "line": 342, "column": 24 }, "end": { - "line": 346, + "line": 342, "column": 34 }, "identifierName": "controlBar" @@ -23020,15 +22489,15 @@ }, "property": { "type": "Identifier", - "start": 12870, - "end": 12880, + "start": 12637, + "end": 12647, "loc": { "start": { - "line": 346, + "line": 342, "column": 35 }, "end": { - "line": 346, + "line": 342, "column": 45 }, "identifierName": "playToggle" @@ -23041,15 +22510,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 12885, - "end": 12894, + "start": 12652, + "end": 12661, "loc": { "start": { - "line": 346, + "line": 342, "column": 50 }, "end": { - "line": 346, + "line": 342, "column": 59 }, "identifierName": "undefined" @@ -23061,100 +22530,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 12910, - "end": 12955, + "start": 12677, + "end": 12722, "loc": { "start": { - "line": 347, + "line": 343, "column": 12 }, "end": { - "line": 347, + "line": 343, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 12910, - "end": 12953, + "start": 12677, + "end": 12720, "loc": { "start": { - "line": 347, + "line": 343, "column": 12 }, "end": { - "line": 347, + "line": 343, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 12910, - "end": 12943, + "start": 12677, + "end": 12710, "loc": { "start": { - "line": 347, + "line": 343, "column": 12 }, "end": { - "line": 347, + "line": 343, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 12910, - "end": 12932, + "start": 12677, + "end": 12699, "loc": { "start": { - "line": 347, + "line": 343, "column": 12 }, "end": { - "line": 347, + "line": 343, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12910, - "end": 12921, + "start": 12677, + "end": 12688, "loc": { "start": { - "line": 347, + "line": 343, "column": 12 }, "end": { - "line": 347, + "line": 343, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12910, - "end": 12914, + "start": 12677, + "end": 12681, "loc": { "start": { - "line": 347, + "line": 343, "column": 12 }, "end": { - "line": 347, + "line": 343, "column": 16 } } }, "property": { "type": "Identifier", - "start": 12915, - "end": 12921, + "start": 12682, + "end": 12688, "loc": { "start": { - "line": 347, + "line": 343, "column": 17 }, "end": { - "line": 347, + "line": 343, "column": 23 }, "identifierName": "player" @@ -23165,15 +22634,15 @@ }, "property": { "type": "Identifier", - "start": 12922, - "end": 12932, + "start": 12689, + "end": 12699, "loc": { "start": { - "line": 347, + "line": 343, "column": 24 }, "end": { - "line": 347, + "line": 343, "column": 34 }, "identifierName": "controlBar" @@ -23184,15 +22653,15 @@ }, "property": { "type": "Identifier", - "start": 12933, - "end": 12943, + "start": 12700, + "end": 12710, "loc": { "start": { - "line": 347, + "line": 343, "column": 35 }, "end": { - "line": 347, + "line": 343, "column": 45 }, "identifierName": "playToggle" @@ -23203,15 +22672,15 @@ }, "property": { "type": "Identifier", - "start": 12944, - "end": 12953, + "start": 12711, + "end": 12720, "loc": { "start": { - "line": 347, + "line": 343, "column": 46 }, "end": { - "line": 347, + "line": 343, "column": 55 }, "identifierName": "contentEl" @@ -23226,129 +22695,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 12957, - "end": 13028, + "start": 12724, + "end": 12795, "loc": { "start": { - "line": 347, + "line": 343, "column": 59 }, "end": { - "line": 349, + "line": 345, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 12971, - "end": 13018, + "start": 12738, + "end": 12785, "loc": { "start": { - "line": 348, + "line": 344, "column": 12 }, "end": { - "line": 348, + "line": 344, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 12971, - "end": 13017, + "start": 12738, + "end": 12784, "loc": { "start": { - "line": 348, + "line": 344, "column": 12 }, "end": { - "line": 348, + "line": 344, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 12971, - "end": 13015, + "start": 12738, + "end": 12782, "loc": { "start": { - "line": 348, + "line": 344, "column": 12 }, "end": { - "line": 348, + "line": 344, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 12971, - "end": 13004, + "start": 12738, + "end": 12771, "loc": { "start": { - "line": 348, + "line": 344, "column": 12 }, "end": { - "line": 348, + "line": 344, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 12971, - "end": 12993, + "start": 12738, + "end": 12760, "loc": { "start": { - "line": 348, + "line": 344, "column": 12 }, "end": { - "line": 348, + "line": 344, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12971, - "end": 12982, + "start": 12738, + "end": 12749, "loc": { "start": { - "line": 348, + "line": 344, "column": 12 }, "end": { - "line": 348, + "line": 344, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12971, - "end": 12975, + "start": 12738, + "end": 12742, "loc": { "start": { - "line": 348, + "line": 344, "column": 12 }, "end": { - "line": 348, + "line": 344, "column": 16 } } }, "property": { "type": "Identifier", - "start": 12976, - "end": 12982, + "start": 12743, + "end": 12749, "loc": { "start": { - "line": 348, + "line": 344, "column": 17 }, "end": { - "line": 348, + "line": 344, "column": 23 }, "identifierName": "player" @@ -23359,15 +22828,15 @@ }, "property": { "type": "Identifier", - "start": 12983, - "end": 12993, + "start": 12750, + "end": 12760, "loc": { "start": { - "line": 348, + "line": 344, "column": 24 }, "end": { - "line": 348, + "line": 344, "column": 34 }, "identifierName": "controlBar" @@ -23378,15 +22847,15 @@ }, "property": { "type": "Identifier", - "start": 12994, - "end": 13004, + "start": 12761, + "end": 12771, "loc": { "start": { - "line": 348, + "line": 344, "column": 35 }, "end": { - "line": 348, + "line": 344, "column": 45 }, "identifierName": "playToggle" @@ -23397,15 +22866,15 @@ }, "property": { "type": "Identifier", - "start": 13005, - "end": 13015, + "start": 12772, + "end": 12782, "loc": { "start": { - "line": 348, + "line": 344, "column": 46 }, "end": { - "line": 348, + "line": 344, "column": 56 }, "identifierName": "handlePlay" @@ -23425,15 +22894,15 @@ { "type": "CommentLine", "value": " show pause button", - "start": 12814, - "end": 12834, + "start": 12581, + "end": 12601, "loc": { "start": { - "line": 345, + "line": 341, "column": 8 }, "end": { - "line": 345, + "line": 341, "column": 28 } } @@ -23442,58 +22911,58 @@ }, { "type": "IfStatement", - "start": 13038, - "end": 13831, + "start": 12805, + "end": 13598, "loc": { "start": { - "line": 351, + "line": 347, "column": 8 }, "end": { - "line": 376, + "line": 372, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 13042, - "end": 13055, + "start": 12809, + "end": 12822, "loc": { "start": { - "line": 351, + "line": 347, "column": 12 }, "end": { - "line": 351, + "line": 347, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 13042, - "end": 13046, + "start": 12809, + "end": 12813, "loc": { "start": { - "line": 351, + "line": 347, "column": 12 }, "end": { - "line": 351, + "line": 347, "column": 16 } } }, "property": { "type": "Identifier", - "start": 13047, - "end": 13055, + "start": 12814, + "end": 12822, "loc": { "start": { - "line": 351, + "line": 347, "column": 17 }, "end": { - "line": 351, + "line": 347, "column": 25 }, "identifierName": "liveMode" @@ -23504,44 +22973,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 13057, - "end": 13616, + "start": 12824, + "end": 13383, "loc": { "start": { - "line": 351, + "line": 347, "column": 27 }, "end": { - "line": 368, + "line": 364, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 13124, - "end": 13606, + "start": 12891, + "end": 13373, "loc": { "start": { - "line": 353, + "line": 349, "column": 12 }, "end": { - "line": 367, + "line": 363, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 13128, - "end": 13158, + "start": 12895, + "end": 12925, "loc": { "start": { - "line": 353, + "line": 349, "column": 16 }, "end": { - "line": 353, + "line": 349, "column": 46 } }, @@ -23549,57 +23018,57 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 13129, - "end": 13158, + "start": 12896, + "end": 12925, "loc": { "start": { - "line": 353, + "line": 349, "column": 17 }, "end": { - "line": 353, + "line": 349, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 13129, - "end": 13151, + "start": 12896, + "end": 12918, "loc": { "start": { - "line": 353, + "line": 349, "column": 17 }, "end": { - "line": 353, + "line": 349, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 13129, - "end": 13140, + "start": 12896, + "end": 12907, "loc": { "start": { - "line": 353, + "line": 349, "column": 17 }, "end": { - "line": 353, + "line": 349, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 13129, - "end": 13133, + "start": 12896, + "end": 12900, "loc": { "start": { - "line": 353, + "line": 349, "column": 17 }, "end": { - "line": 353, + "line": 349, "column": 21 } }, @@ -23607,15 +23076,15 @@ }, "property": { "type": "Identifier", - "start": 13134, - "end": 13140, + "start": 12901, + "end": 12907, "loc": { "start": { - "line": 353, + "line": 349, "column": 22 }, "end": { - "line": 353, + "line": 349, "column": 28 }, "identifierName": "surfer" @@ -23627,15 +23096,15 @@ }, "property": { "type": "Identifier", - "start": 13141, - "end": 13151, + "start": 12908, + "end": 12918, "loc": { "start": { - "line": 353, + "line": 349, "column": 29 }, "end": { - "line": 353, + "line": 349, "column": 39 }, "identifierName": "microphone" @@ -23647,15 +23116,15 @@ }, "property": { "type": "Identifier", - "start": 13152, - "end": 13158, + "start": 12919, + "end": 12925, "loc": { "start": { - "line": 353, + "line": 349, "column": 40 }, "end": { - "line": 353, + "line": 349, "column": 46 }, "identifierName": "active" @@ -23672,87 +23141,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 13172, - "end": 13281, + "start": 12939, + "end": 13048, "loc": { "start": { - "line": 354, + "line": 350, "column": 12 }, "end": { - "line": 357, + "line": 353, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 13190, - "end": 13219, + "start": 12957, + "end": 12986, "loc": { "start": { - "line": 355, + "line": 351, "column": 16 }, "end": { - "line": 355, + "line": 351, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 13190, - "end": 13218, + "start": 12957, + "end": 12985, "loc": { "start": { - "line": 355, + "line": 351, "column": 16 }, "end": { - "line": 355, + "line": 351, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 13190, - "end": 13198, + "start": 12957, + "end": 12965, "loc": { "start": { - "line": 355, + "line": 351, "column": 16 }, "end": { - "line": 355, + "line": 351, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 13190, - "end": 13194, + "start": 12957, + "end": 12961, "loc": { "start": { - "line": 355, + "line": 351, "column": 16 }, "end": { - "line": 355, + "line": 351, "column": 20 } } }, "property": { "type": "Identifier", - "start": 13195, - "end": 13198, + "start": 12962, + "end": 12965, "loc": { "start": { - "line": 355, + "line": 351, "column": 21 }, "end": { - "line": 355, + "line": 351, "column": 24 }, "identifierName": "log" @@ -23764,15 +23233,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13199, - "end": 13217, + "start": 12966, + "end": 12984, "loc": { "start": { - "line": 355, + "line": 351, "column": 25 }, "end": { - "line": 355, + "line": 351, "column": 43 } }, @@ -23787,100 +23256,100 @@ }, { "type": "ExpressionStatement", - "start": 13236, - "end": 13267, + "start": 13003, + "end": 13034, "loc": { "start": { - "line": 356, + "line": 352, "column": 16 }, "end": { - "line": 356, + "line": 352, "column": 47 } }, "expression": { "type": "CallExpression", - "start": 13236, - "end": 13266, + "start": 13003, + "end": 13033, "loc": { "start": { - "line": 356, + "line": 352, "column": 16 }, "end": { - "line": 356, + "line": 352, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 13236, - "end": 13264, + "start": 13003, + "end": 13031, "loc": { "start": { - "line": 356, + "line": 352, "column": 16 }, "end": { - "line": 356, + "line": 352, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 13236, - "end": 13258, + "start": 13003, + "end": 13025, "loc": { "start": { - "line": 356, + "line": 352, "column": 16 }, "end": { - "line": 356, + "line": 352, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 13236, - "end": 13247, + "start": 13003, + "end": 13014, "loc": { "start": { - "line": 356, + "line": 352, "column": 16 }, "end": { - "line": 356, + "line": 352, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 13236, - "end": 13240, + "start": 13003, + "end": 13007, "loc": { "start": { - "line": 356, + "line": 352, "column": 16 }, "end": { - "line": 356, + "line": 352, "column": 20 } } }, "property": { "type": "Identifier", - "start": 13241, - "end": 13247, + "start": 13008, + "end": 13014, "loc": { "start": { - "line": 356, + "line": 352, "column": 21 }, "end": { - "line": 356, + "line": 352, "column": 27 }, "identifierName": "surfer" @@ -23891,15 +23360,15 @@ }, "property": { "type": "Identifier", - "start": 13248, - "end": 13258, + "start": 13015, + "end": 13025, "loc": { "start": { - "line": 356, + "line": 352, "column": 28 }, "end": { - "line": 356, + "line": 352, "column": 38 }, "identifierName": "microphone" @@ -23910,15 +23379,15 @@ }, "property": { "type": "Identifier", - "start": 13259, - "end": 13264, + "start": 13026, + "end": 13031, "loc": { "start": { - "line": 356, + "line": 352, "column": 39 }, "end": { - "line": 356, + "line": 352, "column": 44 }, "identifierName": "start" @@ -23935,59 +23404,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 13287, - "end": 13606, + "start": 13054, + "end": 13373, "loc": { "start": { - "line": 357, + "line": 353, "column": 19 }, "end": { - "line": 367, + "line": 363, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 13338, - "end": 13382, + "start": 13105, + "end": 13149, "loc": { "start": { - "line": 359, + "line": 355, "column": 16 }, "end": { - "line": 359, + "line": 355, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13342, - "end": 13381, + "start": 13109, + "end": 13148, "loc": { "start": { - "line": 359, + "line": 355, "column": 20 }, "end": { - "line": 359, + "line": 355, "column": 59 } }, "id": { "type": "Identifier", - "start": 13342, - "end": 13348, + "start": 13109, + "end": 13115, "loc": { "start": { - "line": 359, + "line": 355, "column": 20 }, "end": { - "line": 359, + "line": 355, "column": 26 }, "identifierName": "paused" @@ -23997,15 +23466,15 @@ }, "init": { "type": "UnaryExpression", - "start": 13351, - "end": 13381, + "start": 13118, + "end": 13148, "loc": { "start": { - "line": 359, + "line": 355, "column": 29 }, "end": { - "line": 359, + "line": 355, "column": 59 } }, @@ -24013,72 +23482,72 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 13352, - "end": 13381, + "start": 13119, + "end": 13148, "loc": { "start": { - "line": 359, + "line": 355, "column": 30 }, "end": { - "line": 359, + "line": 355, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 13352, - "end": 13374, + "start": 13119, + "end": 13141, "loc": { "start": { - "line": 359, + "line": 355, "column": 30 }, "end": { - "line": 359, + "line": 355, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 13352, - "end": 13363, + "start": 13119, + "end": 13130, "loc": { "start": { - "line": 359, + "line": 355, "column": 30 }, "end": { - "line": 359, + "line": 355, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 13352, - "end": 13356, + "start": 13119, + "end": 13123, "loc": { "start": { - "line": 359, + "line": 355, "column": 30 }, "end": { - "line": 359, + "line": 355, "column": 34 } } }, "property": { "type": "Identifier", - "start": 13357, - "end": 13363, + "start": 13124, + "end": 13130, "loc": { "start": { - "line": 359, + "line": 355, "column": 35 }, "end": { - "line": 359, + "line": 355, "column": 41 }, "identifierName": "surfer" @@ -24089,15 +23558,15 @@ }, "property": { "type": "Identifier", - "start": 13364, - "end": 13374, + "start": 13131, + "end": 13141, "loc": { "start": { - "line": 359, + "line": 355, "column": 42 }, "end": { - "line": 359, + "line": 355, "column": 52 }, "identifierName": "microphone" @@ -24108,15 +23577,15 @@ }, "property": { "type": "Identifier", - "start": 13375, - "end": 13381, + "start": 13142, + "end": 13148, "loc": { "start": { - "line": 359, + "line": 355, "column": 53 }, "end": { - "line": 359, + "line": 355, "column": 59 }, "identifierName": "paused" @@ -24137,15 +23606,15 @@ { "type": "CommentLine", "value": " toggle paused", - "start": 13305, - "end": 13321, + "start": 13072, + "end": 13088, "loc": { "start": { - "line": 358, + "line": 354, "column": 16 }, "end": { - "line": 358, + "line": 354, "column": 32 } } @@ -24154,29 +23623,29 @@ }, { "type": "IfStatement", - "start": 13400, - "end": 13592, + "start": 13167, + "end": 13359, "loc": { "start": { - "line": 361, + "line": 357, "column": 16 }, "end": { - "line": 366, + "line": 362, "column": 17 } }, "test": { "type": "Identifier", - "start": 13404, - "end": 13410, + "start": 13171, + "end": 13177, "loc": { "start": { - "line": 361, + "line": 357, "column": 20 }, "end": { - "line": 361, + "line": 357, "column": 26 }, "identifierName": "paused" @@ -24185,87 +23654,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 13412, - "end": 13465, + "start": 13179, + "end": 13232, "loc": { "start": { - "line": 361, + "line": 357, "column": 28 }, "end": { - "line": 363, + "line": 359, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 13434, - "end": 13447, + "start": 13201, + "end": 13214, "loc": { "start": { - "line": 362, + "line": 358, "column": 20 }, "end": { - "line": 362, + "line": 358, "column": 33 } }, "expression": { "type": "CallExpression", - "start": 13434, - "end": 13446, + "start": 13201, + "end": 13213, "loc": { "start": { - "line": 362, + "line": 358, "column": 20 }, "end": { - "line": 362, + "line": 358, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 13434, - "end": 13444, + "start": 13201, + "end": 13211, "loc": { "start": { - "line": 362, + "line": 358, "column": 20 }, "end": { - "line": 362, + "line": 358, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 13434, - "end": 13438, + "start": 13201, + "end": 13205, "loc": { "start": { - "line": 362, + "line": 358, "column": 20 }, "end": { - "line": 362, + "line": 358, "column": 24 } } }, "property": { "type": "Identifier", - "start": 13439, - "end": 13444, + "start": 13206, + "end": 13211, "loc": { "start": { - "line": 362, + "line": 358, "column": 25 }, "end": { - "line": 362, + "line": 358, "column": 30 }, "identifierName": "pause" @@ -24282,87 +23751,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 13471, - "end": 13592, + "start": 13238, + "end": 13359, "loc": { "start": { - "line": 363, + "line": 359, "column": 23 }, "end": { - "line": 366, + "line": 362, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 13493, - "end": 13523, + "start": 13260, + "end": 13290, "loc": { "start": { - "line": 364, + "line": 360, "column": 20 }, "end": { - "line": 364, + "line": 360, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 13493, - "end": 13522, + "start": 13260, + "end": 13289, "loc": { "start": { - "line": 364, + "line": 360, "column": 20 }, "end": { - "line": 364, + "line": 360, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 13493, - "end": 13501, + "start": 13260, + "end": 13268, "loc": { "start": { - "line": 364, + "line": 360, "column": 20 }, "end": { - "line": 364, + "line": 360, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 13493, - "end": 13497, + "start": 13260, + "end": 13264, "loc": { "start": { - "line": 364, + "line": 360, "column": 20 }, "end": { - "line": 364, + "line": 360, "column": 24 } } }, "property": { "type": "Identifier", - "start": 13498, - "end": 13501, + "start": 13265, + "end": 13268, "loc": { "start": { - "line": 364, + "line": 360, "column": 25 }, "end": { - "line": 364, + "line": 360, "column": 28 }, "identifierName": "log" @@ -24374,15 +23843,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13502, - "end": 13521, + "start": 13269, + "end": 13288, "loc": { "start": { - "line": 364, + "line": 360, "column": 29 }, "end": { - "line": 364, + "line": 360, "column": 48 } }, @@ -24397,100 +23866,100 @@ }, { "type": "ExpressionStatement", - "start": 13544, - "end": 13574, + "start": 13311, + "end": 13341, "loc": { "start": { - "line": 365, + "line": 361, "column": 20 }, "end": { - "line": 365, + "line": 361, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 13544, - "end": 13573, + "start": 13311, + "end": 13340, "loc": { "start": { - "line": 365, + "line": 361, "column": 20 }, "end": { - "line": 365, + "line": 361, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 13544, - "end": 13571, + "start": 13311, + "end": 13338, "loc": { "start": { - "line": 365, + "line": 361, "column": 20 }, "end": { - "line": 365, + "line": 361, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 13544, - "end": 13566, + "start": 13311, + "end": 13333, "loc": { "start": { - "line": 365, + "line": 361, "column": 20 }, "end": { - "line": 365, + "line": 361, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 13544, - "end": 13555, + "start": 13311, + "end": 13322, "loc": { "start": { - "line": 365, + "line": 361, "column": 20 }, "end": { - "line": 365, + "line": 361, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 13544, - "end": 13548, + "start": 13311, + "end": 13315, "loc": { "start": { - "line": 365, + "line": 361, "column": 20 }, "end": { - "line": 365, + "line": 361, "column": 24 } } }, "property": { "type": "Identifier", - "start": 13549, - "end": 13555, + "start": 13316, + "end": 13322, "loc": { "start": { - "line": 365, + "line": 361, "column": 25 }, "end": { - "line": 365, + "line": 361, "column": 31 }, "identifierName": "surfer" @@ -24501,15 +23970,15 @@ }, "property": { "type": "Identifier", - "start": 13556, - "end": 13566, + "start": 13323, + "end": 13333, "loc": { "start": { - "line": 365, + "line": 361, "column": 32 }, "end": { - "line": 365, + "line": 361, "column": 42 }, "identifierName": "microphone" @@ -24520,15 +23989,15 @@ }, "property": { "type": "Identifier", - "start": 13567, - "end": 13571, + "start": 13334, + "end": 13338, "loc": { "start": { - "line": 365, + "line": 361, "column": 43 }, "end": { - "line": 365, + "line": 361, "column": 47 }, "identifierName": "play" @@ -24551,15 +24020,15 @@ { "type": "CommentLine", "value": " start/resume microphone visualization", - "start": 13071, - "end": 13111, + "start": 12838, + "end": 12878, "loc": { "start": { - "line": 352, + "line": 348, "column": 12 }, "end": { - "line": 352, + "line": 348, "column": 52 } } @@ -24571,87 +24040,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 13622, - "end": 13831, + "start": 13389, + "end": 13598, "loc": { "start": { - "line": 368, + "line": 364, "column": 15 }, "end": { - "line": 376, + "line": 372, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 13636, - "end": 13663, + "start": 13403, + "end": 13430, "loc": { "start": { - "line": 369, + "line": 365, "column": 12 }, "end": { - "line": 369, + "line": 365, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 13636, - "end": 13662, + "start": 13403, + "end": 13429, "loc": { "start": { - "line": 369, + "line": 365, "column": 12 }, "end": { - "line": 369, + "line": 365, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 13636, - "end": 13644, + "start": 13403, + "end": 13411, "loc": { "start": { - "line": 369, + "line": 365, "column": 12 }, "end": { - "line": 369, + "line": 365, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 13636, - "end": 13640, + "start": 13403, + "end": 13407, "loc": { "start": { - "line": 369, + "line": 365, "column": 12 }, "end": { - "line": 369, + "line": 365, "column": 16 } } }, "property": { "type": "Identifier", - "start": 13641, - "end": 13644, + "start": 13408, + "end": 13411, "loc": { "start": { - "line": 369, + "line": 365, "column": 17 }, "end": { - "line": 369, + "line": 365, "column": 20 }, "identifierName": "log" @@ -24663,15 +24132,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13645, - "end": 13661, + "start": 13412, + "end": 13428, "loc": { "start": { - "line": 369, + "line": 365, "column": 21 }, "end": { - "line": 369, + "line": 365, "column": 37 } }, @@ -24687,15 +24156,15 @@ { "type": "CommentLine", "value": " put video.js player UI in playback mode", - "start": 13677, - "end": 13719, + "start": 13444, + "end": 13486, "loc": { "start": { - "line": 371, + "line": 367, "column": 12 }, "end": { - "line": 371, + "line": 367, "column": 54 } } @@ -24704,71 +24173,71 @@ }, { "type": "ExpressionStatement", - "start": 13732, - "end": 13751, + "start": 13499, + "end": 13518, "loc": { "start": { - "line": 372, + "line": 368, "column": 12 }, "end": { - "line": 372, + "line": 368, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 13732, - "end": 13750, + "start": 13499, + "end": 13517, "loc": { "start": { - "line": 372, + "line": 368, "column": 12 }, "end": { - "line": 372, + "line": 368, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 13732, - "end": 13748, + "start": 13499, + "end": 13515, "loc": { "start": { - "line": 372, + "line": 368, "column": 12 }, "end": { - "line": 372, + "line": 368, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 13732, - "end": 13743, + "start": 13499, + "end": 13510, "loc": { "start": { - "line": 372, + "line": 368, "column": 12 }, "end": { - "line": 372, + "line": 368, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13732, - "end": 13736, + "start": 13499, + "end": 13503, "loc": { "start": { - "line": 372, + "line": 368, "column": 12 }, "end": { - "line": 372, + "line": 368, "column": 16 } }, @@ -24776,15 +24245,15 @@ }, "property": { "type": "Identifier", - "start": 13737, - "end": 13743, + "start": 13504, + "end": 13510, "loc": { "start": { - "line": 372, + "line": 368, "column": 17 }, "end": { - "line": 372, + "line": 368, "column": 23 }, "identifierName": "player" @@ -24796,15 +24265,15 @@ }, "property": { "type": "Identifier", - "start": 13744, - "end": 13748, + "start": 13511, + "end": 13515, "loc": { "start": { - "line": 372, + "line": 368, "column": 24 }, "end": { - "line": 372, + "line": 368, "column": 28 }, "identifierName": "play" @@ -24821,15 +24290,15 @@ { "type": "CommentLine", "value": " put video.js player UI in playback mode", - "start": 13677, - "end": 13719, + "start": 13444, + "end": 13486, "loc": { "start": { - "line": 371, + "line": 367, "column": 12 }, "end": { - "line": 371, + "line": 367, "column": 54 } } @@ -24839,15 +24308,15 @@ { "type": "CommentLine", "value": " start surfer playback", - "start": 13765, - "end": 13789, + "start": 13532, + "end": 13556, "loc": { "start": { - "line": 374, + "line": 370, "column": 12 }, "end": { - "line": 374, + "line": 370, "column": 36 } } @@ -24856,71 +24325,71 @@ }, { "type": "ExpressionStatement", - "start": 13802, - "end": 13821, + "start": 13569, + "end": 13588, "loc": { "start": { - "line": 375, + "line": 371, "column": 12 }, "end": { - "line": 375, + "line": 371, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 13802, - "end": 13820, + "start": 13569, + "end": 13587, "loc": { "start": { - "line": 375, + "line": 371, "column": 12 }, "end": { - "line": 375, + "line": 371, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 13802, - "end": 13818, + "start": 13569, + "end": 13585, "loc": { "start": { - "line": 375, + "line": 371, "column": 12 }, "end": { - "line": 375, + "line": 371, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 13802, - "end": 13813, + "start": 13569, + "end": 13580, "loc": { "start": { - "line": 375, + "line": 371, "column": 12 }, "end": { - "line": 375, + "line": 371, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13802, - "end": 13806, + "start": 13569, + "end": 13573, "loc": { "start": { - "line": 375, + "line": 371, "column": 12 }, "end": { - "line": 375, + "line": 371, "column": 16 } }, @@ -24928,15 +24397,15 @@ }, "property": { "type": "Identifier", - "start": 13807, - "end": 13813, + "start": 13574, + "end": 13580, "loc": { "start": { - "line": 375, + "line": 371, "column": 17 }, "end": { - "line": 375, + "line": 371, "column": 23 }, "identifierName": "surfer" @@ -24948,15 +24417,15 @@ }, "property": { "type": "Identifier", - "start": 13814, - "end": 13818, + "start": 13581, + "end": 13585, "loc": { "start": { - "line": 375, + "line": 371, "column": 24 }, "end": { - "line": 375, + "line": 371, "column": 28 }, "identifierName": "play" @@ -24973,15 +24442,15 @@ { "type": "CommentLine", "value": " start surfer playback", - "start": 13765, - "end": 13789, + "start": 13532, + "end": 13556, "loc": { "start": { - "line": 374, + "line": 370, "column": 12 }, "end": { - "line": 374, + "line": 370, "column": 36 } } @@ -25000,15 +24469,15 @@ { "type": "CommentBlock", "value": "*\n * Start/resume playback or microphone.\n ", - "start": 12737, - "end": 12792, + "start": 12504, + "end": 12559, "loc": { "start": { - "line": 341, + "line": 337, "column": 4 }, "end": { - "line": 343, + "line": 339, "column": 7 } } @@ -25018,15 +24487,15 @@ { "type": "CommentBlock", "value": "*\n * Pauses playback or microphone visualization.\n ", - "start": 13843, - "end": 13906, + "start": 13610, + "end": 13673, "loc": { "start": { - "line": 379, + "line": 375, "column": 4 }, "end": { - "line": 381, + "line": 377, "column": 7 } } @@ -25035,15 +24504,15 @@ }, { "type": "ClassMethod", - "start": 13911, - "end": 14643, + "start": 13678, + "end": 14410, "loc": { "start": { - "line": 382, + "line": 378, "column": 4 }, "end": { - "line": 406, + "line": 402, "column": 5 } }, @@ -25051,15 +24520,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13911, - "end": 13916, + "start": 13678, + "end": 13683, "loc": { "start": { - "line": 382, + "line": 378, "column": 4 }, "end": { - "line": 382, + "line": 378, "column": 9 }, "identifierName": "pause" @@ -25075,114 +24544,114 @@ "params": [], "body": { "type": "BlockStatement", - "start": 13919, - "end": 14643, + "start": 13686, + "end": 14410, "loc": { "start": { - "line": 382, + "line": 378, "column": 12 }, "end": { - "line": 406, + "line": 402, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 13957, - "end": 14143, + "start": 13724, + "end": 13910, "loc": { "start": { - "line": 384, + "line": 380, "column": 8 }, "end": { - "line": 387, + "line": 383, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 13961, - "end": 14069, + "start": 13728, + "end": 13836, "loc": { "start": { - "line": 384, + "line": 380, "column": 12 }, "end": { - "line": 385, + "line": 381, "column": 57 } }, "left": { "type": "BinaryExpression", - "start": 13961, - "end": 14008, + "start": 13728, + "end": 13775, "loc": { "start": { - "line": 384, + "line": 380, "column": 12 }, "end": { - "line": 384, + "line": 380, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 13961, - "end": 13994, + "start": 13728, + "end": 13761, "loc": { "start": { - "line": 384, + "line": 380, "column": 12 }, "end": { - "line": 384, + "line": 380, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 13961, - "end": 13983, + "start": 13728, + "end": 13750, "loc": { "start": { - "line": 384, + "line": 380, "column": 12 }, "end": { - "line": 384, + "line": 380, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 13961, - "end": 13972, + "start": 13728, + "end": 13739, "loc": { "start": { - "line": 384, + "line": 380, "column": 12 }, "end": { - "line": 384, + "line": 380, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13961, - "end": 13965, + "start": 13728, + "end": 13732, "loc": { "start": { - "line": 384, + "line": 380, "column": 12 }, "end": { - "line": 384, + "line": 380, "column": 16 } }, @@ -25190,15 +24659,15 @@ }, "property": { "type": "Identifier", - "start": 13966, - "end": 13972, + "start": 13733, + "end": 13739, "loc": { "start": { - "line": 384, + "line": 380, "column": 17 }, "end": { - "line": 384, + "line": 380, "column": 23 }, "identifierName": "player" @@ -25210,15 +24679,15 @@ }, "property": { "type": "Identifier", - "start": 13973, - "end": 13983, + "start": 13740, + "end": 13750, "loc": { "start": { - "line": 384, + "line": 380, "column": 24 }, "end": { - "line": 384, + "line": 380, "column": 34 }, "identifierName": "controlBar" @@ -25230,15 +24699,15 @@ }, "property": { "type": "Identifier", - "start": 13984, - "end": 13994, + "start": 13751, + "end": 13761, "loc": { "start": { - "line": 384, + "line": 380, "column": 35 }, "end": { - "line": 384, + "line": 380, "column": 45 }, "identifierName": "playToggle" @@ -25251,15 +24720,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 13999, - "end": 14008, + "start": 13766, + "end": 13775, "loc": { "start": { - "line": 384, + "line": 380, "column": 50 }, "end": { - "line": 384, + "line": 380, "column": 59 }, "identifierName": "undefined" @@ -25271,100 +24740,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 14024, - "end": 14069, + "start": 13791, + "end": 13836, "loc": { "start": { - "line": 385, + "line": 381, "column": 12 }, "end": { - "line": 385, + "line": 381, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 14024, - "end": 14067, + "start": 13791, + "end": 13834, "loc": { "start": { - "line": 385, + "line": 381, "column": 12 }, "end": { - "line": 385, + "line": 381, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 14024, - "end": 14057, + "start": 13791, + "end": 13824, "loc": { "start": { - "line": 385, + "line": 381, "column": 12 }, "end": { - "line": 385, + "line": 381, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 14024, - "end": 14046, + "start": 13791, + "end": 13813, "loc": { "start": { - "line": 385, + "line": 381, "column": 12 }, "end": { - "line": 385, + "line": 381, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 14024, - "end": 14035, + "start": 13791, + "end": 13802, "loc": { "start": { - "line": 385, + "line": 381, "column": 12 }, "end": { - "line": 385, + "line": 381, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14024, - "end": 14028, + "start": 13791, + "end": 13795, "loc": { "start": { - "line": 385, + "line": 381, "column": 12 }, "end": { - "line": 385, + "line": 381, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14029, - "end": 14035, + "start": 13796, + "end": 13802, "loc": { "start": { - "line": 385, + "line": 381, "column": 17 }, "end": { - "line": 385, + "line": 381, "column": 23 }, "identifierName": "player" @@ -25375,15 +24844,15 @@ }, "property": { "type": "Identifier", - "start": 14036, - "end": 14046, + "start": 13803, + "end": 13813, "loc": { "start": { - "line": 385, + "line": 381, "column": 24 }, "end": { - "line": 385, + "line": 381, "column": 34 }, "identifierName": "controlBar" @@ -25394,15 +24863,15 @@ }, "property": { "type": "Identifier", - "start": 14047, - "end": 14057, + "start": 13814, + "end": 13824, "loc": { "start": { - "line": 385, + "line": 381, "column": 35 }, "end": { - "line": 385, + "line": 381, "column": 45 }, "identifierName": "playToggle" @@ -25413,15 +24882,15 @@ }, "property": { "type": "Identifier", - "start": 14058, - "end": 14067, + "start": 13825, + "end": 13834, "loc": { "start": { - "line": 385, + "line": 381, "column": 46 }, "end": { - "line": 385, + "line": 381, "column": 55 }, "identifierName": "contentEl" @@ -25436,129 +24905,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 14071, - "end": 14143, + "start": 13838, + "end": 13910, "loc": { "start": { - "line": 385, + "line": 381, "column": 59 }, "end": { - "line": 387, + "line": 383, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14085, - "end": 14133, + "start": 13852, + "end": 13900, "loc": { "start": { - "line": 386, + "line": 382, "column": 12 }, "end": { - "line": 386, + "line": 382, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 14085, - "end": 14132, + "start": 13852, + "end": 13899, "loc": { "start": { - "line": 386, + "line": 382, "column": 12 }, "end": { - "line": 386, + "line": 382, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 14085, - "end": 14130, + "start": 13852, + "end": 13897, "loc": { "start": { - "line": 386, + "line": 382, "column": 12 }, "end": { - "line": 386, + "line": 382, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 14085, - "end": 14118, + "start": 13852, + "end": 13885, "loc": { "start": { - "line": 386, + "line": 382, "column": 12 }, "end": { - "line": 386, + "line": 382, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 14085, - "end": 14107, + "start": 13852, + "end": 13874, "loc": { "start": { - "line": 386, + "line": 382, "column": 12 }, "end": { - "line": 386, + "line": 382, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 14085, - "end": 14096, + "start": 13852, + "end": 13863, "loc": { "start": { - "line": 386, + "line": 382, "column": 12 }, "end": { - "line": 386, + "line": 382, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14085, - "end": 14089, + "start": 13852, + "end": 13856, "loc": { "start": { - "line": 386, + "line": 382, "column": 12 }, "end": { - "line": 386, + "line": 382, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14090, - "end": 14096, + "start": 13857, + "end": 13863, "loc": { "start": { - "line": 386, + "line": 382, "column": 17 }, "end": { - "line": 386, + "line": 382, "column": 23 }, "identifierName": "player" @@ -25569,15 +25038,15 @@ }, "property": { "type": "Identifier", - "start": 14097, - "end": 14107, + "start": 13864, + "end": 13874, "loc": { "start": { - "line": 386, + "line": 382, "column": 24 }, "end": { - "line": 386, + "line": 382, "column": 34 }, "identifierName": "controlBar" @@ -25588,15 +25057,15 @@ }, "property": { "type": "Identifier", - "start": 14108, - "end": 14118, + "start": 13875, + "end": 13885, "loc": { "start": { - "line": 386, + "line": 382, "column": 35 }, "end": { - "line": 386, + "line": 382, "column": 45 }, "identifierName": "playToggle" @@ -25607,15 +25076,15 @@ }, "property": { "type": "Identifier", - "start": 14119, - "end": 14130, + "start": 13886, + "end": 13897, "loc": { "start": { - "line": 386, + "line": 382, "column": 46 }, "end": { - "line": 386, + "line": 382, "column": 57 }, "identifierName": "handlePause" @@ -25635,15 +25104,15 @@ { "type": "CommentLine", "value": " show play button", - "start": 13929, - "end": 13948, + "start": 13696, + "end": 13715, "loc": { "start": { - "line": 383, + "line": 379, "column": 8 }, "end": { - "line": 383, + "line": 379, "column": 27 } } @@ -25652,58 +25121,58 @@ }, { "type": "IfStatement", - "start": 14153, - "end": 14637, + "start": 13920, + "end": 14404, "loc": { "start": { - "line": 389, + "line": 385, "column": 8 }, "end": { - "line": 405, + "line": 401, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 14157, - "end": 14170, + "start": 13924, + "end": 13937, "loc": { "start": { - "line": 389, + "line": 385, "column": 12 }, "end": { - "line": 389, + "line": 385, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 14157, - "end": 14161, + "start": 13924, + "end": 13928, "loc": { "start": { - "line": 389, + "line": 385, "column": 12 }, "end": { - "line": 389, + "line": 385, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14162, - "end": 14170, + "start": 13929, + "end": 13937, "loc": { "start": { - "line": 389, + "line": 385, "column": 17 }, "end": { - "line": 389, + "line": 385, "column": 25 }, "identifierName": "liveMode" @@ -25714,72 +25183,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 14172, - "end": 14315, + "start": 13939, + "end": 14082, "loc": { "start": { - "line": 389, + "line": 385, "column": 27 }, "end": { - "line": 393, + "line": 389, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14232, - "end": 14261, + "start": 13999, + "end": 14028, "loc": { "start": { - "line": 391, + "line": 387, "column": 12 }, "end": { - "line": 391, + "line": 387, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 14232, - "end": 14260, + "start": 13999, + "end": 14027, "loc": { "start": { - "line": 391, + "line": 387, "column": 12 }, "end": { - "line": 391, + "line": 387, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 14232, - "end": 14240, + "start": 13999, + "end": 14007, "loc": { "start": { - "line": 391, + "line": 387, "column": 12 }, "end": { - "line": 391, + "line": 387, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 14232, - "end": 14236, + "start": 13999, + "end": 14003, "loc": { "start": { - "line": 391, + "line": 387, "column": 12 }, "end": { - "line": 391, + "line": 387, "column": 16 } }, @@ -25787,15 +25256,15 @@ }, "property": { "type": "Identifier", - "start": 14237, - "end": 14240, + "start": 14004, + "end": 14007, "loc": { "start": { - "line": 391, + "line": 387, "column": 17 }, "end": { - "line": 391, + "line": 387, "column": 20 }, "identifierName": "log" @@ -25808,15 +25277,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14241, - "end": 14259, + "start": 14008, + "end": 14026, "loc": { "start": { - "line": 391, + "line": 387, "column": 21 }, "end": { - "line": 391, + "line": 387, "column": 39 } }, @@ -25833,15 +25302,15 @@ { "type": "CommentLine", "value": " pause microphone visualization", - "start": 14186, - "end": 14219, + "start": 13953, + "end": 13986, "loc": { "start": { - "line": 390, + "line": 386, "column": 12 }, "end": { - "line": 390, + "line": 386, "column": 45 } } @@ -25850,100 +25319,100 @@ }, { "type": "ExpressionStatement", - "start": 14274, - "end": 14305, + "start": 14041, + "end": 14072, "loc": { "start": { - "line": 392, + "line": 388, "column": 12 }, "end": { - "line": 392, + "line": 388, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 14274, - "end": 14304, + "start": 14041, + "end": 14071, "loc": { "start": { - "line": 392, + "line": 388, "column": 12 }, "end": { - "line": 392, + "line": 388, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 14274, - "end": 14302, + "start": 14041, + "end": 14069, "loc": { "start": { - "line": 392, + "line": 388, "column": 12 }, "end": { - "line": 392, + "line": 388, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 14274, - "end": 14296, + "start": 14041, + "end": 14063, "loc": { "start": { - "line": 392, + "line": 388, "column": 12 }, "end": { - "line": 392, + "line": 388, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 14274, - "end": 14285, + "start": 14041, + "end": 14052, "loc": { "start": { - "line": 392, + "line": 388, "column": 12 }, "end": { - "line": 392, + "line": 388, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14274, - "end": 14278, + "start": 14041, + "end": 14045, "loc": { "start": { - "line": 392, + "line": 388, "column": 12 }, "end": { - "line": 392, + "line": 388, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14279, - "end": 14285, + "start": 14046, + "end": 14052, "loc": { "start": { - "line": 392, + "line": 388, "column": 17 }, "end": { - "line": 392, + "line": 388, "column": 23 }, "identifierName": "surfer" @@ -25954,15 +25423,15 @@ }, "property": { "type": "Identifier", - "start": 14286, - "end": 14296, + "start": 14053, + "end": 14063, "loc": { "start": { - "line": 392, + "line": 388, "column": 24 }, "end": { - "line": 392, + "line": 388, "column": 34 }, "identifierName": "microphone" @@ -25973,15 +25442,15 @@ }, "property": { "type": "Identifier", - "start": 14297, - "end": 14302, + "start": 14064, + "end": 14069, "loc": { "start": { - "line": 392, + "line": 388, "column": 35 }, "end": { - "line": 392, + "line": 388, "column": 40 }, "identifierName": "pause" @@ -25998,72 +25467,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 14321, - "end": 14637, + "start": 14088, + "end": 14404, "loc": { "start": { - "line": 393, + "line": 389, "column": 15 }, "end": { - "line": 405, + "line": 401, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14365, - "end": 14392, + "start": 14132, + "end": 14159, "loc": { "start": { - "line": 395, + "line": 391, "column": 12 }, "end": { - "line": 395, + "line": 391, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 14365, - "end": 14391, + "start": 14132, + "end": 14158, "loc": { "start": { - "line": 395, + "line": 391, "column": 12 }, "end": { - "line": 395, + "line": 391, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 14365, - "end": 14373, + "start": 14132, + "end": 14140, "loc": { "start": { - "line": 395, + "line": 391, "column": 12 }, "end": { - "line": 395, + "line": 391, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 14365, - "end": 14369, + "start": 14132, + "end": 14136, "loc": { "start": { - "line": 395, + "line": 391, "column": 12 }, "end": { - "line": 395, + "line": 391, "column": 16 } }, @@ -26071,15 +25540,15 @@ }, "property": { "type": "Identifier", - "start": 14370, - "end": 14373, + "start": 14137, + "end": 14140, "loc": { "start": { - "line": 395, + "line": 391, "column": 17 }, "end": { - "line": 395, + "line": 391, "column": 20 }, "identifierName": "log" @@ -26092,15 +25561,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14374, - "end": 14390, + "start": 14141, + "end": 14157, "loc": { "start": { - "line": 395, + "line": 391, "column": 21 }, "end": { - "line": 395, + "line": 391, "column": 37 } }, @@ -26117,15 +25586,15 @@ { "type": "CommentLine", "value": " pause playback", - "start": 14335, - "end": 14352, + "start": 14102, + "end": 14119, "loc": { "start": { - "line": 394, + "line": 390, "column": 12 }, "end": { - "line": 394, + "line": 390, "column": 29 } } @@ -26134,29 +25603,29 @@ }, { "type": "IfStatement", - "start": 14406, - "end": 14591, + "start": 14173, + "end": 14358, "loc": { "start": { - "line": 397, + "line": 393, "column": 12 }, "end": { - "line": 402, + "line": 398, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 14410, - "end": 14428, + "start": 14177, + "end": 14195, "loc": { "start": { - "line": 397, + "line": 393, "column": 16 }, "end": { - "line": 397, + "line": 393, "column": 34 } }, @@ -26164,44 +25633,44 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 14411, - "end": 14428, + "start": 14178, + "end": 14195, "loc": { "start": { - "line": 397, + "line": 393, "column": 17 }, "end": { - "line": 397, + "line": 393, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 14411, - "end": 14415, + "start": 14178, + "end": 14182, "loc": { "start": { - "line": 397, + "line": 393, "column": 17 }, "end": { - "line": 397, + "line": 393, "column": 21 } } }, "property": { "type": "Identifier", - "start": 14416, - "end": 14428, + "start": 14183, + "end": 14195, "loc": { "start": { - "line": 397, + "line": 393, "column": 22 }, "end": { - "line": 397, + "line": 393, "column": 34 }, "identifierName": "waveFinished" @@ -26216,86 +25685,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 14430, - "end": 14527, + "start": 14197, + "end": 14294, "loc": { "start": { - "line": 397, + "line": 393, "column": 36 }, "end": { - "line": 400, + "line": 396, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14493, - "end": 14513, + "start": 14260, + "end": 14280, "loc": { "start": { - "line": 399, + "line": 395, "column": 16 }, "end": { - "line": 399, + "line": 395, "column": 36 } }, "expression": { "type": "CallExpression", - "start": 14493, - "end": 14512, + "start": 14260, + "end": 14279, "loc": { "start": { - "line": 399, + "line": 395, "column": 16 }, "end": { - "line": 399, + "line": 395, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 14493, - "end": 14510, + "start": 14260, + "end": 14277, "loc": { "start": { - "line": 399, + "line": 395, "column": 16 }, "end": { - "line": 399, + "line": 395, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 14493, - "end": 14504, + "start": 14260, + "end": 14271, "loc": { "start": { - "line": 399, + "line": 395, "column": 16 }, "end": { - "line": 399, + "line": 395, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 14493, - "end": 14497, + "start": 14260, + "end": 14264, "loc": { "start": { - "line": 399, + "line": 395, "column": 16 }, "end": { - "line": 399, + "line": 395, "column": 20 } }, @@ -26303,15 +25772,15 @@ }, "property": { "type": "Identifier", - "start": 14498, - "end": 14504, + "start": 14265, + "end": 14271, "loc": { "start": { - "line": 399, + "line": 395, "column": 21 }, "end": { - "line": 399, + "line": 395, "column": 27 }, "identifierName": "surfer" @@ -26323,15 +25792,15 @@ }, "property": { "type": "Identifier", - "start": 14505, - "end": 14510, + "start": 14272, + "end": 14277, "loc": { "start": { - "line": 399, + "line": 395, "column": 28 }, "end": { - "line": 399, + "line": 395, "column": 33 }, "identifierName": "pause" @@ -26348,15 +25817,15 @@ { "type": "CommentLine", "value": " pause wavesurfer playback", - "start": 14448, - "end": 14476, + "start": 14215, + "end": 14243, "loc": { "start": { - "line": 398, + "line": 394, "column": 16 }, "end": { - "line": 398, + "line": 394, "column": 44 } } @@ -26368,88 +25837,88 @@ }, "alternate": { "type": "BlockStatement", - "start": 14533, - "end": 14591, + "start": 14300, + "end": 14358, "loc": { "start": { - "line": 400, + "line": 396, "column": 19 }, "end": { - "line": 402, + "line": 398, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14551, - "end": 14577, + "start": 14318, + "end": 14344, "loc": { "start": { - "line": 401, + "line": 397, "column": 16 }, "end": { - "line": 401, + "line": 397, "column": 42 } }, "expression": { "type": "AssignmentExpression", - "start": 14551, - "end": 14576, + "start": 14318, + "end": 14343, "loc": { "start": { - "line": 401, + "line": 397, "column": 16 }, "end": { - "line": 401, + "line": 397, "column": 41 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 14551, - "end": 14568, + "start": 14318, + "end": 14335, "loc": { "start": { - "line": 401, + "line": 397, "column": 16 }, "end": { - "line": 401, + "line": 397, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 14551, - "end": 14555, + "start": 14318, + "end": 14322, "loc": { "start": { - "line": 401, + "line": 397, "column": 16 }, "end": { - "line": 401, + "line": 397, "column": 20 } } }, "property": { "type": "Identifier", - "start": 14556, - "end": 14568, + "start": 14323, + "end": 14335, "loc": { "start": { - "line": 401, + "line": 397, "column": 21 }, "end": { - "line": 401, + "line": 397, "column": 33 }, "identifierName": "waveFinished" @@ -26460,15 +25929,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 14571, - "end": 14576, + "start": 14338, + "end": 14343, "loc": { "start": { - "line": 401, + "line": 397, "column": 36 }, "end": { - "line": 401, + "line": 397, "column": 41 } }, @@ -26482,72 +25951,72 @@ }, { "type": "ExpressionStatement", - "start": 14605, - "end": 14627, + "start": 14372, + "end": 14394, "loc": { "start": { - "line": 404, + "line": 400, "column": 12 }, "end": { - "line": 404, + "line": 400, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 14605, - "end": 14626, + "start": 14372, + "end": 14393, "loc": { "start": { - "line": 404, + "line": 400, "column": 12 }, "end": { - "line": 404, + "line": 400, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 14605, - "end": 14624, + "start": 14372, + "end": 14391, "loc": { "start": { - "line": 404, + "line": 400, "column": 12 }, "end": { - "line": 404, + "line": 400, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 14605, - "end": 14609, + "start": 14372, + "end": 14376, "loc": { "start": { - "line": 404, + "line": 400, "column": 12 }, "end": { - "line": 404, + "line": 400, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14610, - "end": 14624, + "start": 14377, + "end": 14391, "loc": { "start": { - "line": 404, + "line": 400, "column": 17 }, "end": { - "line": 404, + "line": 400, "column": 31 }, "identifierName": "setCurrentTime" @@ -26571,15 +26040,15 @@ { "type": "CommentBlock", "value": "*\n * Pauses playback or microphone visualization.\n ", - "start": 13843, - "end": 13906, + "start": 13610, + "end": 13673, "loc": { "start": { - "line": 379, + "line": 375, "column": 4 }, "end": { - "line": 381, + "line": 377, "column": 7 } } @@ -26589,15 +26058,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n ", - "start": 14649, - "end": 14676, + "start": 14416, + "end": 14443, "loc": { "start": { - "line": 408, + "line": 404, "column": 4 }, "end": { - "line": 410, + "line": 406, "column": 7 } } @@ -26606,15 +26075,15 @@ }, { "type": "ClassMethod", - "start": 14681, - "end": 15076, + "start": 14448, + "end": 14843, "loc": { "start": { - "line": 411, + "line": 407, "column": 4 }, "end": { - "line": 422, + "line": 418, "column": 5 } }, @@ -26622,15 +26091,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14681, - "end": 14688, + "start": 14448, + "end": 14455, "loc": { "start": { - "line": 411, + "line": 407, "column": 4 }, "end": { - "line": 411, + "line": 407, "column": 11 }, "identifierName": "dispose" @@ -26646,73 +26115,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 14691, - "end": 15076, + "start": 14458, + "end": 14843, "loc": { "start": { - "line": 411, + "line": 407, "column": 14 }, "end": { - "line": 422, + "line": 418, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 14701, - "end": 15032, + "start": 14468, + "end": 14799, "loc": { "start": { - "line": 412, + "line": 408, "column": 8 }, "end": { - "line": 420, + "line": 416, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 14705, - "end": 14716, + "start": 14472, + "end": 14483, "loc": { "start": { - "line": 412, + "line": 408, "column": 12 }, "end": { - "line": 412, + "line": 408, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14705, - "end": 14709, + "start": 14472, + "end": 14476, "loc": { "start": { - "line": 412, + "line": 408, "column": 12 }, "end": { - "line": 412, + "line": 408, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14710, - "end": 14716, + "start": 14477, + "end": 14483, "loc": { "start": { - "line": 412, + "line": 408, "column": 17 }, "end": { - "line": 412, + "line": 408, "column": 23 }, "identifierName": "surfer" @@ -26723,87 +26192,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 14718, - "end": 15032, + "start": 14485, + "end": 14799, "loc": { "start": { - "line": 412, + "line": 408, "column": 25 }, "end": { - "line": 420, + "line": 416, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 14732, - "end": 14944, + "start": 14499, + "end": 14711, "loc": { "start": { - "line": 413, + "line": 409, "column": 12 }, "end": { - "line": 417, + "line": 413, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 14736, - "end": 14775, + "start": 14503, + "end": 14542, "loc": { "start": { - "line": 413, + "line": 409, "column": 16 }, "end": { - "line": 413, + "line": 409, "column": 55 } }, "left": { "type": "MemberExpression", - "start": 14736, - "end": 14749, + "start": 14503, + "end": 14516, "loc": { "start": { - "line": 413, + "line": 409, "column": 16 }, "end": { - "line": 413, + "line": 409, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 14736, - "end": 14740, + "start": 14503, + "end": 14507, "loc": { "start": { - "line": 413, + "line": 409, "column": 16 }, "end": { - "line": 413, + "line": 409, "column": 20 } } }, "property": { "type": "Identifier", - "start": 14741, - "end": 14749, + "start": 14508, + "end": 14516, "loc": { "start": { - "line": 413, + "line": 409, "column": 21 }, "end": { - "line": 413, + "line": 409, "column": 29 }, "identifierName": "liveMode" @@ -26815,58 +26284,58 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 14753, - "end": 14775, + "start": 14520, + "end": 14542, "loc": { "start": { - "line": 413, + "line": 409, "column": 33 }, "end": { - "line": 413, + "line": 409, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 14753, - "end": 14764, + "start": 14520, + "end": 14531, "loc": { "start": { - "line": 413, + "line": 409, "column": 33 }, "end": { - "line": 413, + "line": 409, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 14753, - "end": 14757, + "start": 14520, + "end": 14524, "loc": { "start": { - "line": 413, + "line": 409, "column": 33 }, "end": { - "line": 413, + "line": 409, "column": 37 } } }, "property": { "type": "Identifier", - "start": 14758, - "end": 14764, + "start": 14525, + "end": 14531, "loc": { "start": { - "line": 413, + "line": 409, "column": 38 }, "end": { - "line": 413, + "line": 409, "column": 44 }, "identifierName": "surfer" @@ -26877,15 +26346,15 @@ }, "property": { "type": "Identifier", - "start": 14765, - "end": 14775, + "start": 14532, + "end": 14542, "loc": { "start": { - "line": 413, + "line": 409, "column": 45 }, "end": { - "line": 413, + "line": 409, "column": 55 }, "identifierName": "microphone" @@ -26897,100 +26366,100 @@ }, "consequent": { "type": "BlockStatement", - "start": 14777, - "end": 14944, + "start": 14544, + "end": 14711, "loc": { "start": { - "line": 413, + "line": 409, "column": 57 }, "end": { - "line": 417, + "line": 413, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14840, - "end": 14873, + "start": 14607, + "end": 14640, "loc": { "start": { - "line": 415, + "line": 411, "column": 16 }, "end": { - "line": 415, + "line": 411, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 14840, - "end": 14872, + "start": 14607, + "end": 14639, "loc": { "start": { - "line": 415, + "line": 411, "column": 16 }, "end": { - "line": 415, + "line": 411, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 14840, - "end": 14870, + "start": 14607, + "end": 14637, "loc": { "start": { - "line": 415, + "line": 411, "column": 16 }, "end": { - "line": 415, + "line": 411, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 14840, - "end": 14862, + "start": 14607, + "end": 14629, "loc": { "start": { - "line": 415, + "line": 411, "column": 16 }, "end": { - "line": 415, + "line": 411, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 14840, - "end": 14851, + "start": 14607, + "end": 14618, "loc": { "start": { - "line": 415, + "line": 411, "column": 16 }, "end": { - "line": 415, + "line": 411, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 14840, - "end": 14844, + "start": 14607, + "end": 14611, "loc": { "start": { - "line": 415, + "line": 411, "column": 16 }, "end": { - "line": 415, + "line": 411, "column": 20 } }, @@ -26998,15 +26467,15 @@ }, "property": { "type": "Identifier", - "start": 14845, - "end": 14851, + "start": 14612, + "end": 14618, "loc": { "start": { - "line": 415, + "line": 411, "column": 21 }, "end": { - "line": 415, + "line": 411, "column": 27 }, "identifierName": "surfer" @@ -27018,15 +26487,15 @@ }, "property": { "type": "Identifier", - "start": 14852, - "end": 14862, + "start": 14619, + "end": 14629, "loc": { "start": { - "line": 415, + "line": 411, "column": 28 }, "end": { - "line": 415, + "line": 411, "column": 38 }, "identifierName": "microphone" @@ -27038,15 +26507,15 @@ }, "property": { "type": "Identifier", - "start": 14863, - "end": 14870, + "start": 14630, + "end": 14637, "loc": { "start": { - "line": 415, + "line": 411, "column": 39 }, "end": { - "line": 415, + "line": 411, "column": 46 }, "identifierName": "destroy" @@ -27063,15 +26532,15 @@ { "type": "CommentLine", "value": " destroy microphone plugin", - "start": 14795, - "end": 14823, + "start": 14562, + "end": 14590, "loc": { "start": { - "line": 414, + "line": 410, "column": 16 }, "end": { - "line": 414, + "line": 410, "column": 44 } } @@ -27080,72 +26549,72 @@ }, { "type": "ExpressionStatement", - "start": 14890, - "end": 14930, + "start": 14657, + "end": 14697, "loc": { "start": { - "line": 416, + "line": 412, "column": 16 }, "end": { - "line": 416, + "line": 412, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 14890, - "end": 14929, + "start": 14657, + "end": 14696, "loc": { "start": { - "line": 416, + "line": 412, "column": 16 }, "end": { - "line": 416, + "line": 412, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 14890, - "end": 14898, + "start": 14657, + "end": 14665, "loc": { "start": { - "line": 416, + "line": 412, "column": 16 }, "end": { - "line": 416, + "line": 412, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 14890, - "end": 14894, + "start": 14657, + "end": 14661, "loc": { "start": { - "line": 416, + "line": 412, "column": 16 }, "end": { - "line": 416, + "line": 412, "column": 20 } } }, "property": { "type": "Identifier", - "start": 14895, - "end": 14898, + "start": 14662, + "end": 14665, "loc": { "start": { - "line": 416, + "line": 412, "column": 21 }, "end": { - "line": 416, + "line": 412, "column": 24 }, "identifierName": "log" @@ -27157,15 +26626,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14899, - "end": 14928, + "start": 14666, + "end": 14695, "loc": { "start": { - "line": 416, + "line": 412, "column": 25 }, "end": { - "line": 416, + "line": 412, "column": 54 } }, @@ -27187,15 +26656,15 @@ { "type": "CommentLine", "value": " destroy wavesurfer instance", - "start": 14957, - "end": 14987, + "start": 14724, + "end": 14754, "loc": { "start": { - "line": 418, + "line": 414, "column": 12 }, "end": { - "line": 418, + "line": 414, "column": 42 } } @@ -27204,71 +26673,71 @@ }, { "type": "ExpressionStatement", - "start": 15000, - "end": 15022, + "start": 14767, + "end": 14789, "loc": { "start": { - "line": 419, + "line": 415, "column": 12 }, "end": { - "line": 419, + "line": 415, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 15000, - "end": 15021, + "start": 14767, + "end": 14788, "loc": { "start": { - "line": 419, + "line": 415, "column": 12 }, "end": { - "line": 419, + "line": 415, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 15000, - "end": 15019, + "start": 14767, + "end": 14786, "loc": { "start": { - "line": 419, + "line": 415, "column": 12 }, "end": { - "line": 419, + "line": 415, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 15000, - "end": 15011, + "start": 14767, + "end": 14778, "loc": { "start": { - "line": 419, + "line": 415, "column": 12 }, "end": { - "line": 419, + "line": 415, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 15000, - "end": 15004, + "start": 14767, + "end": 14771, "loc": { "start": { - "line": 419, + "line": 415, "column": 12 }, "end": { - "line": 419, + "line": 415, "column": 16 } }, @@ -27276,15 +26745,15 @@ }, "property": { "type": "Identifier", - "start": 15005, - "end": 15011, + "start": 14772, + "end": 14778, "loc": { "start": { - "line": 419, + "line": 415, "column": 17 }, "end": { - "line": 419, + "line": 415, "column": 23 }, "identifierName": "surfer" @@ -27296,15 +26765,15 @@ }, "property": { "type": "Identifier", - "start": 15012, - "end": 15019, + "start": 14779, + "end": 14786, "loc": { "start": { - "line": 419, + "line": 415, "column": 24 }, "end": { - "line": 419, + "line": 415, "column": 31 }, "identifierName": "destroy" @@ -27321,15 +26790,15 @@ { "type": "CommentLine", "value": " destroy wavesurfer instance", - "start": 14957, - "end": 14987, + "start": 14724, + "end": 14754, "loc": { "start": { - "line": 418, + "line": 414, "column": 12 }, "end": { - "line": 418, + "line": 414, "column": 42 } } @@ -27343,72 +26812,72 @@ }, { "type": "ExpressionStatement", - "start": 15041, - "end": 15070, + "start": 14808, + "end": 14837, "loc": { "start": { - "line": 421, + "line": 417, "column": 8 }, "end": { - "line": 421, + "line": 417, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 15041, - "end": 15069, + "start": 14808, + "end": 14836, "loc": { "start": { - "line": 421, + "line": 417, "column": 8 }, "end": { - "line": 421, + "line": 417, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 15041, - "end": 15049, + "start": 14808, + "end": 14816, "loc": { "start": { - "line": 421, + "line": 417, "column": 8 }, "end": { - "line": 421, + "line": 417, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 15041, - "end": 15045, + "start": 14808, + "end": 14812, "loc": { "start": { - "line": 421, + "line": 417, "column": 8 }, "end": { - "line": 421, + "line": 417, "column": 12 } } }, "property": { "type": "Identifier", - "start": 15046, - "end": 15049, + "start": 14813, + "end": 14816, "loc": { "start": { - "line": 421, + "line": 417, "column": 13 }, "end": { - "line": 421, + "line": 417, "column": 16 }, "identifierName": "log" @@ -27420,15 +26889,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15050, - "end": 15068, + "start": 14817, + "end": 14835, "loc": { "start": { - "line": 421, + "line": 417, "column": 17 }, "end": { - "line": 421, + "line": 417, "column": 35 } }, @@ -27449,15 +26918,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n ", - "start": 14649, - "end": 14676, + "start": 14416, + "end": 14443, "loc": { "start": { - "line": 408, + "line": 404, "column": 4 }, "end": { - "line": 410, + "line": 406, "column": 7 } } @@ -27467,15 +26936,15 @@ { "type": "CommentBlock", "value": "*\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n ", - "start": 15082, - "end": 15207, + "start": 14849, + "end": 14974, "loc": { "start": { - "line": 424, + "line": 420, "column": 4 }, "end": { - "line": 428, + "line": 424, "column": 7 } } @@ -27484,15 +26953,15 @@ }, { "type": "ClassMethod", - "start": 15212, - "end": 15298, + "start": 14979, + "end": 15065, "loc": { "start": { - "line": 429, + "line": 425, "column": 4 }, "end": { - "line": 431, + "line": 427, "column": 5 } }, @@ -27500,15 +26969,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15212, - "end": 15223, + "start": 14979, + "end": 14990, "loc": { "start": { - "line": 429, + "line": 425, "column": 4 }, "end": { - "line": 429, + "line": 425, "column": 15 }, "identifierName": "isDestroyed" @@ -27524,87 +26993,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15226, - "end": 15298, + "start": 14993, + "end": 15065, "loc": { "start": { - "line": 429, + "line": 425, "column": 18 }, "end": { - "line": 431, + "line": 427, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 15236, - "end": 15292, + "start": 15003, + "end": 15059, "loc": { "start": { - "line": 430, + "line": 426, "column": 8 }, "end": { - "line": 430, + "line": 426, "column": 64 } }, "argument": { "type": "LogicalExpression", - "start": 15243, - "end": 15291, + "start": 15010, + "end": 15058, "loc": { "start": { - "line": 430, + "line": 426, "column": 15 }, "end": { - "line": 430, + "line": 426, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 15243, - "end": 15254, + "start": 15010, + "end": 15021, "loc": { "start": { - "line": 430, + "line": 426, "column": 15 }, "end": { - "line": 430, + "line": 426, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 15243, - "end": 15247, + "start": 15010, + "end": 15014, "loc": { "start": { - "line": 430, + "line": 426, "column": 15 }, "end": { - "line": 430, + "line": 426, "column": 19 } } }, "property": { "type": "Identifier", - "start": 15248, - "end": 15254, + "start": 15015, + "end": 15021, "loc": { "start": { - "line": 430, + "line": 426, "column": 20 }, "end": { - "line": 430, + "line": 426, "column": 26 }, "identifierName": "player" @@ -27616,86 +27085,86 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 15259, - "end": 15290, + "start": 15026, + "end": 15057, "loc": { "start": { - "line": 430, + "line": 426, "column": 31 }, "end": { - "line": 430, + "line": 426, "column": 62 } }, "left": { "type": "CallExpression", - "start": 15259, - "end": 15281, + "start": 15026, + "end": 15048, "loc": { "start": { - "line": 430, + "line": 426, "column": 31 }, "end": { - "line": 430, + "line": 426, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 15259, - "end": 15279, + "start": 15026, + "end": 15046, "loc": { "start": { - "line": 430, + "line": 426, "column": 31 }, "end": { - "line": 430, + "line": 426, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 15259, - "end": 15270, + "start": 15026, + "end": 15037, "loc": { "start": { - "line": 430, + "line": 426, "column": 31 }, "end": { - "line": 430, + "line": 426, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 15259, - "end": 15263, + "start": 15026, + "end": 15030, "loc": { "start": { - "line": 430, + "line": 426, "column": 31 }, "end": { - "line": 430, + "line": 426, "column": 35 } } }, "property": { "type": "Identifier", - "start": 15264, - "end": 15270, + "start": 15031, + "end": 15037, "loc": { "start": { - "line": 430, + "line": 426, "column": 36 }, "end": { - "line": 430, + "line": 426, "column": 42 }, "identifierName": "player" @@ -27706,15 +27175,15 @@ }, "property": { "type": "Identifier", - "start": 15271, - "end": 15279, + "start": 15038, + "end": 15046, "loc": { "start": { - "line": 430, + "line": 426, "column": 43 }, "end": { - "line": 430, + "line": 426, "column": 51 }, "identifierName": "children" @@ -27728,22 +27197,22 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 15286, - "end": 15290, + "start": 15053, + "end": 15057, "loc": { "start": { - "line": 430, + "line": 426, "column": 58 }, "end": { - "line": 430, + "line": 426, "column": 62 } } }, "extra": { "parenthesized": true, - "parenStart": 15258 + "parenStart": 15025 } } } @@ -27756,15 +27225,15 @@ { "type": "CommentBlock", "value": "*\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n ", - "start": 15082, - "end": 15207, + "start": 14849, + "end": 14974, "loc": { "start": { - "line": 424, + "line": 420, "column": 4 }, "end": { - "line": 428, + "line": 424, "column": 7 } } @@ -27774,15 +27243,15 @@ { "type": "CommentBlock", "value": "*\n * Remove the player and waveform.\n ", - "start": 15304, - "end": 15354, + "start": 15071, + "end": 15121, "loc": { "start": { - "line": 433, + "line": 429, "column": 4 }, "end": { - "line": 435, + "line": 431, "column": 7 } } @@ -27791,15 +27260,15 @@ }, { "type": "ClassMethod", - "start": 15359, - "end": 15407, + "start": 15126, + "end": 15174, "loc": { "start": { - "line": 436, + "line": 432, "column": 4 }, "end": { - "line": 438, + "line": 434, "column": 5 } }, @@ -27807,15 +27276,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15359, - "end": 15366, + "start": 15126, + "end": 15133, "loc": { "start": { - "line": 436, + "line": 432, "column": 4 }, "end": { - "line": 436, + "line": 432, "column": 11 }, "identifierName": "destroy" @@ -27831,101 +27300,101 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15369, - "end": 15407, + "start": 15136, + "end": 15174, "loc": { "start": { - "line": 436, + "line": 432, "column": 14 }, "end": { - "line": 438, + "line": 434, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 15379, - "end": 15401, + "start": 15146, + "end": 15168, "loc": { "start": { - "line": 437, + "line": 433, "column": 8 }, "end": { - "line": 437, + "line": 433, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 15379, - "end": 15400, + "start": 15146, + "end": 15167, "loc": { "start": { - "line": 437, + "line": 433, "column": 8 }, "end": { - "line": 437, + "line": 433, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 15379, - "end": 15398, + "start": 15146, + "end": 15165, "loc": { "start": { - "line": 437, + "line": 433, "column": 8 }, "end": { - "line": 437, + "line": 433, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 15379, - "end": 15390, + "start": 15146, + "end": 15157, "loc": { "start": { - "line": 437, + "line": 433, "column": 8 }, "end": { - "line": 437, + "line": 433, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 15379, - "end": 15383, + "start": 15146, + "end": 15150, "loc": { "start": { - "line": 437, + "line": 433, "column": 8 }, "end": { - "line": 437, + "line": 433, "column": 12 } } }, "property": { "type": "Identifier", - "start": 15384, - "end": 15390, + "start": 15151, + "end": 15157, "loc": { "start": { - "line": 437, + "line": 433, "column": 13 }, "end": { - "line": 437, + "line": 433, "column": 19 }, "identifierName": "player" @@ -27936,15 +27405,15 @@ }, "property": { "type": "Identifier", - "start": 15391, - "end": 15398, + "start": 15158, + "end": 15165, "loc": { "start": { - "line": 437, + "line": 433, "column": 20 }, "end": { - "line": 437, + "line": 433, "column": 27 }, "identifierName": "dispose" @@ -27964,15 +27433,15 @@ { "type": "CommentBlock", "value": "*\n * Remove the player and waveform.\n ", - "start": 15304, - "end": 15354, + "start": 15071, + "end": 15121, "loc": { "start": { - "line": 433, + "line": 429, "column": 4 }, "end": { - "line": 435, + "line": 431, "column": 7 } } @@ -27982,15 +27451,15 @@ { "type": "CommentBlock", "value": "*\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n ", - "start": 15413, - "end": 15514, + "start": 15180, + "end": 15281, "loc": { "start": { - "line": 440, + "line": 436, "column": 4 }, "end": { - "line": 444, + "line": 440, "column": 7 } } @@ -27999,15 +27468,15 @@ }, { "type": "ClassMethod", - "start": 15519, - "end": 15722, + "start": 15286, + "end": 15489, "loc": { "start": { - "line": 445, + "line": 441, "column": 4 }, "end": { - "line": 452, + "line": 448, "column": 5 } }, @@ -28015,15 +27484,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15519, - "end": 15528, + "start": 15286, + "end": 15295, "loc": { "start": { - "line": 445, + "line": 441, "column": 4 }, "end": { - "line": 445, + "line": 441, "column": 13 }, "identifierName": "setVolume" @@ -28039,15 +27508,15 @@ "params": [ { "type": "Identifier", - "start": 15529, - "end": 15535, + "start": 15296, + "end": 15302, "loc": { "start": { - "line": 445, + "line": 441, "column": 14 }, "end": { - "line": 445, + "line": 441, "column": 20 }, "identifierName": "volume" @@ -28057,58 +27526,58 @@ ], "body": { "type": "BlockStatement", - "start": 15537, - "end": 15722, + "start": 15304, + "end": 15489, "loc": { "start": { - "line": 445, + "line": 441, "column": 22 }, "end": { - "line": 452, + "line": 448, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 15547, - "end": 15716, + "start": 15314, + "end": 15483, "loc": { "start": { - "line": 446, + "line": 442, "column": 8 }, "end": { - "line": 451, + "line": 447, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 15551, - "end": 15571, + "start": 15318, + "end": 15338, "loc": { "start": { - "line": 446, + "line": 442, "column": 12 }, "end": { - "line": 446, + "line": 442, "column": 32 } }, "left": { "type": "Identifier", - "start": 15551, - "end": 15557, + "start": 15318, + "end": 15324, "loc": { "start": { - "line": 446, + "line": 442, "column": 12 }, "end": { - "line": 446, + "line": 442, "column": 18 }, "identifierName": "volume" @@ -28118,15 +27587,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 15562, - "end": 15571, + "start": 15329, + "end": 15338, "loc": { "start": { - "line": 446, + "line": 442, "column": 23 }, "end": { - "line": 446, + "line": 442, "column": 32 }, "identifierName": "undefined" @@ -28136,87 +27605,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 15573, - "end": 15716, + "start": 15340, + "end": 15483, "loc": { "start": { - "line": 446, + "line": 442, "column": 34 }, "end": { - "line": 451, + "line": 447, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 15587, - "end": 15629, + "start": 15354, + "end": 15396, "loc": { "start": { - "line": 447, + "line": 443, "column": 12 }, "end": { - "line": 447, + "line": 443, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 15587, - "end": 15628, + "start": 15354, + "end": 15395, "loc": { "start": { - "line": 447, + "line": 443, "column": 12 }, "end": { - "line": 447, + "line": 443, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 15587, - "end": 15595, + "start": 15354, + "end": 15362, "loc": { "start": { - "line": 447, + "line": 443, "column": 12 }, "end": { - "line": 447, + "line": 443, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 15587, - "end": 15591, + "start": 15354, + "end": 15358, "loc": { "start": { - "line": 447, + "line": 443, "column": 12 }, "end": { - "line": 447, + "line": 443, "column": 16 } } }, "property": { "type": "Identifier", - "start": 15592, - "end": 15595, + "start": 15359, + "end": 15362, "loc": { "start": { - "line": 447, + "line": 443, "column": 17 }, "end": { - "line": 447, + "line": 443, "column": 20 }, "identifierName": "log" @@ -28228,29 +27697,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 15596, - "end": 15627, + "start": 15363, + "end": 15394, "loc": { "start": { - "line": 447, + "line": 443, "column": 21 }, "end": { - "line": 447, + "line": 443, "column": 52 } }, "left": { "type": "StringLiteral", - "start": 15596, - "end": 15618, + "start": 15363, + "end": 15385, "loc": { "start": { - "line": 447, + "line": 443, "column": 21 }, "end": { - "line": 447, + "line": 443, "column": 43 } }, @@ -28263,15 +27732,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 15621, - "end": 15627, + "start": 15388, + "end": 15394, "loc": { "start": { - "line": 447, + "line": 443, "column": 46 }, "end": { - "line": 447, + "line": 443, "column": 52 }, "identifierName": "volume" @@ -28285,15 +27754,15 @@ { "type": "CommentLine", "value": " update player volume", - "start": 15643, - "end": 15666, + "start": 15410, + "end": 15433, "loc": { "start": { - "line": 449, + "line": 445, "column": 12 }, "end": { - "line": 449, + "line": 445, "column": 35 } } @@ -28302,71 +27771,71 @@ }, { "type": "ExpressionStatement", - "start": 15679, - "end": 15706, + "start": 15446, + "end": 15473, "loc": { "start": { - "line": 450, + "line": 446, "column": 12 }, "end": { - "line": 450, + "line": 446, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 15679, - "end": 15705, + "start": 15446, + "end": 15472, "loc": { "start": { - "line": 450, + "line": 446, "column": 12 }, "end": { - "line": 450, + "line": 446, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 15679, - "end": 15697, + "start": 15446, + "end": 15464, "loc": { "start": { - "line": 450, + "line": 446, "column": 12 }, "end": { - "line": 450, + "line": 446, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 15679, - "end": 15690, + "start": 15446, + "end": 15457, "loc": { "start": { - "line": 450, + "line": 446, "column": 12 }, "end": { - "line": 450, + "line": 446, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 15679, - "end": 15683, + "start": 15446, + "end": 15450, "loc": { "start": { - "line": 450, + "line": 446, "column": 12 }, "end": { - "line": 450, + "line": 446, "column": 16 } }, @@ -28374,15 +27843,15 @@ }, "property": { "type": "Identifier", - "start": 15684, - "end": 15690, + "start": 15451, + "end": 15457, "loc": { "start": { - "line": 450, + "line": 446, "column": 17 }, "end": { - "line": 450, + "line": 446, "column": 23 }, "identifierName": "player" @@ -28394,15 +27863,15 @@ }, "property": { "type": "Identifier", - "start": 15691, - "end": 15697, + "start": 15458, + "end": 15464, "loc": { "start": { - "line": 450, + "line": 446, "column": 24 }, "end": { - "line": 450, + "line": 446, "column": 30 }, "identifierName": "volume" @@ -28415,15 +27884,15 @@ "arguments": [ { "type": "Identifier", - "start": 15698, - "end": 15704, + "start": 15465, + "end": 15471, "loc": { "start": { - "line": 450, + "line": 446, "column": 31 }, "end": { - "line": 450, + "line": 446, "column": 37 }, "identifierName": "volume" @@ -28437,15 +27906,15 @@ { "type": "CommentLine", "value": " update player volume", - "start": 15643, - "end": 15666, + "start": 15410, + "end": 15433, "loc": { "start": { - "line": 449, + "line": 445, "column": 12 }, "end": { - "line": 449, + "line": 445, "column": 35 } } @@ -28465,15 +27934,15 @@ { "type": "CommentBlock", "value": "*\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n ", - "start": 15413, - "end": 15514, + "start": 15180, + "end": 15281, "loc": { "start": { - "line": 440, + "line": 436, "column": 4 }, "end": { - "line": 444, + "line": 440, "column": 7 } } @@ -28483,15 +27952,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": 15728, - "end": 16607, + "start": 15495, + "end": 16374, "loc": { "start": { - "line": 454, + "line": 450, "column": 4 }, "end": { - "line": 471, + "line": 467, "column": 7 } } @@ -28500,15 +27969,15 @@ }, { "type": "ClassMethod", - "start": 16612, - "end": 16726, + "start": 16379, + "end": 16493, "loc": { "start": { - "line": 472, + "line": 468, "column": 4 }, "end": { - "line": 474, + "line": 470, "column": 5 } }, @@ -28516,15 +27985,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16612, - "end": 16623, + "start": 16379, + "end": 16390, "loc": { "start": { - "line": 472, + "line": 468, "column": 4 }, "end": { - "line": 472, + "line": 468, "column": 15 }, "identifierName": "exportImage" @@ -28540,15 +28009,15 @@ "params": [ { "type": "Identifier", - "start": 16624, - "end": 16630, + "start": 16391, + "end": 16397, "loc": { "start": { - "line": 472, + "line": 468, "column": 16 }, "end": { - "line": 472, + "line": 468, "column": 22 }, "identifierName": "format" @@ -28557,15 +28026,15 @@ }, { "type": "Identifier", - "start": 16632, - "end": 16639, + "start": 16399, + "end": 16406, "loc": { "start": { - "line": 472, + "line": 468, "column": 24 }, "end": { - "line": 472, + "line": 468, "column": 31 }, "identifierName": "quality" @@ -28574,29 +28043,29 @@ }, { "type": "AssignmentPattern", - "start": 16641, - "end": 16654, + "start": 16408, + "end": 16421, "loc": { "start": { - "line": 472, + "line": 468, "column": 33 }, "end": { - "line": 472, + "line": 468, "column": 46 } }, "left": { "type": "Identifier", - "start": 16641, - "end": 16645, + "start": 16408, + "end": 16412, "loc": { "start": { - "line": 472, + "line": 468, "column": 33 }, "end": { - "line": 472, + "line": 468, "column": 37 }, "identifierName": "type" @@ -28605,15 +28074,15 @@ }, "right": { "type": "StringLiteral", - "start": 16648, - "end": 16654, + "start": 16415, + "end": 16421, "loc": { "start": { - "line": 472, + "line": 468, "column": 40 }, "end": { - "line": 472, + "line": 468, "column": 46 } }, @@ -28627,101 +28096,101 @@ ], "body": { "type": "BlockStatement", - "start": 16656, - "end": 16726, + "start": 16423, + "end": 16493, "loc": { "start": { - "line": 472, + "line": 468, "column": 48 }, "end": { - "line": 474, + "line": 470, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 16666, - "end": 16720, + "start": 16433, + "end": 16487, "loc": { "start": { - "line": 473, + "line": 469, "column": 8 }, "end": { - "line": 473, + "line": 469, "column": 62 } }, "argument": { "type": "CallExpression", - "start": 16673, - "end": 16719, + "start": 16440, + "end": 16486, "loc": { "start": { - "line": 473, + "line": 469, "column": 15 }, "end": { - "line": 473, + "line": 469, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 16673, - "end": 16696, + "start": 16440, + "end": 16463, "loc": { "start": { - "line": 473, + "line": 469, "column": 15 }, "end": { - "line": 473, + "line": 469, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 16673, - "end": 16684, + "start": 16440, + "end": 16451, "loc": { "start": { - "line": 473, + "line": 469, "column": 15 }, "end": { - "line": 473, + "line": 469, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 16673, - "end": 16677, + "start": 16440, + "end": 16444, "loc": { "start": { - "line": 473, + "line": 469, "column": 15 }, "end": { - "line": 473, + "line": 469, "column": 19 } } }, "property": { "type": "Identifier", - "start": 16678, - "end": 16684, + "start": 16445, + "end": 16451, "loc": { "start": { - "line": 473, + "line": 469, "column": 20 }, "end": { - "line": 473, + "line": 469, "column": 26 }, "identifierName": "surfer" @@ -28732,15 +28201,15 @@ }, "property": { "type": "Identifier", - "start": 16685, - "end": 16696, + "start": 16452, + "end": 16463, "loc": { "start": { - "line": 473, + "line": 469, "column": 27 }, "end": { - "line": 473, + "line": 469, "column": 38 }, "identifierName": "exportImage" @@ -28752,15 +28221,15 @@ "arguments": [ { "type": "Identifier", - "start": 16697, - "end": 16703, + "start": 16464, + "end": 16470, "loc": { "start": { - "line": 473, + "line": 469, "column": 39 }, "end": { - "line": 473, + "line": 469, "column": 45 }, "identifierName": "format" @@ -28769,15 +28238,15 @@ }, { "type": "Identifier", - "start": 16705, - "end": 16712, + "start": 16472, + "end": 16479, "loc": { "start": { - "line": 473, + "line": 469, "column": 47 }, "end": { - "line": 473, + "line": 469, "column": 54 }, "identifierName": "quality" @@ -28786,15 +28255,15 @@ }, { "type": "Identifier", - "start": 16714, - "end": 16718, + "start": 16481, + "end": 16485, "loc": { "start": { - "line": 473, + "line": 469, "column": 56 }, "end": { - "line": 473, + "line": 469, "column": 60 }, "identifierName": "type" @@ -28812,15 +28281,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": 15728, - "end": 16607, + "start": 15495, + "end": 16374, "loc": { "start": { - "line": 454, + "line": 450, "column": 4 }, "end": { - "line": 471, + "line": 467, "column": 7 } } @@ -28830,15 +28299,15 @@ { "type": "CommentBlock", "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", - "start": 16732, - "end": 16850, + "start": 16499, + "end": 16617, "loc": { "start": { - "line": 476, + "line": 472, "column": 4 }, "end": { - "line": 480, + "line": 476, "column": 7 } } @@ -28847,15 +28316,15 @@ }, { "type": "ClassMethod", - "start": 16855, - "end": 17263, + "start": 16622, + "end": 17030, "loc": { "start": { - "line": 481, + "line": 477, "column": 4 }, "end": { - "line": 493, + "line": 489, "column": 5 } }, @@ -28863,15 +28332,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16855, - "end": 16869, + "start": 16622, + "end": 16636, "loc": { "start": { - "line": 481, + "line": 477, "column": 4 }, "end": { - "line": 481, + "line": 477, "column": 18 }, "identifierName": "setAudioOutput" @@ -28887,15 +28356,15 @@ "params": [ { "type": "Identifier", - "start": 16870, - "end": 16878, + "start": 16637, + "end": 16645, "loc": { "start": { - "line": 481, + "line": 477, "column": 19 }, "end": { - "line": 481, + "line": 477, "column": 27 }, "identifierName": "deviceId" @@ -28905,44 +28374,44 @@ ], "body": { "type": "BlockStatement", - "start": 16880, - "end": 17263, + "start": 16647, + "end": 17030, "loc": { "start": { - "line": 481, + "line": 477, "column": 29 }, "end": { - "line": 493, + "line": 489, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 16890, - "end": 17257, + "start": 16657, + "end": 17024, "loc": { "start": { - "line": 482, + "line": 478, "column": 8 }, "end": { - "line": 492, + "line": 488, "column": 9 } }, "test": { "type": "Identifier", - "start": 16894, - "end": 16902, + "start": 16661, + "end": 16669, "loc": { "start": { - "line": 482, + "line": 478, "column": 12 }, "end": { - "line": 482, + "line": 478, "column": 20 }, "identifierName": "deviceId" @@ -28951,157 +28420,157 @@ }, "consequent": { "type": "BlockStatement", - "start": 16904, - "end": 17257, + "start": 16671, + "end": 17024, "loc": { "start": { - "line": 482, + "line": 478, "column": 22 }, "end": { - "line": 492, + "line": 488, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 16918, - "end": 17247, + "start": 16685, + "end": 17014, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 491, + "line": 487, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 16918, - "end": 17246, + "start": 16685, + "end": 17013, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 491, + "line": 487, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 16918, - "end": 17088, + "start": 16685, + "end": 16855, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 486, + "line": 482, "column": 20 } }, "object": { "type": "CallExpression", - "start": 16918, - "end": 17082, + "start": 16685, + "end": 16849, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 486, + "line": 482, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 16918, - "end": 16954, + "start": 16685, + "end": 16721, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 483, + "line": 479, "column": 48 } }, "object": { "type": "CallExpression", - "start": 16918, - "end": 16949, + "start": 16685, + "end": 16716, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 483, + "line": 479, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 16918, - "end": 16939, + "start": 16685, + "end": 16706, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 483, + "line": 479, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 16918, - "end": 16929, + "start": 16685, + "end": 16696, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 483, + "line": 479, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 16918, - "end": 16922, + "start": 16685, + "end": 16689, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 483, + "line": 479, "column": 16 } } }, "property": { "type": "Identifier", - "start": 16923, - "end": 16929, + "start": 16690, + "end": 16696, "loc": { "start": { - "line": 483, + "line": 479, "column": 17 }, "end": { - "line": 483, + "line": 479, "column": 23 }, "identifierName": "surfer" @@ -29112,15 +28581,15 @@ }, "property": { "type": "Identifier", - "start": 16930, - "end": 16939, + "start": 16697, + "end": 16706, "loc": { "start": { - "line": 483, + "line": 479, "column": 24 }, "end": { - "line": 483, + "line": 479, "column": 33 }, "identifierName": "setSinkId" @@ -29132,15 +28601,15 @@ "arguments": [ { "type": "Identifier", - "start": 16940, - "end": 16948, + "start": 16707, + "end": 16715, "loc": { "start": { - "line": 483, + "line": 479, "column": 34 }, "end": { - "line": 483, + "line": 479, "column": 42 }, "identifierName": "deviceId" @@ -29151,15 +28620,15 @@ }, "property": { "type": "Identifier", - "start": 16950, - "end": 16954, + "start": 16717, + "end": 16721, "loc": { "start": { - "line": 483, + "line": 479, "column": 44 }, "end": { - "line": 483, + "line": 479, "column": 48 }, "identifierName": "then" @@ -29171,15 +28640,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 16955, - "end": 17081, + "start": 16722, + "end": 16848, "loc": { "start": { - "line": 483, + "line": 479, "column": 49 }, "end": { - "line": 486, + "line": 482, "column": 13 } }, @@ -29190,15 +28659,15 @@ "params": [ { "type": "Identifier", - "start": 16956, - "end": 16962, + "start": 16723, + "end": 16729, "loc": { "start": { - "line": 483, + "line": 479, "column": 50 }, "end": { - "line": 483, + "line": 479, "column": 56 }, "identifierName": "result" @@ -29208,86 +28677,86 @@ ], "body": { "type": "BlockStatement", - "start": 16967, - "end": 17081, + "start": 16734, + "end": 16848, "loc": { "start": { - "line": 483, + "line": 479, "column": 61 }, "end": { - "line": 486, + "line": 482, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 17021, - "end": 17067, + "start": 16788, + "end": 16834, "loc": { "start": { - "line": 485, + "line": 481, "column": 16 }, "end": { - "line": 485, + "line": 481, "column": 62 } }, "expression": { "type": "CallExpression", - "start": 17021, - "end": 17066, + "start": 16788, + "end": 16833, "loc": { "start": { - "line": 485, + "line": 481, "column": 16 }, "end": { - "line": 485, + "line": 481, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 17021, - "end": 17040, + "start": 16788, + "end": 16807, "loc": { "start": { - "line": 485, + "line": 481, "column": 16 }, "end": { - "line": 485, + "line": 481, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 17021, - "end": 17032, + "start": 16788, + "end": 16799, "loc": { "start": { - "line": 485, + "line": 481, "column": 16 }, "end": { - "line": 485, + "line": 481, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 17021, - "end": 17025, + "start": 16788, + "end": 16792, "loc": { "start": { - "line": 485, + "line": 481, "column": 16 }, "end": { - "line": 485, + "line": 481, "column": 20 } }, @@ -29295,15 +28764,15 @@ }, "property": { "type": "Identifier", - "start": 17026, - "end": 17032, + "start": 16793, + "end": 16799, "loc": { "start": { - "line": 485, + "line": 481, "column": 21 }, "end": { - "line": 485, + "line": 481, "column": 27 }, "identifierName": "player" @@ -29315,15 +28784,15 @@ }, "property": { "type": "Identifier", - "start": 17033, - "end": 17040, + "start": 16800, + "end": 16807, "loc": { "start": { - "line": 485, + "line": 481, "column": 28 }, "end": { - "line": 485, + "line": 481, "column": 35 }, "identifierName": "trigger" @@ -29336,29 +28805,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 17041, - "end": 17065, + "start": 16808, + "end": 16832, "loc": { "start": { - "line": 485, + "line": 481, "column": 36 }, "end": { - "line": 485, + "line": 481, "column": 60 } }, "object": { "type": "Identifier", - "start": 17041, - "end": 17046, + "start": 16808, + "end": 16813, "loc": { "start": { - "line": 485, + "line": 481, "column": 36 }, "end": { - "line": 485, + "line": 481, "column": 41 }, "identifierName": "Event" @@ -29367,15 +28836,15 @@ }, "property": { "type": "Identifier", - "start": 17047, - "end": 17065, + "start": 16814, + "end": 16832, "loc": { "start": { - "line": 485, + "line": 481, "column": 42 }, "end": { - "line": 485, + "line": 481, "column": 60 }, "identifierName": "AUDIO_OUTPUT_READY" @@ -29391,15 +28860,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16985, - "end": 17004, + "start": 16752, + "end": 16771, "loc": { "start": { - "line": 484, + "line": 480, "column": 16 }, "end": { - "line": 484, + "line": 480, "column": 35 } } @@ -29414,15 +28883,15 @@ }, "property": { "type": "Identifier", - "start": 17083, - "end": 17088, + "start": 16850, + "end": 16855, "loc": { "start": { - "line": 486, + "line": 482, "column": 15 }, "end": { - "line": 486, + "line": 482, "column": 20 }, "identifierName": "catch" @@ -29434,15 +28903,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 17089, - "end": 17245, + "start": 16856, + "end": 17012, "loc": { "start": { - "line": 486, + "line": 482, "column": 21 }, "end": { - "line": 491, + "line": 487, "column": 13 } }, @@ -29453,15 +28922,15 @@ "params": [ { "type": "Identifier", - "start": 17090, - "end": 17093, + "start": 16857, + "end": 16860, "loc": { "start": { - "line": 486, + "line": 482, "column": 22 }, "end": { - "line": 486, + "line": 482, "column": 25 }, "identifierName": "err" @@ -29471,86 +28940,86 @@ ], "body": { "type": "BlockStatement", - "start": 17098, - "end": 17245, + "start": 16865, + "end": 17012, "loc": { "start": { - "line": 486, + "line": 482, "column": 30 }, "end": { - "line": 491, + "line": 487, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 17152, - "end": 17190, + "start": 16919, + "end": 16957, "loc": { "start": { - "line": 488, + "line": 484, "column": 16 }, "end": { - "line": 488, + "line": 484, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 17152, - "end": 17189, + "start": 16919, + "end": 16956, "loc": { "start": { - "line": 488, + "line": 484, "column": 16 }, "end": { - "line": 488, + "line": 484, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 17152, - "end": 17171, + "start": 16919, + "end": 16938, "loc": { "start": { - "line": 488, + "line": 484, "column": 16 }, "end": { - "line": 488, + "line": 484, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 17152, - "end": 17163, + "start": 16919, + "end": 16930, "loc": { "start": { - "line": 488, + "line": 484, "column": 16 }, "end": { - "line": 488, + "line": 484, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 17152, - "end": 17156, + "start": 16919, + "end": 16923, "loc": { "start": { - "line": 488, + "line": 484, "column": 16 }, "end": { - "line": 488, + "line": 484, "column": 20 } }, @@ -29558,15 +29027,15 @@ }, "property": { "type": "Identifier", - "start": 17157, - "end": 17163, + "start": 16924, + "end": 16930, "loc": { "start": { - "line": 488, + "line": 484, "column": 21 }, "end": { - "line": 488, + "line": 484, "column": 27 }, "identifierName": "player" @@ -29578,15 +29047,15 @@ }, "property": { "type": "Identifier", - "start": 17164, - "end": 17171, + "start": 16931, + "end": 16938, "loc": { "start": { - "line": 488, + "line": 484, "column": 28 }, "end": { - "line": 488, + "line": 484, "column": 35 }, "identifierName": "trigger" @@ -29599,29 +29068,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 17172, - "end": 17183, + "start": 16939, + "end": 16950, "loc": { "start": { - "line": 488, + "line": 484, "column": 36 }, "end": { - "line": 488, + "line": 484, "column": 47 } }, "object": { "type": "Identifier", - "start": 17172, - "end": 17177, + "start": 16939, + "end": 16944, "loc": { "start": { - "line": 488, + "line": 484, "column": 36 }, "end": { - "line": 488, + "line": 484, "column": 41 }, "identifierName": "Event" @@ -29630,15 +29099,15 @@ }, "property": { "type": "Identifier", - "start": 17178, - "end": 17183, + "start": 16945, + "end": 16950, "loc": { "start": { - "line": 488, + "line": 484, "column": 42 }, "end": { - "line": 488, + "line": 484, "column": 47 }, "identifierName": "ERROR" @@ -29649,15 +29118,15 @@ }, { "type": "Identifier", - "start": 17185, - "end": 17188, + "start": 16952, + "end": 16955, "loc": { "start": { - "line": 488, + "line": 484, "column": 49 }, "end": { - "line": 488, + "line": 484, "column": 52 }, "identifierName": "err" @@ -29671,15 +29140,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 17116, - "end": 17135, + "start": 16883, + "end": 16902, "loc": { "start": { - "line": 487, + "line": 483, "column": 16 }, "end": { - "line": 487, + "line": 483, "column": 35 } } @@ -29688,72 +29157,72 @@ }, { "type": "ExpressionStatement", - "start": 17208, - "end": 17231, + "start": 16975, + "end": 16998, "loc": { "start": { - "line": 490, + "line": 486, "column": 16 }, "end": { - "line": 490, + "line": 486, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 17208, - "end": 17230, + "start": 16975, + "end": 16997, "loc": { "start": { - "line": 490, + "line": 486, "column": 16 }, "end": { - "line": 490, + "line": 486, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 17208, - "end": 17216, + "start": 16975, + "end": 16983, "loc": { "start": { - "line": 490, + "line": 486, "column": 16 }, "end": { - "line": 490, + "line": 486, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 17208, - "end": 17212, + "start": 16975, + "end": 16979, "loc": { "start": { - "line": 490, + "line": 486, "column": 16 }, "end": { - "line": 490, + "line": 486, "column": 20 } } }, "property": { "type": "Identifier", - "start": 17213, - "end": 17216, + "start": 16980, + "end": 16983, "loc": { "start": { - "line": 490, + "line": 486, "column": 21 }, "end": { - "line": 490, + "line": 486, "column": 24 }, "identifierName": "log" @@ -29765,15 +29234,15 @@ "arguments": [ { "type": "Identifier", - "start": 17217, - "end": 17220, + "start": 16984, + "end": 16987, "loc": { "start": { - "line": 490, + "line": 486, "column": 25 }, "end": { - "line": 490, + "line": 486, "column": 28 }, "identifierName": "err" @@ -29782,15 +29251,15 @@ }, { "type": "StringLiteral", - "start": 17222, - "end": 17229, + "start": 16989, + "end": 16996, "loc": { "start": { - "line": 490, + "line": 486, "column": 30 }, "end": { - "line": 490, + "line": 486, "column": 37 } }, @@ -29823,15 +29292,15 @@ { "type": "CommentBlock", "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", - "start": 16732, - "end": 16850, + "start": 16499, + "end": 16617, "loc": { "start": { - "line": 476, + "line": 472, "column": 4 }, "end": { - "line": 480, + "line": 476, "column": 7 } } @@ -29841,15 +29310,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": 17269, - "end": 17468, + "start": 17036, + "end": 17235, "loc": { "start": { - "line": 495, + "line": 491, "column": 4 }, "end": { - "line": 501, + "line": 497, "column": 7 } } @@ -29858,15 +29327,15 @@ }, { "type": "ClassMethod", - "start": 17473, - "end": 17642, + "start": 17240, + "end": 17409, "loc": { "start": { - "line": 502, + "line": 498, "column": 4 }, "end": { - "line": 507, + "line": 503, "column": 5 } }, @@ -29874,15 +29343,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17473, - "end": 17487, + "start": 17240, + "end": 17254, "loc": { "start": { - "line": 502, + "line": 498, "column": 4 }, "end": { - "line": 502, + "line": 498, "column": 18 }, "identifierName": "getCurrentTime" @@ -29898,59 +29367,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 17490, - "end": 17642, + "start": 17257, + "end": 17409, "loc": { "start": { - "line": 502, + "line": 498, "column": 21 }, "end": { - "line": 507, + "line": 503, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 17500, - "end": 17547, + "start": 17267, + "end": 17314, "loc": { "start": { - "line": 503, + "line": 499, "column": 8 }, "end": { - "line": 503, + "line": 499, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17504, - "end": 17546, + "start": 17271, + "end": 17313, "loc": { "start": { - "line": 503, + "line": 499, "column": 12 }, "end": { - "line": 503, + "line": 499, "column": 54 } }, "id": { "type": "Identifier", - "start": 17504, - "end": 17515, + "start": 17271, + "end": 17282, "loc": { "start": { - "line": 503, + "line": 499, "column": 12 }, "end": { - "line": 503, + "line": 499, "column": 23 }, "identifierName": "currentTime" @@ -29959,72 +29428,72 @@ }, "init": { "type": "CallExpression", - "start": 17518, - "end": 17546, + "start": 17285, + "end": 17313, "loc": { "start": { - "line": 503, + "line": 499, "column": 26 }, "end": { - "line": 503, + "line": 499, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 17518, - "end": 17544, + "start": 17285, + "end": 17311, "loc": { "start": { - "line": 503, + "line": 499, "column": 26 }, "end": { - "line": 503, + "line": 499, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 17518, - "end": 17529, + "start": 17285, + "end": 17296, "loc": { "start": { - "line": 503, + "line": 499, "column": 26 }, "end": { - "line": 503, + "line": 499, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 17518, - "end": 17522, + "start": 17285, + "end": 17289, "loc": { "start": { - "line": 503, + "line": 499, "column": 26 }, "end": { - "line": 503, + "line": 499, "column": 30 } } }, "property": { "type": "Identifier", - "start": 17523, - "end": 17529, + "start": 17290, + "end": 17296, "loc": { "start": { - "line": 503, + "line": 499, "column": 31 }, "end": { - "line": 503, + "line": 499, "column": 37 }, "identifierName": "surfer" @@ -30035,15 +29504,15 @@ }, "property": { "type": "Identifier", - "start": 17530, - "end": 17544, + "start": 17297, + "end": 17311, "loc": { "start": { - "line": 503, + "line": 499, "column": 38 }, "end": { - "line": 503, + "line": 499, "column": 52 }, "identifierName": "getCurrentTime" @@ -30060,44 +29529,44 @@ }, { "type": "ExpressionStatement", - "start": 17556, - "end": 17607, + "start": 17323, + "end": 17374, "loc": { "start": { - "line": 504, + "line": 500, "column": 8 }, "end": { - "line": 504, + "line": 500, "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 17556, - "end": 17606, + "start": 17323, + "end": 17373, "loc": { "start": { - "line": 504, + "line": 500, "column": 8 }, "end": { - "line": 504, + "line": 500, "column": 58 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17556, - "end": 17567, + "start": 17323, + "end": 17334, "loc": { "start": { - "line": 504, + "line": 500, "column": 8 }, "end": { - "line": 504, + "line": 500, "column": 19 }, "identifierName": "currentTime" @@ -30106,43 +29575,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 17570, - "end": 17606, + "start": 17337, + "end": 17373, "loc": { "start": { - "line": 504, + "line": 500, "column": 22 }, "end": { - "line": 504, + "line": 500, "column": 58 } }, "test": { "type": "CallExpression", - "start": 17570, - "end": 17588, + "start": 17337, + "end": 17355, "loc": { "start": { - "line": 504, + "line": 500, "column": 22 }, "end": { - "line": 504, + "line": 500, "column": 40 } }, "callee": { "type": "Identifier", - "start": 17570, - "end": 17575, + "start": 17337, + "end": 17342, "loc": { "start": { - "line": 504, + "line": 500, "column": 22 }, "end": { - "line": 504, + "line": 500, "column": 27 }, "identifierName": "isNaN" @@ -30152,15 +29621,15 @@ "arguments": [ { "type": "Identifier", - "start": 17576, - "end": 17587, + "start": 17343, + "end": 17354, "loc": { "start": { - "line": 504, + "line": 500, "column": 28 }, "end": { - "line": 504, + "line": 500, "column": 39 }, "identifierName": "currentTime" @@ -30171,15 +29640,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 17591, - "end": 17592, + "start": 17358, + "end": 17359, "loc": { "start": { - "line": 504, + "line": 500, "column": 43 }, "end": { - "line": 504, + "line": 500, "column": 44 } }, @@ -30191,15 +29660,15 @@ }, "alternate": { "type": "Identifier", - "start": 17595, - "end": 17606, + "start": 17362, + "end": 17373, "loc": { "start": { - "line": 504, + "line": 500, "column": 47 }, "end": { - "line": 504, + "line": 500, "column": 58 }, "identifierName": "currentTime" @@ -30211,29 +29680,29 @@ }, { "type": "ReturnStatement", - "start": 17617, - "end": 17636, + "start": 17384, + "end": 17403, "loc": { "start": { - "line": 506, + "line": 502, "column": 8 }, "end": { - "line": 506, + "line": 502, "column": 27 } }, "argument": { "type": "Identifier", - "start": 17624, - "end": 17635, + "start": 17391, + "end": 17402, "loc": { "start": { - "line": 506, + "line": 502, "column": 15 }, "end": { - "line": 506, + "line": 502, "column": 26 }, "identifierName": "currentTime" @@ -30249,15 +29718,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": 17269, - "end": 17468, + "start": 17036, + "end": 17235, "loc": { "start": { - "line": 495, + "line": 491, "column": 4 }, "end": { - "line": 501, + "line": 497, "column": 7 } } @@ -30267,15 +29736,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": 17648, - "end": 17919, + "start": 17415, + "end": 17686, "loc": { "start": { - "line": 509, + "line": 505, "column": 4 }, "end": { - "line": 516, + "line": 512, "column": 7 } } @@ -30284,15 +29753,15 @@ }, { "type": "ClassMethod", - "start": 17924, - "end": 19051, + "start": 17691, + "end": 18818, "loc": { "start": { - "line": 517, + "line": 513, "column": 4 }, "end": { - "line": 544, + "line": 540, "column": 5 } }, @@ -30300,15 +29769,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17924, - "end": 17938, + "start": 17691, + "end": 17705, "loc": { "start": { - "line": 517, + "line": 513, "column": 4 }, "end": { - "line": 517, + "line": 513, "column": 18 }, "identifierName": "setCurrentTime" @@ -30324,15 +29793,15 @@ "params": [ { "type": "Identifier", - "start": 17939, - "end": 17950, + "start": 17706, + "end": 17717, "loc": { "start": { - "line": 517, + "line": 513, "column": 19 }, "end": { - "line": 517, + "line": 513, "column": 30 }, "identifierName": "currentTime" @@ -30341,15 +29810,15 @@ }, { "type": "Identifier", - "start": 17952, - "end": 17960, + "start": 17719, + "end": 17727, "loc": { "start": { - "line": 517, + "line": 513, "column": 32 }, "end": { - "line": 517, + "line": 513, "column": 40 }, "identifierName": "duration" @@ -30359,58 +29828,58 @@ ], "body": { "type": "BlockStatement", - "start": 17962, - "end": 19051, + "start": 17729, + "end": 18818, "loc": { "start": { - "line": 517, + "line": 513, "column": 42 }, "end": { - "line": 544, + "line": 540, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 17972, - "end": 18070, + "start": 17739, + "end": 17837, "loc": { "start": { - "line": 518, + "line": 514, "column": 8 }, "end": { - "line": 520, + "line": 516, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 17976, - "end": 18001, + "start": 17743, + "end": 17768, "loc": { "start": { - "line": 518, + "line": 514, "column": 12 }, "end": { - "line": 518, + "line": 514, "column": 37 } }, "left": { "type": "Identifier", - "start": 17976, - "end": 17987, + "start": 17743, + "end": 17754, "loc": { "start": { - "line": 518, + "line": 514, "column": 12 }, "end": { - "line": 518, + "line": 514, "column": 23 }, "identifierName": "currentTime" @@ -30420,15 +29889,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 17992, - "end": 18001, + "start": 17759, + "end": 17768, "loc": { "start": { - "line": 518, + "line": 514, "column": 28 }, "end": { - "line": 518, + "line": 514, "column": 37 }, "identifierName": "undefined" @@ -30438,59 +29907,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 18003, - "end": 18070, + "start": 17770, + "end": 17837, "loc": { "start": { - "line": 518, + "line": 514, "column": 39 }, "end": { - "line": 520, + "line": 516, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 18017, - "end": 18060, + "start": 17784, + "end": 17827, "loc": { "start": { - "line": 519, + "line": 515, "column": 12 }, "end": { - "line": 519, + "line": 515, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 18017, - "end": 18059, + "start": 17784, + "end": 17826, "loc": { "start": { - "line": 519, + "line": 515, "column": 12 }, "end": { - "line": 519, + "line": 515, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 18017, - "end": 18028, + "start": 17784, + "end": 17795, "loc": { "start": { - "line": 519, + "line": 515, "column": 12 }, "end": { - "line": 519, + "line": 515, "column": 23 }, "identifierName": "currentTime" @@ -30499,72 +29968,72 @@ }, "right": { "type": "CallExpression", - "start": 18031, - "end": 18059, + "start": 17798, + "end": 17826, "loc": { "start": { - "line": 519, + "line": 515, "column": 26 }, "end": { - "line": 519, + "line": 515, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 18031, - "end": 18057, + "start": 17798, + "end": 17824, "loc": { "start": { - "line": 519, + "line": 515, "column": 26 }, "end": { - "line": 519, + "line": 515, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 18031, - "end": 18042, + "start": 17798, + "end": 17809, "loc": { "start": { - "line": 519, + "line": 515, "column": 26 }, "end": { - "line": 519, + "line": 515, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 18031, - "end": 18035, + "start": 17798, + "end": 17802, "loc": { "start": { - "line": 519, + "line": 515, "column": 26 }, "end": { - "line": 519, + "line": 515, "column": 30 } } }, "property": { "type": "Identifier", - "start": 18036, - "end": 18042, + "start": 17803, + "end": 17809, "loc": { "start": { - "line": 519, + "line": 515, "column": 31 }, "end": { - "line": 519, + "line": 515, "column": 37 }, "identifierName": "surfer" @@ -30575,15 +30044,15 @@ }, "property": { "type": "Identifier", - "start": 18043, - "end": 18057, + "start": 17810, + "end": 17824, "loc": { "start": { - "line": 519, + "line": 515, "column": 38 }, "end": { - "line": 519, + "line": 515, "column": 52 }, "identifierName": "getCurrentTime" @@ -30603,43 +30072,43 @@ }, { "type": "IfStatement", - "start": 18080, - "end": 18169, + "start": 17847, + "end": 17936, "loc": { "start": { - "line": 522, + "line": 518, "column": 8 }, "end": { - "line": 524, + "line": 520, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 18084, - "end": 18106, + "start": 17851, + "end": 17873, "loc": { "start": { - "line": 522, + "line": 518, "column": 12 }, "end": { - "line": 522, + "line": 518, "column": 34 } }, "left": { "type": "Identifier", - "start": 18084, - "end": 18092, + "start": 17851, + "end": 17859, "loc": { "start": { - "line": 522, + "line": 518, "column": 12 }, "end": { - "line": 522, + "line": 518, "column": 20 }, "identifierName": "duration" @@ -30649,15 +30118,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 18097, - "end": 18106, + "start": 17864, + "end": 17873, "loc": { "start": { - "line": 522, + "line": 518, "column": 25 }, "end": { - "line": 522, + "line": 518, "column": 34 }, "identifierName": "undefined" @@ -30667,59 +30136,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 18108, - "end": 18169, + "start": 17875, + "end": 17936, "loc": { "start": { - "line": 522, + "line": 518, "column": 36 }, "end": { - "line": 524, + "line": 520, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 18122, - "end": 18159, + "start": 17889, + "end": 17926, "loc": { "start": { - "line": 523, + "line": 519, "column": 12 }, "end": { - "line": 523, + "line": 519, "column": 49 } }, "expression": { "type": "AssignmentExpression", - "start": 18122, - "end": 18158, + "start": 17889, + "end": 17925, "loc": { "start": { - "line": 523, + "line": 519, "column": 12 }, "end": { - "line": 523, + "line": 519, "column": 48 } }, "operator": "=", "left": { "type": "Identifier", - "start": 18122, - "end": 18130, + "start": 17889, + "end": 17897, "loc": { "start": { - "line": 523, + "line": 519, "column": 12 }, "end": { - "line": 523, + "line": 519, "column": 20 }, "identifierName": "duration" @@ -30728,72 +30197,72 @@ }, "right": { "type": "CallExpression", - "start": 18133, - "end": 18158, + "start": 17900, + "end": 17925, "loc": { "start": { - "line": 523, + "line": 519, "column": 23 }, "end": { - "line": 523, + "line": 519, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 18133, - "end": 18156, + "start": 17900, + "end": 17923, "loc": { "start": { - "line": 523, + "line": 519, "column": 23 }, "end": { - "line": 523, + "line": 519, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 18133, - "end": 18144, + "start": 17900, + "end": 17911, "loc": { "start": { - "line": 523, + "line": 519, "column": 23 }, "end": { - "line": 523, + "line": 519, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 18133, - "end": 18137, + "start": 17900, + "end": 17904, "loc": { "start": { - "line": 523, + "line": 519, "column": 23 }, "end": { - "line": 523, + "line": 519, "column": 27 } } }, "property": { "type": "Identifier", - "start": 18138, - "end": 18144, + "start": 17905, + "end": 17911, "loc": { "start": { - "line": 523, + "line": 519, "column": 28 }, "end": { - "line": 523, + "line": 519, "column": 34 }, "identifierName": "surfer" @@ -30804,15 +30273,15 @@ }, "property": { "type": "Identifier", - "start": 18145, - "end": 18156, + "start": 17912, + "end": 17923, "loc": { "start": { - "line": 523, + "line": 519, "column": 35 }, "end": { - "line": 523, + "line": 519, "column": 46 }, "identifierName": "getDuration" @@ -30832,44 +30301,44 @@ }, { "type": "ExpressionStatement", - "start": 18179, - "end": 18230, + "start": 17946, + "end": 17997, "loc": { "start": { - "line": 526, + "line": 522, "column": 8 }, "end": { - "line": 526, + "line": 522, "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 18179, - "end": 18229, + "start": 17946, + "end": 17996, "loc": { "start": { - "line": 526, + "line": 522, "column": 8 }, "end": { - "line": 526, + "line": 522, "column": 58 } }, "operator": "=", "left": { "type": "Identifier", - "start": 18179, - "end": 18190, + "start": 17946, + "end": 17957, "loc": { "start": { - "line": 526, + "line": 522, "column": 8 }, "end": { - "line": 526, + "line": 522, "column": 19 }, "identifierName": "currentTime" @@ -30878,43 +30347,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 18193, - "end": 18229, + "start": 17960, + "end": 17996, "loc": { "start": { - "line": 526, + "line": 522, "column": 22 }, "end": { - "line": 526, + "line": 522, "column": 58 } }, "test": { "type": "CallExpression", - "start": 18193, - "end": 18211, + "start": 17960, + "end": 17978, "loc": { "start": { - "line": 526, + "line": 522, "column": 22 }, "end": { - "line": 526, + "line": 522, "column": 40 } }, "callee": { "type": "Identifier", - "start": 18193, - "end": 18198, + "start": 17960, + "end": 17965, "loc": { "start": { - "line": 526, + "line": 522, "column": 22 }, "end": { - "line": 526, + "line": 522, "column": 27 }, "identifierName": "isNaN" @@ -30924,15 +30393,15 @@ "arguments": [ { "type": "Identifier", - "start": 18199, - "end": 18210, + "start": 17966, + "end": 17977, "loc": { "start": { - "line": 526, + "line": 522, "column": 28 }, "end": { - "line": 526, + "line": 522, "column": 39 }, "identifierName": "currentTime" @@ -30943,15 +30412,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 18214, - "end": 18215, + "start": 17981, + "end": 17982, "loc": { "start": { - "line": 526, + "line": 522, "column": 43 }, "end": { - "line": 526, + "line": 522, "column": 44 } }, @@ -30963,15 +30432,15 @@ }, "alternate": { "type": "Identifier", - "start": 18218, - "end": 18229, + "start": 17985, + "end": 17996, "loc": { "start": { - "line": 526, + "line": 522, "column": 47 }, "end": { - "line": 526, + "line": 522, "column": 58 }, "identifierName": "currentTime" @@ -30983,44 +30452,44 @@ }, { "type": "ExpressionStatement", - "start": 18239, - "end": 18281, + "start": 18006, + "end": 18048, "loc": { "start": { - "line": 527, + "line": 523, "column": 8 }, "end": { - "line": 527, + "line": 523, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 18239, - "end": 18280, + "start": 18006, + "end": 18047, "loc": { "start": { - "line": 527, + "line": 523, "column": 8 }, "end": { - "line": 527, + "line": 523, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 18239, - "end": 18247, + "start": 18006, + "end": 18014, "loc": { "start": { - "line": 527, + "line": 523, "column": 8 }, "end": { - "line": 527, + "line": 523, "column": 16 }, "identifierName": "duration" @@ -31029,43 +30498,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 18250, - "end": 18280, + "start": 18017, + "end": 18047, "loc": { "start": { - "line": 527, + "line": 523, "column": 19 }, "end": { - "line": 527, + "line": 523, "column": 49 } }, "test": { "type": "CallExpression", - "start": 18250, - "end": 18265, + "start": 18017, + "end": 18032, "loc": { "start": { - "line": 527, + "line": 523, "column": 19 }, "end": { - "line": 527, + "line": 523, "column": 34 } }, "callee": { "type": "Identifier", - "start": 18250, - "end": 18255, + "start": 18017, + "end": 18022, "loc": { "start": { - "line": 527, + "line": 523, "column": 19 }, "end": { - "line": 527, + "line": 523, "column": 24 }, "identifierName": "isNaN" @@ -31075,15 +30544,15 @@ "arguments": [ { "type": "Identifier", - "start": 18256, - "end": 18264, + "start": 18023, + "end": 18031, "loc": { "start": { - "line": 527, + "line": 523, "column": 25 }, "end": { - "line": 527, + "line": 523, "column": 33 }, "identifierName": "duration" @@ -31094,15 +30563,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 18268, - "end": 18269, + "start": 18035, + "end": 18036, "loc": { "start": { - "line": 527, + "line": 523, "column": 37 }, "end": { - "line": 527, + "line": 523, "column": 38 } }, @@ -31114,15 +30583,15 @@ }, "alternate": { "type": "Identifier", - "start": 18272, - "end": 18280, + "start": 18039, + "end": 18047, "loc": { "start": { - "line": 527, + "line": 523, "column": 41 }, "end": { - "line": 527, + "line": 523, "column": 49 }, "identifierName": "duration" @@ -31135,15 +30604,15 @@ { "type": "CommentLine", "value": " update current time display component", - "start": 18291, - "end": 18331, + "start": 18058, + "end": 18098, "loc": { "start": { - "line": 529, + "line": 525, "column": 8 }, "end": { - "line": 529, + "line": 525, "column": 48 } } @@ -31152,99 +30621,99 @@ }, { "type": "IfStatement", - "start": 18340, - "end": 18848, + "start": 18107, + "end": 18615, "loc": { "start": { - "line": 530, + "line": 526, "column": 8 }, "end": { - "line": 538, + "line": 534, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 18344, - "end": 18533, + "start": 18111, + "end": 18300, "loc": { "start": { - "line": 530, + "line": 526, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 75 } }, "left": { "type": "LogicalExpression", - "start": 18344, - "end": 18454, + "start": 18111, + "end": 18221, "loc": { "start": { - "line": 530, + "line": 526, "column": 12 }, "end": { - "line": 531, + "line": 527, "column": 65 } }, "left": { "type": "MemberExpression", - "start": 18344, - "end": 18385, + "start": 18111, + "end": 18152, "loc": { "start": { - "line": 530, + "line": 526, "column": 12 }, "end": { - "line": 530, + "line": 526, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 18344, - "end": 18366, + "start": 18111, + "end": 18133, "loc": { "start": { - "line": 530, + "line": 526, "column": 12 }, "end": { - "line": 530, + "line": 526, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18344, - "end": 18355, + "start": 18111, + "end": 18122, "loc": { "start": { - "line": 530, + "line": 526, "column": 12 }, "end": { - "line": 530, + "line": 526, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18344, - "end": 18348, + "start": 18111, + "end": 18115, "loc": { "start": { - "line": 530, + "line": 526, "column": 12 }, "end": { - "line": 530, + "line": 526, "column": 16 } }, @@ -31252,15 +30721,15 @@ }, "property": { "type": "Identifier", - "start": 18349, - "end": 18355, + "start": 18116, + "end": 18122, "loc": { "start": { - "line": 530, + "line": 526, "column": 17 }, "end": { - "line": 530, + "line": 526, "column": 23 }, "identifierName": "player" @@ -31272,15 +30741,15 @@ }, "property": { "type": "Identifier", - "start": 18356, - "end": 18366, + "start": 18123, + "end": 18133, "loc": { "start": { - "line": 530, + "line": 526, "column": 24 }, "end": { - "line": 530, + "line": 526, "column": 34 }, "identifierName": "controlBar" @@ -31292,15 +30761,15 @@ }, "property": { "type": "Identifier", - "start": 18367, - "end": 18385, + "start": 18134, + "end": 18152, "loc": { "start": { - "line": 530, + "line": 526, "column": 35 }, "end": { - "line": 530, + "line": 526, "column": 53 }, "identifierName": "currentTimeDisplay" @@ -31313,100 +30782,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 18401, - "end": 18454, + "start": 18168, + "end": 18221, "loc": { "start": { - "line": 531, + "line": 527, "column": 12 }, "end": { - "line": 531, + "line": 527, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 18401, - "end": 18452, + "start": 18168, + "end": 18219, "loc": { "start": { - "line": 531, + "line": 527, "column": 12 }, "end": { - "line": 531, + "line": 527, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 18401, - "end": 18442, + "start": 18168, + "end": 18209, "loc": { "start": { - "line": 531, + "line": 527, "column": 12 }, "end": { - "line": 531, + "line": 527, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 18401, - "end": 18423, + "start": 18168, + "end": 18190, "loc": { "start": { - "line": 531, + "line": 527, "column": 12 }, "end": { - "line": 531, + "line": 527, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18401, - "end": 18412, + "start": 18168, + "end": 18179, "loc": { "start": { - "line": 531, + "line": 527, "column": 12 }, "end": { - "line": 531, + "line": 527, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18401, - "end": 18405, + "start": 18168, + "end": 18172, "loc": { "start": { - "line": 531, + "line": 527, "column": 12 }, "end": { - "line": 531, + "line": 527, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18406, - "end": 18412, + "start": 18173, + "end": 18179, "loc": { "start": { - "line": 531, + "line": 527, "column": 17 }, "end": { - "line": 531, + "line": 527, "column": 23 }, "identifierName": "player" @@ -31417,15 +30886,15 @@ }, "property": { "type": "Identifier", - "start": 18413, - "end": 18423, + "start": 18180, + "end": 18190, "loc": { "start": { - "line": 531, + "line": 527, "column": 24 }, "end": { - "line": 531, + "line": 527, "column": 34 }, "identifierName": "controlBar" @@ -31436,15 +30905,15 @@ }, "property": { "type": "Identifier", - "start": 18424, - "end": 18442, + "start": 18191, + "end": 18209, "loc": { "start": { - "line": 531, + "line": 527, "column": 35 }, "end": { - "line": 531, + "line": 527, "column": 53 }, "identifierName": "currentTimeDisplay" @@ -31455,15 +30924,15 @@ }, "property": { "type": "Identifier", - "start": 18443, - "end": 18452, + "start": 18210, + "end": 18219, "loc": { "start": { - "line": 531, + "line": 527, "column": 54 }, "end": { - "line": 531, + "line": 527, "column": 63 }, "identifierName": "contentEl" @@ -31479,114 +30948,114 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 18470, - "end": 18533, + "start": 18237, + "end": 18300, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 75 } }, "object": { "type": "CallExpression", - "start": 18470, - "end": 18523, + "start": 18237, + "end": 18290, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 18470, - "end": 18521, + "start": 18237, + "end": 18288, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 18470, - "end": 18511, + "start": 18237, + "end": 18278, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 18470, - "end": 18492, + "start": 18237, + "end": 18259, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18470, - "end": 18481, + "start": 18237, + "end": 18248, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18470, - "end": 18474, + "start": 18237, + "end": 18241, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18475, - "end": 18481, + "start": 18242, + "end": 18248, "loc": { "start": { - "line": 532, + "line": 528, "column": 17 }, "end": { - "line": 532, + "line": 528, "column": 23 }, "identifierName": "player" @@ -31597,15 +31066,15 @@ }, "property": { "type": "Identifier", - "start": 18482, - "end": 18492, + "start": 18249, + "end": 18259, "loc": { "start": { - "line": 532, + "line": 528, "column": 24 }, "end": { - "line": 532, + "line": 528, "column": 34 }, "identifierName": "controlBar" @@ -31616,15 +31085,15 @@ }, "property": { "type": "Identifier", - "start": 18493, - "end": 18511, + "start": 18260, + "end": 18278, "loc": { "start": { - "line": 532, + "line": 528, "column": 35 }, "end": { - "line": 532, + "line": 528, "column": 53 }, "identifierName": "currentTimeDisplay" @@ -31635,15 +31104,15 @@ }, "property": { "type": "Identifier", - "start": 18512, - "end": 18521, + "start": 18279, + "end": 18288, "loc": { "start": { - "line": 532, + "line": 528, "column": 54 }, "end": { - "line": 532, + "line": 528, "column": 63 }, "identifierName": "contentEl" @@ -31656,15 +31125,15 @@ }, "property": { "type": "Identifier", - "start": 18524, - "end": 18533, + "start": 18291, + "end": 18300, "loc": { "start": { - "line": 532, + "line": 528, "column": 66 }, "end": { - "line": 532, + "line": 528, "column": 75 }, "identifierName": "lastChild" @@ -31677,59 +31146,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 18535, - "end": 18848, + "start": 18302, + "end": 18615, "loc": { "start": { - "line": 532, + "line": 528, "column": 77 }, "end": { - "line": 538, + "line": 534, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 18549, - "end": 18592, + "start": 18316, + "end": 18359, "loc": { "start": { - "line": 533, + "line": 529, "column": 12 }, "end": { - "line": 533, + "line": 529, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 18553, - "end": 18591, + "start": 18320, + "end": 18358, "loc": { "start": { - "line": 533, + "line": 529, "column": 16 }, "end": { - "line": 533, + "line": 529, "column": 54 } }, "id": { "type": "Identifier", - "start": 18553, - "end": 18557, + "start": 18320, + "end": 18324, "loc": { "start": { - "line": 533, + "line": 529, "column": 16 }, "end": { - "line": 533, + "line": 529, "column": 20 }, "identifierName": "time" @@ -31738,43 +31207,43 @@ }, "init": { "type": "CallExpression", - "start": 18560, - "end": 18591, + "start": 18327, + "end": 18358, "loc": { "start": { - "line": 533, + "line": 529, "column": 23 }, "end": { - "line": 533, + "line": 529, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 18560, - "end": 18568, + "start": 18327, + "end": 18335, "loc": { "start": { - "line": 533, + "line": 529, "column": 23 }, "end": { - "line": 533, + "line": 529, "column": 31 } }, "object": { "type": "Identifier", - "start": 18560, - "end": 18564, + "start": 18327, + "end": 18331, "loc": { "start": { - "line": 533, + "line": 529, "column": 23 }, "end": { - "line": 533, + "line": 529, "column": 27 }, "identifierName": "Math" @@ -31783,15 +31252,15 @@ }, "property": { "type": "Identifier", - "start": 18565, - "end": 18568, + "start": 18332, + "end": 18335, "loc": { "start": { - "line": 533, + "line": 529, "column": 28 }, "end": { - "line": 533, + "line": 529, "column": 31 }, "identifierName": "min" @@ -31803,15 +31272,15 @@ "arguments": [ { "type": "Identifier", - "start": 18569, - "end": 18580, + "start": 18336, + "end": 18347, "loc": { "start": { - "line": 533, + "line": 529, "column": 32 }, "end": { - "line": 533, + "line": 529, "column": 43 }, "identifierName": "currentTime" @@ -31820,15 +31289,15 @@ }, { "type": "Identifier", - "start": 18582, - "end": 18590, + "start": 18349, + "end": 18357, "loc": { "start": { - "line": 533, + "line": 529, "column": 45 }, "end": { - "line": 533, + "line": 529, "column": 53 }, "identifierName": "duration" @@ -31843,115 +31312,115 @@ }, { "type": "ExpressionStatement", - "start": 18606, - "end": 18838, + "start": 18373, + "end": 18605, "loc": { "start": { - "line": 535, + "line": 531, "column": 12 }, "end": { - "line": 537, + "line": 533, "column": 79 } }, "expression": { "type": "AssignmentExpression", - "start": 18606, - "end": 18837, + "start": 18373, + "end": 18604, "loc": { "start": { - "line": 535, + "line": 531, "column": 12 }, "end": { - "line": 537, + "line": 533, "column": 78 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 18606, - "end": 18662, + "start": 18373, + "end": 18429, "loc": { "start": { - "line": 535, + "line": 531, "column": 12 }, "end": { - "line": 535, + "line": 531, "column": 68 } }, "object": { "type": "MemberExpression", - "start": 18606, - "end": 18647, + "start": 18373, + "end": 18414, "loc": { "start": { - "line": 535, + "line": 531, "column": 12 }, "end": { - "line": 535, + "line": 531, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 18606, - "end": 18628, + "start": 18373, + "end": 18395, "loc": { "start": { - "line": 535, + "line": 531, "column": 12 }, "end": { - "line": 535, + "line": 531, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18606, - "end": 18617, + "start": 18373, + "end": 18384, "loc": { "start": { - "line": 535, + "line": 531, "column": 12 }, "end": { - "line": 535, + "line": 531, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18606, - "end": 18610, + "start": 18373, + "end": 18377, "loc": { "start": { - "line": 535, + "line": 531, "column": 12 }, "end": { - "line": 535, + "line": 531, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18611, - "end": 18617, + "start": 18378, + "end": 18384, "loc": { "start": { - "line": 535, + "line": 531, "column": 17 }, "end": { - "line": 535, + "line": 531, "column": 23 }, "identifierName": "player" @@ -31962,15 +31431,15 @@ }, "property": { "type": "Identifier", - "start": 18618, - "end": 18628, + "start": 18385, + "end": 18395, "loc": { "start": { - "line": 535, + "line": 531, "column": 24 }, "end": { - "line": 535, + "line": 531, "column": 34 }, "identifierName": "controlBar" @@ -31981,15 +31450,15 @@ }, "property": { "type": "Identifier", - "start": 18629, - "end": 18647, + "start": 18396, + "end": 18414, "loc": { "start": { - "line": 535, + "line": 531, "column": 35 }, "end": { - "line": 535, + "line": 531, "column": 53 }, "identifierName": "currentTimeDisplay" @@ -32000,15 +31469,15 @@ }, "property": { "type": "Identifier", - "start": 18648, - "end": 18662, + "start": 18415, + "end": 18429, "loc": { "start": { - "line": 535, + "line": 531, "column": 54 }, "end": { - "line": 535, + "line": 531, "column": 68 }, "identifierName": "formattedTime_" @@ -32019,143 +31488,143 @@ }, "right": { "type": "AssignmentExpression", - "start": 18681, - "end": 18837, + "start": 18448, + "end": 18604, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 537, + "line": 533, "column": 78 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 18681, - "end": 18756, + "start": 18448, + "end": 18523, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 536, + "line": 532, "column": 91 } }, "object": { "type": "MemberExpression", - "start": 18681, - "end": 18744, + "start": 18448, + "end": 18511, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 536, + "line": 532, "column": 79 } }, "object": { "type": "CallExpression", - "start": 18681, - "end": 18734, + "start": 18448, + "end": 18501, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 536, + "line": 532, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 18681, - "end": 18732, + "start": 18448, + "end": 18499, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 536, + "line": 532, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 18681, - "end": 18722, + "start": 18448, + "end": 18489, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 536, + "line": 532, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 18681, - "end": 18703, + "start": 18448, + "end": 18470, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 536, + "line": 532, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 18681, - "end": 18692, + "start": 18448, + "end": 18459, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 536, + "line": 532, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 18681, - "end": 18685, + "start": 18448, + "end": 18452, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 536, + "line": 532, "column": 20 } } }, "property": { "type": "Identifier", - "start": 18686, - "end": 18692, + "start": 18453, + "end": 18459, "loc": { "start": { - "line": 536, + "line": 532, "column": 21 }, "end": { - "line": 536, + "line": 532, "column": 27 }, "identifierName": "player" @@ -32166,15 +31635,15 @@ }, "property": { "type": "Identifier", - "start": 18693, - "end": 18703, + "start": 18460, + "end": 18470, "loc": { "start": { - "line": 536, + "line": 532, "column": 28 }, "end": { - "line": 536, + "line": 532, "column": 38 }, "identifierName": "controlBar" @@ -32185,15 +31654,15 @@ }, "property": { "type": "Identifier", - "start": 18704, - "end": 18722, + "start": 18471, + "end": 18489, "loc": { "start": { - "line": 536, + "line": 532, "column": 39 }, "end": { - "line": 536, + "line": 532, "column": 57 }, "identifierName": "currentTimeDisplay" @@ -32204,15 +31673,15 @@ }, "property": { "type": "Identifier", - "start": 18723, - "end": 18732, + "start": 18490, + "end": 18499, "loc": { "start": { - "line": 536, + "line": 532, "column": 58 }, "end": { - "line": 536, + "line": 532, "column": 67 }, "identifierName": "contentEl" @@ -32225,15 +31694,15 @@ }, "property": { "type": "Identifier", - "start": 18735, - "end": 18744, + "start": 18502, + "end": 18511, "loc": { "start": { - "line": 536, + "line": 532, "column": 70 }, "end": { - "line": 536, + "line": 532, "column": 79 }, "identifierName": "lastChild" @@ -32244,15 +31713,15 @@ }, "property": { "type": "Identifier", - "start": 18745, - "end": 18756, + "start": 18512, + "end": 18523, "loc": { "start": { - "line": 536, + "line": 532, "column": 80 }, "end": { - "line": 536, + "line": 532, "column": 91 }, "identifierName": "textContent" @@ -32263,58 +31732,58 @@ }, "right": { "type": "CallExpression", - "start": 18779, - "end": 18837, + "start": 18546, + "end": 18604, "loc": { "start": { - "line": 537, + "line": 533, "column": 20 }, "end": { - "line": 537, + "line": 533, "column": 78 } }, "callee": { "type": "MemberExpression", - "start": 18779, - "end": 18795, + "start": 18546, + "end": 18562, "loc": { "start": { - "line": 537, + "line": 533, "column": 20 }, "end": { - "line": 537, + "line": 533, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 18779, - "end": 18783, + "start": 18546, + "end": 18550, "loc": { "start": { - "line": 537, + "line": 533, "column": 20 }, "end": { - "line": 537, + "line": 533, "column": 24 } } }, "property": { "type": "Identifier", - "start": 18784, - "end": 18795, + "start": 18551, + "end": 18562, "loc": { "start": { - "line": 537, + "line": 533, "column": 25 }, "end": { - "line": 537, + "line": 533, "column": 36 }, "identifierName": "_formatTime" @@ -32326,15 +31795,15 @@ "arguments": [ { "type": "Identifier", - "start": 18796, - "end": 18800, + "start": 18563, + "end": 18567, "loc": { "start": { - "line": 537, + "line": 533, "column": 37 }, "end": { - "line": 537, + "line": 533, "column": 41 }, "identifierName": "time" @@ -32343,15 +31812,15 @@ }, { "type": "Identifier", - "start": 18802, - "end": 18810, + "start": 18569, + "end": 18577, "loc": { "start": { - "line": 537, + "line": 533, "column": 43 }, "end": { - "line": 537, + "line": 533, "column": 51 }, "identifierName": "duration" @@ -32360,44 +31829,44 @@ }, { "type": "MemberExpression", - "start": 18812, - "end": 18836, + "start": 18579, + "end": 18603, "loc": { "start": { - "line": 537, + "line": 533, "column": 53 }, "end": { - "line": 537, + "line": 533, "column": 77 } }, "object": { "type": "ThisExpression", - "start": 18812, - "end": 18816, + "start": 18579, + "end": 18583, "loc": { "start": { - "line": 537, + "line": 533, "column": 53 }, "end": { - "line": 537, + "line": 533, "column": 57 } } }, "property": { "type": "Identifier", - "start": 18817, - "end": 18836, + "start": 18584, + "end": 18603, "loc": { "start": { - "line": 537, + "line": 533, "column": 58 }, "end": { - "line": 537, + "line": 533, "column": 77 }, "identifierName": "displayMilliseconds" @@ -32419,15 +31888,15 @@ { "type": "CommentLine", "value": " update current time display component", - "start": 18291, - "end": 18331, + "start": 18058, + "end": 18098, "loc": { "start": { - "line": 529, + "line": 525, "column": 8 }, "end": { - "line": 529, + "line": 525, "column": 48 } } @@ -32436,86 +31905,86 @@ }, { "type": "IfStatement", - "start": 18858, - "end": 19045, + "start": 18625, + "end": 18812, "loc": { "start": { - "line": 540, + "line": 536, "column": 8 }, "end": { - "line": 543, + "line": 539, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 18862, - "end": 18930, + "start": 18629, + "end": 18697, "loc": { "start": { - "line": 540, + "line": 536, "column": 12 }, "end": { - "line": 540, + "line": 536, "column": 80 } }, "left": { "type": "LogicalExpression", - "start": 18862, - "end": 18905, + "start": 18629, + "end": 18672, "loc": { "start": { - "line": 540, + "line": 536, "column": 12 }, "end": { - "line": 540, + "line": 536, "column": 55 } }, "left": { "type": "MemberExpression", - "start": 18862, - "end": 18884, + "start": 18629, + "end": 18651, "loc": { "start": { - "line": 540, + "line": 536, "column": 12 }, "end": { - "line": 540, + "line": 536, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 18862, - "end": 18866, + "start": 18629, + "end": 18633, "loc": { "start": { - "line": 540, + "line": 536, "column": 12 }, "end": { - "line": 540, + "line": 536, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18867, - "end": 18884, + "start": 18634, + "end": 18651, "loc": { "start": { - "line": 540, + "line": 536, "column": 17 }, "end": { - "line": 540, + "line": 536, "column": 34 }, "identifierName": "textTracksEnabled" @@ -32527,58 +31996,58 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 18888, - "end": 18905, + "start": 18655, + "end": 18672, "loc": { "start": { - "line": 540, + "line": 536, "column": 38 }, "end": { - "line": 540, + "line": 536, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 18888, - "end": 18899, + "start": 18655, + "end": 18666, "loc": { "start": { - "line": 540, + "line": 536, "column": 38 }, "end": { - "line": 540, + "line": 536, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 18888, - "end": 18892, + "start": 18655, + "end": 18659, "loc": { "start": { - "line": 540, + "line": 536, "column": 38 }, "end": { - "line": 540, + "line": 536, "column": 42 } } }, "property": { "type": "Identifier", - "start": 18893, - "end": 18899, + "start": 18660, + "end": 18666, "loc": { "start": { - "line": 540, + "line": 536, "column": 43 }, "end": { - "line": 540, + "line": 536, "column": 49 }, "identifierName": "player" @@ -32589,15 +32058,15 @@ }, "property": { "type": "Identifier", - "start": 18900, - "end": 18905, + "start": 18667, + "end": 18672, "loc": { "start": { - "line": 540, + "line": 536, "column": 50 }, "end": { - "line": 540, + "line": 536, "column": 55 }, "identifierName": "tech_" @@ -32610,72 +32079,72 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 18909, - "end": 18930, + "start": 18676, + "end": 18697, "loc": { "start": { - "line": 540, + "line": 536, "column": 59 }, "end": { - "line": 540, + "line": 536, "column": 80 } }, "object": { "type": "MemberExpression", - "start": 18909, - "end": 18926, + "start": 18676, + "end": 18693, "loc": { "start": { - "line": 540, + "line": 536, "column": 59 }, "end": { - "line": 540, + "line": 536, "column": 76 } }, "object": { "type": "MemberExpression", - "start": 18909, - "end": 18920, + "start": 18676, + "end": 18687, "loc": { "start": { - "line": 540, + "line": 536, "column": 59 }, "end": { - "line": 540, + "line": 536, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 18909, - "end": 18913, + "start": 18676, + "end": 18680, "loc": { "start": { - "line": 540, + "line": 536, "column": 59 }, "end": { - "line": 540, + "line": 536, "column": 63 } } }, "property": { "type": "Identifier", - "start": 18914, - "end": 18920, + "start": 18681, + "end": 18687, "loc": { "start": { - "line": 540, + "line": 536, "column": 64 }, "end": { - "line": 540, + "line": 536, "column": 70 }, "identifierName": "player" @@ -32686,15 +32155,15 @@ }, "property": { "type": "Identifier", - "start": 18921, - "end": 18926, + "start": 18688, + "end": 18693, "loc": { "start": { - "line": 540, + "line": 536, "column": 71 }, "end": { - "line": 540, + "line": 536, "column": 76 }, "identifierName": "tech_" @@ -32705,15 +32174,15 @@ }, "property": { "type": "Identifier", - "start": 18927, - "end": 18930, + "start": 18694, + "end": 18697, "loc": { "start": { - "line": 540, + "line": 536, "column": 77 }, "end": { - "line": 540, + "line": 536, "column": 80 }, "identifierName": "el_" @@ -32725,100 +32194,100 @@ }, "consequent": { "type": "BlockStatement", - "start": 18932, - "end": 19045, + "start": 18699, + "end": 18812, "loc": { "start": { - "line": 540, + "line": 536, "column": 82 }, "end": { - "line": 543, + "line": 539, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 18989, - "end": 19035, + "start": 18756, + "end": 18802, "loc": { "start": { - "line": 542, + "line": 538, "column": 12 }, "end": { - "line": 542, + "line": 538, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 18989, - "end": 19034, + "start": 18756, + "end": 18801, "loc": { "start": { - "line": 542, + "line": 538, "column": 12 }, "end": { - "line": 542, + "line": 538, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 18989, - "end": 19021, + "start": 18756, + "end": 18788, "loc": { "start": { - "line": 542, + "line": 538, "column": 12 }, "end": { - "line": 542, + "line": 538, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 18989, - "end": 19006, + "start": 18756, + "end": 18773, "loc": { "start": { - "line": 542, + "line": 538, "column": 12 }, "end": { - "line": 542, + "line": 538, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 18989, - "end": 19000, + "start": 18756, + "end": 18767, "loc": { "start": { - "line": 542, + "line": 538, "column": 12 }, "end": { - "line": 542, + "line": 538, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18989, - "end": 18993, + "start": 18756, + "end": 18760, "loc": { "start": { - "line": 542, + "line": 538, "column": 12 }, "end": { - "line": 542, + "line": 538, "column": 16 } }, @@ -32826,15 +32295,15 @@ }, "property": { "type": "Identifier", - "start": 18994, - "end": 19000, + "start": 18761, + "end": 18767, "loc": { "start": { - "line": 542, + "line": 538, "column": 17 }, "end": { - "line": 542, + "line": 538, "column": 23 }, "identifierName": "player" @@ -32846,15 +32315,15 @@ }, "property": { "type": "Identifier", - "start": 19001, - "end": 19006, + "start": 18768, + "end": 18773, "loc": { "start": { - "line": 542, + "line": 538, "column": 24 }, "end": { - "line": 542, + "line": 538, "column": 29 }, "identifierName": "tech_" @@ -32866,15 +32335,15 @@ }, "property": { "type": "Identifier", - "start": 19007, - "end": 19021, + "start": 18774, + "end": 18788, "loc": { "start": { - "line": 542, + "line": 538, "column": 30 }, "end": { - "line": 542, + "line": 538, "column": 44 }, "identifierName": "setCurrentTime" @@ -32887,15 +32356,15 @@ "arguments": [ { "type": "Identifier", - "start": 19022, - "end": 19033, + "start": 18789, + "end": 18800, "loc": { "start": { - "line": 542, + "line": 538, "column": 45 }, "end": { - "line": 542, + "line": 538, "column": 56 }, "identifierName": "currentTime" @@ -32909,15 +32378,15 @@ { "type": "CommentLine", "value": " only needed for text tracks", - "start": 18946, - "end": 18976, + "start": 18713, + "end": 18743, "loc": { "start": { - "line": 541, + "line": 537, "column": 12 }, "end": { - "line": 541, + "line": 537, "column": 42 } } @@ -32937,15 +32406,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": 17648, - "end": 17919, + "start": 17415, + "end": 17686, "loc": { "start": { - "line": 509, + "line": 505, "column": 4 }, "end": { - "line": 516, + "line": 512, "column": 7 } } @@ -32955,15 +32424,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": 19057, - "end": 19230, + "start": 18824, + "end": 18997, "loc": { "start": { - "line": 546, + "line": 542, "column": 4 }, "end": { - "line": 552, + "line": 548, "column": 7 } } @@ -32972,15 +32441,15 @@ }, { "type": "ClassMethod", - "start": 19235, - "end": 19383, + "start": 19002, + "end": 19150, "loc": { "start": { - "line": 553, + "line": 549, "column": 4 }, "end": { - "line": 558, + "line": 554, "column": 5 } }, @@ -32988,15 +32457,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 19235, - "end": 19246, + "start": 19002, + "end": 19013, "loc": { "start": { - "line": 553, + "line": 549, "column": 4 }, "end": { - "line": 553, + "line": 549, "column": 15 }, "identifierName": "getDuration" @@ -33012,59 +32481,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 19249, - "end": 19383, + "start": 19016, + "end": 19150, "loc": { "start": { - "line": 553, + "line": 549, "column": 18 }, "end": { - "line": 558, + "line": 554, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 19259, - "end": 19300, + "start": 19026, + "end": 19067, "loc": { "start": { - "line": 554, + "line": 550, "column": 8 }, "end": { - "line": 554, + "line": 550, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 19263, - "end": 19299, + "start": 19030, + "end": 19066, "loc": { "start": { - "line": 554, + "line": 550, "column": 12 }, "end": { - "line": 554, + "line": 550, "column": 48 } }, "id": { "type": "Identifier", - "start": 19263, - "end": 19271, + "start": 19030, + "end": 19038, "loc": { "start": { - "line": 554, + "line": 550, "column": 12 }, "end": { - "line": 554, + "line": 550, "column": 20 }, "identifierName": "duration" @@ -33073,72 +32542,72 @@ }, "init": { "type": "CallExpression", - "start": 19274, - "end": 19299, + "start": 19041, + "end": 19066, "loc": { "start": { - "line": 554, + "line": 550, "column": 23 }, "end": { - "line": 554, + "line": 550, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 19274, - "end": 19297, + "start": 19041, + "end": 19064, "loc": { "start": { - "line": 554, + "line": 550, "column": 23 }, "end": { - "line": 554, + "line": 550, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 19274, - "end": 19285, + "start": 19041, + "end": 19052, "loc": { "start": { - "line": 554, + "line": 550, "column": 23 }, "end": { - "line": 554, + "line": 550, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 19274, - "end": 19278, + "start": 19041, + "end": 19045, "loc": { "start": { - "line": 554, + "line": 550, "column": 23 }, "end": { - "line": 554, + "line": 550, "column": 27 } } }, "property": { "type": "Identifier", - "start": 19279, - "end": 19285, + "start": 19046, + "end": 19052, "loc": { "start": { - "line": 554, + "line": 550, "column": 28 }, "end": { - "line": 554, + "line": 550, "column": 34 }, "identifierName": "surfer" @@ -33149,15 +32618,15 @@ }, "property": { "type": "Identifier", - "start": 19286, - "end": 19297, + "start": 19053, + "end": 19064, "loc": { "start": { - "line": 554, + "line": 550, "column": 35 }, "end": { - "line": 554, + "line": 550, "column": 46 }, "identifierName": "getDuration" @@ -33174,44 +32643,44 @@ }, { "type": "ExpressionStatement", - "start": 19309, - "end": 19351, + "start": 19076, + "end": 19118, "loc": { "start": { - "line": 555, + "line": 551, "column": 8 }, "end": { - "line": 555, + "line": 551, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 19309, - "end": 19350, + "start": 19076, + "end": 19117, "loc": { "start": { - "line": 555, + "line": 551, "column": 8 }, "end": { - "line": 555, + "line": 551, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 19309, - "end": 19317, + "start": 19076, + "end": 19084, "loc": { "start": { - "line": 555, + "line": 551, "column": 8 }, "end": { - "line": 555, + "line": 551, "column": 16 }, "identifierName": "duration" @@ -33220,43 +32689,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 19320, - "end": 19350, + "start": 19087, + "end": 19117, "loc": { "start": { - "line": 555, + "line": 551, "column": 19 }, "end": { - "line": 555, + "line": 551, "column": 49 } }, "test": { "type": "CallExpression", - "start": 19320, - "end": 19335, + "start": 19087, + "end": 19102, "loc": { "start": { - "line": 555, + "line": 551, "column": 19 }, "end": { - "line": 555, + "line": 551, "column": 34 } }, "callee": { "type": "Identifier", - "start": 19320, - "end": 19325, + "start": 19087, + "end": 19092, "loc": { "start": { - "line": 555, + "line": 551, "column": 19 }, "end": { - "line": 555, + "line": 551, "column": 24 }, "identifierName": "isNaN" @@ -33266,15 +32735,15 @@ "arguments": [ { "type": "Identifier", - "start": 19326, - "end": 19334, + "start": 19093, + "end": 19101, "loc": { "start": { - "line": 555, + "line": 551, "column": 25 }, "end": { - "line": 555, + "line": 551, "column": 33 }, "identifierName": "duration" @@ -33285,15 +32754,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 19338, - "end": 19339, + "start": 19105, + "end": 19106, "loc": { "start": { - "line": 555, + "line": 551, "column": 37 }, "end": { - "line": 555, + "line": 551, "column": 38 } }, @@ -33305,15 +32774,15 @@ }, "alternate": { "type": "Identifier", - "start": 19342, - "end": 19350, + "start": 19109, + "end": 19117, "loc": { "start": { - "line": 555, + "line": 551, "column": 41 }, "end": { - "line": 555, + "line": 551, "column": 49 }, "identifierName": "duration" @@ -33325,29 +32794,29 @@ }, { "type": "ReturnStatement", - "start": 19361, - "end": 19377, + "start": 19128, + "end": 19144, "loc": { "start": { - "line": 557, + "line": 553, "column": 8 }, "end": { - "line": 557, + "line": 553, "column": 24 } }, "argument": { "type": "Identifier", - "start": 19368, - "end": 19376, + "start": 19135, + "end": 19143, "loc": { "start": { - "line": 557, + "line": 553, "column": 15 }, "end": { - "line": 557, + "line": 553, "column": 23 }, "identifierName": "duration" @@ -33363,15 +32832,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": 19057, - "end": 19230, + "start": 18824, + "end": 18997, "loc": { "start": { - "line": 546, + "line": 542, "column": 4 }, "end": { - "line": 552, + "line": 548, "column": 7 } } @@ -33381,15 +32850,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": 19389, - "end": 19564, + "start": 19156, + "end": 19331, "loc": { "start": { - "line": 560, + "line": 556, "column": 4 }, "end": { - "line": 565, + "line": 561, "column": 7 } } @@ -33398,15 +32867,15 @@ }, { "type": "ClassMethod", - "start": 19569, - "end": 20242, + "start": 19336, + "end": 20009, "loc": { "start": { - "line": 566, + "line": 562, "column": 4 }, "end": { - "line": 580, + "line": 576, "column": 5 } }, @@ -33414,15 +32883,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 19569, - "end": 19580, + "start": 19336, + "end": 19347, "loc": { "start": { - "line": 566, + "line": 562, "column": 4 }, "end": { - "line": 566, + "line": 562, "column": 15 }, "identifierName": "setDuration" @@ -33438,15 +32907,15 @@ "params": [ { "type": "Identifier", - "start": 19581, - "end": 19589, + "start": 19348, + "end": 19356, "loc": { "start": { - "line": 566, + "line": 562, "column": 16 }, "end": { - "line": 566, + "line": 562, "column": 24 }, "identifierName": "duration" @@ -33456,58 +32925,58 @@ ], "body": { "type": "BlockStatement", - "start": 19591, - "end": 20242, + "start": 19358, + "end": 20009, "loc": { "start": { - "line": 566, + "line": 562, "column": 26 }, "end": { - "line": 580, + "line": 576, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 19601, - "end": 19690, + "start": 19368, + "end": 19457, "loc": { "start": { - "line": 567, + "line": 563, "column": 8 }, "end": { - "line": 569, + "line": 565, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 19605, - "end": 19627, + "start": 19372, + "end": 19394, "loc": { "start": { - "line": 567, + "line": 563, "column": 12 }, "end": { - "line": 567, + "line": 563, "column": 34 } }, "left": { "type": "Identifier", - "start": 19605, - "end": 19613, + "start": 19372, + "end": 19380, "loc": { "start": { - "line": 567, + "line": 563, "column": 12 }, "end": { - "line": 567, + "line": 563, "column": 20 }, "identifierName": "duration" @@ -33517,15 +32986,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 19618, - "end": 19627, + "start": 19385, + "end": 19394, "loc": { "start": { - "line": 567, + "line": 563, "column": 25 }, "end": { - "line": 567, + "line": 563, "column": 34 }, "identifierName": "undefined" @@ -33535,59 +33004,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 19629, - "end": 19690, + "start": 19396, + "end": 19457, "loc": { "start": { - "line": 567, + "line": 563, "column": 36 }, "end": { - "line": 569, + "line": 565, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 19643, - "end": 19680, + "start": 19410, + "end": 19447, "loc": { "start": { - "line": 568, + "line": 564, "column": 12 }, "end": { - "line": 568, + "line": 564, "column": 49 } }, "expression": { "type": "AssignmentExpression", - "start": 19643, - "end": 19679, + "start": 19410, + "end": 19446, "loc": { "start": { - "line": 568, + "line": 564, "column": 12 }, "end": { - "line": 568, + "line": 564, "column": 48 } }, "operator": "=", "left": { "type": "Identifier", - "start": 19643, - "end": 19651, + "start": 19410, + "end": 19418, "loc": { "start": { - "line": 568, + "line": 564, "column": 12 }, "end": { - "line": 568, + "line": 564, "column": 20 }, "identifierName": "duration" @@ -33596,72 +33065,72 @@ }, "right": { "type": "CallExpression", - "start": 19654, - "end": 19679, + "start": 19421, + "end": 19446, "loc": { "start": { - "line": 568, + "line": 564, "column": 23 }, "end": { - "line": 568, + "line": 564, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 19654, - "end": 19677, + "start": 19421, + "end": 19444, "loc": { "start": { - "line": 568, + "line": 564, "column": 23 }, "end": { - "line": 568, + "line": 564, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 19654, - "end": 19665, + "start": 19421, + "end": 19432, "loc": { "start": { - "line": 568, + "line": 564, "column": 23 }, "end": { - "line": 568, + "line": 564, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 19654, - "end": 19658, + "start": 19421, + "end": 19425, "loc": { "start": { - "line": 568, + "line": 564, "column": 23 }, "end": { - "line": 568, + "line": 564, "column": 27 } } }, "property": { "type": "Identifier", - "start": 19659, - "end": 19665, + "start": 19426, + "end": 19432, "loc": { "start": { - "line": 568, + "line": 564, "column": 28 }, "end": { - "line": 568, + "line": 564, "column": 34 }, "identifierName": "surfer" @@ -33672,15 +33141,15 @@ }, "property": { "type": "Identifier", - "start": 19666, - "end": 19677, + "start": 19433, + "end": 19444, "loc": { "start": { - "line": 568, + "line": 564, "column": 35 }, "end": { - "line": 568, + "line": 564, "column": 46 }, "identifierName": "getDuration" @@ -33700,44 +33169,44 @@ }, { "type": "ExpressionStatement", - "start": 19699, - "end": 19741, + "start": 19466, + "end": 19508, "loc": { "start": { - "line": 570, + "line": 566, "column": 8 }, "end": { - "line": 570, + "line": 566, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 19699, - "end": 19740, + "start": 19466, + "end": 19507, "loc": { "start": { - "line": 570, + "line": 566, "column": 8 }, "end": { - "line": 570, + "line": 566, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 19699, - "end": 19707, + "start": 19466, + "end": 19474, "loc": { "start": { - "line": 570, + "line": 566, "column": 8 }, "end": { - "line": 570, + "line": 566, "column": 16 }, "identifierName": "duration" @@ -33746,43 +33215,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 19710, - "end": 19740, + "start": 19477, + "end": 19507, "loc": { "start": { - "line": 570, + "line": 566, "column": 19 }, "end": { - "line": 570, + "line": 566, "column": 49 } }, "test": { "type": "CallExpression", - "start": 19710, - "end": 19725, + "start": 19477, + "end": 19492, "loc": { "start": { - "line": 570, + "line": 566, "column": 19 }, "end": { - "line": 570, + "line": 566, "column": 34 } }, "callee": { "type": "Identifier", - "start": 19710, - "end": 19715, + "start": 19477, + "end": 19482, "loc": { "start": { - "line": 570, + "line": 566, "column": 19 }, "end": { - "line": 570, + "line": 566, "column": 24 }, "identifierName": "isNaN" @@ -33792,15 +33261,15 @@ "arguments": [ { "type": "Identifier", - "start": 19716, - "end": 19724, + "start": 19483, + "end": 19491, "loc": { "start": { - "line": 570, + "line": 566, "column": 25 }, "end": { - "line": 570, + "line": 566, "column": 33 }, "identifierName": "duration" @@ -33811,15 +33280,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 19728, - "end": 19729, + "start": 19495, + "end": 19496, "loc": { "start": { - "line": 570, + "line": 566, "column": 37 }, "end": { - "line": 570, + "line": 566, "column": 38 } }, @@ -33831,15 +33300,15 @@ }, "alternate": { "type": "Identifier", - "start": 19732, - "end": 19740, + "start": 19499, + "end": 19507, "loc": { "start": { - "line": 570, + "line": 566, "column": 41 }, "end": { - "line": 570, + "line": 566, "column": 49 }, "identifierName": "duration" @@ -33852,15 +33321,15 @@ { "type": "CommentLine", "value": " update duration display component", - "start": 19751, - "end": 19787, + "start": 19518, + "end": 19554, "loc": { "start": { - "line": 572, + "line": 568, "column": 8 }, "end": { - "line": 572, + "line": 568, "column": 44 } } @@ -33869,99 +33338,99 @@ }, { "type": "IfStatement", - "start": 19796, - "end": 20236, + "start": 19563, + "end": 20003, "loc": { "start": { - "line": 573, + "line": 569, "column": 8 }, "end": { - "line": 579, + "line": 575, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 19800, - "end": 19980, + "start": 19567, + "end": 19747, "loc": { "start": { - "line": 573, + "line": 569, "column": 12 }, "end": { - "line": 575, + "line": 571, "column": 72 } }, "left": { "type": "LogicalExpression", - "start": 19800, - "end": 19904, + "start": 19567, + "end": 19671, "loc": { "start": { - "line": 573, + "line": 569, "column": 12 }, "end": { - "line": 574, + "line": 570, "column": 62 } }, "left": { "type": "MemberExpression", - "start": 19800, - "end": 19838, + "start": 19567, + "end": 19605, "loc": { "start": { - "line": 573, + "line": 569, "column": 12 }, "end": { - "line": 573, + "line": 569, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19800, - "end": 19822, + "start": 19567, + "end": 19589, "loc": { "start": { - "line": 573, + "line": 569, "column": 12 }, "end": { - "line": 573, + "line": 569, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19800, - "end": 19811, + "start": 19567, + "end": 19578, "loc": { "start": { - "line": 573, + "line": 569, "column": 12 }, "end": { - "line": 573, + "line": 569, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19800, - "end": 19804, + "start": 19567, + "end": 19571, "loc": { "start": { - "line": 573, + "line": 569, "column": 12 }, "end": { - "line": 573, + "line": 569, "column": 16 } }, @@ -33969,15 +33438,15 @@ }, "property": { "type": "Identifier", - "start": 19805, - "end": 19811, + "start": 19572, + "end": 19578, "loc": { "start": { - "line": 573, + "line": 569, "column": 17 }, "end": { - "line": 573, + "line": 569, "column": 23 }, "identifierName": "player" @@ -33989,15 +33458,15 @@ }, "property": { "type": "Identifier", - "start": 19812, - "end": 19822, + "start": 19579, + "end": 19589, "loc": { "start": { - "line": 573, + "line": 569, "column": 24 }, "end": { - "line": 573, + "line": 569, "column": 34 }, "identifierName": "controlBar" @@ -34009,15 +33478,15 @@ }, "property": { "type": "Identifier", - "start": 19823, - "end": 19838, + "start": 19590, + "end": 19605, "loc": { "start": { - "line": 573, + "line": 569, "column": 35 }, "end": { - "line": 573, + "line": 569, "column": 50 }, "identifierName": "durationDisplay" @@ -34030,100 +33499,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 19854, - "end": 19904, + "start": 19621, + "end": 19671, "loc": { "start": { - "line": 574, + "line": 570, "column": 12 }, "end": { - "line": 574, + "line": 570, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 19854, - "end": 19902, + "start": 19621, + "end": 19669, "loc": { "start": { - "line": 574, + "line": 570, "column": 12 }, "end": { - "line": 574, + "line": 570, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 19854, - "end": 19892, + "start": 19621, + "end": 19659, "loc": { "start": { - "line": 574, + "line": 570, "column": 12 }, "end": { - "line": 574, + "line": 570, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19854, - "end": 19876, + "start": 19621, + "end": 19643, "loc": { "start": { - "line": 574, + "line": 570, "column": 12 }, "end": { - "line": 574, + "line": 570, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19854, - "end": 19865, + "start": 19621, + "end": 19632, "loc": { "start": { - "line": 574, + "line": 570, "column": 12 }, "end": { - "line": 574, + "line": 570, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19854, - "end": 19858, + "start": 19621, + "end": 19625, "loc": { "start": { - "line": 574, + "line": 570, "column": 12 }, "end": { - "line": 574, + "line": 570, "column": 16 } } }, "property": { "type": "Identifier", - "start": 19859, - "end": 19865, + "start": 19626, + "end": 19632, "loc": { "start": { - "line": 574, + "line": 570, "column": 17 }, "end": { - "line": 574, + "line": 570, "column": 23 }, "identifierName": "player" @@ -34134,15 +33603,15 @@ }, "property": { "type": "Identifier", - "start": 19866, - "end": 19876, + "start": 19633, + "end": 19643, "loc": { "start": { - "line": 574, + "line": 570, "column": 24 }, "end": { - "line": 574, + "line": 570, "column": 34 }, "identifierName": "controlBar" @@ -34153,15 +33622,15 @@ }, "property": { "type": "Identifier", - "start": 19877, - "end": 19892, + "start": 19644, + "end": 19659, "loc": { "start": { - "line": 574, + "line": 570, "column": 35 }, "end": { - "line": 574, + "line": 570, "column": 50 }, "identifierName": "durationDisplay" @@ -34172,15 +33641,15 @@ }, "property": { "type": "Identifier", - "start": 19893, - "end": 19902, + "start": 19660, + "end": 19669, "loc": { "start": { - "line": 574, + "line": 570, "column": 51 }, "end": { - "line": 574, + "line": 570, "column": 60 }, "identifierName": "contentEl" @@ -34196,114 +33665,114 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 19920, - "end": 19980, + "start": 19687, + "end": 19747, "loc": { "start": { - "line": 575, + "line": 571, "column": 12 }, "end": { - "line": 575, + "line": 571, "column": 72 } }, "object": { "type": "CallExpression", - "start": 19920, - "end": 19970, + "start": 19687, + "end": 19737, "loc": { "start": { - "line": 575, + "line": 571, "column": 12 }, "end": { - "line": 575, + "line": 571, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 19920, - "end": 19968, + "start": 19687, + "end": 19735, "loc": { "start": { - "line": 575, + "line": 571, "column": 12 }, "end": { - "line": 575, + "line": 571, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 19920, - "end": 19958, + "start": 19687, + "end": 19725, "loc": { "start": { - "line": 575, + "line": 571, "column": 12 }, "end": { - "line": 575, + "line": 571, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19920, - "end": 19942, + "start": 19687, + "end": 19709, "loc": { "start": { - "line": 575, + "line": 571, "column": 12 }, "end": { - "line": 575, + "line": 571, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19920, - "end": 19931, + "start": 19687, + "end": 19698, "loc": { "start": { - "line": 575, + "line": 571, "column": 12 }, "end": { - "line": 575, + "line": 571, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19920, - "end": 19924, + "start": 19687, + "end": 19691, "loc": { "start": { - "line": 575, + "line": 571, "column": 12 }, "end": { - "line": 575, + "line": 571, "column": 16 } } }, "property": { "type": "Identifier", - "start": 19925, - "end": 19931, + "start": 19692, + "end": 19698, "loc": { "start": { - "line": 575, + "line": 571, "column": 17 }, "end": { - "line": 575, + "line": 571, "column": 23 }, "identifierName": "player" @@ -34314,15 +33783,15 @@ }, "property": { "type": "Identifier", - "start": 19932, - "end": 19942, + "start": 19699, + "end": 19709, "loc": { "start": { - "line": 575, + "line": 571, "column": 24 }, "end": { - "line": 575, + "line": 571, "column": 34 }, "identifierName": "controlBar" @@ -34333,15 +33802,15 @@ }, "property": { "type": "Identifier", - "start": 19943, - "end": 19958, + "start": 19710, + "end": 19725, "loc": { "start": { - "line": 575, + "line": 571, "column": 35 }, "end": { - "line": 575, + "line": 571, "column": 50 }, "identifierName": "durationDisplay" @@ -34352,15 +33821,15 @@ }, "property": { "type": "Identifier", - "start": 19959, - "end": 19968, + "start": 19726, + "end": 19735, "loc": { "start": { - "line": 575, + "line": 571, "column": 51 }, "end": { - "line": 575, + "line": 571, "column": 60 }, "identifierName": "contentEl" @@ -34373,15 +33842,15 @@ }, "property": { "type": "Identifier", - "start": 19971, - "end": 19980, + "start": 19738, + "end": 19747, "loc": { "start": { - "line": 575, + "line": 571, "column": 63 }, "end": { - "line": 575, + "line": 571, "column": 72 }, "identifierName": "lastChild" @@ -34394,130 +33863,130 @@ }, "consequent": { "type": "BlockStatement", - "start": 19982, - "end": 20236, + "start": 19749, + "end": 20003, "loc": { "start": { - "line": 575, + "line": 571, "column": 74 }, "end": { - "line": 579, + "line": 575, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 19996, - "end": 20226, + "start": 19763, + "end": 19993, "loc": { "start": { - "line": 576, + "line": 572, "column": 12 }, "end": { - "line": 578, + "line": 574, "column": 83 } }, "expression": { "type": "AssignmentExpression", - "start": 19996, - "end": 20225, + "start": 19763, + "end": 19992, "loc": { "start": { - "line": 576, + "line": 572, "column": 12 }, "end": { - "line": 578, + "line": 574, "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19996, - "end": 20049, + "start": 19763, + "end": 19816, "loc": { "start": { - "line": 576, + "line": 572, "column": 12 }, "end": { - "line": 576, + "line": 572, "column": 65 } }, "object": { "type": "MemberExpression", - "start": 19996, - "end": 20034, + "start": 19763, + "end": 19801, "loc": { "start": { - "line": 576, + "line": 572, "column": 12 }, "end": { - "line": 576, + "line": 572, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19996, - "end": 20018, + "start": 19763, + "end": 19785, "loc": { "start": { - "line": 576, + "line": 572, "column": 12 }, "end": { - "line": 576, + "line": 572, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19996, - "end": 20007, + "start": 19763, + "end": 19774, "loc": { "start": { - "line": 576, + "line": 572, "column": 12 }, "end": { - "line": 576, + "line": 572, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19996, - "end": 20000, + "start": 19763, + "end": 19767, "loc": { "start": { - "line": 576, + "line": 572, "column": 12 }, "end": { - "line": 576, + "line": 572, "column": 16 } } }, "property": { "type": "Identifier", - "start": 20001, - "end": 20007, + "start": 19768, + "end": 19774, "loc": { "start": { - "line": 576, + "line": 572, "column": 17 }, "end": { - "line": 576, + "line": 572, "column": 23 }, "identifierName": "player" @@ -34528,15 +33997,15 @@ }, "property": { "type": "Identifier", - "start": 20008, - "end": 20018, + "start": 19775, + "end": 19785, "loc": { "start": { - "line": 576, + "line": 572, "column": 24 }, "end": { - "line": 576, + "line": 572, "column": 34 }, "identifierName": "controlBar" @@ -34547,15 +34016,15 @@ }, "property": { "type": "Identifier", - "start": 20019, - "end": 20034, + "start": 19786, + "end": 19801, "loc": { "start": { - "line": 576, + "line": 572, "column": 35 }, "end": { - "line": 576, + "line": 572, "column": 50 }, "identifierName": "durationDisplay" @@ -34566,15 +34035,15 @@ }, "property": { "type": "Identifier", - "start": 20035, - "end": 20049, + "start": 19802, + "end": 19816, "loc": { "start": { - "line": 576, + "line": 572, "column": 51 }, "end": { - "line": 576, + "line": 572, "column": 65 }, "identifierName": "formattedTime_" @@ -34585,143 +34054,143 @@ }, "right": { "type": "AssignmentExpression", - "start": 20068, - "end": 20225, + "start": 19835, + "end": 19992, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 578, + "line": 574, "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 20068, - "end": 20140, + "start": 19835, + "end": 19907, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 577, + "line": 573, "column": 88 } }, "object": { "type": "MemberExpression", - "start": 20068, - "end": 20128, + "start": 19835, + "end": 19895, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 577, + "line": 573, "column": 76 } }, "object": { "type": "CallExpression", - "start": 20068, - "end": 20118, + "start": 19835, + "end": 19885, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 577, + "line": 573, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 20068, - "end": 20116, + "start": 19835, + "end": 19883, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 577, + "line": 573, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 20068, - "end": 20106, + "start": 19835, + "end": 19873, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 577, + "line": 573, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 20068, - "end": 20090, + "start": 19835, + "end": 19857, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 577, + "line": 573, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20068, - "end": 20079, + "start": 19835, + "end": 19846, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 577, + "line": 573, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20068, - "end": 20072, + "start": 19835, + "end": 19839, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 577, + "line": 573, "column": 20 } } }, "property": { "type": "Identifier", - "start": 20073, - "end": 20079, + "start": 19840, + "end": 19846, "loc": { "start": { - "line": 577, + "line": 573, "column": 21 }, "end": { - "line": 577, + "line": 573, "column": 27 }, "identifierName": "player" @@ -34732,15 +34201,15 @@ }, "property": { "type": "Identifier", - "start": 20080, - "end": 20090, + "start": 19847, + "end": 19857, "loc": { "start": { - "line": 577, + "line": 573, "column": 28 }, "end": { - "line": 577, + "line": 573, "column": 38 }, "identifierName": "controlBar" @@ -34751,15 +34220,15 @@ }, "property": { "type": "Identifier", - "start": 20091, - "end": 20106, + "start": 19858, + "end": 19873, "loc": { "start": { - "line": 577, + "line": 573, "column": 39 }, "end": { - "line": 577, + "line": 573, "column": 54 }, "identifierName": "durationDisplay" @@ -34770,15 +34239,15 @@ }, "property": { "type": "Identifier", - "start": 20107, - "end": 20116, + "start": 19874, + "end": 19883, "loc": { "start": { - "line": 577, + "line": 573, "column": 55 }, "end": { - "line": 577, + "line": 573, "column": 64 }, "identifierName": "contentEl" @@ -34791,15 +34260,15 @@ }, "property": { "type": "Identifier", - "start": 20119, - "end": 20128, + "start": 19886, + "end": 19895, "loc": { "start": { - "line": 577, + "line": 573, "column": 67 }, "end": { - "line": 577, + "line": 573, "column": 76 }, "identifierName": "lastChild" @@ -34810,15 +34279,15 @@ }, "property": { "type": "Identifier", - "start": 20129, - "end": 20140, + "start": 19896, + "end": 19907, "loc": { "start": { - "line": 577, + "line": 573, "column": 77 }, "end": { - "line": 577, + "line": 573, "column": 88 }, "identifierName": "textContent" @@ -34829,58 +34298,58 @@ }, "right": { "type": "CallExpression", - "start": 20163, - "end": 20225, + "start": 19930, + "end": 19992, "loc": { "start": { - "line": 578, + "line": 574, "column": 20 }, "end": { - "line": 578, + "line": 574, "column": 82 } }, "callee": { "type": "MemberExpression", - "start": 20163, - "end": 20179, + "start": 19930, + "end": 19946, "loc": { "start": { - "line": 578, + "line": 574, "column": 20 }, "end": { - "line": 578, + "line": 574, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 20163, - "end": 20167, + "start": 19930, + "end": 19934, "loc": { "start": { - "line": 578, + "line": 574, "column": 20 }, "end": { - "line": 578, + "line": 574, "column": 24 } } }, "property": { "type": "Identifier", - "start": 20168, - "end": 20179, + "start": 19935, + "end": 19946, "loc": { "start": { - "line": 578, + "line": 574, "column": 25 }, "end": { - "line": 578, + "line": 574, "column": 36 }, "identifierName": "_formatTime" @@ -34892,15 +34361,15 @@ "arguments": [ { "type": "Identifier", - "start": 20180, - "end": 20188, + "start": 19947, + "end": 19955, "loc": { "start": { - "line": 578, + "line": 574, "column": 37 }, "end": { - "line": 578, + "line": 574, "column": 45 }, "identifierName": "duration" @@ -34909,15 +34378,15 @@ }, { "type": "Identifier", - "start": 20190, - "end": 20198, + "start": 19957, + "end": 19965, "loc": { "start": { - "line": 578, + "line": 574, "column": 47 }, "end": { - "line": 578, + "line": 574, "column": 55 }, "identifierName": "duration" @@ -34926,44 +34395,44 @@ }, { "type": "MemberExpression", - "start": 20200, - "end": 20224, + "start": 19967, + "end": 19991, "loc": { "start": { - "line": 578, + "line": 574, "column": 57 }, "end": { - "line": 578, + "line": 574, "column": 81 } }, "object": { "type": "ThisExpression", - "start": 20200, - "end": 20204, + "start": 19967, + "end": 19971, "loc": { "start": { - "line": 578, + "line": 574, "column": 57 }, "end": { - "line": 578, + "line": 574, "column": 61 } } }, "property": { "type": "Identifier", - "start": 20205, - "end": 20224, + "start": 19972, + "end": 19991, "loc": { "start": { - "line": 578, + "line": 574, "column": 62 }, "end": { - "line": 578, + "line": 574, "column": 81 }, "identifierName": "displayMilliseconds" @@ -34985,15 +34454,15 @@ { "type": "CommentLine", "value": " update duration display component", - "start": 19751, - "end": 19787, + "start": 19518, + "end": 19554, "loc": { "start": { - "line": 572, + "line": 568, "column": 8 }, "end": { - "line": 572, + "line": 568, "column": 44 } } @@ -35008,15 +34477,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": 19389, - "end": 19564, + "start": 19156, + "end": 19331, "loc": { "start": { - "line": 560, + "line": 556, "column": 4 }, "end": { - "line": 565, + "line": 561, "column": 7 } } @@ -35026,15 +34495,15 @@ { "type": "CommentBlock", "value": "*\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n ", - "start": 20248, - "end": 20365, + "start": 20015, + "end": 20132, "loc": { "start": { - "line": 582, + "line": 578, "column": 4 }, "end": { - "line": 587, + "line": 583, "column": 7 } } @@ -35043,15 +34512,15 @@ }, { "type": "ClassMethod", - "start": 20370, - "end": 21570, + "start": 20137, + "end": 21337, "loc": { "start": { - "line": 588, + "line": 584, "column": 4 }, "end": { - "line": 627, + "line": 623, "column": 5 } }, @@ -35059,15 +34528,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 20370, - "end": 20381, + "start": 20137, + "end": 20148, "loc": { "start": { - "line": 588, + "line": 584, "column": 4 }, "end": { - "line": 588, + "line": 584, "column": 15 }, "identifierName": "onWaveReady" @@ -35083,88 +34552,88 @@ "params": [], "body": { "type": "BlockStatement", - "start": 20384, - "end": 21570, + "start": 20151, + "end": 21337, "loc": { "start": { - "line": 588, + "line": 584, "column": 18 }, "end": { - "line": 627, + "line": 623, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 20394, - "end": 20416, + "start": 20161, + "end": 20183, "loc": { "start": { - "line": 589, + "line": 585, "column": 8 }, "end": { - "line": 589, + "line": 585, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 20394, - "end": 20415, + "start": 20161, + "end": 20182, "loc": { "start": { - "line": 589, + "line": 585, "column": 8 }, "end": { - "line": 589, + "line": 585, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 20394, - "end": 20408, + "start": 20161, + "end": 20175, "loc": { "start": { - "line": 589, + "line": 585, "column": 8 }, "end": { - "line": 589, + "line": 585, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 20394, - "end": 20398, + "start": 20161, + "end": 20165, "loc": { "start": { - "line": 589, + "line": 585, "column": 8 }, "end": { - "line": 589, + "line": 585, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20399, - "end": 20408, + "start": 20166, + "end": 20175, "loc": { "start": { - "line": 589, + "line": 585, "column": 13 }, "end": { - "line": 589, + "line": 585, "column": 22 }, "identifierName": "waveReady" @@ -35175,15 +34644,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 20411, - "end": 20415, + "start": 20178, + "end": 20182, "loc": { "start": { - "line": 589, + "line": 585, "column": 25 }, "end": { - "line": 589, + "line": 585, "column": 29 } }, @@ -35193,73 +34662,73 @@ }, { "type": "ExpressionStatement", - "start": 20425, - "end": 20451, + "start": 20192, + "end": 20218, "loc": { "start": { - "line": 590, + "line": 586, "column": 8 }, "end": { - "line": 590, + "line": 586, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 20425, - "end": 20450, + "start": 20192, + "end": 20217, "loc": { "start": { - "line": 590, + "line": 586, "column": 8 }, "end": { - "line": 590, + "line": 586, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 20425, - "end": 20442, + "start": 20192, + "end": 20209, "loc": { "start": { - "line": 590, + "line": 586, "column": 8 }, "end": { - "line": 590, + "line": 586, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 20425, - "end": 20429, + "start": 20192, + "end": 20196, "loc": { "start": { - "line": 590, + "line": 586, "column": 8 }, "end": { - "line": 590, + "line": 586, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20430, - "end": 20442, + "start": 20197, + "end": 20209, "loc": { "start": { - "line": 590, + "line": 586, "column": 13 }, "end": { - "line": 590, + "line": 586, "column": 25 }, "identifierName": "waveFinished" @@ -35270,15 +34739,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 20445, - "end": 20450, + "start": 20212, + "end": 20217, "loc": { "start": { - "line": 590, + "line": 586, "column": 28 }, "end": { - "line": 590, + "line": 586, "column": 33 } }, @@ -35288,73 +34757,73 @@ }, { "type": "ExpressionStatement", - "start": 20460, - "end": 20482, + "start": 20227, + "end": 20249, "loc": { "start": { - "line": 591, + "line": 587, "column": 8 }, "end": { - "line": 591, + "line": 587, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 20460, - "end": 20481, + "start": 20227, + "end": 20248, "loc": { "start": { - "line": 591, + "line": 587, "column": 8 }, "end": { - "line": 591, + "line": 587, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 20460, - "end": 20473, + "start": 20227, + "end": 20240, "loc": { "start": { - "line": 591, + "line": 587, "column": 8 }, "end": { - "line": 591, + "line": 587, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 20460, - "end": 20464, + "start": 20227, + "end": 20231, "loc": { "start": { - "line": 591, + "line": 587, "column": 8 }, "end": { - "line": 591, + "line": 587, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20465, - "end": 20473, + "start": 20232, + "end": 20240, "loc": { "start": { - "line": 591, + "line": 587, "column": 13 }, "end": { - "line": 591, + "line": 587, "column": 21 }, "identifierName": "liveMode" @@ -35365,15 +34834,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 20476, - "end": 20481, + "start": 20243, + "end": 20248, "loc": { "start": { - "line": 591, + "line": 587, "column": 24 }, "end": { - "line": 591, + "line": 587, "column": 29 } }, @@ -35383,72 +34852,72 @@ }, { "type": "ExpressionStatement", - "start": 20492, - "end": 20522, + "start": 20259, + "end": 20289, "loc": { "start": { - "line": 593, + "line": 589, "column": 8 }, "end": { - "line": 593, + "line": 589, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 20492, - "end": 20521, + "start": 20259, + "end": 20288, "loc": { "start": { - "line": 593, + "line": 589, "column": 8 }, "end": { - "line": 593, + "line": 589, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 20492, - "end": 20500, + "start": 20259, + "end": 20267, "loc": { "start": { - "line": 593, + "line": 589, "column": 8 }, "end": { - "line": 593, + "line": 589, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 20492, - "end": 20496, + "start": 20259, + "end": 20263, "loc": { "start": { - "line": 593, + "line": 589, "column": 8 }, "end": { - "line": 593, + "line": 589, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20497, - "end": 20500, + "start": 20264, + "end": 20267, "loc": { "start": { - "line": 593, + "line": 589, "column": 13 }, "end": { - "line": 593, + "line": 589, "column": 16 }, "identifierName": "log" @@ -35460,15 +34929,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 20501, - "end": 20520, + "start": 20268, + "end": 20287, "loc": { "start": { - "line": 593, + "line": 589, "column": 17 }, "end": { - "line": 593, + "line": 589, "column": 36 } }, @@ -35483,86 +34952,86 @@ }, { "type": "ExpressionStatement", - "start": 20531, - "end": 20569, + "start": 20298, + "end": 20336, "loc": { "start": { - "line": 594, + "line": 590, "column": 8 }, "end": { - "line": 594, + "line": 590, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 20531, - "end": 20568, + "start": 20298, + "end": 20335, "loc": { "start": { - "line": 594, + "line": 590, "column": 8 }, "end": { - "line": 594, + "line": 590, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 20531, - "end": 20550, + "start": 20298, + "end": 20317, "loc": { "start": { - "line": 594, + "line": 590, "column": 8 }, "end": { - "line": 594, + "line": 590, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 20531, - "end": 20542, + "start": 20298, + "end": 20309, "loc": { "start": { - "line": 594, + "line": 590, "column": 8 }, "end": { - "line": 594, + "line": 590, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 20531, - "end": 20535, + "start": 20298, + "end": 20302, "loc": { "start": { - "line": 594, + "line": 590, "column": 8 }, "end": { - "line": 594, + "line": 590, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20536, - "end": 20542, + "start": 20303, + "end": 20309, "loc": { "start": { - "line": 594, + "line": 590, "column": 13 }, "end": { - "line": 594, + "line": 590, "column": 19 }, "identifierName": "player" @@ -35573,15 +35042,15 @@ }, "property": { "type": "Identifier", - "start": 20543, - "end": 20550, + "start": 20310, + "end": 20317, "loc": { "start": { - "line": 594, + "line": 590, "column": 20 }, "end": { - "line": 594, + "line": 590, "column": 27 }, "identifierName": "trigger" @@ -35593,29 +35062,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 20551, - "end": 20567, + "start": 20318, + "end": 20334, "loc": { "start": { - "line": 594, + "line": 590, "column": 28 }, "end": { - "line": 594, + "line": 590, "column": 44 } }, "object": { "type": "Identifier", - "start": 20551, - "end": 20556, + "start": 20318, + "end": 20323, "loc": { "start": { - "line": 594, + "line": 590, "column": 28 }, "end": { - "line": 594, + "line": 590, "column": 33 }, "identifierName": "Event" @@ -35624,15 +35093,15 @@ }, "property": { "type": "Identifier", - "start": 20557, - "end": 20567, + "start": 20324, + "end": 20334, "loc": { "start": { - "line": 594, + "line": 590, "column": 34 }, "end": { - "line": 594, + "line": 590, "column": 44 }, "identifierName": "WAVE_READY" @@ -35646,72 +35115,72 @@ }, { "type": "IfStatement", - "start": 20579, - "end": 20971, + "start": 20346, + "end": 20738, "loc": { "start": { - "line": 596, + "line": 592, "column": 8 }, "end": { - "line": 606, + "line": 602, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 20583, - "end": 20608, + "start": 20350, + "end": 20375, "loc": { "start": { - "line": 596, + "line": 592, "column": 12 }, "end": { - "line": 596, + "line": 592, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 20583, - "end": 20595, + "start": 20350, + "end": 20362, "loc": { "start": { - "line": 596, + "line": 592, "column": 12 }, "end": { - "line": 596, + "line": 592, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 20583, - "end": 20587, + "start": 20350, + "end": 20354, "loc": { "start": { - "line": 596, + "line": 592, "column": 12 }, "end": { - "line": 596, + "line": 592, "column": 16 } } }, "property": { "type": "Identifier", - "start": 20588, - "end": 20595, + "start": 20355, + "end": 20362, "loc": { "start": { - "line": 596, + "line": 592, "column": 17 }, "end": { - "line": 596, + "line": 592, "column": 24 }, "identifierName": "backend" @@ -35723,15 +35192,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 20600, - "end": 20608, + "start": 20367, + "end": 20375, "loc": { "start": { - "line": 596, + "line": 592, "column": 29 }, "end": { - "line": 596, + "line": 592, "column": 37 }, "identifierName": "WEBAUDIO" @@ -35741,72 +35210,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 20610, - "end": 20971, + "start": 20377, + "end": 20738, "loc": { "start": { - "line": 596, + "line": 592, "column": 39 }, "end": { - "line": 606, + "line": 602, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 20659, - "end": 20681, + "start": 20426, + "end": 20448, "loc": { "start": { - "line": 598, + "line": 594, "column": 12 }, "end": { - "line": 598, + "line": 594, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 20659, - "end": 20680, + "start": 20426, + "end": 20447, "loc": { "start": { - "line": 598, + "line": 594, "column": 12 }, "end": { - "line": 598, + "line": 594, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 20659, - "end": 20678, + "start": 20426, + "end": 20445, "loc": { "start": { - "line": 598, + "line": 594, "column": 12 }, "end": { - "line": 598, + "line": 594, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 20659, - "end": 20663, + "start": 20426, + "end": 20430, "loc": { "start": { - "line": 598, + "line": 594, "column": 12 }, "end": { - "line": 598, + "line": 594, "column": 16 } }, @@ -35814,15 +35283,15 @@ }, "property": { "type": "Identifier", - "start": 20664, - "end": 20678, + "start": 20431, + "end": 20445, "loc": { "start": { - "line": 598, + "line": 594, "column": 17 }, "end": { - "line": 598, + "line": 594, "column": 31 }, "identifierName": "setCurrentTime" @@ -35839,15 +35308,15 @@ { "type": "CommentLine", "value": " update time display", - "start": 20624, - "end": 20646, + "start": 20391, + "end": 20413, "loc": { "start": { - "line": 597, + "line": 593, "column": 12 }, "end": { - "line": 597, + "line": 593, "column": 34 } } @@ -35856,72 +35325,72 @@ }, { "type": "ExpressionStatement", - "start": 20694, - "end": 20713, + "start": 20461, + "end": 20480, "loc": { "start": { - "line": 599, + "line": 595, "column": 12 }, "end": { - "line": 599, + "line": 595, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 20694, - "end": 20712, + "start": 20461, + "end": 20479, "loc": { "start": { - "line": 599, + "line": 595, "column": 12 }, "end": { - "line": 599, + "line": 595, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 20694, - "end": 20710, + "start": 20461, + "end": 20477, "loc": { "start": { - "line": 599, + "line": 595, "column": 12 }, "end": { - "line": 599, + "line": 595, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 20694, - "end": 20698, + "start": 20461, + "end": 20465, "loc": { "start": { - "line": 599, + "line": 595, "column": 12 }, "end": { - "line": 599, + "line": 595, "column": 16 } } }, "property": { "type": "Identifier", - "start": 20699, - "end": 20710, + "start": 20466, + "end": 20477, "loc": { "start": { - "line": 599, + "line": 595, "column": 17 }, "end": { - "line": 599, + "line": 595, "column": 28 }, "identifierName": "setDuration" @@ -35936,15 +35405,15 @@ { "type": "CommentLine", "value": " enable and show play button", - "start": 20727, - "end": 20757, + "start": 20494, + "end": 20524, "loc": { "start": { - "line": 601, + "line": 597, "column": 12 }, "end": { - "line": 601, + "line": 597, "column": 42 } } @@ -35953,99 +35422,99 @@ }, { "type": "IfStatement", - "start": 20770, - "end": 20961, + "start": 20537, + "end": 20728, "loc": { "start": { - "line": 602, + "line": 598, "column": 12 }, "end": { - "line": 605, + "line": 601, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 20774, - "end": 20886, + "start": 20541, + "end": 20653, "loc": { "start": { - "line": 602, + "line": 598, "column": 16 }, "end": { - "line": 603, + "line": 599, "column": 61 } }, "left": { "type": "BinaryExpression", - "start": 20774, - "end": 20821, + "start": 20541, + "end": 20588, "loc": { "start": { - "line": 602, + "line": 598, "column": 16 }, "end": { - "line": 602, + "line": 598, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 20774, - "end": 20807, + "start": 20541, + "end": 20574, "loc": { "start": { - "line": 602, + "line": 598, "column": 16 }, "end": { - "line": 602, + "line": 598, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20774, - "end": 20796, + "start": 20541, + "end": 20563, "loc": { "start": { - "line": 602, + "line": 598, "column": 16 }, "end": { - "line": 602, + "line": 598, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20774, - "end": 20785, + "start": 20541, + "end": 20552, "loc": { "start": { - "line": 602, + "line": 598, "column": 16 }, "end": { - "line": 602, + "line": 598, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20774, - "end": 20778, + "start": 20541, + "end": 20545, "loc": { "start": { - "line": 602, + "line": 598, "column": 16 }, "end": { - "line": 602, + "line": 598, "column": 20 } }, @@ -36053,15 +35522,15 @@ }, "property": { "type": "Identifier", - "start": 20779, - "end": 20785, + "start": 20546, + "end": 20552, "loc": { "start": { - "line": 602, + "line": 598, "column": 21 }, "end": { - "line": 602, + "line": 598, "column": 27 }, "identifierName": "player" @@ -36073,15 +35542,15 @@ }, "property": { "type": "Identifier", - "start": 20786, - "end": 20796, + "start": 20553, + "end": 20563, "loc": { "start": { - "line": 602, + "line": 598, "column": 28 }, "end": { - "line": 602, + "line": 598, "column": 38 }, "identifierName": "controlBar" @@ -36093,15 +35562,15 @@ }, "property": { "type": "Identifier", - "start": 20797, - "end": 20807, + "start": 20564, + "end": 20574, "loc": { "start": { - "line": 602, + "line": 598, "column": 39 }, "end": { - "line": 602, + "line": 598, "column": 49 }, "identifierName": "playToggle" @@ -36114,15 +35583,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 20812, - "end": 20821, + "start": 20579, + "end": 20588, "loc": { "start": { - "line": 602, + "line": 598, "column": 54 }, "end": { - "line": 602, + "line": 598, "column": 63 }, "identifierName": "undefined" @@ -36134,100 +35603,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 20841, - "end": 20886, + "start": 20608, + "end": 20653, "loc": { "start": { - "line": 603, + "line": 599, "column": 16 }, "end": { - "line": 603, + "line": 599, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 20841, - "end": 20884, + "start": 20608, + "end": 20651, "loc": { "start": { - "line": 603, + "line": 599, "column": 16 }, "end": { - "line": 603, + "line": 599, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 20841, - "end": 20874, + "start": 20608, + "end": 20641, "loc": { "start": { - "line": 603, + "line": 599, "column": 16 }, "end": { - "line": 603, + "line": 599, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20841, - "end": 20863, + "start": 20608, + "end": 20630, "loc": { "start": { - "line": 603, + "line": 599, "column": 16 }, "end": { - "line": 603, + "line": 599, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20841, - "end": 20852, + "start": 20608, + "end": 20619, "loc": { "start": { - "line": 603, + "line": 599, "column": 16 }, "end": { - "line": 603, + "line": 599, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20841, - "end": 20845, + "start": 20608, + "end": 20612, "loc": { "start": { - "line": 603, + "line": 599, "column": 16 }, "end": { - "line": 603, + "line": 599, "column": 20 } } }, "property": { "type": "Identifier", - "start": 20846, - "end": 20852, + "start": 20613, + "end": 20619, "loc": { "start": { - "line": 603, + "line": 599, "column": 21 }, "end": { - "line": 603, + "line": 599, "column": 27 }, "identifierName": "player" @@ -36238,15 +35707,15 @@ }, "property": { "type": "Identifier", - "start": 20853, - "end": 20863, + "start": 20620, + "end": 20630, "loc": { "start": { - "line": 603, + "line": 599, "column": 28 }, "end": { - "line": 603, + "line": 599, "column": 38 }, "identifierName": "controlBar" @@ -36257,15 +35726,15 @@ }, "property": { "type": "Identifier", - "start": 20864, - "end": 20874, + "start": 20631, + "end": 20641, "loc": { "start": { - "line": 603, + "line": 599, "column": 39 }, "end": { - "line": 603, + "line": 599, "column": 49 }, "identifierName": "playToggle" @@ -36276,15 +35745,15 @@ }, "property": { "type": "Identifier", - "start": 20875, - "end": 20884, + "start": 20642, + "end": 20651, "loc": { "start": { - "line": 603, + "line": 599, "column": 50 }, "end": { - "line": 603, + "line": 599, "column": 59 }, "identifierName": "contentEl" @@ -36299,129 +35768,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 20888, - "end": 20961, + "start": 20655, + "end": 20728, "loc": { "start": { - "line": 603, + "line": 599, "column": 63 }, "end": { - "line": 605, + "line": 601, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 20906, - "end": 20947, + "start": 20673, + "end": 20714, "loc": { "start": { - "line": 604, + "line": 600, "column": 16 }, "end": { - "line": 604, + "line": 600, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 20906, - "end": 20946, + "start": 20673, + "end": 20713, "loc": { "start": { - "line": 604, + "line": 600, "column": 16 }, "end": { - "line": 604, + "line": 600, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 20906, - "end": 20944, + "start": 20673, + "end": 20711, "loc": { "start": { - "line": 604, + "line": 600, "column": 16 }, "end": { - "line": 604, + "line": 600, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 20906, - "end": 20939, + "start": 20673, + "end": 20706, "loc": { "start": { - "line": 604, + "line": 600, "column": 16 }, "end": { - "line": 604, + "line": 600, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20906, - "end": 20928, + "start": 20673, + "end": 20695, "loc": { "start": { - "line": 604, + "line": 600, "column": 16 }, "end": { - "line": 604, + "line": 600, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20906, - "end": 20917, + "start": 20673, + "end": 20684, "loc": { "start": { - "line": 604, + "line": 600, "column": 16 }, "end": { - "line": 604, + "line": 600, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20906, - "end": 20910, + "start": 20673, + "end": 20677, "loc": { "start": { - "line": 604, + "line": 600, "column": 16 }, "end": { - "line": 604, + "line": 600, "column": 20 } } }, "property": { "type": "Identifier", - "start": 20911, - "end": 20917, + "start": 20678, + "end": 20684, "loc": { "start": { - "line": 604, + "line": 600, "column": 21 }, "end": { - "line": 604, + "line": 600, "column": 27 }, "identifierName": "player" @@ -36432,15 +35901,15 @@ }, "property": { "type": "Identifier", - "start": 20918, - "end": 20928, + "start": 20685, + "end": 20695, "loc": { "start": { - "line": 604, + "line": 600, "column": 28 }, "end": { - "line": 604, + "line": 600, "column": 38 }, "identifierName": "controlBar" @@ -36451,15 +35920,15 @@ }, "property": { "type": "Identifier", - "start": 20929, - "end": 20939, + "start": 20696, + "end": 20706, "loc": { "start": { - "line": 604, + "line": 600, "column": 39 }, "end": { - "line": 604, + "line": 600, "column": 49 }, "identifierName": "playToggle" @@ -36470,15 +35939,15 @@ }, "property": { "type": "Identifier", - "start": 20940, - "end": 20944, + "start": 20707, + "end": 20711, "loc": { "start": { - "line": 604, + "line": 600, "column": 50 }, "end": { - "line": 604, + "line": 600, "column": 54 }, "identifierName": "show" @@ -36498,15 +35967,15 @@ { "type": "CommentLine", "value": " enable and show play button", - "start": 20727, - "end": 20757, + "start": 20494, + "end": 20524, "loc": { "start": { - "line": 601, + "line": 597, "column": 12 }, "end": { - "line": 601, + "line": 597, "column": 42 } } @@ -36522,15 +35991,15 @@ { "type": "CommentLine", "value": " hide loading spinner", - "start": 20981, - "end": 21004, + "start": 20748, + "end": 20771, "loc": { "start": { - "line": 608, + "line": 604, "column": 8 }, "end": { - "line": 608, + "line": 604, "column": 31 } } @@ -36539,85 +36008,85 @@ }, { "type": "IfStatement", - "start": 21013, - "end": 21115, + "start": 20780, + "end": 20882, "loc": { "start": { - "line": 609, + "line": 605, "column": 8 }, "end": { - "line": 611, + "line": 607, "column": 9 } }, "test": { "type": "CallExpression", - "start": 21017, - "end": 21055, + "start": 20784, + "end": 20822, "loc": { "start": { - "line": 609, + "line": 605, "column": 12 }, "end": { - "line": 609, + "line": 605, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 21017, - "end": 21053, + "start": 20784, + "end": 20820, "loc": { "start": { - "line": 609, + "line": 605, "column": 12 }, "end": { - "line": 609, + "line": 605, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 21017, - "end": 21043, + "start": 20784, + "end": 20810, "loc": { "start": { - "line": 609, + "line": 605, "column": 12 }, "end": { - "line": 609, + "line": 605, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 21017, - "end": 21028, + "start": 20784, + "end": 20795, "loc": { "start": { - "line": 609, + "line": 605, "column": 12 }, "end": { - "line": 609, + "line": 605, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 21017, - "end": 21021, + "start": 20784, + "end": 20788, "loc": { "start": { - "line": 609, + "line": 605, "column": 12 }, "end": { - "line": 609, + "line": 605, "column": 16 } }, @@ -36625,15 +36094,15 @@ }, "property": { "type": "Identifier", - "start": 21022, - "end": 21028, + "start": 20789, + "end": 20795, "loc": { "start": { - "line": 609, + "line": 605, "column": 17 }, "end": { - "line": 609, + "line": 605, "column": 23 }, "identifierName": "player" @@ -36645,15 +36114,15 @@ }, "property": { "type": "Identifier", - "start": 21029, - "end": 21043, + "start": 20796, + "end": 20810, "loc": { "start": { - "line": 609, + "line": 605, "column": 24 }, "end": { - "line": 609, + "line": 605, "column": 38 }, "identifierName": "loadingSpinner" @@ -36665,15 +36134,15 @@ }, "property": { "type": "Identifier", - "start": 21044, - "end": 21053, + "start": 20811, + "end": 20820, "loc": { "start": { - "line": 609, + "line": 605, "column": 39 }, "end": { - "line": 609, + "line": 605, "column": 48 }, "identifierName": "contentEl" @@ -36688,115 +36157,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 21057, - "end": 21115, + "start": 20824, + "end": 20882, "loc": { "start": { - "line": 609, + "line": 605, "column": 52 }, "end": { - "line": 611, + "line": 607, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 21071, - "end": 21105, + "start": 20838, + "end": 20872, "loc": { "start": { - "line": 610, + "line": 606, "column": 12 }, "end": { - "line": 610, + "line": 606, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 21071, - "end": 21104, + "start": 20838, + "end": 20871, "loc": { "start": { - "line": 610, + "line": 606, "column": 12 }, "end": { - "line": 610, + "line": 606, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 21071, - "end": 21102, + "start": 20838, + "end": 20869, "loc": { "start": { - "line": 610, + "line": 606, "column": 12 }, "end": { - "line": 610, + "line": 606, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 21071, - "end": 21097, + "start": 20838, + "end": 20864, "loc": { "start": { - "line": 610, + "line": 606, "column": 12 }, "end": { - "line": 610, + "line": 606, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 21071, - "end": 21082, + "start": 20838, + "end": 20849, "loc": { "start": { - "line": 610, + "line": 606, "column": 12 }, "end": { - "line": 610, + "line": 606, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 21071, - "end": 21075, + "start": 20838, + "end": 20842, "loc": { "start": { - "line": 610, + "line": 606, "column": 12 }, "end": { - "line": 610, + "line": 606, "column": 16 } } }, "property": { "type": "Identifier", - "start": 21076, - "end": 21082, + "start": 20843, + "end": 20849, "loc": { "start": { - "line": 610, + "line": 606, "column": 17 }, "end": { - "line": 610, + "line": 606, "column": 23 }, "identifierName": "player" @@ -36807,15 +36276,15 @@ }, "property": { "type": "Identifier", - "start": 21083, - "end": 21097, + "start": 20850, + "end": 20864, "loc": { "start": { - "line": 610, + "line": 606, "column": 24 }, "end": { - "line": 610, + "line": 606, "column": 38 }, "identifierName": "loadingSpinner" @@ -36826,15 +36295,15 @@ }, "property": { "type": "Identifier", - "start": 21098, - "end": 21102, + "start": 20865, + "end": 20869, "loc": { "start": { - "line": 610, + "line": 606, "column": 39 }, "end": { - "line": 610, + "line": 606, "column": 43 }, "identifierName": "hide" @@ -36855,15 +36324,15 @@ { "type": "CommentLine", "value": " hide loading spinner", - "start": 20981, - "end": 21004, + "start": 20748, + "end": 20771, "loc": { "start": { - "line": 608, + "line": 604, "column": 8 }, "end": { - "line": 608, + "line": 604, "column": 31 } } @@ -36873,15 +36342,15 @@ { "type": "CommentLine", "value": " auto-play when ready (if enabled)", - "start": 21125, - "end": 21161, + "start": 20892, + "end": 20928, "loc": { "start": { - "line": 613, + "line": 609, "column": 8 }, "end": { - "line": 613, + "line": 609, "column": 44 } } @@ -36890,85 +36359,85 @@ }, { "type": "IfStatement", - "start": 21170, - "end": 21564, + "start": 20937, + "end": 21331, "loc": { "start": { - "line": 614, + "line": 610, "column": 8 }, "end": { - "line": 626, + "line": 622, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 21174, - "end": 21212, + "start": 20941, + "end": 20979, "loc": { "start": { - "line": 614, + "line": 610, "column": 12 }, "end": { - "line": 614, + "line": 610, "column": 50 } }, "left": { "type": "MemberExpression", - "start": 21174, - "end": 21203, + "start": 20941, + "end": 20970, "loc": { "start": { - "line": 614, + "line": 610, "column": 12 }, "end": { - "line": 614, + "line": 610, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 21174, - "end": 21194, + "start": 20941, + "end": 20961, "loc": { "start": { - "line": 614, + "line": 610, "column": 12 }, "end": { - "line": 614, + "line": 610, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 21174, - "end": 21185, + "start": 20941, + "end": 20952, "loc": { "start": { - "line": 614, + "line": 610, "column": 12 }, "end": { - "line": 614, + "line": 610, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 21174, - "end": 21178, + "start": 20941, + "end": 20945, "loc": { "start": { - "line": 614, + "line": 610, "column": 12 }, "end": { - "line": 614, + "line": 610, "column": 16 } }, @@ -36976,15 +36445,15 @@ }, "property": { "type": "Identifier", - "start": 21179, - "end": 21185, + "start": 20946, + "end": 20952, "loc": { "start": { - "line": 614, + "line": 610, "column": 17 }, "end": { - "line": 614, + "line": 610, "column": 23 }, "identifierName": "player" @@ -36996,15 +36465,15 @@ }, "property": { "type": "Identifier", - "start": 21186, - "end": 21194, + "start": 20953, + "end": 20961, "loc": { "start": { - "line": 614, + "line": 610, "column": 24 }, "end": { - "line": 614, + "line": 610, "column": 32 }, "identifierName": "options_" @@ -37016,15 +36485,15 @@ }, "property": { "type": "Identifier", - "start": 21195, - "end": 21203, + "start": 20962, + "end": 20970, "loc": { "start": { - "line": 614, + "line": 610, "column": 33 }, "end": { - "line": 614, + "line": 610, "column": 41 }, "identifierName": "autoplay" @@ -37037,15 +36506,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 21208, - "end": 21212, + "start": 20975, + "end": 20979, "loc": { "start": { - "line": 614, + "line": 610, "column": 46 }, "end": { - "line": 614, + "line": 610, "column": 50 } }, @@ -37055,72 +36524,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 21214, - "end": 21564, + "start": 20981, + "end": 21331, "loc": { "start": { - "line": 614, + "line": 610, "column": 52 }, "end": { - "line": 626, + "line": 622, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 21288, - "end": 21306, + "start": 21055, + "end": 21073, "loc": { "start": { - "line": 616, + "line": 612, "column": 12 }, "end": { - "line": 616, + "line": 612, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 21288, - "end": 21305, + "start": 21055, + "end": 21072, "loc": { "start": { - "line": 616, + "line": 612, "column": 12 }, "end": { - "line": 616, + "line": 612, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 21288, - "end": 21302, + "start": 21055, + "end": 21069, "loc": { "start": { - "line": 616, + "line": 612, "column": 12 }, "end": { - "line": 616, + "line": 612, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 21288, - "end": 21292, + "start": 21055, + "end": 21059, "loc": { "start": { - "line": 616, + "line": 612, "column": 12 }, "end": { - "line": 616, + "line": 612, "column": 16 } }, @@ -37128,15 +36597,15 @@ }, "property": { "type": "Identifier", - "start": 21293, - "end": 21302, + "start": 21060, + "end": 21069, "loc": { "start": { - "line": 616, + "line": 612, "column": 17 }, "end": { - "line": 616, + "line": 612, "column": 26 }, "identifierName": "setVolume" @@ -37149,15 +36618,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 21303, - "end": 21304, + "start": 21070, + "end": 21071, "loc": { "start": { - "line": 616, + "line": 612, "column": 27 }, "end": { - "line": 616, + "line": 612, "column": 28 } }, @@ -37174,15 +36643,15 @@ { "type": "CommentLine", "value": " autoplay is only allowed when audio is muted", - "start": 21228, - "end": 21275, + "start": 20995, + "end": 21042, "loc": { "start": { - "line": 615, + "line": 611, "column": 12 }, "end": { - "line": 615, + "line": 611, "column": 59 } } @@ -37192,15 +36661,15 @@ { "type": "CommentLine", "value": " try auto-play", - "start": 21320, - "end": 21336, + "start": 21087, + "end": 21103, "loc": { "start": { - "line": 618, + "line": 614, "column": 12 }, "end": { - "line": 618, + "line": 614, "column": 28 } } @@ -37209,57 +36678,57 @@ }, { "type": "IfStatement", - "start": 21349, - "end": 21554, + "start": 21116, + "end": 21321, "loc": { "start": { - "line": 619, + "line": 615, "column": 12 }, "end": { - "line": 625, + "line": 621, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 21353, - "end": 21378, + "start": 21120, + "end": 21145, "loc": { "start": { - "line": 619, + "line": 615, "column": 16 }, "end": { - "line": 619, + "line": 615, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 21353, - "end": 21365, + "start": 21120, + "end": 21132, "loc": { "start": { - "line": 619, + "line": 615, "column": 16 }, "end": { - "line": 619, + "line": 615, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 21353, - "end": 21357, + "start": 21120, + "end": 21124, "loc": { "start": { - "line": 619, + "line": 615, "column": 16 }, "end": { - "line": 619, + "line": 615, "column": 20 } }, @@ -37267,15 +36736,15 @@ }, "property": { "type": "Identifier", - "start": 21358, - "end": 21365, + "start": 21125, + "end": 21132, "loc": { "start": { - "line": 619, + "line": 615, "column": 21 }, "end": { - "line": 619, + "line": 615, "column": 28 }, "identifierName": "backend" @@ -37288,15 +36757,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 21370, - "end": 21378, + "start": 21137, + "end": 21145, "loc": { "start": { - "line": 619, + "line": 615, "column": 33 }, "end": { - "line": 619, + "line": 615, "column": 41 }, "identifierName": "WEBAUDIO" @@ -37307,87 +36776,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 21380, - "end": 21424, + "start": 21147, + "end": 21191, "loc": { "start": { - "line": 619, + "line": 615, "column": 43 }, "end": { - "line": 621, + "line": 617, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 21398, - "end": 21410, + "start": 21165, + "end": 21177, "loc": { "start": { - "line": 620, + "line": 616, "column": 16 }, "end": { - "line": 620, + "line": 616, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 21398, - "end": 21409, + "start": 21165, + "end": 21176, "loc": { "start": { - "line": 620, + "line": 616, "column": 16 }, "end": { - "line": 620, + "line": 616, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 21398, - "end": 21407, + "start": 21165, + "end": 21174, "loc": { "start": { - "line": 620, + "line": 616, "column": 16 }, "end": { - "line": 620, + "line": 616, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 21398, - "end": 21402, + "start": 21165, + "end": 21169, "loc": { "start": { - "line": 620, + "line": 616, "column": 16 }, "end": { - "line": 620, + "line": 616, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21403, - "end": 21407, + "start": 21170, + "end": 21174, "loc": { "start": { - "line": 620, + "line": 616, "column": 21 }, "end": { - "line": 620, + "line": 616, "column": 25 }, "identifierName": "play" @@ -37404,129 +36873,129 @@ }, "alternate": { "type": "BlockStatement", - "start": 21430, - "end": 21554, + "start": 21197, + "end": 21321, "loc": { "start": { - "line": 621, + "line": 617, "column": 19 }, "end": { - "line": 625, + "line": 621, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 21448, - "end": 21540, + "start": 21215, + "end": 21307, "loc": { "start": { - "line": 622, + "line": 618, "column": 16 }, "end": { - "line": 624, + "line": 620, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 21448, - "end": 21539, + "start": 21215, + "end": 21306, "loc": { "start": { - "line": 622, + "line": 618, "column": 16 }, "end": { - "line": 624, + "line": 620, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 21448, - "end": 21472, + "start": 21215, + "end": 21239, "loc": { "start": { - "line": 622, + "line": 618, "column": 16 }, "end": { - "line": 622, + "line": 618, "column": 40 } }, "object": { "type": "CallExpression", - "start": 21448, - "end": 21466, + "start": 21215, + "end": 21233, "loc": { "start": { - "line": 622, + "line": 618, "column": 16 }, "end": { - "line": 622, + "line": 618, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 21448, - "end": 21464, + "start": 21215, + "end": 21231, "loc": { "start": { - "line": 622, + "line": 618, "column": 16 }, "end": { - "line": 622, + "line": 618, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 21448, - "end": 21459, + "start": 21215, + "end": 21226, "loc": { "start": { - "line": 622, + "line": 618, "column": 16 }, "end": { - "line": 622, + "line": 618, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 21448, - "end": 21452, + "start": 21215, + "end": 21219, "loc": { "start": { - "line": 622, + "line": 618, "column": 16 }, "end": { - "line": 622, + "line": 618, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21453, - "end": 21459, + "start": 21220, + "end": 21226, "loc": { "start": { - "line": 622, + "line": 618, "column": 21 }, "end": { - "line": 622, + "line": 618, "column": 27 }, "identifierName": "player" @@ -37537,15 +37006,15 @@ }, "property": { "type": "Identifier", - "start": 21460, - "end": 21464, + "start": 21227, + "end": 21231, "loc": { "start": { - "line": 622, + "line": 618, "column": 28 }, "end": { - "line": 622, + "line": 618, "column": 32 }, "identifierName": "play" @@ -37558,15 +37027,15 @@ }, "property": { "type": "Identifier", - "start": 21467, - "end": 21472, + "start": 21234, + "end": 21239, "loc": { "start": { - "line": 622, + "line": 618, "column": 35 }, "end": { - "line": 622, + "line": 618, "column": 40 }, "identifierName": "catch" @@ -37578,15 +37047,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 21473, - "end": 21538, + "start": 21240, + "end": 21305, "loc": { "start": { - "line": 622, + "line": 618, "column": 41 }, "end": { - "line": 624, + "line": 620, "column": 17 } }, @@ -37597,15 +37066,15 @@ "params": [ { "type": "Identifier", - "start": 21473, - "end": 21474, + "start": 21240, + "end": 21241, "loc": { "start": { - "line": 622, + "line": 618, "column": 41 }, "end": { - "line": 622, + "line": 618, "column": 42 }, "identifierName": "e" @@ -37615,87 +37084,87 @@ ], "body": { "type": "BlockStatement", - "start": 21478, - "end": 21538, + "start": 21245, + "end": 21305, "loc": { "start": { - "line": 622, + "line": 618, "column": 46 }, "end": { - "line": 624, + "line": 620, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 21500, - "end": 21520, + "start": 21267, + "end": 21287, "loc": { "start": { - "line": 623, + "line": 619, "column": 20 }, "end": { - "line": 623, + "line": 619, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 21500, - "end": 21519, + "start": 21267, + "end": 21286, "loc": { "start": { - "line": 623, + "line": 619, "column": 20 }, "end": { - "line": 623, + "line": 619, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 21500, - "end": 21516, + "start": 21267, + "end": 21283, "loc": { "start": { - "line": 623, + "line": 619, "column": 20 }, "end": { - "line": 623, + "line": 619, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 21500, - "end": 21504, + "start": 21267, + "end": 21271, "loc": { "start": { - "line": 623, + "line": 619, "column": 20 }, "end": { - "line": 623, + "line": 619, "column": 24 } } }, "property": { "type": "Identifier", - "start": 21505, - "end": 21516, + "start": 21272, + "end": 21283, "loc": { "start": { - "line": 623, + "line": 619, "column": 25 }, "end": { - "line": 623, + "line": 619, "column": 36 }, "identifierName": "onWaveError" @@ -37707,15 +37176,15 @@ "arguments": [ { "type": "Identifier", - "start": 21517, - "end": 21518, + "start": 21284, + "end": 21285, "loc": { "start": { - "line": 623, + "line": 619, "column": 37 }, "end": { - "line": 623, + "line": 619, "column": 38 }, "identifierName": "e" @@ -37739,15 +37208,15 @@ { "type": "CommentLine", "value": " try auto-play", - "start": 21320, - "end": 21336, + "start": 21087, + "end": 21103, "loc": { "start": { - "line": 618, + "line": 614, "column": 12 }, "end": { - "line": 618, + "line": 614, "column": 28 } } @@ -37762,15 +37231,15 @@ { "type": "CommentLine", "value": " auto-play when ready (if enabled)", - "start": 21125, - "end": 21161, + "start": 20892, + "end": 20928, "loc": { "start": { - "line": 613, + "line": 609, "column": 8 }, "end": { - "line": 613, + "line": 609, "column": 44 } } @@ -37785,15 +37254,15 @@ { "type": "CommentBlock", "value": "*\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n ", - "start": 20248, - "end": 20365, + "start": 20015, + "end": 20132, "loc": { "start": { - "line": 582, + "line": 578, "column": 4 }, "end": { - "line": 587, + "line": 583, "column": 7 } } @@ -37803,15 +37272,15 @@ { "type": "CommentBlock", "value": "*\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n ", - "start": 21576, - "end": 21683, + "start": 21343, + "end": 21450, "loc": { "start": { - "line": 629, + "line": 625, "column": 4 }, "end": { - "line": 634, + "line": 630, "column": 7 } } @@ -37820,15 +37289,15 @@ }, { "type": "ClassMethod", - "start": 21688, - "end": 22887, + "start": 21455, + "end": 22654, "loc": { "start": { - "line": 635, + "line": 631, "column": 4 }, "end": { - "line": 670, + "line": 666, "column": 5 } }, @@ -37836,15 +37305,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 21688, - "end": 21700, + "start": 21455, + "end": 21467, "loc": { "start": { - "line": 635, + "line": 631, "column": 4 }, "end": { - "line": 635, + "line": 631, "column": 16 }, "identifierName": "onWaveFinish" @@ -37860,87 +37329,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 21703, - "end": 22887, + "start": 21470, + "end": 22654, "loc": { "start": { - "line": 635, + "line": 631, "column": 19 }, "end": { - "line": 670, + "line": 666, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 21713, - "end": 21743, + "start": 21480, + "end": 21510, "loc": { "start": { - "line": 636, + "line": 632, "column": 8 }, "end": { - "line": 636, + "line": 632, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 21713, - "end": 21742, + "start": 21480, + "end": 21509, "loc": { "start": { - "line": 636, + "line": 632, "column": 8 }, "end": { - "line": 636, + "line": 632, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 21713, - "end": 21721, + "start": 21480, + "end": 21488, "loc": { "start": { - "line": 636, + "line": 632, "column": 8 }, "end": { - "line": 636, + "line": 632, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 21713, - "end": 21717, + "start": 21480, + "end": 21484, "loc": { "start": { - "line": 636, + "line": 632, "column": 8 }, "end": { - "line": 636, + "line": 632, "column": 12 } } }, "property": { "type": "Identifier", - "start": 21718, - "end": 21721, + "start": 21485, + "end": 21488, "loc": { "start": { - "line": 636, + "line": 632, "column": 13 }, "end": { - "line": 636, + "line": 632, "column": 16 }, "identifierName": "log" @@ -37952,15 +37421,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 21722, - "end": 21741, + "start": 21489, + "end": 21508, "loc": { "start": { - "line": 636, + "line": 632, "column": 17 }, "end": { - "line": 636, + "line": 632, "column": 36 } }, @@ -37976,15 +37445,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 21753, - "end": 21772, + "start": 21520, + "end": 21539, "loc": { "start": { - "line": 638, + "line": 634, "column": 8 }, "end": { - "line": 638, + "line": 634, "column": 27 } } @@ -37993,71 +37462,71 @@ }, { "type": "ExpressionStatement", - "start": 21781, - "end": 21824, + "start": 21548, + "end": 21591, "loc": { "start": { - "line": 639, + "line": 635, "column": 8 }, "end": { - "line": 639, + "line": 635, "column": 51 } }, "expression": { "type": "CallExpression", - "start": 21781, - "end": 21823, + "start": 21548, + "end": 21590, "loc": { "start": { - "line": 639, + "line": 635, "column": 8 }, "end": { - "line": 639, + "line": 635, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 21781, - "end": 21800, + "start": 21548, + "end": 21567, "loc": { "start": { - "line": 639, + "line": 635, "column": 8 }, "end": { - "line": 639, + "line": 635, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 21781, - "end": 21792, + "start": 21548, + "end": 21559, "loc": { "start": { - "line": 639, + "line": 635, "column": 8 }, "end": { - "line": 639, + "line": 635, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 21781, - "end": 21785, + "start": 21548, + "end": 21552, "loc": { "start": { - "line": 639, + "line": 635, "column": 8 }, "end": { - "line": 639, + "line": 635, "column": 12 } }, @@ -38065,15 +37534,15 @@ }, "property": { "type": "Identifier", - "start": 21786, - "end": 21792, + "start": 21553, + "end": 21559, "loc": { "start": { - "line": 639, + "line": 635, "column": 13 }, "end": { - "line": 639, + "line": 635, "column": 19 }, "identifierName": "player" @@ -38085,15 +37554,15 @@ }, "property": { "type": "Identifier", - "start": 21793, - "end": 21800, + "start": 21560, + "end": 21567, "loc": { "start": { - "line": 639, + "line": 635, "column": 20 }, "end": { - "line": 639, + "line": 635, "column": 27 }, "identifierName": "trigger" @@ -38106,29 +37575,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 21801, - "end": 21822, + "start": 21568, + "end": 21589, "loc": { "start": { - "line": 639, + "line": 635, "column": 28 }, "end": { - "line": 639, + "line": 635, "column": 49 } }, "object": { "type": "Identifier", - "start": 21801, - "end": 21806, + "start": 21568, + "end": 21573, "loc": { "start": { - "line": 639, + "line": 635, "column": 28 }, "end": { - "line": 639, + "line": 635, "column": 33 }, "identifierName": "Event" @@ -38137,15 +37606,15 @@ }, "property": { "type": "Identifier", - "start": 21807, - "end": 21822, + "start": 21574, + "end": 21589, "loc": { "start": { - "line": 639, + "line": 635, "column": 34 }, "end": { - "line": 639, + "line": 635, "column": 49 }, "identifierName": "PLAYBACK_FINISH" @@ -38161,15 +37630,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 21753, - "end": 21772, + "start": 21520, + "end": 21539, "loc": { "start": { - "line": 638, + "line": 634, "column": 8 }, "end": { - "line": 638, + "line": 634, "column": 27 } } @@ -38179,15 +37648,15 @@ { "type": "CommentLine", "value": " check if loop is enabled", - "start": 21834, - "end": 21861, + "start": 21601, + "end": 21628, "loc": { "start": { - "line": 641, + "line": 637, "column": 8 }, "end": { - "line": 641, + "line": 637, "column": 35 } } @@ -38196,85 +37665,85 @@ }, { "type": "IfStatement", - "start": 21870, - "end": 22881, + "start": 21637, + "end": 22648, "loc": { "start": { - "line": 642, + "line": 638, "column": 8 }, "end": { - "line": 669, + "line": 665, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 21874, - "end": 21908, + "start": 21641, + "end": 21675, "loc": { "start": { - "line": 642, + "line": 638, "column": 12 }, "end": { - "line": 642, + "line": 638, "column": 46 } }, "left": { "type": "MemberExpression", - "start": 21874, - "end": 21899, + "start": 21641, + "end": 21666, "loc": { "start": { - "line": 642, + "line": 638, "column": 12 }, "end": { - "line": 642, + "line": 638, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 21874, - "end": 21894, + "start": 21641, + "end": 21661, "loc": { "start": { - "line": 642, + "line": 638, "column": 12 }, "end": { - "line": 642, + "line": 638, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 21874, - "end": 21885, + "start": 21641, + "end": 21652, "loc": { "start": { - "line": 642, + "line": 638, "column": 12 }, "end": { - "line": 642, + "line": 638, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 21874, - "end": 21878, + "start": 21641, + "end": 21645, "loc": { "start": { - "line": 642, + "line": 638, "column": 12 }, "end": { - "line": 642, + "line": 638, "column": 16 } }, @@ -38282,15 +37751,15 @@ }, "property": { "type": "Identifier", - "start": 21879, - "end": 21885, + "start": 21646, + "end": 21652, "loc": { "start": { - "line": 642, + "line": 638, "column": 17 }, "end": { - "line": 642, + "line": 638, "column": 23 }, "identifierName": "player" @@ -38302,15 +37771,15 @@ }, "property": { "type": "Identifier", - "start": 21886, - "end": 21894, + "start": 21653, + "end": 21661, "loc": { "start": { - "line": 642, + "line": 638, "column": 24 }, "end": { - "line": 642, + "line": 638, "column": 32 }, "identifierName": "options_" @@ -38322,15 +37791,15 @@ }, "property": { "type": "Identifier", - "start": 21895, - "end": 21899, + "start": 21662, + "end": 21666, "loc": { "start": { - "line": 642, + "line": 638, "column": 33 }, "end": { - "line": 642, + "line": 638, "column": 37 }, "identifierName": "loop" @@ -38343,15 +37812,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 21904, - "end": 21908, + "start": 21671, + "end": 21675, "loc": { "start": { - "line": 642, + "line": 638, "column": 42 }, "end": { - "line": 642, + "line": 638, "column": 46 } }, @@ -38361,87 +37830,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 21910, - "end": 22079, + "start": 21677, + "end": 21846, "loc": { "start": { - "line": 642, + "line": 638, "column": 48 }, "end": { - "line": 648, + "line": 644, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 21924, - "end": 22069, + "start": 21691, + "end": 21836, "loc": { "start": { - "line": 643, + "line": 639, "column": 12 }, "end": { - "line": 647, + "line": 643, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 21928, - "end": 21953, + "start": 21695, + "end": 21720, "loc": { "start": { - "line": 643, + "line": 639, "column": 16 }, "end": { - "line": 643, + "line": 639, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 21928, - "end": 21940, + "start": 21695, + "end": 21707, "loc": { "start": { - "line": 643, + "line": 639, "column": 16 }, "end": { - "line": 643, + "line": 639, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 21928, - "end": 21932, + "start": 21695, + "end": 21699, "loc": { "start": { - "line": 643, + "line": 639, "column": 16 }, "end": { - "line": 643, + "line": 639, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21933, - "end": 21940, + "start": 21700, + "end": 21707, "loc": { "start": { - "line": 643, + "line": 639, "column": 21 }, "end": { - "line": 643, + "line": 639, "column": 28 }, "identifierName": "backend" @@ -38453,15 +37922,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 21945, - "end": 21953, + "start": 21712, + "end": 21720, "loc": { "start": { - "line": 643, + "line": 639, "column": 33 }, "end": { - "line": 643, + "line": 639, "column": 41 }, "identifierName": "WEBAUDIO" @@ -38471,86 +37940,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 21955, - "end": 22069, + "start": 21722, + "end": 21836, "loc": { "start": { - "line": 643, + "line": 639, "column": 43 }, "end": { - "line": 647, + "line": 643, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 22007, - "end": 22026, + "start": 21774, + "end": 21793, "loc": { "start": { - "line": 645, + "line": 641, "column": 16 }, "end": { - "line": 645, + "line": 641, "column": 35 } }, "expression": { "type": "CallExpression", - "start": 22007, - "end": 22025, + "start": 21774, + "end": 21792, "loc": { "start": { - "line": 645, + "line": 641, "column": 16 }, "end": { - "line": 645, + "line": 641, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 22007, - "end": 22023, + "start": 21774, + "end": 21790, "loc": { "start": { - "line": 645, + "line": 641, "column": 16 }, "end": { - "line": 645, + "line": 641, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 22007, - "end": 22018, + "start": 21774, + "end": 21785, "loc": { "start": { - "line": 645, + "line": 641, "column": 16 }, "end": { - "line": 645, + "line": 641, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 22007, - "end": 22011, + "start": 21774, + "end": 21778, "loc": { "start": { - "line": 645, + "line": 641, "column": 16 }, "end": { - "line": 645, + "line": 641, "column": 20 } }, @@ -38558,15 +38027,15 @@ }, "property": { "type": "Identifier", - "start": 22012, - "end": 22018, + "start": 21779, + "end": 21785, "loc": { "start": { - "line": 645, + "line": 641, "column": 21 }, "end": { - "line": 645, + "line": 641, "column": 27 }, "identifierName": "surfer" @@ -38578,15 +38047,15 @@ }, "property": { "type": "Identifier", - "start": 22019, - "end": 22023, + "start": 21786, + "end": 21790, "loc": { "start": { - "line": 645, + "line": 641, "column": 28 }, "end": { - "line": 645, + "line": 641, "column": 32 }, "identifierName": "stop" @@ -38603,15 +38072,15 @@ { "type": "CommentLine", "value": " reset waveform", - "start": 21973, - "end": 21990, + "start": 21740, + "end": 21757, "loc": { "start": { - "line": 644, + "line": 640, "column": 16 }, "end": { - "line": 644, + "line": 640, "column": 33 } } @@ -38620,72 +38089,72 @@ }, { "type": "ExpressionStatement", - "start": 22043, - "end": 22055, + "start": 21810, + "end": 21822, "loc": { "start": { - "line": 646, + "line": 642, "column": 16 }, "end": { - "line": 646, + "line": 642, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 22043, - "end": 22054, + "start": 21810, + "end": 21821, "loc": { "start": { - "line": 646, + "line": 642, "column": 16 }, "end": { - "line": 646, + "line": 642, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 22043, - "end": 22052, + "start": 21810, + "end": 21819, "loc": { "start": { - "line": 646, + "line": 642, "column": 16 }, "end": { - "line": 646, + "line": 642, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 22043, - "end": 22047, + "start": 21810, + "end": 21814, "loc": { "start": { - "line": 646, + "line": 642, "column": 16 }, "end": { - "line": 646, + "line": 642, "column": 20 } } }, "property": { "type": "Identifier", - "start": 22048, - "end": 22052, + "start": 21815, + "end": 21819, "loc": { "start": { - "line": 646, + "line": 642, "column": 21 }, "end": { - "line": 646, + "line": 642, "column": 25 }, "identifierName": "play" @@ -38707,73 +38176,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 22085, - "end": 22881, + "start": 21852, + "end": 22648, "loc": { "start": { - "line": 648, + "line": 644, "column": 15 }, "end": { - "line": 669, + "line": 665, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 22123, - "end": 22148, + "start": 21890, + "end": 21915, "loc": { "start": { - "line": 650, + "line": 646, "column": 12 }, "end": { - "line": 650, + "line": 646, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 22123, - "end": 22147, + "start": 21890, + "end": 21914, "loc": { "start": { - "line": 650, + "line": 646, "column": 12 }, "end": { - "line": 650, + "line": 646, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 22123, - "end": 22140, + "start": 21890, + "end": 21907, "loc": { "start": { - "line": 650, + "line": 646, "column": 12 }, "end": { - "line": 650, + "line": 646, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 22123, - "end": 22127, + "start": 21890, + "end": 21894, "loc": { "start": { - "line": 650, + "line": 646, "column": 12 }, "end": { - "line": 650, + "line": 646, "column": 16 } }, @@ -38781,15 +38250,15 @@ }, "property": { "type": "Identifier", - "start": 22128, - "end": 22140, + "start": 21895, + "end": 21907, "loc": { "start": { - "line": 650, + "line": 646, "column": 17 }, "end": { - "line": 650, + "line": 646, "column": 29 }, "identifierName": "waveFinished" @@ -38801,15 +38270,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 22143, - "end": 22147, + "start": 21910, + "end": 21914, "loc": { "start": { - "line": 650, + "line": 646, "column": 32 }, "end": { - "line": 650, + "line": 646, "column": 36 } }, @@ -38821,15 +38290,15 @@ { "type": "CommentLine", "value": " finished", - "start": 22099, - "end": 22110, + "start": 21866, + "end": 21877, "loc": { "start": { - "line": 649, + "line": 645, "column": 12 }, "end": { - "line": 649, + "line": 645, "column": 23 } } @@ -38838,72 +38307,72 @@ }, { "type": "IfStatement", - "start": 22162, - "end": 22871, + "start": 21929, + "end": 22638, "loc": { "start": { - "line": 652, + "line": 648, "column": 12 }, "end": { - "line": 668, + "line": 664, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 22166, - "end": 22191, + "start": 21933, + "end": 21958, "loc": { "start": { - "line": 652, + "line": 648, "column": 16 }, "end": { - "line": 652, + "line": 648, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 22166, - "end": 22178, + "start": 21933, + "end": 21945, "loc": { "start": { - "line": 652, + "line": 648, "column": 16 }, "end": { - "line": 652, + "line": 648, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 22166, - "end": 22170, + "start": 21933, + "end": 21937, "loc": { "start": { - "line": 652, + "line": 648, "column": 16 }, "end": { - "line": 652, + "line": 648, "column": 20 } } }, "property": { "type": "Identifier", - "start": 22171, - "end": 22178, + "start": 21938, + "end": 21945, "loc": { "start": { - "line": 652, + "line": 648, "column": 21 }, "end": { - "line": 652, + "line": 648, "column": 28 }, "identifierName": "backend" @@ -38915,15 +38384,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 22183, - "end": 22191, + "start": 21950, + "end": 21958, "loc": { "start": { - "line": 652, + "line": 648, "column": 33 }, "end": { - "line": 652, + "line": 648, "column": 41 }, "identifierName": "WEBAUDIO" @@ -38933,72 +38402,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 22193, - "end": 22871, + "start": 21960, + "end": 22638, "loc": { "start": { - "line": 652, + "line": 648, "column": 43 }, "end": { - "line": 668, + "line": 664, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 22243, - "end": 22256, + "start": 22010, + "end": 22023, "loc": { "start": { - "line": 654, + "line": 650, "column": 16 }, "end": { - "line": 654, + "line": 650, "column": 29 } }, "expression": { "type": "CallExpression", - "start": 22243, - "end": 22255, + "start": 22010, + "end": 22022, "loc": { "start": { - "line": 654, + "line": 650, "column": 16 }, "end": { - "line": 654, + "line": 650, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 22243, - "end": 22253, + "start": 22010, + "end": 22020, "loc": { "start": { - "line": 654, + "line": 650, "column": 16 }, "end": { - "line": 654, + "line": 650, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 22243, - "end": 22247, + "start": 22010, + "end": 22014, "loc": { "start": { - "line": 654, + "line": 650, "column": 16 }, "end": { - "line": 654, + "line": 650, "column": 20 } }, @@ -39006,15 +38475,15 @@ }, "property": { "type": "Identifier", - "start": 22248, - "end": 22253, + "start": 22015, + "end": 22020, "loc": { "start": { - "line": 654, + "line": 650, "column": 21 }, "end": { - "line": 654, + "line": 650, "column": 26 }, "identifierName": "pause" @@ -39031,15 +38500,15 @@ { "type": "CommentLine", "value": " pause player", - "start": 22211, - "end": 22226, + "start": 21978, + "end": 21993, "loc": { "start": { - "line": 653, + "line": 649, "column": 16 }, "end": { - "line": 653, + "line": 649, "column": 31 } } @@ -39049,15 +38518,15 @@ { "type": "CommentLine", "value": " show the replay state of play toggle", - "start": 22274, - "end": 22313, + "start": 22041, + "end": 22080, "loc": { "start": { - "line": 656, + "line": 652, "column": 16 }, "end": { - "line": 656, + "line": 652, "column": 55 } } @@ -39066,71 +38535,71 @@ }, { "type": "ExpressionStatement", - "start": 22330, - "end": 22363, + "start": 22097, + "end": 22130, "loc": { "start": { - "line": 657, + "line": 653, "column": 16 }, "end": { - "line": 657, + "line": 653, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 22330, - "end": 22362, + "start": 22097, + "end": 22129, "loc": { "start": { - "line": 657, + "line": 653, "column": 16 }, "end": { - "line": 657, + "line": 653, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 22330, - "end": 22349, + "start": 22097, + "end": 22116, "loc": { "start": { - "line": 657, + "line": 653, "column": 16 }, "end": { - "line": 657, + "line": 653, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 22330, - "end": 22341, + "start": 22097, + "end": 22108, "loc": { "start": { - "line": 657, + "line": 653, "column": 16 }, "end": { - "line": 657, + "line": 653, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 22330, - "end": 22334, + "start": 22097, + "end": 22101, "loc": { "start": { - "line": 657, + "line": 653, "column": 16 }, "end": { - "line": 657, + "line": 653, "column": 20 } }, @@ -39138,15 +38607,15 @@ }, "property": { "type": "Identifier", - "start": 22335, - "end": 22341, + "start": 22102, + "end": 22108, "loc": { "start": { - "line": 657, + "line": 653, "column": 21 }, "end": { - "line": 657, + "line": 653, "column": 27 }, "identifierName": "player" @@ -39158,15 +38627,15 @@ }, "property": { "type": "Identifier", - "start": 22342, - "end": 22349, + "start": 22109, + "end": 22116, "loc": { "start": { - "line": 657, + "line": 653, "column": 28 }, "end": { - "line": 657, + "line": 653, "column": 35 }, "identifierName": "trigger" @@ -39179,29 +38648,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 22350, - "end": 22361, + "start": 22117, + "end": 22128, "loc": { "start": { - "line": 657, + "line": 653, "column": 36 }, "end": { - "line": 657, + "line": 653, "column": 47 } }, "object": { "type": "Identifier", - "start": 22350, - "end": 22355, + "start": 22117, + "end": 22122, "loc": { "start": { - "line": 657, + "line": 653, "column": 36 }, "end": { - "line": 657, + "line": 653, "column": 41 }, "identifierName": "Event" @@ -39210,15 +38679,15 @@ }, "property": { "type": "Identifier", - "start": 22356, - "end": 22361, + "start": 22123, + "end": 22128, "loc": { "start": { - "line": 657, + "line": 653, "column": 42 }, "end": { - "line": 657, + "line": 653, "column": 47 }, "identifierName": "ENDED" @@ -39234,15 +38703,15 @@ { "type": "CommentLine", "value": " show the replay state of play toggle", - "start": 22274, - "end": 22313, + "start": 22041, + "end": 22080, "loc": { "start": { - "line": 656, + "line": 652, "column": 16 }, "end": { - "line": 656, + "line": 652, "column": 55 } } @@ -39252,15 +38721,15 @@ { "type": "CommentLine", "value": " this gets called once after the clip has ended and the user", - "start": 22381, - "end": 22443, + "start": 22148, + "end": 22210, "loc": { "start": { - "line": 659, + "line": 655, "column": 16 }, "end": { - "line": 659, + "line": 655, "column": 78 } } @@ -39268,15 +38737,15 @@ { "type": "CommentLine", "value": " seeks so that we can change the replay button back to a play", - "start": 22460, - "end": 22523, + "start": 22227, + "end": 22290, "loc": { "start": { - "line": 660, + "line": 656, "column": 16 }, "end": { - "line": 660, + "line": 656, "column": 79 } } @@ -39284,15 +38753,15 @@ { "type": "CommentLine", "value": " button", - "start": 22540, - "end": 22549, + "start": 22307, + "end": 22316, "loc": { "start": { - "line": 661, + "line": 657, "column": 16 }, "end": { - "line": 661, + "line": 657, "column": 25 } } @@ -39301,71 +38770,71 @@ }, { "type": "ExpressionStatement", - "start": 22566, - "end": 22857, + "start": 22333, + "end": 22624, "loc": { "start": { - "line": 662, + "line": 658, "column": 16 }, "end": { - "line": 667, + "line": 663, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 22566, - "end": 22856, + "start": 22333, + "end": 22623, "loc": { "start": { - "line": 662, + "line": 658, "column": 16 }, "end": { - "line": 667, + "line": 663, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 22566, - "end": 22582, + "start": 22333, + "end": 22349, "loc": { "start": { - "line": 662, + "line": 658, "column": 16 }, "end": { - "line": 662, + "line": 658, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 22566, - "end": 22577, + "start": 22333, + "end": 22344, "loc": { "start": { - "line": 662, + "line": 658, "column": 16 }, "end": { - "line": 662, + "line": 658, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 22566, - "end": 22570, + "start": 22333, + "end": 22337, "loc": { "start": { - "line": 662, + "line": 658, "column": 16 }, "end": { - "line": 662, + "line": 658, "column": 20 } }, @@ -39373,15 +38842,15 @@ }, "property": { "type": "Identifier", - "start": 22571, - "end": 22577, + "start": 22338, + "end": 22344, "loc": { "start": { - "line": 662, + "line": 658, "column": 21 }, "end": { - "line": 662, + "line": 658, "column": 27 }, "identifierName": "surfer" @@ -39393,15 +38862,15 @@ }, "property": { "type": "Identifier", - "start": 22578, - "end": 22582, + "start": 22345, + "end": 22349, "loc": { "start": { - "line": 662, + "line": 658, "column": 28 }, "end": { - "line": 662, + "line": 658, "column": 32 }, "identifierName": "once" @@ -39414,29 +38883,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 22583, - "end": 22593, + "start": 22350, + "end": 22360, "loc": { "start": { - "line": 662, + "line": 658, "column": 33 }, "end": { - "line": 662, + "line": 658, "column": 43 } }, "object": { "type": "Identifier", - "start": 22583, - "end": 22588, + "start": 22350, + "end": 22355, "loc": { "start": { - "line": 662, + "line": 658, "column": 33 }, "end": { - "line": 662, + "line": 658, "column": 38 }, "identifierName": "Event" @@ -39445,15 +38914,15 @@ }, "property": { "type": "Identifier", - "start": 22589, - "end": 22593, + "start": 22356, + "end": 22360, "loc": { "start": { - "line": 662, + "line": 658, "column": 39 }, "end": { - "line": 662, + "line": 658, "column": 43 }, "identifierName": "SEEK" @@ -39464,15 +38933,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 22595, - "end": 22855, + "start": 22362, + "end": 22622, "loc": { "start": { - "line": 662, + "line": 658, "column": 45 }, "end": { - "line": 667, + "line": 663, "column": 17 } }, @@ -39483,115 +38952,115 @@ "params": [], "body": { "type": "BlockStatement", - "start": 22601, - "end": 22855, + "start": 22368, + "end": 22622, "loc": { "start": { - "line": 662, + "line": 658, "column": 51 }, "end": { - "line": 667, + "line": 663, "column": 17 } }, "body": [ { "type": "IfStatement", - "start": 22623, - "end": 22783, + "start": 22390, + "end": 22550, "loc": { "start": { - "line": 663, + "line": 659, "column": 20 }, "end": { - "line": 665, + "line": 661, "column": 21 } }, "test": { "type": "BinaryExpression", - "start": 22627, - "end": 22674, + "start": 22394, + "end": 22441, "loc": { "start": { - "line": 663, + "line": 659, "column": 24 }, "end": { - "line": 663, + "line": 659, "column": 71 } }, "left": { "type": "MemberExpression", - "start": 22627, - "end": 22660, + "start": 22394, + "end": 22427, "loc": { "start": { - "line": 663, + "line": 659, "column": 24 }, "end": { - "line": 663, + "line": 659, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 22627, - "end": 22649, + "start": 22394, + "end": 22416, "loc": { "start": { - "line": 663, + "line": 659, "column": 24 }, "end": { - "line": 663, + "line": 659, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 22627, - "end": 22638, + "start": 22394, + "end": 22405, "loc": { "start": { - "line": 663, + "line": 659, "column": 24 }, "end": { - "line": 663, + "line": 659, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 22627, - "end": 22631, + "start": 22394, + "end": 22398, "loc": { "start": { - "line": 663, + "line": 659, "column": 24 }, "end": { - "line": 663, + "line": 659, "column": 28 } } }, "property": { "type": "Identifier", - "start": 22632, - "end": 22638, + "start": 22399, + "end": 22405, "loc": { "start": { - "line": 663, + "line": 659, "column": 29 }, "end": { - "line": 663, + "line": 659, "column": 35 }, "identifierName": "player" @@ -39602,15 +39071,15 @@ }, "property": { "type": "Identifier", - "start": 22639, - "end": 22649, + "start": 22406, + "end": 22416, "loc": { "start": { - "line": 663, + "line": 659, "column": 36 }, "end": { - "line": 663, + "line": 659, "column": 46 }, "identifierName": "controlBar" @@ -39621,15 +39090,15 @@ }, "property": { "type": "Identifier", - "start": 22650, - "end": 22660, + "start": 22417, + "end": 22427, "loc": { "start": { - "line": 663, + "line": 659, "column": 47 }, "end": { - "line": 663, + "line": 659, "column": 57 }, "identifierName": "playToggle" @@ -39641,15 +39110,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 22665, - "end": 22674, + "start": 22432, + "end": 22441, "loc": { "start": { - "line": 663, + "line": 659, "column": 62 }, "end": { - "line": 663, + "line": 659, "column": 71 }, "identifierName": "undefined" @@ -39659,129 +39128,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 22676, - "end": 22783, + "start": 22443, + "end": 22550, "loc": { "start": { - "line": 663, + "line": 659, "column": 73 }, "end": { - "line": 665, + "line": 661, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 22702, - "end": 22761, + "start": 22469, + "end": 22528, "loc": { "start": { - "line": 664, + "line": 660, "column": 24 }, "end": { - "line": 664, + "line": 660, "column": 83 } }, "expression": { "type": "CallExpression", - "start": 22702, - "end": 22760, + "start": 22469, + "end": 22527, "loc": { "start": { - "line": 664, + "line": 660, "column": 24 }, "end": { - "line": 664, + "line": 660, "column": 82 } }, "callee": { "type": "MemberExpression", - "start": 22702, - "end": 22747, + "start": 22469, + "end": 22514, "loc": { "start": { - "line": 664, + "line": 660, "column": 24 }, "end": { - "line": 664, + "line": 660, "column": 69 } }, "object": { "type": "MemberExpression", - "start": 22702, - "end": 22735, + "start": 22469, + "end": 22502, "loc": { "start": { - "line": 664, + "line": 660, "column": 24 }, "end": { - "line": 664, + "line": 660, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 22702, - "end": 22724, + "start": 22469, + "end": 22491, "loc": { "start": { - "line": 664, + "line": 660, "column": 24 }, "end": { - "line": 664, + "line": 660, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 22702, - "end": 22713, + "start": 22469, + "end": 22480, "loc": { "start": { - "line": 664, + "line": 660, "column": 24 }, "end": { - "line": 664, + "line": 660, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 22702, - "end": 22706, + "start": 22469, + "end": 22473, "loc": { "start": { - "line": 664, + "line": 660, "column": 24 }, "end": { - "line": 664, + "line": 660, "column": 28 } } }, "property": { "type": "Identifier", - "start": 22707, - "end": 22713, + "start": 22474, + "end": 22480, "loc": { "start": { - "line": 664, + "line": 660, "column": 29 }, "end": { - "line": 664, + "line": 660, "column": 35 }, "identifierName": "player" @@ -39792,15 +39261,15 @@ }, "property": { "type": "Identifier", - "start": 22714, - "end": 22724, + "start": 22481, + "end": 22491, "loc": { "start": { - "line": 664, + "line": 660, "column": 36 }, "end": { - "line": 664, + "line": 660, "column": 46 }, "identifierName": "controlBar" @@ -39811,15 +39280,15 @@ }, "property": { "type": "Identifier", - "start": 22725, - "end": 22735, + "start": 22492, + "end": 22502, "loc": { "start": { - "line": 664, + "line": 660, "column": 47 }, "end": { - "line": 664, + "line": 660, "column": 57 }, "identifierName": "playToggle" @@ -39830,15 +39299,15 @@ }, "property": { "type": "Identifier", - "start": 22736, - "end": 22747, + "start": 22503, + "end": 22514, "loc": { "start": { - "line": 664, + "line": 660, "column": 58 }, "end": { - "line": 664, + "line": 660, "column": 69 }, "identifierName": "removeClass" @@ -39850,15 +39319,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 22748, - "end": 22759, + "start": 22515, + "end": 22526, "loc": { "start": { - "line": 664, + "line": 660, "column": 70 }, "end": { - "line": 664, + "line": 660, "column": 81 } }, @@ -39878,86 +39347,86 @@ }, { "type": "ExpressionStatement", - "start": 22804, - "end": 22837, + "start": 22571, + "end": 22604, "loc": { "start": { - "line": 666, + "line": 662, "column": 20 }, "end": { - "line": 666, + "line": 662, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 22804, - "end": 22836, + "start": 22571, + "end": 22603, "loc": { "start": { - "line": 666, + "line": 662, "column": 20 }, "end": { - "line": 666, + "line": 662, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 22804, - "end": 22823, + "start": 22571, + "end": 22590, "loc": { "start": { - "line": 666, + "line": 662, "column": 20 }, "end": { - "line": 666, + "line": 662, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 22804, - "end": 22815, + "start": 22571, + "end": 22582, "loc": { "start": { - "line": 666, + "line": 662, "column": 20 }, "end": { - "line": 666, + "line": 662, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 22804, - "end": 22808, + "start": 22571, + "end": 22575, "loc": { "start": { - "line": 666, + "line": 662, "column": 20 }, "end": { - "line": 666, + "line": 662, "column": 24 } } }, "property": { "type": "Identifier", - "start": 22809, - "end": 22815, + "start": 22576, + "end": 22582, "loc": { "start": { - "line": 666, + "line": 662, "column": 25 }, "end": { - "line": 666, + "line": 662, "column": 31 }, "identifierName": "player" @@ -39968,15 +39437,15 @@ }, "property": { "type": "Identifier", - "start": 22816, - "end": 22823, + "start": 22583, + "end": 22590, "loc": { "start": { - "line": 666, + "line": 662, "column": 32 }, "end": { - "line": 666, + "line": 662, "column": 39 }, "identifierName": "trigger" @@ -39988,29 +39457,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 22824, - "end": 22835, + "start": 22591, + "end": 22602, "loc": { "start": { - "line": 666, + "line": 662, "column": 40 }, "end": { - "line": 666, + "line": 662, "column": 51 } }, "object": { "type": "Identifier", - "start": 22824, - "end": 22829, + "start": 22591, + "end": 22596, "loc": { "start": { - "line": 666, + "line": 662, "column": 40 }, "end": { - "line": 666, + "line": 662, "column": 45 }, "identifierName": "Event" @@ -40019,15 +39488,15 @@ }, "property": { "type": "Identifier", - "start": 22830, - "end": 22835, + "start": 22597, + "end": 22602, "loc": { "start": { - "line": 666, + "line": 662, "column": 46 }, "end": { - "line": 666, + "line": 662, "column": 51 }, "identifierName": "PAUSE" @@ -40050,15 +39519,15 @@ { "type": "CommentLine", "value": " this gets called once after the clip has ended and the user", - "start": 22381, - "end": 22443, + "start": 22148, + "end": 22210, "loc": { "start": { - "line": 659, + "line": 655, "column": 16 }, "end": { - "line": 659, + "line": 655, "column": 78 } } @@ -40066,15 +39535,15 @@ { "type": "CommentLine", "value": " seeks so that we can change the replay button back to a play", - "start": 22460, - "end": 22523, + "start": 22227, + "end": 22290, "loc": { "start": { - "line": 660, + "line": 656, "column": 16 }, "end": { - "line": 660, + "line": 656, "column": 79 } } @@ -40082,15 +39551,15 @@ { "type": "CommentLine", "value": " button", - "start": 22540, - "end": 22549, + "start": 22307, + "end": 22316, "loc": { "start": { - "line": 661, + "line": 657, "column": 16 }, "end": { - "line": 661, + "line": 657, "column": 25 } } @@ -40109,15 +39578,15 @@ { "type": "CommentLine", "value": " check if loop is enabled", - "start": 21834, - "end": 21861, + "start": 21601, + "end": 21628, "loc": { "start": { - "line": 641, + "line": 637, "column": 8 }, "end": { - "line": 641, + "line": 637, "column": 35 } } @@ -40132,15 +39601,15 @@ { "type": "CommentBlock", "value": "*\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n ", - "start": 21576, - "end": 21683, + "start": 21343, + "end": 21450, "loc": { "start": { - "line": 629, + "line": 625, "column": 4 }, "end": { - "line": 634, + "line": 630, "column": 7 } } @@ -40150,15 +39619,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": 22893, - "end": 23045, + "start": 22660, + "end": 22812, "loc": { "start": { - "line": 672, + "line": 668, "column": 4 }, "end": { - "line": 677, + "line": 673, "column": 7 } } @@ -40167,15 +39636,15 @@ }, { "type": "ClassMethod", - "start": 23050, - "end": 23109, + "start": 22817, + "end": 22876, "loc": { "start": { - "line": 678, + "line": 674, "column": 4 }, "end": { - "line": 680, + "line": 676, "column": 5 } }, @@ -40183,15 +39652,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 23050, - "end": 23064, + "start": 22817, + "end": 22831, "loc": { "start": { - "line": 678, + "line": 674, "column": 4 }, "end": { - "line": 678, + "line": 674, "column": 18 }, "identifierName": "onWaveProgress" @@ -40207,15 +39676,15 @@ "params": [ { "type": "Identifier", - "start": 23065, - "end": 23069, + "start": 22832, + "end": 22836, "loc": { "start": { - "line": 678, + "line": 674, "column": 19 }, "end": { - "line": 678, + "line": 674, "column": 23 }, "identifierName": "time" @@ -40225,87 +39694,87 @@ ], "body": { "type": "BlockStatement", - "start": 23071, - "end": 23109, + "start": 22838, + "end": 22876, "loc": { "start": { - "line": 678, + "line": 674, "column": 25 }, "end": { - "line": 680, + "line": 676, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 23081, - "end": 23103, + "start": 22848, + "end": 22870, "loc": { "start": { - "line": 679, + "line": 675, "column": 8 }, "end": { - "line": 679, + "line": 675, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 23081, - "end": 23102, + "start": 22848, + "end": 22869, "loc": { "start": { - "line": 679, + "line": 675, "column": 8 }, "end": { - "line": 679, + "line": 675, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 23081, - "end": 23100, + "start": 22848, + "end": 22867, "loc": { "start": { - "line": 679, + "line": 675, "column": 8 }, "end": { - "line": 679, + "line": 675, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 23081, - "end": 23085, + "start": 22848, + "end": 22852, "loc": { "start": { - "line": 679, + "line": 675, "column": 8 }, "end": { - "line": 679, + "line": 675, "column": 12 } } }, "property": { "type": "Identifier", - "start": 23086, - "end": 23100, + "start": 22853, + "end": 22867, "loc": { "start": { - "line": 679, + "line": 675, "column": 13 }, "end": { - "line": 679, + "line": 675, "column": 27 }, "identifierName": "setCurrentTime" @@ -40325,15 +39794,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": 22893, - "end": 23045, + "start": 22660, + "end": 22812, "loc": { "start": { - "line": 672, + "line": 668, "column": 4 }, "end": { - "line": 677, + "line": 673, "column": 7 } } @@ -40343,15 +39812,15 @@ { "type": "CommentBlock", "value": "*\n * Fires during seeking of the waveform.\n *\n * @private\n ", - "start": 23115, - "end": 23194, + "start": 22882, + "end": 22961, "loc": { "start": { - "line": 682, + "line": 678, "column": 4 }, "end": { - "line": 686, + "line": 682, "column": 7 } } @@ -40360,15 +39829,15 @@ }, { "type": "ClassMethod", - "start": 23199, - "end": 23250, + "start": 22966, + "end": 23017, "loc": { "start": { - "line": 687, + "line": 683, "column": 4 }, "end": { - "line": 689, + "line": 685, "column": 5 } }, @@ -40376,15 +39845,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 23199, - "end": 23209, + "start": 22966, + "end": 22976, "loc": { "start": { - "line": 687, + "line": 683, "column": 4 }, "end": { - "line": 687, + "line": 683, "column": 14 }, "identifierName": "onWaveSeek" @@ -40400,87 +39869,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 23212, - "end": 23250, + "start": 22979, + "end": 23017, "loc": { "start": { - "line": 687, + "line": 683, "column": 17 }, "end": { - "line": 689, + "line": 685, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 23222, - "end": 23244, + "start": 22989, + "end": 23011, "loc": { "start": { - "line": 688, + "line": 684, "column": 8 }, "end": { - "line": 688, + "line": 684, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 23222, - "end": 23243, + "start": 22989, + "end": 23010, "loc": { "start": { - "line": 688, + "line": 684, "column": 8 }, "end": { - "line": 688, + "line": 684, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 23222, - "end": 23241, + "start": 22989, + "end": 23008, "loc": { "start": { - "line": 688, + "line": 684, "column": 8 }, "end": { - "line": 688, + "line": 684, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 23222, - "end": 23226, + "start": 22989, + "end": 22993, "loc": { "start": { - "line": 688, + "line": 684, "column": 8 }, "end": { - "line": 688, + "line": 684, "column": 12 } } }, "property": { "type": "Identifier", - "start": 23227, - "end": 23241, + "start": 22994, + "end": 23008, "loc": { "start": { - "line": 688, + "line": 684, "column": 13 }, "end": { - "line": 688, + "line": 684, "column": 27 }, "identifierName": "setCurrentTime" @@ -40500,15 +39969,15 @@ { "type": "CommentBlock", "value": "*\n * Fires during seeking of the waveform.\n *\n * @private\n ", - "start": 23115, - "end": 23194, + "start": 22882, + "end": 22961, "loc": { "start": { - "line": 682, + "line": 678, "column": 4 }, "end": { - "line": 686, + "line": 682, "column": 7 } } @@ -40518,15 +39987,15 @@ { "type": "CommentBlock", "value": "*\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n ", - "start": 23256, - "end": 23366, + "start": 23023, + "end": 23133, "loc": { "start": { - "line": 691, + "line": 687, "column": 4 }, "end": { - "line": 696, + "line": 692, "column": 7 } } @@ -40535,15 +40004,15 @@ }, { "type": "ClassMethod", - "start": 23371, - "end": 23764, + "start": 23138, + "end": 23531, "loc": { "start": { - "line": 697, + "line": 693, "column": 4 }, "end": { - "line": 708, + "line": 704, "column": 5 } }, @@ -40551,15 +40020,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 23371, - "end": 23382, + "start": 23138, + "end": 23149, "loc": { "start": { - "line": 697, + "line": 693, "column": 4 }, "end": { - "line": 697, + "line": 693, "column": 15 }, "identifierName": "onWaveError" @@ -40575,15 +40044,15 @@ "params": [ { "type": "Identifier", - "start": 23383, - "end": 23388, + "start": 23150, + "end": 23155, "loc": { "start": { - "line": 697, + "line": 693, "column": 16 }, "end": { - "line": 697, + "line": 693, "column": 21 }, "identifierName": "error" @@ -40593,86 +40062,86 @@ ], "body": { "type": "BlockStatement", - "start": 23390, - "end": 23764, + "start": 23157, + "end": 23531, "loc": { "start": { - "line": 697, + "line": 693, "column": 23 }, "end": { - "line": 708, + "line": 704, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 23428, - "end": 23758, + "start": 23195, + "end": 23525, "loc": { "start": { - "line": 699, + "line": 695, "column": 8 }, "end": { - "line": 707, + "line": 703, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 23432, - "end": 23575, + "start": 23199, + "end": 23342, "loc": { "start": { - "line": 699, + "line": 695, "column": 12 }, "end": { - "line": 700, + "line": 696, "column": 98 } }, "left": { "type": "LogicalExpression", - "start": 23432, - "end": 23473, + "start": 23199, + "end": 23240, "loc": { "start": { - "line": 699, + "line": 695, "column": 12 }, "end": { - "line": 699, + "line": 695, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 23432, - "end": 23442, + "start": 23199, + "end": 23209, "loc": { "start": { - "line": 699, + "line": 695, "column": 12 }, "end": { - "line": 699, + "line": 695, "column": 22 } }, "object": { "type": "Identifier", - "start": 23432, - "end": 23437, + "start": 23199, + "end": 23204, "loc": { "start": { - "line": 699, + "line": 695, "column": 12 }, "end": { - "line": 699, + "line": 695, "column": 17 }, "identifierName": "error" @@ -40682,15 +40151,15 @@ }, "property": { "type": "Identifier", - "start": 23438, - "end": 23442, + "start": 23205, + "end": 23209, "loc": { "start": { - "line": 699, + "line": 695, "column": 18 }, "end": { - "line": 699, + "line": 695, "column": 22 }, "identifierName": "name" @@ -40703,43 +40172,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 23446, - "end": 23473, + "start": 23213, + "end": 23240, "loc": { "start": { - "line": 699, + "line": 695, "column": 26 }, "end": { - "line": 699, + "line": 695, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 23446, - "end": 23456, + "start": 23213, + "end": 23223, "loc": { "start": { - "line": 699, + "line": 695, "column": 26 }, "end": { - "line": 699, + "line": 695, "column": 36 } }, "object": { "type": "Identifier", - "start": 23446, - "end": 23451, + "start": 23213, + "end": 23218, "loc": { "start": { - "line": 699, + "line": 695, "column": 26 }, "end": { - "line": 699, + "line": 695, "column": 31 }, "identifierName": "error" @@ -40748,15 +40217,15 @@ }, "property": { "type": "Identifier", - "start": 23452, - "end": 23456, + "start": 23219, + "end": 23223, "loc": { "start": { - "line": 699, + "line": 695, "column": 32 }, "end": { - "line": 699, + "line": 695, "column": 36 }, "identifierName": "name" @@ -40768,15 +40237,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 23461, - "end": 23473, + "start": 23228, + "end": 23240, "loc": { "start": { - "line": 699, + "line": 695, "column": 41 }, "end": { - "line": 699, + "line": 695, "column": 53 } }, @@ -40792,57 +40261,57 @@ "operator": "||", "right": { "type": "LogicalExpression", - "start": 23489, - "end": 23575, + "start": 23256, + "end": 23342, "loc": { "start": { - "line": 700, + "line": 696, "column": 12 }, "end": { - "line": 700, + "line": 696, "column": 98 } }, "left": { "type": "BinaryExpression", - "start": 23489, - "end": 23518, + "start": 23256, + "end": 23285, "loc": { "start": { - "line": 700, + "line": 696, "column": 12 }, "end": { - "line": 700, + "line": 696, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 23489, - "end": 23499, + "start": 23256, + "end": 23266, "loc": { "start": { - "line": 700, + "line": 696, "column": 12 }, "end": { - "line": 700, + "line": 696, "column": 22 } }, "object": { "type": "Identifier", - "start": 23489, - "end": 23494, + "start": 23256, + "end": 23261, "loc": { "start": { - "line": 700, + "line": 696, "column": 12 }, "end": { - "line": 700, + "line": 696, "column": 17 }, "identifierName": "error" @@ -40851,15 +40320,15 @@ }, "property": { "type": "Identifier", - "start": 23495, - "end": 23499, + "start": 23262, + "end": 23266, "loc": { "start": { - "line": 700, + "line": 696, "column": 18 }, "end": { - "line": 700, + "line": 696, "column": 22 }, "identifierName": "name" @@ -40871,15 +40340,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 23504, - "end": 23518, + "start": 23271, + "end": 23285, "loc": { "start": { - "line": 700, + "line": 696, "column": 27 }, "end": { - "line": 700, + "line": 696, "column": 41 } }, @@ -40893,57 +40362,57 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 23522, - "end": 23575, + "start": 23289, + "end": 23342, "loc": { "start": { - "line": 700, + "line": 696, "column": 45 }, "end": { - "line": 700, + "line": 696, "column": 98 } }, "callee": { "type": "MemberExpression", - "start": 23522, - "end": 23546, + "start": 23289, + "end": 23313, "loc": { "start": { - "line": 700, + "line": 696, "column": 45 }, "end": { - "line": 700, + "line": 696, "column": 69 } }, "object": { "type": "MemberExpression", - "start": 23522, - "end": 23535, + "start": 23289, + "end": 23302, "loc": { "start": { - "line": 700, + "line": 696, "column": 45 }, "end": { - "line": 700, + "line": 696, "column": 58 } }, "object": { "type": "Identifier", - "start": 23522, - "end": 23527, + "start": 23289, + "end": 23294, "loc": { "start": { - "line": 700, + "line": 696, "column": 45 }, "end": { - "line": 700, + "line": 696, "column": 50 }, "identifierName": "error" @@ -40952,15 +40421,15 @@ }, "property": { "type": "Identifier", - "start": 23528, - "end": 23535, + "start": 23295, + "end": 23302, "loc": { "start": { - "line": 700, + "line": 696, "column": 51 }, "end": { - "line": 700, + "line": 696, "column": 58 }, "identifierName": "message" @@ -40971,15 +40440,15 @@ }, "property": { "type": "Identifier", - "start": 23536, - "end": 23546, + "start": 23303, + "end": 23313, "loc": { "start": { - "line": 700, + "line": 696, "column": 59 }, "end": { - "line": 700, + "line": 696, "column": 69 }, "identifierName": "startsWith" @@ -40991,15 +40460,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23547, - "end": 23574, + "start": 23314, + "end": 23341, "loc": { "start": { - "line": 700, + "line": 696, "column": 70 }, "end": { - "line": 700, + "line": 696, "column": 97 } }, @@ -41016,101 +40485,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 23585, - "end": 23649, + "start": 23352, + "end": 23416, "loc": { "start": { - "line": 701, + "line": 697, "column": 8 }, "end": { - "line": 703, + "line": 699, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23599, - "end": 23639, + "start": 23366, + "end": 23406, "loc": { "start": { - "line": 702, + "line": 698, "column": 12 }, "end": { - "line": 702, + "line": 698, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 23599, - "end": 23638, + "start": 23366, + "end": 23405, "loc": { "start": { - "line": 702, + "line": 698, "column": 12 }, "end": { - "line": 702, + "line": 698, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 23599, - "end": 23618, + "start": 23366, + "end": 23385, "loc": { "start": { - "line": 702, + "line": 698, "column": 12 }, "end": { - "line": 702, + "line": 698, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 23599, - "end": 23610, + "start": 23366, + "end": 23377, "loc": { "start": { - "line": 702, + "line": 698, "column": 12 }, "end": { - "line": 702, + "line": 698, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23599, - "end": 23603, + "start": 23366, + "end": 23370, "loc": { "start": { - "line": 702, + "line": 698, "column": 12 }, "end": { - "line": 702, + "line": 698, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23604, - "end": 23610, + "start": 23371, + "end": 23377, "loc": { "start": { - "line": 702, + "line": 698, "column": 17 }, "end": { - "line": 702, + "line": 698, "column": 23 }, "identifierName": "player" @@ -41121,15 +40590,15 @@ }, "property": { "type": "Identifier", - "start": 23611, - "end": 23618, + "start": 23378, + "end": 23385, "loc": { "start": { - "line": 702, + "line": 698, "column": 24 }, "end": { - "line": 702, + "line": 698, "column": 31 }, "identifierName": "trigger" @@ -41141,29 +40610,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 23619, - "end": 23630, + "start": 23386, + "end": 23397, "loc": { "start": { - "line": 702, + "line": 698, "column": 32 }, "end": { - "line": 702, + "line": 698, "column": 43 } }, "object": { "type": "Identifier", - "start": 23619, - "end": 23624, + "start": 23386, + "end": 23391, "loc": { "start": { - "line": 702, + "line": 698, "column": 32 }, "end": { - "line": 702, + "line": 698, "column": 37 }, "identifierName": "Event" @@ -41172,15 +40641,15 @@ }, "property": { "type": "Identifier", - "start": 23625, - "end": 23630, + "start": 23392, + "end": 23397, "loc": { "start": { - "line": 702, + "line": 698, "column": 38 }, "end": { - "line": 702, + "line": 698, "column": 43 }, "identifierName": "ABORT" @@ -41191,15 +40660,15 @@ }, { "type": "Identifier", - "start": 23632, - "end": 23637, + "start": 23399, + "end": 23404, "loc": { "start": { - "line": 702, + "line": 698, "column": 45 }, "end": { - "line": 702, + "line": 698, "column": 50 }, "identifierName": "error" @@ -41214,101 +40683,101 @@ }, "alternate": { "type": "BlockStatement", - "start": 23655, - "end": 23758, + "start": 23422, + "end": 23525, "loc": { "start": { - "line": 703, + "line": 699, "column": 15 }, "end": { - "line": 707, + "line": 703, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23669, - "end": 23709, + "start": 23436, + "end": 23476, "loc": { "start": { - "line": 704, + "line": 700, "column": 12 }, "end": { - "line": 704, + "line": 700, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 23669, - "end": 23708, + "start": 23436, + "end": 23475, "loc": { "start": { - "line": 704, + "line": 700, "column": 12 }, "end": { - "line": 704, + "line": 700, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 23669, - "end": 23688, + "start": 23436, + "end": 23455, "loc": { "start": { - "line": 704, + "line": 700, "column": 12 }, "end": { - "line": 704, + "line": 700, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 23669, - "end": 23680, + "start": 23436, + "end": 23447, "loc": { "start": { - "line": 704, + "line": 700, "column": 12 }, "end": { - "line": 704, + "line": 700, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23669, - "end": 23673, + "start": 23436, + "end": 23440, "loc": { "start": { - "line": 704, + "line": 700, "column": 12 }, "end": { - "line": 704, + "line": 700, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23674, - "end": 23680, + "start": 23441, + "end": 23447, "loc": { "start": { - "line": 704, + "line": 700, "column": 17 }, "end": { - "line": 704, + "line": 700, "column": 23 }, "identifierName": "player" @@ -41319,15 +40788,15 @@ }, "property": { "type": "Identifier", - "start": 23681, - "end": 23688, + "start": 23448, + "end": 23455, "loc": { "start": { - "line": 704, + "line": 700, "column": 24 }, "end": { - "line": 704, + "line": 700, "column": 31 }, "identifierName": "trigger" @@ -41339,29 +40808,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 23689, - "end": 23700, + "start": 23456, + "end": 23467, "loc": { "start": { - "line": 704, + "line": 700, "column": 32 }, "end": { - "line": 704, + "line": 700, "column": 43 } }, "object": { "type": "Identifier", - "start": 23689, - "end": 23694, + "start": 23456, + "end": 23461, "loc": { "start": { - "line": 704, + "line": 700, "column": 32 }, "end": { - "line": 704, + "line": 700, "column": 37 }, "identifierName": "Event" @@ -41370,15 +40839,15 @@ }, "property": { "type": "Identifier", - "start": 23695, - "end": 23700, + "start": 23462, + "end": 23467, "loc": { "start": { - "line": 704, + "line": 700, "column": 38 }, "end": { - "line": 704, + "line": 700, "column": 43 }, "identifierName": "ERROR" @@ -41389,15 +40858,15 @@ }, { "type": "Identifier", - "start": 23702, - "end": 23707, + "start": 23469, + "end": 23474, "loc": { "start": { - "line": 704, + "line": 700, "column": 45 }, "end": { - "line": 704, + "line": 700, "column": 50 }, "identifierName": "error" @@ -41409,72 +40878,72 @@ }, { "type": "ExpressionStatement", - "start": 23723, - "end": 23748, + "start": 23490, + "end": 23515, "loc": { "start": { - "line": 706, + "line": 702, "column": 12 }, "end": { - "line": 706, + "line": 702, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 23723, - "end": 23747, + "start": 23490, + "end": 23514, "loc": { "start": { - "line": 706, + "line": 702, "column": 12 }, "end": { - "line": 706, + "line": 702, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 23723, - "end": 23731, + "start": 23490, + "end": 23498, "loc": { "start": { - "line": 706, + "line": 702, "column": 12 }, "end": { - "line": 706, + "line": 702, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 23723, - "end": 23727, + "start": 23490, + "end": 23494, "loc": { "start": { - "line": 706, + "line": 702, "column": 12 }, "end": { - "line": 706, + "line": 702, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23728, - "end": 23731, + "start": 23495, + "end": 23498, "loc": { "start": { - "line": 706, + "line": 702, "column": 17 }, "end": { - "line": 706, + "line": 702, "column": 20 }, "identifierName": "log" @@ -41486,15 +40955,15 @@ "arguments": [ { "type": "Identifier", - "start": 23732, - "end": 23737, + "start": 23499, + "end": 23504, "loc": { "start": { - "line": 706, + "line": 702, "column": 21 }, "end": { - "line": 706, + "line": 702, "column": 26 }, "identifierName": "error" @@ -41503,15 +40972,15 @@ }, { "type": "StringLiteral", - "start": 23739, - "end": 23746, + "start": 23506, + "end": 23513, "loc": { "start": { - "line": 706, + "line": 702, "column": 28 }, "end": { - "line": 706, + "line": 702, "column": 35 } }, @@ -41531,15 +41000,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 23400, - "end": 23419, + "start": 23167, + "end": 23186, "loc": { "start": { - "line": 698, + "line": 694, "column": 8 }, "end": { - "line": 698, + "line": 694, "column": 27 } } @@ -41554,15 +41023,15 @@ { "type": "CommentBlock", "value": "*\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n ", - "start": 23256, - "end": 23366, + "start": 23023, + "end": 23133, "loc": { "start": { - "line": 691, + "line": 687, "column": 4 }, "end": { - "line": 696, + "line": 692, "column": 7 } } @@ -41572,15 +41041,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the play toggle is clicked.\n * @private\n ", - "start": 23770, - "end": 23843, + "start": 23537, + "end": 23610, "loc": { "start": { - "line": 710, + "line": 706, "column": 4 }, "end": { - "line": 713, + "line": 709, "column": 7 } } @@ -41589,15 +41058,15 @@ }, { "type": "ClassMethod", - "start": 23848, - "end": 24203, + "start": 23615, + "end": 23970, "loc": { "start": { - "line": 714, + "line": 710, "column": 4 }, "end": { - "line": 724, + "line": 720, "column": 5 } }, @@ -41605,15 +41074,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 23848, - "end": 23860, + "start": 23615, + "end": 23627, "loc": { "start": { - "line": 714, + "line": 710, "column": 4 }, "end": { - "line": 714, + "line": 710, "column": 16 }, "identifierName": "onPlayToggle" @@ -41629,129 +41098,129 @@ "params": [], "body": { "type": "BlockStatement", - "start": 23863, - "end": 24203, + "start": 23630, + "end": 23970, "loc": { "start": { - "line": 714, + "line": 710, "column": 19 }, "end": { - "line": 724, + "line": 720, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 23873, - "end": 24080, + "start": 23640, + "end": 23847, "loc": { "start": { - "line": 715, + "line": 711, "column": 8 }, "end": { - "line": 718, + "line": 714, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 23877, - "end": 23995, + "start": 23644, + "end": 23762, "loc": { "start": { - "line": 715, + "line": 711, "column": 12 }, "end": { - "line": 716, + "line": 712, "column": 67 } }, "left": { "type": "BinaryExpression", - "start": 23877, - "end": 23924, + "start": 23644, + "end": 23691, "loc": { "start": { - "line": 715, + "line": 711, "column": 12 }, "end": { - "line": 715, + "line": 711, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 23877, - "end": 23910, + "start": 23644, + "end": 23677, "loc": { "start": { - "line": 715, + "line": 711, "column": 12 }, "end": { - "line": 715, + "line": 711, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 23877, - "end": 23899, + "start": 23644, + "end": 23666, "loc": { "start": { - "line": 715, + "line": 711, "column": 12 }, "end": { - "line": 715, + "line": 711, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 23877, - "end": 23888, + "start": 23644, + "end": 23655, "loc": { "start": { - "line": 715, + "line": 711, "column": 12 }, "end": { - "line": 715, + "line": 711, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23877, - "end": 23881, + "start": 23644, + "end": 23648, "loc": { "start": { - "line": 715, + "line": 711, "column": 12 }, "end": { - "line": 715, + "line": 711, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23882, - "end": 23888, + "start": 23649, + "end": 23655, "loc": { "start": { - "line": 715, + "line": 711, "column": 17 }, "end": { - "line": 715, + "line": 711, "column": 23 }, "identifierName": "player" @@ -41762,15 +41231,15 @@ }, "property": { "type": "Identifier", - "start": 23889, - "end": 23899, + "start": 23656, + "end": 23666, "loc": { "start": { - "line": 715, + "line": 711, "column": 24 }, "end": { - "line": 715, + "line": 711, "column": 34 }, "identifierName": "controlBar" @@ -41781,15 +41250,15 @@ }, "property": { "type": "Identifier", - "start": 23900, - "end": 23910, + "start": 23667, + "end": 23677, "loc": { "start": { - "line": 715, + "line": 711, "column": 35 }, "end": { - "line": 715, + "line": 711, "column": 45 }, "identifierName": "playToggle" @@ -41801,15 +41270,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 23915, - "end": 23924, + "start": 23682, + "end": 23691, "loc": { "start": { - "line": 715, + "line": 711, "column": 50 }, "end": { - "line": 715, + "line": 711, "column": 59 }, "identifierName": "undefined" @@ -41820,100 +41289,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 23940, - "end": 23995, + "start": 23707, + "end": 23762, "loc": { "start": { - "line": 716, + "line": 712, "column": 12 }, "end": { - "line": 716, + "line": 712, "column": 67 } }, "callee": { "type": "MemberExpression", - "start": 23940, - "end": 23982, + "start": 23707, + "end": 23749, "loc": { "start": { - "line": 716, + "line": 712, "column": 12 }, "end": { - "line": 716, + "line": 712, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 23940, - "end": 23973, + "start": 23707, + "end": 23740, "loc": { "start": { - "line": 716, + "line": 712, "column": 12 }, "end": { - "line": 716, + "line": 712, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 23940, - "end": 23962, + "start": 23707, + "end": 23729, "loc": { "start": { - "line": 716, + "line": 712, "column": 12 }, "end": { - "line": 716, + "line": 712, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 23940, - "end": 23951, + "start": 23707, + "end": 23718, "loc": { "start": { - "line": 716, + "line": 712, "column": 12 }, "end": { - "line": 716, + "line": 712, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23940, - "end": 23944, + "start": 23707, + "end": 23711, "loc": { "start": { - "line": 716, + "line": 712, "column": 12 }, "end": { - "line": 716, + "line": 712, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23945, - "end": 23951, + "start": 23712, + "end": 23718, "loc": { "start": { - "line": 716, + "line": 712, "column": 17 }, "end": { - "line": 716, + "line": 712, "column": 23 }, "identifierName": "player" @@ -41924,15 +41393,15 @@ }, "property": { "type": "Identifier", - "start": 23952, - "end": 23962, + "start": 23719, + "end": 23729, "loc": { "start": { - "line": 716, + "line": 712, "column": 24 }, "end": { - "line": 716, + "line": 712, "column": 34 }, "identifierName": "controlBar" @@ -41943,15 +41412,15 @@ }, "property": { "type": "Identifier", - "start": 23963, - "end": 23973, + "start": 23730, + "end": 23740, "loc": { "start": { - "line": 716, + "line": 712, "column": 35 }, "end": { - "line": 716, + "line": 712, "column": 45 }, "identifierName": "playToggle" @@ -41962,15 +41431,15 @@ }, "property": { "type": "Identifier", - "start": 23974, - "end": 23982, + "start": 23741, + "end": 23749, "loc": { "start": { - "line": 716, + "line": 712, "column": 46 }, "end": { - "line": 716, + "line": 712, "column": 54 }, "identifierName": "hasClass" @@ -41982,15 +41451,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23983, - "end": 23994, + "start": 23750, + "end": 23761, "loc": { "start": { - "line": 716, + "line": 712, "column": 55 }, "end": { - "line": 716, + "line": 712, "column": 66 } }, @@ -42005,129 +41474,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 23997, - "end": 24080, + "start": 23764, + "end": 23847, "loc": { "start": { - "line": 716, + "line": 712, "column": 69 }, "end": { - "line": 718, + "line": 714, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 24011, - "end": 24070, + "start": 23778, + "end": 23837, "loc": { "start": { - "line": 717, + "line": 713, "column": 12 }, "end": { - "line": 717, + "line": 713, "column": 71 } }, "expression": { "type": "CallExpression", - "start": 24011, - "end": 24069, + "start": 23778, + "end": 23836, "loc": { "start": { - "line": 717, + "line": 713, "column": 12 }, "end": { - "line": 717, + "line": 713, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 24011, - "end": 24056, + "start": 23778, + "end": 23823, "loc": { "start": { - "line": 717, + "line": 713, "column": 12 }, "end": { - "line": 717, + "line": 713, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 24011, - "end": 24044, + "start": 23778, + "end": 23811, "loc": { "start": { - "line": 717, + "line": 713, "column": 12 }, "end": { - "line": 717, + "line": 713, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 24011, - "end": 24033, + "start": 23778, + "end": 23800, "loc": { "start": { - "line": 717, + "line": 713, "column": 12 }, "end": { - "line": 717, + "line": 713, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 24011, - "end": 24022, + "start": 23778, + "end": 23789, "loc": { "start": { - "line": 717, + "line": 713, "column": 12 }, "end": { - "line": 717, + "line": 713, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 24011, - "end": 24015, + "start": 23778, + "end": 23782, "loc": { "start": { - "line": 717, + "line": 713, "column": 12 }, "end": { - "line": 717, + "line": 713, "column": 16 } } }, "property": { "type": "Identifier", - "start": 24016, - "end": 24022, + "start": 23783, + "end": 23789, "loc": { "start": { - "line": 717, + "line": 713, "column": 17 }, "end": { - "line": 717, + "line": 713, "column": 23 }, "identifierName": "player" @@ -42138,15 +41607,15 @@ }, "property": { "type": "Identifier", - "start": 24023, - "end": 24033, + "start": 23790, + "end": 23800, "loc": { "start": { - "line": 717, + "line": 713, "column": 24 }, "end": { - "line": 717, + "line": 713, "column": 34 }, "identifierName": "controlBar" @@ -42157,15 +41626,15 @@ }, "property": { "type": "Identifier", - "start": 24034, - "end": 24044, + "start": 23801, + "end": 23811, "loc": { "start": { - "line": 717, + "line": 713, "column": 35 }, "end": { - "line": 717, + "line": 713, "column": 45 }, "identifierName": "playToggle" @@ -42176,15 +41645,15 @@ }, "property": { "type": "Identifier", - "start": 24045, - "end": 24056, + "start": 23812, + "end": 23823, "loc": { "start": { - "line": 717, + "line": 713, "column": 46 }, "end": { - "line": 717, + "line": 713, "column": 57 }, "identifierName": "removeClass" @@ -42196,15 +41665,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 24057, - "end": 24068, + "start": 23824, + "end": 23835, "loc": { "start": { - "line": 717, + "line": 713, "column": 58 }, "end": { - "line": 717, + "line": 713, "column": 69 } }, @@ -42224,86 +41693,86 @@ }, { "type": "IfStatement", - "start": 24089, - "end": 24197, + "start": 23856, + "end": 23964, "loc": { "start": { - "line": 719, + "line": 715, "column": 8 }, "end": { - "line": 723, + "line": 719, "column": 9 } }, "test": { "type": "CallExpression", - "start": 24093, - "end": 24116, + "start": 23860, + "end": 23883, "loc": { "start": { - "line": 719, + "line": 715, "column": 12 }, "end": { - "line": 719, + "line": 715, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 24093, - "end": 24114, + "start": 23860, + "end": 23881, "loc": { "start": { - "line": 719, + "line": 715, "column": 12 }, "end": { - "line": 719, + "line": 715, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 24093, - "end": 24104, + "start": 23860, + "end": 23871, "loc": { "start": { - "line": 719, + "line": 715, "column": 12 }, "end": { - "line": 719, + "line": 715, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 24093, - "end": 24097, + "start": 23860, + "end": 23864, "loc": { "start": { - "line": 719, + "line": 715, "column": 12 }, "end": { - "line": 719, + "line": 715, "column": 16 } } }, "property": { "type": "Identifier", - "start": 24098, - "end": 24104, + "start": 23865, + "end": 23871, "loc": { "start": { - "line": 719, + "line": 715, "column": 17 }, "end": { - "line": 719, + "line": 715, "column": 23 }, "identifierName": "surfer" @@ -42314,15 +41783,15 @@ }, "property": { "type": "Identifier", - "start": 24105, - "end": 24114, + "start": 23872, + "end": 23881, "loc": { "start": { - "line": 719, + "line": 715, "column": 24 }, "end": { - "line": 719, + "line": 715, "column": 33 }, "identifierName": "isPlaying" @@ -42335,87 +41804,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 24118, - "end": 24155, + "start": 23885, + "end": 23922, "loc": { "start": { - "line": 719, + "line": 715, "column": 37 }, "end": { - "line": 721, + "line": 717, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 24132, - "end": 24145, + "start": 23899, + "end": 23912, "loc": { "start": { - "line": 720, + "line": 716, "column": 12 }, "end": { - "line": 720, + "line": 716, "column": 25 } }, "expression": { "type": "CallExpression", - "start": 24132, - "end": 24144, + "start": 23899, + "end": 23911, "loc": { "start": { - "line": 720, + "line": 716, "column": 12 }, "end": { - "line": 720, + "line": 716, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 24132, - "end": 24142, + "start": 23899, + "end": 23909, "loc": { "start": { - "line": 720, + "line": 716, "column": 12 }, "end": { - "line": 720, + "line": 716, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 24132, - "end": 24136, + "start": 23899, + "end": 23903, "loc": { "start": { - "line": 720, + "line": 716, "column": 12 }, "end": { - "line": 720, + "line": 716, "column": 16 } } }, "property": { "type": "Identifier", - "start": 24137, - "end": 24142, + "start": 23904, + "end": 23909, "loc": { "start": { - "line": 720, + "line": 716, "column": 17 }, "end": { - "line": 720, + "line": 716, "column": 22 }, "identifierName": "pause" @@ -42432,87 +41901,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 24161, - "end": 24197, + "start": 23928, + "end": 23964, "loc": { "start": { - "line": 721, + "line": 717, "column": 15 }, "end": { - "line": 723, + "line": 719, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 24175, - "end": 24187, + "start": 23942, + "end": 23954, "loc": { "start": { - "line": 722, + "line": 718, "column": 12 }, "end": { - "line": 722, + "line": 718, "column": 24 } }, "expression": { "type": "CallExpression", - "start": 24175, - "end": 24186, + "start": 23942, + "end": 23953, "loc": { "start": { - "line": 722, + "line": 718, "column": 12 }, "end": { - "line": 722, + "line": 718, "column": 23 } }, "callee": { "type": "MemberExpression", - "start": 24175, - "end": 24184, + "start": 23942, + "end": 23951, "loc": { "start": { - "line": 722, + "line": 718, "column": 12 }, "end": { - "line": 722, + "line": 718, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 24175, - "end": 24179, + "start": 23942, + "end": 23946, "loc": { "start": { - "line": 722, + "line": 718, "column": 12 }, "end": { - "line": 722, + "line": 718, "column": 16 } } }, "property": { "type": "Identifier", - "start": 24180, - "end": 24184, + "start": 23947, + "end": 23951, "loc": { "start": { - "line": 722, + "line": 718, "column": 17 }, "end": { - "line": 722, + "line": 718, "column": 21 }, "identifierName": "play" @@ -42536,15 +42005,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the play toggle is clicked.\n * @private\n ", - "start": 23770, - "end": 23843, + "start": 23537, + "end": 23610, "loc": { "start": { - "line": 710, + "line": 706, "column": 4 }, "end": { - "line": 713, + "line": 709, "column": 7 } } @@ -42554,15 +42023,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the volume in the video.js player changes.\n * @private\n ", - "start": 24209, - "end": 24297, + "start": 23976, + "end": 24064, "loc": { "start": { - "line": 726, + "line": 722, "column": 4 }, "end": { - "line": 729, + "line": 725, "column": 7 } } @@ -42571,15 +42040,15 @@ }, { "type": "ClassMethod", - "start": 24302, - "end": 24545, + "start": 24069, + "end": 24312, "loc": { "start": { - "line": 730, + "line": 726, "column": 4 }, "end": { - "line": 739, + "line": 735, "column": 5 } }, @@ -42587,15 +42056,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 24302, - "end": 24316, + "start": 24069, + "end": 24083, "loc": { "start": { - "line": 730, + "line": 726, "column": 4 }, "end": { - "line": 730, + "line": 726, "column": 18 }, "identifierName": "onVolumeChange" @@ -42611,59 +42080,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 24319, - "end": 24545, + "start": 24086, + "end": 24312, "loc": { "start": { - "line": 730, + "line": 726, "column": 21 }, "end": { - "line": 739, + "line": 735, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 24329, - "end": 24363, + "start": 24096, + "end": 24130, "loc": { "start": { - "line": 731, + "line": 727, "column": 8 }, "end": { - "line": 731, + "line": 727, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24333, - "end": 24362, + "start": 24100, + "end": 24129, "loc": { "start": { - "line": 731, + "line": 727, "column": 12 }, "end": { - "line": 731, + "line": 727, "column": 41 } }, "id": { "type": "Identifier", - "start": 24333, - "end": 24339, + "start": 24100, + "end": 24106, "loc": { "start": { - "line": 731, + "line": 727, "column": 12 }, "end": { - "line": 731, + "line": 727, "column": 18 }, "identifierName": "volume" @@ -42672,72 +42141,72 @@ }, "init": { "type": "CallExpression", - "start": 24342, - "end": 24362, + "start": 24109, + "end": 24129, "loc": { "start": { - "line": 731, + "line": 727, "column": 21 }, "end": { - "line": 731, + "line": 727, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 24342, - "end": 24360, + "start": 24109, + "end": 24127, "loc": { "start": { - "line": 731, + "line": 727, "column": 21 }, "end": { - "line": 731, + "line": 727, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 24342, - "end": 24353, + "start": 24109, + "end": 24120, "loc": { "start": { - "line": 731, + "line": 727, "column": 21 }, "end": { - "line": 731, + "line": 727, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 24342, - "end": 24346, + "start": 24109, + "end": 24113, "loc": { "start": { - "line": 731, + "line": 727, "column": 21 }, "end": { - "line": 731, + "line": 727, "column": 25 } } }, "property": { "type": "Identifier", - "start": 24347, - "end": 24353, + "start": 24114, + "end": 24120, "loc": { "start": { - "line": 731, + "line": 727, "column": 26 }, "end": { - "line": 731, + "line": 727, "column": 32 }, "identifierName": "player" @@ -42748,15 +42217,15 @@ }, "property": { "type": "Identifier", - "start": 24354, - "end": 24360, + "start": 24121, + "end": 24127, "loc": { "start": { - "line": 731, + "line": 727, "column": 33 }, "end": { - "line": 731, + "line": 727, "column": 39 }, "identifierName": "volume" @@ -42773,86 +42242,86 @@ }, { "type": "IfStatement", - "start": 24372, - "end": 24460, + "start": 24139, + "end": 24227, "loc": { "start": { - "line": 732, + "line": 728, "column": 8 }, "end": { - "line": 735, + "line": 731, "column": 9 } }, "test": { "type": "CallExpression", - "start": 24376, - "end": 24395, + "start": 24143, + "end": 24162, "loc": { "start": { - "line": 732, + "line": 728, "column": 12 }, "end": { - "line": 732, + "line": 728, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 24376, - "end": 24393, + "start": 24143, + "end": 24160, "loc": { "start": { - "line": 732, + "line": 728, "column": 12 }, "end": { - "line": 732, + "line": 728, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 24376, - "end": 24387, + "start": 24143, + "end": 24154, "loc": { "start": { - "line": 732, + "line": 728, "column": 12 }, "end": { - "line": 732, + "line": 728, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 24376, - "end": 24380, + "start": 24143, + "end": 24147, "loc": { "start": { - "line": 732, + "line": 728, "column": 12 }, "end": { - "line": 732, + "line": 728, "column": 16 } } }, "property": { "type": "Identifier", - "start": 24381, - "end": 24387, + "start": 24148, + "end": 24154, "loc": { "start": { - "line": 732, + "line": 728, "column": 17 }, "end": { - "line": 732, + "line": 728, "column": 23 }, "identifierName": "player" @@ -42863,15 +42332,15 @@ }, "property": { "type": "Identifier", - "start": 24388, - "end": 24393, + "start": 24155, + "end": 24160, "loc": { "start": { - "line": 732, + "line": 728, "column": 24 }, "end": { - "line": 732, + "line": 728, "column": 29 }, "identifierName": "muted" @@ -42884,59 +42353,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 24397, - "end": 24460, + "start": 24164, + "end": 24227, "loc": { "start": { - "line": 732, + "line": 728, "column": 33 }, "end": { - "line": 735, + "line": 731, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 24439, - "end": 24450, + "start": 24206, + "end": 24217, "loc": { "start": { - "line": 734, + "line": 730, "column": 12 }, "end": { - "line": 734, + "line": 730, "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 24439, - "end": 24449, + "start": 24206, + "end": 24216, "loc": { "start": { - "line": 734, + "line": 730, "column": 12 }, "end": { - "line": 734, + "line": 730, "column": 22 } }, "operator": "=", "left": { "type": "Identifier", - "start": 24439, - "end": 24445, + "start": 24206, + "end": 24212, "loc": { "start": { - "line": 734, + "line": 730, "column": 12 }, "end": { - "line": 734, + "line": 730, "column": 18 }, "identifierName": "volume" @@ -42946,15 +42415,15 @@ }, "right": { "type": "NumericLiteral", - "start": 24448, - "end": 24449, + "start": 24215, + "end": 24216, "loc": { "start": { - "line": 734, + "line": 730, "column": 21 }, "end": { - "line": 734, + "line": 730, "column": 22 } }, @@ -42970,15 +42439,15 @@ { "type": "CommentLine", "value": " muted volume", - "start": 24411, - "end": 24426, + "start": 24178, + "end": 24193, "loc": { "start": { - "line": 733, + "line": 729, "column": 12 }, "end": { - "line": 733, + "line": 729, "column": 27 } } @@ -42994,15 +42463,15 @@ { "type": "CommentLine", "value": " update wavesurfer.js volume", - "start": 24470, - "end": 24500, + "start": 24237, + "end": 24267, "loc": { "start": { - "line": 737, + "line": 733, "column": 8 }, "end": { - "line": 737, + "line": 733, "column": 38 } } @@ -43011,71 +42480,71 @@ }, { "type": "ExpressionStatement", - "start": 24509, - "end": 24539, + "start": 24276, + "end": 24306, "loc": { "start": { - "line": 738, + "line": 734, "column": 8 }, "end": { - "line": 738, + "line": 734, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 24509, - "end": 24538, + "start": 24276, + "end": 24305, "loc": { "start": { - "line": 738, + "line": 734, "column": 8 }, "end": { - "line": 738, + "line": 734, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 24509, - "end": 24530, + "start": 24276, + "end": 24297, "loc": { "start": { - "line": 738, + "line": 734, "column": 8 }, "end": { - "line": 738, + "line": 734, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 24509, - "end": 24520, + "start": 24276, + "end": 24287, "loc": { "start": { - "line": 738, + "line": 734, "column": 8 }, "end": { - "line": 738, + "line": 734, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 24509, - "end": 24513, + "start": 24276, + "end": 24280, "loc": { "start": { - "line": 738, + "line": 734, "column": 8 }, "end": { - "line": 738, + "line": 734, "column": 12 } }, @@ -43083,15 +42552,15 @@ }, "property": { "type": "Identifier", - "start": 24514, - "end": 24520, + "start": 24281, + "end": 24287, "loc": { "start": { - "line": 738, + "line": 734, "column": 13 }, "end": { - "line": 738, + "line": 734, "column": 19 }, "identifierName": "surfer" @@ -43103,15 +42572,15 @@ }, "property": { "type": "Identifier", - "start": 24521, - "end": 24530, + "start": 24288, + "end": 24297, "loc": { "start": { - "line": 738, + "line": 734, "column": 20 }, "end": { - "line": 738, + "line": 734, "column": 29 }, "identifierName": "setVolume" @@ -43124,15 +42593,15 @@ "arguments": [ { "type": "Identifier", - "start": 24531, - "end": 24537, + "start": 24298, + "end": 24304, "loc": { "start": { - "line": 738, + "line": 734, "column": 30 }, "end": { - "line": 738, + "line": 734, "column": 36 }, "identifierName": "volume" @@ -43146,15 +42615,15 @@ { "type": "CommentLine", "value": " update wavesurfer.js volume", - "start": 24470, - "end": 24500, + "start": 24237, + "end": 24267, "loc": { "start": { - "line": 737, + "line": 733, "column": 8 }, "end": { - "line": 737, + "line": 733, "column": 38 } } @@ -43169,15 +42638,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the volume in the video.js player changes.\n * @private\n ", - "start": 24209, - "end": 24297, + "start": 23976, + "end": 24064, "loc": { "start": { - "line": 726, + "line": 722, "column": 4 }, "end": { - "line": 729, + "line": 725, "column": 7 } } @@ -43187,15 +42656,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n ", - "start": 24551, - "end": 24655, + "start": 24318, + "end": 24422, "loc": { "start": { - "line": 741, + "line": 737, "column": 4 }, "end": { - "line": 744, + "line": 740, "column": 7 } } @@ -43204,15 +42673,15 @@ }, { "type": "ClassMethod", - "start": 24660, - "end": 25634, + "start": 24427, + "end": 25401, "loc": { "start": { - "line": 745, + "line": 741, "column": 4 }, "end": { - "line": 771, + "line": 767, "column": 5 } }, @@ -43220,15 +42689,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 24660, - "end": 24674, + "start": 24427, + "end": 24441, "loc": { "start": { - "line": 745, + "line": 741, "column": 4 }, "end": { - "line": 745, + "line": 741, "column": 18 }, "identifierName": "onScreenChange" @@ -43244,59 +42713,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 24677, - "end": 25634, + "start": 24444, + "end": 25401, "loc": { "start": { - "line": 745, + "line": 741, "column": 21 }, "end": { - "line": 771, + "line": 767, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 24811, - "end": 25628, + "start": 24578, + "end": 25395, "loc": { "start": { - "line": 748, + "line": 744, "column": 8 }, "end": { - "line": 770, + "line": 766, "column": 16 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24815, - "end": 25627, + "start": 24582, + "end": 25394, "loc": { "start": { - "line": 748, + "line": 744, "column": 12 }, "end": { - "line": 770, + "line": 766, "column": 15 } }, "id": { "type": "Identifier", - "start": 24815, - "end": 24830, + "start": 24582, + "end": 24597, "loc": { "start": { - "line": 748, + "line": 744, "column": 12 }, "end": { - "line": 748, + "line": 744, "column": 27 }, "identifierName": "fullscreenDelay" @@ -43306,72 +42775,72 @@ }, "init": { "type": "CallExpression", - "start": 24833, - "end": 25627, + "start": 24600, + "end": 25394, "loc": { "start": { - "line": 748, + "line": 744, "column": 30 }, "end": { - "line": 770, + "line": 766, "column": 15 } }, "callee": { "type": "MemberExpression", - "start": 24833, - "end": 24856, + "start": 24600, + "end": 24623, "loc": { "start": { - "line": 748, + "line": 744, "column": 30 }, "end": { - "line": 748, + "line": 744, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 24833, - "end": 24844, + "start": 24600, + "end": 24611, "loc": { "start": { - "line": 748, + "line": 744, "column": 30 }, "end": { - "line": 748, + "line": 744, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 24833, - "end": 24837, + "start": 24600, + "end": 24604, "loc": { "start": { - "line": 748, + "line": 744, "column": 30 }, "end": { - "line": 748, + "line": 744, "column": 34 } } }, "property": { "type": "Identifier", - "start": 24838, - "end": 24844, + "start": 24605, + "end": 24611, "loc": { "start": { - "line": 748, + "line": 744, "column": 35 }, "end": { - "line": 748, + "line": 744, "column": 41 }, "identifierName": "player" @@ -43382,15 +42851,15 @@ }, "property": { "type": "Identifier", - "start": 24845, - "end": 24856, + "start": 24612, + "end": 24623, "loc": { "start": { - "line": 748, + "line": 744, "column": 42 }, "end": { - "line": 748, + "line": 744, "column": 53 }, "identifierName": "setInterval" @@ -43402,15 +42871,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 24857, - "end": 25621, + "start": 24624, + "end": 25388, "loc": { "start": { - "line": 748, + "line": 744, "column": 54 }, "end": { - "line": 770, + "line": 766, "column": 9 } }, @@ -43421,59 +42890,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 24863, - "end": 25621, + "start": 24630, + "end": 25388, "loc": { "start": { - "line": 748, + "line": 744, "column": 60 }, "end": { - "line": 770, + "line": 766, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 24877, - "end": 24923, + "start": 24644, + "end": 24690, "loc": { "start": { - "line": 749, + "line": 745, "column": 12 }, "end": { - "line": 749, + "line": 745, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24881, - "end": 24922, + "start": 24648, + "end": 24689, "loc": { "start": { - "line": 749, + "line": 745, "column": 16 }, "end": { - "line": 749, + "line": 745, "column": 57 } }, "id": { "type": "Identifier", - "start": 24881, - "end": 24893, + "start": 24648, + "end": 24660, "loc": { "start": { - "line": 749, + "line": 745, "column": 16 }, "end": { - "line": 749, + "line": 745, "column": 28 }, "identifierName": "isFullscreen" @@ -43482,72 +42951,72 @@ }, "init": { "type": "CallExpression", - "start": 24896, - "end": 24922, + "start": 24663, + "end": 24689, "loc": { "start": { - "line": 749, + "line": 745, "column": 31 }, "end": { - "line": 749, + "line": 745, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 24896, - "end": 24920, + "start": 24663, + "end": 24687, "loc": { "start": { - "line": 749, + "line": 745, "column": 31 }, "end": { - "line": 749, + "line": 745, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 24896, - "end": 24907, + "start": 24663, + "end": 24674, "loc": { "start": { - "line": 749, + "line": 745, "column": 31 }, "end": { - "line": 749, + "line": 745, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 24896, - "end": 24900, + "start": 24663, + "end": 24667, "loc": { "start": { - "line": 749, + "line": 745, "column": 31 }, "end": { - "line": 749, + "line": 745, "column": 35 } } }, "property": { "type": "Identifier", - "start": 24901, - "end": 24907, + "start": 24668, + "end": 24674, "loc": { "start": { - "line": 749, + "line": 745, "column": 36 }, "end": { - "line": 749, + "line": 745, "column": 42 }, "identifierName": "player" @@ -43558,15 +43027,15 @@ }, "property": { "type": "Identifier", - "start": 24908, - "end": 24920, + "start": 24675, + "end": 24687, "loc": { "start": { - "line": 749, + "line": 745, "column": 43 }, "end": { - "line": 749, + "line": 745, "column": 55 }, "identifierName": "isFullscreen" @@ -43583,44 +43052,44 @@ }, { "type": "VariableDeclaration", - "start": 24936, - "end": 24960, + "start": 24703, + "end": 24727, "loc": { "start": { - "line": 750, + "line": 746, "column": 12 }, "end": { - "line": 750, + "line": 746, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24940, - "end": 24948, + "start": 24707, + "end": 24715, "loc": { "start": { - "line": 750, + "line": 746, "column": 16 }, "end": { - "line": 750, + "line": 746, "column": 24 } }, "id": { "type": "Identifier", - "start": 24940, - "end": 24948, + "start": 24707, + "end": 24715, "loc": { "start": { - "line": 750, + "line": 746, "column": 16 }, "end": { - "line": 750, + "line": 746, "column": 24 }, "identifierName": "newWidth" @@ -43631,29 +43100,29 @@ }, { "type": "VariableDeclarator", - "start": 24950, - "end": 24959, + "start": 24717, + "end": 24726, "loc": { "start": { - "line": 750, + "line": 746, "column": 26 }, "end": { - "line": 750, + "line": 746, "column": 35 } }, "id": { "type": "Identifier", - "start": 24950, - "end": 24959, + "start": 24717, + "end": 24726, "loc": { "start": { - "line": 750, + "line": 746, "column": 26 }, "end": { - "line": 750, + "line": 746, "column": 35 }, "identifierName": "newHeight" @@ -43667,29 +43136,29 @@ }, { "type": "IfStatement", - "start": 24973, - "end": 25150, + "start": 24740, + "end": 24917, "loc": { "start": { - "line": 751, + "line": 747, "column": 12 }, "end": { - "line": 755, + "line": 751, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 24977, - "end": 24990, + "start": 24744, + "end": 24757, "loc": { "start": { - "line": 751, + "line": 747, "column": 16 }, "end": { - "line": 751, + "line": 747, "column": 29 } }, @@ -43697,15 +43166,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 24978, - "end": 24990, + "start": 24745, + "end": 24757, "loc": { "start": { - "line": 751, + "line": 747, "column": 17 }, "end": { - "line": 751, + "line": 747, "column": 29 }, "identifierName": "isFullscreen" @@ -43718,59 +43187,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 24992, - "end": 25150, + "start": 24759, + "end": 24917, "loc": { "start": { - "line": 751, + "line": 747, "column": 31 }, "end": { - "line": 755, + "line": 751, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 25057, - "end": 25087, + "start": 24824, + "end": 24854, "loc": { "start": { - "line": 753, + "line": 749, "column": 16 }, "end": { - "line": 753, + "line": 749, "column": 46 } }, "expression": { "type": "AssignmentExpression", - "start": 25057, - "end": 25086, + "start": 24824, + "end": 24853, "loc": { "start": { - "line": 753, + "line": 749, "column": 16 }, "end": { - "line": 753, + "line": 749, "column": 45 } }, "operator": "=", "left": { "type": "Identifier", - "start": 25057, - "end": 25065, + "start": 24824, + "end": 24832, "loc": { "start": { - "line": 753, + "line": 749, "column": 16 }, "end": { - "line": 753, + "line": 749, "column": 24 }, "identifierName": "newWidth" @@ -43780,44 +43249,44 @@ }, "right": { "type": "MemberExpression", - "start": 25068, - "end": 25086, + "start": 24835, + "end": 24853, "loc": { "start": { - "line": 753, + "line": 749, "column": 27 }, "end": { - "line": 753, + "line": 749, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 25068, - "end": 25072, + "start": 24835, + "end": 24839, "loc": { "start": { - "line": 753, + "line": 749, "column": 27 }, "end": { - "line": 753, + "line": 749, "column": 31 } } }, "property": { "type": "Identifier", - "start": 25073, - "end": 25086, + "start": 24840, + "end": 24853, "loc": { "start": { - "line": 753, + "line": 749, "column": 32 }, "end": { - "line": 753, + "line": 749, "column": 45 }, "identifierName": "originalWidth" @@ -43832,15 +43301,15 @@ { "type": "CommentLine", "value": " restore original dimensions", - "start": 25010, - "end": 25040, + "start": 24777, + "end": 24807, "loc": { "start": { - "line": 752, + "line": 748, "column": 16 }, "end": { - "line": 752, + "line": 748, "column": 46 } } @@ -43849,44 +43318,44 @@ }, { "type": "ExpressionStatement", - "start": 25104, - "end": 25136, + "start": 24871, + "end": 24903, "loc": { "start": { - "line": 754, + "line": 750, "column": 16 }, "end": { - "line": 754, + "line": 750, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 25104, - "end": 25135, + "start": 24871, + "end": 24902, "loc": { "start": { - "line": 754, + "line": 750, "column": 16 }, "end": { - "line": 754, + "line": 750, "column": 47 } }, "operator": "=", "left": { "type": "Identifier", - "start": 25104, - "end": 25113, + "start": 24871, + "end": 24880, "loc": { "start": { - "line": 754, + "line": 750, "column": 16 }, "end": { - "line": 754, + "line": 750, "column": 25 }, "identifierName": "newHeight" @@ -43895,44 +43364,44 @@ }, "right": { "type": "MemberExpression", - "start": 25116, - "end": 25135, + "start": 24883, + "end": 24902, "loc": { "start": { - "line": 754, + "line": 750, "column": 28 }, "end": { - "line": 754, + "line": 750, "column": 47 } }, "object": { "type": "ThisExpression", - "start": 25116, - "end": 25120, + "start": 24883, + "end": 24887, "loc": { "start": { - "line": 754, + "line": 750, "column": 28 }, "end": { - "line": 754, + "line": 750, "column": 32 } } }, "property": { "type": "Identifier", - "start": 25121, - "end": 25135, + "start": 24888, + "end": 24902, "loc": { "start": { - "line": 754, + "line": 750, "column": 33 }, "end": { - "line": 754, + "line": 750, "column": 47 }, "identifierName": "originalHeight" @@ -43950,58 +43419,58 @@ }, { "type": "IfStatement", - "start": 25164, - "end": 25508, + "start": 24931, + "end": 25275, "loc": { "start": { - "line": 757, + "line": 753, "column": 12 }, "end": { - "line": 765, + "line": 761, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 25168, - "end": 25182, + "start": 24935, + "end": 24949, "loc": { "start": { - "line": 757, + "line": 753, "column": 16 }, "end": { - "line": 757, + "line": 753, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 25168, - "end": 25172, + "start": 24935, + "end": 24939, "loc": { "start": { - "line": 757, + "line": 753, "column": 16 }, "end": { - "line": 757, + "line": 753, "column": 20 } } }, "property": { "type": "Identifier", - "start": 25173, - "end": 25182, + "start": 24940, + "end": 24949, "loc": { "start": { - "line": 757, + "line": 753, "column": 21 }, "end": { - "line": 757, + "line": 753, "column": 30 }, "identifierName": "waveReady" @@ -44012,87 +43481,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 25184, - "end": 25508, + "start": 24951, + "end": 25275, "loc": { "start": { - "line": 757, + "line": 753, "column": 32 }, "end": { - "line": 765, + "line": 761, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 25202, - "end": 25410, + "start": 24969, + "end": 25177, "loc": { "start": { - "line": 758, + "line": 754, "column": 16 }, "end": { - "line": 762, + "line": 758, "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 25206, - "end": 25253, + "start": 24973, + "end": 25020, "loc": { "start": { - "line": 758, + "line": 754, "column": 20 }, "end": { - "line": 758, + "line": 754, "column": 67 } }, "left": { "type": "MemberExpression", - "start": 25206, - "end": 25219, + "start": 24973, + "end": 24986, "loc": { "start": { - "line": 758, + "line": 754, "column": 20 }, "end": { - "line": 758, + "line": 754, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 25206, - "end": 25210, + "start": 24973, + "end": 24977, "loc": { "start": { - "line": 758, + "line": 754, "column": 20 }, "end": { - "line": 758, + "line": 754, "column": 24 } } }, "property": { "type": "Identifier", - "start": 25211, - "end": 25219, + "start": 24978, + "end": 24986, "loc": { "start": { - "line": 758, + "line": 754, "column": 25 }, "end": { - "line": 758, + "line": 754, "column": 33 }, "identifierName": "liveMode" @@ -44104,15 +43573,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 25223, - "end": 25253, + "start": 24990, + "end": 25020, "loc": { "start": { - "line": 758, + "line": 754, "column": 37 }, "end": { - "line": 758, + "line": 754, "column": 67 } }, @@ -44120,72 +43589,72 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 25224, - "end": 25253, + "start": 24991, + "end": 25020, "loc": { "start": { - "line": 758, + "line": 754, "column": 38 }, "end": { - "line": 758, + "line": 754, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 25224, - "end": 25246, + "start": 24991, + "end": 25013, "loc": { "start": { - "line": 758, + "line": 754, "column": 38 }, "end": { - "line": 758, + "line": 754, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 25224, - "end": 25235, + "start": 24991, + "end": 25002, "loc": { "start": { - "line": 758, + "line": 754, "column": 38 }, "end": { - "line": 758, + "line": 754, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 25224, - "end": 25228, + "start": 24991, + "end": 24995, "loc": { "start": { - "line": 758, + "line": 754, "column": 38 }, "end": { - "line": 758, + "line": 754, "column": 42 } } }, "property": { "type": "Identifier", - "start": 25229, - "end": 25235, + "start": 24996, + "end": 25002, "loc": { "start": { - "line": 758, + "line": 754, "column": 43 }, "end": { - "line": 758, + "line": 754, "column": 49 }, "identifierName": "surfer" @@ -44196,15 +43665,15 @@ }, "property": { "type": "Identifier", - "start": 25236, - "end": 25246, + "start": 25003, + "end": 25013, "loc": { "start": { - "line": 758, + "line": 754, "column": 50 }, "end": { - "line": 758, + "line": 754, "column": 60 }, "identifierName": "microphone" @@ -44215,15 +43684,15 @@ }, "property": { "type": "Identifier", - "start": 25247, - "end": 25253, + "start": 25014, + "end": 25020, "loc": { "start": { - "line": 758, + "line": 754, "column": 61 }, "end": { - "line": 758, + "line": 754, "column": 67 }, "identifierName": "active" @@ -44239,30 +43708,30 @@ }, "consequent": { "type": "BlockStatement", - "start": 25255, - "end": 25410, + "start": 25022, + "end": 25177, "loc": { "start": { - "line": 758, + "line": 754, "column": 69 }, "end": { - "line": 762, + "line": 758, "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 25385, - "end": 25392, + "start": 25152, + "end": 25159, "loc": { "start": { - "line": 761, + "line": 757, "column": 20 }, "end": { - "line": 761, + "line": 757, "column": 27 } }, @@ -44271,15 +43740,15 @@ { "type": "CommentLine", "value": " we're in live mode but the microphone hasn't been", - "start": 25277, - "end": 25329, + "start": 25044, + "end": 25096, "loc": { "start": { - "line": 759, + "line": 755, "column": 20 }, "end": { - "line": 759, + "line": 755, "column": 72 } } @@ -44287,15 +43756,15 @@ { "type": "CommentLine", "value": " started yet", - "start": 25350, - "end": 25364, + "start": 25117, + "end": 25131, "loc": { "start": { - "line": 760, + "line": 756, "column": 20 }, "end": { - "line": 760, + "line": 756, "column": 34 } } @@ -44311,15 +43780,15 @@ { "type": "CommentLine", "value": " redraw", - "start": 25427, - "end": 25436, + "start": 25194, + "end": 25203, "loc": { "start": { - "line": 763, + "line": 759, "column": 16 }, "end": { - "line": 763, + "line": 759, "column": 25 } } @@ -44328,57 +43797,57 @@ }, { "type": "ExpressionStatement", - "start": 25453, - "end": 25494, + "start": 25220, + "end": 25261, "loc": { "start": { - "line": 764, + "line": 760, "column": 16 }, "end": { - "line": 764, + "line": 760, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 25453, - "end": 25493, + "start": 25220, + "end": 25260, "loc": { "start": { - "line": 764, + "line": 760, "column": 16 }, "end": { - "line": 764, + "line": 760, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 25453, - "end": 25472, + "start": 25220, + "end": 25239, "loc": { "start": { - "line": 764, + "line": 760, "column": 16 }, "end": { - "line": 764, + "line": 760, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 25453, - "end": 25457, + "start": 25220, + "end": 25224, "loc": { "start": { - "line": 764, + "line": 760, "column": 16 }, "end": { - "line": 764, + "line": 760, "column": 20 } }, @@ -44386,15 +43855,15 @@ }, "property": { "type": "Identifier", - "start": 25458, - "end": 25472, + "start": 25225, + "end": 25239, "loc": { "start": { - "line": 764, + "line": 760, "column": 21 }, "end": { - "line": 764, + "line": 760, "column": 35 }, "identifierName": "redrawWaveform" @@ -44407,15 +43876,15 @@ "arguments": [ { "type": "Identifier", - "start": 25473, - "end": 25481, + "start": 25240, + "end": 25248, "loc": { "start": { - "line": 764, + "line": 760, "column": 36 }, "end": { - "line": 764, + "line": 760, "column": 44 }, "identifierName": "newWidth" @@ -44424,15 +43893,15 @@ }, { "type": "Identifier", - "start": 25483, - "end": 25492, + "start": 25250, + "end": 25259, "loc": { "start": { - "line": 764, + "line": 760, "column": 46 }, "end": { - "line": 764, + "line": 760, "column": 55 }, "identifierName": "newHeight" @@ -44446,15 +43915,15 @@ { "type": "CommentLine", "value": " redraw", - "start": 25427, - "end": 25436, + "start": 25194, + "end": 25203, "loc": { "start": { - "line": 763, + "line": 759, "column": 16 }, "end": { - "line": 763, + "line": 759, "column": 25 } } @@ -44470,15 +43939,15 @@ { "type": "CommentLine", "value": " stop fullscreenDelay interval", - "start": 25522, - "end": 25554, + "start": 25289, + "end": 25321, "loc": { "start": { - "line": 767, + "line": 763, "column": 12 }, "end": { - "line": 767, + "line": 763, "column": 44 } } @@ -44487,71 +43956,71 @@ }, { "type": "ExpressionStatement", - "start": 25567, - "end": 25610, + "start": 25334, + "end": 25377, "loc": { "start": { - "line": 768, + "line": 764, "column": 12 }, "end": { - "line": 768, + "line": 764, "column": 55 } }, "expression": { "type": "CallExpression", - "start": 25567, - "end": 25609, + "start": 25334, + "end": 25376, "loc": { "start": { - "line": 768, + "line": 764, "column": 12 }, "end": { - "line": 768, + "line": 764, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 25567, - "end": 25592, + "start": 25334, + "end": 25359, "loc": { "start": { - "line": 768, + "line": 764, "column": 12 }, "end": { - "line": 768, + "line": 764, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 25567, - "end": 25578, + "start": 25334, + "end": 25345, "loc": { "start": { - "line": 768, + "line": 764, "column": 12 }, "end": { - "line": 768, + "line": 764, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 25567, - "end": 25571, + "start": 25334, + "end": 25338, "loc": { "start": { - "line": 768, + "line": 764, "column": 12 }, "end": { - "line": 768, + "line": 764, "column": 16 } }, @@ -44559,15 +44028,15 @@ }, "property": { "type": "Identifier", - "start": 25572, - "end": 25578, + "start": 25339, + "end": 25345, "loc": { "start": { - "line": 768, + "line": 764, "column": 17 }, "end": { - "line": 768, + "line": 764, "column": 23 }, "identifierName": "player" @@ -44579,15 +44048,15 @@ }, "property": { "type": "Identifier", - "start": 25579, - "end": 25592, + "start": 25346, + "end": 25359, "loc": { "start": { - "line": 768, + "line": 764, "column": 24 }, "end": { - "line": 768, + "line": 764, "column": 37 }, "identifierName": "clearInterval" @@ -44600,15 +44069,15 @@ "arguments": [ { "type": "Identifier", - "start": 25593, - "end": 25608, + "start": 25360, + "end": 25375, "loc": { "start": { - "line": 768, + "line": 764, "column": 38 }, "end": { - "line": 768, + "line": 764, "column": 53 }, "identifierName": "fullscreenDelay" @@ -44622,15 +44091,15 @@ { "type": "CommentLine", "value": " stop fullscreenDelay interval", - "start": 25522, - "end": 25554, + "start": 25289, + "end": 25321, "loc": { "start": { - "line": 767, + "line": 763, "column": 12 }, "end": { - "line": 767, + "line": 763, "column": 44 } } @@ -44643,15 +44112,15 @@ }, { "type": "NumericLiteral", - "start": 25623, - "end": 25626, + "start": 25390, + "end": 25393, "loc": { "start": { - "line": 770, + "line": 766, "column": 11 }, "end": { - "line": 770, + "line": 766, "column": 14 } }, @@ -44671,15 +44140,15 @@ { "type": "CommentLine", "value": " execute with tiny delay so the player element completes", - "start": 24687, - "end": 24745, + "start": 24454, + "end": 24512, "loc": { "start": { - "line": 746, + "line": 742, "column": 8 }, "end": { - "line": 746, + "line": 742, "column": 66 } } @@ -44687,15 +44156,15 @@ { "type": "CommentLine", "value": " rendering and correct dimensions are reported", - "start": 24754, - "end": 24802, + "start": 24521, + "end": 24569, "loc": { "start": { - "line": 747, + "line": 743, "column": 8 }, "end": { - "line": 747, + "line": 743, "column": 56 } } @@ -44710,326 +44179,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n ", - "start": 24551, - "end": 24655, - "loc": { - "start": { - "line": 741, - "column": 4 - }, - "end": { - "line": 744, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Fired when the video.js player is resized.\n *\n * @private\n ", - "start": 25640, - "end": 25724, - "loc": { - "start": { - "line": 773, - "column": 4 - }, - "end": { - "line": 777, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 25729, - "end": 25870, - "loc": { - "start": { - "line": 778, - "column": 4 - }, - "end": { - "line": 783, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 25729, - "end": 25743, - "loc": { - "start": { - "line": 778, - "column": 4 - }, - "end": { - "line": 778, - "column": 18 - }, - "identifierName": "onResizeChange" - }, - "name": "onResizeChange", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 25746, - "end": 25870, - "loc": { - "start": { - "line": 778, - "column": 21 - }, - "end": { - "line": 783, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 25756, - "end": 25864, - "loc": { - "start": { - "line": 779, - "column": 8 - }, - "end": { - "line": 782, - "column": 9 - } - }, - "test": { - "type": "BinaryExpression", - "start": 25760, - "end": 25785, - "loc": { - "start": { - "line": 779, - "column": 12 - }, - "end": { - "line": 779, - "column": 37 - } - }, - "left": { - "type": "MemberExpression", - "start": 25760, - "end": 25771, - "loc": { - "start": { - "line": 779, - "column": 12 - }, - "end": { - "line": 779, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 25760, - "end": 25764, - "loc": { - "start": { - "line": 779, - "column": 12 - }, - "end": { - "line": 779, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "start": 25765, - "end": 25771, - "loc": { - "start": { - "line": 779, - "column": 17 - }, - "end": { - "line": 779, - "column": 23 - }, - "identifierName": "surfer" - }, - "name": "surfer" - }, - "computed": false - }, - "operator": "!==", - "right": { - "type": "Identifier", - "start": 25776, - "end": 25785, - "loc": { - "start": { - "line": 779, - "column": 28 - }, - "end": { - "line": 779, - "column": 37 - }, - "identifierName": "undefined" - }, - "name": "undefined" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 25787, - "end": 25864, - "loc": { - "start": { - "line": 779, - "column": 39 - }, - "end": { - "line": 782, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 25832, - "end": 25854, - "loc": { - "start": { - "line": 781, - "column": 12 - }, - "end": { - "line": 781, - "column": 34 - } - }, - "expression": { - "type": "CallExpression", - "start": 25832, - "end": 25853, - "loc": { - "start": { - "line": 781, - "column": 12 - }, - "end": { - "line": 781, - "column": 33 - } - }, - "callee": { - "type": "MemberExpression", - "start": 25832, - "end": 25851, - "loc": { - "start": { - "line": 781, - "column": 12 - }, - "end": { - "line": 781, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 25832, - "end": 25836, - "loc": { - "start": { - "line": 781, - "column": 12 - }, - "end": { - "line": 781, - "column": 16 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 25837, - "end": 25851, - "loc": { - "start": { - "line": 781, - "column": 17 - }, - "end": { - "line": 781, - "column": 31 - }, - "identifierName": "redrawWaveform" - }, - "name": "redrawWaveform" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " redraw waveform", - "start": 25801, - "end": 25819, - "loc": { - "start": { - "line": 780, - "column": 12 - }, - "end": { - "line": 780, - "column": 30 - } - } - } - ] - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Fired when the video.js player is resized.\n *\n * @private\n ", - "start": 25640, - "end": 25724, + "start": 24318, + "end": 24422, "loc": { "start": { - "line": 773, + "line": 737, "column": 4 }, "end": { - "line": 777, + "line": 740, "column": 7 } } @@ -45039,15 +44197,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": 25876, - "end": 26064, + "start": 25407, + "end": 25595, "loc": { "start": { - "line": 785, + "line": 769, "column": 4 }, "end": { - "line": 791, + "line": 775, "column": 7 } } @@ -45056,15 +44214,15 @@ }, { "type": "ClassMethod", - "start": 26069, - "end": 27148, + "start": 25600, + "end": 26679, "loc": { "start": { - "line": 792, + "line": 776, "column": 4 }, "end": { - "line": 821, + "line": 805, "column": 5 } }, @@ -45072,15 +44230,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 26069, - "end": 26083, + "start": 25600, + "end": 25614, "loc": { "start": { - "line": 792, + "line": 776, "column": 4 }, "end": { - "line": 792, + "line": 776, "column": 18 }, "identifierName": "redrawWaveform" @@ -45096,15 +44254,15 @@ "params": [ { "type": "Identifier", - "start": 26084, - "end": 26092, + "start": 25615, + "end": 25623, "loc": { "start": { - "line": 792, + "line": 776, "column": 19 }, "end": { - "line": 792, + "line": 776, "column": 27 }, "identifierName": "newWidth" @@ -45113,15 +44271,15 @@ }, { "type": "Identifier", - "start": 26094, - "end": 26103, + "start": 25625, + "end": 25634, "loc": { "start": { - "line": 792, + "line": 776, "column": 29 }, "end": { - "line": 792, + "line": 776, "column": 38 }, "identifierName": "newHeight" @@ -45131,44 +44289,44 @@ ], "body": { "type": "BlockStatement", - "start": 26105, - "end": 27148, + "start": 25636, + "end": 26679, "loc": { "start": { - "line": 792, + "line": 776, "column": 40 }, "end": { - "line": 821, + "line": 805, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 26115, - "end": 27142, + "start": 25646, + "end": 26673, "loc": { "start": { - "line": 793, + "line": 777, "column": 8 }, "end": { - "line": 820, + "line": 804, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 26119, - "end": 26138, + "start": 25650, + "end": 25669, "loc": { "start": { - "line": 793, + "line": 777, "column": 12 }, "end": { - "line": 793, + "line": 777, "column": 31 } }, @@ -45176,58 +44334,58 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 26120, - "end": 26138, + "start": 25651, + "end": 25669, "loc": { "start": { - "line": 793, + "line": 777, "column": 13 }, "end": { - "line": 793, + "line": 777, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 26120, - "end": 26136, + "start": 25651, + "end": 25667, "loc": { "start": { - "line": 793, + "line": 777, "column": 13 }, "end": { - "line": 793, + "line": 777, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 26120, - "end": 26124, + "start": 25651, + "end": 25655, "loc": { "start": { - "line": 793, + "line": 777, "column": 13 }, "end": { - "line": 793, + "line": 777, "column": 17 } } }, "property": { "type": "Identifier", - "start": 26125, - "end": 26136, + "start": 25656, + "end": 25667, "loc": { "start": { - "line": 793, + "line": 777, "column": 18 }, "end": { - "line": 793, + "line": 777, "column": 29 }, "identifierName": "isDestroyed" @@ -45244,87 +44402,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 26140, - "end": 27142, + "start": 25671, + "end": 26673, "loc": { "start": { - "line": 793, + "line": 777, "column": 33 }, "end": { - "line": 820, + "line": 804, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 26154, - "end": 26556, + "start": 25685, + "end": 26087, "loc": { "start": { - "line": 794, + "line": 778, "column": 12 }, "end": { - "line": 804, + "line": 788, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 26158, - "end": 26173, + "start": 25689, + "end": 25704, "loc": { "start": { - "line": 794, + "line": 778, "column": 16 }, "end": { - "line": 794, + "line": 778, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 26158, - "end": 26169, + "start": 25689, + "end": 25700, "loc": { "start": { - "line": 794, + "line": 778, "column": 16 }, "end": { - "line": 794, + "line": 778, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 26158, - "end": 26162, + "start": 25689, + "end": 25693, "loc": { "start": { - "line": 794, + "line": 778, "column": 16 }, "end": { - "line": 794, + "line": 778, "column": 20 } } }, "property": { "type": "Identifier", - "start": 26163, - "end": 26169, + "start": 25694, + "end": 25700, "loc": { "start": { - "line": 794, + "line": 778, "column": 21 }, "end": { - "line": 794, + "line": 778, "column": 27 }, "identifierName": "player" @@ -45335,15 +44493,15 @@ }, "property": { "type": "Identifier", - "start": 26170, - "end": 26173, + "start": 25701, + "end": 25704, "loc": { "start": { - "line": 794, + "line": 778, "column": 28 }, "end": { - "line": 794, + "line": 778, "column": 31 }, "identifierName": "el_" @@ -45354,59 +44512,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 26175, - "end": 26556, + "start": 25706, + "end": 26087, "loc": { "start": { - "line": 794, + "line": 778, "column": 33 }, "end": { - "line": 804, + "line": 788, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 26193, - "end": 26244, + "start": 25724, + "end": 25775, "loc": { "start": { - "line": 795, + "line": 779, "column": 16 }, "end": { - "line": 795, + "line": 779, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 26197, - "end": 26243, + "start": 25728, + "end": 25774, "loc": { "start": { - "line": 795, + "line": 779, "column": 20 }, "end": { - "line": 795, + "line": 779, "column": 66 } }, "id": { "type": "Identifier", - "start": 26197, - "end": 26201, + "start": 25728, + "end": 25732, "loc": { "start": { - "line": 795, + "line": 779, "column": 20 }, "end": { - "line": 795, + "line": 779, "column": 24 }, "identifierName": "rect" @@ -45415,86 +44573,86 @@ }, "init": { "type": "CallExpression", - "start": 26204, - "end": 26243, + "start": 25735, + "end": 25774, "loc": { "start": { - "line": 795, + "line": 779, "column": 27 }, "end": { - "line": 795, + "line": 779, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 26204, - "end": 26241, + "start": 25735, + "end": 25772, "loc": { "start": { - "line": 795, + "line": 779, "column": 27 }, "end": { - "line": 795, + "line": 779, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 26204, - "end": 26219, + "start": 25735, + "end": 25750, "loc": { "start": { - "line": 795, + "line": 779, "column": 27 }, "end": { - "line": 795, + "line": 779, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 26204, - "end": 26215, + "start": 25735, + "end": 25746, "loc": { "start": { - "line": 795, + "line": 779, "column": 27 }, "end": { - "line": 795, + "line": 779, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 26204, - "end": 26208, + "start": 25735, + "end": 25739, "loc": { "start": { - "line": 795, + "line": 779, "column": 27 }, "end": { - "line": 795, + "line": 779, "column": 31 } } }, "property": { "type": "Identifier", - "start": 26209, - "end": 26215, + "start": 25740, + "end": 25746, "loc": { "start": { - "line": 795, + "line": 779, "column": 32 }, "end": { - "line": 795, + "line": 779, "column": 38 }, "identifierName": "player" @@ -45505,15 +44663,15 @@ }, "property": { "type": "Identifier", - "start": 26216, - "end": 26219, + "start": 25747, + "end": 25750, "loc": { "start": { - "line": 795, + "line": 779, "column": 39 }, "end": { - "line": 795, + "line": 779, "column": 42 }, "identifierName": "el_" @@ -45524,15 +44682,15 @@ }, "property": { "type": "Identifier", - "start": 26220, - "end": 26241, + "start": 25751, + "end": 25772, "loc": { "start": { - "line": 795, + "line": 779, "column": 43 }, "end": { - "line": 795, + "line": 779, "column": 64 }, "identifierName": "getBoundingClientRect" @@ -45549,43 +44707,43 @@ }, { "type": "IfStatement", - "start": 26261, - "end": 26391, + "start": 25792, + "end": 25922, "loc": { "start": { - "line": 796, + "line": 780, "column": 16 }, "end": { - "line": 799, + "line": 783, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 26265, - "end": 26287, + "start": 25796, + "end": 25818, "loc": { "start": { - "line": 796, + "line": 780, "column": 20 }, "end": { - "line": 796, + "line": 780, "column": 42 } }, "left": { "type": "Identifier", - "start": 26265, - "end": 26273, + "start": 25796, + "end": 25804, "loc": { "start": { - "line": 796, + "line": 780, "column": 20 }, "end": { - "line": 796, + "line": 780, "column": 28 }, "identifierName": "newWidth" @@ -45595,15 +44753,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 26278, - "end": 26287, + "start": 25809, + "end": 25818, "loc": { "start": { - "line": 796, + "line": 780, "column": 33 }, "end": { - "line": 796, + "line": 780, "column": 42 }, "identifierName": "undefined" @@ -45613,59 +44771,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 26289, - "end": 26391, + "start": 25820, + "end": 25922, "loc": { "start": { - "line": 796, + "line": 780, "column": 44 }, "end": { - "line": 799, + "line": 783, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 26351, - "end": 26373, + "start": 25882, + "end": 25904, "loc": { "start": { - "line": 798, + "line": 782, "column": 20 }, "end": { - "line": 798, + "line": 782, "column": 42 } }, "expression": { "type": "AssignmentExpression", - "start": 26351, - "end": 26372, + "start": 25882, + "end": 25903, "loc": { "start": { - "line": 798, + "line": 782, "column": 20 }, "end": { - "line": 798, + "line": 782, "column": 41 } }, "operator": "=", "left": { "type": "Identifier", - "start": 26351, - "end": 26359, + "start": 25882, + "end": 25890, "loc": { "start": { - "line": 798, + "line": 782, "column": 20 }, "end": { - "line": 798, + "line": 782, "column": 28 }, "identifierName": "newWidth" @@ -45675,29 +44833,29 @@ }, "right": { "type": "MemberExpression", - "start": 26362, - "end": 26372, + "start": 25893, + "end": 25903, "loc": { "start": { - "line": 798, + "line": 782, "column": 31 }, "end": { - "line": 798, + "line": 782, "column": 41 } }, "object": { "type": "Identifier", - "start": 26362, - "end": 26366, + "start": 25893, + "end": 25897, "loc": { "start": { - "line": 798, + "line": 782, "column": 31 }, "end": { - "line": 798, + "line": 782, "column": 35 }, "identifierName": "rect" @@ -45706,15 +44864,15 @@ }, "property": { "type": "Identifier", - "start": 26367, - "end": 26372, + "start": 25898, + "end": 25903, "loc": { "start": { - "line": 798, + "line": 782, "column": 36 }, "end": { - "line": 798, + "line": 782, "column": 41 }, "identifierName": "width" @@ -45729,15 +44887,15 @@ { "type": "CommentLine", "value": " get player width", - "start": 26311, - "end": 26330, + "start": 25842, + "end": 25861, "loc": { "start": { - "line": 797, + "line": 781, "column": 20 }, "end": { - "line": 797, + "line": 781, "column": 39 } } @@ -45751,43 +44909,43 @@ }, { "type": "IfStatement", - "start": 26408, - "end": 26542, + "start": 25939, + "end": 26073, "loc": { "start": { - "line": 800, + "line": 784, "column": 16 }, "end": { - "line": 803, + "line": 787, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 26412, - "end": 26435, + "start": 25943, + "end": 25966, "loc": { "start": { - "line": 800, + "line": 784, "column": 20 }, "end": { - "line": 800, + "line": 784, "column": 43 } }, "left": { "type": "Identifier", - "start": 26412, - "end": 26421, + "start": 25943, + "end": 25952, "loc": { "start": { - "line": 800, + "line": 784, "column": 20 }, "end": { - "line": 800, + "line": 784, "column": 29 }, "identifierName": "newHeight" @@ -45797,15 +44955,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 26426, - "end": 26435, + "start": 25957, + "end": 25966, "loc": { "start": { - "line": 800, + "line": 784, "column": 34 }, "end": { - "line": 800, + "line": 784, "column": 43 }, "identifierName": "undefined" @@ -45815,59 +44973,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 26437, - "end": 26542, + "start": 25968, + "end": 26073, "loc": { "start": { - "line": 800, + "line": 784, "column": 45 }, "end": { - "line": 803, + "line": 787, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 26500, - "end": 26524, + "start": 26031, + "end": 26055, "loc": { "start": { - "line": 802, + "line": 786, "column": 20 }, "end": { - "line": 802, + "line": 786, "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 26500, - "end": 26523, + "start": 26031, + "end": 26054, "loc": { "start": { - "line": 802, + "line": 786, "column": 20 }, "end": { - "line": 802, + "line": 786, "column": 43 } }, "operator": "=", "left": { "type": "Identifier", - "start": 26500, - "end": 26509, + "start": 26031, + "end": 26040, "loc": { "start": { - "line": 802, + "line": 786, "column": 20 }, "end": { - "line": 802, + "line": 786, "column": 29 }, "identifierName": "newHeight" @@ -45877,29 +45035,29 @@ }, "right": { "type": "MemberExpression", - "start": 26512, - "end": 26523, + "start": 26043, + "end": 26054, "loc": { "start": { - "line": 802, + "line": 786, "column": 32 }, "end": { - "line": 802, + "line": 786, "column": 43 } }, "object": { "type": "Identifier", - "start": 26512, - "end": 26516, + "start": 26043, + "end": 26047, "loc": { "start": { - "line": 802, + "line": 786, "column": 32 }, "end": { - "line": 802, + "line": 786, "column": 36 }, "identifierName": "rect" @@ -45908,15 +45066,15 @@ }, "property": { "type": "Identifier", - "start": 26517, - "end": 26523, + "start": 26048, + "end": 26054, "loc": { "start": { - "line": 802, + "line": 786, "column": 37 }, "end": { - "line": 802, + "line": 786, "column": 43 }, "identifierName": "height" @@ -45931,15 +45089,15 @@ { "type": "CommentLine", "value": " get player height", - "start": 26459, - "end": 26479, + "start": 25990, + "end": 26010, "loc": { "start": { - "line": 801, + "line": 785, "column": 20 }, "end": { - "line": 801, + "line": 785, "column": 40 } } @@ -45960,15 +45118,15 @@ { "type": "CommentLine", "value": " destroy old drawing", - "start": 26570, - "end": 26592, + "start": 26101, + "end": 26123, "loc": { "start": { - "line": 806, + "line": 790, "column": 12 }, "end": { - "line": 806, + "line": 790, "column": 34 } } @@ -45977,85 +45135,85 @@ }, { "type": "ExpressionStatement", - "start": 26605, - "end": 26634, + "start": 26136, + "end": 26165, "loc": { "start": { - "line": 807, + "line": 791, "column": 12 }, "end": { - "line": 807, + "line": 791, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 26605, - "end": 26633, + "start": 26136, + "end": 26164, "loc": { "start": { - "line": 807, + "line": 791, "column": 12 }, "end": { - "line": 807, + "line": 791, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 26605, - "end": 26631, + "start": 26136, + "end": 26162, "loc": { "start": { - "line": 807, + "line": 791, "column": 12 }, "end": { - "line": 807, + "line": 791, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 26605, - "end": 26623, + "start": 26136, + "end": 26154, "loc": { "start": { - "line": 807, + "line": 791, "column": 12 }, "end": { - "line": 807, + "line": 791, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26605, - "end": 26616, + "start": 26136, + "end": 26147, "loc": { "start": { - "line": 807, + "line": 791, "column": 12 }, "end": { - "line": 807, + "line": 791, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26605, - "end": 26609, + "start": 26136, + "end": 26140, "loc": { "start": { - "line": 807, + "line": 791, "column": 12 }, "end": { - "line": 807, + "line": 791, "column": 16 } }, @@ -46063,15 +45221,15 @@ }, "property": { "type": "Identifier", - "start": 26610, - "end": 26616, + "start": 26141, + "end": 26147, "loc": { "start": { - "line": 807, + "line": 791, "column": 17 }, "end": { - "line": 807, + "line": 791, "column": 23 }, "identifierName": "surfer" @@ -46083,15 +45241,15 @@ }, "property": { "type": "Identifier", - "start": 26617, - "end": 26623, + "start": 26148, + "end": 26154, "loc": { "start": { - "line": 807, + "line": 791, "column": 24 }, "end": { - "line": 807, + "line": 791, "column": 30 }, "identifierName": "drawer" @@ -46103,15 +45261,15 @@ }, "property": { "type": "Identifier", - "start": 26624, - "end": 26631, + "start": 26155, + "end": 26162, "loc": { "start": { - "line": 807, + "line": 791, "column": 31 }, "end": { - "line": 807, + "line": 791, "column": 38 }, "identifierName": "destroy" @@ -46128,15 +45286,15 @@ { "type": "CommentLine", "value": " destroy old drawing", - "start": 26570, - "end": 26592, + "start": 26101, + "end": 26123, "loc": { "start": { - "line": 806, + "line": 790, "column": 12 }, "end": { - "line": 806, + "line": 790, "column": 34 } } @@ -46146,15 +45304,15 @@ { "type": "CommentLine", "value": " set new dimensions", - "start": 26648, - "end": 26669, + "start": 26179, + "end": 26200, "loc": { "start": { - "line": 809, + "line": 793, "column": 12 }, "end": { - "line": 809, + "line": 793, "column": 33 } } @@ -46163,86 +45321,86 @@ }, { "type": "ExpressionStatement", - "start": 26682, - "end": 26718, + "start": 26213, + "end": 26249, "loc": { "start": { - "line": 810, + "line": 794, "column": 12 }, "end": { - "line": 810, + "line": 794, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 26682, - "end": 26717, + "start": 26213, + "end": 26248, "loc": { "start": { - "line": 810, + "line": 794, "column": 12 }, "end": { - "line": 810, + "line": 794, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26682, - "end": 26706, + "start": 26213, + "end": 26237, "loc": { "start": { - "line": 810, + "line": 794, "column": 12 }, "end": { - "line": 810, + "line": 794, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 26682, - "end": 26700, + "start": 26213, + "end": 26231, "loc": { "start": { - "line": 810, + "line": 794, "column": 12 }, "end": { - "line": 810, + "line": 794, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26682, - "end": 26693, + "start": 26213, + "end": 26224, "loc": { "start": { - "line": 810, + "line": 794, "column": 12 }, "end": { - "line": 810, + "line": 794, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26682, - "end": 26686, + "start": 26213, + "end": 26217, "loc": { "start": { - "line": 810, + "line": 794, "column": 12 }, "end": { - "line": 810, + "line": 794, "column": 16 } }, @@ -46250,15 +45408,15 @@ }, "property": { "type": "Identifier", - "start": 26687, - "end": 26693, + "start": 26218, + "end": 26224, "loc": { "start": { - "line": 810, + "line": 794, "column": 17 }, "end": { - "line": 810, + "line": 794, "column": 23 }, "identifierName": "surfer" @@ -46270,15 +45428,15 @@ }, "property": { "type": "Identifier", - "start": 26694, - "end": 26700, + "start": 26225, + "end": 26231, "loc": { "start": { - "line": 810, + "line": 794, "column": 24 }, "end": { - "line": 810, + "line": 794, "column": 30 }, "identifierName": "params" @@ -46290,15 +45448,15 @@ }, "property": { "type": "Identifier", - "start": 26701, - "end": 26706, + "start": 26232, + "end": 26237, "loc": { "start": { - "line": 810, + "line": 794, "column": 31 }, "end": { - "line": 810, + "line": 794, "column": 36 }, "identifierName": "width" @@ -46310,15 +45468,15 @@ }, "right": { "type": "Identifier", - "start": 26709, - "end": 26717, + "start": 26240, + "end": 26248, "loc": { "start": { - "line": 810, + "line": 794, "column": 39 }, "end": { - "line": 810, + "line": 794, "column": 47 }, "identifierName": "newWidth" @@ -46331,15 +45489,15 @@ { "type": "CommentLine", "value": " set new dimensions", - "start": 26648, - "end": 26669, + "start": 26179, + "end": 26200, "loc": { "start": { - "line": 809, + "line": 793, "column": 12 }, "end": { - "line": 809, + "line": 793, "column": 33 } } @@ -46348,101 +45506,101 @@ }, { "type": "ExpressionStatement", - "start": 26731, - "end": 26803, + "start": 26262, + "end": 26334, "loc": { "start": { - "line": 811, + "line": 795, "column": 12 }, "end": { - "line": 811, + "line": 795, "column": 84 } }, "expression": { "type": "AssignmentExpression", - "start": 26731, - "end": 26802, + "start": 26262, + "end": 26333, "loc": { "start": { - "line": 811, + "line": 795, "column": 12 }, "end": { - "line": 811, + "line": 795, "column": 83 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26731, - "end": 26756, + "start": 26262, + "end": 26287, "loc": { "start": { - "line": 811, + "line": 795, "column": 12 }, "end": { - "line": 811, + "line": 795, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 26731, - "end": 26749, + "start": 26262, + "end": 26280, "loc": { "start": { - "line": 811, + "line": 795, "column": 12 }, "end": { - "line": 811, + "line": 795, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26731, - "end": 26742, + "start": 26262, + "end": 26273, "loc": { "start": { - "line": 811, + "line": 795, "column": 12 }, "end": { - "line": 811, + "line": 795, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26731, - "end": 26735, + "start": 26262, + "end": 26266, "loc": { "start": { - "line": 811, + "line": 795, "column": 12 }, "end": { - "line": 811, + "line": 795, "column": 16 } } }, "property": { "type": "Identifier", - "start": 26736, - "end": 26742, + "start": 26267, + "end": 26273, "loc": { "start": { - "line": 811, + "line": 795, "column": 17 }, "end": { - "line": 811, + "line": 795, "column": 23 }, "identifierName": "surfer" @@ -46453,15 +45611,15 @@ }, "property": { "type": "Identifier", - "start": 26743, - "end": 26749, + "start": 26274, + "end": 26280, "loc": { "start": { - "line": 811, + "line": 795, "column": 24 }, "end": { - "line": 811, + "line": 795, "column": 30 }, "identifierName": "params" @@ -46472,15 +45630,15 @@ }, "property": { "type": "Identifier", - "start": 26750, - "end": 26756, + "start": 26281, + "end": 26287, "loc": { "start": { - "line": 811, + "line": 795, "column": 31 }, "end": { - "line": 811, + "line": 795, "column": 37 }, "identifierName": "height" @@ -46491,29 +45649,29 @@ }, "right": { "type": "BinaryExpression", - "start": 26759, - "end": 26802, + "start": 26290, + "end": 26333, "loc": { "start": { - "line": 811, + "line": 795, "column": 40 }, "end": { - "line": 811, + "line": 795, "column": 83 } }, "left": { "type": "Identifier", - "start": 26759, - "end": 26768, + "start": 26290, + "end": 26299, "loc": { "start": { - "line": 811, + "line": 795, "column": 40 }, "end": { - "line": 811, + "line": 795, "column": 49 }, "identifierName": "newHeight" @@ -46523,86 +45681,86 @@ "operator": "-", "right": { "type": "CallExpression", - "start": 26771, - "end": 26802, + "start": 26302, + "end": 26333, "loc": { "start": { - "line": 811, + "line": 795, "column": 52 }, "end": { - "line": 811, + "line": 795, "column": 83 } }, "callee": { "type": "MemberExpression", - "start": 26771, - "end": 26800, + "start": 26302, + "end": 26331, "loc": { "start": { - "line": 811, + "line": 795, "column": 52 }, "end": { - "line": 811, + "line": 795, "column": 81 } }, "object": { "type": "MemberExpression", - "start": 26771, - "end": 26793, + "start": 26302, + "end": 26324, "loc": { "start": { - "line": 811, + "line": 795, "column": 52 }, "end": { - "line": 811, + "line": 795, "column": 74 } }, "object": { "type": "MemberExpression", - "start": 26771, - "end": 26782, + "start": 26302, + "end": 26313, "loc": { "start": { - "line": 811, + "line": 795, "column": 52 }, "end": { - "line": 811, + "line": 795, "column": 63 } }, "object": { "type": "ThisExpression", - "start": 26771, - "end": 26775, + "start": 26302, + "end": 26306, "loc": { "start": { - "line": 811, + "line": 795, "column": 52 }, "end": { - "line": 811, + "line": 795, "column": 56 } } }, "property": { "type": "Identifier", - "start": 26776, - "end": 26782, + "start": 26307, + "end": 26313, "loc": { "start": { - "line": 811, + "line": 795, "column": 57 }, "end": { - "line": 811, + "line": 795, "column": 63 }, "identifierName": "player" @@ -46613,15 +45771,15 @@ }, "property": { "type": "Identifier", - "start": 26783, - "end": 26793, + "start": 26314, + "end": 26324, "loc": { "start": { - "line": 811, + "line": 795, "column": 64 }, "end": { - "line": 811, + "line": 795, "column": 74 }, "identifierName": "controlBar" @@ -46632,15 +45790,15 @@ }, "property": { "type": "Identifier", - "start": 26794, - "end": 26800, + "start": 26325, + "end": 26331, "loc": { "start": { - "line": 811, + "line": 795, "column": 75 }, "end": { - "line": 811, + "line": 795, "column": 81 }, "identifierName": "height" @@ -46657,15 +45815,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 26817, - "end": 26835, + "start": 26348, + "end": 26366, "loc": { "start": { - "line": 813, + "line": 797, "column": 12 }, "end": { - "line": 813, + "line": 797, "column": 30 } } @@ -46674,71 +45832,71 @@ }, { "type": "ExpressionStatement", - "start": 26848, - "end": 26875, + "start": 26379, + "end": 26406, "loc": { "start": { - "line": 814, + "line": 798, "column": 12 }, "end": { - "line": 814, + "line": 798, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 26848, - "end": 26874, + "start": 26379, + "end": 26405, "loc": { "start": { - "line": 814, + "line": 798, "column": 12 }, "end": { - "line": 814, + "line": 798, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 26848, - "end": 26872, + "start": 26379, + "end": 26403, "loc": { "start": { - "line": 814, + "line": 798, "column": 12 }, "end": { - "line": 814, + "line": 798, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 26848, - "end": 26859, + "start": 26379, + "end": 26390, "loc": { "start": { - "line": 814, + "line": 798, "column": 12 }, "end": { - "line": 814, + "line": 798, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26848, - "end": 26852, + "start": 26379, + "end": 26383, "loc": { "start": { - "line": 814, + "line": 798, "column": 12 }, "end": { - "line": 814, + "line": 798, "column": 16 } }, @@ -46746,15 +45904,15 @@ }, "property": { "type": "Identifier", - "start": 26853, - "end": 26859, + "start": 26384, + "end": 26390, "loc": { "start": { - "line": 814, + "line": 798, "column": 17 }, "end": { - "line": 814, + "line": 798, "column": 23 }, "identifierName": "surfer" @@ -46766,15 +45924,15 @@ }, "property": { "type": "Identifier", - "start": 26860, - "end": 26872, + "start": 26391, + "end": 26403, "loc": { "start": { - "line": 814, + "line": 798, "column": 24 }, "end": { - "line": 814, + "line": 798, "column": 36 }, "identifierName": "createDrawer" @@ -46791,15 +45949,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 26817, - "end": 26835, + "start": 26348, + "end": 26366, "loc": { "start": { - "line": 813, + "line": 797, "column": 12 }, "end": { - "line": 813, + "line": 797, "column": 30 } } @@ -46808,115 +45966,115 @@ }, { "type": "ExpressionStatement", - "start": 26888, - "end": 26947, + "start": 26419, + "end": 26478, "loc": { "start": { - "line": 815, + "line": 799, "column": 12 }, "end": { - "line": 815, + "line": 799, "column": 71 } }, "expression": { "type": "AssignmentExpression", - "start": 26888, - "end": 26946, + "start": 26419, + "end": 26477, "loc": { "start": { - "line": 815, + "line": 799, "column": 12 }, "end": { - "line": 815, + "line": 799, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26888, - "end": 26924, + "start": 26419, + "end": 26455, "loc": { "start": { - "line": 815, + "line": 799, "column": 12 }, "end": { - "line": 815, + "line": 799, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 26888, - "end": 26914, + "start": 26419, + "end": 26445, "loc": { "start": { - "line": 815, + "line": 799, "column": 12 }, "end": { - "line": 815, + "line": 799, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 26888, - "end": 26906, + "start": 26419, + "end": 26437, "loc": { "start": { - "line": 815, + "line": 799, "column": 12 }, "end": { - "line": 815, + "line": 799, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26888, - "end": 26899, + "start": 26419, + "end": 26430, "loc": { "start": { - "line": 815, + "line": 799, "column": 12 }, "end": { - "line": 815, + "line": 799, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26888, - "end": 26892, + "start": 26419, + "end": 26423, "loc": { "start": { - "line": 815, + "line": 799, "column": 12 }, "end": { - "line": 815, + "line": 799, "column": 16 } } }, "property": { "type": "Identifier", - "start": 26893, - "end": 26899, + "start": 26424, + "end": 26430, "loc": { "start": { - "line": 815, + "line": 799, "column": 17 }, "end": { - "line": 815, + "line": 799, "column": 23 }, "identifierName": "surfer" @@ -46927,15 +46085,15 @@ }, "property": { "type": "Identifier", - "start": 26900, - "end": 26906, + "start": 26431, + "end": 26437, "loc": { "start": { - "line": 815, + "line": 799, "column": 24 }, "end": { - "line": 815, + "line": 799, "column": 30 }, "identifierName": "drawer" @@ -46946,15 +46104,15 @@ }, "property": { "type": "Identifier", - "start": 26907, - "end": 26914, + "start": 26438, + "end": 26445, "loc": { "start": { - "line": 815, + "line": 799, "column": 31 }, "end": { - "line": 815, + "line": 799, "column": 38 }, "identifierName": "wrapper" @@ -46965,15 +46123,15 @@ }, "property": { "type": "Identifier", - "start": 26915, - "end": 26924, + "start": 26446, + "end": 26455, "loc": { "start": { - "line": 815, + "line": 799, "column": 39 }, "end": { - "line": 815, + "line": 799, "column": 48 }, "identifierName": "className" @@ -46984,15 +46142,15 @@ }, "right": { "type": "Identifier", - "start": 26927, - "end": 26946, + "start": 26458, + "end": 26477, "loc": { "start": { - "line": 815, + "line": 799, "column": 51 }, "end": { - "line": 815, + "line": 799, "column": 70 }, "identifierName": "wavesurferClassName" @@ -47003,86 +46161,86 @@ }, { "type": "ExpressionStatement", - "start": 26960, - "end": 26985, + "start": 26491, + "end": 26516, "loc": { "start": { - "line": 816, + "line": 800, "column": 12 }, "end": { - "line": 816, + "line": 800, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 26960, - "end": 26984, + "start": 26491, + "end": 26515, "loc": { "start": { - "line": 816, + "line": 800, "column": 12 }, "end": { - "line": 816, + "line": 800, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 26960, - "end": 26982, + "start": 26491, + "end": 26513, "loc": { "start": { - "line": 816, + "line": 800, "column": 12 }, "end": { - "line": 816, + "line": 800, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 26960, - "end": 26971, + "start": 26491, + "end": 26502, "loc": { "start": { - "line": 816, + "line": 800, "column": 12 }, "end": { - "line": 816, + "line": 800, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26960, - "end": 26964, + "start": 26491, + "end": 26495, "loc": { "start": { - "line": 816, + "line": 800, "column": 12 }, "end": { - "line": 816, + "line": 800, "column": 16 } } }, "property": { "type": "Identifier", - "start": 26965, - "end": 26971, + "start": 26496, + "end": 26502, "loc": { "start": { - "line": 816, + "line": 800, "column": 17 }, "end": { - "line": 816, + "line": 800, "column": 23 }, "identifierName": "surfer" @@ -47093,15 +46251,15 @@ }, "property": { "type": "Identifier", - "start": 26972, - "end": 26982, + "start": 26503, + "end": 26513, "loc": { "start": { - "line": 816, + "line": 800, "column": 24 }, "end": { - "line": 816, + "line": 800, "column": 34 }, "identifierName": "drawBuffer" @@ -47116,15 +46274,15 @@ { "type": "CommentLine", "value": " make sure playhead is restored at right position", - "start": 26999, - "end": 27050, + "start": 26530, + "end": 26581, "loc": { "start": { - "line": 818, + "line": 802, "column": 12 }, "end": { - "line": 818, + "line": 802, "column": 63 } } @@ -47133,85 +46291,85 @@ }, { "type": "ExpressionStatement", - "start": 27063, - "end": 27132, + "start": 26594, + "end": 26663, "loc": { "start": { - "line": 819, + "line": 803, "column": 12 }, "end": { - "line": 819, + "line": 803, "column": 81 } }, "expression": { "type": "CallExpression", - "start": 27063, - "end": 27131, + "start": 26594, + "end": 26662, "loc": { "start": { - "line": 819, + "line": 803, "column": 12 }, "end": { - "line": 819, + "line": 803, "column": 80 } }, "callee": { "type": "MemberExpression", - "start": 27063, - "end": 27090, + "start": 26594, + "end": 26621, "loc": { "start": { - "line": 819, + "line": 803, "column": 12 }, "end": { - "line": 819, + "line": 803, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 27063, - "end": 27081, + "start": 26594, + "end": 26612, "loc": { "start": { - "line": 819, + "line": 803, "column": 12 }, "end": { - "line": 819, + "line": 803, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 27063, - "end": 27074, + "start": 26594, + "end": 26605, "loc": { "start": { - "line": 819, + "line": 803, "column": 12 }, "end": { - "line": 819, + "line": 803, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 27063, - "end": 27067, + "start": 26594, + "end": 26598, "loc": { "start": { - "line": 819, + "line": 803, "column": 12 }, "end": { - "line": 819, + "line": 803, "column": 16 } }, @@ -47219,15 +46377,15 @@ }, "property": { "type": "Identifier", - "start": 27068, - "end": 27074, + "start": 26599, + "end": 26605, "loc": { "start": { - "line": 819, + "line": 803, "column": 17 }, "end": { - "line": 819, + "line": 803, "column": 23 }, "identifierName": "surfer" @@ -47239,15 +46397,15 @@ }, "property": { "type": "Identifier", - "start": 27075, - "end": 27081, + "start": 26606, + "end": 26612, "loc": { "start": { - "line": 819, + "line": 803, "column": 24 }, "end": { - "line": 819, + "line": 803, "column": 30 }, "identifierName": "drawer" @@ -47259,15 +46417,15 @@ }, "property": { "type": "Identifier", - "start": 27082, - "end": 27090, + "start": 26613, + "end": 26621, "loc": { "start": { - "line": 819, + "line": 803, "column": 31 }, "end": { - "line": 819, + "line": 803, "column": 39 }, "identifierName": "progress" @@ -47280,86 +46438,86 @@ "arguments": [ { "type": "CallExpression", - "start": 27091, - "end": 27130, + "start": 26622, + "end": 26661, "loc": { "start": { - "line": 819, + "line": 803, "column": 40 }, "end": { - "line": 819, + "line": 803, "column": 79 } }, "callee": { "type": "MemberExpression", - "start": 27091, - "end": 27128, + "start": 26622, + "end": 26659, "loc": { "start": { - "line": 819, + "line": 803, "column": 40 }, "end": { - "line": 819, + "line": 803, "column": 77 } }, "object": { "type": "MemberExpression", - "start": 27091, - "end": 27110, + "start": 26622, + "end": 26641, "loc": { "start": { - "line": 819, + "line": 803, "column": 40 }, "end": { - "line": 819, + "line": 803, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 27091, - "end": 27102, + "start": 26622, + "end": 26633, "loc": { "start": { - "line": 819, + "line": 803, "column": 40 }, "end": { - "line": 819, + "line": 803, "column": 51 } }, "object": { "type": "ThisExpression", - "start": 27091, - "end": 27095, + "start": 26622, + "end": 26626, "loc": { "start": { - "line": 819, + "line": 803, "column": 40 }, "end": { - "line": 819, + "line": 803, "column": 44 } } }, "property": { "type": "Identifier", - "start": 27096, - "end": 27102, + "start": 26627, + "end": 26633, "loc": { "start": { - "line": 819, + "line": 803, "column": 45 }, "end": { - "line": 819, + "line": 803, "column": 51 }, "identifierName": "surfer" @@ -47370,15 +46528,15 @@ }, "property": { "type": "Identifier", - "start": 27103, - "end": 27110, + "start": 26634, + "end": 26641, "loc": { "start": { - "line": 819, + "line": 803, "column": 52 }, "end": { - "line": 819, + "line": 803, "column": 59 }, "identifierName": "backend" @@ -47389,15 +46547,15 @@ }, "property": { "type": "Identifier", - "start": 27111, - "end": 27128, + "start": 26642, + "end": 26659, "loc": { "start": { - "line": 819, + "line": 803, "column": 60 }, "end": { - "line": 819, + "line": 803, "column": 77 }, "identifierName": "getPlayedPercents" @@ -47415,15 +46573,15 @@ { "type": "CommentLine", "value": " make sure playhead is restored at right position", - "start": 26999, - "end": 27050, + "start": 26530, + "end": 26581, "loc": { "start": { - "line": 818, + "line": 802, "column": 12 }, "end": { - "line": 818, + "line": 802, "column": 63 } } @@ -47443,15 +46601,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": 25876, - "end": 26064, + "start": 25407, + "end": 25595, "loc": { "start": { - "line": 785, + "line": 769, "column": 4 }, "end": { - "line": 791, + "line": 775, "column": 7 } } @@ -47461,15 +46619,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": 27154, - "end": 27423, + "start": 26685, + "end": 26954, "loc": { "start": { - "line": 823, + "line": 807, "column": 4 }, "end": { - "line": 830, + "line": 814, "column": 7 } } @@ -47478,15 +46636,15 @@ }, { "type": "ClassMethod", - "start": 27428, - "end": 27494, + "start": 26959, + "end": 27025, "loc": { "start": { - "line": 831, + "line": 815, "column": 4 }, "end": { - "line": 833, + "line": 817, "column": 5 } }, @@ -47494,15 +46652,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 27428, - "end": 27431, + "start": 26959, + "end": 26962, "loc": { "start": { - "line": 831, + "line": 815, "column": 4 }, "end": { - "line": 831, + "line": 815, "column": 7 }, "identifierName": "log" @@ -47518,15 +46676,15 @@ "params": [ { "type": "Identifier", - "start": 27432, - "end": 27436, + "start": 26963, + "end": 26967, "loc": { "start": { - "line": 831, + "line": 815, "column": 8 }, "end": { - "line": 831, + "line": 815, "column": 12 }, "identifierName": "args" @@ -47535,15 +46693,15 @@ }, { "type": "Identifier", - "start": 27438, - "end": 27445, + "start": 26969, + "end": 26976, "loc": { "start": { - "line": 831, + "line": 815, "column": 14 }, "end": { - "line": 831, + "line": 815, "column": 21 }, "identifierName": "logType" @@ -47553,58 +46711,58 @@ ], "body": { "type": "BlockStatement", - "start": 27447, - "end": 27494, + "start": 26978, + "end": 27025, "loc": { "start": { - "line": 831, + "line": 815, "column": 23 }, "end": { - "line": 833, + "line": 817, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 27457, - "end": 27488, + "start": 26988, + "end": 27019, "loc": { "start": { - "line": 832, + "line": 816, "column": 8 }, "end": { - "line": 832, + "line": 816, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 27457, - "end": 27487, + "start": 26988, + "end": 27018, "loc": { "start": { - "line": 832, + "line": 816, "column": 8 }, "end": { - "line": 832, + "line": 816, "column": 38 } }, "callee": { "type": "Identifier", - "start": 27457, - "end": 27460, + "start": 26988, + "end": 26991, "loc": { "start": { - "line": 832, + "line": 816, "column": 8 }, "end": { - "line": 832, + "line": 816, "column": 11 }, "identifierName": "log" @@ -47614,15 +46772,15 @@ "arguments": [ { "type": "Identifier", - "start": 27461, - "end": 27465, + "start": 26992, + "end": 26996, "loc": { "start": { - "line": 832, + "line": 816, "column": 12 }, "end": { - "line": 832, + "line": 816, "column": 16 }, "identifierName": "args" @@ -47631,15 +46789,15 @@ }, { "type": "Identifier", - "start": 27467, - "end": 27474, + "start": 26998, + "end": 27005, "loc": { "start": { - "line": 832, + "line": 816, "column": 18 }, "end": { - "line": 832, + "line": 816, "column": 25 }, "identifierName": "logType" @@ -47648,44 +46806,44 @@ }, { "type": "MemberExpression", - "start": 27476, - "end": 27486, + "start": 27007, + "end": 27017, "loc": { "start": { - "line": 832, + "line": 816, "column": 27 }, "end": { - "line": 832, + "line": 816, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 27476, - "end": 27480, + "start": 27007, + "end": 27011, "loc": { "start": { - "line": 832, + "line": 816, "column": 27 }, "end": { - "line": 832, + "line": 816, "column": 31 } } }, "property": { "type": "Identifier", - "start": 27481, - "end": 27486, + "start": 27012, + "end": 27017, "loc": { "start": { - "line": 832, + "line": 816, "column": 32 }, "end": { - "line": 832, + "line": 816, "column": 37 }, "identifierName": "debug" @@ -47705,15 +46863,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": 27154, - "end": 27423, + "start": 26685, + "end": 26954, "loc": { "start": { - "line": 823, + "line": 807, "column": 4 }, "end": { - "line": 830, + "line": 814, "column": 7 } } @@ -47723,15 +46881,15 @@ { "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, + "start": 27031, + "end": 27370, "loc": { "start": { - "line": 835, + "line": 819, "column": 4 }, "end": { - "line": 841, + "line": 825, "column": 7 } } @@ -47740,15 +46898,15 @@ }, { "type": "ClassMethod", - "start": 27844, - "end": 27986, + "start": 27375, + "end": 27517, "loc": { "start": { - "line": 842, + "line": 826, "column": 4 }, "end": { - "line": 846, + "line": 830, "column": 5 } }, @@ -47756,15 +46914,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 27844, - "end": 27857, + "start": 27375, + "end": 27388, "loc": { "start": { - "line": 842, + "line": 826, "column": 4 }, "end": { - "line": 842, + "line": 826, "column": 17 }, "identifierName": "setFormatTime" @@ -47780,15 +46938,15 @@ "params": [ { "type": "Identifier", - "start": 27858, - "end": 27878, + "start": 27389, + "end": 27409, "loc": { "start": { - "line": 842, + "line": 826, "column": 18 }, "end": { - "line": 842, + "line": 826, "column": 38 }, "identifierName": "customImplementation" @@ -47798,88 +46956,88 @@ ], "body": { "type": "BlockStatement", - "start": 27880, - "end": 27986, + "start": 27411, + "end": 27517, "loc": { "start": { - "line": 842, + "line": 826, "column": 40 }, "end": { - "line": 846, + "line": 830, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 27890, - "end": 27930, + "start": 27421, + "end": 27461, "loc": { "start": { - "line": 843, + "line": 827, "column": 8 }, "end": { - "line": 843, + "line": 827, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 27890, - "end": 27929, + "start": 27421, + "end": 27460, "loc": { "start": { - "line": 843, + "line": 827, "column": 8 }, "end": { - "line": 843, + "line": 827, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 27890, - "end": 27906, + "start": 27421, + "end": 27437, "loc": { "start": { - "line": 843, + "line": 827, "column": 8 }, "end": { - "line": 843, + "line": 827, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 27890, - "end": 27894, + "start": 27421, + "end": 27425, "loc": { "start": { - "line": 843, + "line": 827, "column": 8 }, "end": { - "line": 843, + "line": 827, "column": 12 } } }, "property": { "type": "Identifier", - "start": 27895, - "end": 27906, + "start": 27426, + "end": 27437, "loc": { "start": { - "line": 843, + "line": 827, "column": 13 }, "end": { - "line": 843, + "line": 827, "column": 24 }, "identifierName": "_formatTime" @@ -47890,15 +47048,15 @@ }, "right": { "type": "Identifier", - "start": 27909, - "end": 27929, + "start": 27440, + "end": 27460, "loc": { "start": { - "line": 843, + "line": 827, "column": 27 }, "end": { - "line": 843, + "line": 827, "column": 47 }, "identifierName": "customImplementation" @@ -47909,57 +47067,57 @@ }, { "type": "ExpressionStatement", - "start": 27940, - "end": 27980, + "start": 27471, + "end": 27511, "loc": { "start": { - "line": 845, + "line": 829, "column": 8 }, "end": { - "line": 845, + "line": 829, "column": 48 } }, "expression": { "type": "CallExpression", - "start": 27940, - "end": 27979, + "start": 27471, + "end": 27510, "loc": { "start": { - "line": 845, + "line": 829, "column": 8 }, "end": { - "line": 845, + "line": 829, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 27940, - "end": 27961, + "start": 27471, + "end": 27492, "loc": { "start": { - "line": 845, + "line": 829, "column": 8 }, "end": { - "line": 845, + "line": 829, "column": 29 } }, "object": { "type": "Identifier", - "start": 27940, - "end": 27947, + "start": 27471, + "end": 27478, "loc": { "start": { - "line": 845, + "line": 829, "column": 8 }, "end": { - "line": 845, + "line": 829, "column": 15 }, "identifierName": "videojs" @@ -47968,15 +47126,15 @@ }, "property": { "type": "Identifier", - "start": 27948, - "end": 27961, + "start": 27479, + "end": 27492, "loc": { "start": { - "line": 845, + "line": 829, "column": 16 }, "end": { - "line": 845, + "line": 829, "column": 29 }, "identifierName": "setFormatTime" @@ -47988,44 +47146,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 27962, - "end": 27978, + "start": 27493, + "end": 27509, "loc": { "start": { - "line": 845, + "line": 829, "column": 30 }, "end": { - "line": 845, + "line": 829, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 27962, - "end": 27966, + "start": 27493, + "end": 27497, "loc": { "start": { - "line": 845, + "line": 829, "column": 30 }, "end": { - "line": 845, + "line": 829, "column": 34 } } }, "property": { "type": "Identifier", - "start": 27967, - "end": 27978, + "start": 27498, + "end": 27509, "loc": { "start": { - "line": 845, + "line": 829, "column": 35 }, "end": { - "line": 845, + "line": 829, "column": 46 }, "identifierName": "_formatTime" @@ -48044,15 +47202,15 @@ { "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, + "start": 27031, + "end": 27370, "loc": { "start": { - "line": 835, + "line": 819, "column": 4 }, "end": { - "line": 841, + "line": 825, "column": 7 } } @@ -48068,58 +47226,58 @@ }, { "type": "ExpressionStatement", - "start": 28029, - "end": 28062, + "start": 27560, + "end": 27593, "loc": { "start": { - "line": 850, + "line": 834, "column": 0 }, "end": { - "line": 850, + "line": 834, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 28029, - "end": 28061, + "start": 27560, + "end": 27592, "loc": { "start": { - "line": 850, + "line": 834, "column": 0 }, "end": { - "line": 850, + "line": 834, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 28029, - "end": 28047, + "start": 27560, + "end": 27578, "loc": { "start": { - "line": 850, + "line": 834, "column": 0 }, "end": { - "line": 850, + "line": 834, "column": 18 } }, "object": { "type": "Identifier", - "start": 28029, - "end": 28039, + "start": 27560, + "end": 27570, "loc": { "start": { - "line": 850, + "line": 834, "column": 0 }, "end": { - "line": 850, + "line": 834, "column": 10 }, "identifierName": "Wavesurfer" @@ -48129,15 +47287,15 @@ }, "property": { "type": "Identifier", - "start": 28040, - "end": 28047, + "start": 27571, + "end": 27578, "loc": { "start": { - "line": 850, + "line": 834, "column": 11 }, "end": { - "line": 850, + "line": 834, "column": 18 }, "identifierName": "VERSION" @@ -48149,15 +47307,15 @@ }, "right": { "type": "Identifier", - "start": 28050, - "end": 28061, + "start": 27581, + "end": 27592, "loc": { "start": { - "line": 850, + "line": 834, "column": 21 }, "end": { - "line": 850, + "line": 834, "column": 32 }, "identifierName": "__VERSION__" @@ -48170,15 +47328,15 @@ { "type": "CommentLine", "value": " version nr is injected during build", - "start": 27990, - "end": 28028, + "start": 27521, + "end": 27559, "loc": { "start": { - "line": 849, + "line": 833, "column": 0 }, "end": { - "line": 849, + "line": 833, "column": 38 } } @@ -48188,15 +47346,15 @@ { "type": "CommentLine", "value": " register plugin once", - "start": 28064, - "end": 28087, + "start": 27595, + "end": 27618, "loc": { "start": { - "line": 852, + "line": 836, "column": 0 }, "end": { - "line": 852, + "line": 836, "column": 23 } } @@ -48205,58 +47363,58 @@ }, { "type": "ExpressionStatement", - "start": 28088, - "end": 28120, + "start": 27619, + "end": 27651, "loc": { "start": { - "line": 853, + "line": 837, "column": 0 }, "end": { - "line": 853, + "line": 837, "column": 32 } }, "expression": { "type": "AssignmentExpression", - "start": 28088, - "end": 28119, + "start": 27619, + "end": 27650, "loc": { "start": { - "line": 853, + "line": 837, "column": 0 }, "end": { - "line": 853, + "line": 837, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 28088, - "end": 28106, + "start": 27619, + "end": 27637, "loc": { "start": { - "line": 853, + "line": 837, "column": 0 }, "end": { - "line": 853, + "line": 837, "column": 18 } }, "object": { "type": "Identifier", - "start": 28088, - "end": 28095, + "start": 27619, + "end": 27626, "loc": { "start": { - "line": 853, + "line": 837, "column": 0 }, "end": { - "line": 853, + "line": 837, "column": 7 }, "identifierName": "videojs" @@ -48266,15 +47424,15 @@ }, "property": { "type": "Identifier", - "start": 28096, - "end": 28106, + "start": 27627, + "end": 27637, "loc": { "start": { - "line": 853, + "line": 837, "column": 8 }, "end": { - "line": 853, + "line": 837, "column": 18 }, "identifierName": "Wavesurfer" @@ -48286,15 +47444,15 @@ }, "right": { "type": "Identifier", - "start": 28109, - "end": 28119, + "start": 27640, + "end": 27650, "loc": { "start": { - "line": 853, + "line": 837, "column": 21 }, "end": { - "line": 853, + "line": 837, "column": 31 }, "identifierName": "Wavesurfer" @@ -48307,15 +47465,15 @@ { "type": "CommentLine", "value": " register plugin once", - "start": 28064, - "end": 28087, + "start": 27595, + "end": 27618, "loc": { "start": { - "line": 852, + "line": 836, "column": 0 }, "end": { - "line": 852, + "line": 836, "column": 23 } } @@ -48324,71 +47482,71 @@ }, { "type": "IfStatement", - "start": 28121, - "end": 28245, + "start": 27652, + "end": 27776, "loc": { "start": { - "line": 854, + "line": 838, "column": 0 }, "end": { - "line": 856, + "line": 840, "column": 1 } }, "test": { "type": "BinaryExpression", - "start": 28125, - "end": 28178, + "start": 27656, + "end": 27709, "loc": { "start": { - "line": 854, + "line": 838, "column": 4 }, "end": { - "line": 854, + "line": 838, "column": 57 } }, "left": { "type": "CallExpression", - "start": 28125, - "end": 28164, + "start": 27656, + "end": 27695, "loc": { "start": { - "line": 854, + "line": 838, "column": 4 }, "end": { - "line": 854, + "line": 838, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 28125, - "end": 28142, + "start": 27656, + "end": 27673, "loc": { "start": { - "line": 854, + "line": 838, "column": 4 }, "end": { - "line": 854, + "line": 838, "column": 21 } }, "object": { "type": "Identifier", - "start": 28125, - "end": 28132, + "start": 27656, + "end": 27663, "loc": { "start": { - "line": 854, + "line": 838, "column": 4 }, "end": { - "line": 854, + "line": 838, "column": 11 }, "identifierName": "videojs" @@ -48397,15 +47555,15 @@ }, "property": { "type": "Identifier", - "start": 28133, - "end": 28142, + "start": 27664, + "end": 27673, "loc": { "start": { - "line": 854, + "line": 838, "column": 12 }, "end": { - "line": 854, + "line": 838, "column": 21 }, "identifierName": "getPlugin" @@ -48417,15 +47575,15 @@ "arguments": [ { "type": "Identifier", - "start": 28143, - "end": 28163, + "start": 27674, + "end": 27694, "loc": { "start": { - "line": 854, + "line": 838, "column": 22 }, "end": { - "line": 854, + "line": 838, "column": 42 }, "identifierName": "wavesurferPluginName" @@ -48437,15 +47595,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 28169, - "end": 28178, + "start": 27700, + "end": 27709, "loc": { "start": { - "line": 854, + "line": 838, "column": 48 }, "end": { - "line": 854, + "line": 838, "column": 57 }, "identifierName": "undefined" @@ -48455,72 +47613,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 28180, - "end": 28245, + "start": 27711, + "end": 27776, "loc": { "start": { - "line": 854, + "line": 838, "column": 59 }, "end": { - "line": 856, + "line": 840, "column": 1 } }, "body": [ { "type": "ExpressionStatement", - "start": 28186, - "end": 28243, + "start": 27717, + "end": 27774, "loc": { "start": { - "line": 855, + "line": 839, "column": 4 }, "end": { - "line": 855, + "line": 839, "column": 61 } }, "expression": { "type": "CallExpression", - "start": 28186, - "end": 28242, + "start": 27717, + "end": 27773, "loc": { "start": { - "line": 855, + "line": 839, "column": 4 }, "end": { - "line": 855, + "line": 839, "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 28186, - "end": 28208, + "start": 27717, + "end": 27739, "loc": { "start": { - "line": 855, + "line": 839, "column": 4 }, "end": { - "line": 855, + "line": 839, "column": 26 } }, "object": { "type": "Identifier", - "start": 28186, - "end": 28193, + "start": 27717, + "end": 27724, "loc": { "start": { - "line": 855, + "line": 839, "column": 4 }, "end": { - "line": 855, + "line": 839, "column": 11 }, "identifierName": "videojs" @@ -48529,15 +47687,15 @@ }, "property": { "type": "Identifier", - "start": 28194, - "end": 28208, + "start": 27725, + "end": 27739, "loc": { "start": { - "line": 855, + "line": 839, "column": 12 }, "end": { - "line": 855, + "line": 839, "column": 26 }, "identifierName": "registerPlugin" @@ -48549,15 +47707,15 @@ "arguments": [ { "type": "Identifier", - "start": 28209, - "end": 28229, + "start": 27740, + "end": 27760, "loc": { "start": { - "line": 855, + "line": 839, "column": 27 }, "end": { - "line": 855, + "line": 839, "column": 47 }, "identifierName": "wavesurferPluginName" @@ -48566,15 +47724,15 @@ }, { "type": "Identifier", - "start": 28231, - "end": 28241, + "start": 27762, + "end": 27772, "loc": { "start": { - "line": 855, + "line": 839, "column": 49 }, "end": { - "line": 855, + "line": 839, "column": 59 }, "identifierName": "Wavesurfer" @@ -48593,15 +47751,15 @@ { "type": "CommentLine", "value": " register a star-middleware", - "start": 28247, - "end": 28276, + "start": 27778, + "end": 27807, "loc": { "start": { - "line": 858, + "line": 842, "column": 0 }, "end": { - "line": 858, + "line": 842, "column": 29 } } @@ -48610,57 +47768,57 @@ }, { "type": "ExpressionStatement", - "start": 28277, - "end": 28428, + "start": 27808, + "end": 27959, "loc": { "start": { - "line": 859, + "line": 843, "column": 0 }, "end": { - "line": 864, + "line": 848, "column": 3 } }, "expression": { "type": "CallExpression", - "start": 28277, - "end": 28427, + "start": 27808, + "end": 27958, "loc": { "start": { - "line": 859, + "line": 843, "column": 0 }, "end": { - "line": 864, + "line": 848, "column": 2 } }, "callee": { "type": "MemberExpression", - "start": 28277, - "end": 28288, + "start": 27808, + "end": 27819, "loc": { "start": { - "line": 859, + "line": 843, "column": 0 }, "end": { - "line": 859, + "line": 843, "column": 11 } }, "object": { "type": "Identifier", - "start": 28277, - "end": 28284, + "start": 27808, + "end": 27815, "loc": { "start": { - "line": 859, + "line": 843, "column": 0 }, "end": { - "line": 859, + "line": 843, "column": 7 }, "identifierName": "videojs" @@ -48670,15 +47828,15 @@ }, "property": { "type": "Identifier", - "start": 28285, - "end": 28288, + "start": 27816, + "end": 27819, "loc": { "start": { - "line": 859, + "line": 843, "column": 8 }, "end": { - "line": 859, + "line": 843, "column": 11 }, "identifierName": "use" @@ -48691,15 +47849,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 28289, - "end": 28292, + "start": 27820, + "end": 27823, "loc": { "start": { - "line": 859, + "line": 843, "column": 12 }, "end": { - "line": 859, + "line": 843, "column": 15 } }, @@ -48711,15 +47869,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 28294, - "end": 28426, + "start": 27825, + "end": 27957, "loc": { "start": { - "line": 859, + "line": 843, "column": 17 }, "end": { - "line": 864, + "line": 848, "column": 1 } }, @@ -48730,15 +47888,15 @@ "params": [ { "type": "Identifier", - "start": 28294, - "end": 28300, + "start": 27825, + "end": 27831, "loc": { "start": { - "line": 859, + "line": 843, "column": 17 }, "end": { - "line": 859, + "line": 843, "column": 23 }, "identifierName": "player" @@ -48748,73 +47906,73 @@ ], "body": { "type": "BlockStatement", - "start": 28304, - "end": 28426, + "start": 27835, + "end": 27957, "loc": { "start": { - "line": 859, + "line": 843, "column": 27 }, "end": { - "line": 864, + "line": 848, "column": 1 } }, "body": [ { "type": "ExpressionStatement", - "start": 28353, - "end": 28390, + "start": 27884, + "end": 27921, "loc": { "start": { - "line": 861, + "line": 845, "column": 4 }, "end": { - "line": 861, + "line": 845, "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 28353, - "end": 28389, + "start": 27884, + "end": 27920, "loc": { "start": { - "line": 861, + "line": 845, "column": 4 }, "end": { - "line": 861, + "line": 845, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 28353, - "end": 28380, + "start": 27884, + "end": 27911, "loc": { "start": { - "line": 861, + "line": 845, "column": 4 }, "end": { - "line": 861, + "line": 845, "column": 31 } }, "object": { "type": "Identifier", - "start": 28353, - "end": 28373, + "start": 27884, + "end": 27904, "loc": { "start": { - "line": 861, + "line": 845, "column": 4 }, "end": { - "line": 861, + "line": 845, "column": 24 }, "identifierName": "WavesurferMiddleware" @@ -48824,15 +47982,15 @@ }, "property": { "type": "Identifier", - "start": 28374, - "end": 28380, + "start": 27905, + "end": 27911, "loc": { "start": { - "line": 861, + "line": 845, "column": 25 }, "end": { - "line": 861, + "line": 845, "column": 31 }, "identifierName": "player" @@ -48844,15 +48002,15 @@ }, "right": { "type": "Identifier", - "start": 28383, - "end": 28389, + "start": 27914, + "end": 27920, "loc": { "start": { - "line": 861, + "line": 845, "column": 34 }, "end": { - "line": 861, + "line": 845, "column": 40 }, "identifierName": "player" @@ -48865,15 +48023,15 @@ { "type": "CommentLine", "value": " make player available on middleware", - "start": 28310, - "end": 28348, + "start": 27841, + "end": 27879, "loc": { "start": { - "line": 860, + "line": 844, "column": 4 }, "end": { - "line": 860, + "line": 844, "column": 42 } } @@ -48882,29 +48040,29 @@ }, { "type": "ReturnStatement", - "start": 28396, - "end": 28424, + "start": 27927, + "end": 27955, "loc": { "start": { - "line": 863, + "line": 847, "column": 4 }, "end": { - "line": 863, + "line": 847, "column": 32 } }, "argument": { "type": "Identifier", - "start": 28403, - "end": 28423, + "start": 27934, + "end": 27954, "loc": { "start": { - "line": 863, + "line": 847, "column": 11 }, "end": { - "line": 863, + "line": 847, "column": 31 }, "identifierName": "WavesurferMiddleware" @@ -48923,15 +48081,15 @@ { "type": "CommentLine", "value": " register a star-middleware", - "start": 28247, - "end": 28276, + "start": 27778, + "end": 27807, "loc": { "start": { - "line": 858, + "line": 842, "column": 0 }, "end": { - "line": 858, + "line": 842, "column": 29 } } @@ -48940,15 +48098,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 28430, - "end": 28450, + "start": 27961, + "end": 27981, "loc": { "start": { - "line": 866, + "line": 850, "column": 0 }, "end": { - "line": 866, + "line": 850, "column": 20 } }, @@ -48956,29 +48114,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 28438, - "end": 28448, + "start": 27969, + "end": 27979, "loc": { "start": { - "line": 866, + "line": 850, "column": 8 }, "end": { - "line": 866, + "line": 850, "column": 18 } }, "local": { "type": "Identifier", - "start": 28438, - "end": 28448, + "start": 27969, + "end": 27979, "loc": { "start": { - "line": 866, + "line": 850, "column": 8 }, "end": { - "line": 866, + "line": 850, "column": 18 }, "identifierName": "Wavesurfer" @@ -48987,15 +48145,15 @@ }, "exported": { "type": "Identifier", - "start": 28438, - "end": 28448, + "start": 27969, + "end": 27979, "loc": { "start": { - "line": 866, + "line": 850, "column": 8 }, "end": { - "line": 866, + "line": 850, "column": 18 }, "identifierName": "Wavesurfer" @@ -49008,29 +48166,29 @@ }, { "type": "ExportNamedDeclaration", - "start": 28430, - "end": 28450, + "start": 27961, + "end": 27981, "loc": { "start": { - "line": 866, + "line": 850, "column": 0 }, "end": { - "line": 866, + "line": 850, "column": 20 } }, "declaration": { "type": "ClassDeclaration", "start": 942, - "end": 27988, + "end": 27519, "loc": { "start": { "line": 35, "column": 0 }, "end": { - "line": 847, + "line": 831, "column": 1 } }, @@ -49072,14 +48230,14 @@ "body": { "type": "ClassBody", "start": 974, - "end": 27988, + "end": 27519, "loc": { "start": { "line": 35, "column": 32 }, "end": { - "line": 847, + "line": 831, "column": 1 } }, @@ -51651,14 +50809,14 @@ { "type": "ClassMethod", "start": 2379, - "end": 7043, + "end": 6810, "loc": { "start": { "line": 78, "column": 4 }, "end": { - "line": 187, + "line": 183, "column": 5 } }, @@ -51691,14 +50849,14 @@ "body": { "type": "BlockStatement", "start": 2392, - "end": 7043, + "end": 6810, "loc": { "start": { "line": 78, "column": 17 }, "end": { - "line": 187, + "line": 183, "column": 5 } }, @@ -60198,14 +59356,14 @@ { "type": "IfStatement", "start": 6615, - "end": 7037, + "end": 6804, "loc": { "start": { "line": 179, "column": 8 }, "end": { - "line": 186, + "line": 182, "column": 9 } }, @@ -60363,14 +59521,14 @@ "consequent": { "type": "BlockStatement", "start": 6656, - "end": 7037, + "end": 6804, "loc": { "start": { "line": 179, "column": 49 }, "end": { - "line": 186, + "line": 182, "column": 9 } }, @@ -60592,538 +59750,7 @@ } } } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " listen for window resize events", - "start": 6807, - "end": 6841, - "loc": { - "start": { - "line": 182, - "column": 12 - }, - "end": { - "line": 182, - "column": 46 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 6854, - "end": 6955, - "loc": { - "start": { - "line": 183, - "column": 12 - }, - "end": { - "line": 184, - "column": 53 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 6854, - "end": 6954, - "loc": { - "start": { - "line": 183, - "column": 12 - }, - "end": { - "line": 184, - "column": 52 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 6854, - "end": 6873, - "loc": { - "start": { - "line": 183, - "column": 12 - }, - "end": { - "line": 183, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 6854, - "end": 6858, - "loc": { - "start": { - "line": 183, - "column": 12 - }, - "end": { - "line": 183, - "column": 16 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 6859, - "end": 6873, - "loc": { - "start": { - "line": 183, - "column": 17 - }, - "end": { - "line": 183, - "column": 31 - }, - "identifierName": "responsiveWave" - }, - "name": "responsiveWave" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "CallExpression", - "start": 6876, - "end": 6954, - "loc": { - "start": { - "line": 183, - "column": 34 - }, - "end": { - "line": 184, - "column": 52 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6876, - "end": 6900, - "loc": { - "start": { - "line": 183, - "column": 34 - }, - "end": { - "line": 183, - "column": 58 - } - }, - "object": { - "type": "MemberExpression", - "start": 6876, - "end": 6891, - "loc": { - "start": { - "line": 183, - "column": 34 - }, - "end": { - "line": 183, - "column": 49 - } - }, - "object": { - "type": "Identifier", - "start": 6876, - "end": 6886, - "loc": { - "start": { - "line": 183, - "column": 34 - }, - "end": { - "line": 183, - "column": 44 - }, - "identifierName": "WaveSurfer" - }, - "name": "WaveSurfer" - }, - "property": { - "type": "Identifier", - "start": 6887, - "end": 6891, - "loc": { - "start": { - "line": 183, - "column": 45 - }, - "end": { - "line": 183, - "column": 49 - }, - "identifierName": "util" - }, - "name": "util" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6892, - "end": 6900, - "loc": { - "start": { - "line": 183, - "column": 50 - }, - "end": { - "line": 183, - "column": 58 - }, - "identifierName": "debounce" - }, - "name": "debounce" - }, - "computed": false - }, - "arguments": [ - { - "type": "CallExpression", - "start": 6918, - "end": 6948, - "loc": { - "start": { - "line": 184, - "column": 16 - }, - "end": { - "line": 184, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6918, - "end": 6942, - "loc": { - "start": { - "line": 184, - "column": 16 - }, - "end": { - "line": 184, - "column": 40 - } - }, - "object": { - "type": "MemberExpression", - "start": 6918, - "end": 6937, - "loc": { - "start": { - "line": 184, - "column": 16 - }, - "end": { - "line": 184, - "column": 35 - } - }, - "object": { - "type": "ThisExpression", - "start": 6918, - "end": 6922, - "loc": { - "start": { - "line": 184, - "column": 16 - }, - "end": { - "line": 184, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 6923, - "end": 6937, - "loc": { - "start": { - "line": 184, - "column": 21 - }, - "end": { - "line": 184, - "column": 35 - }, - "identifierName": "onResizeChange" - }, - "name": "onResizeChange" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6938, - "end": 6942, - "loc": { - "start": { - "line": 184, - "column": 36 - }, - "end": { - "line": 184, - "column": 40 - }, - "identifierName": "bind" - }, - "name": "bind" - }, - "computed": false - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 6943, - "end": 6947, - "loc": { - "start": { - "line": 184, - "column": 41 - }, - "end": { - "line": 184, - "column": 45 - } - } - } - ] - }, - { - "type": "NumericLiteral", - "start": 6950, - "end": 6953, - "loc": { - "start": { - "line": 184, - "column": 48 - }, - "end": { - "line": 184, - "column": 51 - } - }, - "extra": { - "rawValue": 150, - "raw": "150" - }, - "value": 150 - } - ] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " listen for window resize events", - "start": 6807, - "end": 6841, - "loc": { - "start": { - "line": 182, - "column": 12 - }, - "end": { - "line": 182, - "column": 46 - } - } - } ] - }, - { - "type": "ExpressionStatement", - "start": 6968, - "end": 7027, - "loc": { - "start": { - "line": 185, - "column": 12 - }, - "end": { - "line": 185, - "column": 71 - } - }, - "expression": { - "type": "CallExpression", - "start": 6968, - "end": 7026, - "loc": { - "start": { - "line": 185, - "column": 12 - }, - "end": { - "line": 185, - "column": 70 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6968, - "end": 6991, - "loc": { - "start": { - "line": 185, - "column": 12 - }, - "end": { - "line": 185, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 6968, - "end": 6974, - "loc": { - "start": { - "line": 185, - "column": 12 - }, - "end": { - "line": 185, - "column": 18 - }, - "identifierName": "window" - }, - "name": "window" - }, - "property": { - "type": "Identifier", - "start": 6975, - "end": 6991, - "loc": { - "start": { - "line": 185, - "column": 19 - }, - "end": { - "line": 185, - "column": 35 - }, - "identifierName": "addEventListener" - }, - "name": "addEventListener" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 6992, - "end": 7004, - "loc": { - "start": { - "line": 185, - "column": 36 - }, - "end": { - "line": 185, - "column": 48 - } - }, - "object": { - "type": "Identifier", - "start": 6992, - "end": 6997, - "loc": { - "start": { - "line": 185, - "column": 36 - }, - "end": { - "line": 185, - "column": 41 - }, - "identifierName": "Event" - }, - "name": "Event" - }, - "property": { - "type": "Identifier", - "start": 6998, - "end": 7004, - "loc": { - "start": { - "line": 185, - "column": 42 - }, - "end": { - "line": 185, - "column": 48 - }, - "identifierName": "RESIZE" - }, - "name": "RESIZE" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 7006, - "end": 7025, - "loc": { - "start": { - "line": 185, - "column": 50 - }, - "end": { - "line": 185, - "column": 69 - } - }, - "object": { - "type": "ThisExpression", - "start": 7006, - "end": 7010, - "loc": { - "start": { - "line": 185, - "column": 50 - }, - "end": { - "line": 185, - "column": 54 - } - } - }, - "property": { - "type": "Identifier", - "start": 7011, - "end": 7025, - "loc": { - "start": { - "line": 185, - "column": 55 - }, - "end": { - "line": 185, - "column": 69 - }, - "identifierName": "responsiveWave" - }, - "name": "responsiveWave" - }, - "computed": false - } - ] - } } ], "directives": [] @@ -61174,15 +59801,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": 7049, - "end": 7232, + "start": 6816, + "end": 6999, "loc": { "start": { - "line": 189, + "line": 185, "column": 4 }, "end": { - "line": 195, + "line": 191, "column": 7 } } @@ -61191,15 +59818,15 @@ }, { "type": "ClassMethod", - "start": 7237, - "end": 9246, + "start": 7004, + "end": 9013, "loc": { "start": { - "line": 196, + "line": 192, "column": 4 }, "end": { - "line": 243, + "line": 239, "column": 5 } }, @@ -61207,15 +59834,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7237, - "end": 7249, + "start": 7004, + "end": 7016, "loc": { "start": { - "line": 196, + "line": 192, "column": 4 }, "end": { - "line": 196, + "line": 192, "column": 16 }, "identifierName": "parseOptions" @@ -61231,29 +59858,29 @@ "params": [ { "type": "AssignmentPattern", - "start": 7250, - "end": 7265, + "start": 7017, + "end": 7032, "loc": { "start": { - "line": 196, + "line": 192, "column": 17 }, "end": { - "line": 196, + "line": 192, "column": 32 } }, "left": { "type": "Identifier", - "start": 7250, - "end": 7260, + "start": 7017, + "end": 7027, "loc": { "start": { - "line": 196, + "line": 192, "column": 17 }, "end": { - "line": 196, + "line": 192, "column": 27 }, "identifierName": "surferOpts" @@ -61262,15 +59889,15 @@ }, "right": { "type": "ObjectExpression", - "start": 7263, - "end": 7265, + "start": 7030, + "end": 7032, "loc": { "start": { - "line": 196, + "line": 192, "column": 30 }, "end": { - "line": 196, + "line": 192, "column": 32 } }, @@ -61280,59 +59907,59 @@ ], "body": { "type": "BlockStatement", - "start": 7267, - "end": 9246, + "start": 7034, + "end": 9013, "loc": { "start": { - "line": 196, + "line": 192, "column": 34 }, "end": { - "line": 243, + "line": 239, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 7277, - "end": 7328, + "start": 7044, + "end": 7095, "loc": { "start": { - "line": 197, + "line": 193, "column": 8 }, "end": { - "line": 197, + "line": 193, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7281, - "end": 7327, + "start": 7048, + "end": 7094, "loc": { "start": { - "line": 197, + "line": 193, "column": 12 }, "end": { - "line": 197, + "line": 193, "column": 58 } }, "id": { "type": "Identifier", - "start": 7281, - "end": 7285, + "start": 7048, + "end": 7052, "loc": { "start": { - "line": 197, + "line": 193, "column": 12 }, "end": { - "line": 197, + "line": 193, "column": 16 }, "identifierName": "rect" @@ -61341,86 +59968,86 @@ }, "init": { "type": "CallExpression", - "start": 7288, - "end": 7327, + "start": 7055, + "end": 7094, "loc": { "start": { - "line": 197, + "line": 193, "column": 19 }, "end": { - "line": 197, + "line": 193, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 7288, - "end": 7325, + "start": 7055, + "end": 7092, "loc": { "start": { - "line": 197, + "line": 193, "column": 19 }, "end": { - "line": 197, + "line": 193, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 7288, - "end": 7303, + "start": 7055, + "end": 7070, "loc": { "start": { - "line": 197, + "line": 193, "column": 19 }, "end": { - "line": 197, + "line": 193, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 7288, - "end": 7299, + "start": 7055, + "end": 7066, "loc": { "start": { - "line": 197, + "line": 193, "column": 19 }, "end": { - "line": 197, + "line": 193, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 7288, - "end": 7292, + "start": 7055, + "end": 7059, "loc": { "start": { - "line": 197, + "line": 193, "column": 19 }, "end": { - "line": 197, + "line": 193, "column": 23 } } }, "property": { "type": "Identifier", - "start": 7293, - "end": 7299, + "start": 7060, + "end": 7066, "loc": { "start": { - "line": 197, + "line": 193, "column": 24 }, "end": { - "line": 197, + "line": 193, "column": 30 }, "identifierName": "player" @@ -61431,15 +60058,15 @@ }, "property": { "type": "Identifier", - "start": 7300, - "end": 7303, + "start": 7067, + "end": 7070, "loc": { "start": { - "line": 197, + "line": 193, "column": 31 }, "end": { - "line": 197, + "line": 193, "column": 34 }, "identifierName": "el_" @@ -61450,15 +60077,15 @@ }, "property": { "type": "Identifier", - "start": 7304, - "end": 7325, + "start": 7071, + "end": 7092, "loc": { "start": { - "line": 197, + "line": 193, "column": 35 }, "end": { - "line": 197, + "line": 193, "column": 56 }, "identifierName": "getBoundingClientRect" @@ -61475,73 +60102,73 @@ }, { "type": "ExpressionStatement", - "start": 7337, - "end": 7399, + "start": 7104, + "end": 7166, "loc": { "start": { - "line": 198, + "line": 194, "column": 8 }, "end": { - "line": 198, + "line": 194, "column": 70 } }, "expression": { "type": "AssignmentExpression", - "start": 7337, - "end": 7398, + "start": 7104, + "end": 7165, "loc": { "start": { - "line": 198, + "line": 194, "column": 8 }, "end": { - "line": 198, + "line": 194, "column": 69 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 7337, - "end": 7355, + "start": 7104, + "end": 7122, "loc": { "start": { - "line": 198, + "line": 194, "column": 8 }, "end": { - "line": 198, + "line": 194, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 7337, - "end": 7341, + "start": 7104, + "end": 7108, "loc": { "start": { - "line": 198, + "line": 194, "column": 8 }, "end": { - "line": 198, + "line": 194, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7342, - "end": 7355, + "start": 7109, + "end": 7122, "loc": { "start": { - "line": 198, + "line": 194, "column": 13 }, "end": { - "line": 198, + "line": 194, "column": 26 }, "identifierName": "originalWidth" @@ -61552,86 +60179,86 @@ }, "right": { "type": "LogicalExpression", - "start": 7358, - "end": 7398, + "start": 7125, + "end": 7165, "loc": { "start": { - "line": 198, + "line": 194, "column": 29 }, "end": { - "line": 198, + "line": 194, "column": 69 } }, "left": { "type": "MemberExpression", - "start": 7358, - "end": 7384, + "start": 7125, + "end": 7151, "loc": { "start": { - "line": 198, + "line": 194, "column": 29 }, "end": { - "line": 198, + "line": 194, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 7358, - "end": 7378, + "start": 7125, + "end": 7145, "loc": { "start": { - "line": 198, + "line": 194, "column": 29 }, "end": { - "line": 198, + "line": 194, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 7358, - "end": 7369, + "start": 7125, + "end": 7136, "loc": { "start": { - "line": 198, + "line": 194, "column": 29 }, "end": { - "line": 198, + "line": 194, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 7358, - "end": 7362, + "start": 7125, + "end": 7129, "loc": { "start": { - "line": 198, + "line": 194, "column": 29 }, "end": { - "line": 198, + "line": 194, "column": 33 } } }, "property": { "type": "Identifier", - "start": 7363, - "end": 7369, + "start": 7130, + "end": 7136, "loc": { "start": { - "line": 198, + "line": 194, "column": 34 }, "end": { - "line": 198, + "line": 194, "column": 40 }, "identifierName": "player" @@ -61642,15 +60269,15 @@ }, "property": { "type": "Identifier", - "start": 7370, - "end": 7378, + "start": 7137, + "end": 7145, "loc": { "start": { - "line": 198, + "line": 194, "column": 41 }, "end": { - "line": 198, + "line": 194, "column": 49 }, "identifierName": "options_" @@ -61661,15 +60288,15 @@ }, "property": { "type": "Identifier", - "start": 7379, - "end": 7384, + "start": 7146, + "end": 7151, "loc": { "start": { - "line": 198, + "line": 194, "column": 50 }, "end": { - "line": 198, + "line": 194, "column": 55 }, "identifierName": "width" @@ -61681,29 +60308,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 7388, - "end": 7398, + "start": 7155, + "end": 7165, "loc": { "start": { - "line": 198, + "line": 194, "column": 59 }, "end": { - "line": 198, + "line": 194, "column": 69 } }, "object": { "type": "Identifier", - "start": 7388, - "end": 7392, + "start": 7155, + "end": 7159, "loc": { "start": { - "line": 198, + "line": 194, "column": 59 }, "end": { - "line": 198, + "line": 194, "column": 63 }, "identifierName": "rect" @@ -61712,15 +60339,15 @@ }, "property": { "type": "Identifier", - "start": 7393, - "end": 7398, + "start": 7160, + "end": 7165, "loc": { "start": { - "line": 198, + "line": 194, "column": 64 }, "end": { - "line": 198, + "line": 194, "column": 69 }, "identifierName": "width" @@ -61734,73 +60361,73 @@ }, { "type": "ExpressionStatement", - "start": 7408, - "end": 7473, + "start": 7175, + "end": 7240, "loc": { "start": { - "line": 199, + "line": 195, "column": 8 }, "end": { - "line": 199, + "line": 195, "column": 73 } }, "expression": { "type": "AssignmentExpression", - "start": 7408, - "end": 7472, + "start": 7175, + "end": 7239, "loc": { "start": { - "line": 199, + "line": 195, "column": 8 }, "end": { - "line": 199, + "line": 195, "column": 72 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 7408, - "end": 7427, + "start": 7175, + "end": 7194, "loc": { "start": { - "line": 199, + "line": 195, "column": 8 }, "end": { - "line": 199, + "line": 195, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 7408, - "end": 7412, + "start": 7175, + "end": 7179, "loc": { "start": { - "line": 199, + "line": 195, "column": 8 }, "end": { - "line": 199, + "line": 195, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7413, - "end": 7427, + "start": 7180, + "end": 7194, "loc": { "start": { - "line": 199, + "line": 195, "column": 13 }, "end": { - "line": 199, + "line": 195, "column": 27 }, "identifierName": "originalHeight" @@ -61811,86 +60438,86 @@ }, "right": { "type": "LogicalExpression", - "start": 7430, - "end": 7472, + "start": 7197, + "end": 7239, "loc": { "start": { - "line": 199, + "line": 195, "column": 30 }, "end": { - "line": 199, + "line": 195, "column": 72 } }, "left": { "type": "MemberExpression", - "start": 7430, - "end": 7457, + "start": 7197, + "end": 7224, "loc": { "start": { - "line": 199, + "line": 195, "column": 30 }, "end": { - "line": 199, + "line": 195, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 7430, - "end": 7450, + "start": 7197, + "end": 7217, "loc": { "start": { - "line": 199, + "line": 195, "column": 30 }, "end": { - "line": 199, + "line": 195, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 7430, - "end": 7441, + "start": 7197, + "end": 7208, "loc": { "start": { - "line": 199, + "line": 195, "column": 30 }, "end": { - "line": 199, + "line": 195, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 7430, - "end": 7434, + "start": 7197, + "end": 7201, "loc": { "start": { - "line": 199, + "line": 195, "column": 30 }, "end": { - "line": 199, + "line": 195, "column": 34 } } }, "property": { "type": "Identifier", - "start": 7435, - "end": 7441, + "start": 7202, + "end": 7208, "loc": { "start": { - "line": 199, + "line": 195, "column": 35 }, "end": { - "line": 199, + "line": 195, "column": 41 }, "identifierName": "player" @@ -61901,15 +60528,15 @@ }, "property": { "type": "Identifier", - "start": 7442, - "end": 7450, + "start": 7209, + "end": 7217, "loc": { "start": { - "line": 199, + "line": 195, "column": 42 }, "end": { - "line": 199, + "line": 195, "column": 50 }, "identifierName": "options_" @@ -61920,15 +60547,15 @@ }, "property": { "type": "Identifier", - "start": 7451, - "end": 7457, + "start": 7218, + "end": 7224, "loc": { "start": { - "line": 199, + "line": 195, "column": 51 }, "end": { - "line": 199, + "line": 195, "column": 57 }, "identifierName": "height" @@ -61940,29 +60567,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 7461, - "end": 7472, + "start": 7228, + "end": 7239, "loc": { "start": { - "line": 199, + "line": 195, "column": 61 }, "end": { - "line": 199, + "line": 195, "column": 72 } }, "object": { "type": "Identifier", - "start": 7461, - "end": 7465, + "start": 7228, + "end": 7232, "loc": { "start": { - "line": 199, + "line": 195, "column": 61 }, "end": { - "line": 199, + "line": 195, "column": 65 }, "identifierName": "rect" @@ -61971,15 +60598,15 @@ }, "property": { "type": "Identifier", - "start": 7466, - "end": 7472, + "start": 7233, + "end": 7239, "loc": { "start": { - "line": 199, + "line": 195, "column": 66 }, "end": { - "line": 199, + "line": 195, "column": 72 }, "identifierName": "height" @@ -61994,15 +60621,15 @@ { "type": "CommentLine", "value": " controlbar", - "start": 7483, - "end": 7496, + "start": 7250, + "end": 7263, "loc": { "start": { - "line": 201, + "line": 197, "column": 8 }, "end": { - "line": 201, + "line": 197, "column": 21 } } @@ -62011,44 +60638,44 @@ }, { "type": "VariableDeclaration", - "start": 7505, - "end": 7560, + "start": 7272, + "end": 7327, "loc": { "start": { - "line": 202, + "line": 198, "column": 8 }, "end": { - "line": 202, + "line": 198, "column": 63 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7509, - "end": 7559, + "start": 7276, + "end": 7326, "loc": { "start": { - "line": 202, + "line": 198, "column": 12 }, "end": { - "line": 202, + "line": 198, "column": 62 } }, "id": { "type": "Identifier", - "start": 7509, - "end": 7525, + "start": 7276, + "end": 7292, "loc": { "start": { - "line": 202, + "line": 198, "column": 12 }, "end": { - "line": 202, + "line": 198, "column": 28 }, "identifierName": "controlBarHeight" @@ -62058,86 +60685,86 @@ }, "init": { "type": "CallExpression", - "start": 7528, - "end": 7559, + "start": 7295, + "end": 7326, "loc": { "start": { - "line": 202, + "line": 198, "column": 31 }, "end": { - "line": 202, + "line": 198, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 7528, - "end": 7557, + "start": 7295, + "end": 7324, "loc": { "start": { - "line": 202, + "line": 198, "column": 31 }, "end": { - "line": 202, + "line": 198, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 7528, - "end": 7550, + "start": 7295, + "end": 7317, "loc": { "start": { - "line": 202, + "line": 198, "column": 31 }, "end": { - "line": 202, + "line": 198, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 7528, - "end": 7539, + "start": 7295, + "end": 7306, "loc": { "start": { - "line": 202, + "line": 198, "column": 31 }, "end": { - "line": 202, + "line": 198, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 7528, - "end": 7532, + "start": 7295, + "end": 7299, "loc": { "start": { - "line": 202, + "line": 198, "column": 31 }, "end": { - "line": 202, + "line": 198, "column": 35 } } }, "property": { "type": "Identifier", - "start": 7533, - "end": 7539, + "start": 7300, + "end": 7306, "loc": { "start": { - "line": 202, + "line": 198, "column": 36 }, "end": { - "line": 202, + "line": 198, "column": 42 }, "identifierName": "player" @@ -62148,15 +60775,15 @@ }, "property": { "type": "Identifier", - "start": 7540, - "end": 7550, + "start": 7307, + "end": 7317, "loc": { "start": { - "line": 202, + "line": 198, "column": 43 }, "end": { - "line": 202, + "line": 198, "column": 53 }, "identifierName": "controlBar" @@ -62167,15 +60794,15 @@ }, "property": { "type": "Identifier", - "start": 7551, - "end": 7557, + "start": 7318, + "end": 7324, "loc": { "start": { - "line": 202, + "line": 198, "column": 54 }, "end": { - "line": 202, + "line": 198, "column": 60 }, "identifierName": "height" @@ -62194,15 +60821,15 @@ { "type": "CommentLine", "value": " controlbar", - "start": 7483, - "end": 7496, + "start": 7250, + "end": 7263, "loc": { "start": { - "line": 201, + "line": 197, "column": 8 }, "end": { - "line": 201, + "line": 197, "column": 21 } } @@ -62211,114 +60838,114 @@ }, { "type": "IfStatement", - "start": 7569, - "end": 7899, + "start": 7336, + "end": 7666, "loc": { "start": { - "line": 203, + "line": 199, "column": 8 }, "end": { - "line": 208, + "line": 204, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 7573, - "end": 7637, + "start": 7340, + "end": 7404, "loc": { "start": { - "line": 203, + "line": 199, "column": 12 }, "end": { - "line": 203, + "line": 199, "column": 76 } }, "left": { "type": "BinaryExpression", - "start": 7573, - "end": 7611, + "start": 7340, + "end": 7378, "loc": { "start": { - "line": 203, + "line": 199, "column": 12 }, "end": { - "line": 203, + "line": 199, "column": 50 } }, "left": { "type": "MemberExpression", - "start": 7573, - "end": 7602, + "start": 7340, + "end": 7369, "loc": { "start": { - "line": 203, + "line": 199, "column": 12 }, "end": { - "line": 203, + "line": 199, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 7573, - "end": 7593, + "start": 7340, + "end": 7360, "loc": { "start": { - "line": 203, + "line": 199, "column": 12 }, "end": { - "line": 203, + "line": 199, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 7573, - "end": 7584, + "start": 7340, + "end": 7351, "loc": { "start": { - "line": 203, + "line": 199, "column": 12 }, "end": { - "line": 203, + "line": 199, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 7573, - "end": 7577, + "start": 7340, + "end": 7344, "loc": { "start": { - "line": 203, + "line": 199, "column": 12 }, "end": { - "line": 203, + "line": 199, "column": 16 } } }, "property": { "type": "Identifier", - "start": 7578, - "end": 7584, + "start": 7345, + "end": 7351, "loc": { "start": { - "line": 203, + "line": 199, "column": 17 }, "end": { - "line": 203, + "line": 199, "column": 23 }, "identifierName": "player" @@ -62329,15 +60956,15 @@ }, "property": { "type": "Identifier", - "start": 7585, - "end": 7593, + "start": 7352, + "end": 7360, "loc": { "start": { - "line": 203, + "line": 199, "column": 24 }, "end": { - "line": 203, + "line": 199, "column": 32 }, "identifierName": "options_" @@ -62348,15 +60975,15 @@ }, "property": { "type": "Identifier", - "start": 7594, - "end": 7602, + "start": 7361, + "end": 7369, "loc": { "start": { - "line": 203, + "line": 199, "column": 33 }, "end": { - "line": 203, + "line": 199, "column": 41 }, "identifierName": "controls" @@ -62368,15 +60995,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 7607, - "end": 7611, + "start": 7374, + "end": 7378, "loc": { "start": { - "line": 203, + "line": 199, "column": 46 }, "end": { - "line": 203, + "line": 199, "column": 50 } }, @@ -62386,29 +61013,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 7615, - "end": 7637, + "start": 7382, + "end": 7404, "loc": { "start": { - "line": 203, + "line": 199, "column": 54 }, "end": { - "line": 203, + "line": 199, "column": 76 } }, "left": { "type": "Identifier", - "start": 7615, - "end": 7631, + "start": 7382, + "end": 7398, "loc": { "start": { - "line": 203, + "line": 199, "column": 54 }, "end": { - "line": 203, + "line": 199, "column": 70 }, "identifierName": "controlBarHeight" @@ -62418,15 +61045,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 7636, - "end": 7637, + "start": 7403, + "end": 7404, "loc": { "start": { - "line": 203, + "line": 199, "column": 75 }, "end": { - "line": 203, + "line": 199, "column": 76 } }, @@ -62440,59 +61067,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 7639, - "end": 7899, + "start": 7406, + "end": 7666, "loc": { "start": { - "line": 203, + "line": 199, "column": 78 }, "end": { - "line": 208, + "line": 204, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 7867, - "end": 7889, + "start": 7634, + "end": 7656, "loc": { "start": { - "line": 207, + "line": 203, "column": 12 }, "end": { - "line": 207, + "line": 203, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 7867, - "end": 7888, + "start": 7634, + "end": 7655, "loc": { "start": { - "line": 207, + "line": 203, "column": 12 }, "end": { - "line": 207, + "line": 203, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7867, - "end": 7883, + "start": 7634, + "end": 7650, "loc": { "start": { - "line": 207, + "line": 203, "column": 12 }, "end": { - "line": 207, + "line": 203, "column": 28 }, "identifierName": "controlBarHeight" @@ -62502,15 +61129,15 @@ }, "right": { "type": "NumericLiteral", - "start": 7886, - "end": 7888, + "start": 7653, + "end": 7655, "loc": { "start": { - "line": 207, + "line": 203, "column": 31 }, "end": { - "line": 207, + "line": 203, "column": 33 } }, @@ -62526,15 +61153,15 @@ { "type": "CommentLine", "value": " the dimensions of the controlbar are not known yet, but we", - "start": 7653, - "end": 7714, + "start": 7420, + "end": 7481, "loc": { "start": { - "line": 204, + "line": 200, "column": 12 }, "end": { - "line": 204, + "line": 200, "column": 73 } } @@ -62542,15 +61169,15 @@ { "type": "CommentLine", "value": " need it now, so we can calculate the height of the waveform.", - "start": 7727, - "end": 7790, + "start": 7494, + "end": 7557, "loc": { "start": { - "line": 205, + "line": 201, "column": 12 }, "end": { - "line": 205, + "line": 201, "column": 75 } } @@ -62558,15 +61185,15 @@ { "type": "CommentLine", "value": " The default height is 30px, so use that instead.", - "start": 7803, - "end": 7854, + "start": 7570, + "end": 7621, "loc": { "start": { - "line": 206, + "line": 202, "column": 12 }, "end": { - "line": 206, + "line": 202, "column": 63 } } @@ -62582,15 +61209,15 @@ { "type": "CommentLine", "value": " set waveform element and dimensions", - "start": 7909, - "end": 7947, + "start": 7676, + "end": 7714, "loc": { "start": { - "line": 210, + "line": 206, "column": 8 }, "end": { - "line": 210, + "line": 206, "column": 46 } } @@ -62598,15 +61225,15 @@ { "type": "CommentLine", "value": " Set the container to player's container if \"container\" option is", - "start": 7956, - "end": 8023, + "start": 7723, + "end": 7790, "loc": { "start": { - "line": 211, + "line": 207, "column": 8 }, "end": { - "line": 211, + "line": 207, "column": 75 } } @@ -62614,15 +61241,15 @@ { "type": "CommentLine", "value": " not provided. If a waveform needs to be appended to your custom", - "start": 8032, - "end": 8098, + "start": 7799, + "end": 7865, "loc": { "start": { - "line": 212, + "line": 208, "column": 8 }, "end": { - "line": 212, + "line": 208, "column": 74 } } @@ -62630,15 +61257,15 @@ { "type": "CommentLine", "value": " element, then use below option. For example:", - "start": 8107, - "end": 8154, + "start": 7874, + "end": 7921, "loc": { "start": { - "line": 213, + "line": 209, "column": 8 }, "end": { - "line": 213, + "line": 209, "column": 55 } } @@ -62646,15 +61273,15 @@ { "type": "CommentLine", "value": " container: document.querySelector(\"#vjs-waveform\")", - "start": 8163, - "end": 8216, + "start": 7930, + "end": 7983, "loc": { "start": { - "line": 214, + "line": 210, "column": 8 }, "end": { - "line": 214, + "line": 210, "column": 61 } } @@ -62663,57 +61290,57 @@ }, { "type": "IfStatement", - "start": 8225, - "end": 8328, + "start": 7992, + "end": 8095, "loc": { "start": { - "line": 215, + "line": 211, "column": 8 }, "end": { - "line": 217, + "line": 213, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 8229, - "end": 8263, + "start": 7996, + "end": 8030, "loc": { "start": { - "line": 215, + "line": 211, "column": 12 }, "end": { - "line": 215, + "line": 211, "column": 46 } }, "left": { "type": "MemberExpression", - "start": 8229, - "end": 8249, + "start": 7996, + "end": 8016, "loc": { "start": { - "line": 215, + "line": 211, "column": 12 }, "end": { - "line": 215, + "line": 211, "column": 32 } }, "object": { "type": "Identifier", - "start": 8229, - "end": 8239, + "start": 7996, + "end": 8006, "loc": { "start": { - "line": 215, + "line": 211, "column": 12 }, "end": { - "line": 215, + "line": 211, "column": 22 }, "identifierName": "surferOpts" @@ -62723,15 +61350,15 @@ }, "property": { "type": "Identifier", - "start": 8240, - "end": 8249, + "start": 8007, + "end": 8016, "loc": { "start": { - "line": 215, + "line": 211, "column": 23 }, "end": { - "line": 215, + "line": 211, "column": 32 }, "identifierName": "container" @@ -62744,15 +61371,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 8254, - "end": 8263, + "start": 8021, + "end": 8030, "loc": { "start": { - "line": 215, + "line": 211, "column": 37 }, "end": { - "line": 215, + "line": 211, "column": 46 }, "identifierName": "undefined" @@ -62763,73 +61390,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 8265, - "end": 8328, + "start": 8032, + "end": 8095, "loc": { "start": { - "line": 215, + "line": 211, "column": 48 }, "end": { - "line": 217, + "line": 213, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8279, - "end": 8318, + "start": 8046, + "end": 8085, "loc": { "start": { - "line": 216, + "line": 212, "column": 12 }, "end": { - "line": 216, + "line": 212, "column": 51 } }, "expression": { "type": "AssignmentExpression", - "start": 8279, - "end": 8317, + "start": 8046, + "end": 8084, "loc": { "start": { - "line": 216, + "line": 212, "column": 12 }, "end": { - "line": 216, + "line": 212, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8279, - "end": 8299, + "start": 8046, + "end": 8066, "loc": { "start": { - "line": 216, + "line": 212, "column": 12 }, "end": { - "line": 216, + "line": 212, "column": 32 } }, "object": { "type": "Identifier", - "start": 8279, - "end": 8289, + "start": 8046, + "end": 8056, "loc": { "start": { - "line": 216, + "line": 212, "column": 12 }, "end": { - "line": 216, + "line": 212, "column": 22 }, "identifierName": "surferOpts" @@ -62838,15 +61465,15 @@ }, "property": { "type": "Identifier", - "start": 8290, - "end": 8299, + "start": 8057, + "end": 8066, "loc": { "start": { - "line": 216, + "line": 212, "column": 23 }, "end": { - "line": 216, + "line": 212, "column": 32 }, "identifierName": "container" @@ -62857,58 +61484,58 @@ }, "right": { "type": "MemberExpression", - "start": 8302, - "end": 8317, + "start": 8069, + "end": 8084, "loc": { "start": { - "line": 216, + "line": 212, "column": 35 }, "end": { - "line": 216, + "line": 212, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 8302, - "end": 8313, + "start": 8069, + "end": 8080, "loc": { "start": { - "line": 216, + "line": 212, "column": 35 }, "end": { - "line": 216, + "line": 212, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 8302, - "end": 8306, + "start": 8069, + "end": 8073, "loc": { "start": { - "line": 216, + "line": 212, "column": 35 }, "end": { - "line": 216, + "line": 212, "column": 39 } } }, "property": { "type": "Identifier", - "start": 8307, - "end": 8313, + "start": 8074, + "end": 8080, "loc": { "start": { - "line": 216, + "line": 212, "column": 40 }, "end": { - "line": 216, + "line": 212, "column": 46 }, "identifierName": "player" @@ -62919,15 +61546,15 @@ }, "property": { "type": "Identifier", - "start": 8314, - "end": 8317, + "start": 8081, + "end": 8084, "loc": { "start": { - "line": 216, + "line": 212, "column": 47 }, "end": { - "line": 216, + "line": 212, "column": 50 }, "identifierName": "el_" @@ -62947,15 +61574,15 @@ { "type": "CommentLine", "value": " set waveform element and dimensions", - "start": 7909, - "end": 7947, + "start": 7676, + "end": 7714, "loc": { "start": { - "line": 210, + "line": 206, "column": 8 }, "end": { - "line": 210, + "line": 206, "column": 46 } } @@ -62963,15 +61590,15 @@ { "type": "CommentLine", "value": " Set the container to player's container if \"container\" option is", - "start": 7956, - "end": 8023, + "start": 7723, + "end": 7790, "loc": { "start": { - "line": 211, + "line": 207, "column": 8 }, "end": { - "line": 211, + "line": 207, "column": 75 } } @@ -62979,15 +61606,15 @@ { "type": "CommentLine", "value": " not provided. If a waveform needs to be appended to your custom", - "start": 8032, - "end": 8098, + "start": 7799, + "end": 7865, "loc": { "start": { - "line": 212, + "line": 208, "column": 8 }, "end": { - "line": 212, + "line": 208, "column": 74 } } @@ -62995,15 +61622,15 @@ { "type": "CommentLine", "value": " element, then use below option. For example:", - "start": 8107, - "end": 8154, + "start": 7874, + "end": 7921, "loc": { "start": { - "line": 213, + "line": 209, "column": 8 }, "end": { - "line": 213, + "line": 209, "column": 55 } } @@ -63011,15 +61638,15 @@ { "type": "CommentLine", "value": " container: document.querySelector(\"#vjs-waveform\")", - "start": 8163, - "end": 8216, + "start": 7930, + "end": 7983, "loc": { "start": { - "line": 214, + "line": 210, "column": 8 }, "end": { - "line": 214, + "line": 210, "column": 61 } } @@ -63029,15 +61656,15 @@ { "type": "CommentLine", "value": " set the height of generated waveform if user has provided height", - "start": 8338, - "end": 8405, + "start": 8105, + "end": 8172, "loc": { "start": { - "line": 219, + "line": 215, "column": 8 }, "end": { - "line": 219, + "line": 215, "column": 75 } } @@ -63045,15 +61672,15 @@ { "type": "CommentLine", "value": " from options. If height of waveform need to be customized then use", - "start": 8414, - "end": 8483, + "start": 8181, + "end": 8250, "loc": { "start": { - "line": 220, + "line": 216, "column": 8 }, "end": { - "line": 220, + "line": 216, "column": 77 } } @@ -63061,15 +61688,15 @@ { "type": "CommentLine", "value": " option below. For example: waveformHeight: 30", - "start": 8492, - "end": 8540, + "start": 8259, + "end": 8307, "loc": { "start": { - "line": 221, + "line": 217, "column": 8 }, "end": { - "line": 221, + "line": 217, "column": 56 } } @@ -63078,57 +61705,57 @@ }, { "type": "IfStatement", - "start": 8549, - "end": 8790, + "start": 8316, + "end": 8557, "loc": { "start": { - "line": 222, + "line": 218, "column": 8 }, "end": { - "line": 227, + "line": 223, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 8553, - "end": 8592, + "start": 8320, + "end": 8359, "loc": { "start": { - "line": 222, + "line": 218, "column": 12 }, "end": { - "line": 222, + "line": 218, "column": 51 } }, "left": { "type": "MemberExpression", - "start": 8553, - "end": 8578, + "start": 8320, + "end": 8345, "loc": { "start": { - "line": 222, + "line": 218, "column": 12 }, "end": { - "line": 222, + "line": 218, "column": 37 } }, "object": { "type": "Identifier", - "start": 8553, - "end": 8563, + "start": 8320, + "end": 8330, "loc": { "start": { - "line": 222, + "line": 218, "column": 12 }, "end": { - "line": 222, + "line": 218, "column": 22 }, "identifierName": "surferOpts" @@ -63138,15 +61765,15 @@ }, "property": { "type": "Identifier", - "start": 8564, - "end": 8578, + "start": 8331, + "end": 8345, "loc": { "start": { - "line": 222, + "line": 218, "column": 23 }, "end": { - "line": 222, + "line": 218, "column": 37 }, "identifierName": "waveformHeight" @@ -63159,15 +61786,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 8583, - "end": 8592, + "start": 8350, + "end": 8359, "loc": { "start": { - "line": 222, + "line": 218, "column": 42 }, "end": { - "line": 222, + "line": 218, "column": 51 }, "identifierName": "undefined" @@ -63178,59 +61805,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 8594, - "end": 8714, + "start": 8361, + "end": 8481, "loc": { "start": { - "line": 222, + "line": 218, "column": 53 }, "end": { - "line": 225, + "line": 221, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 8608, - "end": 8639, + "start": 8375, + "end": 8406, "loc": { "start": { - "line": 223, + "line": 219, "column": 12 }, "end": { - "line": 223, + "line": 219, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8612, - "end": 8638, + "start": 8379, + "end": 8405, "loc": { "start": { - "line": 223, + "line": 219, "column": 16 }, "end": { - "line": 223, + "line": 219, "column": 42 } }, "id": { "type": "Identifier", - "start": 8612, - "end": 8624, + "start": 8379, + "end": 8391, "loc": { "start": { - "line": 223, + "line": 219, "column": 16 }, "end": { - "line": 223, + "line": 219, "column": 28 }, "identifierName": "playerHeight" @@ -63239,29 +61866,29 @@ }, "init": { "type": "MemberExpression", - "start": 8627, - "end": 8638, + "start": 8394, + "end": 8405, "loc": { "start": { - "line": 223, + "line": 219, "column": 31 }, "end": { - "line": 223, + "line": 219, "column": 42 } }, "object": { "type": "Identifier", - "start": 8627, - "end": 8631, + "start": 8394, + "end": 8398, "loc": { "start": { - "line": 223, + "line": 219, "column": 31 }, "end": { - "line": 223, + "line": 219, "column": 35 }, "identifierName": "rect" @@ -63270,15 +61897,15 @@ }, "property": { "type": "Identifier", - "start": 8632, - "end": 8638, + "start": 8399, + "end": 8405, "loc": { "start": { - "line": 223, + "line": 219, "column": 36 }, "end": { - "line": 223, + "line": 219, "column": 42 }, "identifierName": "height" @@ -63293,58 +61920,58 @@ }, { "type": "ExpressionStatement", - "start": 8652, - "end": 8704, + "start": 8419, + "end": 8471, "loc": { "start": { - "line": 224, + "line": 220, "column": 12 }, "end": { - "line": 224, + "line": 220, "column": 64 } }, "expression": { "type": "AssignmentExpression", - "start": 8652, - "end": 8703, + "start": 8419, + "end": 8470, "loc": { "start": { - "line": 224, + "line": 220, "column": 12 }, "end": { - "line": 224, + "line": 220, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8652, - "end": 8669, + "start": 8419, + "end": 8436, "loc": { "start": { - "line": 224, + "line": 220, "column": 12 }, "end": { - "line": 224, + "line": 220, "column": 29 } }, "object": { "type": "Identifier", - "start": 8652, - "end": 8662, + "start": 8419, + "end": 8429, "loc": { "start": { - "line": 224, + "line": 220, "column": 12 }, "end": { - "line": 224, + "line": 220, "column": 22 }, "identifierName": "surferOpts" @@ -63353,15 +61980,15 @@ }, "property": { "type": "Identifier", - "start": 8663, - "end": 8669, + "start": 8430, + "end": 8436, "loc": { "start": { - "line": 224, + "line": 220, "column": 23 }, "end": { - "line": 224, + "line": 220, "column": 29 }, "identifierName": "height" @@ -63372,29 +61999,29 @@ }, "right": { "type": "BinaryExpression", - "start": 8672, - "end": 8703, + "start": 8439, + "end": 8470, "loc": { "start": { - "line": 224, + "line": 220, "column": 32 }, "end": { - "line": 224, + "line": 220, "column": 63 } }, "left": { "type": "Identifier", - "start": 8672, - "end": 8684, + "start": 8439, + "end": 8451, "loc": { "start": { - "line": 224, + "line": 220, "column": 32 }, "end": { - "line": 224, + "line": 220, "column": 44 }, "identifierName": "playerHeight" @@ -63404,15 +62031,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 8687, - "end": 8703, + "start": 8454, + "end": 8470, "loc": { "start": { - "line": 224, + "line": 220, "column": 47 }, "end": { - "line": 224, + "line": 220, "column": 63 }, "identifierName": "controlBarHeight" @@ -63427,73 +62054,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 8720, - "end": 8790, + "start": 8487, + "end": 8557, "loc": { "start": { - "line": 225, + "line": 221, "column": 15 }, "end": { - "line": 227, + "line": 223, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8734, - "end": 8780, + "start": 8501, + "end": 8547, "loc": { "start": { - "line": 226, + "line": 222, "column": 12 }, "end": { - "line": 226, + "line": 222, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 8734, - "end": 8779, + "start": 8501, + "end": 8546, "loc": { "start": { - "line": 226, + "line": 222, "column": 12 }, "end": { - "line": 226, + "line": 222, "column": 57 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8734, - "end": 8751, + "start": 8501, + "end": 8518, "loc": { "start": { - "line": 226, + "line": 222, "column": 12 }, "end": { - "line": 226, + "line": 222, "column": 29 } }, "object": { "type": "Identifier", - "start": 8734, - "end": 8744, + "start": 8501, + "end": 8511, "loc": { "start": { - "line": 226, + "line": 222, "column": 12 }, "end": { - "line": 226, + "line": 222, "column": 22 }, "identifierName": "surferOpts" @@ -63502,15 +62129,15 @@ }, "property": { "type": "Identifier", - "start": 8745, - "end": 8751, + "start": 8512, + "end": 8518, "loc": { "start": { - "line": 226, + "line": 222, "column": 23 }, "end": { - "line": 226, + "line": 222, "column": 29 }, "identifierName": "height" @@ -63521,29 +62148,29 @@ }, "right": { "type": "MemberExpression", - "start": 8754, - "end": 8779, + "start": 8521, + "end": 8546, "loc": { "start": { - "line": 226, + "line": 222, "column": 32 }, "end": { - "line": 226, + "line": 222, "column": 57 } }, "object": { "type": "Identifier", - "start": 8754, - "end": 8764, + "start": 8521, + "end": 8531, "loc": { "start": { - "line": 226, + "line": 222, "column": 32 }, "end": { - "line": 226, + "line": 222, "column": 42 }, "identifierName": "surferOpts" @@ -63552,15 +62179,15 @@ }, "property": { "type": "Identifier", - "start": 8765, - "end": 8779, + "start": 8532, + "end": 8546, "loc": { "start": { - "line": 226, + "line": 222, "column": 43 }, "end": { - "line": 226, + "line": 222, "column": 57 }, "identifierName": "waveformHeight" @@ -63579,15 +62206,15 @@ { "type": "CommentLine", "value": " set the height of generated waveform if user has provided height", - "start": 8338, - "end": 8405, + "start": 8105, + "end": 8172, "loc": { "start": { - "line": 219, + "line": 215, "column": 8 }, "end": { - "line": 219, + "line": 215, "column": 75 } } @@ -63595,15 +62222,15 @@ { "type": "CommentLine", "value": " from options. If height of waveform need to be customized then use", - "start": 8414, - "end": 8483, + "start": 8181, + "end": 8250, "loc": { "start": { - "line": 220, + "line": 216, "column": 8 }, "end": { - "line": 220, + "line": 216, "column": 77 } } @@ -63611,15 +62238,15 @@ { "type": "CommentLine", "value": " option below. For example: waveformHeight: 30", - "start": 8492, - "end": 8540, + "start": 8259, + "end": 8307, "loc": { "start": { - "line": 221, + "line": 217, "column": 8 }, "end": { - "line": 221, + "line": 217, "column": 56 } } @@ -63629,15 +62256,15 @@ { "type": "CommentLine", "value": " split channels", - "start": 8800, - "end": 8817, + "start": 8567, + "end": 8584, "loc": { "start": { - "line": 229, + "line": 225, "column": 8 }, "end": { - "line": 229, + "line": 225, "column": 25 } } @@ -63646,57 +62273,57 @@ }, { "type": "IfStatement", - "start": 8826, - "end": 8940, + "start": 8593, + "end": 8707, "loc": { "start": { - "line": 230, + "line": 226, "column": 8 }, "end": { - "line": 232, + "line": 228, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 8830, - "end": 8891, + "start": 8597, + "end": 8658, "loc": { "start": { - "line": 230, + "line": 226, "column": 12 }, "end": { - "line": 230, + "line": 226, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 8830, - "end": 8854, + "start": 8597, + "end": 8621, "loc": { "start": { - "line": 230, + "line": 226, "column": 12 }, "end": { - "line": 230, + "line": 226, "column": 36 } }, "object": { "type": "Identifier", - "start": 8830, - "end": 8840, + "start": 8597, + "end": 8607, "loc": { "start": { - "line": 230, + "line": 226, "column": 12 }, "end": { - "line": 230, + "line": 226, "column": 22 }, "identifierName": "surferOpts" @@ -63706,15 +62333,15 @@ }, "property": { "type": "Identifier", - "start": 8841, - "end": 8854, + "start": 8608, + "end": 8621, "loc": { "start": { - "line": 230, + "line": 226, "column": 23 }, "end": { - "line": 230, + "line": 226, "column": 36 }, "identifierName": "splitChannels" @@ -63727,43 +62354,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 8858, - "end": 8891, + "start": 8625, + "end": 8658, "loc": { "start": { - "line": 230, + "line": 226, "column": 40 }, "end": { - "line": 230, + "line": 226, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 8858, - "end": 8882, + "start": 8625, + "end": 8649, "loc": { "start": { - "line": 230, + "line": 226, "column": 40 }, "end": { - "line": 230, + "line": 226, "column": 64 } }, "object": { "type": "Identifier", - "start": 8858, - "end": 8868, + "start": 8625, + "end": 8635, "loc": { "start": { - "line": 230, + "line": 226, "column": 40 }, "end": { - "line": 230, + "line": 226, "column": 50 }, "identifierName": "surferOpts" @@ -63772,15 +62399,15 @@ }, "property": { "type": "Identifier", - "start": 8869, - "end": 8882, + "start": 8636, + "end": 8649, "loc": { "start": { - "line": 230, + "line": 226, "column": 51 }, "end": { - "line": 230, + "line": 226, "column": 64 }, "identifierName": "splitChannels" @@ -63792,15 +62419,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 8887, - "end": 8891, + "start": 8654, + "end": 8658, "loc": { "start": { - "line": 230, + "line": 226, "column": 69 }, "end": { - "line": 230, + "line": 226, "column": 73 } }, @@ -63811,73 +62438,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 8893, - "end": 8940, + "start": 8660, + "end": 8707, "loc": { "start": { - "line": 230, + "line": 226, "column": 75 }, "end": { - "line": 232, + "line": 228, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8907, - "end": 8930, + "start": 8674, + "end": 8697, "loc": { "start": { - "line": 231, + "line": 227, "column": 12 }, "end": { - "line": 231, + "line": 227, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 8907, - "end": 8929, + "start": 8674, + "end": 8696, "loc": { "start": { - "line": 231, + "line": 227, "column": 12 }, "end": { - "line": 231, + "line": 227, "column": 34 } }, "operator": "/=", "left": { "type": "MemberExpression", - "start": 8907, - "end": 8924, + "start": 8674, + "end": 8691, "loc": { "start": { - "line": 231, + "line": 227, "column": 12 }, "end": { - "line": 231, + "line": 227, "column": 29 } }, "object": { "type": "Identifier", - "start": 8907, - "end": 8917, + "start": 8674, + "end": 8684, "loc": { "start": { - "line": 231, + "line": 227, "column": 12 }, "end": { - "line": 231, + "line": 227, "column": 22 }, "identifierName": "surferOpts" @@ -63886,15 +62513,15 @@ }, "property": { "type": "Identifier", - "start": 8918, - "end": 8924, + "start": 8685, + "end": 8691, "loc": { "start": { - "line": 231, + "line": 227, "column": 23 }, "end": { - "line": 231, + "line": 227, "column": 29 }, "identifierName": "height" @@ -63905,15 +62532,15 @@ }, "right": { "type": "NumericLiteral", - "start": 8928, - "end": 8929, + "start": 8695, + "end": 8696, "loc": { "start": { - "line": 231, + "line": 227, "column": 33 }, "end": { - "line": 231, + "line": 227, "column": 34 } }, @@ -63934,15 +62561,15 @@ { "type": "CommentLine", "value": " split channels", - "start": 8800, - "end": 8817, + "start": 8567, + "end": 8584, "loc": { "start": { - "line": 229, + "line": 225, "column": 8 }, "end": { - "line": 229, + "line": 225, "column": 25 } } @@ -63952,15 +62579,15 @@ { "type": "CommentLine", "value": " use MediaElement as default wavesurfer.js backend if one is not", - "start": 8950, - "end": 9016, + "start": 8717, + "end": 8783, "loc": { "start": { - "line": 234, + "line": 230, "column": 8 }, "end": { - "line": 234, + "line": 230, "column": 74 } } @@ -63968,15 +62595,15 @@ { "type": "CommentLine", "value": " specified", - "start": 9025, - "end": 9037, + "start": 8792, + "end": 8804, "loc": { "start": { - "line": 235, + "line": 231, "column": 8 }, "end": { - "line": 235, + "line": 231, "column": 20 } } @@ -63985,43 +62612,43 @@ }, { "type": "IfStatement", - "start": 9046, - "end": 9212, + "start": 8813, + "end": 8979, "loc": { "start": { - "line": 236, + "line": 232, "column": 8 }, "end": { - "line": 240, + "line": 236, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 9050, - "end": 9073, + "start": 8817, + "end": 8840, "loc": { "start": { - "line": 236, + "line": 232, "column": 12 }, "end": { - "line": 236, + "line": 232, "column": 35 } }, "left": { "type": "StringLiteral", - "start": 9050, - "end": 9059, + "start": 8817, + "end": 8826, "loc": { "start": { - "line": 236, + "line": 232, "column": 12 }, "end": { - "line": 236, + "line": 232, "column": 21 } }, @@ -64035,15 +62662,15 @@ "operator": "in", "right": { "type": "Identifier", - "start": 9063, - "end": 9073, + "start": 8830, + "end": 8840, "loc": { "start": { - "line": 236, + "line": 232, "column": 25 }, "end": { - "line": 236, + "line": 232, "column": 35 }, "identifierName": "surferOpts" @@ -64054,88 +62681,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 9075, - "end": 9133, + "start": 8842, + "end": 8900, "loc": { "start": { - "line": 236, + "line": 232, "column": 37 }, "end": { - "line": 238, + "line": 234, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9089, - "end": 9123, + "start": 8856, + "end": 8890, "loc": { "start": { - "line": 237, + "line": 233, "column": 12 }, "end": { - "line": 237, + "line": 233, "column": 46 } }, "expression": { "type": "AssignmentExpression", - "start": 9089, - "end": 9122, + "start": 8856, + "end": 8889, "loc": { "start": { - "line": 237, + "line": 233, "column": 12 }, "end": { - "line": 237, + "line": 233, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9089, - "end": 9101, + "start": 8856, + "end": 8868, "loc": { "start": { - "line": 237, + "line": 233, "column": 12 }, "end": { - "line": 237, + "line": 233, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 9089, - "end": 9093, + "start": 8856, + "end": 8860, "loc": { "start": { - "line": 237, + "line": 233, "column": 12 }, "end": { - "line": 237, + "line": 233, "column": 16 } } }, "property": { "type": "Identifier", - "start": 9094, - "end": 9101, + "start": 8861, + "end": 8868, "loc": { "start": { - "line": 237, + "line": 233, "column": 17 }, "end": { - "line": 237, + "line": 233, "column": 24 }, "identifierName": "backend" @@ -64146,29 +62773,29 @@ }, "right": { "type": "MemberExpression", - "start": 9104, - "end": 9122, + "start": 8871, + "end": 8889, "loc": { "start": { - "line": 237, + "line": 233, "column": 27 }, "end": { - "line": 237, + "line": 233, "column": 45 } }, "object": { "type": "Identifier", - "start": 9104, - "end": 9114, + "start": 8871, + "end": 8881, "loc": { "start": { - "line": 237, + "line": 233, "column": 27 }, "end": { - "line": 237, + "line": 233, "column": 37 }, "identifierName": "surferOpts" @@ -64177,15 +62804,15 @@ }, "property": { "type": "Identifier", - "start": 9115, - "end": 9122, + "start": 8882, + "end": 8889, "loc": { "start": { - "line": 237, + "line": 233, "column": 38 }, "end": { - "line": 237, + "line": 233, "column": 45 }, "identifierName": "backend" @@ -64201,73 +62828,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 9139, - "end": 9212, + "start": 8906, + "end": 8979, "loc": { "start": { - "line": 238, + "line": 234, "column": 15 }, "end": { - "line": 240, + "line": 236, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9153, - "end": 9202, + "start": 8920, + "end": 8969, "loc": { "start": { - "line": 239, + "line": 235, "column": 12 }, "end": { - "line": 239, + "line": 235, "column": 61 } }, "expression": { "type": "AssignmentExpression", - "start": 9153, - "end": 9201, + "start": 8920, + "end": 8968, "loc": { "start": { - "line": 239, + "line": 235, "column": 12 }, "end": { - "line": 239, + "line": 235, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9153, - "end": 9171, + "start": 8920, + "end": 8938, "loc": { "start": { - "line": 239, + "line": 235, "column": 12 }, "end": { - "line": 239, + "line": 235, "column": 30 } }, "object": { "type": "Identifier", - "start": 9153, - "end": 9163, + "start": 8920, + "end": 8930, "loc": { "start": { - "line": 239, + "line": 235, "column": 12 }, "end": { - "line": 239, + "line": 235, "column": 22 }, "identifierName": "surferOpts" @@ -64276,15 +62903,15 @@ }, "property": { "type": "Identifier", - "start": 9164, - "end": 9171, + "start": 8931, + "end": 8938, "loc": { "start": { - "line": 239, + "line": 235, "column": 23 }, "end": { - "line": 239, + "line": 235, "column": 30 }, "identifierName": "backend" @@ -64295,59 +62922,59 @@ }, "right": { "type": "AssignmentExpression", - "start": 9174, - "end": 9201, + "start": 8941, + "end": 8968, "loc": { "start": { - "line": 239, + "line": 235, "column": 33 }, "end": { - "line": 239, + "line": 235, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9174, - "end": 9186, + "start": 8941, + "end": 8953, "loc": { "start": { - "line": 239, + "line": 235, "column": 33 }, "end": { - "line": 239, + "line": 235, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 9174, - "end": 9178, + "start": 8941, + "end": 8945, "loc": { "start": { - "line": 239, + "line": 235, "column": 33 }, "end": { - "line": 239, + "line": 235, "column": 37 } } }, "property": { "type": "Identifier", - "start": 9179, - "end": 9186, + "start": 8946, + "end": 8953, "loc": { "start": { - "line": 239, + "line": 235, "column": 38 }, "end": { - "line": 239, + "line": 235, "column": 45 }, "identifierName": "backend" @@ -64358,15 +62985,15 @@ }, "right": { "type": "Identifier", - "start": 9189, - "end": 9201, + "start": 8956, + "end": 8968, "loc": { "start": { - "line": 239, + "line": 235, "column": 48 }, "end": { - "line": 239, + "line": 235, "column": 60 }, "identifierName": "MEDIAELEMENT" @@ -64383,15 +63010,15 @@ { "type": "CommentLine", "value": " use MediaElement as default wavesurfer.js backend if one is not", - "start": 8950, - "end": 9016, + "start": 8717, + "end": 8783, "loc": { "start": { - "line": 234, + "line": 230, "column": 8 }, "end": { - "line": 234, + "line": 230, "column": 74 } } @@ -64399,15 +63026,15 @@ { "type": "CommentLine", "value": " specified", - "start": 9025, - "end": 9037, + "start": 8792, + "end": 8804, "loc": { "start": { - "line": 235, + "line": 231, "column": 8 }, "end": { - "line": 235, + "line": 231, "column": 20 } } @@ -64416,29 +63043,29 @@ }, { "type": "ReturnStatement", - "start": 9222, - "end": 9240, + "start": 8989, + "end": 9007, "loc": { "start": { - "line": 242, + "line": 238, "column": 8 }, "end": { - "line": 242, + "line": 238, "column": 26 } }, "argument": { "type": "Identifier", - "start": 9229, - "end": 9239, + "start": 8996, + "end": 9006, "loc": { "start": { - "line": 242, + "line": 238, "column": 15 }, "end": { - "line": 242, + "line": 238, "column": 25 }, "identifierName": "surferOpts" @@ -64454,15 +63081,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": 7049, - "end": 7232, + "start": 6816, + "end": 6999, "loc": { "start": { - "line": 189, + "line": 185, "column": 4 }, "end": { - "line": 195, + "line": 191, "column": 7 } } @@ -64472,15 +63099,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": 9252, - "end": 9452, + "start": 9019, + "end": 9219, "loc": { "start": { - "line": 245, + "line": 241, "column": 4 }, "end": { - "line": 251, + "line": 247, "column": 7 } } @@ -64489,15 +63116,15 @@ }, { "type": "ClassMethod", - "start": 9457, - "end": 10076, + "start": 9224, + "end": 9843, "loc": { "start": { - "line": 252, + "line": 248, "column": 4 }, "end": { - "line": 266, + "line": 262, "column": 5 } }, @@ -64505,15 +63132,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9457, - "end": 9476, + "start": 9224, + "end": 9243, "loc": { "start": { - "line": 252, + "line": 248, "column": 4 }, "end": { - "line": 252, + "line": 248, "column": 23 }, "identifierName": "setupPlaybackEvents" @@ -64529,15 +63156,15 @@ "params": [ { "type": "Identifier", - "start": 9477, - "end": 9483, + "start": 9244, + "end": 9250, "loc": { "start": { - "line": 252, + "line": 248, "column": 24 }, "end": { - "line": 252, + "line": 248, "column": 30 }, "identifierName": "enable" @@ -64547,58 +63174,58 @@ ], "body": { "type": "BlockStatement", - "start": 9485, - "end": 10076, + "start": 9252, + "end": 9843, "loc": { "start": { - "line": 252, + "line": 248, "column": 32 }, "end": { - "line": 266, + "line": 262, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 9495, - "end": 10070, + "start": 9262, + "end": 9837, "loc": { "start": { - "line": 253, + "line": 249, "column": 8 }, "end": { - "line": 265, + "line": 261, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 9499, - "end": 9515, + "start": 9266, + "end": 9282, "loc": { "start": { - "line": 253, + "line": 249, "column": 12 }, "end": { - "line": 253, + "line": 249, "column": 28 } }, "left": { "type": "Identifier", - "start": 9499, - "end": 9505, + "start": 9266, + "end": 9272, "loc": { "start": { - "line": 253, + "line": 249, "column": 12 }, "end": { - "line": 253, + "line": 249, "column": 18 }, "identifierName": "enable" @@ -64608,15 +63235,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 9510, - "end": 9515, + "start": 9277, + "end": 9282, "loc": { "start": { - "line": 253, + "line": 249, "column": 23 }, "end": { - "line": 253, + "line": 249, "column": 28 } }, @@ -64625,101 +63252,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9517, - "end": 9780, + "start": 9284, + "end": 9547, "loc": { "start": { - "line": 253, + "line": 249, "column": 30 }, "end": { - "line": 259, + "line": 255, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9531, - "end": 9577, + "start": 9298, + "end": 9344, "loc": { "start": { - "line": 254, + "line": 250, "column": 12 }, "end": { - "line": 254, + "line": 250, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 9531, - "end": 9576, + "start": 9298, + "end": 9343, "loc": { "start": { - "line": 254, + "line": 250, "column": 12 }, "end": { - "line": 254, + "line": 250, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 9531, - "end": 9545, + "start": 9298, + "end": 9312, "loc": { "start": { - "line": 254, + "line": 250, "column": 12 }, "end": { - "line": 254, + "line": 250, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 9531, - "end": 9542, + "start": 9298, + "end": 9309, "loc": { "start": { - "line": 254, + "line": 250, "column": 12 }, "end": { - "line": 254, + "line": 250, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9531, - "end": 9535, + "start": 9298, + "end": 9302, "loc": { "start": { - "line": 254, + "line": 250, "column": 12 }, "end": { - "line": 254, + "line": 250, "column": 16 } } }, "property": { "type": "Identifier", - "start": 9536, - "end": 9542, + "start": 9303, + "end": 9309, "loc": { "start": { - "line": 254, + "line": 250, "column": 17 }, "end": { - "line": 254, + "line": 250, "column": 23 }, "identifierName": "surfer" @@ -64730,15 +63357,15 @@ }, "property": { "type": "Identifier", - "start": 9543, - "end": 9545, + "start": 9310, + "end": 9312, "loc": { "start": { - "line": 254, + "line": 250, "column": 24 }, "end": { - "line": 254, + "line": 250, "column": 26 }, "identifierName": "un" @@ -64750,29 +63377,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9546, - "end": 9557, + "start": 9313, + "end": 9324, "loc": { "start": { - "line": 254, + "line": 250, "column": 27 }, "end": { - "line": 254, + "line": 250, "column": 38 } }, "object": { "type": "Identifier", - "start": 9546, - "end": 9551, + "start": 9313, + "end": 9318, "loc": { "start": { - "line": 254, + "line": 250, "column": 27 }, "end": { - "line": 254, + "line": 250, "column": 32 }, "identifierName": "Event" @@ -64781,15 +63408,15 @@ }, "property": { "type": "Identifier", - "start": 9552, - "end": 9557, + "start": 9319, + "end": 9324, "loc": { "start": { - "line": 254, + "line": 250, "column": 33 }, "end": { - "line": 254, + "line": 250, "column": 38 }, "identifierName": "READY" @@ -64800,44 +63427,44 @@ }, { "type": "MemberExpression", - "start": 9559, - "end": 9575, + "start": 9326, + "end": 9342, "loc": { "start": { - "line": 254, + "line": 250, "column": 40 }, "end": { - "line": 254, + "line": 250, "column": 56 } }, "object": { "type": "ThisExpression", - "start": 9559, - "end": 9563, + "start": 9326, + "end": 9330, "loc": { "start": { - "line": 254, + "line": 250, "column": 40 }, "end": { - "line": 254, + "line": 250, "column": 44 } } }, "property": { "type": "Identifier", - "start": 9564, - "end": 9575, + "start": 9331, + "end": 9342, "loc": { "start": { - "line": 254, + "line": 250, "column": 45 }, "end": { - "line": 254, + "line": 250, "column": 56 }, "identifierName": "surferReady" @@ -64851,72 +63478,72 @@ }, { "type": "IfStatement", - "start": 9590, - "end": 9770, + "start": 9357, + "end": 9537, "loc": { "start": { - "line": 255, + "line": 251, "column": 12 }, "end": { - "line": 258, + "line": 254, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 9594, - "end": 9619, + "start": 9361, + "end": 9386, "loc": { "start": { - "line": 255, + "line": 251, "column": 16 }, "end": { - "line": 255, + "line": 251, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 9594, - "end": 9606, + "start": 9361, + "end": 9373, "loc": { "start": { - "line": 255, + "line": 251, "column": 16 }, "end": { - "line": 255, + "line": 251, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 9594, - "end": 9598, + "start": 9361, + "end": 9365, "loc": { "start": { - "line": 255, + "line": 251, "column": 16 }, "end": { - "line": 255, + "line": 251, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9599, - "end": 9606, + "start": 9366, + "end": 9373, "loc": { "start": { - "line": 255, + "line": 251, "column": 21 }, "end": { - "line": 255, + "line": 251, "column": 28 }, "identifierName": "backend" @@ -64928,15 +63555,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 9611, - "end": 9619, + "start": 9378, + "end": 9386, "loc": { "start": { - "line": 255, + "line": 251, "column": 33 }, "end": { - "line": 255, + "line": 251, "column": 41 }, "identifierName": "WEBAUDIO" @@ -64946,101 +63573,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9621, - "end": 9770, + "start": 9388, + "end": 9537, "loc": { "start": { - "line": 255, + "line": 251, "column": 43 }, "end": { - "line": 258, + "line": 254, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9639, - "end": 9695, + "start": 9406, + "end": 9462, "loc": { "start": { - "line": 256, + "line": 252, "column": 16 }, "end": { - "line": 256, + "line": 252, "column": 72 } }, "expression": { "type": "CallExpression", - "start": 9639, - "end": 9694, + "start": 9406, + "end": 9461, "loc": { "start": { - "line": 256, + "line": 252, "column": 16 }, "end": { - "line": 256, + "line": 252, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 9639, - "end": 9653, + "start": 9406, + "end": 9420, "loc": { "start": { - "line": 256, + "line": 252, "column": 16 }, "end": { - "line": 256, + "line": 252, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9639, - "end": 9650, + "start": 9406, + "end": 9417, "loc": { "start": { - "line": 256, + "line": 252, "column": 16 }, "end": { - "line": 256, + "line": 252, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9639, - "end": 9643, + "start": 9406, + "end": 9410, "loc": { "start": { - "line": 256, + "line": 252, "column": 16 }, "end": { - "line": 256, + "line": 252, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9644, - "end": 9650, + "start": 9411, + "end": 9417, "loc": { "start": { - "line": 256, + "line": 252, "column": 21 }, "end": { - "line": 256, + "line": 252, "column": 27 }, "identifierName": "surfer" @@ -65051,15 +63678,15 @@ }, "property": { "type": "Identifier", - "start": 9651, - "end": 9653, + "start": 9418, + "end": 9420, "loc": { "start": { - "line": 256, + "line": 252, "column": 28 }, "end": { - "line": 256, + "line": 252, "column": 30 }, "identifierName": "un" @@ -65071,29 +63698,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9654, - "end": 9672, + "start": 9421, + "end": 9439, "loc": { "start": { - "line": 256, + "line": 252, "column": 31 }, "end": { - "line": 256, + "line": 252, "column": 49 } }, "object": { "type": "Identifier", - "start": 9654, - "end": 9659, + "start": 9421, + "end": 9426, "loc": { "start": { - "line": 256, + "line": 252, "column": 31 }, "end": { - "line": 256, + "line": 252, "column": 36 }, "identifierName": "Event" @@ -65102,15 +63729,15 @@ }, "property": { "type": "Identifier", - "start": 9660, - "end": 9672, + "start": 9427, + "end": 9439, "loc": { "start": { - "line": 256, + "line": 252, "column": 37 }, "end": { - "line": 256, + "line": 252, "column": 49 }, "identifierName": "AUDIOPROCESS" @@ -65121,44 +63748,44 @@ }, { "type": "MemberExpression", - "start": 9674, - "end": 9693, + "start": 9441, + "end": 9460, "loc": { "start": { - "line": 256, + "line": 252, "column": 51 }, "end": { - "line": 256, + "line": 252, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 9674, - "end": 9678, + "start": 9441, + "end": 9445, "loc": { "start": { - "line": 256, + "line": 252, "column": 51 }, "end": { - "line": 256, + "line": 252, "column": 55 } } }, "property": { "type": "Identifier", - "start": 9679, - "end": 9693, + "start": 9446, + "end": 9460, "loc": { "start": { - "line": 256, + "line": 252, "column": 56 }, "end": { - "line": 256, + "line": 252, "column": 70 }, "identifierName": "surferProgress" @@ -65172,86 +63799,86 @@ }, { "type": "ExpressionStatement", - "start": 9712, - "end": 9756, + "start": 9479, + "end": 9523, "loc": { "start": { - "line": 257, + "line": 253, "column": 16 }, "end": { - "line": 257, + "line": 253, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 9712, - "end": 9755, + "start": 9479, + "end": 9522, "loc": { "start": { - "line": 257, + "line": 253, "column": 16 }, "end": { - "line": 257, + "line": 253, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 9712, - "end": 9726, + "start": 9479, + "end": 9493, "loc": { "start": { - "line": 257, + "line": 253, "column": 16 }, "end": { - "line": 257, + "line": 253, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9712, - "end": 9723, + "start": 9479, + "end": 9490, "loc": { "start": { - "line": 257, + "line": 253, "column": 16 }, "end": { - "line": 257, + "line": 253, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9712, - "end": 9716, + "start": 9479, + "end": 9483, "loc": { "start": { - "line": 257, + "line": 253, "column": 16 }, "end": { - "line": 257, + "line": 253, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9717, - "end": 9723, + "start": 9484, + "end": 9490, "loc": { "start": { - "line": 257, + "line": 253, "column": 21 }, "end": { - "line": 257, + "line": 253, "column": 27 }, "identifierName": "surfer" @@ -65262,15 +63889,15 @@ }, "property": { "type": "Identifier", - "start": 9724, - "end": 9726, + "start": 9491, + "end": 9493, "loc": { "start": { - "line": 257, + "line": 253, "column": 28 }, "end": { - "line": 257, + "line": 253, "column": 30 }, "identifierName": "un" @@ -65282,29 +63909,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9727, - "end": 9737, + "start": 9494, + "end": 9504, "loc": { "start": { - "line": 257, + "line": 253, "column": 31 }, "end": { - "line": 257, + "line": 253, "column": 41 } }, "object": { "type": "Identifier", - "start": 9727, - "end": 9732, + "start": 9494, + "end": 9499, "loc": { "start": { - "line": 257, + "line": 253, "column": 31 }, "end": { - "line": 257, + "line": 253, "column": 36 }, "identifierName": "Event" @@ -65313,15 +63940,15 @@ }, "property": { "type": "Identifier", - "start": 9733, - "end": 9737, + "start": 9500, + "end": 9504, "loc": { "start": { - "line": 257, + "line": 253, "column": 37 }, "end": { - "line": 257, + "line": 253, "column": 41 }, "identifierName": "SEEK" @@ -65332,44 +63959,44 @@ }, { "type": "MemberExpression", - "start": 9739, - "end": 9754, + "start": 9506, + "end": 9521, "loc": { "start": { - "line": 257, + "line": 253, "column": 43 }, "end": { - "line": 257, + "line": 253, "column": 58 } }, "object": { "type": "ThisExpression", - "start": 9739, - "end": 9743, + "start": 9506, + "end": 9510, "loc": { "start": { - "line": 257, + "line": 253, "column": 43 }, "end": { - "line": 257, + "line": 253, "column": 47 } } }, "property": { "type": "Identifier", - "start": 9744, - "end": 9754, + "start": 9511, + "end": 9521, "loc": { "start": { - "line": 257, + "line": 253, "column": 48 }, "end": { - "line": 257, + "line": 253, "column": 58 }, "identifierName": "surferSeek" @@ -65391,43 +64018,43 @@ }, "alternate": { "type": "IfStatement", - "start": 9786, - "end": 10070, + "start": 9553, + "end": 9837, "loc": { "start": { - "line": 259, + "line": 255, "column": 15 }, "end": { - "line": 265, + "line": 261, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 9790, - "end": 9805, + "start": 9557, + "end": 9572, "loc": { "start": { - "line": 259, + "line": 255, "column": 19 }, "end": { - "line": 259, + "line": 255, "column": 34 } }, "left": { "type": "Identifier", - "start": 9790, - "end": 9796, + "start": 9557, + "end": 9563, "loc": { "start": { - "line": 259, + "line": 255, "column": 19 }, "end": { - "line": 259, + "line": 255, "column": 25 }, "identifierName": "enable" @@ -65437,15 +64064,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 9801, - "end": 9805, + "start": 9568, + "end": 9572, "loc": { "start": { - "line": 259, + "line": 255, "column": 30 }, "end": { - "line": 259, + "line": 255, "column": 34 } }, @@ -65454,101 +64081,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9807, - "end": 10070, + "start": 9574, + "end": 9837, "loc": { "start": { - "line": 259, + "line": 255, "column": 36 }, "end": { - "line": 265, + "line": 261, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9821, - "end": 9867, + "start": 9588, + "end": 9634, "loc": { "start": { - "line": 260, + "line": 256, "column": 12 }, "end": { - "line": 260, + "line": 256, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 9821, - "end": 9866, + "start": 9588, + "end": 9633, "loc": { "start": { - "line": 260, + "line": 256, "column": 12 }, "end": { - "line": 260, + "line": 256, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 9821, - "end": 9835, + "start": 9588, + "end": 9602, "loc": { "start": { - "line": 260, + "line": 256, "column": 12 }, "end": { - "line": 260, + "line": 256, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 9821, - "end": 9832, + "start": 9588, + "end": 9599, "loc": { "start": { - "line": 260, + "line": 256, "column": 12 }, "end": { - "line": 260, + "line": 256, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9821, - "end": 9825, + "start": 9588, + "end": 9592, "loc": { "start": { - "line": 260, + "line": 256, "column": 12 }, "end": { - "line": 260, + "line": 256, "column": 16 } } }, "property": { "type": "Identifier", - "start": 9826, - "end": 9832, + "start": 9593, + "end": 9599, "loc": { "start": { - "line": 260, + "line": 256, "column": 17 }, "end": { - "line": 260, + "line": 256, "column": 23 }, "identifierName": "surfer" @@ -65559,15 +64186,15 @@ }, "property": { "type": "Identifier", - "start": 9833, - "end": 9835, + "start": 9600, + "end": 9602, "loc": { "start": { - "line": 260, + "line": 256, "column": 24 }, "end": { - "line": 260, + "line": 256, "column": 26 }, "identifierName": "on" @@ -65579,29 +64206,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9836, - "end": 9847, + "start": 9603, + "end": 9614, "loc": { "start": { - "line": 260, + "line": 256, "column": 27 }, "end": { - "line": 260, + "line": 256, "column": 38 } }, "object": { "type": "Identifier", - "start": 9836, - "end": 9841, + "start": 9603, + "end": 9608, "loc": { "start": { - "line": 260, + "line": 256, "column": 27 }, "end": { - "line": 260, + "line": 256, "column": 32 }, "identifierName": "Event" @@ -65610,15 +64237,15 @@ }, "property": { "type": "Identifier", - "start": 9842, - "end": 9847, + "start": 9609, + "end": 9614, "loc": { "start": { - "line": 260, + "line": 256, "column": 33 }, "end": { - "line": 260, + "line": 256, "column": 38 }, "identifierName": "READY" @@ -65629,44 +64256,44 @@ }, { "type": "MemberExpression", - "start": 9849, - "end": 9865, + "start": 9616, + "end": 9632, "loc": { "start": { - "line": 260, + "line": 256, "column": 40 }, "end": { - "line": 260, + "line": 256, "column": 56 } }, "object": { "type": "ThisExpression", - "start": 9849, - "end": 9853, + "start": 9616, + "end": 9620, "loc": { "start": { - "line": 260, + "line": 256, "column": 40 }, "end": { - "line": 260, + "line": 256, "column": 44 } } }, "property": { "type": "Identifier", - "start": 9854, - "end": 9865, + "start": 9621, + "end": 9632, "loc": { "start": { - "line": 260, + "line": 256, "column": 45 }, "end": { - "line": 260, + "line": 256, "column": 56 }, "identifierName": "surferReady" @@ -65680,72 +64307,72 @@ }, { "type": "IfStatement", - "start": 9880, - "end": 10060, + "start": 9647, + "end": 9827, "loc": { "start": { - "line": 261, + "line": 257, "column": 12 }, "end": { - "line": 264, + "line": 260, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 9884, - "end": 9909, + "start": 9651, + "end": 9676, "loc": { "start": { - "line": 261, + "line": 257, "column": 16 }, "end": { - "line": 261, + "line": 257, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 9884, - "end": 9896, + "start": 9651, + "end": 9663, "loc": { "start": { - "line": 261, + "line": 257, "column": 16 }, "end": { - "line": 261, + "line": 257, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 9884, - "end": 9888, + "start": 9651, + "end": 9655, "loc": { "start": { - "line": 261, + "line": 257, "column": 16 }, "end": { - "line": 261, + "line": 257, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9889, - "end": 9896, + "start": 9656, + "end": 9663, "loc": { "start": { - "line": 261, + "line": 257, "column": 21 }, "end": { - "line": 261, + "line": 257, "column": 28 }, "identifierName": "backend" @@ -65757,15 +64384,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 9901, - "end": 9909, + "start": 9668, + "end": 9676, "loc": { "start": { - "line": 261, + "line": 257, "column": 33 }, "end": { - "line": 261, + "line": 257, "column": 41 }, "identifierName": "WEBAUDIO" @@ -65775,101 +64402,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 9911, - "end": 10060, + "start": 9678, + "end": 9827, "loc": { "start": { - "line": 261, + "line": 257, "column": 43 }, "end": { - "line": 264, + "line": 260, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9929, - "end": 9985, + "start": 9696, + "end": 9752, "loc": { "start": { - "line": 262, + "line": 258, "column": 16 }, "end": { - "line": 262, + "line": 258, "column": 72 } }, "expression": { "type": "CallExpression", - "start": 9929, - "end": 9984, + "start": 9696, + "end": 9751, "loc": { "start": { - "line": 262, + "line": 258, "column": 16 }, "end": { - "line": 262, + "line": 258, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 9929, - "end": 9943, + "start": 9696, + "end": 9710, "loc": { "start": { - "line": 262, + "line": 258, "column": 16 }, "end": { - "line": 262, + "line": 258, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 9929, - "end": 9940, + "start": 9696, + "end": 9707, "loc": { "start": { - "line": 262, + "line": 258, "column": 16 }, "end": { - "line": 262, + "line": 258, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9929, - "end": 9933, + "start": 9696, + "end": 9700, "loc": { "start": { - "line": 262, + "line": 258, "column": 16 }, "end": { - "line": 262, + "line": 258, "column": 20 } } }, "property": { "type": "Identifier", - "start": 9934, - "end": 9940, + "start": 9701, + "end": 9707, "loc": { "start": { - "line": 262, + "line": 258, "column": 21 }, "end": { - "line": 262, + "line": 258, "column": 27 }, "identifierName": "surfer" @@ -65880,15 +64507,15 @@ }, "property": { "type": "Identifier", - "start": 9941, - "end": 9943, + "start": 9708, + "end": 9710, "loc": { "start": { - "line": 262, + "line": 258, "column": 28 }, "end": { - "line": 262, + "line": 258, "column": 30 }, "identifierName": "on" @@ -65900,29 +64527,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9944, - "end": 9962, + "start": 9711, + "end": 9729, "loc": { "start": { - "line": 262, + "line": 258, "column": 31 }, "end": { - "line": 262, + "line": 258, "column": 49 } }, "object": { "type": "Identifier", - "start": 9944, - "end": 9949, + "start": 9711, + "end": 9716, "loc": { "start": { - "line": 262, + "line": 258, "column": 31 }, "end": { - "line": 262, + "line": 258, "column": 36 }, "identifierName": "Event" @@ -65931,15 +64558,15 @@ }, "property": { "type": "Identifier", - "start": 9950, - "end": 9962, + "start": 9717, + "end": 9729, "loc": { "start": { - "line": 262, + "line": 258, "column": 37 }, "end": { - "line": 262, + "line": 258, "column": 49 }, "identifierName": "AUDIOPROCESS" @@ -65950,44 +64577,44 @@ }, { "type": "MemberExpression", - "start": 9964, - "end": 9983, + "start": 9731, + "end": 9750, "loc": { "start": { - "line": 262, + "line": 258, "column": 51 }, "end": { - "line": 262, + "line": 258, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 9964, - "end": 9968, + "start": 9731, + "end": 9735, "loc": { "start": { - "line": 262, + "line": 258, "column": 51 }, "end": { - "line": 262, + "line": 258, "column": 55 } } }, "property": { "type": "Identifier", - "start": 9969, - "end": 9983, + "start": 9736, + "end": 9750, "loc": { "start": { - "line": 262, + "line": 258, "column": 56 }, "end": { - "line": 262, + "line": 258, "column": 70 }, "identifierName": "surferProgress" @@ -66001,86 +64628,86 @@ }, { "type": "ExpressionStatement", - "start": 10002, - "end": 10046, + "start": 9769, + "end": 9813, "loc": { "start": { - "line": 263, + "line": 259, "column": 16 }, "end": { - "line": 263, + "line": 259, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 10002, - "end": 10045, + "start": 9769, + "end": 9812, "loc": { "start": { - "line": 263, + "line": 259, "column": 16 }, "end": { - "line": 263, + "line": 259, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 10002, - "end": 10016, + "start": 9769, + "end": 9783, "loc": { "start": { - "line": 263, + "line": 259, "column": 16 }, "end": { - "line": 263, + "line": 259, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 10002, - "end": 10013, + "start": 9769, + "end": 9780, "loc": { "start": { - "line": 263, + "line": 259, "column": 16 }, "end": { - "line": 263, + "line": 259, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 10002, - "end": 10006, + "start": 9769, + "end": 9773, "loc": { "start": { - "line": 263, + "line": 259, "column": 16 }, "end": { - "line": 263, + "line": 259, "column": 20 } } }, "property": { "type": "Identifier", - "start": 10007, - "end": 10013, + "start": 9774, + "end": 9780, "loc": { "start": { - "line": 263, + "line": 259, "column": 21 }, "end": { - "line": 263, + "line": 259, "column": 27 }, "identifierName": "surfer" @@ -66091,15 +64718,15 @@ }, "property": { "type": "Identifier", - "start": 10014, - "end": 10016, + "start": 9781, + "end": 9783, "loc": { "start": { - "line": 263, + "line": 259, "column": 28 }, "end": { - "line": 263, + "line": 259, "column": 30 }, "identifierName": "on" @@ -66111,29 +64738,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 10017, - "end": 10027, + "start": 9784, + "end": 9794, "loc": { "start": { - "line": 263, + "line": 259, "column": 31 }, "end": { - "line": 263, + "line": 259, "column": 41 } }, "object": { "type": "Identifier", - "start": 10017, - "end": 10022, + "start": 9784, + "end": 9789, "loc": { "start": { - "line": 263, + "line": 259, "column": 31 }, "end": { - "line": 263, + "line": 259, "column": 36 }, "identifierName": "Event" @@ -66142,15 +64769,15 @@ }, "property": { "type": "Identifier", - "start": 10023, - "end": 10027, + "start": 9790, + "end": 9794, "loc": { "start": { - "line": 263, + "line": 259, "column": 37 }, "end": { - "line": 263, + "line": 259, "column": 41 }, "identifierName": "SEEK" @@ -66161,44 +64788,44 @@ }, { "type": "MemberExpression", - "start": 10029, - "end": 10044, + "start": 9796, + "end": 9811, "loc": { "start": { - "line": 263, + "line": 259, "column": 43 }, "end": { - "line": 263, + "line": 259, "column": 58 } }, "object": { "type": "ThisExpression", - "start": 10029, - "end": 10033, + "start": 9796, + "end": 9800, "loc": { "start": { - "line": 263, + "line": 259, "column": 43 }, "end": { - "line": 263, + "line": 259, "column": 47 } } }, "property": { "type": "Identifier", - "start": 10034, - "end": 10044, + "start": 9801, + "end": 9811, "loc": { "start": { - "line": 263, + "line": 259, "column": 48 }, "end": { - "line": 263, + "line": 259, "column": 58 }, "identifierName": "surferSeek" @@ -66229,15 +64856,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": 9252, - "end": 9452, + "start": 9019, + "end": 9219, "loc": { "start": { - "line": 245, + "line": 241, "column": 4 }, "end": { - "line": 251, + "line": 247, "column": 7 } } @@ -66247,15 +64874,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": 10082, - "end": 10374, + "start": 9849, + "end": 10141, "loc": { "start": { - "line": 268, + "line": 264, "column": 4 }, "end": { - "line": 275, + "line": 271, "column": 7 } } @@ -66264,15 +64891,15 @@ }, { "type": "ClassMethod", - "start": 10379, - "end": 11025, + "start": 10146, + "end": 10792, "loc": { "start": { - "line": 276, + "line": 272, "column": 4 }, "end": { - "line": 294, + "line": 290, "column": 5 } }, @@ -66280,15 +64907,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10379, - "end": 10383, + "start": 10146, + "end": 10150, "loc": { "start": { - "line": 276, + "line": 272, "column": 4 }, "end": { - "line": 276, + "line": 272, "column": 8 }, "identifierName": "load" @@ -66304,15 +64931,15 @@ "params": [ { "type": "Identifier", - "start": 10384, - "end": 10387, + "start": 10151, + "end": 10154, "loc": { "start": { - "line": 276, + "line": 272, "column": 9 }, "end": { - "line": 276, + "line": 272, "column": 12 }, "identifierName": "url" @@ -66321,15 +64948,15 @@ }, { "type": "Identifier", - "start": 10389, - "end": 10394, + "start": 10156, + "end": 10161, "loc": { "start": { - "line": 276, + "line": 272, "column": 14 }, "end": { - "line": 276, + "line": 272, "column": 19 }, "identifierName": "peaks" @@ -66339,72 +64966,72 @@ ], "body": { "type": "BlockStatement", - "start": 10396, - "end": 11025, + "start": 10163, + "end": 10792, "loc": { "start": { - "line": 276, + "line": 272, "column": 21 }, "end": { - "line": 294, + "line": 290, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 10406, - "end": 11019, + "start": 10173, + "end": 10786, "loc": { "start": { - "line": 277, + "line": 273, "column": 8 }, "end": { - "line": 293, + "line": 289, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 10410, - "end": 10452, + "start": 10177, + "end": 10219, "loc": { "start": { - "line": 277, + "line": 273, "column": 12 }, "end": { - "line": 277, + "line": 273, "column": 54 } }, "left": { "type": "BinaryExpression", - "start": 10410, - "end": 10429, + "start": 10177, + "end": 10196, "loc": { "start": { - "line": 277, + "line": 273, "column": 12 }, "end": { - "line": 277, + "line": 273, "column": 31 } }, "left": { "type": "Identifier", - "start": 10410, - "end": 10413, + "start": 10177, + "end": 10180, "loc": { "start": { - "line": 277, + "line": 273, "column": 12 }, "end": { - "line": 277, + "line": 273, "column": 15 }, "identifierName": "url" @@ -66414,15 +65041,15 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 10425, - "end": 10429, + "start": 10192, + "end": 10196, "loc": { "start": { - "line": 277, + "line": 273, "column": 27 }, "end": { - "line": 277, + "line": 273, "column": 31 }, "identifierName": "Blob" @@ -66433,29 +65060,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 10433, - "end": 10452, + "start": 10200, + "end": 10219, "loc": { "start": { - "line": 277, + "line": 273, "column": 35 }, "end": { - "line": 277, + "line": 273, "column": 54 } }, "left": { "type": "Identifier", - "start": 10433, - "end": 10436, + "start": 10200, + "end": 10203, "loc": { "start": { - "line": 277, + "line": 273, "column": 35 }, "end": { - "line": 277, + "line": 273, "column": 38 }, "identifierName": "url" @@ -66465,15 +65092,15 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 10448, - "end": 10452, + "start": 10215, + "end": 10219, "loc": { "start": { - "line": 277, + "line": 273, "column": 50 }, "end": { - "line": 277, + "line": 273, "column": 54 }, "identifierName": "File" @@ -66484,87 +65111,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 10454, - "end": 10568, + "start": 10221, + "end": 10335, "loc": { "start": { - "line": 277, + "line": 273, "column": 56 }, "end": { - "line": 280, + "line": 276, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 10468, - "end": 10519, + "start": 10235, + "end": 10286, "loc": { "start": { - "line": 278, + "line": 274, "column": 12 }, "end": { - "line": 278, + "line": 274, "column": 63 } }, "expression": { "type": "CallExpression", - "start": 10468, - "end": 10518, + "start": 10235, + "end": 10285, "loc": { "start": { - "line": 278, + "line": 274, "column": 12 }, "end": { - "line": 278, + "line": 274, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 10468, - "end": 10476, + "start": 10235, + "end": 10243, "loc": { "start": { - "line": 278, + "line": 274, "column": 12 }, "end": { - "line": 278, + "line": 274, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 10468, - "end": 10472, + "start": 10235, + "end": 10239, "loc": { "start": { - "line": 278, + "line": 274, "column": 12 }, "end": { - "line": 278, + "line": 274, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10473, - "end": 10476, + "start": 10240, + "end": 10243, "loc": { "start": { - "line": 278, + "line": 274, "column": 17 }, "end": { - "line": 278, + "line": 274, "column": 20 }, "identifierName": "log" @@ -66576,29 +65203,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10477, - "end": 10517, + "start": 10244, + "end": 10284, "loc": { "start": { - "line": 278, + "line": 274, "column": 21 }, "end": { - "line": 278, + "line": 274, "column": 61 } }, "left": { "type": "StringLiteral", - "start": 10477, - "end": 10495, + "start": 10244, + "end": 10262, "loc": { "start": { - "line": 278, + "line": 274, "column": 21 }, "end": { - "line": 278, + "line": 274, "column": 39 } }, @@ -66611,43 +65238,43 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 10498, - "end": 10517, + "start": 10265, + "end": 10284, "loc": { "start": { - "line": 278, + "line": 274, "column": 42 }, "end": { - "line": 278, + "line": 274, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 10498, - "end": 10512, + "start": 10265, + "end": 10279, "loc": { "start": { - "line": 278, + "line": 274, "column": 42 }, "end": { - "line": 278, + "line": 274, "column": 56 } }, "object": { "type": "Identifier", - "start": 10498, - "end": 10502, + "start": 10265, + "end": 10269, "loc": { "start": { - "line": 278, + "line": 274, "column": 42 }, "end": { - "line": 278, + "line": 274, "column": 46 }, "identifierName": "JSON" @@ -66656,15 +65283,15 @@ }, "property": { "type": "Identifier", - "start": 10503, - "end": 10512, + "start": 10270, + "end": 10279, "loc": { "start": { - "line": 278, + "line": 274, "column": 47 }, "end": { - "line": 278, + "line": 274, "column": 56 }, "identifierName": "stringify" @@ -66676,15 +65303,15 @@ "arguments": [ { "type": "Identifier", - "start": 10513, - "end": 10516, + "start": 10280, + "end": 10283, "loc": { "start": { - "line": 278, + "line": 274, "column": 57 }, "end": { - "line": 278, + "line": 274, "column": 60 }, "identifierName": "url" @@ -66699,86 +65326,86 @@ }, { "type": "ExpressionStatement", - "start": 10532, - "end": 10558, + "start": 10299, + "end": 10325, "loc": { "start": { - "line": 279, + "line": 275, "column": 12 }, "end": { - "line": 279, + "line": 275, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 10532, - "end": 10557, + "start": 10299, + "end": 10324, "loc": { "start": { - "line": 279, + "line": 275, "column": 12 }, "end": { - "line": 279, + "line": 275, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 10532, - "end": 10552, + "start": 10299, + "end": 10319, "loc": { "start": { - "line": 279, + "line": 275, "column": 12 }, "end": { - "line": 279, + "line": 275, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 10532, - "end": 10543, + "start": 10299, + "end": 10310, "loc": { "start": { - "line": 279, + "line": 275, "column": 12 }, "end": { - "line": 279, + "line": 275, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 10532, - "end": 10536, + "start": 10299, + "end": 10303, "loc": { "start": { - "line": 279, + "line": 275, "column": 12 }, "end": { - "line": 279, + "line": 275, "column": 16 } } }, "property": { "type": "Identifier", - "start": 10537, - "end": 10543, + "start": 10304, + "end": 10310, "loc": { "start": { - "line": 279, + "line": 275, "column": 17 }, "end": { - "line": 279, + "line": 275, "column": 23 }, "identifierName": "surfer" @@ -66789,15 +65416,15 @@ }, "property": { "type": "Identifier", - "start": 10544, - "end": 10552, + "start": 10311, + "end": 10319, "loc": { "start": { - "line": 279, + "line": 275, "column": 24 }, "end": { - "line": 279, + "line": 275, "column": 32 }, "identifierName": "loadBlob" @@ -66809,15 +65436,15 @@ "arguments": [ { "type": "Identifier", - "start": 10553, - "end": 10556, + "start": 10320, + "end": 10323, "loc": { "start": { - "line": 279, + "line": 275, "column": 33 }, "end": { - "line": 279, + "line": 275, "column": 36 }, "identifierName": "url" @@ -66832,58 +65459,58 @@ }, "alternate": { "type": "BlockStatement", - "start": 10574, - "end": 11019, + "start": 10341, + "end": 10786, "loc": { "start": { - "line": 280, + "line": 276, "column": 15 }, "end": { - "line": 293, + "line": 289, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 10637, - "end": 11009, + "start": 10404, + "end": 10776, "loc": { "start": { - "line": 282, + "line": 278, "column": 12 }, "end": { - "line": 292, + "line": 288, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 10641, - "end": 10660, + "start": 10408, + "end": 10427, "loc": { "start": { - "line": 282, + "line": 278, "column": 16 }, "end": { - "line": 282, + "line": 278, "column": 35 } }, "left": { "type": "Identifier", - "start": 10641, - "end": 10646, + "start": 10408, + "end": 10413, "loc": { "start": { - "line": 282, + "line": 278, "column": 16 }, "end": { - "line": 282, + "line": 278, "column": 21 }, "identifierName": "peaks" @@ -66894,15 +65521,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 10651, - "end": 10660, + "start": 10418, + "end": 10427, "loc": { "start": { - "line": 282, + "line": 278, "column": 26 }, "end": { - "line": 282, + "line": 278, "column": 35 }, "identifierName": "undefined" @@ -66913,87 +65540,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 10662, - "end": 10721, + "start": 10429, + "end": 10488, "loc": { "start": { - "line": 282, + "line": 278, "column": 37 }, "end": { - "line": 284, + "line": 280, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 10680, - "end": 10707, + "start": 10447, + "end": 10474, "loc": { "start": { - "line": 283, + "line": 279, "column": 16 }, "end": { - "line": 283, + "line": 279, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 10680, - "end": 10706, + "start": 10447, + "end": 10473, "loc": { "start": { - "line": 283, + "line": 279, "column": 16 }, "end": { - "line": 283, + "line": 279, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 10680, - "end": 10694, + "start": 10447, + "end": 10461, "loc": { "start": { - "line": 283, + "line": 279, "column": 16 }, "end": { - "line": 283, + "line": 279, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 10680, - "end": 10684, + "start": 10447, + "end": 10451, "loc": { "start": { - "line": 283, + "line": 279, "column": 16 }, "end": { - "line": 283, + "line": 279, "column": 20 } } }, "property": { "type": "Identifier", - "start": 10685, - "end": 10694, + "start": 10452, + "end": 10461, "loc": { "start": { - "line": 283, + "line": 279, "column": 21 }, "end": { - "line": 283, + "line": 279, "column": 30 }, "identifierName": "loadPeaks" @@ -67005,15 +65632,15 @@ "arguments": [ { "type": "Identifier", - "start": 10695, - "end": 10698, + "start": 10462, + "end": 10465, "loc": { "start": { - "line": 283, + "line": 279, "column": 31 }, "end": { - "line": 283, + "line": 279, "column": 34 }, "identifierName": "url" @@ -67022,15 +65649,15 @@ }, { "type": "Identifier", - "start": 10700, - "end": 10705, + "start": 10467, + "end": 10472, "loc": { "start": { - "line": 283, + "line": 279, "column": 36 }, "end": { - "line": 283, + "line": 279, "column": 41 }, "identifierName": "peaks" @@ -67045,58 +65672,58 @@ }, "alternate": { "type": "BlockStatement", - "start": 10727, - "end": 11009, + "start": 10494, + "end": 10776, "loc": { "start": { - "line": 284, + "line": 280, "column": 19 }, "end": { - "line": 292, + "line": 288, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 10773, - "end": 10956, + "start": 10540, + "end": 10723, "loc": { "start": { - "line": 286, + "line": 282, "column": 16 }, "end": { - "line": 290, + "line": 286, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 10777, - "end": 10800, + "start": 10544, + "end": 10567, "loc": { "start": { - "line": 286, + "line": 282, "column": 20 }, "end": { - "line": 286, + "line": 282, "column": 43 } }, "left": { "type": "UnaryExpression", - "start": 10777, - "end": 10787, + "start": 10544, + "end": 10554, "loc": { "start": { - "line": 286, + "line": 282, "column": 20 }, "end": { - "line": 286, + "line": 282, "column": 30 } }, @@ -67104,15 +65731,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 10784, - "end": 10787, + "start": 10551, + "end": 10554, "loc": { "start": { - "line": 286, + "line": 282, "column": 27 }, "end": { - "line": 286, + "line": 282, "column": 30 }, "identifierName": "url" @@ -67128,15 +65755,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 10792, - "end": 10800, + "start": 10559, + "end": 10567, "loc": { "start": { - "line": 286, + "line": 282, "column": 35 }, "end": { - "line": 286, + "line": 282, "column": 43 } }, @@ -67150,87 +65777,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 10802, - "end": 10874, + "start": 10569, + "end": 10641, "loc": { "start": { - "line": 286, + "line": 282, "column": 45 }, "end": { - "line": 288, + "line": 284, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 10824, - "end": 10856, + "start": 10591, + "end": 10623, "loc": { "start": { - "line": 287, + "line": 283, "column": 20 }, "end": { - "line": 287, + "line": 283, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 10824, - "end": 10855, + "start": 10591, + "end": 10622, "loc": { "start": { - "line": 287, + "line": 283, "column": 20 }, "end": { - "line": 287, + "line": 283, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 10824, - "end": 10832, + "start": 10591, + "end": 10599, "loc": { "start": { - "line": 287, + "line": 283, "column": 20 }, "end": { - "line": 287, + "line": 283, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 10824, - "end": 10828, + "start": 10591, + "end": 10595, "loc": { "start": { - "line": 287, + "line": 283, "column": 20 }, "end": { - "line": 287, + "line": 283, "column": 24 } } }, "property": { "type": "Identifier", - "start": 10829, - "end": 10832, + "start": 10596, + "end": 10599, "loc": { "start": { - "line": 287, + "line": 283, "column": 25 }, "end": { - "line": 287, + "line": 283, "column": 28 }, "identifierName": "log" @@ -67242,29 +65869,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10833, - "end": 10854, + "start": 10600, + "end": 10621, "loc": { "start": { - "line": 287, + "line": 283, "column": 29 }, "end": { - "line": 287, + "line": 283, "column": 50 } }, "left": { "type": "StringLiteral", - "start": 10833, - "end": 10848, + "start": 10600, + "end": 10615, "loc": { "start": { - "line": 287, + "line": 283, "column": 29 }, "end": { - "line": 287, + "line": 283, "column": 44 } }, @@ -67277,15 +65904,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 10851, - "end": 10854, + "start": 10618, + "end": 10621, "loc": { "start": { - "line": 287, + "line": 283, "column": 47 }, "end": { - "line": 287, + "line": 283, "column": 50 }, "identifierName": "url" @@ -67301,87 +65928,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 10880, - "end": 10956, + "start": 10647, + "end": 10723, "loc": { "start": { - "line": 288, + "line": 284, "column": 23 }, "end": { - "line": 290, + "line": 286, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 10902, - "end": 10938, + "start": 10669, + "end": 10705, "loc": { "start": { - "line": 289, + "line": 285, "column": 20 }, "end": { - "line": 289, + "line": 285, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 10902, - "end": 10937, + "start": 10669, + "end": 10704, "loc": { "start": { - "line": 289, + "line": 285, "column": 20 }, "end": { - "line": 289, + "line": 285, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 10902, - "end": 10910, + "start": 10669, + "end": 10677, "loc": { "start": { - "line": 289, + "line": 285, "column": 20 }, "end": { - "line": 289, + "line": 285, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 10902, - "end": 10906, + "start": 10669, + "end": 10673, "loc": { "start": { - "line": 289, + "line": 285, "column": 20 }, "end": { - "line": 289, + "line": 285, "column": 24 } } }, "property": { "type": "Identifier", - "start": 10907, - "end": 10910, + "start": 10674, + "end": 10677, "loc": { "start": { - "line": 289, + "line": 285, "column": 25 }, "end": { - "line": 289, + "line": 285, "column": 28 }, "identifierName": "log" @@ -67393,29 +66020,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 10911, - "end": 10936, + "start": 10678, + "end": 10703, "loc": { "start": { - "line": 289, + "line": 285, "column": 29 }, "end": { - "line": 289, + "line": 285, "column": 54 } }, "left": { "type": "StringLiteral", - "start": 10911, - "end": 10930, + "start": 10678, + "end": 10697, "loc": { "start": { - "line": 289, + "line": 285, "column": 29 }, "end": { - "line": 289, + "line": 285, "column": 48 } }, @@ -67428,15 +66055,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 10933, - "end": 10936, + "start": 10700, + "end": 10703, "loc": { "start": { - "line": 289, + "line": 285, "column": 51 }, "end": { - "line": 289, + "line": 285, "column": 54 }, "identifierName": "url" @@ -67454,15 +66081,15 @@ { "type": "CommentLine", "value": " no peaks", - "start": 10745, - "end": 10756, + "start": 10512, + "end": 10523, "loc": { "start": { - "line": 285, + "line": 281, "column": 16 }, "end": { - "line": 285, + "line": 281, "column": 27 } } @@ -67471,86 +66098,86 @@ }, { "type": "ExpressionStatement", - "start": 10973, - "end": 10995, + "start": 10740, + "end": 10762, "loc": { "start": { - "line": 291, + "line": 287, "column": 16 }, "end": { - "line": 291, + "line": 287, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 10973, - "end": 10994, + "start": 10740, + "end": 10761, "loc": { "start": { - "line": 291, + "line": 287, "column": 16 }, "end": { - "line": 291, + "line": 287, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 10973, - "end": 10989, + "start": 10740, + "end": 10756, "loc": { "start": { - "line": 291, + "line": 287, "column": 16 }, "end": { - "line": 291, + "line": 287, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 10973, - "end": 10984, + "start": 10740, + "end": 10751, "loc": { "start": { - "line": 291, + "line": 287, "column": 16 }, "end": { - "line": 291, + "line": 287, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 10973, - "end": 10977, + "start": 10740, + "end": 10744, "loc": { "start": { - "line": 291, + "line": 287, "column": 16 }, "end": { - "line": 291, + "line": 287, "column": 20 } } }, "property": { "type": "Identifier", - "start": 10978, - "end": 10984, + "start": 10745, + "end": 10751, "loc": { "start": { - "line": 291, + "line": 287, "column": 21 }, "end": { - "line": 291, + "line": 287, "column": 27 }, "identifierName": "surfer" @@ -67561,15 +66188,15 @@ }, "property": { "type": "Identifier", - "start": 10985, - "end": 10989, + "start": 10752, + "end": 10756, "loc": { "start": { - "line": 291, + "line": 287, "column": 28 }, "end": { - "line": 291, + "line": 287, "column": 32 }, "identifierName": "load" @@ -67581,15 +66208,15 @@ "arguments": [ { "type": "Identifier", - "start": 10990, - "end": 10993, + "start": 10757, + "end": 10760, "loc": { "start": { - "line": 291, + "line": 287, "column": 33 }, "end": { - "line": 291, + "line": 287, "column": 36 }, "identifierName": "url" @@ -67606,15 +66233,15 @@ { "type": "CommentLine", "value": " load peak data from array or file", - "start": 10588, - "end": 10624, + "start": 10355, + "end": 10391, "loc": { "start": { - "line": 281, + "line": 277, "column": 12 }, "end": { - "line": 281, + "line": 277, "column": 48 } } @@ -67633,15 +66260,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": 10082, - "end": 10374, + "start": 9849, + "end": 10141, "loc": { "start": { - "line": 268, + "line": 264, "column": 4 }, "end": { - "line": 275, + "line": 271, "column": 7 } } @@ -67651,15 +66278,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": 11031, - "end": 11323, + "start": 10798, + "end": 11090, "loc": { "start": { - "line": 296, + "line": 292, "column": 4 }, "end": { - "line": 303, + "line": 299, "column": 7 } } @@ -67668,15 +66295,15 @@ }, { "type": "ClassMethod", - "start": 11328, - "end": 12731, + "start": 11095, + "end": 12498, "loc": { "start": { - "line": 304, + "line": 300, "column": 4 }, "end": { - "line": 339, + "line": 335, "column": 5 } }, @@ -67684,15 +66311,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11328, - "end": 11337, + "start": 11095, + "end": 11104, "loc": { "start": { - "line": 304, + "line": 300, "column": 4 }, "end": { - "line": 304, + "line": 300, "column": 13 }, "identifierName": "loadPeaks" @@ -67708,15 +66335,15 @@ "params": [ { "type": "Identifier", - "start": 11338, - "end": 11341, + "start": 11105, + "end": 11108, "loc": { "start": { - "line": 304, + "line": 300, "column": 14 }, "end": { - "line": 304, + "line": 300, "column": 17 }, "identifierName": "url" @@ -67725,15 +66352,15 @@ }, { "type": "Identifier", - "start": 11343, - "end": 11348, + "start": 11110, + "end": 11115, "loc": { "start": { - "line": 304, + "line": 300, "column": 19 }, "end": { - "line": 304, + "line": 300, "column": 24 }, "identifierName": "peaks" @@ -67743,72 +66370,72 @@ ], "body": { "type": "BlockStatement", - "start": 11350, - "end": 12731, + "start": 11117, + "end": 12498, "loc": { "start": { - "line": 304, + "line": 300, "column": 26 }, "end": { - "line": 339, + "line": 335, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 11360, - "end": 12725, + "start": 11127, + "end": 12492, "loc": { "start": { - "line": 305, + "line": 301, "column": 8 }, "end": { - "line": 338, + "line": 334, "column": 9 } }, "test": { "type": "CallExpression", - "start": 11364, - "end": 11384, + "start": 11131, + "end": 11151, "loc": { "start": { - "line": 305, + "line": 301, "column": 12 }, "end": { - "line": 305, + "line": 301, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 11364, - "end": 11377, + "start": 11131, + "end": 11144, "loc": { "start": { - "line": 305, + "line": 301, "column": 12 }, "end": { - "line": 305, + "line": 301, "column": 25 } }, "object": { "type": "Identifier", - "start": 11364, - "end": 11369, + "start": 11131, + "end": 11136, "loc": { "start": { - "line": 305, + "line": 301, "column": 12 }, "end": { - "line": 305, + "line": 301, "column": 17 }, "identifierName": "Array" @@ -67817,15 +66444,15 @@ }, "property": { "type": "Identifier", - "start": 11370, - "end": 11377, + "start": 11137, + "end": 11144, "loc": { "start": { - "line": 305, + "line": 301, "column": 18 }, "end": { - "line": 305, + "line": 301, "column": 25 }, "identifierName": "isArray" @@ -67837,15 +66464,15 @@ "arguments": [ { "type": "Identifier", - "start": 11378, - "end": 11383, + "start": 11145, + "end": 11150, "loc": { "start": { - "line": 305, + "line": 301, "column": 26 }, "end": { - "line": 305, + "line": 301, "column": 31 }, "identifierName": "peaks" @@ -67856,72 +66483,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 11386, - "end": 11543, + "start": 11153, + "end": 11310, "loc": { "start": { - "line": 305, + "line": 301, "column": 34 }, "end": { - "line": 309, + "line": 305, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 11439, - "end": 11491, + "start": 11206, + "end": 11258, "loc": { "start": { - "line": 307, + "line": 303, "column": 12 }, "end": { - "line": 307, + "line": 303, "column": 64 } }, "expression": { "type": "CallExpression", - "start": 11439, - "end": 11490, + "start": 11206, + "end": 11257, "loc": { "start": { - "line": 307, + "line": 303, "column": 12 }, "end": { - "line": 307, + "line": 303, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 11439, - "end": 11447, + "start": 11206, + "end": 11214, "loc": { "start": { - "line": 307, + "line": 303, "column": 12 }, "end": { - "line": 307, + "line": 303, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 11439, - "end": 11443, + "start": 11206, + "end": 11210, "loc": { "start": { - "line": 307, + "line": 303, "column": 12 }, "end": { - "line": 307, + "line": 303, "column": 16 } }, @@ -67929,15 +66556,15 @@ }, "property": { "type": "Identifier", - "start": 11444, - "end": 11447, + "start": 11211, + "end": 11214, "loc": { "start": { - "line": 307, + "line": 303, "column": 17 }, "end": { - "line": 307, + "line": 303, "column": 20 }, "identifierName": "log" @@ -67950,29 +66577,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 11448, - "end": 11489, + "start": 11215, + "end": 11256, "loc": { "start": { - "line": 307, + "line": 303, "column": 21 }, "end": { - "line": 307, + "line": 303, "column": 62 } }, "left": { "type": "StringLiteral", - "start": 11448, - "end": 11483, + "start": 11215, + "end": 11250, "loc": { "start": { - "line": 307, + "line": 303, "column": 21 }, "end": { - "line": 307, + "line": 303, "column": 56 } }, @@ -67985,15 +66612,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 11486, - "end": 11489, + "start": 11253, + "end": 11256, "loc": { "start": { - "line": 307, + "line": 303, "column": 59 }, "end": { - "line": 307, + "line": 303, "column": 62 }, "identifierName": "url" @@ -68008,15 +66635,15 @@ { "type": "CommentLine", "value": " use supplied peaks data", - "start": 11400, - "end": 11426, + "start": 11167, + "end": 11193, "loc": { "start": { - "line": 306, + "line": 302, "column": 12 }, "end": { - "line": 306, + "line": 302, "column": 38 } } @@ -68025,86 +66652,86 @@ }, { "type": "ExpressionStatement", - "start": 11504, - "end": 11533, + "start": 11271, + "end": 11300, "loc": { "start": { - "line": 308, + "line": 304, "column": 12 }, "end": { - "line": 308, + "line": 304, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 11504, - "end": 11532, + "start": 11271, + "end": 11299, "loc": { "start": { - "line": 308, + "line": 304, "column": 12 }, "end": { - "line": 308, + "line": 304, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 11504, - "end": 11520, + "start": 11271, + "end": 11287, "loc": { "start": { - "line": 308, + "line": 304, "column": 12 }, "end": { - "line": 308, + "line": 304, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 11504, - "end": 11515, + "start": 11271, + "end": 11282, "loc": { "start": { - "line": 308, + "line": 304, "column": 12 }, "end": { - "line": 308, + "line": 304, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 11504, - "end": 11508, + "start": 11271, + "end": 11275, "loc": { "start": { - "line": 308, + "line": 304, "column": 12 }, "end": { - "line": 308, + "line": 304, "column": 16 } } }, "property": { "type": "Identifier", - "start": 11509, - "end": 11515, + "start": 11276, + "end": 11282, "loc": { "start": { - "line": 308, + "line": 304, "column": 17 }, "end": { - "line": 308, + "line": 304, "column": 23 }, "identifierName": "surfer" @@ -68115,15 +66742,15 @@ }, "property": { "type": "Identifier", - "start": 11516, - "end": 11520, + "start": 11283, + "end": 11287, "loc": { "start": { - "line": 308, + "line": 304, "column": 24 }, "end": { - "line": 308, + "line": 304, "column": 28 }, "identifierName": "load" @@ -68135,15 +66762,15 @@ "arguments": [ { "type": "Identifier", - "start": 11521, - "end": 11524, + "start": 11288, + "end": 11291, "loc": { "start": { - "line": 308, + "line": 304, "column": 29 }, "end": { - "line": 308, + "line": 304, "column": 32 }, "identifierName": "url" @@ -68152,15 +66779,15 @@ }, { "type": "Identifier", - "start": 11526, - "end": 11531, + "start": 11293, + "end": 11298, "loc": { "start": { - "line": 308, + "line": 304, "column": 34 }, "end": { - "line": 308, + "line": 304, "column": 39 }, "identifierName": "peaks" @@ -68175,59 +66802,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 11549, - "end": 12725, + "start": 11316, + "end": 12492, "loc": { "start": { - "line": 309, + "line": 305, "column": 15 }, "end": { - "line": 338, + "line": 334, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 11603, - "end": 11705, + "start": 11370, + "end": 11472, "loc": { "start": { - "line": 311, + "line": 307, "column": 12 }, "end": { - "line": 314, + "line": 310, "column": 14 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11607, - "end": 11704, + "start": 11374, + "end": 11471, "loc": { "start": { - "line": 311, + "line": 307, "column": 16 }, "end": { - "line": 314, + "line": 310, "column": 13 } }, "id": { "type": "Identifier", - "start": 11607, - "end": 11621, + "start": 11374, + "end": 11388, "loc": { "start": { - "line": 311, + "line": 307, "column": 16 }, "end": { - "line": 311, + "line": 307, "column": 30 }, "identifierName": "requestOptions" @@ -68237,30 +66864,30 @@ }, "init": { "type": "ObjectExpression", - "start": 11624, - "end": 11704, + "start": 11391, + "end": 11471, "loc": { "start": { - "line": 311, + "line": 307, "column": 33 }, "end": { - "line": 314, + "line": 310, "column": 13 } }, "properties": [ { "type": "ObjectProperty", - "start": 11642, - "end": 11652, + "start": 11409, + "end": 11419, "loc": { "start": { - "line": 312, + "line": 308, "column": 16 }, "end": { - "line": 312, + "line": 308, "column": 26 } }, @@ -68269,15 +66896,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11642, - "end": 11645, + "start": 11409, + "end": 11412, "loc": { "start": { - "line": 312, + "line": 308, "column": 16 }, "end": { - "line": 312, + "line": 308, "column": 19 }, "identifierName": "url" @@ -68286,15 +66913,15 @@ }, "value": { "type": "Identifier", - "start": 11647, - "end": 11652, + "start": 11414, + "end": 11419, "loc": { "start": { - "line": 312, + "line": 308, "column": 21 }, "end": { - "line": 312, + "line": 308, "column": 26 }, "identifierName": "peaks" @@ -68304,15 +66931,15 @@ }, { "type": "ObjectProperty", - "start": 11670, - "end": 11690, + "start": 11437, + "end": 11457, "loc": { "start": { - "line": 313, + "line": 309, "column": 16 }, "end": { - "line": 313, + "line": 309, "column": 36 } }, @@ -68321,15 +66948,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11670, - "end": 11682, + "start": 11437, + "end": 11449, "loc": { "start": { - "line": 313, + "line": 309, "column": 16 }, "end": { - "line": 313, + "line": 309, "column": 28 }, "identifierName": "responseType" @@ -68338,15 +66965,15 @@ }, "value": { "type": "StringLiteral", - "start": 11684, - "end": 11690, + "start": 11451, + "end": 11457, "loc": { "start": { - "line": 313, + "line": 309, "column": 30 }, "end": { - "line": 313, + "line": 309, "column": 36 } }, @@ -68367,15 +66994,15 @@ { "type": "CommentLine", "value": " load peak data from file", - "start": 11563, - "end": 11590, + "start": 11330, + "end": 11357, "loc": { "start": { - "line": 310, + "line": 306, "column": 12 }, "end": { - "line": 310, + "line": 306, "column": 39 } } @@ -68385,15 +67012,15 @@ { "type": "CommentLine", "value": " supply xhr options, if any", - "start": 11719, - "end": 11748, + "start": 11486, + "end": 11515, "loc": { "start": { - "line": 316, + "line": 312, "column": 12 }, "end": { - "line": 316, + "line": 312, "column": 41 } } @@ -68402,113 +67029,113 @@ }, { "type": "IfStatement", - "start": 11761, - "end": 11921, + "start": 11528, + "end": 11688, "loc": { "start": { - "line": 317, + "line": 313, "column": 12 }, "end": { - "line": 319, + "line": 315, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 11765, - "end": 11822, + "start": 11532, + "end": 11589, "loc": { "start": { - "line": 317, + "line": 313, "column": 16 }, "end": { - "line": 317, + "line": 313, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 11765, - "end": 11808, + "start": 11532, + "end": 11575, "loc": { "start": { - "line": 317, + "line": 313, "column": 16 }, "end": { - "line": 317, + "line": 313, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 11765, - "end": 11804, + "start": 11532, + "end": 11571, "loc": { "start": { - "line": 317, + "line": 313, "column": 16 }, "end": { - "line": 317, + "line": 313, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 11765, - "end": 11793, + "start": 11532, + "end": 11560, "loc": { "start": { - "line": 317, + "line": 313, "column": 16 }, "end": { - "line": 317, + "line": 313, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 11765, - "end": 11785, + "start": 11532, + "end": 11552, "loc": { "start": { - "line": 317, + "line": 313, "column": 16 }, "end": { - "line": 317, + "line": 313, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 11765, - "end": 11776, + "start": 11532, + "end": 11543, "loc": { "start": { - "line": 317, + "line": 313, "column": 16 }, "end": { - "line": 317, + "line": 313, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 11765, - "end": 11769, + "start": 11532, + "end": 11536, "loc": { "start": { - "line": 317, + "line": 313, "column": 16 }, "end": { - "line": 317, + "line": 313, "column": 20 } }, @@ -68516,15 +67143,15 @@ }, "property": { "type": "Identifier", - "start": 11770, - "end": 11776, + "start": 11537, + "end": 11543, "loc": { "start": { - "line": 317, + "line": 313, "column": 21 }, "end": { - "line": 317, + "line": 313, "column": 27 }, "identifierName": "player" @@ -68536,15 +67163,15 @@ }, "property": { "type": "Identifier", - "start": 11777, - "end": 11785, + "start": 11544, + "end": 11552, "loc": { "start": { - "line": 317, + "line": 313, "column": 28 }, "end": { - "line": 317, + "line": 313, "column": 36 }, "identifierName": "options_" @@ -68556,15 +67183,15 @@ }, "property": { "type": "Identifier", - "start": 11786, - "end": 11793, + "start": 11553, + "end": 11560, "loc": { "start": { - "line": 317, + "line": 313, "column": 37 }, "end": { - "line": 317, + "line": 313, "column": 44 }, "identifierName": "plugins" @@ -68576,15 +67203,15 @@ }, "property": { "type": "Identifier", - "start": 11794, - "end": 11804, + "start": 11561, + "end": 11571, "loc": { "start": { - "line": 317, + "line": 313, "column": 45 }, "end": { - "line": 317, + "line": 313, "column": 55 }, "identifierName": "wavesurfer" @@ -68596,15 +67223,15 @@ }, "property": { "type": "Identifier", - "start": 11805, - "end": 11808, + "start": 11572, + "end": 11575, "loc": { "start": { - "line": 317, + "line": 313, "column": 56 }, "end": { - "line": 317, + "line": 313, "column": 59 }, "identifierName": "xhr" @@ -68617,15 +67244,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 11813, - "end": 11822, + "start": 11580, + "end": 11589, "loc": { "start": { - "line": 317, + "line": 313, "column": 64 }, "end": { - "line": 317, + "line": 313, "column": 73 }, "identifierName": "undefined" @@ -68636,73 +67263,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 11824, - "end": 11921, + "start": 11591, + "end": 11688, "loc": { "start": { - "line": 317, + "line": 313, "column": 75 }, "end": { - "line": 319, + "line": 315, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 11842, - "end": 11907, + "start": 11609, + "end": 11674, "loc": { "start": { - "line": 318, + "line": 314, "column": 16 }, "end": { - "line": 318, + "line": 314, "column": 81 } }, "expression": { "type": "AssignmentExpression", - "start": 11842, - "end": 11906, + "start": 11609, + "end": 11673, "loc": { "start": { - "line": 318, + "line": 314, "column": 16 }, "end": { - "line": 318, + "line": 314, "column": 80 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 11842, - "end": 11860, + "start": 11609, + "end": 11627, "loc": { "start": { - "line": 318, + "line": 314, "column": 16 }, "end": { - "line": 318, + "line": 314, "column": 34 } }, "object": { "type": "Identifier", - "start": 11842, - "end": 11856, + "start": 11609, + "end": 11623, "loc": { "start": { - "line": 318, + "line": 314, "column": 16 }, "end": { - "line": 318, + "line": 314, "column": 30 }, "identifierName": "requestOptions" @@ -68711,15 +67338,15 @@ }, "property": { "type": "Identifier", - "start": 11857, - "end": 11860, + "start": 11624, + "end": 11627, "loc": { "start": { - "line": 318, + "line": 314, "column": 31 }, "end": { - "line": 318, + "line": 314, "column": 34 }, "identifierName": "xhr" @@ -68730,100 +67357,100 @@ }, "right": { "type": "MemberExpression", - "start": 11863, - "end": 11906, + "start": 11630, + "end": 11673, "loc": { "start": { - "line": 318, + "line": 314, "column": 37 }, "end": { - "line": 318, + "line": 314, "column": 80 } }, "object": { "type": "MemberExpression", - "start": 11863, - "end": 11902, + "start": 11630, + "end": 11669, "loc": { "start": { - "line": 318, + "line": 314, "column": 37 }, "end": { - "line": 318, + "line": 314, "column": 76 } }, "object": { "type": "MemberExpression", - "start": 11863, - "end": 11891, + "start": 11630, + "end": 11658, "loc": { "start": { - "line": 318, + "line": 314, "column": 37 }, "end": { - "line": 318, + "line": 314, "column": 65 } }, "object": { "type": "MemberExpression", - "start": 11863, - "end": 11883, + "start": 11630, + "end": 11650, "loc": { "start": { - "line": 318, + "line": 314, "column": 37 }, "end": { - "line": 318, + "line": 314, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 11863, - "end": 11874, + "start": 11630, + "end": 11641, "loc": { "start": { - "line": 318, + "line": 314, "column": 37 }, "end": { - "line": 318, + "line": 314, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 11863, - "end": 11867, + "start": 11630, + "end": 11634, "loc": { "start": { - "line": 318, + "line": 314, "column": 37 }, "end": { - "line": 318, + "line": 314, "column": 41 } } }, "property": { "type": "Identifier", - "start": 11868, - "end": 11874, + "start": 11635, + "end": 11641, "loc": { "start": { - "line": 318, + "line": 314, "column": 42 }, "end": { - "line": 318, + "line": 314, "column": 48 }, "identifierName": "player" @@ -68834,15 +67461,15 @@ }, "property": { "type": "Identifier", - "start": 11875, - "end": 11883, + "start": 11642, + "end": 11650, "loc": { "start": { - "line": 318, + "line": 314, "column": 49 }, "end": { - "line": 318, + "line": 314, "column": 57 }, "identifierName": "options_" @@ -68853,15 +67480,15 @@ }, "property": { "type": "Identifier", - "start": 11884, - "end": 11891, + "start": 11651, + "end": 11658, "loc": { "start": { - "line": 318, + "line": 314, "column": 58 }, "end": { - "line": 318, + "line": 314, "column": 65 }, "identifierName": "plugins" @@ -68872,15 +67499,15 @@ }, "property": { "type": "Identifier", - "start": 11892, - "end": 11902, + "start": 11659, + "end": 11669, "loc": { "start": { - "line": 318, + "line": 314, "column": 66 }, "end": { - "line": 318, + "line": 314, "column": 76 }, "identifierName": "wavesurfer" @@ -68891,15 +67518,15 @@ }, "property": { "type": "Identifier", - "start": 11903, - "end": 11906, + "start": 11670, + "end": 11673, "loc": { "start": { - "line": 318, + "line": 314, "column": 77 }, "end": { - "line": 318, + "line": 314, "column": 80 }, "identifierName": "xhr" @@ -68918,15 +67545,15 @@ { "type": "CommentLine", "value": " supply xhr options, if any", - "start": 11719, - "end": 11748, + "start": 11486, + "end": 11515, "loc": { "start": { - "line": 316, + "line": 312, "column": 12 }, "end": { - "line": 316, + "line": 312, "column": 41 } } @@ -68935,44 +67562,44 @@ }, { "type": "VariableDeclaration", - "start": 11934, - "end": 11990, + "start": 11701, + "end": 11757, "loc": { "start": { - "line": 320, + "line": 316, "column": 12 }, "end": { - "line": 320, + "line": 316, "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11938, - "end": 11989, + "start": 11705, + "end": 11756, "loc": { "start": { - "line": 320, + "line": 316, "column": 16 }, "end": { - "line": 320, + "line": 316, "column": 67 } }, "id": { "type": "Identifier", - "start": 11938, - "end": 11945, + "start": 11705, + "end": 11712, "loc": { "start": { - "line": 320, + "line": 316, "column": 16 }, "end": { - "line": 320, + "line": 316, "column": 23 }, "identifierName": "request" @@ -68981,57 +67608,57 @@ }, "init": { "type": "CallExpression", - "start": 11948, - "end": 11989, + "start": 11715, + "end": 11756, "loc": { "start": { - "line": 320, + "line": 316, "column": 26 }, "end": { - "line": 320, + "line": 316, "column": 67 } }, "callee": { "type": "MemberExpression", - "start": 11948, - "end": 11973, + "start": 11715, + "end": 11740, "loc": { "start": { - "line": 320, + "line": 316, "column": 26 }, "end": { - "line": 320, + "line": 316, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 11948, - "end": 11963, + "start": 11715, + "end": 11730, "loc": { "start": { - "line": 320, + "line": 316, "column": 26 }, "end": { - "line": 320, + "line": 316, "column": 41 } }, "object": { "type": "Identifier", - "start": 11948, - "end": 11958, + "start": 11715, + "end": 11725, "loc": { "start": { - "line": 320, + "line": 316, "column": 26 }, "end": { - "line": 320, + "line": 316, "column": 36 }, "identifierName": "WaveSurfer" @@ -69040,15 +67667,15 @@ }, "property": { "type": "Identifier", - "start": 11959, - "end": 11963, + "start": 11726, + "end": 11730, "loc": { "start": { - "line": 320, + "line": 316, "column": 37 }, "end": { - "line": 320, + "line": 316, "column": 41 }, "identifierName": "util" @@ -69059,15 +67686,15 @@ }, "property": { "type": "Identifier", - "start": 11964, - "end": 11973, + "start": 11731, + "end": 11740, "loc": { "start": { - "line": 320, + "line": 316, "column": 42 }, "end": { - "line": 320, + "line": 316, "column": 51 }, "identifierName": "fetchFile" @@ -69079,15 +67706,15 @@ "arguments": [ { "type": "Identifier", - "start": 11974, - "end": 11988, + "start": 11741, + "end": 11755, "loc": { "start": { - "line": 320, + "line": 316, "column": 52 }, "end": { - "line": 320, + "line": 316, "column": 66 }, "identifierName": "requestOptions" @@ -69102,57 +67729,57 @@ }, { "type": "ExpressionStatement", - "start": 12004, - "end": 12476, + "start": 11771, + "end": 12243, "loc": { "start": { - "line": 322, + "line": 318, "column": 12 }, "end": { - "line": 332, + "line": 328, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 12004, - "end": 12475, + "start": 11771, + "end": 12242, "loc": { "start": { - "line": 322, + "line": 318, "column": 12 }, "end": { - "line": 332, + "line": 328, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 12004, - "end": 12016, + "start": 11771, + "end": 11783, "loc": { "start": { - "line": 322, + "line": 318, "column": 12 }, "end": { - "line": 322, + "line": 318, "column": 24 } }, "object": { "type": "Identifier", - "start": 12004, - "end": 12011, + "start": 11771, + "end": 11778, "loc": { "start": { - "line": 322, + "line": 318, "column": 12 }, "end": { - "line": 322, + "line": 318, "column": 19 }, "identifierName": "request" @@ -69161,15 +67788,15 @@ }, "property": { "type": "Identifier", - "start": 12012, - "end": 12016, + "start": 11779, + "end": 11783, "loc": { "start": { - "line": 322, + "line": 318, "column": 20 }, "end": { - "line": 322, + "line": 318, "column": 24 }, "identifierName": "once" @@ -69181,15 +67808,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 12017, - "end": 12026, + "start": 11784, + "end": 11793, "loc": { "start": { - "line": 322, + "line": 318, "column": 25 }, "end": { - "line": 322, + "line": 318, "column": 34 } }, @@ -69201,15 +67828,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 12028, - "end": 12474, + "start": 11795, + "end": 12241, "loc": { "start": { - "line": 322, + "line": 318, "column": 36 }, "end": { - "line": 332, + "line": 328, "column": 13 } }, @@ -69220,15 +67847,15 @@ "params": [ { "type": "Identifier", - "start": 12028, - "end": 12032, + "start": 11795, + "end": 11799, "loc": { "start": { - "line": 322, + "line": 318, "column": 36 }, "end": { - "line": 322, + "line": 318, "column": 40 }, "identifierName": "data" @@ -69238,87 +67865,87 @@ ], "body": { "type": "BlockStatement", - "start": 12036, - "end": 12474, + "start": 11803, + "end": 12241, "loc": { "start": { - "line": 322, + "line": 318, "column": 44 }, "end": { - "line": 332, + "line": 328, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12054, - "end": 12097, + "start": 11821, + "end": 11864, "loc": { "start": { - "line": 323, + "line": 319, "column": 16 }, "end": { - "line": 323, + "line": 319, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 12054, - "end": 12096, + "start": 11821, + "end": 11863, "loc": { "start": { - "line": 323, + "line": 319, "column": 16 }, "end": { - "line": 323, + "line": 319, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 12054, - "end": 12062, + "start": 11821, + "end": 11829, "loc": { "start": { - "line": 323, + "line": 319, "column": 16 }, "end": { - "line": 323, + "line": 319, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 12054, - "end": 12058, + "start": 11821, + "end": 11825, "loc": { "start": { - "line": 323, + "line": 319, "column": 16 }, "end": { - "line": 323, + "line": 319, "column": 20 } } }, "property": { "type": "Identifier", - "start": 12059, - "end": 12062, + "start": 11826, + "end": 11829, "loc": { "start": { - "line": 323, + "line": 319, "column": 21 }, "end": { - "line": 323, + "line": 319, "column": 24 }, "identifierName": "log" @@ -69330,29 +67957,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 12063, - "end": 12095, + "start": 11830, + "end": 11862, "loc": { "start": { - "line": 323, + "line": 319, "column": 25 }, "end": { - "line": 323, + "line": 319, "column": 57 } }, "left": { "type": "StringLiteral", - "start": 12063, - "end": 12087, + "start": 11830, + "end": 11854, "loc": { "start": { - "line": 323, + "line": 319, "column": 25 }, "end": { - "line": 323, + "line": 319, "column": 49 } }, @@ -69365,15 +67992,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 12090, - "end": 12095, + "start": 11857, + "end": 11862, "loc": { "start": { - "line": 323, + "line": 319, "column": 52 }, "end": { - "line": 323, + "line": 319, "column": 57 }, "identifierName": "peaks" @@ -69387,15 +68014,15 @@ { "type": "CommentLine", "value": " check for data property containing peaks", - "start": 12114, - "end": 12157, + "start": 11881, + "end": 11924, "loc": { "start": { - "line": 324, + "line": 320, "column": 16 }, "end": { - "line": 324, + "line": 320, "column": 59 } } @@ -69404,43 +68031,43 @@ }, { "type": "IfStatement", - "start": 12174, - "end": 12460, + "start": 11941, + "end": 12227, "loc": { "start": { - "line": 325, + "line": 321, "column": 16 }, "end": { - "line": 331, + "line": 327, "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 12178, - "end": 12195, + "start": 11945, + "end": 11962, "loc": { "start": { - "line": 325, + "line": 321, "column": 20 }, "end": { - "line": 325, + "line": 321, "column": 37 } }, "left": { "type": "Identifier", - "start": 12178, - "end": 12182, + "start": 11945, + "end": 11949, "loc": { "start": { - "line": 325, + "line": 321, "column": 20 }, "end": { - "line": 325, + "line": 321, "column": 24 }, "identifierName": "data" @@ -69451,29 +68078,29 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 12186, - "end": 12195, + "start": 11953, + "end": 11962, "loc": { "start": { - "line": 325, + "line": 321, "column": 28 }, "end": { - "line": 325, + "line": 321, "column": 37 } }, "object": { "type": "Identifier", - "start": 12186, - "end": 12190, + "start": 11953, + "end": 11957, "loc": { "start": { - "line": 325, + "line": 321, "column": 28 }, "end": { - "line": 325, + "line": 321, "column": 32 }, "identifierName": "data" @@ -69482,15 +68109,15 @@ }, "property": { "type": "Identifier", - "start": 12191, - "end": 12195, + "start": 11958, + "end": 11962, "loc": { "start": { - "line": 325, + "line": 321, "column": 33 }, "end": { - "line": 325, + "line": 321, "column": 37 }, "identifierName": "data" @@ -69503,101 +68130,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 12197, - "end": 12270, + "start": 11964, + "end": 12037, "loc": { "start": { - "line": 325, + "line": 321, "column": 39 }, "end": { - "line": 327, + "line": 323, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 12219, - "end": 12252, + "start": 11986, + "end": 12019, "loc": { "start": { - "line": 326, + "line": 322, "column": 20 }, "end": { - "line": 326, + "line": 322, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 12219, - "end": 12251, + "start": 11986, + "end": 12018, "loc": { "start": { - "line": 326, + "line": 322, "column": 20 }, "end": { - "line": 326, + "line": 322, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 12219, - "end": 12235, + "start": 11986, + "end": 12002, "loc": { "start": { - "line": 326, + "line": 322, "column": 20 }, "end": { - "line": 326, + "line": 322, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 12219, - "end": 12230, + "start": 11986, + "end": 11997, "loc": { "start": { - "line": 326, + "line": 322, "column": 20 }, "end": { - "line": 326, + "line": 322, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 12219, - "end": 12223, + "start": 11986, + "end": 11990, "loc": { "start": { - "line": 326, + "line": 322, "column": 20 }, "end": { - "line": 326, + "line": 322, "column": 24 } } }, "property": { "type": "Identifier", - "start": 12224, - "end": 12230, + "start": 11991, + "end": 11997, "loc": { "start": { - "line": 326, + "line": 322, "column": 25 }, "end": { - "line": 326, + "line": 322, "column": 31 }, "identifierName": "surfer" @@ -69608,15 +68235,15 @@ }, "property": { "type": "Identifier", - "start": 12231, - "end": 12235, + "start": 11998, + "end": 12002, "loc": { "start": { - "line": 326, + "line": 322, "column": 32 }, "end": { - "line": 326, + "line": 322, "column": 36 }, "identifierName": "load" @@ -69628,15 +68255,15 @@ "arguments": [ { "type": "Identifier", - "start": 12236, - "end": 12239, + "start": 12003, + "end": 12006, "loc": { "start": { - "line": 326, + "line": 322, "column": 37 }, "end": { - "line": 326, + "line": 322, "column": 40 }, "identifierName": "url" @@ -69645,29 +68272,29 @@ }, { "type": "MemberExpression", - "start": 12241, - "end": 12250, + "start": 12008, + "end": 12017, "loc": { "start": { - "line": 326, + "line": 322, "column": 42 }, "end": { - "line": 326, + "line": 322, "column": 51 } }, "object": { "type": "Identifier", - "start": 12241, - "end": 12245, + "start": 12008, + "end": 12012, "loc": { "start": { - "line": 326, + "line": 322, "column": 42 }, "end": { - "line": 326, + "line": 322, "column": 46 }, "identifierName": "data" @@ -69676,15 +68303,15 @@ }, "property": { "type": "Identifier", - "start": 12246, - "end": 12250, + "start": 12013, + "end": 12017, "loc": { "start": { - "line": 326, + "line": 322, "column": 47 }, "end": { - "line": 326, + "line": 322, "column": 51 }, "identifierName": "data" @@ -69701,101 +68328,101 @@ }, "alternate": { "type": "BlockStatement", - "start": 12276, - "end": 12460, + "start": 12043, + "end": 12227, "loc": { "start": { - "line": 327, + "line": 323, "column": 23 }, "end": { - "line": 331, + "line": 327, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 12298, - "end": 12398, + "start": 12065, + "end": 12165, "loc": { "start": { - "line": 328, + "line": 324, "column": 20 }, "end": { - "line": 329, + "line": 325, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 12298, - "end": 12397, + "start": 12065, + "end": 12164, "loc": { "start": { - "line": 328, + "line": 324, "column": 20 }, "end": { - "line": 329, + "line": 325, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 12298, - "end": 12317, + "start": 12065, + "end": 12084, "loc": { "start": { - "line": 328, + "line": 324, "column": 20 }, "end": { - "line": 328, + "line": 324, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 12298, - "end": 12309, + "start": 12065, + "end": 12076, "loc": { "start": { - "line": 328, + "line": 324, "column": 20 }, "end": { - "line": 328, + "line": 324, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 12298, - "end": 12302, + "start": 12065, + "end": 12069, "loc": { "start": { - "line": 328, + "line": 324, "column": 20 }, "end": { - "line": 328, + "line": 324, "column": 24 } } }, "property": { "type": "Identifier", - "start": 12303, - "end": 12309, + "start": 12070, + "end": 12076, "loc": { "start": { - "line": 328, + "line": 324, "column": 25 }, "end": { - "line": 328, + "line": 324, "column": 31 }, "identifierName": "player" @@ -69806,15 +68433,15 @@ }, "property": { "type": "Identifier", - "start": 12310, - "end": 12317, + "start": 12077, + "end": 12084, "loc": { "start": { - "line": 328, + "line": 324, "column": 32 }, "end": { - "line": 328, + "line": 324, "column": 39 }, "identifierName": "trigger" @@ -69826,29 +68453,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 12318, - "end": 12329, + "start": 12085, + "end": 12096, "loc": { "start": { - "line": 328, + "line": 324, "column": 40 }, "end": { - "line": 328, + "line": 324, "column": 51 } }, "object": { "type": "Identifier", - "start": 12318, - "end": 12323, + "start": 12085, + "end": 12090, "loc": { "start": { - "line": 328, + "line": 324, "column": 40 }, "end": { - "line": 328, + "line": 324, "column": 45 }, "identifierName": "Event" @@ -69857,15 +68484,15 @@ }, "property": { "type": "Identifier", - "start": 12324, - "end": 12329, + "start": 12091, + "end": 12096, "loc": { "start": { - "line": 328, + "line": 324, "column": 46 }, "end": { - "line": 328, + "line": 324, "column": 51 }, "identifierName": "ERROR" @@ -69876,29 +68503,29 @@ }, { "type": "BinaryExpression", - "start": 12355, - "end": 12396, + "start": 12122, + "end": 12163, "loc": { "start": { - "line": 329, + "line": 325, "column": 24 }, "end": { - "line": 329, + "line": 325, "column": 65 } }, "left": { "type": "StringLiteral", - "start": 12355, - "end": 12388, + "start": 12122, + "end": 12155, "loc": { "start": { - "line": 329, + "line": 325, "column": 24 }, "end": { - "line": 329, + "line": 325, "column": 57 } }, @@ -69911,15 +68538,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 12391, - "end": 12396, + "start": 12158, + "end": 12163, "loc": { "start": { - "line": 329, + "line": 325, "column": 60 }, "end": { - "line": 329, + "line": 325, "column": 65 }, "identifierName": "peaks" @@ -69932,72 +68559,72 @@ }, { "type": "ExpressionStatement", - "start": 12419, - "end": 12442, + "start": 12186, + "end": 12209, "loc": { "start": { - "line": 330, + "line": 326, "column": 20 }, "end": { - "line": 330, + "line": 326, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 12419, - "end": 12441, + "start": 12186, + "end": 12208, "loc": { "start": { - "line": 330, + "line": 326, "column": 20 }, "end": { - "line": 330, + "line": 326, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 12419, - "end": 12427, + "start": 12186, + "end": 12194, "loc": { "start": { - "line": 330, + "line": 326, "column": 20 }, "end": { - "line": 330, + "line": 326, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 12419, - "end": 12423, + "start": 12186, + "end": 12190, "loc": { "start": { - "line": 330, + "line": 326, "column": 20 }, "end": { - "line": 330, + "line": 326, "column": 24 } } }, "property": { "type": "Identifier", - "start": 12424, - "end": 12427, + "start": 12191, + "end": 12194, "loc": { "start": { - "line": 330, + "line": 326, "column": 25 }, "end": { - "line": 330, + "line": 326, "column": 28 }, "identifierName": "log" @@ -70009,15 +68636,15 @@ "arguments": [ { "type": "Identifier", - "start": 12428, - "end": 12431, + "start": 12195, + "end": 12198, "loc": { "start": { - "line": 330, + "line": 326, "column": 29 }, "end": { - "line": 330, + "line": 326, "column": 32 }, "identifierName": "err" @@ -70026,15 +68653,15 @@ }, { "type": "StringLiteral", - "start": 12433, - "end": 12440, + "start": 12200, + "end": 12207, "loc": { "start": { - "line": 330, + "line": 326, "column": 34 }, "end": { - "line": 330, + "line": 326, "column": 41 } }, @@ -70054,15 +68681,15 @@ { "type": "CommentLine", "value": " check for data property containing peaks", - "start": 12114, - "end": 12157, + "start": 11881, + "end": 11924, "loc": { "start": { - "line": 324, + "line": 320, "column": 16 }, "end": { - "line": 324, + "line": 320, "column": 59 } } @@ -70078,57 +68705,57 @@ }, { "type": "ExpressionStatement", - "start": 12489, - "end": 12715, + "start": 12256, + "end": 12482, "loc": { "start": { - "line": 333, + "line": 329, "column": 12 }, "end": { - "line": 337, + "line": 333, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 12489, - "end": 12714, + "start": 12256, + "end": 12481, "loc": { "start": { - "line": 333, + "line": 329, "column": 12 }, "end": { - "line": 337, + "line": 333, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 12489, - "end": 12501, + "start": 12256, + "end": 12268, "loc": { "start": { - "line": 333, + "line": 329, "column": 12 }, "end": { - "line": 333, + "line": 329, "column": 24 } }, "object": { "type": "Identifier", - "start": 12489, - "end": 12496, + "start": 12256, + "end": 12263, "loc": { "start": { - "line": 333, + "line": 329, "column": 12 }, "end": { - "line": 333, + "line": 329, "column": 19 }, "identifierName": "request" @@ -70137,15 +68764,15 @@ }, "property": { "type": "Identifier", - "start": 12497, - "end": 12501, + "start": 12264, + "end": 12268, "loc": { "start": { - "line": 333, + "line": 329, "column": 20 }, "end": { - "line": 333, + "line": 329, "column": 24 }, "identifierName": "once" @@ -70157,15 +68784,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 12502, - "end": 12509, + "start": 12269, + "end": 12276, "loc": { "start": { - "line": 333, + "line": 329, "column": 25 }, "end": { - "line": 333, + "line": 329, "column": 32 } }, @@ -70177,15 +68804,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 12511, - "end": 12713, + "start": 12278, + "end": 12480, "loc": { "start": { - "line": 333, + "line": 329, "column": 34 }, "end": { - "line": 337, + "line": 333, "column": 13 } }, @@ -70196,15 +68823,15 @@ "params": [ { "type": "Identifier", - "start": 12511, - "end": 12512, + "start": 12278, + "end": 12279, "loc": { "start": { - "line": 333, + "line": 329, "column": 34 }, "end": { - "line": 333, + "line": 329, "column": 35 }, "identifierName": "e" @@ -70214,101 +68841,101 @@ ], "body": { "type": "BlockStatement", - "start": 12516, - "end": 12713, + "start": 12283, + "end": 12480, "loc": { "start": { - "line": 333, + "line": 329, "column": 39 }, "end": { - "line": 337, + "line": 333, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12534, - "end": 12699, + "start": 12301, + "end": 12466, "loc": { "start": { - "line": 334, + "line": 330, "column": 16 }, "end": { - "line": 336, + "line": 332, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 12534, - "end": 12698, + "start": 12301, + "end": 12465, "loc": { "start": { - "line": 334, + "line": 330, "column": 16 }, "end": { - "line": 336, + "line": 332, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 12534, - "end": 12553, + "start": 12301, + "end": 12320, "loc": { "start": { - "line": 334, + "line": 330, "column": 16 }, "end": { - "line": 334, + "line": 330, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 12534, - "end": 12545, + "start": 12301, + "end": 12312, "loc": { "start": { - "line": 334, + "line": 330, "column": 16 }, "end": { - "line": 334, + "line": 330, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 12534, - "end": 12538, + "start": 12301, + "end": 12305, "loc": { "start": { - "line": 334, + "line": 330, "column": 16 }, "end": { - "line": 334, + "line": 330, "column": 20 } } }, "property": { "type": "Identifier", - "start": 12539, - "end": 12545, + "start": 12306, + "end": 12312, "loc": { "start": { - "line": 334, + "line": 330, "column": 21 }, "end": { - "line": 334, + "line": 330, "column": 27 }, "identifierName": "player" @@ -70319,15 +68946,15 @@ }, "property": { "type": "Identifier", - "start": 12546, - "end": 12553, + "start": 12313, + "end": 12320, "loc": { "start": { - "line": 334, + "line": 330, "column": 28 }, "end": { - "line": 334, + "line": 330, "column": 35 }, "identifierName": "trigger" @@ -70339,29 +68966,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 12554, - "end": 12565, + "start": 12321, + "end": 12332, "loc": { "start": { - "line": 334, + "line": 330, "column": 36 }, "end": { - "line": 334, + "line": 330, "column": 47 } }, "object": { "type": "Identifier", - "start": 12554, - "end": 12559, + "start": 12321, + "end": 12326, "loc": { "start": { - "line": 334, + "line": 330, "column": 36 }, "end": { - "line": 334, + "line": 330, "column": 41 }, "identifierName": "Event" @@ -70370,15 +68997,15 @@ }, "property": { "type": "Identifier", - "start": 12560, - "end": 12565, + "start": 12327, + "end": 12332, "loc": { "start": { - "line": 334, + "line": 330, "column": 42 }, "end": { - "line": 334, + "line": 330, "column": 47 }, "identifierName": "ERROR" @@ -70389,57 +69016,57 @@ }, { "type": "BinaryExpression", - "start": 12587, - "end": 12697, + "start": 12354, + "end": 12464, "loc": { "start": { - "line": 335, + "line": 331, "column": 20 }, "end": { - "line": 336, + "line": 332, "column": 63 } }, "left": { "type": "BinaryExpression", - "start": 12587, - "end": 12671, + "start": 12354, + "end": 12438, "loc": { "start": { - "line": 335, + "line": 331, "column": 20 }, "end": { - "line": 336, + "line": 332, "column": 37 } }, "left": { "type": "BinaryExpression", - "start": 12587, - "end": 12631, + "start": 12354, + "end": 12398, "loc": { "start": { - "line": 335, + "line": 331, "column": 20 }, "end": { - "line": 335, + "line": 331, "column": 64 } }, "left": { "type": "StringLiteral", - "start": 12587, - "end": 12623, + "start": 12354, + "end": 12390, "loc": { "start": { - "line": 335, + "line": 331, "column": 20 }, "end": { - "line": 335, + "line": 331, "column": 56 } }, @@ -70452,15 +69079,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 12626, - "end": 12631, + "start": 12393, + "end": 12398, "loc": { "start": { - "line": 335, + "line": 331, "column": 59 }, "end": { - "line": 335, + "line": 331, "column": 64 }, "identifierName": "peaks" @@ -70471,15 +69098,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 12654, - "end": 12671, + "start": 12421, + "end": 12438, "loc": { "start": { - "line": 336, + "line": 332, "column": 20 }, "end": { - "line": 336, + "line": 332, "column": 37 } }, @@ -70493,43 +69120,43 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 12674, - "end": 12697, + "start": 12441, + "end": 12464, "loc": { "start": { - "line": 336, + "line": 332, "column": 40 }, "end": { - "line": 336, + "line": 332, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 12674, - "end": 12690, + "start": 12441, + "end": 12457, "loc": { "start": { - "line": 336, + "line": 332, "column": 40 }, "end": { - "line": 336, + "line": 332, "column": 56 } }, "object": { "type": "Identifier", - "start": 12674, - "end": 12681, + "start": 12441, + "end": 12448, "loc": { "start": { - "line": 336, + "line": 332, "column": 40 }, "end": { - "line": 336, + "line": 332, "column": 47 }, "identifierName": "request" @@ -70538,15 +69165,15 @@ }, "property": { "type": "Identifier", - "start": 12682, - "end": 12690, + "start": 12449, + "end": 12457, "loc": { "start": { - "line": 336, + "line": 332, "column": 48 }, "end": { - "line": 336, + "line": 332, "column": 56 }, "identifierName": "response" @@ -70557,15 +69184,15 @@ }, "property": { "type": "Identifier", - "start": 12691, - "end": 12697, + "start": 12458, + "end": 12464, "loc": { "start": { - "line": 336, + "line": 332, "column": 57 }, "end": { - "line": 336, + "line": 332, "column": 63 }, "identifierName": "status" @@ -70597,15 +69224,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": 11031, - "end": 11323, + "start": 10798, + "end": 11090, "loc": { "start": { - "line": 296, + "line": 292, "column": 4 }, "end": { - "line": 303, + "line": 299, "column": 7 } } @@ -70615,15 +69242,15 @@ { "type": "CommentBlock", "value": "*\n * Start/resume playback or microphone.\n ", - "start": 12737, - "end": 12792, + "start": 12504, + "end": 12559, "loc": { "start": { - "line": 341, + "line": 337, "column": 4 }, "end": { - "line": 343, + "line": 339, "column": 7 } } @@ -70632,15 +69259,15 @@ }, { "type": "ClassMethod", - "start": 12797, - "end": 13837, + "start": 12564, + "end": 13604, "loc": { "start": { - "line": 344, + "line": 340, "column": 4 }, "end": { - "line": 377, + "line": 373, "column": 5 } }, @@ -70648,15 +69275,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12797, - "end": 12801, + "start": 12564, + "end": 12568, "loc": { "start": { - "line": 344, + "line": 340, "column": 4 }, "end": { - "line": 344, + "line": 340, "column": 8 }, "identifierName": "play" @@ -70672,114 +69299,114 @@ "params": [], "body": { "type": "BlockStatement", - "start": 12804, - "end": 13837, + "start": 12571, + "end": 13604, "loc": { "start": { - "line": 344, + "line": 340, "column": 11 }, "end": { - "line": 377, + "line": 373, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 12843, - "end": 13028, + "start": 12610, + "end": 12795, "loc": { "start": { - "line": 346, + "line": 342, "column": 8 }, "end": { - "line": 349, + "line": 345, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 12847, - "end": 12955, + "start": 12614, + "end": 12722, "loc": { "start": { - "line": 346, + "line": 342, "column": 12 }, "end": { - "line": 347, + "line": 343, "column": 57 } }, "left": { "type": "BinaryExpression", - "start": 12847, - "end": 12894, + "start": 12614, + "end": 12661, "loc": { "start": { - "line": 346, + "line": 342, "column": 12 }, "end": { - "line": 346, + "line": 342, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 12847, - "end": 12880, + "start": 12614, + "end": 12647, "loc": { "start": { - "line": 346, + "line": 342, "column": 12 }, "end": { - "line": 346, + "line": 342, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 12847, - "end": 12869, + "start": 12614, + "end": 12636, "loc": { "start": { - "line": 346, + "line": 342, "column": 12 }, "end": { - "line": 346, + "line": 342, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12847, - "end": 12858, + "start": 12614, + "end": 12625, "loc": { "start": { - "line": 346, + "line": 342, "column": 12 }, "end": { - "line": 346, + "line": 342, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12847, - "end": 12851, + "start": 12614, + "end": 12618, "loc": { "start": { - "line": 346, + "line": 342, "column": 12 }, "end": { - "line": 346, + "line": 342, "column": 16 } }, @@ -70787,15 +69414,15 @@ }, "property": { "type": "Identifier", - "start": 12852, - "end": 12858, + "start": 12619, + "end": 12625, "loc": { "start": { - "line": 346, + "line": 342, "column": 17 }, "end": { - "line": 346, + "line": 342, "column": 23 }, "identifierName": "player" @@ -70807,15 +69434,15 @@ }, "property": { "type": "Identifier", - "start": 12859, - "end": 12869, + "start": 12626, + "end": 12636, "loc": { "start": { - "line": 346, + "line": 342, "column": 24 }, "end": { - "line": 346, + "line": 342, "column": 34 }, "identifierName": "controlBar" @@ -70827,15 +69454,15 @@ }, "property": { "type": "Identifier", - "start": 12870, - "end": 12880, + "start": 12637, + "end": 12647, "loc": { "start": { - "line": 346, + "line": 342, "column": 35 }, "end": { - "line": 346, + "line": 342, "column": 45 }, "identifierName": "playToggle" @@ -70848,15 +69475,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 12885, - "end": 12894, + "start": 12652, + "end": 12661, "loc": { "start": { - "line": 346, + "line": 342, "column": 50 }, "end": { - "line": 346, + "line": 342, "column": 59 }, "identifierName": "undefined" @@ -70868,100 +69495,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 12910, - "end": 12955, + "start": 12677, + "end": 12722, "loc": { "start": { - "line": 347, + "line": 343, "column": 12 }, "end": { - "line": 347, + "line": 343, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 12910, - "end": 12953, + "start": 12677, + "end": 12720, "loc": { "start": { - "line": 347, + "line": 343, "column": 12 }, "end": { - "line": 347, + "line": 343, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 12910, - "end": 12943, + "start": 12677, + "end": 12710, "loc": { "start": { - "line": 347, + "line": 343, "column": 12 }, "end": { - "line": 347, + "line": 343, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 12910, - "end": 12932, + "start": 12677, + "end": 12699, "loc": { "start": { - "line": 347, + "line": 343, "column": 12 }, "end": { - "line": 347, + "line": 343, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12910, - "end": 12921, + "start": 12677, + "end": 12688, "loc": { "start": { - "line": 347, + "line": 343, "column": 12 }, "end": { - "line": 347, + "line": 343, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12910, - "end": 12914, + "start": 12677, + "end": 12681, "loc": { "start": { - "line": 347, + "line": 343, "column": 12 }, "end": { - "line": 347, + "line": 343, "column": 16 } } }, "property": { "type": "Identifier", - "start": 12915, - "end": 12921, + "start": 12682, + "end": 12688, "loc": { "start": { - "line": 347, + "line": 343, "column": 17 }, "end": { - "line": 347, + "line": 343, "column": 23 }, "identifierName": "player" @@ -70972,15 +69599,15 @@ }, "property": { "type": "Identifier", - "start": 12922, - "end": 12932, + "start": 12689, + "end": 12699, "loc": { "start": { - "line": 347, + "line": 343, "column": 24 }, "end": { - "line": 347, + "line": 343, "column": 34 }, "identifierName": "controlBar" @@ -70991,15 +69618,15 @@ }, "property": { "type": "Identifier", - "start": 12933, - "end": 12943, + "start": 12700, + "end": 12710, "loc": { "start": { - "line": 347, + "line": 343, "column": 35 }, "end": { - "line": 347, + "line": 343, "column": 45 }, "identifierName": "playToggle" @@ -71010,15 +69637,15 @@ }, "property": { "type": "Identifier", - "start": 12944, - "end": 12953, + "start": 12711, + "end": 12720, "loc": { "start": { - "line": 347, + "line": 343, "column": 46 }, "end": { - "line": 347, + "line": 343, "column": 55 }, "identifierName": "contentEl" @@ -71033,129 +69660,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 12957, - "end": 13028, + "start": 12724, + "end": 12795, "loc": { "start": { - "line": 347, + "line": 343, "column": 59 }, "end": { - "line": 349, + "line": 345, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 12971, - "end": 13018, + "start": 12738, + "end": 12785, "loc": { "start": { - "line": 348, + "line": 344, "column": 12 }, "end": { - "line": 348, + "line": 344, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 12971, - "end": 13017, + "start": 12738, + "end": 12784, "loc": { "start": { - "line": 348, + "line": 344, "column": 12 }, "end": { - "line": 348, + "line": 344, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 12971, - "end": 13015, + "start": 12738, + "end": 12782, "loc": { "start": { - "line": 348, + "line": 344, "column": 12 }, "end": { - "line": 348, + "line": 344, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 12971, - "end": 13004, + "start": 12738, + "end": 12771, "loc": { "start": { - "line": 348, + "line": 344, "column": 12 }, "end": { - "line": 348, + "line": 344, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 12971, - "end": 12993, + "start": 12738, + "end": 12760, "loc": { "start": { - "line": 348, + "line": 344, "column": 12 }, "end": { - "line": 348, + "line": 344, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12971, - "end": 12982, + "start": 12738, + "end": 12749, "loc": { "start": { - "line": 348, + "line": 344, "column": 12 }, "end": { - "line": 348, + "line": 344, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12971, - "end": 12975, + "start": 12738, + "end": 12742, "loc": { "start": { - "line": 348, + "line": 344, "column": 12 }, "end": { - "line": 348, + "line": 344, "column": 16 } } }, "property": { "type": "Identifier", - "start": 12976, - "end": 12982, + "start": 12743, + "end": 12749, "loc": { "start": { - "line": 348, + "line": 344, "column": 17 }, "end": { - "line": 348, + "line": 344, "column": 23 }, "identifierName": "player" @@ -71166,15 +69793,15 @@ }, "property": { "type": "Identifier", - "start": 12983, - "end": 12993, + "start": 12750, + "end": 12760, "loc": { "start": { - "line": 348, + "line": 344, "column": 24 }, "end": { - "line": 348, + "line": 344, "column": 34 }, "identifierName": "controlBar" @@ -71185,15 +69812,15 @@ }, "property": { "type": "Identifier", - "start": 12994, - "end": 13004, + "start": 12761, + "end": 12771, "loc": { "start": { - "line": 348, + "line": 344, "column": 35 }, "end": { - "line": 348, + "line": 344, "column": 45 }, "identifierName": "playToggle" @@ -71204,15 +69831,15 @@ }, "property": { "type": "Identifier", - "start": 13005, - "end": 13015, + "start": 12772, + "end": 12782, "loc": { "start": { - "line": 348, + "line": 344, "column": 46 }, "end": { - "line": 348, + "line": 344, "column": 56 }, "identifierName": "handlePlay" @@ -71232,15 +69859,15 @@ { "type": "CommentLine", "value": " show pause button", - "start": 12814, - "end": 12834, + "start": 12581, + "end": 12601, "loc": { "start": { - "line": 345, + "line": 341, "column": 8 }, "end": { - "line": 345, + "line": 341, "column": 28 } } @@ -71249,58 +69876,58 @@ }, { "type": "IfStatement", - "start": 13038, - "end": 13831, + "start": 12805, + "end": 13598, "loc": { "start": { - "line": 351, + "line": 347, "column": 8 }, "end": { - "line": 376, + "line": 372, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 13042, - "end": 13055, + "start": 12809, + "end": 12822, "loc": { "start": { - "line": 351, + "line": 347, "column": 12 }, "end": { - "line": 351, + "line": 347, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 13042, - "end": 13046, + "start": 12809, + "end": 12813, "loc": { "start": { - "line": 351, + "line": 347, "column": 12 }, "end": { - "line": 351, + "line": 347, "column": 16 } } }, "property": { "type": "Identifier", - "start": 13047, - "end": 13055, + "start": 12814, + "end": 12822, "loc": { "start": { - "line": 351, + "line": 347, "column": 17 }, "end": { - "line": 351, + "line": 347, "column": 25 }, "identifierName": "liveMode" @@ -71311,44 +69938,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 13057, - "end": 13616, + "start": 12824, + "end": 13383, "loc": { "start": { - "line": 351, + "line": 347, "column": 27 }, "end": { - "line": 368, + "line": 364, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 13124, - "end": 13606, + "start": 12891, + "end": 13373, "loc": { "start": { - "line": 353, + "line": 349, "column": 12 }, "end": { - "line": 367, + "line": 363, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 13128, - "end": 13158, + "start": 12895, + "end": 12925, "loc": { "start": { - "line": 353, + "line": 349, "column": 16 }, "end": { - "line": 353, + "line": 349, "column": 46 } }, @@ -71356,57 +69983,57 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 13129, - "end": 13158, + "start": 12896, + "end": 12925, "loc": { "start": { - "line": 353, + "line": 349, "column": 17 }, "end": { - "line": 353, + "line": 349, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 13129, - "end": 13151, + "start": 12896, + "end": 12918, "loc": { "start": { - "line": 353, + "line": 349, "column": 17 }, "end": { - "line": 353, + "line": 349, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 13129, - "end": 13140, + "start": 12896, + "end": 12907, "loc": { "start": { - "line": 353, + "line": 349, "column": 17 }, "end": { - "line": 353, + "line": 349, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 13129, - "end": 13133, + "start": 12896, + "end": 12900, "loc": { "start": { - "line": 353, + "line": 349, "column": 17 }, "end": { - "line": 353, + "line": 349, "column": 21 } }, @@ -71414,15 +70041,15 @@ }, "property": { "type": "Identifier", - "start": 13134, - "end": 13140, + "start": 12901, + "end": 12907, "loc": { "start": { - "line": 353, + "line": 349, "column": 22 }, "end": { - "line": 353, + "line": 349, "column": 28 }, "identifierName": "surfer" @@ -71434,15 +70061,15 @@ }, "property": { "type": "Identifier", - "start": 13141, - "end": 13151, + "start": 12908, + "end": 12918, "loc": { "start": { - "line": 353, + "line": 349, "column": 29 }, "end": { - "line": 353, + "line": 349, "column": 39 }, "identifierName": "microphone" @@ -71454,15 +70081,15 @@ }, "property": { "type": "Identifier", - "start": 13152, - "end": 13158, + "start": 12919, + "end": 12925, "loc": { "start": { - "line": 353, + "line": 349, "column": 40 }, "end": { - "line": 353, + "line": 349, "column": 46 }, "identifierName": "active" @@ -71479,87 +70106,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 13172, - "end": 13281, + "start": 12939, + "end": 13048, "loc": { "start": { - "line": 354, + "line": 350, "column": 12 }, "end": { - "line": 357, + "line": 353, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 13190, - "end": 13219, + "start": 12957, + "end": 12986, "loc": { "start": { - "line": 355, + "line": 351, "column": 16 }, "end": { - "line": 355, + "line": 351, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 13190, - "end": 13218, + "start": 12957, + "end": 12985, "loc": { "start": { - "line": 355, + "line": 351, "column": 16 }, "end": { - "line": 355, + "line": 351, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 13190, - "end": 13198, + "start": 12957, + "end": 12965, "loc": { "start": { - "line": 355, + "line": 351, "column": 16 }, "end": { - "line": 355, + "line": 351, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 13190, - "end": 13194, + "start": 12957, + "end": 12961, "loc": { "start": { - "line": 355, + "line": 351, "column": 16 }, "end": { - "line": 355, + "line": 351, "column": 20 } } }, "property": { "type": "Identifier", - "start": 13195, - "end": 13198, + "start": 12962, + "end": 12965, "loc": { "start": { - "line": 355, + "line": 351, "column": 21 }, "end": { - "line": 355, + "line": 351, "column": 24 }, "identifierName": "log" @@ -71571,15 +70198,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13199, - "end": 13217, + "start": 12966, + "end": 12984, "loc": { "start": { - "line": 355, + "line": 351, "column": 25 }, "end": { - "line": 355, + "line": 351, "column": 43 } }, @@ -71594,100 +70221,100 @@ }, { "type": "ExpressionStatement", - "start": 13236, - "end": 13267, + "start": 13003, + "end": 13034, "loc": { "start": { - "line": 356, + "line": 352, "column": 16 }, "end": { - "line": 356, + "line": 352, "column": 47 } }, "expression": { "type": "CallExpression", - "start": 13236, - "end": 13266, + "start": 13003, + "end": 13033, "loc": { "start": { - "line": 356, + "line": 352, "column": 16 }, "end": { - "line": 356, + "line": 352, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 13236, - "end": 13264, + "start": 13003, + "end": 13031, "loc": { "start": { - "line": 356, + "line": 352, "column": 16 }, "end": { - "line": 356, + "line": 352, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 13236, - "end": 13258, + "start": 13003, + "end": 13025, "loc": { "start": { - "line": 356, + "line": 352, "column": 16 }, "end": { - "line": 356, + "line": 352, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 13236, - "end": 13247, + "start": 13003, + "end": 13014, "loc": { "start": { - "line": 356, + "line": 352, "column": 16 }, "end": { - "line": 356, + "line": 352, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 13236, - "end": 13240, + "start": 13003, + "end": 13007, "loc": { "start": { - "line": 356, + "line": 352, "column": 16 }, "end": { - "line": 356, + "line": 352, "column": 20 } } }, "property": { "type": "Identifier", - "start": 13241, - "end": 13247, + "start": 13008, + "end": 13014, "loc": { "start": { - "line": 356, + "line": 352, "column": 21 }, "end": { - "line": 356, + "line": 352, "column": 27 }, "identifierName": "surfer" @@ -71698,15 +70325,15 @@ }, "property": { "type": "Identifier", - "start": 13248, - "end": 13258, + "start": 13015, + "end": 13025, "loc": { "start": { - "line": 356, + "line": 352, "column": 28 }, "end": { - "line": 356, + "line": 352, "column": 38 }, "identifierName": "microphone" @@ -71717,15 +70344,15 @@ }, "property": { "type": "Identifier", - "start": 13259, - "end": 13264, + "start": 13026, + "end": 13031, "loc": { "start": { - "line": 356, + "line": 352, "column": 39 }, "end": { - "line": 356, + "line": 352, "column": 44 }, "identifierName": "start" @@ -71742,59 +70369,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 13287, - "end": 13606, + "start": 13054, + "end": 13373, "loc": { "start": { - "line": 357, + "line": 353, "column": 19 }, "end": { - "line": 367, + "line": 363, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 13338, - "end": 13382, + "start": 13105, + "end": 13149, "loc": { "start": { - "line": 359, + "line": 355, "column": 16 }, "end": { - "line": 359, + "line": 355, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13342, - "end": 13381, + "start": 13109, + "end": 13148, "loc": { "start": { - "line": 359, + "line": 355, "column": 20 }, "end": { - "line": 359, + "line": 355, "column": 59 } }, "id": { "type": "Identifier", - "start": 13342, - "end": 13348, + "start": 13109, + "end": 13115, "loc": { "start": { - "line": 359, + "line": 355, "column": 20 }, "end": { - "line": 359, + "line": 355, "column": 26 }, "identifierName": "paused" @@ -71804,15 +70431,15 @@ }, "init": { "type": "UnaryExpression", - "start": 13351, - "end": 13381, + "start": 13118, + "end": 13148, "loc": { "start": { - "line": 359, + "line": 355, "column": 29 }, "end": { - "line": 359, + "line": 355, "column": 59 } }, @@ -71820,72 +70447,72 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 13352, - "end": 13381, + "start": 13119, + "end": 13148, "loc": { "start": { - "line": 359, + "line": 355, "column": 30 }, "end": { - "line": 359, + "line": 355, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 13352, - "end": 13374, + "start": 13119, + "end": 13141, "loc": { "start": { - "line": 359, + "line": 355, "column": 30 }, "end": { - "line": 359, + "line": 355, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 13352, - "end": 13363, + "start": 13119, + "end": 13130, "loc": { "start": { - "line": 359, + "line": 355, "column": 30 }, "end": { - "line": 359, + "line": 355, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 13352, - "end": 13356, + "start": 13119, + "end": 13123, "loc": { "start": { - "line": 359, + "line": 355, "column": 30 }, "end": { - "line": 359, + "line": 355, "column": 34 } } }, "property": { "type": "Identifier", - "start": 13357, - "end": 13363, + "start": 13124, + "end": 13130, "loc": { "start": { - "line": 359, + "line": 355, "column": 35 }, "end": { - "line": 359, + "line": 355, "column": 41 }, "identifierName": "surfer" @@ -71896,15 +70523,15 @@ }, "property": { "type": "Identifier", - "start": 13364, - "end": 13374, + "start": 13131, + "end": 13141, "loc": { "start": { - "line": 359, + "line": 355, "column": 42 }, "end": { - "line": 359, + "line": 355, "column": 52 }, "identifierName": "microphone" @@ -71915,15 +70542,15 @@ }, "property": { "type": "Identifier", - "start": 13375, - "end": 13381, + "start": 13142, + "end": 13148, "loc": { "start": { - "line": 359, + "line": 355, "column": 53 }, "end": { - "line": 359, + "line": 355, "column": 59 }, "identifierName": "paused" @@ -71944,15 +70571,15 @@ { "type": "CommentLine", "value": " toggle paused", - "start": 13305, - "end": 13321, + "start": 13072, + "end": 13088, "loc": { "start": { - "line": 358, + "line": 354, "column": 16 }, "end": { - "line": 358, + "line": 354, "column": 32 } } @@ -71961,29 +70588,29 @@ }, { "type": "IfStatement", - "start": 13400, - "end": 13592, + "start": 13167, + "end": 13359, "loc": { "start": { - "line": 361, + "line": 357, "column": 16 }, "end": { - "line": 366, + "line": 362, "column": 17 } }, "test": { "type": "Identifier", - "start": 13404, - "end": 13410, + "start": 13171, + "end": 13177, "loc": { "start": { - "line": 361, + "line": 357, "column": 20 }, "end": { - "line": 361, + "line": 357, "column": 26 }, "identifierName": "paused" @@ -71992,87 +70619,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 13412, - "end": 13465, + "start": 13179, + "end": 13232, "loc": { "start": { - "line": 361, + "line": 357, "column": 28 }, "end": { - "line": 363, + "line": 359, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 13434, - "end": 13447, + "start": 13201, + "end": 13214, "loc": { "start": { - "line": 362, + "line": 358, "column": 20 }, "end": { - "line": 362, + "line": 358, "column": 33 } }, "expression": { "type": "CallExpression", - "start": 13434, - "end": 13446, + "start": 13201, + "end": 13213, "loc": { "start": { - "line": 362, + "line": 358, "column": 20 }, "end": { - "line": 362, + "line": 358, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 13434, - "end": 13444, + "start": 13201, + "end": 13211, "loc": { "start": { - "line": 362, + "line": 358, "column": 20 }, "end": { - "line": 362, + "line": 358, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 13434, - "end": 13438, + "start": 13201, + "end": 13205, "loc": { "start": { - "line": 362, + "line": 358, "column": 20 }, "end": { - "line": 362, + "line": 358, "column": 24 } } }, "property": { "type": "Identifier", - "start": 13439, - "end": 13444, + "start": 13206, + "end": 13211, "loc": { "start": { - "line": 362, + "line": 358, "column": 25 }, "end": { - "line": 362, + "line": 358, "column": 30 }, "identifierName": "pause" @@ -72089,87 +70716,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 13471, - "end": 13592, + "start": 13238, + "end": 13359, "loc": { "start": { - "line": 363, + "line": 359, "column": 23 }, "end": { - "line": 366, + "line": 362, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 13493, - "end": 13523, + "start": 13260, + "end": 13290, "loc": { "start": { - "line": 364, + "line": 360, "column": 20 }, "end": { - "line": 364, + "line": 360, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 13493, - "end": 13522, + "start": 13260, + "end": 13289, "loc": { "start": { - "line": 364, + "line": 360, "column": 20 }, "end": { - "line": 364, + "line": 360, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 13493, - "end": 13501, + "start": 13260, + "end": 13268, "loc": { "start": { - "line": 364, + "line": 360, "column": 20 }, "end": { - "line": 364, + "line": 360, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 13493, - "end": 13497, + "start": 13260, + "end": 13264, "loc": { "start": { - "line": 364, + "line": 360, "column": 20 }, "end": { - "line": 364, + "line": 360, "column": 24 } } }, "property": { "type": "Identifier", - "start": 13498, - "end": 13501, + "start": 13265, + "end": 13268, "loc": { "start": { - "line": 364, + "line": 360, "column": 25 }, "end": { - "line": 364, + "line": 360, "column": 28 }, "identifierName": "log" @@ -72181,15 +70808,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13502, - "end": 13521, + "start": 13269, + "end": 13288, "loc": { "start": { - "line": 364, + "line": 360, "column": 29 }, "end": { - "line": 364, + "line": 360, "column": 48 } }, @@ -72204,100 +70831,100 @@ }, { "type": "ExpressionStatement", - "start": 13544, - "end": 13574, + "start": 13311, + "end": 13341, "loc": { "start": { - "line": 365, + "line": 361, "column": 20 }, "end": { - "line": 365, + "line": 361, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 13544, - "end": 13573, + "start": 13311, + "end": 13340, "loc": { "start": { - "line": 365, + "line": 361, "column": 20 }, "end": { - "line": 365, + "line": 361, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 13544, - "end": 13571, + "start": 13311, + "end": 13338, "loc": { "start": { - "line": 365, + "line": 361, "column": 20 }, "end": { - "line": 365, + "line": 361, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 13544, - "end": 13566, + "start": 13311, + "end": 13333, "loc": { "start": { - "line": 365, + "line": 361, "column": 20 }, "end": { - "line": 365, + "line": 361, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 13544, - "end": 13555, + "start": 13311, + "end": 13322, "loc": { "start": { - "line": 365, + "line": 361, "column": 20 }, "end": { - "line": 365, + "line": 361, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 13544, - "end": 13548, + "start": 13311, + "end": 13315, "loc": { "start": { - "line": 365, + "line": 361, "column": 20 }, "end": { - "line": 365, + "line": 361, "column": 24 } } }, "property": { "type": "Identifier", - "start": 13549, - "end": 13555, + "start": 13316, + "end": 13322, "loc": { "start": { - "line": 365, + "line": 361, "column": 25 }, "end": { - "line": 365, + "line": 361, "column": 31 }, "identifierName": "surfer" @@ -72308,15 +70935,15 @@ }, "property": { "type": "Identifier", - "start": 13556, - "end": 13566, + "start": 13323, + "end": 13333, "loc": { "start": { - "line": 365, + "line": 361, "column": 32 }, "end": { - "line": 365, + "line": 361, "column": 42 }, "identifierName": "microphone" @@ -72327,15 +70954,15 @@ }, "property": { "type": "Identifier", - "start": 13567, - "end": 13571, + "start": 13334, + "end": 13338, "loc": { "start": { - "line": 365, + "line": 361, "column": 43 }, "end": { - "line": 365, + "line": 361, "column": 47 }, "identifierName": "play" @@ -72358,15 +70985,15 @@ { "type": "CommentLine", "value": " start/resume microphone visualization", - "start": 13071, - "end": 13111, + "start": 12838, + "end": 12878, "loc": { "start": { - "line": 352, + "line": 348, "column": 12 }, "end": { - "line": 352, + "line": 348, "column": 52 } } @@ -72378,87 +71005,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 13622, - "end": 13831, + "start": 13389, + "end": 13598, "loc": { "start": { - "line": 368, + "line": 364, "column": 15 }, "end": { - "line": 376, + "line": 372, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 13636, - "end": 13663, + "start": 13403, + "end": 13430, "loc": { "start": { - "line": 369, + "line": 365, "column": 12 }, "end": { - "line": 369, + "line": 365, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 13636, - "end": 13662, + "start": 13403, + "end": 13429, "loc": { "start": { - "line": 369, + "line": 365, "column": 12 }, "end": { - "line": 369, + "line": 365, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 13636, - "end": 13644, + "start": 13403, + "end": 13411, "loc": { "start": { - "line": 369, + "line": 365, "column": 12 }, "end": { - "line": 369, + "line": 365, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 13636, - "end": 13640, + "start": 13403, + "end": 13407, "loc": { "start": { - "line": 369, + "line": 365, "column": 12 }, "end": { - "line": 369, + "line": 365, "column": 16 } } }, "property": { "type": "Identifier", - "start": 13641, - "end": 13644, + "start": 13408, + "end": 13411, "loc": { "start": { - "line": 369, + "line": 365, "column": 17 }, "end": { - "line": 369, + "line": 365, "column": 20 }, "identifierName": "log" @@ -72470,15 +71097,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13645, - "end": 13661, + "start": 13412, + "end": 13428, "loc": { "start": { - "line": 369, + "line": 365, "column": 21 }, "end": { - "line": 369, + "line": 365, "column": 37 } }, @@ -72494,15 +71121,15 @@ { "type": "CommentLine", "value": " put video.js player UI in playback mode", - "start": 13677, - "end": 13719, + "start": 13444, + "end": 13486, "loc": { "start": { - "line": 371, + "line": 367, "column": 12 }, "end": { - "line": 371, + "line": 367, "column": 54 } } @@ -72511,71 +71138,71 @@ }, { "type": "ExpressionStatement", - "start": 13732, - "end": 13751, + "start": 13499, + "end": 13518, "loc": { "start": { - "line": 372, + "line": 368, "column": 12 }, "end": { - "line": 372, + "line": 368, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 13732, - "end": 13750, + "start": 13499, + "end": 13517, "loc": { "start": { - "line": 372, + "line": 368, "column": 12 }, "end": { - "line": 372, + "line": 368, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 13732, - "end": 13748, + "start": 13499, + "end": 13515, "loc": { "start": { - "line": 372, + "line": 368, "column": 12 }, "end": { - "line": 372, + "line": 368, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 13732, - "end": 13743, + "start": 13499, + "end": 13510, "loc": { "start": { - "line": 372, + "line": 368, "column": 12 }, "end": { - "line": 372, + "line": 368, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13732, - "end": 13736, + "start": 13499, + "end": 13503, "loc": { "start": { - "line": 372, + "line": 368, "column": 12 }, "end": { - "line": 372, + "line": 368, "column": 16 } }, @@ -72583,15 +71210,15 @@ }, "property": { "type": "Identifier", - "start": 13737, - "end": 13743, + "start": 13504, + "end": 13510, "loc": { "start": { - "line": 372, + "line": 368, "column": 17 }, "end": { - "line": 372, + "line": 368, "column": 23 }, "identifierName": "player" @@ -72603,15 +71230,15 @@ }, "property": { "type": "Identifier", - "start": 13744, - "end": 13748, + "start": 13511, + "end": 13515, "loc": { "start": { - "line": 372, + "line": 368, "column": 24 }, "end": { - "line": 372, + "line": 368, "column": 28 }, "identifierName": "play" @@ -72628,15 +71255,15 @@ { "type": "CommentLine", "value": " put video.js player UI in playback mode", - "start": 13677, - "end": 13719, + "start": 13444, + "end": 13486, "loc": { "start": { - "line": 371, + "line": 367, "column": 12 }, "end": { - "line": 371, + "line": 367, "column": 54 } } @@ -72646,15 +71273,15 @@ { "type": "CommentLine", "value": " start surfer playback", - "start": 13765, - "end": 13789, + "start": 13532, + "end": 13556, "loc": { "start": { - "line": 374, + "line": 370, "column": 12 }, "end": { - "line": 374, + "line": 370, "column": 36 } } @@ -72663,71 +71290,71 @@ }, { "type": "ExpressionStatement", - "start": 13802, - "end": 13821, + "start": 13569, + "end": 13588, "loc": { "start": { - "line": 375, + "line": 371, "column": 12 }, "end": { - "line": 375, + "line": 371, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 13802, - "end": 13820, + "start": 13569, + "end": 13587, "loc": { "start": { - "line": 375, + "line": 371, "column": 12 }, "end": { - "line": 375, + "line": 371, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 13802, - "end": 13818, + "start": 13569, + "end": 13585, "loc": { "start": { - "line": 375, + "line": 371, "column": 12 }, "end": { - "line": 375, + "line": 371, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 13802, - "end": 13813, + "start": 13569, + "end": 13580, "loc": { "start": { - "line": 375, + "line": 371, "column": 12 }, "end": { - "line": 375, + "line": 371, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13802, - "end": 13806, + "start": 13569, + "end": 13573, "loc": { "start": { - "line": 375, + "line": 371, "column": 12 }, "end": { - "line": 375, + "line": 371, "column": 16 } }, @@ -72735,15 +71362,15 @@ }, "property": { "type": "Identifier", - "start": 13807, - "end": 13813, + "start": 13574, + "end": 13580, "loc": { "start": { - "line": 375, + "line": 371, "column": 17 }, "end": { - "line": 375, + "line": 371, "column": 23 }, "identifierName": "surfer" @@ -72755,15 +71382,15 @@ }, "property": { "type": "Identifier", - "start": 13814, - "end": 13818, + "start": 13581, + "end": 13585, "loc": { "start": { - "line": 375, + "line": 371, "column": 24 }, "end": { - "line": 375, + "line": 371, "column": 28 }, "identifierName": "play" @@ -72780,15 +71407,15 @@ { "type": "CommentLine", "value": " start surfer playback", - "start": 13765, - "end": 13789, + "start": 13532, + "end": 13556, "loc": { "start": { - "line": 374, + "line": 370, "column": 12 }, "end": { - "line": 374, + "line": 370, "column": 36 } } @@ -72807,15 +71434,15 @@ { "type": "CommentBlock", "value": "*\n * Start/resume playback or microphone.\n ", - "start": 12737, - "end": 12792, + "start": 12504, + "end": 12559, "loc": { "start": { - "line": 341, + "line": 337, "column": 4 }, "end": { - "line": 343, + "line": 339, "column": 7 } } @@ -72825,15 +71452,15 @@ { "type": "CommentBlock", "value": "*\n * Pauses playback or microphone visualization.\n ", - "start": 13843, - "end": 13906, + "start": 13610, + "end": 13673, "loc": { "start": { - "line": 379, + "line": 375, "column": 4 }, "end": { - "line": 381, + "line": 377, "column": 7 } } @@ -72842,15 +71469,15 @@ }, { "type": "ClassMethod", - "start": 13911, - "end": 14643, + "start": 13678, + "end": 14410, "loc": { "start": { - "line": 382, + "line": 378, "column": 4 }, "end": { - "line": 406, + "line": 402, "column": 5 } }, @@ -72858,15 +71485,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13911, - "end": 13916, + "start": 13678, + "end": 13683, "loc": { "start": { - "line": 382, + "line": 378, "column": 4 }, "end": { - "line": 382, + "line": 378, "column": 9 }, "identifierName": "pause" @@ -72882,114 +71509,114 @@ "params": [], "body": { "type": "BlockStatement", - "start": 13919, - "end": 14643, + "start": 13686, + "end": 14410, "loc": { "start": { - "line": 382, + "line": 378, "column": 12 }, "end": { - "line": 406, + "line": 402, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 13957, - "end": 14143, + "start": 13724, + "end": 13910, "loc": { "start": { - "line": 384, + "line": 380, "column": 8 }, "end": { - "line": 387, + "line": 383, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 13961, - "end": 14069, + "start": 13728, + "end": 13836, "loc": { "start": { - "line": 384, + "line": 380, "column": 12 }, "end": { - "line": 385, + "line": 381, "column": 57 } }, "left": { "type": "BinaryExpression", - "start": 13961, - "end": 14008, + "start": 13728, + "end": 13775, "loc": { "start": { - "line": 384, + "line": 380, "column": 12 }, "end": { - "line": 384, + "line": 380, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 13961, - "end": 13994, + "start": 13728, + "end": 13761, "loc": { "start": { - "line": 384, + "line": 380, "column": 12 }, "end": { - "line": 384, + "line": 380, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 13961, - "end": 13983, + "start": 13728, + "end": 13750, "loc": { "start": { - "line": 384, + "line": 380, "column": 12 }, "end": { - "line": 384, + "line": 380, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 13961, - "end": 13972, + "start": 13728, + "end": 13739, "loc": { "start": { - "line": 384, + "line": 380, "column": 12 }, "end": { - "line": 384, + "line": 380, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 13961, - "end": 13965, + "start": 13728, + "end": 13732, "loc": { "start": { - "line": 384, + "line": 380, "column": 12 }, "end": { - "line": 384, + "line": 380, "column": 16 } }, @@ -72997,15 +71624,15 @@ }, "property": { "type": "Identifier", - "start": 13966, - "end": 13972, + "start": 13733, + "end": 13739, "loc": { "start": { - "line": 384, + "line": 380, "column": 17 }, "end": { - "line": 384, + "line": 380, "column": 23 }, "identifierName": "player" @@ -73017,15 +71644,15 @@ }, "property": { "type": "Identifier", - "start": 13973, - "end": 13983, + "start": 13740, + "end": 13750, "loc": { "start": { - "line": 384, + "line": 380, "column": 24 }, "end": { - "line": 384, + "line": 380, "column": 34 }, "identifierName": "controlBar" @@ -73037,15 +71664,15 @@ }, "property": { "type": "Identifier", - "start": 13984, - "end": 13994, + "start": 13751, + "end": 13761, "loc": { "start": { - "line": 384, + "line": 380, "column": 35 }, "end": { - "line": 384, + "line": 380, "column": 45 }, "identifierName": "playToggle" @@ -73058,15 +71685,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 13999, - "end": 14008, + "start": 13766, + "end": 13775, "loc": { "start": { - "line": 384, + "line": 380, "column": 50 }, "end": { - "line": 384, + "line": 380, "column": 59 }, "identifierName": "undefined" @@ -73078,100 +71705,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 14024, - "end": 14069, + "start": 13791, + "end": 13836, "loc": { "start": { - "line": 385, + "line": 381, "column": 12 }, "end": { - "line": 385, + "line": 381, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 14024, - "end": 14067, + "start": 13791, + "end": 13834, "loc": { "start": { - "line": 385, + "line": 381, "column": 12 }, "end": { - "line": 385, + "line": 381, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 14024, - "end": 14057, + "start": 13791, + "end": 13824, "loc": { "start": { - "line": 385, + "line": 381, "column": 12 }, "end": { - "line": 385, + "line": 381, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 14024, - "end": 14046, + "start": 13791, + "end": 13813, "loc": { "start": { - "line": 385, + "line": 381, "column": 12 }, "end": { - "line": 385, + "line": 381, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 14024, - "end": 14035, + "start": 13791, + "end": 13802, "loc": { "start": { - "line": 385, + "line": 381, "column": 12 }, "end": { - "line": 385, + "line": 381, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14024, - "end": 14028, + "start": 13791, + "end": 13795, "loc": { "start": { - "line": 385, + "line": 381, "column": 12 }, "end": { - "line": 385, + "line": 381, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14029, - "end": 14035, + "start": 13796, + "end": 13802, "loc": { "start": { - "line": 385, + "line": 381, "column": 17 }, "end": { - "line": 385, + "line": 381, "column": 23 }, "identifierName": "player" @@ -73182,15 +71809,15 @@ }, "property": { "type": "Identifier", - "start": 14036, - "end": 14046, + "start": 13803, + "end": 13813, "loc": { "start": { - "line": 385, + "line": 381, "column": 24 }, "end": { - "line": 385, + "line": 381, "column": 34 }, "identifierName": "controlBar" @@ -73201,15 +71828,15 @@ }, "property": { "type": "Identifier", - "start": 14047, - "end": 14057, + "start": 13814, + "end": 13824, "loc": { "start": { - "line": 385, + "line": 381, "column": 35 }, "end": { - "line": 385, + "line": 381, "column": 45 }, "identifierName": "playToggle" @@ -73220,15 +71847,15 @@ }, "property": { "type": "Identifier", - "start": 14058, - "end": 14067, + "start": 13825, + "end": 13834, "loc": { "start": { - "line": 385, + "line": 381, "column": 46 }, "end": { - "line": 385, + "line": 381, "column": 55 }, "identifierName": "contentEl" @@ -73243,129 +71870,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 14071, - "end": 14143, + "start": 13838, + "end": 13910, "loc": { "start": { - "line": 385, + "line": 381, "column": 59 }, "end": { - "line": 387, + "line": 383, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14085, - "end": 14133, + "start": 13852, + "end": 13900, "loc": { "start": { - "line": 386, + "line": 382, "column": 12 }, "end": { - "line": 386, + "line": 382, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 14085, - "end": 14132, + "start": 13852, + "end": 13899, "loc": { "start": { - "line": 386, + "line": 382, "column": 12 }, "end": { - "line": 386, + "line": 382, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 14085, - "end": 14130, + "start": 13852, + "end": 13897, "loc": { "start": { - "line": 386, + "line": 382, "column": 12 }, "end": { - "line": 386, + "line": 382, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 14085, - "end": 14118, + "start": 13852, + "end": 13885, "loc": { "start": { - "line": 386, + "line": 382, "column": 12 }, "end": { - "line": 386, + "line": 382, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 14085, - "end": 14107, + "start": 13852, + "end": 13874, "loc": { "start": { - "line": 386, + "line": 382, "column": 12 }, "end": { - "line": 386, + "line": 382, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 14085, - "end": 14096, + "start": 13852, + "end": 13863, "loc": { "start": { - "line": 386, + "line": 382, "column": 12 }, "end": { - "line": 386, + "line": 382, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14085, - "end": 14089, + "start": 13852, + "end": 13856, "loc": { "start": { - "line": 386, + "line": 382, "column": 12 }, "end": { - "line": 386, + "line": 382, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14090, - "end": 14096, + "start": 13857, + "end": 13863, "loc": { "start": { - "line": 386, + "line": 382, "column": 17 }, "end": { - "line": 386, + "line": 382, "column": 23 }, "identifierName": "player" @@ -73376,15 +72003,15 @@ }, "property": { "type": "Identifier", - "start": 14097, - "end": 14107, + "start": 13864, + "end": 13874, "loc": { "start": { - "line": 386, + "line": 382, "column": 24 }, "end": { - "line": 386, + "line": 382, "column": 34 }, "identifierName": "controlBar" @@ -73395,15 +72022,15 @@ }, "property": { "type": "Identifier", - "start": 14108, - "end": 14118, + "start": 13875, + "end": 13885, "loc": { "start": { - "line": 386, + "line": 382, "column": 35 }, "end": { - "line": 386, + "line": 382, "column": 45 }, "identifierName": "playToggle" @@ -73414,15 +72041,15 @@ }, "property": { "type": "Identifier", - "start": 14119, - "end": 14130, + "start": 13886, + "end": 13897, "loc": { "start": { - "line": 386, + "line": 382, "column": 46 }, "end": { - "line": 386, + "line": 382, "column": 57 }, "identifierName": "handlePause" @@ -73442,15 +72069,15 @@ { "type": "CommentLine", "value": " show play button", - "start": 13929, - "end": 13948, + "start": 13696, + "end": 13715, "loc": { "start": { - "line": 383, + "line": 379, "column": 8 }, "end": { - "line": 383, + "line": 379, "column": 27 } } @@ -73459,58 +72086,58 @@ }, { "type": "IfStatement", - "start": 14153, - "end": 14637, + "start": 13920, + "end": 14404, "loc": { "start": { - "line": 389, + "line": 385, "column": 8 }, "end": { - "line": 405, + "line": 401, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 14157, - "end": 14170, + "start": 13924, + "end": 13937, "loc": { "start": { - "line": 389, + "line": 385, "column": 12 }, "end": { - "line": 389, + "line": 385, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 14157, - "end": 14161, + "start": 13924, + "end": 13928, "loc": { "start": { - "line": 389, + "line": 385, "column": 12 }, "end": { - "line": 389, + "line": 385, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14162, - "end": 14170, + "start": 13929, + "end": 13937, "loc": { "start": { - "line": 389, + "line": 385, "column": 17 }, "end": { - "line": 389, + "line": 385, "column": 25 }, "identifierName": "liveMode" @@ -73521,72 +72148,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 14172, - "end": 14315, + "start": 13939, + "end": 14082, "loc": { "start": { - "line": 389, + "line": 385, "column": 27 }, "end": { - "line": 393, + "line": 389, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14232, - "end": 14261, + "start": 13999, + "end": 14028, "loc": { "start": { - "line": 391, + "line": 387, "column": 12 }, "end": { - "line": 391, + "line": 387, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 14232, - "end": 14260, + "start": 13999, + "end": 14027, "loc": { "start": { - "line": 391, + "line": 387, "column": 12 }, "end": { - "line": 391, + "line": 387, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 14232, - "end": 14240, + "start": 13999, + "end": 14007, "loc": { "start": { - "line": 391, + "line": 387, "column": 12 }, "end": { - "line": 391, + "line": 387, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 14232, - "end": 14236, + "start": 13999, + "end": 14003, "loc": { "start": { - "line": 391, + "line": 387, "column": 12 }, "end": { - "line": 391, + "line": 387, "column": 16 } }, @@ -73594,15 +72221,15 @@ }, "property": { "type": "Identifier", - "start": 14237, - "end": 14240, + "start": 14004, + "end": 14007, "loc": { "start": { - "line": 391, + "line": 387, "column": 17 }, "end": { - "line": 391, + "line": 387, "column": 20 }, "identifierName": "log" @@ -73615,15 +72242,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14241, - "end": 14259, + "start": 14008, + "end": 14026, "loc": { "start": { - "line": 391, + "line": 387, "column": 21 }, "end": { - "line": 391, + "line": 387, "column": 39 } }, @@ -73640,15 +72267,15 @@ { "type": "CommentLine", "value": " pause microphone visualization", - "start": 14186, - "end": 14219, + "start": 13953, + "end": 13986, "loc": { "start": { - "line": 390, + "line": 386, "column": 12 }, "end": { - "line": 390, + "line": 386, "column": 45 } } @@ -73657,100 +72284,100 @@ }, { "type": "ExpressionStatement", - "start": 14274, - "end": 14305, + "start": 14041, + "end": 14072, "loc": { "start": { - "line": 392, + "line": 388, "column": 12 }, "end": { - "line": 392, + "line": 388, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 14274, - "end": 14304, + "start": 14041, + "end": 14071, "loc": { "start": { - "line": 392, + "line": 388, "column": 12 }, "end": { - "line": 392, + "line": 388, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 14274, - "end": 14302, + "start": 14041, + "end": 14069, "loc": { "start": { - "line": 392, + "line": 388, "column": 12 }, "end": { - "line": 392, + "line": 388, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 14274, - "end": 14296, + "start": 14041, + "end": 14063, "loc": { "start": { - "line": 392, + "line": 388, "column": 12 }, "end": { - "line": 392, + "line": 388, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 14274, - "end": 14285, + "start": 14041, + "end": 14052, "loc": { "start": { - "line": 392, + "line": 388, "column": 12 }, "end": { - "line": 392, + "line": 388, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14274, - "end": 14278, + "start": 14041, + "end": 14045, "loc": { "start": { - "line": 392, + "line": 388, "column": 12 }, "end": { - "line": 392, + "line": 388, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14279, - "end": 14285, + "start": 14046, + "end": 14052, "loc": { "start": { - "line": 392, + "line": 388, "column": 17 }, "end": { - "line": 392, + "line": 388, "column": 23 }, "identifierName": "surfer" @@ -73761,15 +72388,15 @@ }, "property": { "type": "Identifier", - "start": 14286, - "end": 14296, + "start": 14053, + "end": 14063, "loc": { "start": { - "line": 392, + "line": 388, "column": 24 }, "end": { - "line": 392, + "line": 388, "column": 34 }, "identifierName": "microphone" @@ -73780,15 +72407,15 @@ }, "property": { "type": "Identifier", - "start": 14297, - "end": 14302, + "start": 14064, + "end": 14069, "loc": { "start": { - "line": 392, + "line": 388, "column": 35 }, "end": { - "line": 392, + "line": 388, "column": 40 }, "identifierName": "pause" @@ -73805,72 +72432,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 14321, - "end": 14637, + "start": 14088, + "end": 14404, "loc": { "start": { - "line": 393, + "line": 389, "column": 15 }, "end": { - "line": 405, + "line": 401, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14365, - "end": 14392, + "start": 14132, + "end": 14159, "loc": { "start": { - "line": 395, + "line": 391, "column": 12 }, "end": { - "line": 395, + "line": 391, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 14365, - "end": 14391, + "start": 14132, + "end": 14158, "loc": { "start": { - "line": 395, + "line": 391, "column": 12 }, "end": { - "line": 395, + "line": 391, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 14365, - "end": 14373, + "start": 14132, + "end": 14140, "loc": { "start": { - "line": 395, + "line": 391, "column": 12 }, "end": { - "line": 395, + "line": 391, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 14365, - "end": 14369, + "start": 14132, + "end": 14136, "loc": { "start": { - "line": 395, + "line": 391, "column": 12 }, "end": { - "line": 395, + "line": 391, "column": 16 } }, @@ -73878,15 +72505,15 @@ }, "property": { "type": "Identifier", - "start": 14370, - "end": 14373, + "start": 14137, + "end": 14140, "loc": { "start": { - "line": 395, + "line": 391, "column": 17 }, "end": { - "line": 395, + "line": 391, "column": 20 }, "identifierName": "log" @@ -73899,15 +72526,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14374, - "end": 14390, + "start": 14141, + "end": 14157, "loc": { "start": { - "line": 395, + "line": 391, "column": 21 }, "end": { - "line": 395, + "line": 391, "column": 37 } }, @@ -73924,15 +72551,15 @@ { "type": "CommentLine", "value": " pause playback", - "start": 14335, - "end": 14352, + "start": 14102, + "end": 14119, "loc": { "start": { - "line": 394, + "line": 390, "column": 12 }, "end": { - "line": 394, + "line": 390, "column": 29 } } @@ -73941,29 +72568,29 @@ }, { "type": "IfStatement", - "start": 14406, - "end": 14591, + "start": 14173, + "end": 14358, "loc": { "start": { - "line": 397, + "line": 393, "column": 12 }, "end": { - "line": 402, + "line": 398, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 14410, - "end": 14428, + "start": 14177, + "end": 14195, "loc": { "start": { - "line": 397, + "line": 393, "column": 16 }, "end": { - "line": 397, + "line": 393, "column": 34 } }, @@ -73971,44 +72598,44 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 14411, - "end": 14428, + "start": 14178, + "end": 14195, "loc": { "start": { - "line": 397, + "line": 393, "column": 17 }, "end": { - "line": 397, + "line": 393, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 14411, - "end": 14415, + "start": 14178, + "end": 14182, "loc": { "start": { - "line": 397, + "line": 393, "column": 17 }, "end": { - "line": 397, + "line": 393, "column": 21 } } }, "property": { "type": "Identifier", - "start": 14416, - "end": 14428, + "start": 14183, + "end": 14195, "loc": { "start": { - "line": 397, + "line": 393, "column": 22 }, "end": { - "line": 397, + "line": 393, "column": 34 }, "identifierName": "waveFinished" @@ -74023,86 +72650,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 14430, - "end": 14527, + "start": 14197, + "end": 14294, "loc": { "start": { - "line": 397, + "line": 393, "column": 36 }, "end": { - "line": 400, + "line": 396, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14493, - "end": 14513, + "start": 14260, + "end": 14280, "loc": { "start": { - "line": 399, + "line": 395, "column": 16 }, "end": { - "line": 399, + "line": 395, "column": 36 } }, "expression": { "type": "CallExpression", - "start": 14493, - "end": 14512, + "start": 14260, + "end": 14279, "loc": { "start": { - "line": 399, + "line": 395, "column": 16 }, "end": { - "line": 399, + "line": 395, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 14493, - "end": 14510, + "start": 14260, + "end": 14277, "loc": { "start": { - "line": 399, + "line": 395, "column": 16 }, "end": { - "line": 399, + "line": 395, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 14493, - "end": 14504, + "start": 14260, + "end": 14271, "loc": { "start": { - "line": 399, + "line": 395, "column": 16 }, "end": { - "line": 399, + "line": 395, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 14493, - "end": 14497, + "start": 14260, + "end": 14264, "loc": { "start": { - "line": 399, + "line": 395, "column": 16 }, "end": { - "line": 399, + "line": 395, "column": 20 } }, @@ -74110,15 +72737,15 @@ }, "property": { "type": "Identifier", - "start": 14498, - "end": 14504, + "start": 14265, + "end": 14271, "loc": { "start": { - "line": 399, + "line": 395, "column": 21 }, "end": { - "line": 399, + "line": 395, "column": 27 }, "identifierName": "surfer" @@ -74130,15 +72757,15 @@ }, "property": { "type": "Identifier", - "start": 14505, - "end": 14510, + "start": 14272, + "end": 14277, "loc": { "start": { - "line": 399, + "line": 395, "column": 28 }, "end": { - "line": 399, + "line": 395, "column": 33 }, "identifierName": "pause" @@ -74155,15 +72782,15 @@ { "type": "CommentLine", "value": " pause wavesurfer playback", - "start": 14448, - "end": 14476, + "start": 14215, + "end": 14243, "loc": { "start": { - "line": 398, + "line": 394, "column": 16 }, "end": { - "line": 398, + "line": 394, "column": 44 } } @@ -74175,88 +72802,88 @@ }, "alternate": { "type": "BlockStatement", - "start": 14533, - "end": 14591, + "start": 14300, + "end": 14358, "loc": { "start": { - "line": 400, + "line": 396, "column": 19 }, "end": { - "line": 402, + "line": 398, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14551, - "end": 14577, + "start": 14318, + "end": 14344, "loc": { "start": { - "line": 401, + "line": 397, "column": 16 }, "end": { - "line": 401, + "line": 397, "column": 42 } }, "expression": { "type": "AssignmentExpression", - "start": 14551, - "end": 14576, + "start": 14318, + "end": 14343, "loc": { "start": { - "line": 401, + "line": 397, "column": 16 }, "end": { - "line": 401, + "line": 397, "column": 41 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 14551, - "end": 14568, + "start": 14318, + "end": 14335, "loc": { "start": { - "line": 401, + "line": 397, "column": 16 }, "end": { - "line": 401, + "line": 397, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 14551, - "end": 14555, + "start": 14318, + "end": 14322, "loc": { "start": { - "line": 401, + "line": 397, "column": 16 }, "end": { - "line": 401, + "line": 397, "column": 20 } } }, "property": { "type": "Identifier", - "start": 14556, - "end": 14568, + "start": 14323, + "end": 14335, "loc": { "start": { - "line": 401, + "line": 397, "column": 21 }, "end": { - "line": 401, + "line": 397, "column": 33 }, "identifierName": "waveFinished" @@ -74267,15 +72894,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 14571, - "end": 14576, + "start": 14338, + "end": 14343, "loc": { "start": { - "line": 401, + "line": 397, "column": 36 }, "end": { - "line": 401, + "line": 397, "column": 41 } }, @@ -74289,72 +72916,72 @@ }, { "type": "ExpressionStatement", - "start": 14605, - "end": 14627, + "start": 14372, + "end": 14394, "loc": { "start": { - "line": 404, + "line": 400, "column": 12 }, "end": { - "line": 404, + "line": 400, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 14605, - "end": 14626, + "start": 14372, + "end": 14393, "loc": { "start": { - "line": 404, + "line": 400, "column": 12 }, "end": { - "line": 404, + "line": 400, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 14605, - "end": 14624, + "start": 14372, + "end": 14391, "loc": { "start": { - "line": 404, + "line": 400, "column": 12 }, "end": { - "line": 404, + "line": 400, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 14605, - "end": 14609, + "start": 14372, + "end": 14376, "loc": { "start": { - "line": 404, + "line": 400, "column": 12 }, "end": { - "line": 404, + "line": 400, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14610, - "end": 14624, + "start": 14377, + "end": 14391, "loc": { "start": { - "line": 404, + "line": 400, "column": 17 }, "end": { - "line": 404, + "line": 400, "column": 31 }, "identifierName": "setCurrentTime" @@ -74378,15 +73005,15 @@ { "type": "CommentBlock", "value": "*\n * Pauses playback or microphone visualization.\n ", - "start": 13843, - "end": 13906, + "start": 13610, + "end": 13673, "loc": { "start": { - "line": 379, + "line": 375, "column": 4 }, "end": { - "line": 381, + "line": 377, "column": 7 } } @@ -74396,15 +73023,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n ", - "start": 14649, - "end": 14676, + "start": 14416, + "end": 14443, "loc": { "start": { - "line": 408, + "line": 404, "column": 4 }, "end": { - "line": 410, + "line": 406, "column": 7 } } @@ -74413,15 +73040,15 @@ }, { "type": "ClassMethod", - "start": 14681, - "end": 15076, + "start": 14448, + "end": 14843, "loc": { "start": { - "line": 411, + "line": 407, "column": 4 }, "end": { - "line": 422, + "line": 418, "column": 5 } }, @@ -74429,15 +73056,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14681, - "end": 14688, + "start": 14448, + "end": 14455, "loc": { "start": { - "line": 411, + "line": 407, "column": 4 }, "end": { - "line": 411, + "line": 407, "column": 11 }, "identifierName": "dispose" @@ -74453,73 +73080,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 14691, - "end": 15076, + "start": 14458, + "end": 14843, "loc": { "start": { - "line": 411, + "line": 407, "column": 14 }, "end": { - "line": 422, + "line": 418, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 14701, - "end": 15032, + "start": 14468, + "end": 14799, "loc": { "start": { - "line": 412, + "line": 408, "column": 8 }, "end": { - "line": 420, + "line": 416, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 14705, - "end": 14716, + "start": 14472, + "end": 14483, "loc": { "start": { - "line": 412, + "line": 408, "column": 12 }, "end": { - "line": 412, + "line": 408, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 14705, - "end": 14709, + "start": 14472, + "end": 14476, "loc": { "start": { - "line": 412, + "line": 408, "column": 12 }, "end": { - "line": 412, + "line": 408, "column": 16 } } }, "property": { "type": "Identifier", - "start": 14710, - "end": 14716, + "start": 14477, + "end": 14483, "loc": { "start": { - "line": 412, + "line": 408, "column": 17 }, "end": { - "line": 412, + "line": 408, "column": 23 }, "identifierName": "surfer" @@ -74530,87 +73157,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 14718, - "end": 15032, + "start": 14485, + "end": 14799, "loc": { "start": { - "line": 412, + "line": 408, "column": 25 }, "end": { - "line": 420, + "line": 416, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 14732, - "end": 14944, + "start": 14499, + "end": 14711, "loc": { "start": { - "line": 413, + "line": 409, "column": 12 }, "end": { - "line": 417, + "line": 413, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 14736, - "end": 14775, + "start": 14503, + "end": 14542, "loc": { "start": { - "line": 413, + "line": 409, "column": 16 }, "end": { - "line": 413, + "line": 409, "column": 55 } }, "left": { "type": "MemberExpression", - "start": 14736, - "end": 14749, + "start": 14503, + "end": 14516, "loc": { "start": { - "line": 413, + "line": 409, "column": 16 }, "end": { - "line": 413, + "line": 409, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 14736, - "end": 14740, + "start": 14503, + "end": 14507, "loc": { "start": { - "line": 413, + "line": 409, "column": 16 }, "end": { - "line": 413, + "line": 409, "column": 20 } } }, "property": { "type": "Identifier", - "start": 14741, - "end": 14749, + "start": 14508, + "end": 14516, "loc": { "start": { - "line": 413, + "line": 409, "column": 21 }, "end": { - "line": 413, + "line": 409, "column": 29 }, "identifierName": "liveMode" @@ -74622,58 +73249,58 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 14753, - "end": 14775, + "start": 14520, + "end": 14542, "loc": { "start": { - "line": 413, + "line": 409, "column": 33 }, "end": { - "line": 413, + "line": 409, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 14753, - "end": 14764, + "start": 14520, + "end": 14531, "loc": { "start": { - "line": 413, + "line": 409, "column": 33 }, "end": { - "line": 413, + "line": 409, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 14753, - "end": 14757, + "start": 14520, + "end": 14524, "loc": { "start": { - "line": 413, + "line": 409, "column": 33 }, "end": { - "line": 413, + "line": 409, "column": 37 } } }, "property": { "type": "Identifier", - "start": 14758, - "end": 14764, + "start": 14525, + "end": 14531, "loc": { "start": { - "line": 413, + "line": 409, "column": 38 }, "end": { - "line": 413, + "line": 409, "column": 44 }, "identifierName": "surfer" @@ -74684,15 +73311,15 @@ }, "property": { "type": "Identifier", - "start": 14765, - "end": 14775, + "start": 14532, + "end": 14542, "loc": { "start": { - "line": 413, + "line": 409, "column": 45 }, "end": { - "line": 413, + "line": 409, "column": 55 }, "identifierName": "microphone" @@ -74704,100 +73331,100 @@ }, "consequent": { "type": "BlockStatement", - "start": 14777, - "end": 14944, + "start": 14544, + "end": 14711, "loc": { "start": { - "line": 413, + "line": 409, "column": 57 }, "end": { - "line": 417, + "line": 413, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14840, - "end": 14873, + "start": 14607, + "end": 14640, "loc": { "start": { - "line": 415, + "line": 411, "column": 16 }, "end": { - "line": 415, + "line": 411, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 14840, - "end": 14872, + "start": 14607, + "end": 14639, "loc": { "start": { - "line": 415, + "line": 411, "column": 16 }, "end": { - "line": 415, + "line": 411, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 14840, - "end": 14870, + "start": 14607, + "end": 14637, "loc": { "start": { - "line": 415, + "line": 411, "column": 16 }, "end": { - "line": 415, + "line": 411, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 14840, - "end": 14862, + "start": 14607, + "end": 14629, "loc": { "start": { - "line": 415, + "line": 411, "column": 16 }, "end": { - "line": 415, + "line": 411, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 14840, - "end": 14851, + "start": 14607, + "end": 14618, "loc": { "start": { - "line": 415, + "line": 411, "column": 16 }, "end": { - "line": 415, + "line": 411, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 14840, - "end": 14844, + "start": 14607, + "end": 14611, "loc": { "start": { - "line": 415, + "line": 411, "column": 16 }, "end": { - "line": 415, + "line": 411, "column": 20 } }, @@ -74805,15 +73432,15 @@ }, "property": { "type": "Identifier", - "start": 14845, - "end": 14851, + "start": 14612, + "end": 14618, "loc": { "start": { - "line": 415, + "line": 411, "column": 21 }, "end": { - "line": 415, + "line": 411, "column": 27 }, "identifierName": "surfer" @@ -74825,15 +73452,15 @@ }, "property": { "type": "Identifier", - "start": 14852, - "end": 14862, + "start": 14619, + "end": 14629, "loc": { "start": { - "line": 415, + "line": 411, "column": 28 }, "end": { - "line": 415, + "line": 411, "column": 38 }, "identifierName": "microphone" @@ -74845,15 +73472,15 @@ }, "property": { "type": "Identifier", - "start": 14863, - "end": 14870, + "start": 14630, + "end": 14637, "loc": { "start": { - "line": 415, + "line": 411, "column": 39 }, "end": { - "line": 415, + "line": 411, "column": 46 }, "identifierName": "destroy" @@ -74870,15 +73497,15 @@ { "type": "CommentLine", "value": " destroy microphone plugin", - "start": 14795, - "end": 14823, + "start": 14562, + "end": 14590, "loc": { "start": { - "line": 414, + "line": 410, "column": 16 }, "end": { - "line": 414, + "line": 410, "column": 44 } } @@ -74887,72 +73514,72 @@ }, { "type": "ExpressionStatement", - "start": 14890, - "end": 14930, + "start": 14657, + "end": 14697, "loc": { "start": { - "line": 416, + "line": 412, "column": 16 }, "end": { - "line": 416, + "line": 412, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 14890, - "end": 14929, + "start": 14657, + "end": 14696, "loc": { "start": { - "line": 416, + "line": 412, "column": 16 }, "end": { - "line": 416, + "line": 412, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 14890, - "end": 14898, + "start": 14657, + "end": 14665, "loc": { "start": { - "line": 416, + "line": 412, "column": 16 }, "end": { - "line": 416, + "line": 412, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 14890, - "end": 14894, + "start": 14657, + "end": 14661, "loc": { "start": { - "line": 416, + "line": 412, "column": 16 }, "end": { - "line": 416, + "line": 412, "column": 20 } } }, "property": { "type": "Identifier", - "start": 14895, - "end": 14898, + "start": 14662, + "end": 14665, "loc": { "start": { - "line": 416, + "line": 412, "column": 21 }, "end": { - "line": 416, + "line": 412, "column": 24 }, "identifierName": "log" @@ -74964,15 +73591,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14899, - "end": 14928, + "start": 14666, + "end": 14695, "loc": { "start": { - "line": 416, + "line": 412, "column": 25 }, "end": { - "line": 416, + "line": 412, "column": 54 } }, @@ -74994,15 +73621,15 @@ { "type": "CommentLine", "value": " destroy wavesurfer instance", - "start": 14957, - "end": 14987, + "start": 14724, + "end": 14754, "loc": { "start": { - "line": 418, + "line": 414, "column": 12 }, "end": { - "line": 418, + "line": 414, "column": 42 } } @@ -75011,71 +73638,71 @@ }, { "type": "ExpressionStatement", - "start": 15000, - "end": 15022, + "start": 14767, + "end": 14789, "loc": { "start": { - "line": 419, + "line": 415, "column": 12 }, "end": { - "line": 419, + "line": 415, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 15000, - "end": 15021, + "start": 14767, + "end": 14788, "loc": { "start": { - "line": 419, + "line": 415, "column": 12 }, "end": { - "line": 419, + "line": 415, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 15000, - "end": 15019, + "start": 14767, + "end": 14786, "loc": { "start": { - "line": 419, + "line": 415, "column": 12 }, "end": { - "line": 419, + "line": 415, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 15000, - "end": 15011, + "start": 14767, + "end": 14778, "loc": { "start": { - "line": 419, + "line": 415, "column": 12 }, "end": { - "line": 419, + "line": 415, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 15000, - "end": 15004, + "start": 14767, + "end": 14771, "loc": { "start": { - "line": 419, + "line": 415, "column": 12 }, "end": { - "line": 419, + "line": 415, "column": 16 } }, @@ -75083,15 +73710,15 @@ }, "property": { "type": "Identifier", - "start": 15005, - "end": 15011, + "start": 14772, + "end": 14778, "loc": { "start": { - "line": 419, + "line": 415, "column": 17 }, "end": { - "line": 419, + "line": 415, "column": 23 }, "identifierName": "surfer" @@ -75103,15 +73730,15 @@ }, "property": { "type": "Identifier", - "start": 15012, - "end": 15019, + "start": 14779, + "end": 14786, "loc": { "start": { - "line": 419, + "line": 415, "column": 24 }, "end": { - "line": 419, + "line": 415, "column": 31 }, "identifierName": "destroy" @@ -75128,15 +73755,15 @@ { "type": "CommentLine", "value": " destroy wavesurfer instance", - "start": 14957, - "end": 14987, + "start": 14724, + "end": 14754, "loc": { "start": { - "line": 418, + "line": 414, "column": 12 }, "end": { - "line": 418, + "line": 414, "column": 42 } } @@ -75150,72 +73777,72 @@ }, { "type": "ExpressionStatement", - "start": 15041, - "end": 15070, + "start": 14808, + "end": 14837, "loc": { "start": { - "line": 421, + "line": 417, "column": 8 }, "end": { - "line": 421, + "line": 417, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 15041, - "end": 15069, + "start": 14808, + "end": 14836, "loc": { "start": { - "line": 421, + "line": 417, "column": 8 }, "end": { - "line": 421, + "line": 417, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 15041, - "end": 15049, + "start": 14808, + "end": 14816, "loc": { "start": { - "line": 421, + "line": 417, "column": 8 }, "end": { - "line": 421, + "line": 417, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 15041, - "end": 15045, + "start": 14808, + "end": 14812, "loc": { "start": { - "line": 421, + "line": 417, "column": 8 }, "end": { - "line": 421, + "line": 417, "column": 12 } } }, "property": { "type": "Identifier", - "start": 15046, - "end": 15049, + "start": 14813, + "end": 14816, "loc": { "start": { - "line": 421, + "line": 417, "column": 13 }, "end": { - "line": 421, + "line": 417, "column": 16 }, "identifierName": "log" @@ -75227,15 +73854,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15050, - "end": 15068, + "start": 14817, + "end": 14835, "loc": { "start": { - "line": 421, + "line": 417, "column": 17 }, "end": { - "line": 421, + "line": 417, "column": 35 } }, @@ -75256,15 +73883,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n ", - "start": 14649, - "end": 14676, + "start": 14416, + "end": 14443, "loc": { "start": { - "line": 408, + "line": 404, "column": 4 }, "end": { - "line": 410, + "line": 406, "column": 7 } } @@ -75274,15 +73901,15 @@ { "type": "CommentBlock", "value": "*\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n ", - "start": 15082, - "end": 15207, + "start": 14849, + "end": 14974, "loc": { "start": { - "line": 424, + "line": 420, "column": 4 }, "end": { - "line": 428, + "line": 424, "column": 7 } } @@ -75291,15 +73918,15 @@ }, { "type": "ClassMethod", - "start": 15212, - "end": 15298, + "start": 14979, + "end": 15065, "loc": { "start": { - "line": 429, + "line": 425, "column": 4 }, "end": { - "line": 431, + "line": 427, "column": 5 } }, @@ -75307,15 +73934,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15212, - "end": 15223, + "start": 14979, + "end": 14990, "loc": { "start": { - "line": 429, + "line": 425, "column": 4 }, "end": { - "line": 429, + "line": 425, "column": 15 }, "identifierName": "isDestroyed" @@ -75331,87 +73958,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15226, - "end": 15298, + "start": 14993, + "end": 15065, "loc": { "start": { - "line": 429, + "line": 425, "column": 18 }, "end": { - "line": 431, + "line": 427, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 15236, - "end": 15292, + "start": 15003, + "end": 15059, "loc": { "start": { - "line": 430, + "line": 426, "column": 8 }, "end": { - "line": 430, + "line": 426, "column": 64 } }, "argument": { "type": "LogicalExpression", - "start": 15243, - "end": 15291, + "start": 15010, + "end": 15058, "loc": { "start": { - "line": 430, + "line": 426, "column": 15 }, "end": { - "line": 430, + "line": 426, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 15243, - "end": 15254, + "start": 15010, + "end": 15021, "loc": { "start": { - "line": 430, + "line": 426, "column": 15 }, "end": { - "line": 430, + "line": 426, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 15243, - "end": 15247, + "start": 15010, + "end": 15014, "loc": { "start": { - "line": 430, + "line": 426, "column": 15 }, "end": { - "line": 430, + "line": 426, "column": 19 } } }, "property": { "type": "Identifier", - "start": 15248, - "end": 15254, + "start": 15015, + "end": 15021, "loc": { "start": { - "line": 430, + "line": 426, "column": 20 }, "end": { - "line": 430, + "line": 426, "column": 26 }, "identifierName": "player" @@ -75423,86 +74050,86 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 15259, - "end": 15290, + "start": 15026, + "end": 15057, "loc": { "start": { - "line": 430, + "line": 426, "column": 31 }, "end": { - "line": 430, + "line": 426, "column": 62 } }, "left": { "type": "CallExpression", - "start": 15259, - "end": 15281, + "start": 15026, + "end": 15048, "loc": { "start": { - "line": 430, + "line": 426, "column": 31 }, "end": { - "line": 430, + "line": 426, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 15259, - "end": 15279, + "start": 15026, + "end": 15046, "loc": { "start": { - "line": 430, + "line": 426, "column": 31 }, "end": { - "line": 430, + "line": 426, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 15259, - "end": 15270, + "start": 15026, + "end": 15037, "loc": { "start": { - "line": 430, + "line": 426, "column": 31 }, "end": { - "line": 430, + "line": 426, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 15259, - "end": 15263, + "start": 15026, + "end": 15030, "loc": { "start": { - "line": 430, + "line": 426, "column": 31 }, "end": { - "line": 430, + "line": 426, "column": 35 } } }, "property": { "type": "Identifier", - "start": 15264, - "end": 15270, + "start": 15031, + "end": 15037, "loc": { "start": { - "line": 430, + "line": 426, "column": 36 }, "end": { - "line": 430, + "line": 426, "column": 42 }, "identifierName": "player" @@ -75513,15 +74140,15 @@ }, "property": { "type": "Identifier", - "start": 15271, - "end": 15279, + "start": 15038, + "end": 15046, "loc": { "start": { - "line": 430, + "line": 426, "column": 43 }, "end": { - "line": 430, + "line": 426, "column": 51 }, "identifierName": "children" @@ -75535,22 +74162,22 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 15286, - "end": 15290, + "start": 15053, + "end": 15057, "loc": { "start": { - "line": 430, + "line": 426, "column": 58 }, "end": { - "line": 430, + "line": 426, "column": 62 } } }, "extra": { "parenthesized": true, - "parenStart": 15258 + "parenStart": 15025 } } } @@ -75563,15 +74190,15 @@ { "type": "CommentBlock", "value": "*\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n ", - "start": 15082, - "end": 15207, + "start": 14849, + "end": 14974, "loc": { "start": { - "line": 424, + "line": 420, "column": 4 }, "end": { - "line": 428, + "line": 424, "column": 7 } } @@ -75581,15 +74208,15 @@ { "type": "CommentBlock", "value": "*\n * Remove the player and waveform.\n ", - "start": 15304, - "end": 15354, + "start": 15071, + "end": 15121, "loc": { "start": { - "line": 433, + "line": 429, "column": 4 }, "end": { - "line": 435, + "line": 431, "column": 7 } } @@ -75598,15 +74225,15 @@ }, { "type": "ClassMethod", - "start": 15359, - "end": 15407, + "start": 15126, + "end": 15174, "loc": { "start": { - "line": 436, + "line": 432, "column": 4 }, "end": { - "line": 438, + "line": 434, "column": 5 } }, @@ -75614,15 +74241,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15359, - "end": 15366, + "start": 15126, + "end": 15133, "loc": { "start": { - "line": 436, + "line": 432, "column": 4 }, "end": { - "line": 436, + "line": 432, "column": 11 }, "identifierName": "destroy" @@ -75638,101 +74265,101 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15369, - "end": 15407, + "start": 15136, + "end": 15174, "loc": { "start": { - "line": 436, + "line": 432, "column": 14 }, "end": { - "line": 438, + "line": 434, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 15379, - "end": 15401, + "start": 15146, + "end": 15168, "loc": { "start": { - "line": 437, + "line": 433, "column": 8 }, "end": { - "line": 437, + "line": 433, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 15379, - "end": 15400, + "start": 15146, + "end": 15167, "loc": { "start": { - "line": 437, + "line": 433, "column": 8 }, "end": { - "line": 437, + "line": 433, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 15379, - "end": 15398, + "start": 15146, + "end": 15165, "loc": { "start": { - "line": 437, + "line": 433, "column": 8 }, "end": { - "line": 437, + "line": 433, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 15379, - "end": 15390, + "start": 15146, + "end": 15157, "loc": { "start": { - "line": 437, + "line": 433, "column": 8 }, "end": { - "line": 437, + "line": 433, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 15379, - "end": 15383, + "start": 15146, + "end": 15150, "loc": { "start": { - "line": 437, + "line": 433, "column": 8 }, "end": { - "line": 437, + "line": 433, "column": 12 } } }, "property": { "type": "Identifier", - "start": 15384, - "end": 15390, + "start": 15151, + "end": 15157, "loc": { "start": { - "line": 437, + "line": 433, "column": 13 }, "end": { - "line": 437, + "line": 433, "column": 19 }, "identifierName": "player" @@ -75743,15 +74370,15 @@ }, "property": { "type": "Identifier", - "start": 15391, - "end": 15398, + "start": 15158, + "end": 15165, "loc": { "start": { - "line": 437, + "line": 433, "column": 20 }, "end": { - "line": 437, + "line": 433, "column": 27 }, "identifierName": "dispose" @@ -75771,15 +74398,15 @@ { "type": "CommentBlock", "value": "*\n * Remove the player and waveform.\n ", - "start": 15304, - "end": 15354, + "start": 15071, + "end": 15121, "loc": { "start": { - "line": 433, + "line": 429, "column": 4 }, "end": { - "line": 435, + "line": 431, "column": 7 } } @@ -75789,15 +74416,15 @@ { "type": "CommentBlock", "value": "*\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n ", - "start": 15413, - "end": 15514, + "start": 15180, + "end": 15281, "loc": { "start": { - "line": 440, + "line": 436, "column": 4 }, "end": { - "line": 444, + "line": 440, "column": 7 } } @@ -75806,15 +74433,15 @@ }, { "type": "ClassMethod", - "start": 15519, - "end": 15722, + "start": 15286, + "end": 15489, "loc": { "start": { - "line": 445, + "line": 441, "column": 4 }, "end": { - "line": 452, + "line": 448, "column": 5 } }, @@ -75822,15 +74449,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15519, - "end": 15528, + "start": 15286, + "end": 15295, "loc": { "start": { - "line": 445, + "line": 441, "column": 4 }, "end": { - "line": 445, + "line": 441, "column": 13 }, "identifierName": "setVolume" @@ -75846,15 +74473,15 @@ "params": [ { "type": "Identifier", - "start": 15529, - "end": 15535, + "start": 15296, + "end": 15302, "loc": { "start": { - "line": 445, + "line": 441, "column": 14 }, "end": { - "line": 445, + "line": 441, "column": 20 }, "identifierName": "volume" @@ -75864,58 +74491,58 @@ ], "body": { "type": "BlockStatement", - "start": 15537, - "end": 15722, + "start": 15304, + "end": 15489, "loc": { "start": { - "line": 445, + "line": 441, "column": 22 }, "end": { - "line": 452, + "line": 448, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 15547, - "end": 15716, + "start": 15314, + "end": 15483, "loc": { "start": { - "line": 446, + "line": 442, "column": 8 }, "end": { - "line": 451, + "line": 447, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 15551, - "end": 15571, + "start": 15318, + "end": 15338, "loc": { "start": { - "line": 446, + "line": 442, "column": 12 }, "end": { - "line": 446, + "line": 442, "column": 32 } }, "left": { "type": "Identifier", - "start": 15551, - "end": 15557, + "start": 15318, + "end": 15324, "loc": { "start": { - "line": 446, + "line": 442, "column": 12 }, "end": { - "line": 446, + "line": 442, "column": 18 }, "identifierName": "volume" @@ -75925,15 +74552,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 15562, - "end": 15571, + "start": 15329, + "end": 15338, "loc": { "start": { - "line": 446, + "line": 442, "column": 23 }, "end": { - "line": 446, + "line": 442, "column": 32 }, "identifierName": "undefined" @@ -75943,87 +74570,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 15573, - "end": 15716, + "start": 15340, + "end": 15483, "loc": { "start": { - "line": 446, + "line": 442, "column": 34 }, "end": { - "line": 451, + "line": 447, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 15587, - "end": 15629, + "start": 15354, + "end": 15396, "loc": { "start": { - "line": 447, + "line": 443, "column": 12 }, "end": { - "line": 447, + "line": 443, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 15587, - "end": 15628, + "start": 15354, + "end": 15395, "loc": { "start": { - "line": 447, + "line": 443, "column": 12 }, "end": { - "line": 447, + "line": 443, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 15587, - "end": 15595, + "start": 15354, + "end": 15362, "loc": { "start": { - "line": 447, + "line": 443, "column": 12 }, "end": { - "line": 447, + "line": 443, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 15587, - "end": 15591, + "start": 15354, + "end": 15358, "loc": { "start": { - "line": 447, + "line": 443, "column": 12 }, "end": { - "line": 447, + "line": 443, "column": 16 } } }, "property": { "type": "Identifier", - "start": 15592, - "end": 15595, + "start": 15359, + "end": 15362, "loc": { "start": { - "line": 447, + "line": 443, "column": 17 }, "end": { - "line": 447, + "line": 443, "column": 20 }, "identifierName": "log" @@ -76035,29 +74662,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 15596, - "end": 15627, + "start": 15363, + "end": 15394, "loc": { "start": { - "line": 447, + "line": 443, "column": 21 }, "end": { - "line": 447, + "line": 443, "column": 52 } }, "left": { "type": "StringLiteral", - "start": 15596, - "end": 15618, + "start": 15363, + "end": 15385, "loc": { "start": { - "line": 447, + "line": 443, "column": 21 }, "end": { - "line": 447, + "line": 443, "column": 43 } }, @@ -76070,15 +74697,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 15621, - "end": 15627, + "start": 15388, + "end": 15394, "loc": { "start": { - "line": 447, + "line": 443, "column": 46 }, "end": { - "line": 447, + "line": 443, "column": 52 }, "identifierName": "volume" @@ -76092,15 +74719,15 @@ { "type": "CommentLine", "value": " update player volume", - "start": 15643, - "end": 15666, + "start": 15410, + "end": 15433, "loc": { "start": { - "line": 449, + "line": 445, "column": 12 }, "end": { - "line": 449, + "line": 445, "column": 35 } } @@ -76109,71 +74736,71 @@ }, { "type": "ExpressionStatement", - "start": 15679, - "end": 15706, + "start": 15446, + "end": 15473, "loc": { "start": { - "line": 450, + "line": 446, "column": 12 }, "end": { - "line": 450, + "line": 446, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 15679, - "end": 15705, + "start": 15446, + "end": 15472, "loc": { "start": { - "line": 450, + "line": 446, "column": 12 }, "end": { - "line": 450, + "line": 446, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 15679, - "end": 15697, + "start": 15446, + "end": 15464, "loc": { "start": { - "line": 450, + "line": 446, "column": 12 }, "end": { - "line": 450, + "line": 446, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 15679, - "end": 15690, + "start": 15446, + "end": 15457, "loc": { "start": { - "line": 450, + "line": 446, "column": 12 }, "end": { - "line": 450, + "line": 446, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 15679, - "end": 15683, + "start": 15446, + "end": 15450, "loc": { "start": { - "line": 450, + "line": 446, "column": 12 }, "end": { - "line": 450, + "line": 446, "column": 16 } }, @@ -76181,15 +74808,15 @@ }, "property": { "type": "Identifier", - "start": 15684, - "end": 15690, + "start": 15451, + "end": 15457, "loc": { "start": { - "line": 450, + "line": 446, "column": 17 }, "end": { - "line": 450, + "line": 446, "column": 23 }, "identifierName": "player" @@ -76201,15 +74828,15 @@ }, "property": { "type": "Identifier", - "start": 15691, - "end": 15697, + "start": 15458, + "end": 15464, "loc": { "start": { - "line": 450, + "line": 446, "column": 24 }, "end": { - "line": 450, + "line": 446, "column": 30 }, "identifierName": "volume" @@ -76222,15 +74849,15 @@ "arguments": [ { "type": "Identifier", - "start": 15698, - "end": 15704, + "start": 15465, + "end": 15471, "loc": { "start": { - "line": 450, + "line": 446, "column": 31 }, "end": { - "line": 450, + "line": 446, "column": 37 }, "identifierName": "volume" @@ -76244,15 +74871,15 @@ { "type": "CommentLine", "value": " update player volume", - "start": 15643, - "end": 15666, + "start": 15410, + "end": 15433, "loc": { "start": { - "line": 449, + "line": 445, "column": 12 }, "end": { - "line": 449, + "line": 445, "column": 35 } } @@ -76272,15 +74899,15 @@ { "type": "CommentBlock", "value": "*\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n ", - "start": 15413, - "end": 15514, + "start": 15180, + "end": 15281, "loc": { "start": { - "line": 440, + "line": 436, "column": 4 }, "end": { - "line": 444, + "line": 440, "column": 7 } } @@ -76290,15 +74917,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": 15728, - "end": 16607, + "start": 15495, + "end": 16374, "loc": { "start": { - "line": 454, + "line": 450, "column": 4 }, "end": { - "line": 471, + "line": 467, "column": 7 } } @@ -76307,15 +74934,15 @@ }, { "type": "ClassMethod", - "start": 16612, - "end": 16726, + "start": 16379, + "end": 16493, "loc": { "start": { - "line": 472, + "line": 468, "column": 4 }, "end": { - "line": 474, + "line": 470, "column": 5 } }, @@ -76323,15 +74950,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16612, - "end": 16623, + "start": 16379, + "end": 16390, "loc": { "start": { - "line": 472, + "line": 468, "column": 4 }, "end": { - "line": 472, + "line": 468, "column": 15 }, "identifierName": "exportImage" @@ -76347,15 +74974,15 @@ "params": [ { "type": "Identifier", - "start": 16624, - "end": 16630, + "start": 16391, + "end": 16397, "loc": { "start": { - "line": 472, + "line": 468, "column": 16 }, "end": { - "line": 472, + "line": 468, "column": 22 }, "identifierName": "format" @@ -76364,15 +74991,15 @@ }, { "type": "Identifier", - "start": 16632, - "end": 16639, + "start": 16399, + "end": 16406, "loc": { "start": { - "line": 472, + "line": 468, "column": 24 }, "end": { - "line": 472, + "line": 468, "column": 31 }, "identifierName": "quality" @@ -76381,29 +75008,29 @@ }, { "type": "AssignmentPattern", - "start": 16641, - "end": 16654, + "start": 16408, + "end": 16421, "loc": { "start": { - "line": 472, + "line": 468, "column": 33 }, "end": { - "line": 472, + "line": 468, "column": 46 } }, "left": { "type": "Identifier", - "start": 16641, - "end": 16645, + "start": 16408, + "end": 16412, "loc": { "start": { - "line": 472, + "line": 468, "column": 33 }, "end": { - "line": 472, + "line": 468, "column": 37 }, "identifierName": "type" @@ -76412,15 +75039,15 @@ }, "right": { "type": "StringLiteral", - "start": 16648, - "end": 16654, + "start": 16415, + "end": 16421, "loc": { "start": { - "line": 472, + "line": 468, "column": 40 }, "end": { - "line": 472, + "line": 468, "column": 46 } }, @@ -76434,101 +75061,101 @@ ], "body": { "type": "BlockStatement", - "start": 16656, - "end": 16726, + "start": 16423, + "end": 16493, "loc": { "start": { - "line": 472, + "line": 468, "column": 48 }, "end": { - "line": 474, + "line": 470, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 16666, - "end": 16720, + "start": 16433, + "end": 16487, "loc": { "start": { - "line": 473, + "line": 469, "column": 8 }, "end": { - "line": 473, + "line": 469, "column": 62 } }, "argument": { "type": "CallExpression", - "start": 16673, - "end": 16719, + "start": 16440, + "end": 16486, "loc": { "start": { - "line": 473, + "line": 469, "column": 15 }, "end": { - "line": 473, + "line": 469, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 16673, - "end": 16696, + "start": 16440, + "end": 16463, "loc": { "start": { - "line": 473, + "line": 469, "column": 15 }, "end": { - "line": 473, + "line": 469, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 16673, - "end": 16684, + "start": 16440, + "end": 16451, "loc": { "start": { - "line": 473, + "line": 469, "column": 15 }, "end": { - "line": 473, + "line": 469, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 16673, - "end": 16677, + "start": 16440, + "end": 16444, "loc": { "start": { - "line": 473, + "line": 469, "column": 15 }, "end": { - "line": 473, + "line": 469, "column": 19 } } }, "property": { "type": "Identifier", - "start": 16678, - "end": 16684, + "start": 16445, + "end": 16451, "loc": { "start": { - "line": 473, + "line": 469, "column": 20 }, "end": { - "line": 473, + "line": 469, "column": 26 }, "identifierName": "surfer" @@ -76539,15 +75166,15 @@ }, "property": { "type": "Identifier", - "start": 16685, - "end": 16696, + "start": 16452, + "end": 16463, "loc": { "start": { - "line": 473, + "line": 469, "column": 27 }, "end": { - "line": 473, + "line": 469, "column": 38 }, "identifierName": "exportImage" @@ -76559,15 +75186,15 @@ "arguments": [ { "type": "Identifier", - "start": 16697, - "end": 16703, + "start": 16464, + "end": 16470, "loc": { "start": { - "line": 473, + "line": 469, "column": 39 }, "end": { - "line": 473, + "line": 469, "column": 45 }, "identifierName": "format" @@ -76576,15 +75203,15 @@ }, { "type": "Identifier", - "start": 16705, - "end": 16712, + "start": 16472, + "end": 16479, "loc": { "start": { - "line": 473, + "line": 469, "column": 47 }, "end": { - "line": 473, + "line": 469, "column": 54 }, "identifierName": "quality" @@ -76593,15 +75220,15 @@ }, { "type": "Identifier", - "start": 16714, - "end": 16718, + "start": 16481, + "end": 16485, "loc": { "start": { - "line": 473, + "line": 469, "column": 56 }, "end": { - "line": 473, + "line": 469, "column": 60 }, "identifierName": "type" @@ -76619,15 +75246,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": 15728, - "end": 16607, + "start": 15495, + "end": 16374, "loc": { "start": { - "line": 454, + "line": 450, "column": 4 }, "end": { - "line": 471, + "line": 467, "column": 7 } } @@ -76637,15 +75264,15 @@ { "type": "CommentBlock", "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", - "start": 16732, - "end": 16850, + "start": 16499, + "end": 16617, "loc": { "start": { - "line": 476, + "line": 472, "column": 4 }, "end": { - "line": 480, + "line": 476, "column": 7 } } @@ -76654,15 +75281,15 @@ }, { "type": "ClassMethod", - "start": 16855, - "end": 17263, + "start": 16622, + "end": 17030, "loc": { "start": { - "line": 481, + "line": 477, "column": 4 }, "end": { - "line": 493, + "line": 489, "column": 5 } }, @@ -76670,15 +75297,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16855, - "end": 16869, + "start": 16622, + "end": 16636, "loc": { "start": { - "line": 481, + "line": 477, "column": 4 }, "end": { - "line": 481, + "line": 477, "column": 18 }, "identifierName": "setAudioOutput" @@ -76694,15 +75321,15 @@ "params": [ { "type": "Identifier", - "start": 16870, - "end": 16878, + "start": 16637, + "end": 16645, "loc": { "start": { - "line": 481, + "line": 477, "column": 19 }, "end": { - "line": 481, + "line": 477, "column": 27 }, "identifierName": "deviceId" @@ -76712,44 +75339,44 @@ ], "body": { "type": "BlockStatement", - "start": 16880, - "end": 17263, + "start": 16647, + "end": 17030, "loc": { "start": { - "line": 481, + "line": 477, "column": 29 }, "end": { - "line": 493, + "line": 489, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 16890, - "end": 17257, + "start": 16657, + "end": 17024, "loc": { "start": { - "line": 482, + "line": 478, "column": 8 }, "end": { - "line": 492, + "line": 488, "column": 9 } }, "test": { "type": "Identifier", - "start": 16894, - "end": 16902, + "start": 16661, + "end": 16669, "loc": { "start": { - "line": 482, + "line": 478, "column": 12 }, "end": { - "line": 482, + "line": 478, "column": 20 }, "identifierName": "deviceId" @@ -76758,157 +75385,157 @@ }, "consequent": { "type": "BlockStatement", - "start": 16904, - "end": 17257, + "start": 16671, + "end": 17024, "loc": { "start": { - "line": 482, + "line": 478, "column": 22 }, "end": { - "line": 492, + "line": 488, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 16918, - "end": 17247, + "start": 16685, + "end": 17014, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 491, + "line": 487, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 16918, - "end": 17246, + "start": 16685, + "end": 17013, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 491, + "line": 487, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 16918, - "end": 17088, + "start": 16685, + "end": 16855, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 486, + "line": 482, "column": 20 } }, "object": { "type": "CallExpression", - "start": 16918, - "end": 17082, + "start": 16685, + "end": 16849, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 486, + "line": 482, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 16918, - "end": 16954, + "start": 16685, + "end": 16721, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 483, + "line": 479, "column": 48 } }, "object": { "type": "CallExpression", - "start": 16918, - "end": 16949, + "start": 16685, + "end": 16716, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 483, + "line": 479, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 16918, - "end": 16939, + "start": 16685, + "end": 16706, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 483, + "line": 479, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 16918, - "end": 16929, + "start": 16685, + "end": 16696, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 483, + "line": 479, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 16918, - "end": 16922, + "start": 16685, + "end": 16689, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 483, + "line": 479, "column": 16 } } }, "property": { "type": "Identifier", - "start": 16923, - "end": 16929, + "start": 16690, + "end": 16696, "loc": { "start": { - "line": 483, + "line": 479, "column": 17 }, "end": { - "line": 483, + "line": 479, "column": 23 }, "identifierName": "surfer" @@ -76919,15 +75546,15 @@ }, "property": { "type": "Identifier", - "start": 16930, - "end": 16939, + "start": 16697, + "end": 16706, "loc": { "start": { - "line": 483, + "line": 479, "column": 24 }, "end": { - "line": 483, + "line": 479, "column": 33 }, "identifierName": "setSinkId" @@ -76939,15 +75566,15 @@ "arguments": [ { "type": "Identifier", - "start": 16940, - "end": 16948, + "start": 16707, + "end": 16715, "loc": { "start": { - "line": 483, + "line": 479, "column": 34 }, "end": { - "line": 483, + "line": 479, "column": 42 }, "identifierName": "deviceId" @@ -76958,15 +75585,15 @@ }, "property": { "type": "Identifier", - "start": 16950, - "end": 16954, + "start": 16717, + "end": 16721, "loc": { "start": { - "line": 483, + "line": 479, "column": 44 }, "end": { - "line": 483, + "line": 479, "column": 48 }, "identifierName": "then" @@ -76978,15 +75605,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 16955, - "end": 17081, + "start": 16722, + "end": 16848, "loc": { "start": { - "line": 483, + "line": 479, "column": 49 }, "end": { - "line": 486, + "line": 482, "column": 13 } }, @@ -76997,15 +75624,15 @@ "params": [ { "type": "Identifier", - "start": 16956, - "end": 16962, + "start": 16723, + "end": 16729, "loc": { "start": { - "line": 483, + "line": 479, "column": 50 }, "end": { - "line": 483, + "line": 479, "column": 56 }, "identifierName": "result" @@ -77015,86 +75642,86 @@ ], "body": { "type": "BlockStatement", - "start": 16967, - "end": 17081, + "start": 16734, + "end": 16848, "loc": { "start": { - "line": 483, + "line": 479, "column": 61 }, "end": { - "line": 486, + "line": 482, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 17021, - "end": 17067, + "start": 16788, + "end": 16834, "loc": { "start": { - "line": 485, + "line": 481, "column": 16 }, "end": { - "line": 485, + "line": 481, "column": 62 } }, "expression": { "type": "CallExpression", - "start": 17021, - "end": 17066, + "start": 16788, + "end": 16833, "loc": { "start": { - "line": 485, + "line": 481, "column": 16 }, "end": { - "line": 485, + "line": 481, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 17021, - "end": 17040, + "start": 16788, + "end": 16807, "loc": { "start": { - "line": 485, + "line": 481, "column": 16 }, "end": { - "line": 485, + "line": 481, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 17021, - "end": 17032, + "start": 16788, + "end": 16799, "loc": { "start": { - "line": 485, + "line": 481, "column": 16 }, "end": { - "line": 485, + "line": 481, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 17021, - "end": 17025, + "start": 16788, + "end": 16792, "loc": { "start": { - "line": 485, + "line": 481, "column": 16 }, "end": { - "line": 485, + "line": 481, "column": 20 } }, @@ -77102,15 +75729,15 @@ }, "property": { "type": "Identifier", - "start": 17026, - "end": 17032, + "start": 16793, + "end": 16799, "loc": { "start": { - "line": 485, + "line": 481, "column": 21 }, "end": { - "line": 485, + "line": 481, "column": 27 }, "identifierName": "player" @@ -77122,15 +75749,15 @@ }, "property": { "type": "Identifier", - "start": 17033, - "end": 17040, + "start": 16800, + "end": 16807, "loc": { "start": { - "line": 485, + "line": 481, "column": 28 }, "end": { - "line": 485, + "line": 481, "column": 35 }, "identifierName": "trigger" @@ -77143,29 +75770,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 17041, - "end": 17065, + "start": 16808, + "end": 16832, "loc": { "start": { - "line": 485, + "line": 481, "column": 36 }, "end": { - "line": 485, + "line": 481, "column": 60 } }, "object": { "type": "Identifier", - "start": 17041, - "end": 17046, + "start": 16808, + "end": 16813, "loc": { "start": { - "line": 485, + "line": 481, "column": 36 }, "end": { - "line": 485, + "line": 481, "column": 41 }, "identifierName": "Event" @@ -77174,15 +75801,15 @@ }, "property": { "type": "Identifier", - "start": 17047, - "end": 17065, + "start": 16814, + "end": 16832, "loc": { "start": { - "line": 485, + "line": 481, "column": 42 }, "end": { - "line": 485, + "line": 481, "column": 60 }, "identifierName": "AUDIO_OUTPUT_READY" @@ -77198,15 +75825,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16985, - "end": 17004, + "start": 16752, + "end": 16771, "loc": { "start": { - "line": 484, + "line": 480, "column": 16 }, "end": { - "line": 484, + "line": 480, "column": 35 } } @@ -77221,15 +75848,15 @@ }, "property": { "type": "Identifier", - "start": 17083, - "end": 17088, + "start": 16850, + "end": 16855, "loc": { "start": { - "line": 486, + "line": 482, "column": 15 }, "end": { - "line": 486, + "line": 482, "column": 20 }, "identifierName": "catch" @@ -77241,15 +75868,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 17089, - "end": 17245, + "start": 16856, + "end": 17012, "loc": { "start": { - "line": 486, + "line": 482, "column": 21 }, "end": { - "line": 491, + "line": 487, "column": 13 } }, @@ -77260,15 +75887,15 @@ "params": [ { "type": "Identifier", - "start": 17090, - "end": 17093, + "start": 16857, + "end": 16860, "loc": { "start": { - "line": 486, + "line": 482, "column": 22 }, "end": { - "line": 486, + "line": 482, "column": 25 }, "identifierName": "err" @@ -77278,86 +75905,86 @@ ], "body": { "type": "BlockStatement", - "start": 17098, - "end": 17245, + "start": 16865, + "end": 17012, "loc": { "start": { - "line": 486, + "line": 482, "column": 30 }, "end": { - "line": 491, + "line": 487, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 17152, - "end": 17190, + "start": 16919, + "end": 16957, "loc": { "start": { - "line": 488, + "line": 484, "column": 16 }, "end": { - "line": 488, + "line": 484, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 17152, - "end": 17189, + "start": 16919, + "end": 16956, "loc": { "start": { - "line": 488, + "line": 484, "column": 16 }, "end": { - "line": 488, + "line": 484, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 17152, - "end": 17171, + "start": 16919, + "end": 16938, "loc": { "start": { - "line": 488, + "line": 484, "column": 16 }, "end": { - "line": 488, + "line": 484, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 17152, - "end": 17163, + "start": 16919, + "end": 16930, "loc": { "start": { - "line": 488, + "line": 484, "column": 16 }, "end": { - "line": 488, + "line": 484, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 17152, - "end": 17156, + "start": 16919, + "end": 16923, "loc": { "start": { - "line": 488, + "line": 484, "column": 16 }, "end": { - "line": 488, + "line": 484, "column": 20 } }, @@ -77365,15 +75992,15 @@ }, "property": { "type": "Identifier", - "start": 17157, - "end": 17163, + "start": 16924, + "end": 16930, "loc": { "start": { - "line": 488, + "line": 484, "column": 21 }, "end": { - "line": 488, + "line": 484, "column": 27 }, "identifierName": "player" @@ -77385,15 +76012,15 @@ }, "property": { "type": "Identifier", - "start": 17164, - "end": 17171, + "start": 16931, + "end": 16938, "loc": { "start": { - "line": 488, + "line": 484, "column": 28 }, "end": { - "line": 488, + "line": 484, "column": 35 }, "identifierName": "trigger" @@ -77406,29 +76033,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 17172, - "end": 17183, + "start": 16939, + "end": 16950, "loc": { "start": { - "line": 488, + "line": 484, "column": 36 }, "end": { - "line": 488, + "line": 484, "column": 47 } }, "object": { "type": "Identifier", - "start": 17172, - "end": 17177, + "start": 16939, + "end": 16944, "loc": { "start": { - "line": 488, + "line": 484, "column": 36 }, "end": { - "line": 488, + "line": 484, "column": 41 }, "identifierName": "Event" @@ -77437,15 +76064,15 @@ }, "property": { "type": "Identifier", - "start": 17178, - "end": 17183, + "start": 16945, + "end": 16950, "loc": { "start": { - "line": 488, + "line": 484, "column": 42 }, "end": { - "line": 488, + "line": 484, "column": 47 }, "identifierName": "ERROR" @@ -77456,15 +76083,15 @@ }, { "type": "Identifier", - "start": 17185, - "end": 17188, + "start": 16952, + "end": 16955, "loc": { "start": { - "line": 488, + "line": 484, "column": 49 }, "end": { - "line": 488, + "line": 484, "column": 52 }, "identifierName": "err" @@ -77478,15 +76105,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 17116, - "end": 17135, + "start": 16883, + "end": 16902, "loc": { "start": { - "line": 487, + "line": 483, "column": 16 }, "end": { - "line": 487, + "line": 483, "column": 35 } } @@ -77495,72 +76122,72 @@ }, { "type": "ExpressionStatement", - "start": 17208, - "end": 17231, + "start": 16975, + "end": 16998, "loc": { "start": { - "line": 490, + "line": 486, "column": 16 }, "end": { - "line": 490, + "line": 486, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 17208, - "end": 17230, + "start": 16975, + "end": 16997, "loc": { "start": { - "line": 490, + "line": 486, "column": 16 }, "end": { - "line": 490, + "line": 486, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 17208, - "end": 17216, + "start": 16975, + "end": 16983, "loc": { "start": { - "line": 490, + "line": 486, "column": 16 }, "end": { - "line": 490, + "line": 486, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 17208, - "end": 17212, + "start": 16975, + "end": 16979, "loc": { "start": { - "line": 490, + "line": 486, "column": 16 }, "end": { - "line": 490, + "line": 486, "column": 20 } } }, "property": { "type": "Identifier", - "start": 17213, - "end": 17216, + "start": 16980, + "end": 16983, "loc": { "start": { - "line": 490, + "line": 486, "column": 21 }, "end": { - "line": 490, + "line": 486, "column": 24 }, "identifierName": "log" @@ -77572,15 +76199,15 @@ "arguments": [ { "type": "Identifier", - "start": 17217, - "end": 17220, + "start": 16984, + "end": 16987, "loc": { "start": { - "line": 490, + "line": 486, "column": 25 }, "end": { - "line": 490, + "line": 486, "column": 28 }, "identifierName": "err" @@ -77589,15 +76216,15 @@ }, { "type": "StringLiteral", - "start": 17222, - "end": 17229, + "start": 16989, + "end": 16996, "loc": { "start": { - "line": 490, + "line": 486, "column": 30 }, "end": { - "line": 490, + "line": 486, "column": 37 } }, @@ -77630,15 +76257,15 @@ { "type": "CommentBlock", "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", - "start": 16732, - "end": 16850, + "start": 16499, + "end": 16617, "loc": { "start": { - "line": 476, + "line": 472, "column": 4 }, "end": { - "line": 480, + "line": 476, "column": 7 } } @@ -77648,15 +76275,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": 17269, - "end": 17468, + "start": 17036, + "end": 17235, "loc": { "start": { - "line": 495, + "line": 491, "column": 4 }, "end": { - "line": 501, + "line": 497, "column": 7 } } @@ -77665,15 +76292,15 @@ }, { "type": "ClassMethod", - "start": 17473, - "end": 17642, + "start": 17240, + "end": 17409, "loc": { "start": { - "line": 502, + "line": 498, "column": 4 }, "end": { - "line": 507, + "line": 503, "column": 5 } }, @@ -77681,15 +76308,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17473, - "end": 17487, + "start": 17240, + "end": 17254, "loc": { "start": { - "line": 502, + "line": 498, "column": 4 }, "end": { - "line": 502, + "line": 498, "column": 18 }, "identifierName": "getCurrentTime" @@ -77705,59 +76332,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 17490, - "end": 17642, + "start": 17257, + "end": 17409, "loc": { "start": { - "line": 502, + "line": 498, "column": 21 }, "end": { - "line": 507, + "line": 503, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 17500, - "end": 17547, + "start": 17267, + "end": 17314, "loc": { "start": { - "line": 503, + "line": 499, "column": 8 }, "end": { - "line": 503, + "line": 499, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17504, - "end": 17546, + "start": 17271, + "end": 17313, "loc": { "start": { - "line": 503, + "line": 499, "column": 12 }, "end": { - "line": 503, + "line": 499, "column": 54 } }, "id": { "type": "Identifier", - "start": 17504, - "end": 17515, + "start": 17271, + "end": 17282, "loc": { "start": { - "line": 503, + "line": 499, "column": 12 }, "end": { - "line": 503, + "line": 499, "column": 23 }, "identifierName": "currentTime" @@ -77766,72 +76393,72 @@ }, "init": { "type": "CallExpression", - "start": 17518, - "end": 17546, + "start": 17285, + "end": 17313, "loc": { "start": { - "line": 503, + "line": 499, "column": 26 }, "end": { - "line": 503, + "line": 499, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 17518, - "end": 17544, + "start": 17285, + "end": 17311, "loc": { "start": { - "line": 503, + "line": 499, "column": 26 }, "end": { - "line": 503, + "line": 499, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 17518, - "end": 17529, + "start": 17285, + "end": 17296, "loc": { "start": { - "line": 503, + "line": 499, "column": 26 }, "end": { - "line": 503, + "line": 499, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 17518, - "end": 17522, + "start": 17285, + "end": 17289, "loc": { "start": { - "line": 503, + "line": 499, "column": 26 }, "end": { - "line": 503, + "line": 499, "column": 30 } } }, "property": { "type": "Identifier", - "start": 17523, - "end": 17529, + "start": 17290, + "end": 17296, "loc": { "start": { - "line": 503, + "line": 499, "column": 31 }, "end": { - "line": 503, + "line": 499, "column": 37 }, "identifierName": "surfer" @@ -77842,15 +76469,15 @@ }, "property": { "type": "Identifier", - "start": 17530, - "end": 17544, + "start": 17297, + "end": 17311, "loc": { "start": { - "line": 503, + "line": 499, "column": 38 }, "end": { - "line": 503, + "line": 499, "column": 52 }, "identifierName": "getCurrentTime" @@ -77867,44 +76494,44 @@ }, { "type": "ExpressionStatement", - "start": 17556, - "end": 17607, + "start": 17323, + "end": 17374, "loc": { "start": { - "line": 504, + "line": 500, "column": 8 }, "end": { - "line": 504, + "line": 500, "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 17556, - "end": 17606, + "start": 17323, + "end": 17373, "loc": { "start": { - "line": 504, + "line": 500, "column": 8 }, "end": { - "line": 504, + "line": 500, "column": 58 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17556, - "end": 17567, + "start": 17323, + "end": 17334, "loc": { "start": { - "line": 504, + "line": 500, "column": 8 }, "end": { - "line": 504, + "line": 500, "column": 19 }, "identifierName": "currentTime" @@ -77913,43 +76540,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 17570, - "end": 17606, + "start": 17337, + "end": 17373, "loc": { "start": { - "line": 504, + "line": 500, "column": 22 }, "end": { - "line": 504, + "line": 500, "column": 58 } }, "test": { "type": "CallExpression", - "start": 17570, - "end": 17588, + "start": 17337, + "end": 17355, "loc": { "start": { - "line": 504, + "line": 500, "column": 22 }, "end": { - "line": 504, + "line": 500, "column": 40 } }, "callee": { "type": "Identifier", - "start": 17570, - "end": 17575, + "start": 17337, + "end": 17342, "loc": { "start": { - "line": 504, + "line": 500, "column": 22 }, "end": { - "line": 504, + "line": 500, "column": 27 }, "identifierName": "isNaN" @@ -77959,15 +76586,15 @@ "arguments": [ { "type": "Identifier", - "start": 17576, - "end": 17587, + "start": 17343, + "end": 17354, "loc": { "start": { - "line": 504, + "line": 500, "column": 28 }, "end": { - "line": 504, + "line": 500, "column": 39 }, "identifierName": "currentTime" @@ -77978,15 +76605,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 17591, - "end": 17592, + "start": 17358, + "end": 17359, "loc": { "start": { - "line": 504, + "line": 500, "column": 43 }, "end": { - "line": 504, + "line": 500, "column": 44 } }, @@ -77998,15 +76625,15 @@ }, "alternate": { "type": "Identifier", - "start": 17595, - "end": 17606, + "start": 17362, + "end": 17373, "loc": { "start": { - "line": 504, + "line": 500, "column": 47 }, "end": { - "line": 504, + "line": 500, "column": 58 }, "identifierName": "currentTime" @@ -78018,29 +76645,29 @@ }, { "type": "ReturnStatement", - "start": 17617, - "end": 17636, + "start": 17384, + "end": 17403, "loc": { "start": { - "line": 506, + "line": 502, "column": 8 }, "end": { - "line": 506, + "line": 502, "column": 27 } }, "argument": { "type": "Identifier", - "start": 17624, - "end": 17635, + "start": 17391, + "end": 17402, "loc": { "start": { - "line": 506, + "line": 502, "column": 15 }, "end": { - "line": 506, + "line": 502, "column": 26 }, "identifierName": "currentTime" @@ -78056,15 +76683,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": 17269, - "end": 17468, + "start": 17036, + "end": 17235, "loc": { "start": { - "line": 495, + "line": 491, "column": 4 }, "end": { - "line": 501, + "line": 497, "column": 7 } } @@ -78074,15 +76701,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": 17648, - "end": 17919, + "start": 17415, + "end": 17686, "loc": { "start": { - "line": 509, + "line": 505, "column": 4 }, "end": { - "line": 516, + "line": 512, "column": 7 } } @@ -78091,15 +76718,15 @@ }, { "type": "ClassMethod", - "start": 17924, - "end": 19051, + "start": 17691, + "end": 18818, "loc": { "start": { - "line": 517, + "line": 513, "column": 4 }, "end": { - "line": 544, + "line": 540, "column": 5 } }, @@ -78107,15 +76734,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17924, - "end": 17938, + "start": 17691, + "end": 17705, "loc": { "start": { - "line": 517, + "line": 513, "column": 4 }, "end": { - "line": 517, + "line": 513, "column": 18 }, "identifierName": "setCurrentTime" @@ -78131,15 +76758,15 @@ "params": [ { "type": "Identifier", - "start": 17939, - "end": 17950, + "start": 17706, + "end": 17717, "loc": { "start": { - "line": 517, + "line": 513, "column": 19 }, "end": { - "line": 517, + "line": 513, "column": 30 }, "identifierName": "currentTime" @@ -78148,15 +76775,15 @@ }, { "type": "Identifier", - "start": 17952, - "end": 17960, + "start": 17719, + "end": 17727, "loc": { "start": { - "line": 517, + "line": 513, "column": 32 }, "end": { - "line": 517, + "line": 513, "column": 40 }, "identifierName": "duration" @@ -78166,58 +76793,58 @@ ], "body": { "type": "BlockStatement", - "start": 17962, - "end": 19051, + "start": 17729, + "end": 18818, "loc": { "start": { - "line": 517, + "line": 513, "column": 42 }, "end": { - "line": 544, + "line": 540, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 17972, - "end": 18070, + "start": 17739, + "end": 17837, "loc": { "start": { - "line": 518, + "line": 514, "column": 8 }, "end": { - "line": 520, + "line": 516, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 17976, - "end": 18001, + "start": 17743, + "end": 17768, "loc": { "start": { - "line": 518, + "line": 514, "column": 12 }, "end": { - "line": 518, + "line": 514, "column": 37 } }, "left": { "type": "Identifier", - "start": 17976, - "end": 17987, + "start": 17743, + "end": 17754, "loc": { "start": { - "line": 518, + "line": 514, "column": 12 }, "end": { - "line": 518, + "line": 514, "column": 23 }, "identifierName": "currentTime" @@ -78227,15 +76854,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 17992, - "end": 18001, + "start": 17759, + "end": 17768, "loc": { "start": { - "line": 518, + "line": 514, "column": 28 }, "end": { - "line": 518, + "line": 514, "column": 37 }, "identifierName": "undefined" @@ -78245,59 +76872,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 18003, - "end": 18070, + "start": 17770, + "end": 17837, "loc": { "start": { - "line": 518, + "line": 514, "column": 39 }, "end": { - "line": 520, + "line": 516, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 18017, - "end": 18060, + "start": 17784, + "end": 17827, "loc": { "start": { - "line": 519, + "line": 515, "column": 12 }, "end": { - "line": 519, + "line": 515, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 18017, - "end": 18059, + "start": 17784, + "end": 17826, "loc": { "start": { - "line": 519, + "line": 515, "column": 12 }, "end": { - "line": 519, + "line": 515, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 18017, - "end": 18028, + "start": 17784, + "end": 17795, "loc": { "start": { - "line": 519, + "line": 515, "column": 12 }, "end": { - "line": 519, + "line": 515, "column": 23 }, "identifierName": "currentTime" @@ -78306,72 +76933,72 @@ }, "right": { "type": "CallExpression", - "start": 18031, - "end": 18059, + "start": 17798, + "end": 17826, "loc": { "start": { - "line": 519, + "line": 515, "column": 26 }, "end": { - "line": 519, + "line": 515, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 18031, - "end": 18057, + "start": 17798, + "end": 17824, "loc": { "start": { - "line": 519, + "line": 515, "column": 26 }, "end": { - "line": 519, + "line": 515, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 18031, - "end": 18042, + "start": 17798, + "end": 17809, "loc": { "start": { - "line": 519, + "line": 515, "column": 26 }, "end": { - "line": 519, + "line": 515, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 18031, - "end": 18035, + "start": 17798, + "end": 17802, "loc": { "start": { - "line": 519, + "line": 515, "column": 26 }, "end": { - "line": 519, + "line": 515, "column": 30 } } }, "property": { "type": "Identifier", - "start": 18036, - "end": 18042, + "start": 17803, + "end": 17809, "loc": { "start": { - "line": 519, + "line": 515, "column": 31 }, "end": { - "line": 519, + "line": 515, "column": 37 }, "identifierName": "surfer" @@ -78382,15 +77009,15 @@ }, "property": { "type": "Identifier", - "start": 18043, - "end": 18057, + "start": 17810, + "end": 17824, "loc": { "start": { - "line": 519, + "line": 515, "column": 38 }, "end": { - "line": 519, + "line": 515, "column": 52 }, "identifierName": "getCurrentTime" @@ -78410,43 +77037,43 @@ }, { "type": "IfStatement", - "start": 18080, - "end": 18169, + "start": 17847, + "end": 17936, "loc": { "start": { - "line": 522, + "line": 518, "column": 8 }, "end": { - "line": 524, + "line": 520, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 18084, - "end": 18106, + "start": 17851, + "end": 17873, "loc": { "start": { - "line": 522, + "line": 518, "column": 12 }, "end": { - "line": 522, + "line": 518, "column": 34 } }, "left": { "type": "Identifier", - "start": 18084, - "end": 18092, + "start": 17851, + "end": 17859, "loc": { "start": { - "line": 522, + "line": 518, "column": 12 }, "end": { - "line": 522, + "line": 518, "column": 20 }, "identifierName": "duration" @@ -78456,15 +77083,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 18097, - "end": 18106, + "start": 17864, + "end": 17873, "loc": { "start": { - "line": 522, + "line": 518, "column": 25 }, "end": { - "line": 522, + "line": 518, "column": 34 }, "identifierName": "undefined" @@ -78474,59 +77101,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 18108, - "end": 18169, + "start": 17875, + "end": 17936, "loc": { "start": { - "line": 522, + "line": 518, "column": 36 }, "end": { - "line": 524, + "line": 520, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 18122, - "end": 18159, + "start": 17889, + "end": 17926, "loc": { "start": { - "line": 523, + "line": 519, "column": 12 }, "end": { - "line": 523, + "line": 519, "column": 49 } }, "expression": { "type": "AssignmentExpression", - "start": 18122, - "end": 18158, + "start": 17889, + "end": 17925, "loc": { "start": { - "line": 523, + "line": 519, "column": 12 }, "end": { - "line": 523, + "line": 519, "column": 48 } }, "operator": "=", "left": { "type": "Identifier", - "start": 18122, - "end": 18130, + "start": 17889, + "end": 17897, "loc": { "start": { - "line": 523, + "line": 519, "column": 12 }, "end": { - "line": 523, + "line": 519, "column": 20 }, "identifierName": "duration" @@ -78535,72 +77162,72 @@ }, "right": { "type": "CallExpression", - "start": 18133, - "end": 18158, + "start": 17900, + "end": 17925, "loc": { "start": { - "line": 523, + "line": 519, "column": 23 }, "end": { - "line": 523, + "line": 519, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 18133, - "end": 18156, + "start": 17900, + "end": 17923, "loc": { "start": { - "line": 523, + "line": 519, "column": 23 }, "end": { - "line": 523, + "line": 519, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 18133, - "end": 18144, + "start": 17900, + "end": 17911, "loc": { "start": { - "line": 523, + "line": 519, "column": 23 }, "end": { - "line": 523, + "line": 519, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 18133, - "end": 18137, + "start": 17900, + "end": 17904, "loc": { "start": { - "line": 523, + "line": 519, "column": 23 }, "end": { - "line": 523, + "line": 519, "column": 27 } } }, "property": { "type": "Identifier", - "start": 18138, - "end": 18144, + "start": 17905, + "end": 17911, "loc": { "start": { - "line": 523, + "line": 519, "column": 28 }, "end": { - "line": 523, + "line": 519, "column": 34 }, "identifierName": "surfer" @@ -78611,15 +77238,15 @@ }, "property": { "type": "Identifier", - "start": 18145, - "end": 18156, + "start": 17912, + "end": 17923, "loc": { "start": { - "line": 523, + "line": 519, "column": 35 }, "end": { - "line": 523, + "line": 519, "column": 46 }, "identifierName": "getDuration" @@ -78639,44 +77266,44 @@ }, { "type": "ExpressionStatement", - "start": 18179, - "end": 18230, + "start": 17946, + "end": 17997, "loc": { "start": { - "line": 526, + "line": 522, "column": 8 }, "end": { - "line": 526, + "line": 522, "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 18179, - "end": 18229, + "start": 17946, + "end": 17996, "loc": { "start": { - "line": 526, + "line": 522, "column": 8 }, "end": { - "line": 526, + "line": 522, "column": 58 } }, "operator": "=", "left": { "type": "Identifier", - "start": 18179, - "end": 18190, + "start": 17946, + "end": 17957, "loc": { "start": { - "line": 526, + "line": 522, "column": 8 }, "end": { - "line": 526, + "line": 522, "column": 19 }, "identifierName": "currentTime" @@ -78685,43 +77312,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 18193, - "end": 18229, + "start": 17960, + "end": 17996, "loc": { "start": { - "line": 526, + "line": 522, "column": 22 }, "end": { - "line": 526, + "line": 522, "column": 58 } }, "test": { "type": "CallExpression", - "start": 18193, - "end": 18211, + "start": 17960, + "end": 17978, "loc": { "start": { - "line": 526, + "line": 522, "column": 22 }, "end": { - "line": 526, + "line": 522, "column": 40 } }, "callee": { "type": "Identifier", - "start": 18193, - "end": 18198, + "start": 17960, + "end": 17965, "loc": { "start": { - "line": 526, + "line": 522, "column": 22 }, "end": { - "line": 526, + "line": 522, "column": 27 }, "identifierName": "isNaN" @@ -78731,15 +77358,15 @@ "arguments": [ { "type": "Identifier", - "start": 18199, - "end": 18210, + "start": 17966, + "end": 17977, "loc": { "start": { - "line": 526, + "line": 522, "column": 28 }, "end": { - "line": 526, + "line": 522, "column": 39 }, "identifierName": "currentTime" @@ -78750,15 +77377,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 18214, - "end": 18215, + "start": 17981, + "end": 17982, "loc": { "start": { - "line": 526, + "line": 522, "column": 43 }, "end": { - "line": 526, + "line": 522, "column": 44 } }, @@ -78770,15 +77397,15 @@ }, "alternate": { "type": "Identifier", - "start": 18218, - "end": 18229, + "start": 17985, + "end": 17996, "loc": { "start": { - "line": 526, + "line": 522, "column": 47 }, "end": { - "line": 526, + "line": 522, "column": 58 }, "identifierName": "currentTime" @@ -78790,44 +77417,44 @@ }, { "type": "ExpressionStatement", - "start": 18239, - "end": 18281, + "start": 18006, + "end": 18048, "loc": { "start": { - "line": 527, + "line": 523, "column": 8 }, "end": { - "line": 527, + "line": 523, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 18239, - "end": 18280, + "start": 18006, + "end": 18047, "loc": { "start": { - "line": 527, + "line": 523, "column": 8 }, "end": { - "line": 527, + "line": 523, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 18239, - "end": 18247, + "start": 18006, + "end": 18014, "loc": { "start": { - "line": 527, + "line": 523, "column": 8 }, "end": { - "line": 527, + "line": 523, "column": 16 }, "identifierName": "duration" @@ -78836,43 +77463,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 18250, - "end": 18280, + "start": 18017, + "end": 18047, "loc": { "start": { - "line": 527, + "line": 523, "column": 19 }, "end": { - "line": 527, + "line": 523, "column": 49 } }, "test": { "type": "CallExpression", - "start": 18250, - "end": 18265, + "start": 18017, + "end": 18032, "loc": { "start": { - "line": 527, + "line": 523, "column": 19 }, "end": { - "line": 527, + "line": 523, "column": 34 } }, "callee": { "type": "Identifier", - "start": 18250, - "end": 18255, + "start": 18017, + "end": 18022, "loc": { "start": { - "line": 527, + "line": 523, "column": 19 }, "end": { - "line": 527, + "line": 523, "column": 24 }, "identifierName": "isNaN" @@ -78882,15 +77509,15 @@ "arguments": [ { "type": "Identifier", - "start": 18256, - "end": 18264, + "start": 18023, + "end": 18031, "loc": { "start": { - "line": 527, + "line": 523, "column": 25 }, "end": { - "line": 527, + "line": 523, "column": 33 }, "identifierName": "duration" @@ -78901,15 +77528,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 18268, - "end": 18269, + "start": 18035, + "end": 18036, "loc": { "start": { - "line": 527, + "line": 523, "column": 37 }, "end": { - "line": 527, + "line": 523, "column": 38 } }, @@ -78921,15 +77548,15 @@ }, "alternate": { "type": "Identifier", - "start": 18272, - "end": 18280, + "start": 18039, + "end": 18047, "loc": { "start": { - "line": 527, + "line": 523, "column": 41 }, "end": { - "line": 527, + "line": 523, "column": 49 }, "identifierName": "duration" @@ -78942,15 +77569,15 @@ { "type": "CommentLine", "value": " update current time display component", - "start": 18291, - "end": 18331, + "start": 18058, + "end": 18098, "loc": { "start": { - "line": 529, + "line": 525, "column": 8 }, "end": { - "line": 529, + "line": 525, "column": 48 } } @@ -78959,99 +77586,99 @@ }, { "type": "IfStatement", - "start": 18340, - "end": 18848, + "start": 18107, + "end": 18615, "loc": { "start": { - "line": 530, + "line": 526, "column": 8 }, "end": { - "line": 538, + "line": 534, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 18344, - "end": 18533, + "start": 18111, + "end": 18300, "loc": { "start": { - "line": 530, + "line": 526, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 75 } }, "left": { "type": "LogicalExpression", - "start": 18344, - "end": 18454, + "start": 18111, + "end": 18221, "loc": { "start": { - "line": 530, + "line": 526, "column": 12 }, "end": { - "line": 531, + "line": 527, "column": 65 } }, "left": { "type": "MemberExpression", - "start": 18344, - "end": 18385, + "start": 18111, + "end": 18152, "loc": { "start": { - "line": 530, + "line": 526, "column": 12 }, "end": { - "line": 530, + "line": 526, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 18344, - "end": 18366, + "start": 18111, + "end": 18133, "loc": { "start": { - "line": 530, + "line": 526, "column": 12 }, "end": { - "line": 530, + "line": 526, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18344, - "end": 18355, + "start": 18111, + "end": 18122, "loc": { "start": { - "line": 530, + "line": 526, "column": 12 }, "end": { - "line": 530, + "line": 526, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18344, - "end": 18348, + "start": 18111, + "end": 18115, "loc": { "start": { - "line": 530, + "line": 526, "column": 12 }, "end": { - "line": 530, + "line": 526, "column": 16 } }, @@ -79059,15 +77686,15 @@ }, "property": { "type": "Identifier", - "start": 18349, - "end": 18355, + "start": 18116, + "end": 18122, "loc": { "start": { - "line": 530, + "line": 526, "column": 17 }, "end": { - "line": 530, + "line": 526, "column": 23 }, "identifierName": "player" @@ -79079,15 +77706,15 @@ }, "property": { "type": "Identifier", - "start": 18356, - "end": 18366, + "start": 18123, + "end": 18133, "loc": { "start": { - "line": 530, + "line": 526, "column": 24 }, "end": { - "line": 530, + "line": 526, "column": 34 }, "identifierName": "controlBar" @@ -79099,15 +77726,15 @@ }, "property": { "type": "Identifier", - "start": 18367, - "end": 18385, + "start": 18134, + "end": 18152, "loc": { "start": { - "line": 530, + "line": 526, "column": 35 }, "end": { - "line": 530, + "line": 526, "column": 53 }, "identifierName": "currentTimeDisplay" @@ -79120,100 +77747,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 18401, - "end": 18454, + "start": 18168, + "end": 18221, "loc": { "start": { - "line": 531, + "line": 527, "column": 12 }, "end": { - "line": 531, + "line": 527, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 18401, - "end": 18452, + "start": 18168, + "end": 18219, "loc": { "start": { - "line": 531, + "line": 527, "column": 12 }, "end": { - "line": 531, + "line": 527, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 18401, - "end": 18442, + "start": 18168, + "end": 18209, "loc": { "start": { - "line": 531, + "line": 527, "column": 12 }, "end": { - "line": 531, + "line": 527, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 18401, - "end": 18423, + "start": 18168, + "end": 18190, "loc": { "start": { - "line": 531, + "line": 527, "column": 12 }, "end": { - "line": 531, + "line": 527, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18401, - "end": 18412, + "start": 18168, + "end": 18179, "loc": { "start": { - "line": 531, + "line": 527, "column": 12 }, "end": { - "line": 531, + "line": 527, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18401, - "end": 18405, + "start": 18168, + "end": 18172, "loc": { "start": { - "line": 531, + "line": 527, "column": 12 }, "end": { - "line": 531, + "line": 527, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18406, - "end": 18412, + "start": 18173, + "end": 18179, "loc": { "start": { - "line": 531, + "line": 527, "column": 17 }, "end": { - "line": 531, + "line": 527, "column": 23 }, "identifierName": "player" @@ -79224,15 +77851,15 @@ }, "property": { "type": "Identifier", - "start": 18413, - "end": 18423, + "start": 18180, + "end": 18190, "loc": { "start": { - "line": 531, + "line": 527, "column": 24 }, "end": { - "line": 531, + "line": 527, "column": 34 }, "identifierName": "controlBar" @@ -79243,15 +77870,15 @@ }, "property": { "type": "Identifier", - "start": 18424, - "end": 18442, + "start": 18191, + "end": 18209, "loc": { "start": { - "line": 531, + "line": 527, "column": 35 }, "end": { - "line": 531, + "line": 527, "column": 53 }, "identifierName": "currentTimeDisplay" @@ -79262,15 +77889,15 @@ }, "property": { "type": "Identifier", - "start": 18443, - "end": 18452, + "start": 18210, + "end": 18219, "loc": { "start": { - "line": 531, + "line": 527, "column": 54 }, "end": { - "line": 531, + "line": 527, "column": 63 }, "identifierName": "contentEl" @@ -79286,114 +77913,114 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 18470, - "end": 18533, + "start": 18237, + "end": 18300, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 75 } }, "object": { "type": "CallExpression", - "start": 18470, - "end": 18523, + "start": 18237, + "end": 18290, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 18470, - "end": 18521, + "start": 18237, + "end": 18288, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 18470, - "end": 18511, + "start": 18237, + "end": 18278, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 18470, - "end": 18492, + "start": 18237, + "end": 18259, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18470, - "end": 18481, + "start": 18237, + "end": 18248, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18470, - "end": 18474, + "start": 18237, + "end": 18241, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18475, - "end": 18481, + "start": 18242, + "end": 18248, "loc": { "start": { - "line": 532, + "line": 528, "column": 17 }, "end": { - "line": 532, + "line": 528, "column": 23 }, "identifierName": "player" @@ -79404,15 +78031,15 @@ }, "property": { "type": "Identifier", - "start": 18482, - "end": 18492, + "start": 18249, + "end": 18259, "loc": { "start": { - "line": 532, + "line": 528, "column": 24 }, "end": { - "line": 532, + "line": 528, "column": 34 }, "identifierName": "controlBar" @@ -79423,15 +78050,15 @@ }, "property": { "type": "Identifier", - "start": 18493, - "end": 18511, + "start": 18260, + "end": 18278, "loc": { "start": { - "line": 532, + "line": 528, "column": 35 }, "end": { - "line": 532, + "line": 528, "column": 53 }, "identifierName": "currentTimeDisplay" @@ -79442,15 +78069,15 @@ }, "property": { "type": "Identifier", - "start": 18512, - "end": 18521, + "start": 18279, + "end": 18288, "loc": { "start": { - "line": 532, + "line": 528, "column": 54 }, "end": { - "line": 532, + "line": 528, "column": 63 }, "identifierName": "contentEl" @@ -79463,15 +78090,15 @@ }, "property": { "type": "Identifier", - "start": 18524, - "end": 18533, + "start": 18291, + "end": 18300, "loc": { "start": { - "line": 532, + "line": 528, "column": 66 }, "end": { - "line": 532, + "line": 528, "column": 75 }, "identifierName": "lastChild" @@ -79484,59 +78111,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 18535, - "end": 18848, + "start": 18302, + "end": 18615, "loc": { "start": { - "line": 532, + "line": 528, "column": 77 }, "end": { - "line": 538, + "line": 534, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 18549, - "end": 18592, + "start": 18316, + "end": 18359, "loc": { "start": { - "line": 533, + "line": 529, "column": 12 }, "end": { - "line": 533, + "line": 529, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 18553, - "end": 18591, + "start": 18320, + "end": 18358, "loc": { "start": { - "line": 533, + "line": 529, "column": 16 }, "end": { - "line": 533, + "line": 529, "column": 54 } }, "id": { "type": "Identifier", - "start": 18553, - "end": 18557, + "start": 18320, + "end": 18324, "loc": { "start": { - "line": 533, + "line": 529, "column": 16 }, "end": { - "line": 533, + "line": 529, "column": 20 }, "identifierName": "time" @@ -79545,43 +78172,43 @@ }, "init": { "type": "CallExpression", - "start": 18560, - "end": 18591, + "start": 18327, + "end": 18358, "loc": { "start": { - "line": 533, + "line": 529, "column": 23 }, "end": { - "line": 533, + "line": 529, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 18560, - "end": 18568, + "start": 18327, + "end": 18335, "loc": { "start": { - "line": 533, + "line": 529, "column": 23 }, "end": { - "line": 533, + "line": 529, "column": 31 } }, "object": { "type": "Identifier", - "start": 18560, - "end": 18564, + "start": 18327, + "end": 18331, "loc": { "start": { - "line": 533, + "line": 529, "column": 23 }, "end": { - "line": 533, + "line": 529, "column": 27 }, "identifierName": "Math" @@ -79590,15 +78217,15 @@ }, "property": { "type": "Identifier", - "start": 18565, - "end": 18568, + "start": 18332, + "end": 18335, "loc": { "start": { - "line": 533, + "line": 529, "column": 28 }, "end": { - "line": 533, + "line": 529, "column": 31 }, "identifierName": "min" @@ -79610,15 +78237,15 @@ "arguments": [ { "type": "Identifier", - "start": 18569, - "end": 18580, + "start": 18336, + "end": 18347, "loc": { "start": { - "line": 533, + "line": 529, "column": 32 }, "end": { - "line": 533, + "line": 529, "column": 43 }, "identifierName": "currentTime" @@ -79627,15 +78254,15 @@ }, { "type": "Identifier", - "start": 18582, - "end": 18590, + "start": 18349, + "end": 18357, "loc": { "start": { - "line": 533, + "line": 529, "column": 45 }, "end": { - "line": 533, + "line": 529, "column": 53 }, "identifierName": "duration" @@ -79650,115 +78277,115 @@ }, { "type": "ExpressionStatement", - "start": 18606, - "end": 18838, + "start": 18373, + "end": 18605, "loc": { "start": { - "line": 535, + "line": 531, "column": 12 }, "end": { - "line": 537, + "line": 533, "column": 79 } }, "expression": { "type": "AssignmentExpression", - "start": 18606, - "end": 18837, + "start": 18373, + "end": 18604, "loc": { "start": { - "line": 535, + "line": 531, "column": 12 }, "end": { - "line": 537, + "line": 533, "column": 78 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 18606, - "end": 18662, + "start": 18373, + "end": 18429, "loc": { "start": { - "line": 535, + "line": 531, "column": 12 }, "end": { - "line": 535, + "line": 531, "column": 68 } }, "object": { "type": "MemberExpression", - "start": 18606, - "end": 18647, + "start": 18373, + "end": 18414, "loc": { "start": { - "line": 535, + "line": 531, "column": 12 }, "end": { - "line": 535, + "line": 531, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 18606, - "end": 18628, + "start": 18373, + "end": 18395, "loc": { "start": { - "line": 535, + "line": 531, "column": 12 }, "end": { - "line": 535, + "line": 531, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18606, - "end": 18617, + "start": 18373, + "end": 18384, "loc": { "start": { - "line": 535, + "line": 531, "column": 12 }, "end": { - "line": 535, + "line": 531, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18606, - "end": 18610, + "start": 18373, + "end": 18377, "loc": { "start": { - "line": 535, + "line": 531, "column": 12 }, "end": { - "line": 535, + "line": 531, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18611, - "end": 18617, + "start": 18378, + "end": 18384, "loc": { "start": { - "line": 535, + "line": 531, "column": 17 }, "end": { - "line": 535, + "line": 531, "column": 23 }, "identifierName": "player" @@ -79769,15 +78396,15 @@ }, "property": { "type": "Identifier", - "start": 18618, - "end": 18628, + "start": 18385, + "end": 18395, "loc": { "start": { - "line": 535, + "line": 531, "column": 24 }, "end": { - "line": 535, + "line": 531, "column": 34 }, "identifierName": "controlBar" @@ -79788,15 +78415,15 @@ }, "property": { "type": "Identifier", - "start": 18629, - "end": 18647, + "start": 18396, + "end": 18414, "loc": { "start": { - "line": 535, + "line": 531, "column": 35 }, "end": { - "line": 535, + "line": 531, "column": 53 }, "identifierName": "currentTimeDisplay" @@ -79807,15 +78434,15 @@ }, "property": { "type": "Identifier", - "start": 18648, - "end": 18662, + "start": 18415, + "end": 18429, "loc": { "start": { - "line": 535, + "line": 531, "column": 54 }, "end": { - "line": 535, + "line": 531, "column": 68 }, "identifierName": "formattedTime_" @@ -79826,143 +78453,143 @@ }, "right": { "type": "AssignmentExpression", - "start": 18681, - "end": 18837, + "start": 18448, + "end": 18604, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 537, + "line": 533, "column": 78 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 18681, - "end": 18756, + "start": 18448, + "end": 18523, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 536, + "line": 532, "column": 91 } }, "object": { "type": "MemberExpression", - "start": 18681, - "end": 18744, + "start": 18448, + "end": 18511, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 536, + "line": 532, "column": 79 } }, "object": { "type": "CallExpression", - "start": 18681, - "end": 18734, + "start": 18448, + "end": 18501, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 536, + "line": 532, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 18681, - "end": 18732, + "start": 18448, + "end": 18499, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 536, + "line": 532, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 18681, - "end": 18722, + "start": 18448, + "end": 18489, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 536, + "line": 532, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 18681, - "end": 18703, + "start": 18448, + "end": 18470, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 536, + "line": 532, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 18681, - "end": 18692, + "start": 18448, + "end": 18459, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 536, + "line": 532, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 18681, - "end": 18685, + "start": 18448, + "end": 18452, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 536, + "line": 532, "column": 20 } } }, "property": { "type": "Identifier", - "start": 18686, - "end": 18692, + "start": 18453, + "end": 18459, "loc": { "start": { - "line": 536, + "line": 532, "column": 21 }, "end": { - "line": 536, + "line": 532, "column": 27 }, "identifierName": "player" @@ -79973,15 +78600,15 @@ }, "property": { "type": "Identifier", - "start": 18693, - "end": 18703, + "start": 18460, + "end": 18470, "loc": { "start": { - "line": 536, + "line": 532, "column": 28 }, "end": { - "line": 536, + "line": 532, "column": 38 }, "identifierName": "controlBar" @@ -79992,15 +78619,15 @@ }, "property": { "type": "Identifier", - "start": 18704, - "end": 18722, + "start": 18471, + "end": 18489, "loc": { "start": { - "line": 536, + "line": 532, "column": 39 }, "end": { - "line": 536, + "line": 532, "column": 57 }, "identifierName": "currentTimeDisplay" @@ -80011,15 +78638,15 @@ }, "property": { "type": "Identifier", - "start": 18723, - "end": 18732, + "start": 18490, + "end": 18499, "loc": { "start": { - "line": 536, + "line": 532, "column": 58 }, "end": { - "line": 536, + "line": 532, "column": 67 }, "identifierName": "contentEl" @@ -80032,15 +78659,15 @@ }, "property": { "type": "Identifier", - "start": 18735, - "end": 18744, + "start": 18502, + "end": 18511, "loc": { "start": { - "line": 536, + "line": 532, "column": 70 }, "end": { - "line": 536, + "line": 532, "column": 79 }, "identifierName": "lastChild" @@ -80051,15 +78678,15 @@ }, "property": { "type": "Identifier", - "start": 18745, - "end": 18756, + "start": 18512, + "end": 18523, "loc": { "start": { - "line": 536, + "line": 532, "column": 80 }, "end": { - "line": 536, + "line": 532, "column": 91 }, "identifierName": "textContent" @@ -80070,58 +78697,58 @@ }, "right": { "type": "CallExpression", - "start": 18779, - "end": 18837, + "start": 18546, + "end": 18604, "loc": { "start": { - "line": 537, + "line": 533, "column": 20 }, "end": { - "line": 537, + "line": 533, "column": 78 } }, "callee": { "type": "MemberExpression", - "start": 18779, - "end": 18795, + "start": 18546, + "end": 18562, "loc": { "start": { - "line": 537, + "line": 533, "column": 20 }, "end": { - "line": 537, + "line": 533, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 18779, - "end": 18783, + "start": 18546, + "end": 18550, "loc": { "start": { - "line": 537, + "line": 533, "column": 20 }, "end": { - "line": 537, + "line": 533, "column": 24 } } }, "property": { "type": "Identifier", - "start": 18784, - "end": 18795, + "start": 18551, + "end": 18562, "loc": { "start": { - "line": 537, + "line": 533, "column": 25 }, "end": { - "line": 537, + "line": 533, "column": 36 }, "identifierName": "_formatTime" @@ -80133,15 +78760,15 @@ "arguments": [ { "type": "Identifier", - "start": 18796, - "end": 18800, + "start": 18563, + "end": 18567, "loc": { "start": { - "line": 537, + "line": 533, "column": 37 }, "end": { - "line": 537, + "line": 533, "column": 41 }, "identifierName": "time" @@ -80150,15 +78777,15 @@ }, { "type": "Identifier", - "start": 18802, - "end": 18810, + "start": 18569, + "end": 18577, "loc": { "start": { - "line": 537, + "line": 533, "column": 43 }, "end": { - "line": 537, + "line": 533, "column": 51 }, "identifierName": "duration" @@ -80167,44 +78794,44 @@ }, { "type": "MemberExpression", - "start": 18812, - "end": 18836, + "start": 18579, + "end": 18603, "loc": { "start": { - "line": 537, + "line": 533, "column": 53 }, "end": { - "line": 537, + "line": 533, "column": 77 } }, "object": { "type": "ThisExpression", - "start": 18812, - "end": 18816, + "start": 18579, + "end": 18583, "loc": { "start": { - "line": 537, + "line": 533, "column": 53 }, "end": { - "line": 537, + "line": 533, "column": 57 } } }, "property": { "type": "Identifier", - "start": 18817, - "end": 18836, + "start": 18584, + "end": 18603, "loc": { "start": { - "line": 537, + "line": 533, "column": 58 }, "end": { - "line": 537, + "line": 533, "column": 77 }, "identifierName": "displayMilliseconds" @@ -80226,15 +78853,15 @@ { "type": "CommentLine", "value": " update current time display component", - "start": 18291, - "end": 18331, + "start": 18058, + "end": 18098, "loc": { "start": { - "line": 529, + "line": 525, "column": 8 }, "end": { - "line": 529, + "line": 525, "column": 48 } } @@ -80243,86 +78870,86 @@ }, { "type": "IfStatement", - "start": 18858, - "end": 19045, + "start": 18625, + "end": 18812, "loc": { "start": { - "line": 540, + "line": 536, "column": 8 }, "end": { - "line": 543, + "line": 539, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 18862, - "end": 18930, + "start": 18629, + "end": 18697, "loc": { "start": { - "line": 540, + "line": 536, "column": 12 }, "end": { - "line": 540, + "line": 536, "column": 80 } }, "left": { "type": "LogicalExpression", - "start": 18862, - "end": 18905, + "start": 18629, + "end": 18672, "loc": { "start": { - "line": 540, + "line": 536, "column": 12 }, "end": { - "line": 540, + "line": 536, "column": 55 } }, "left": { "type": "MemberExpression", - "start": 18862, - "end": 18884, + "start": 18629, + "end": 18651, "loc": { "start": { - "line": 540, + "line": 536, "column": 12 }, "end": { - "line": 540, + "line": 536, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 18862, - "end": 18866, + "start": 18629, + "end": 18633, "loc": { "start": { - "line": 540, + "line": 536, "column": 12 }, "end": { - "line": 540, + "line": 536, "column": 16 } } }, "property": { "type": "Identifier", - "start": 18867, - "end": 18884, + "start": 18634, + "end": 18651, "loc": { "start": { - "line": 540, + "line": 536, "column": 17 }, "end": { - "line": 540, + "line": 536, "column": 34 }, "identifierName": "textTracksEnabled" @@ -80334,58 +78961,58 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 18888, - "end": 18905, + "start": 18655, + "end": 18672, "loc": { "start": { - "line": 540, + "line": 536, "column": 38 }, "end": { - "line": 540, + "line": 536, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 18888, - "end": 18899, + "start": 18655, + "end": 18666, "loc": { "start": { - "line": 540, + "line": 536, "column": 38 }, "end": { - "line": 540, + "line": 536, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 18888, - "end": 18892, + "start": 18655, + "end": 18659, "loc": { "start": { - "line": 540, + "line": 536, "column": 38 }, "end": { - "line": 540, + "line": 536, "column": 42 } } }, "property": { "type": "Identifier", - "start": 18893, - "end": 18899, + "start": 18660, + "end": 18666, "loc": { "start": { - "line": 540, + "line": 536, "column": 43 }, "end": { - "line": 540, + "line": 536, "column": 49 }, "identifierName": "player" @@ -80396,15 +79023,15 @@ }, "property": { "type": "Identifier", - "start": 18900, - "end": 18905, + "start": 18667, + "end": 18672, "loc": { "start": { - "line": 540, + "line": 536, "column": 50 }, "end": { - "line": 540, + "line": 536, "column": 55 }, "identifierName": "tech_" @@ -80417,72 +79044,72 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 18909, - "end": 18930, + "start": 18676, + "end": 18697, "loc": { "start": { - "line": 540, + "line": 536, "column": 59 }, "end": { - "line": 540, + "line": 536, "column": 80 } }, "object": { "type": "MemberExpression", - "start": 18909, - "end": 18926, + "start": 18676, + "end": 18693, "loc": { "start": { - "line": 540, + "line": 536, "column": 59 }, "end": { - "line": 540, + "line": 536, "column": 76 } }, "object": { "type": "MemberExpression", - "start": 18909, - "end": 18920, + "start": 18676, + "end": 18687, "loc": { "start": { - "line": 540, + "line": 536, "column": 59 }, "end": { - "line": 540, + "line": 536, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 18909, - "end": 18913, + "start": 18676, + "end": 18680, "loc": { "start": { - "line": 540, + "line": 536, "column": 59 }, "end": { - "line": 540, + "line": 536, "column": 63 } } }, "property": { "type": "Identifier", - "start": 18914, - "end": 18920, + "start": 18681, + "end": 18687, "loc": { "start": { - "line": 540, + "line": 536, "column": 64 }, "end": { - "line": 540, + "line": 536, "column": 70 }, "identifierName": "player" @@ -80493,15 +79120,15 @@ }, "property": { "type": "Identifier", - "start": 18921, - "end": 18926, + "start": 18688, + "end": 18693, "loc": { "start": { - "line": 540, + "line": 536, "column": 71 }, "end": { - "line": 540, + "line": 536, "column": 76 }, "identifierName": "tech_" @@ -80512,15 +79139,15 @@ }, "property": { "type": "Identifier", - "start": 18927, - "end": 18930, + "start": 18694, + "end": 18697, "loc": { "start": { - "line": 540, + "line": 536, "column": 77 }, "end": { - "line": 540, + "line": 536, "column": 80 }, "identifierName": "el_" @@ -80532,100 +79159,100 @@ }, "consequent": { "type": "BlockStatement", - "start": 18932, - "end": 19045, + "start": 18699, + "end": 18812, "loc": { "start": { - "line": 540, + "line": 536, "column": 82 }, "end": { - "line": 543, + "line": 539, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 18989, - "end": 19035, + "start": 18756, + "end": 18802, "loc": { "start": { - "line": 542, + "line": 538, "column": 12 }, "end": { - "line": 542, + "line": 538, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 18989, - "end": 19034, + "start": 18756, + "end": 18801, "loc": { "start": { - "line": 542, + "line": 538, "column": 12 }, "end": { - "line": 542, + "line": 538, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 18989, - "end": 19021, + "start": 18756, + "end": 18788, "loc": { "start": { - "line": 542, + "line": 538, "column": 12 }, "end": { - "line": 542, + "line": 538, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 18989, - "end": 19006, + "start": 18756, + "end": 18773, "loc": { "start": { - "line": 542, + "line": 538, "column": 12 }, "end": { - "line": 542, + "line": 538, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 18989, - "end": 19000, + "start": 18756, + "end": 18767, "loc": { "start": { - "line": 542, + "line": 538, "column": 12 }, "end": { - "line": 542, + "line": 538, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18989, - "end": 18993, + "start": 18756, + "end": 18760, "loc": { "start": { - "line": 542, + "line": 538, "column": 12 }, "end": { - "line": 542, + "line": 538, "column": 16 } }, @@ -80633,15 +79260,15 @@ }, "property": { "type": "Identifier", - "start": 18994, - "end": 19000, + "start": 18761, + "end": 18767, "loc": { "start": { - "line": 542, + "line": 538, "column": 17 }, "end": { - "line": 542, + "line": 538, "column": 23 }, "identifierName": "player" @@ -80653,15 +79280,15 @@ }, "property": { "type": "Identifier", - "start": 19001, - "end": 19006, + "start": 18768, + "end": 18773, "loc": { "start": { - "line": 542, + "line": 538, "column": 24 }, "end": { - "line": 542, + "line": 538, "column": 29 }, "identifierName": "tech_" @@ -80673,15 +79300,15 @@ }, "property": { "type": "Identifier", - "start": 19007, - "end": 19021, + "start": 18774, + "end": 18788, "loc": { "start": { - "line": 542, + "line": 538, "column": 30 }, "end": { - "line": 542, + "line": 538, "column": 44 }, "identifierName": "setCurrentTime" @@ -80694,15 +79321,15 @@ "arguments": [ { "type": "Identifier", - "start": 19022, - "end": 19033, + "start": 18789, + "end": 18800, "loc": { "start": { - "line": 542, + "line": 538, "column": 45 }, "end": { - "line": 542, + "line": 538, "column": 56 }, "identifierName": "currentTime" @@ -80716,15 +79343,15 @@ { "type": "CommentLine", "value": " only needed for text tracks", - "start": 18946, - "end": 18976, + "start": 18713, + "end": 18743, "loc": { "start": { - "line": 541, + "line": 537, "column": 12 }, "end": { - "line": 541, + "line": 537, "column": 42 } } @@ -80744,15 +79371,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": 17648, - "end": 17919, + "start": 17415, + "end": 17686, "loc": { "start": { - "line": 509, + "line": 505, "column": 4 }, "end": { - "line": 516, + "line": 512, "column": 7 } } @@ -80762,15 +79389,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": 19057, - "end": 19230, + "start": 18824, + "end": 18997, "loc": { "start": { - "line": 546, + "line": 542, "column": 4 }, "end": { - "line": 552, + "line": 548, "column": 7 } } @@ -80779,15 +79406,15 @@ }, { "type": "ClassMethod", - "start": 19235, - "end": 19383, + "start": 19002, + "end": 19150, "loc": { "start": { - "line": 553, + "line": 549, "column": 4 }, "end": { - "line": 558, + "line": 554, "column": 5 } }, @@ -80795,15 +79422,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 19235, - "end": 19246, + "start": 19002, + "end": 19013, "loc": { "start": { - "line": 553, + "line": 549, "column": 4 }, "end": { - "line": 553, + "line": 549, "column": 15 }, "identifierName": "getDuration" @@ -80819,59 +79446,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 19249, - "end": 19383, + "start": 19016, + "end": 19150, "loc": { "start": { - "line": 553, + "line": 549, "column": 18 }, "end": { - "line": 558, + "line": 554, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 19259, - "end": 19300, + "start": 19026, + "end": 19067, "loc": { "start": { - "line": 554, + "line": 550, "column": 8 }, "end": { - "line": 554, + "line": 550, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 19263, - "end": 19299, + "start": 19030, + "end": 19066, "loc": { "start": { - "line": 554, + "line": 550, "column": 12 }, "end": { - "line": 554, + "line": 550, "column": 48 } }, "id": { "type": "Identifier", - "start": 19263, - "end": 19271, + "start": 19030, + "end": 19038, "loc": { "start": { - "line": 554, + "line": 550, "column": 12 }, "end": { - "line": 554, + "line": 550, "column": 20 }, "identifierName": "duration" @@ -80880,72 +79507,72 @@ }, "init": { "type": "CallExpression", - "start": 19274, - "end": 19299, + "start": 19041, + "end": 19066, "loc": { "start": { - "line": 554, + "line": 550, "column": 23 }, "end": { - "line": 554, + "line": 550, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 19274, - "end": 19297, + "start": 19041, + "end": 19064, "loc": { "start": { - "line": 554, + "line": 550, "column": 23 }, "end": { - "line": 554, + "line": 550, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 19274, - "end": 19285, + "start": 19041, + "end": 19052, "loc": { "start": { - "line": 554, + "line": 550, "column": 23 }, "end": { - "line": 554, + "line": 550, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 19274, - "end": 19278, + "start": 19041, + "end": 19045, "loc": { "start": { - "line": 554, + "line": 550, "column": 23 }, "end": { - "line": 554, + "line": 550, "column": 27 } } }, "property": { "type": "Identifier", - "start": 19279, - "end": 19285, + "start": 19046, + "end": 19052, "loc": { "start": { - "line": 554, + "line": 550, "column": 28 }, "end": { - "line": 554, + "line": 550, "column": 34 }, "identifierName": "surfer" @@ -80956,15 +79583,15 @@ }, "property": { "type": "Identifier", - "start": 19286, - "end": 19297, + "start": 19053, + "end": 19064, "loc": { "start": { - "line": 554, + "line": 550, "column": 35 }, "end": { - "line": 554, + "line": 550, "column": 46 }, "identifierName": "getDuration" @@ -80981,44 +79608,44 @@ }, { "type": "ExpressionStatement", - "start": 19309, - "end": 19351, + "start": 19076, + "end": 19118, "loc": { "start": { - "line": 555, + "line": 551, "column": 8 }, "end": { - "line": 555, + "line": 551, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 19309, - "end": 19350, + "start": 19076, + "end": 19117, "loc": { "start": { - "line": 555, + "line": 551, "column": 8 }, "end": { - "line": 555, + "line": 551, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 19309, - "end": 19317, + "start": 19076, + "end": 19084, "loc": { "start": { - "line": 555, + "line": 551, "column": 8 }, "end": { - "line": 555, + "line": 551, "column": 16 }, "identifierName": "duration" @@ -81027,43 +79654,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 19320, - "end": 19350, + "start": 19087, + "end": 19117, "loc": { "start": { - "line": 555, + "line": 551, "column": 19 }, "end": { - "line": 555, + "line": 551, "column": 49 } }, "test": { "type": "CallExpression", - "start": 19320, - "end": 19335, + "start": 19087, + "end": 19102, "loc": { "start": { - "line": 555, + "line": 551, "column": 19 }, "end": { - "line": 555, + "line": 551, "column": 34 } }, "callee": { "type": "Identifier", - "start": 19320, - "end": 19325, + "start": 19087, + "end": 19092, "loc": { "start": { - "line": 555, + "line": 551, "column": 19 }, "end": { - "line": 555, + "line": 551, "column": 24 }, "identifierName": "isNaN" @@ -81073,15 +79700,15 @@ "arguments": [ { "type": "Identifier", - "start": 19326, - "end": 19334, + "start": 19093, + "end": 19101, "loc": { "start": { - "line": 555, + "line": 551, "column": 25 }, "end": { - "line": 555, + "line": 551, "column": 33 }, "identifierName": "duration" @@ -81092,15 +79719,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 19338, - "end": 19339, + "start": 19105, + "end": 19106, "loc": { "start": { - "line": 555, + "line": 551, "column": 37 }, "end": { - "line": 555, + "line": 551, "column": 38 } }, @@ -81112,15 +79739,15 @@ }, "alternate": { "type": "Identifier", - "start": 19342, - "end": 19350, + "start": 19109, + "end": 19117, "loc": { "start": { - "line": 555, + "line": 551, "column": 41 }, "end": { - "line": 555, + "line": 551, "column": 49 }, "identifierName": "duration" @@ -81132,29 +79759,29 @@ }, { "type": "ReturnStatement", - "start": 19361, - "end": 19377, + "start": 19128, + "end": 19144, "loc": { "start": { - "line": 557, + "line": 553, "column": 8 }, "end": { - "line": 557, + "line": 553, "column": 24 } }, "argument": { "type": "Identifier", - "start": 19368, - "end": 19376, + "start": 19135, + "end": 19143, "loc": { "start": { - "line": 557, + "line": 553, "column": 15 }, "end": { - "line": 557, + "line": 553, "column": 23 }, "identifierName": "duration" @@ -81170,15 +79797,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": 19057, - "end": 19230, + "start": 18824, + "end": 18997, "loc": { "start": { - "line": 546, + "line": 542, "column": 4 }, "end": { - "line": 552, + "line": 548, "column": 7 } } @@ -81188,15 +79815,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": 19389, - "end": 19564, + "start": 19156, + "end": 19331, "loc": { "start": { - "line": 560, + "line": 556, "column": 4 }, "end": { - "line": 565, + "line": 561, "column": 7 } } @@ -81205,15 +79832,15 @@ }, { "type": "ClassMethod", - "start": 19569, - "end": 20242, + "start": 19336, + "end": 20009, "loc": { "start": { - "line": 566, + "line": 562, "column": 4 }, "end": { - "line": 580, + "line": 576, "column": 5 } }, @@ -81221,15 +79848,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 19569, - "end": 19580, + "start": 19336, + "end": 19347, "loc": { "start": { - "line": 566, + "line": 562, "column": 4 }, "end": { - "line": 566, + "line": 562, "column": 15 }, "identifierName": "setDuration" @@ -81245,15 +79872,15 @@ "params": [ { "type": "Identifier", - "start": 19581, - "end": 19589, + "start": 19348, + "end": 19356, "loc": { "start": { - "line": 566, + "line": 562, "column": 16 }, "end": { - "line": 566, + "line": 562, "column": 24 }, "identifierName": "duration" @@ -81263,58 +79890,58 @@ ], "body": { "type": "BlockStatement", - "start": 19591, - "end": 20242, + "start": 19358, + "end": 20009, "loc": { "start": { - "line": 566, + "line": 562, "column": 26 }, "end": { - "line": 580, + "line": 576, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 19601, - "end": 19690, + "start": 19368, + "end": 19457, "loc": { "start": { - "line": 567, + "line": 563, "column": 8 }, "end": { - "line": 569, + "line": 565, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 19605, - "end": 19627, + "start": 19372, + "end": 19394, "loc": { "start": { - "line": 567, + "line": 563, "column": 12 }, "end": { - "line": 567, + "line": 563, "column": 34 } }, "left": { "type": "Identifier", - "start": 19605, - "end": 19613, + "start": 19372, + "end": 19380, "loc": { "start": { - "line": 567, + "line": 563, "column": 12 }, "end": { - "line": 567, + "line": 563, "column": 20 }, "identifierName": "duration" @@ -81324,15 +79951,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 19618, - "end": 19627, + "start": 19385, + "end": 19394, "loc": { "start": { - "line": 567, + "line": 563, "column": 25 }, "end": { - "line": 567, + "line": 563, "column": 34 }, "identifierName": "undefined" @@ -81342,59 +79969,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 19629, - "end": 19690, + "start": 19396, + "end": 19457, "loc": { "start": { - "line": 567, + "line": 563, "column": 36 }, "end": { - "line": 569, + "line": 565, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 19643, - "end": 19680, + "start": 19410, + "end": 19447, "loc": { "start": { - "line": 568, + "line": 564, "column": 12 }, "end": { - "line": 568, + "line": 564, "column": 49 } }, "expression": { "type": "AssignmentExpression", - "start": 19643, - "end": 19679, + "start": 19410, + "end": 19446, "loc": { "start": { - "line": 568, + "line": 564, "column": 12 }, "end": { - "line": 568, + "line": 564, "column": 48 } }, "operator": "=", "left": { "type": "Identifier", - "start": 19643, - "end": 19651, + "start": 19410, + "end": 19418, "loc": { "start": { - "line": 568, + "line": 564, "column": 12 }, "end": { - "line": 568, + "line": 564, "column": 20 }, "identifierName": "duration" @@ -81403,72 +80030,72 @@ }, "right": { "type": "CallExpression", - "start": 19654, - "end": 19679, + "start": 19421, + "end": 19446, "loc": { "start": { - "line": 568, + "line": 564, "column": 23 }, "end": { - "line": 568, + "line": 564, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 19654, - "end": 19677, + "start": 19421, + "end": 19444, "loc": { "start": { - "line": 568, + "line": 564, "column": 23 }, "end": { - "line": 568, + "line": 564, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 19654, - "end": 19665, + "start": 19421, + "end": 19432, "loc": { "start": { - "line": 568, + "line": 564, "column": 23 }, "end": { - "line": 568, + "line": 564, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 19654, - "end": 19658, + "start": 19421, + "end": 19425, "loc": { "start": { - "line": 568, + "line": 564, "column": 23 }, "end": { - "line": 568, + "line": 564, "column": 27 } } }, "property": { "type": "Identifier", - "start": 19659, - "end": 19665, + "start": 19426, + "end": 19432, "loc": { "start": { - "line": 568, + "line": 564, "column": 28 }, "end": { - "line": 568, + "line": 564, "column": 34 }, "identifierName": "surfer" @@ -81479,15 +80106,15 @@ }, "property": { "type": "Identifier", - "start": 19666, - "end": 19677, + "start": 19433, + "end": 19444, "loc": { "start": { - "line": 568, + "line": 564, "column": 35 }, "end": { - "line": 568, + "line": 564, "column": 46 }, "identifierName": "getDuration" @@ -81507,44 +80134,44 @@ }, { "type": "ExpressionStatement", - "start": 19699, - "end": 19741, + "start": 19466, + "end": 19508, "loc": { "start": { - "line": 570, + "line": 566, "column": 8 }, "end": { - "line": 570, + "line": 566, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 19699, - "end": 19740, + "start": 19466, + "end": 19507, "loc": { "start": { - "line": 570, + "line": 566, "column": 8 }, "end": { - "line": 570, + "line": 566, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", - "start": 19699, - "end": 19707, + "start": 19466, + "end": 19474, "loc": { "start": { - "line": 570, + "line": 566, "column": 8 }, "end": { - "line": 570, + "line": 566, "column": 16 }, "identifierName": "duration" @@ -81553,43 +80180,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 19710, - "end": 19740, + "start": 19477, + "end": 19507, "loc": { "start": { - "line": 570, + "line": 566, "column": 19 }, "end": { - "line": 570, + "line": 566, "column": 49 } }, "test": { "type": "CallExpression", - "start": 19710, - "end": 19725, + "start": 19477, + "end": 19492, "loc": { "start": { - "line": 570, + "line": 566, "column": 19 }, "end": { - "line": 570, + "line": 566, "column": 34 } }, "callee": { "type": "Identifier", - "start": 19710, - "end": 19715, + "start": 19477, + "end": 19482, "loc": { "start": { - "line": 570, + "line": 566, "column": 19 }, "end": { - "line": 570, + "line": 566, "column": 24 }, "identifierName": "isNaN" @@ -81599,15 +80226,15 @@ "arguments": [ { "type": "Identifier", - "start": 19716, - "end": 19724, + "start": 19483, + "end": 19491, "loc": { "start": { - "line": 570, + "line": 566, "column": 25 }, "end": { - "line": 570, + "line": 566, "column": 33 }, "identifierName": "duration" @@ -81618,15 +80245,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 19728, - "end": 19729, + "start": 19495, + "end": 19496, "loc": { "start": { - "line": 570, + "line": 566, "column": 37 }, "end": { - "line": 570, + "line": 566, "column": 38 } }, @@ -81638,15 +80265,15 @@ }, "alternate": { "type": "Identifier", - "start": 19732, - "end": 19740, + "start": 19499, + "end": 19507, "loc": { "start": { - "line": 570, + "line": 566, "column": 41 }, "end": { - "line": 570, + "line": 566, "column": 49 }, "identifierName": "duration" @@ -81659,15 +80286,15 @@ { "type": "CommentLine", "value": " update duration display component", - "start": 19751, - "end": 19787, + "start": 19518, + "end": 19554, "loc": { "start": { - "line": 572, + "line": 568, "column": 8 }, "end": { - "line": 572, + "line": 568, "column": 44 } } @@ -81676,99 +80303,99 @@ }, { "type": "IfStatement", - "start": 19796, - "end": 20236, + "start": 19563, + "end": 20003, "loc": { "start": { - "line": 573, + "line": 569, "column": 8 }, "end": { - "line": 579, + "line": 575, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 19800, - "end": 19980, + "start": 19567, + "end": 19747, "loc": { "start": { - "line": 573, + "line": 569, "column": 12 }, "end": { - "line": 575, + "line": 571, "column": 72 } }, "left": { "type": "LogicalExpression", - "start": 19800, - "end": 19904, + "start": 19567, + "end": 19671, "loc": { "start": { - "line": 573, + "line": 569, "column": 12 }, "end": { - "line": 574, + "line": 570, "column": 62 } }, "left": { "type": "MemberExpression", - "start": 19800, - "end": 19838, + "start": 19567, + "end": 19605, "loc": { "start": { - "line": 573, + "line": 569, "column": 12 }, "end": { - "line": 573, + "line": 569, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19800, - "end": 19822, + "start": 19567, + "end": 19589, "loc": { "start": { - "line": 573, + "line": 569, "column": 12 }, "end": { - "line": 573, + "line": 569, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19800, - "end": 19811, + "start": 19567, + "end": 19578, "loc": { "start": { - "line": 573, + "line": 569, "column": 12 }, "end": { - "line": 573, + "line": 569, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19800, - "end": 19804, + "start": 19567, + "end": 19571, "loc": { "start": { - "line": 573, + "line": 569, "column": 12 }, "end": { - "line": 573, + "line": 569, "column": 16 } }, @@ -81776,15 +80403,15 @@ }, "property": { "type": "Identifier", - "start": 19805, - "end": 19811, + "start": 19572, + "end": 19578, "loc": { "start": { - "line": 573, + "line": 569, "column": 17 }, "end": { - "line": 573, + "line": 569, "column": 23 }, "identifierName": "player" @@ -81796,15 +80423,15 @@ }, "property": { "type": "Identifier", - "start": 19812, - "end": 19822, + "start": 19579, + "end": 19589, "loc": { "start": { - "line": 573, + "line": 569, "column": 24 }, "end": { - "line": 573, + "line": 569, "column": 34 }, "identifierName": "controlBar" @@ -81816,15 +80443,15 @@ }, "property": { "type": "Identifier", - "start": 19823, - "end": 19838, + "start": 19590, + "end": 19605, "loc": { "start": { - "line": 573, + "line": 569, "column": 35 }, "end": { - "line": 573, + "line": 569, "column": 50 }, "identifierName": "durationDisplay" @@ -81837,100 +80464,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 19854, - "end": 19904, + "start": 19621, + "end": 19671, "loc": { "start": { - "line": 574, + "line": 570, "column": 12 }, "end": { - "line": 574, + "line": 570, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 19854, - "end": 19902, + "start": 19621, + "end": 19669, "loc": { "start": { - "line": 574, + "line": 570, "column": 12 }, "end": { - "line": 574, + "line": 570, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 19854, - "end": 19892, + "start": 19621, + "end": 19659, "loc": { "start": { - "line": 574, + "line": 570, "column": 12 }, "end": { - "line": 574, + "line": 570, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19854, - "end": 19876, + "start": 19621, + "end": 19643, "loc": { "start": { - "line": 574, + "line": 570, "column": 12 }, "end": { - "line": 574, + "line": 570, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19854, - "end": 19865, + "start": 19621, + "end": 19632, "loc": { "start": { - "line": 574, + "line": 570, "column": 12 }, "end": { - "line": 574, + "line": 570, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19854, - "end": 19858, + "start": 19621, + "end": 19625, "loc": { "start": { - "line": 574, + "line": 570, "column": 12 }, "end": { - "line": 574, + "line": 570, "column": 16 } } }, "property": { "type": "Identifier", - "start": 19859, - "end": 19865, + "start": 19626, + "end": 19632, "loc": { "start": { - "line": 574, + "line": 570, "column": 17 }, "end": { - "line": 574, + "line": 570, "column": 23 }, "identifierName": "player" @@ -81941,15 +80568,15 @@ }, "property": { "type": "Identifier", - "start": 19866, - "end": 19876, + "start": 19633, + "end": 19643, "loc": { "start": { - "line": 574, + "line": 570, "column": 24 }, "end": { - "line": 574, + "line": 570, "column": 34 }, "identifierName": "controlBar" @@ -81960,15 +80587,15 @@ }, "property": { "type": "Identifier", - "start": 19877, - "end": 19892, + "start": 19644, + "end": 19659, "loc": { "start": { - "line": 574, + "line": 570, "column": 35 }, "end": { - "line": 574, + "line": 570, "column": 50 }, "identifierName": "durationDisplay" @@ -81979,15 +80606,15 @@ }, "property": { "type": "Identifier", - "start": 19893, - "end": 19902, + "start": 19660, + "end": 19669, "loc": { "start": { - "line": 574, + "line": 570, "column": 51 }, "end": { - "line": 574, + "line": 570, "column": 60 }, "identifierName": "contentEl" @@ -82003,114 +80630,114 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 19920, - "end": 19980, + "start": 19687, + "end": 19747, "loc": { "start": { - "line": 575, + "line": 571, "column": 12 }, "end": { - "line": 575, + "line": 571, "column": 72 } }, "object": { "type": "CallExpression", - "start": 19920, - "end": 19970, + "start": 19687, + "end": 19737, "loc": { "start": { - "line": 575, + "line": 571, "column": 12 }, "end": { - "line": 575, + "line": 571, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 19920, - "end": 19968, + "start": 19687, + "end": 19735, "loc": { "start": { - "line": 575, + "line": 571, "column": 12 }, "end": { - "line": 575, + "line": 571, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 19920, - "end": 19958, + "start": 19687, + "end": 19725, "loc": { "start": { - "line": 575, + "line": 571, "column": 12 }, "end": { - "line": 575, + "line": 571, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19920, - "end": 19942, + "start": 19687, + "end": 19709, "loc": { "start": { - "line": 575, + "line": 571, "column": 12 }, "end": { - "line": 575, + "line": 571, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19920, - "end": 19931, + "start": 19687, + "end": 19698, "loc": { "start": { - "line": 575, + "line": 571, "column": 12 }, "end": { - "line": 575, + "line": 571, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19920, - "end": 19924, + "start": 19687, + "end": 19691, "loc": { "start": { - "line": 575, + "line": 571, "column": 12 }, "end": { - "line": 575, + "line": 571, "column": 16 } } }, "property": { "type": "Identifier", - "start": 19925, - "end": 19931, + "start": 19692, + "end": 19698, "loc": { "start": { - "line": 575, + "line": 571, "column": 17 }, "end": { - "line": 575, + "line": 571, "column": 23 }, "identifierName": "player" @@ -82121,15 +80748,15 @@ }, "property": { "type": "Identifier", - "start": 19932, - "end": 19942, + "start": 19699, + "end": 19709, "loc": { "start": { - "line": 575, + "line": 571, "column": 24 }, "end": { - "line": 575, + "line": 571, "column": 34 }, "identifierName": "controlBar" @@ -82140,15 +80767,15 @@ }, "property": { "type": "Identifier", - "start": 19943, - "end": 19958, + "start": 19710, + "end": 19725, "loc": { "start": { - "line": 575, + "line": 571, "column": 35 }, "end": { - "line": 575, + "line": 571, "column": 50 }, "identifierName": "durationDisplay" @@ -82159,15 +80786,15 @@ }, "property": { "type": "Identifier", - "start": 19959, - "end": 19968, + "start": 19726, + "end": 19735, "loc": { "start": { - "line": 575, + "line": 571, "column": 51 }, "end": { - "line": 575, + "line": 571, "column": 60 }, "identifierName": "contentEl" @@ -82180,15 +80807,15 @@ }, "property": { "type": "Identifier", - "start": 19971, - "end": 19980, + "start": 19738, + "end": 19747, "loc": { "start": { - "line": 575, + "line": 571, "column": 63 }, "end": { - "line": 575, + "line": 571, "column": 72 }, "identifierName": "lastChild" @@ -82201,130 +80828,130 @@ }, "consequent": { "type": "BlockStatement", - "start": 19982, - "end": 20236, + "start": 19749, + "end": 20003, "loc": { "start": { - "line": 575, + "line": 571, "column": 74 }, "end": { - "line": 579, + "line": 575, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 19996, - "end": 20226, + "start": 19763, + "end": 19993, "loc": { "start": { - "line": 576, + "line": 572, "column": 12 }, "end": { - "line": 578, + "line": 574, "column": 83 } }, "expression": { "type": "AssignmentExpression", - "start": 19996, - "end": 20225, + "start": 19763, + "end": 19992, "loc": { "start": { - "line": 576, + "line": 572, "column": 12 }, "end": { - "line": 578, + "line": 574, "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19996, - "end": 20049, + "start": 19763, + "end": 19816, "loc": { "start": { - "line": 576, + "line": 572, "column": 12 }, "end": { - "line": 576, + "line": 572, "column": 65 } }, "object": { "type": "MemberExpression", - "start": 19996, - "end": 20034, + "start": 19763, + "end": 19801, "loc": { "start": { - "line": 576, + "line": 572, "column": 12 }, "end": { - "line": 576, + "line": 572, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 19996, - "end": 20018, + "start": 19763, + "end": 19785, "loc": { "start": { - "line": 576, + "line": 572, "column": 12 }, "end": { - "line": 576, + "line": 572, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19996, - "end": 20007, + "start": 19763, + "end": 19774, "loc": { "start": { - "line": 576, + "line": 572, "column": 12 }, "end": { - "line": 576, + "line": 572, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19996, - "end": 20000, + "start": 19763, + "end": 19767, "loc": { "start": { - "line": 576, + "line": 572, "column": 12 }, "end": { - "line": 576, + "line": 572, "column": 16 } } }, "property": { "type": "Identifier", - "start": 20001, - "end": 20007, + "start": 19768, + "end": 19774, "loc": { "start": { - "line": 576, + "line": 572, "column": 17 }, "end": { - "line": 576, + "line": 572, "column": 23 }, "identifierName": "player" @@ -82335,15 +80962,15 @@ }, "property": { "type": "Identifier", - "start": 20008, - "end": 20018, + "start": 19775, + "end": 19785, "loc": { "start": { - "line": 576, + "line": 572, "column": 24 }, "end": { - "line": 576, + "line": 572, "column": 34 }, "identifierName": "controlBar" @@ -82354,15 +80981,15 @@ }, "property": { "type": "Identifier", - "start": 20019, - "end": 20034, + "start": 19786, + "end": 19801, "loc": { "start": { - "line": 576, + "line": 572, "column": 35 }, "end": { - "line": 576, + "line": 572, "column": 50 }, "identifierName": "durationDisplay" @@ -82373,15 +81000,15 @@ }, "property": { "type": "Identifier", - "start": 20035, - "end": 20049, + "start": 19802, + "end": 19816, "loc": { "start": { - "line": 576, + "line": 572, "column": 51 }, "end": { - "line": 576, + "line": 572, "column": 65 }, "identifierName": "formattedTime_" @@ -82392,143 +81019,143 @@ }, "right": { "type": "AssignmentExpression", - "start": 20068, - "end": 20225, + "start": 19835, + "end": 19992, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 578, + "line": 574, "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 20068, - "end": 20140, + "start": 19835, + "end": 19907, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 577, + "line": 573, "column": 88 } }, "object": { "type": "MemberExpression", - "start": 20068, - "end": 20128, + "start": 19835, + "end": 19895, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 577, + "line": 573, "column": 76 } }, "object": { "type": "CallExpression", - "start": 20068, - "end": 20118, + "start": 19835, + "end": 19885, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 577, + "line": 573, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 20068, - "end": 20116, + "start": 19835, + "end": 19883, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 577, + "line": 573, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 20068, - "end": 20106, + "start": 19835, + "end": 19873, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 577, + "line": 573, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 20068, - "end": 20090, + "start": 19835, + "end": 19857, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 577, + "line": 573, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20068, - "end": 20079, + "start": 19835, + "end": 19846, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 577, + "line": 573, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20068, - "end": 20072, + "start": 19835, + "end": 19839, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 577, + "line": 573, "column": 20 } } }, "property": { "type": "Identifier", - "start": 20073, - "end": 20079, + "start": 19840, + "end": 19846, "loc": { "start": { - "line": 577, + "line": 573, "column": 21 }, "end": { - "line": 577, + "line": 573, "column": 27 }, "identifierName": "player" @@ -82539,15 +81166,15 @@ }, "property": { "type": "Identifier", - "start": 20080, - "end": 20090, + "start": 19847, + "end": 19857, "loc": { "start": { - "line": 577, + "line": 573, "column": 28 }, "end": { - "line": 577, + "line": 573, "column": 38 }, "identifierName": "controlBar" @@ -82558,15 +81185,15 @@ }, "property": { "type": "Identifier", - "start": 20091, - "end": 20106, + "start": 19858, + "end": 19873, "loc": { "start": { - "line": 577, + "line": 573, "column": 39 }, "end": { - "line": 577, + "line": 573, "column": 54 }, "identifierName": "durationDisplay" @@ -82577,15 +81204,15 @@ }, "property": { "type": "Identifier", - "start": 20107, - "end": 20116, + "start": 19874, + "end": 19883, "loc": { "start": { - "line": 577, + "line": 573, "column": 55 }, "end": { - "line": 577, + "line": 573, "column": 64 }, "identifierName": "contentEl" @@ -82598,15 +81225,15 @@ }, "property": { "type": "Identifier", - "start": 20119, - "end": 20128, + "start": 19886, + "end": 19895, "loc": { "start": { - "line": 577, + "line": 573, "column": 67 }, "end": { - "line": 577, + "line": 573, "column": 76 }, "identifierName": "lastChild" @@ -82617,15 +81244,15 @@ }, "property": { "type": "Identifier", - "start": 20129, - "end": 20140, + "start": 19896, + "end": 19907, "loc": { "start": { - "line": 577, + "line": 573, "column": 77 }, "end": { - "line": 577, + "line": 573, "column": 88 }, "identifierName": "textContent" @@ -82636,58 +81263,58 @@ }, "right": { "type": "CallExpression", - "start": 20163, - "end": 20225, + "start": 19930, + "end": 19992, "loc": { "start": { - "line": 578, + "line": 574, "column": 20 }, "end": { - "line": 578, + "line": 574, "column": 82 } }, "callee": { "type": "MemberExpression", - "start": 20163, - "end": 20179, + "start": 19930, + "end": 19946, "loc": { "start": { - "line": 578, + "line": 574, "column": 20 }, "end": { - "line": 578, + "line": 574, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 20163, - "end": 20167, + "start": 19930, + "end": 19934, "loc": { "start": { - "line": 578, + "line": 574, "column": 20 }, "end": { - "line": 578, + "line": 574, "column": 24 } } }, "property": { "type": "Identifier", - "start": 20168, - "end": 20179, + "start": 19935, + "end": 19946, "loc": { "start": { - "line": 578, + "line": 574, "column": 25 }, "end": { - "line": 578, + "line": 574, "column": 36 }, "identifierName": "_formatTime" @@ -82699,15 +81326,15 @@ "arguments": [ { "type": "Identifier", - "start": 20180, - "end": 20188, + "start": 19947, + "end": 19955, "loc": { "start": { - "line": 578, + "line": 574, "column": 37 }, "end": { - "line": 578, + "line": 574, "column": 45 }, "identifierName": "duration" @@ -82716,15 +81343,15 @@ }, { "type": "Identifier", - "start": 20190, - "end": 20198, + "start": 19957, + "end": 19965, "loc": { "start": { - "line": 578, + "line": 574, "column": 47 }, "end": { - "line": 578, + "line": 574, "column": 55 }, "identifierName": "duration" @@ -82733,44 +81360,44 @@ }, { "type": "MemberExpression", - "start": 20200, - "end": 20224, + "start": 19967, + "end": 19991, "loc": { "start": { - "line": 578, + "line": 574, "column": 57 }, "end": { - "line": 578, + "line": 574, "column": 81 } }, "object": { "type": "ThisExpression", - "start": 20200, - "end": 20204, + "start": 19967, + "end": 19971, "loc": { "start": { - "line": 578, + "line": 574, "column": 57 }, "end": { - "line": 578, + "line": 574, "column": 61 } } }, "property": { "type": "Identifier", - "start": 20205, - "end": 20224, + "start": 19972, + "end": 19991, "loc": { "start": { - "line": 578, + "line": 574, "column": 62 }, "end": { - "line": 578, + "line": 574, "column": 81 }, "identifierName": "displayMilliseconds" @@ -82792,15 +81419,15 @@ { "type": "CommentLine", "value": " update duration display component", - "start": 19751, - "end": 19787, + "start": 19518, + "end": 19554, "loc": { "start": { - "line": 572, + "line": 568, "column": 8 }, "end": { - "line": 572, + "line": 568, "column": 44 } } @@ -82815,15 +81442,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": 19389, - "end": 19564, + "start": 19156, + "end": 19331, "loc": { "start": { - "line": 560, + "line": 556, "column": 4 }, "end": { - "line": 565, + "line": 561, "column": 7 } } @@ -82833,15 +81460,15 @@ { "type": "CommentBlock", "value": "*\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n ", - "start": 20248, - "end": 20365, + "start": 20015, + "end": 20132, "loc": { "start": { - "line": 582, + "line": 578, "column": 4 }, "end": { - "line": 587, + "line": 583, "column": 7 } } @@ -82850,15 +81477,15 @@ }, { "type": "ClassMethod", - "start": 20370, - "end": 21570, + "start": 20137, + "end": 21337, "loc": { "start": { - "line": 588, + "line": 584, "column": 4 }, "end": { - "line": 627, + "line": 623, "column": 5 } }, @@ -82866,15 +81493,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 20370, - "end": 20381, + "start": 20137, + "end": 20148, "loc": { "start": { - "line": 588, + "line": 584, "column": 4 }, "end": { - "line": 588, + "line": 584, "column": 15 }, "identifierName": "onWaveReady" @@ -82890,88 +81517,88 @@ "params": [], "body": { "type": "BlockStatement", - "start": 20384, - "end": 21570, + "start": 20151, + "end": 21337, "loc": { "start": { - "line": 588, + "line": 584, "column": 18 }, "end": { - "line": 627, + "line": 623, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 20394, - "end": 20416, + "start": 20161, + "end": 20183, "loc": { "start": { - "line": 589, + "line": 585, "column": 8 }, "end": { - "line": 589, + "line": 585, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 20394, - "end": 20415, + "start": 20161, + "end": 20182, "loc": { "start": { - "line": 589, + "line": 585, "column": 8 }, "end": { - "line": 589, + "line": 585, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 20394, - "end": 20408, + "start": 20161, + "end": 20175, "loc": { "start": { - "line": 589, + "line": 585, "column": 8 }, "end": { - "line": 589, + "line": 585, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 20394, - "end": 20398, + "start": 20161, + "end": 20165, "loc": { "start": { - "line": 589, + "line": 585, "column": 8 }, "end": { - "line": 589, + "line": 585, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20399, - "end": 20408, + "start": 20166, + "end": 20175, "loc": { "start": { - "line": 589, + "line": 585, "column": 13 }, "end": { - "line": 589, + "line": 585, "column": 22 }, "identifierName": "waveReady" @@ -82982,15 +81609,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 20411, - "end": 20415, + "start": 20178, + "end": 20182, "loc": { "start": { - "line": 589, + "line": 585, "column": 25 }, "end": { - "line": 589, + "line": 585, "column": 29 } }, @@ -83000,73 +81627,73 @@ }, { "type": "ExpressionStatement", - "start": 20425, - "end": 20451, + "start": 20192, + "end": 20218, "loc": { "start": { - "line": 590, + "line": 586, "column": 8 }, "end": { - "line": 590, + "line": 586, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 20425, - "end": 20450, + "start": 20192, + "end": 20217, "loc": { "start": { - "line": 590, + "line": 586, "column": 8 }, "end": { - "line": 590, + "line": 586, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 20425, - "end": 20442, + "start": 20192, + "end": 20209, "loc": { "start": { - "line": 590, + "line": 586, "column": 8 }, "end": { - "line": 590, + "line": 586, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 20425, - "end": 20429, + "start": 20192, + "end": 20196, "loc": { "start": { - "line": 590, + "line": 586, "column": 8 }, "end": { - "line": 590, + "line": 586, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20430, - "end": 20442, + "start": 20197, + "end": 20209, "loc": { "start": { - "line": 590, + "line": 586, "column": 13 }, "end": { - "line": 590, + "line": 586, "column": 25 }, "identifierName": "waveFinished" @@ -83077,15 +81704,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 20445, - "end": 20450, + "start": 20212, + "end": 20217, "loc": { "start": { - "line": 590, + "line": 586, "column": 28 }, "end": { - "line": 590, + "line": 586, "column": 33 } }, @@ -83095,73 +81722,73 @@ }, { "type": "ExpressionStatement", - "start": 20460, - "end": 20482, + "start": 20227, + "end": 20249, "loc": { "start": { - "line": 591, + "line": 587, "column": 8 }, "end": { - "line": 591, + "line": 587, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 20460, - "end": 20481, + "start": 20227, + "end": 20248, "loc": { "start": { - "line": 591, + "line": 587, "column": 8 }, "end": { - "line": 591, + "line": 587, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 20460, - "end": 20473, + "start": 20227, + "end": 20240, "loc": { "start": { - "line": 591, + "line": 587, "column": 8 }, "end": { - "line": 591, + "line": 587, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 20460, - "end": 20464, + "start": 20227, + "end": 20231, "loc": { "start": { - "line": 591, + "line": 587, "column": 8 }, "end": { - "line": 591, + "line": 587, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20465, - "end": 20473, + "start": 20232, + "end": 20240, "loc": { "start": { - "line": 591, + "line": 587, "column": 13 }, "end": { - "line": 591, + "line": 587, "column": 21 }, "identifierName": "liveMode" @@ -83172,15 +81799,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 20476, - "end": 20481, + "start": 20243, + "end": 20248, "loc": { "start": { - "line": 591, + "line": 587, "column": 24 }, "end": { - "line": 591, + "line": 587, "column": 29 } }, @@ -83190,72 +81817,72 @@ }, { "type": "ExpressionStatement", - "start": 20492, - "end": 20522, + "start": 20259, + "end": 20289, "loc": { "start": { - "line": 593, + "line": 589, "column": 8 }, "end": { - "line": 593, + "line": 589, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 20492, - "end": 20521, + "start": 20259, + "end": 20288, "loc": { "start": { - "line": 593, + "line": 589, "column": 8 }, "end": { - "line": 593, + "line": 589, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 20492, - "end": 20500, + "start": 20259, + "end": 20267, "loc": { "start": { - "line": 593, + "line": 589, "column": 8 }, "end": { - "line": 593, + "line": 589, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 20492, - "end": 20496, + "start": 20259, + "end": 20263, "loc": { "start": { - "line": 593, + "line": 589, "column": 8 }, "end": { - "line": 593, + "line": 589, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20497, - "end": 20500, + "start": 20264, + "end": 20267, "loc": { "start": { - "line": 593, + "line": 589, "column": 13 }, "end": { - "line": 593, + "line": 589, "column": 16 }, "identifierName": "log" @@ -83267,15 +81894,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 20501, - "end": 20520, + "start": 20268, + "end": 20287, "loc": { "start": { - "line": 593, + "line": 589, "column": 17 }, "end": { - "line": 593, + "line": 589, "column": 36 } }, @@ -83290,86 +81917,86 @@ }, { "type": "ExpressionStatement", - "start": 20531, - "end": 20569, + "start": 20298, + "end": 20336, "loc": { "start": { - "line": 594, + "line": 590, "column": 8 }, "end": { - "line": 594, + "line": 590, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 20531, - "end": 20568, + "start": 20298, + "end": 20335, "loc": { "start": { - "line": 594, + "line": 590, "column": 8 }, "end": { - "line": 594, + "line": 590, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 20531, - "end": 20550, + "start": 20298, + "end": 20317, "loc": { "start": { - "line": 594, + "line": 590, "column": 8 }, "end": { - "line": 594, + "line": 590, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 20531, - "end": 20542, + "start": 20298, + "end": 20309, "loc": { "start": { - "line": 594, + "line": 590, "column": 8 }, "end": { - "line": 594, + "line": 590, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 20531, - "end": 20535, + "start": 20298, + "end": 20302, "loc": { "start": { - "line": 594, + "line": 590, "column": 8 }, "end": { - "line": 594, + "line": 590, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20536, - "end": 20542, + "start": 20303, + "end": 20309, "loc": { "start": { - "line": 594, + "line": 590, "column": 13 }, "end": { - "line": 594, + "line": 590, "column": 19 }, "identifierName": "player" @@ -83380,15 +82007,15 @@ }, "property": { "type": "Identifier", - "start": 20543, - "end": 20550, + "start": 20310, + "end": 20317, "loc": { "start": { - "line": 594, + "line": 590, "column": 20 }, "end": { - "line": 594, + "line": 590, "column": 27 }, "identifierName": "trigger" @@ -83400,29 +82027,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 20551, - "end": 20567, + "start": 20318, + "end": 20334, "loc": { "start": { - "line": 594, + "line": 590, "column": 28 }, "end": { - "line": 594, + "line": 590, "column": 44 } }, "object": { "type": "Identifier", - "start": 20551, - "end": 20556, + "start": 20318, + "end": 20323, "loc": { "start": { - "line": 594, + "line": 590, "column": 28 }, "end": { - "line": 594, + "line": 590, "column": 33 }, "identifierName": "Event" @@ -83431,15 +82058,15 @@ }, "property": { "type": "Identifier", - "start": 20557, - "end": 20567, + "start": 20324, + "end": 20334, "loc": { "start": { - "line": 594, + "line": 590, "column": 34 }, "end": { - "line": 594, + "line": 590, "column": 44 }, "identifierName": "WAVE_READY" @@ -83453,72 +82080,72 @@ }, { "type": "IfStatement", - "start": 20579, - "end": 20971, + "start": 20346, + "end": 20738, "loc": { "start": { - "line": 596, + "line": 592, "column": 8 }, "end": { - "line": 606, + "line": 602, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 20583, - "end": 20608, + "start": 20350, + "end": 20375, "loc": { "start": { - "line": 596, + "line": 592, "column": 12 }, "end": { - "line": 596, + "line": 592, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 20583, - "end": 20595, + "start": 20350, + "end": 20362, "loc": { "start": { - "line": 596, + "line": 592, "column": 12 }, "end": { - "line": 596, + "line": 592, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 20583, - "end": 20587, + "start": 20350, + "end": 20354, "loc": { "start": { - "line": 596, + "line": 592, "column": 12 }, "end": { - "line": 596, + "line": 592, "column": 16 } } }, "property": { "type": "Identifier", - "start": 20588, - "end": 20595, + "start": 20355, + "end": 20362, "loc": { "start": { - "line": 596, + "line": 592, "column": 17 }, "end": { - "line": 596, + "line": 592, "column": 24 }, "identifierName": "backend" @@ -83530,15 +82157,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 20600, - "end": 20608, + "start": 20367, + "end": 20375, "loc": { "start": { - "line": 596, + "line": 592, "column": 29 }, "end": { - "line": 596, + "line": 592, "column": 37 }, "identifierName": "WEBAUDIO" @@ -83548,72 +82175,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 20610, - "end": 20971, + "start": 20377, + "end": 20738, "loc": { "start": { - "line": 596, + "line": 592, "column": 39 }, "end": { - "line": 606, + "line": 602, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 20659, - "end": 20681, + "start": 20426, + "end": 20448, "loc": { "start": { - "line": 598, + "line": 594, "column": 12 }, "end": { - "line": 598, + "line": 594, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 20659, - "end": 20680, + "start": 20426, + "end": 20447, "loc": { "start": { - "line": 598, + "line": 594, "column": 12 }, "end": { - "line": 598, + "line": 594, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 20659, - "end": 20678, + "start": 20426, + "end": 20445, "loc": { "start": { - "line": 598, + "line": 594, "column": 12 }, "end": { - "line": 598, + "line": 594, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 20659, - "end": 20663, + "start": 20426, + "end": 20430, "loc": { "start": { - "line": 598, + "line": 594, "column": 12 }, "end": { - "line": 598, + "line": 594, "column": 16 } }, @@ -83621,15 +82248,15 @@ }, "property": { "type": "Identifier", - "start": 20664, - "end": 20678, + "start": 20431, + "end": 20445, "loc": { "start": { - "line": 598, + "line": 594, "column": 17 }, "end": { - "line": 598, + "line": 594, "column": 31 }, "identifierName": "setCurrentTime" @@ -83646,15 +82273,15 @@ { "type": "CommentLine", "value": " update time display", - "start": 20624, - "end": 20646, + "start": 20391, + "end": 20413, "loc": { "start": { - "line": 597, + "line": 593, "column": 12 }, "end": { - "line": 597, + "line": 593, "column": 34 } } @@ -83663,72 +82290,72 @@ }, { "type": "ExpressionStatement", - "start": 20694, - "end": 20713, + "start": 20461, + "end": 20480, "loc": { "start": { - "line": 599, + "line": 595, "column": 12 }, "end": { - "line": 599, + "line": 595, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 20694, - "end": 20712, + "start": 20461, + "end": 20479, "loc": { "start": { - "line": 599, + "line": 595, "column": 12 }, "end": { - "line": 599, + "line": 595, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 20694, - "end": 20710, + "start": 20461, + "end": 20477, "loc": { "start": { - "line": 599, + "line": 595, "column": 12 }, "end": { - "line": 599, + "line": 595, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 20694, - "end": 20698, + "start": 20461, + "end": 20465, "loc": { "start": { - "line": 599, + "line": 595, "column": 12 }, "end": { - "line": 599, + "line": 595, "column": 16 } } }, "property": { "type": "Identifier", - "start": 20699, - "end": 20710, + "start": 20466, + "end": 20477, "loc": { "start": { - "line": 599, + "line": 595, "column": 17 }, "end": { - "line": 599, + "line": 595, "column": 28 }, "identifierName": "setDuration" @@ -83743,15 +82370,15 @@ { "type": "CommentLine", "value": " enable and show play button", - "start": 20727, - "end": 20757, + "start": 20494, + "end": 20524, "loc": { "start": { - "line": 601, + "line": 597, "column": 12 }, "end": { - "line": 601, + "line": 597, "column": 42 } } @@ -83760,99 +82387,99 @@ }, { "type": "IfStatement", - "start": 20770, - "end": 20961, + "start": 20537, + "end": 20728, "loc": { "start": { - "line": 602, + "line": 598, "column": 12 }, "end": { - "line": 605, + "line": 601, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 20774, - "end": 20886, + "start": 20541, + "end": 20653, "loc": { "start": { - "line": 602, + "line": 598, "column": 16 }, "end": { - "line": 603, + "line": 599, "column": 61 } }, "left": { "type": "BinaryExpression", - "start": 20774, - "end": 20821, + "start": 20541, + "end": 20588, "loc": { "start": { - "line": 602, + "line": 598, "column": 16 }, "end": { - "line": 602, + "line": 598, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 20774, - "end": 20807, + "start": 20541, + "end": 20574, "loc": { "start": { - "line": 602, + "line": 598, "column": 16 }, "end": { - "line": 602, + "line": 598, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20774, - "end": 20796, + "start": 20541, + "end": 20563, "loc": { "start": { - "line": 602, + "line": 598, "column": 16 }, "end": { - "line": 602, + "line": 598, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20774, - "end": 20785, + "start": 20541, + "end": 20552, "loc": { "start": { - "line": 602, + "line": 598, "column": 16 }, "end": { - "line": 602, + "line": 598, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20774, - "end": 20778, + "start": 20541, + "end": 20545, "loc": { "start": { - "line": 602, + "line": 598, "column": 16 }, "end": { - "line": 602, + "line": 598, "column": 20 } }, @@ -83860,15 +82487,15 @@ }, "property": { "type": "Identifier", - "start": 20779, - "end": 20785, + "start": 20546, + "end": 20552, "loc": { "start": { - "line": 602, + "line": 598, "column": 21 }, "end": { - "line": 602, + "line": 598, "column": 27 }, "identifierName": "player" @@ -83880,15 +82507,15 @@ }, "property": { "type": "Identifier", - "start": 20786, - "end": 20796, + "start": 20553, + "end": 20563, "loc": { "start": { - "line": 602, + "line": 598, "column": 28 }, "end": { - "line": 602, + "line": 598, "column": 38 }, "identifierName": "controlBar" @@ -83900,15 +82527,15 @@ }, "property": { "type": "Identifier", - "start": 20797, - "end": 20807, + "start": 20564, + "end": 20574, "loc": { "start": { - "line": 602, + "line": 598, "column": 39 }, "end": { - "line": 602, + "line": 598, "column": 49 }, "identifierName": "playToggle" @@ -83921,15 +82548,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 20812, - "end": 20821, + "start": 20579, + "end": 20588, "loc": { "start": { - "line": 602, + "line": 598, "column": 54 }, "end": { - "line": 602, + "line": 598, "column": 63 }, "identifierName": "undefined" @@ -83941,100 +82568,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 20841, - "end": 20886, + "start": 20608, + "end": 20653, "loc": { "start": { - "line": 603, + "line": 599, "column": 16 }, "end": { - "line": 603, + "line": 599, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 20841, - "end": 20884, + "start": 20608, + "end": 20651, "loc": { "start": { - "line": 603, + "line": 599, "column": 16 }, "end": { - "line": 603, + "line": 599, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 20841, - "end": 20874, + "start": 20608, + "end": 20641, "loc": { "start": { - "line": 603, + "line": 599, "column": 16 }, "end": { - "line": 603, + "line": 599, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20841, - "end": 20863, + "start": 20608, + "end": 20630, "loc": { "start": { - "line": 603, + "line": 599, "column": 16 }, "end": { - "line": 603, + "line": 599, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20841, - "end": 20852, + "start": 20608, + "end": 20619, "loc": { "start": { - "line": 603, + "line": 599, "column": 16 }, "end": { - "line": 603, + "line": 599, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20841, - "end": 20845, + "start": 20608, + "end": 20612, "loc": { "start": { - "line": 603, + "line": 599, "column": 16 }, "end": { - "line": 603, + "line": 599, "column": 20 } } }, "property": { "type": "Identifier", - "start": 20846, - "end": 20852, + "start": 20613, + "end": 20619, "loc": { "start": { - "line": 603, + "line": 599, "column": 21 }, "end": { - "line": 603, + "line": 599, "column": 27 }, "identifierName": "player" @@ -84045,15 +82672,15 @@ }, "property": { "type": "Identifier", - "start": 20853, - "end": 20863, + "start": 20620, + "end": 20630, "loc": { "start": { - "line": 603, + "line": 599, "column": 28 }, "end": { - "line": 603, + "line": 599, "column": 38 }, "identifierName": "controlBar" @@ -84064,15 +82691,15 @@ }, "property": { "type": "Identifier", - "start": 20864, - "end": 20874, + "start": 20631, + "end": 20641, "loc": { "start": { - "line": 603, + "line": 599, "column": 39 }, "end": { - "line": 603, + "line": 599, "column": 49 }, "identifierName": "playToggle" @@ -84083,15 +82710,15 @@ }, "property": { "type": "Identifier", - "start": 20875, - "end": 20884, + "start": 20642, + "end": 20651, "loc": { "start": { - "line": 603, + "line": 599, "column": 50 }, "end": { - "line": 603, + "line": 599, "column": 59 }, "identifierName": "contentEl" @@ -84106,129 +82733,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 20888, - "end": 20961, + "start": 20655, + "end": 20728, "loc": { "start": { - "line": 603, + "line": 599, "column": 63 }, "end": { - "line": 605, + "line": 601, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 20906, - "end": 20947, + "start": 20673, + "end": 20714, "loc": { "start": { - "line": 604, + "line": 600, "column": 16 }, "end": { - "line": 604, + "line": 600, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 20906, - "end": 20946, + "start": 20673, + "end": 20713, "loc": { "start": { - "line": 604, + "line": 600, "column": 16 }, "end": { - "line": 604, + "line": 600, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 20906, - "end": 20944, + "start": 20673, + "end": 20711, "loc": { "start": { - "line": 604, + "line": 600, "column": 16 }, "end": { - "line": 604, + "line": 600, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 20906, - "end": 20939, + "start": 20673, + "end": 20706, "loc": { "start": { - "line": 604, + "line": 600, "column": 16 }, "end": { - "line": 604, + "line": 600, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20906, - "end": 20928, + "start": 20673, + "end": 20695, "loc": { "start": { - "line": 604, + "line": 600, "column": 16 }, "end": { - "line": 604, + "line": 600, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20906, - "end": 20917, + "start": 20673, + "end": 20684, "loc": { "start": { - "line": 604, + "line": 600, "column": 16 }, "end": { - "line": 604, + "line": 600, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20906, - "end": 20910, + "start": 20673, + "end": 20677, "loc": { "start": { - "line": 604, + "line": 600, "column": 16 }, "end": { - "line": 604, + "line": 600, "column": 20 } } }, "property": { "type": "Identifier", - "start": 20911, - "end": 20917, + "start": 20678, + "end": 20684, "loc": { "start": { - "line": 604, + "line": 600, "column": 21 }, "end": { - "line": 604, + "line": 600, "column": 27 }, "identifierName": "player" @@ -84239,15 +82866,15 @@ }, "property": { "type": "Identifier", - "start": 20918, - "end": 20928, + "start": 20685, + "end": 20695, "loc": { "start": { - "line": 604, + "line": 600, "column": 28 }, "end": { - "line": 604, + "line": 600, "column": 38 }, "identifierName": "controlBar" @@ -84258,15 +82885,15 @@ }, "property": { "type": "Identifier", - "start": 20929, - "end": 20939, + "start": 20696, + "end": 20706, "loc": { "start": { - "line": 604, + "line": 600, "column": 39 }, "end": { - "line": 604, + "line": 600, "column": 49 }, "identifierName": "playToggle" @@ -84277,15 +82904,15 @@ }, "property": { "type": "Identifier", - "start": 20940, - "end": 20944, + "start": 20707, + "end": 20711, "loc": { "start": { - "line": 604, + "line": 600, "column": 50 }, "end": { - "line": 604, + "line": 600, "column": 54 }, "identifierName": "show" @@ -84305,15 +82932,15 @@ { "type": "CommentLine", "value": " enable and show play button", - "start": 20727, - "end": 20757, + "start": 20494, + "end": 20524, "loc": { "start": { - "line": 601, + "line": 597, "column": 12 }, "end": { - "line": 601, + "line": 597, "column": 42 } } @@ -84329,15 +82956,15 @@ { "type": "CommentLine", "value": " hide loading spinner", - "start": 20981, - "end": 21004, + "start": 20748, + "end": 20771, "loc": { "start": { - "line": 608, + "line": 604, "column": 8 }, "end": { - "line": 608, + "line": 604, "column": 31 } } @@ -84346,85 +82973,85 @@ }, { "type": "IfStatement", - "start": 21013, - "end": 21115, + "start": 20780, + "end": 20882, "loc": { "start": { - "line": 609, + "line": 605, "column": 8 }, "end": { - "line": 611, + "line": 607, "column": 9 } }, "test": { "type": "CallExpression", - "start": 21017, - "end": 21055, + "start": 20784, + "end": 20822, "loc": { "start": { - "line": 609, + "line": 605, "column": 12 }, "end": { - "line": 609, + "line": 605, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 21017, - "end": 21053, + "start": 20784, + "end": 20820, "loc": { "start": { - "line": 609, + "line": 605, "column": 12 }, "end": { - "line": 609, + "line": 605, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 21017, - "end": 21043, + "start": 20784, + "end": 20810, "loc": { "start": { - "line": 609, + "line": 605, "column": 12 }, "end": { - "line": 609, + "line": 605, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 21017, - "end": 21028, + "start": 20784, + "end": 20795, "loc": { "start": { - "line": 609, + "line": 605, "column": 12 }, "end": { - "line": 609, + "line": 605, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 21017, - "end": 21021, + "start": 20784, + "end": 20788, "loc": { "start": { - "line": 609, + "line": 605, "column": 12 }, "end": { - "line": 609, + "line": 605, "column": 16 } }, @@ -84432,15 +83059,15 @@ }, "property": { "type": "Identifier", - "start": 21022, - "end": 21028, + "start": 20789, + "end": 20795, "loc": { "start": { - "line": 609, + "line": 605, "column": 17 }, "end": { - "line": 609, + "line": 605, "column": 23 }, "identifierName": "player" @@ -84452,15 +83079,15 @@ }, "property": { "type": "Identifier", - "start": 21029, - "end": 21043, + "start": 20796, + "end": 20810, "loc": { "start": { - "line": 609, + "line": 605, "column": 24 }, "end": { - "line": 609, + "line": 605, "column": 38 }, "identifierName": "loadingSpinner" @@ -84472,15 +83099,15 @@ }, "property": { "type": "Identifier", - "start": 21044, - "end": 21053, + "start": 20811, + "end": 20820, "loc": { "start": { - "line": 609, + "line": 605, "column": 39 }, "end": { - "line": 609, + "line": 605, "column": 48 }, "identifierName": "contentEl" @@ -84495,115 +83122,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 21057, - "end": 21115, + "start": 20824, + "end": 20882, "loc": { "start": { - "line": 609, + "line": 605, "column": 52 }, "end": { - "line": 611, + "line": 607, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 21071, - "end": 21105, + "start": 20838, + "end": 20872, "loc": { "start": { - "line": 610, + "line": 606, "column": 12 }, "end": { - "line": 610, + "line": 606, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 21071, - "end": 21104, + "start": 20838, + "end": 20871, "loc": { "start": { - "line": 610, + "line": 606, "column": 12 }, "end": { - "line": 610, + "line": 606, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 21071, - "end": 21102, + "start": 20838, + "end": 20869, "loc": { "start": { - "line": 610, + "line": 606, "column": 12 }, "end": { - "line": 610, + "line": 606, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 21071, - "end": 21097, + "start": 20838, + "end": 20864, "loc": { "start": { - "line": 610, + "line": 606, "column": 12 }, "end": { - "line": 610, + "line": 606, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 21071, - "end": 21082, + "start": 20838, + "end": 20849, "loc": { "start": { - "line": 610, + "line": 606, "column": 12 }, "end": { - "line": 610, + "line": 606, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 21071, - "end": 21075, + "start": 20838, + "end": 20842, "loc": { "start": { - "line": 610, + "line": 606, "column": 12 }, "end": { - "line": 610, + "line": 606, "column": 16 } } }, "property": { "type": "Identifier", - "start": 21076, - "end": 21082, + "start": 20843, + "end": 20849, "loc": { "start": { - "line": 610, + "line": 606, "column": 17 }, "end": { - "line": 610, + "line": 606, "column": 23 }, "identifierName": "player" @@ -84614,15 +83241,15 @@ }, "property": { "type": "Identifier", - "start": 21083, - "end": 21097, + "start": 20850, + "end": 20864, "loc": { "start": { - "line": 610, + "line": 606, "column": 24 }, "end": { - "line": 610, + "line": 606, "column": 38 }, "identifierName": "loadingSpinner" @@ -84633,15 +83260,15 @@ }, "property": { "type": "Identifier", - "start": 21098, - "end": 21102, + "start": 20865, + "end": 20869, "loc": { "start": { - "line": 610, + "line": 606, "column": 39 }, "end": { - "line": 610, + "line": 606, "column": 43 }, "identifierName": "hide" @@ -84662,15 +83289,15 @@ { "type": "CommentLine", "value": " hide loading spinner", - "start": 20981, - "end": 21004, + "start": 20748, + "end": 20771, "loc": { "start": { - "line": 608, + "line": 604, "column": 8 }, "end": { - "line": 608, + "line": 604, "column": 31 } } @@ -84680,15 +83307,15 @@ { "type": "CommentLine", "value": " auto-play when ready (if enabled)", - "start": 21125, - "end": 21161, + "start": 20892, + "end": 20928, "loc": { "start": { - "line": 613, + "line": 609, "column": 8 }, "end": { - "line": 613, + "line": 609, "column": 44 } } @@ -84697,85 +83324,85 @@ }, { "type": "IfStatement", - "start": 21170, - "end": 21564, + "start": 20937, + "end": 21331, "loc": { "start": { - "line": 614, + "line": 610, "column": 8 }, "end": { - "line": 626, + "line": 622, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 21174, - "end": 21212, + "start": 20941, + "end": 20979, "loc": { "start": { - "line": 614, + "line": 610, "column": 12 }, "end": { - "line": 614, + "line": 610, "column": 50 } }, "left": { "type": "MemberExpression", - "start": 21174, - "end": 21203, + "start": 20941, + "end": 20970, "loc": { "start": { - "line": 614, + "line": 610, "column": 12 }, "end": { - "line": 614, + "line": 610, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 21174, - "end": 21194, + "start": 20941, + "end": 20961, "loc": { "start": { - "line": 614, + "line": 610, "column": 12 }, "end": { - "line": 614, + "line": 610, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 21174, - "end": 21185, + "start": 20941, + "end": 20952, "loc": { "start": { - "line": 614, + "line": 610, "column": 12 }, "end": { - "line": 614, + "line": 610, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 21174, - "end": 21178, + "start": 20941, + "end": 20945, "loc": { "start": { - "line": 614, + "line": 610, "column": 12 }, "end": { - "line": 614, + "line": 610, "column": 16 } }, @@ -84783,15 +83410,15 @@ }, "property": { "type": "Identifier", - "start": 21179, - "end": 21185, + "start": 20946, + "end": 20952, "loc": { "start": { - "line": 614, + "line": 610, "column": 17 }, "end": { - "line": 614, + "line": 610, "column": 23 }, "identifierName": "player" @@ -84803,15 +83430,15 @@ }, "property": { "type": "Identifier", - "start": 21186, - "end": 21194, + "start": 20953, + "end": 20961, "loc": { "start": { - "line": 614, + "line": 610, "column": 24 }, "end": { - "line": 614, + "line": 610, "column": 32 }, "identifierName": "options_" @@ -84823,15 +83450,15 @@ }, "property": { "type": "Identifier", - "start": 21195, - "end": 21203, + "start": 20962, + "end": 20970, "loc": { "start": { - "line": 614, + "line": 610, "column": 33 }, "end": { - "line": 614, + "line": 610, "column": 41 }, "identifierName": "autoplay" @@ -84844,15 +83471,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 21208, - "end": 21212, + "start": 20975, + "end": 20979, "loc": { "start": { - "line": 614, + "line": 610, "column": 46 }, "end": { - "line": 614, + "line": 610, "column": 50 } }, @@ -84862,72 +83489,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 21214, - "end": 21564, + "start": 20981, + "end": 21331, "loc": { "start": { - "line": 614, + "line": 610, "column": 52 }, "end": { - "line": 626, + "line": 622, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 21288, - "end": 21306, + "start": 21055, + "end": 21073, "loc": { "start": { - "line": 616, + "line": 612, "column": 12 }, "end": { - "line": 616, + "line": 612, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 21288, - "end": 21305, + "start": 21055, + "end": 21072, "loc": { "start": { - "line": 616, + "line": 612, "column": 12 }, "end": { - "line": 616, + "line": 612, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 21288, - "end": 21302, + "start": 21055, + "end": 21069, "loc": { "start": { - "line": 616, + "line": 612, "column": 12 }, "end": { - "line": 616, + "line": 612, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 21288, - "end": 21292, + "start": 21055, + "end": 21059, "loc": { "start": { - "line": 616, + "line": 612, "column": 12 }, "end": { - "line": 616, + "line": 612, "column": 16 } }, @@ -84935,15 +83562,15 @@ }, "property": { "type": "Identifier", - "start": 21293, - "end": 21302, + "start": 21060, + "end": 21069, "loc": { "start": { - "line": 616, + "line": 612, "column": 17 }, "end": { - "line": 616, + "line": 612, "column": 26 }, "identifierName": "setVolume" @@ -84956,15 +83583,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 21303, - "end": 21304, + "start": 21070, + "end": 21071, "loc": { "start": { - "line": 616, + "line": 612, "column": 27 }, "end": { - "line": 616, + "line": 612, "column": 28 } }, @@ -84981,15 +83608,15 @@ { "type": "CommentLine", "value": " autoplay is only allowed when audio is muted", - "start": 21228, - "end": 21275, + "start": 20995, + "end": 21042, "loc": { "start": { - "line": 615, + "line": 611, "column": 12 }, "end": { - "line": 615, + "line": 611, "column": 59 } } @@ -84999,15 +83626,15 @@ { "type": "CommentLine", "value": " try auto-play", - "start": 21320, - "end": 21336, + "start": 21087, + "end": 21103, "loc": { "start": { - "line": 618, + "line": 614, "column": 12 }, "end": { - "line": 618, + "line": 614, "column": 28 } } @@ -85016,57 +83643,57 @@ }, { "type": "IfStatement", - "start": 21349, - "end": 21554, + "start": 21116, + "end": 21321, "loc": { "start": { - "line": 619, + "line": 615, "column": 12 }, "end": { - "line": 625, + "line": 621, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 21353, - "end": 21378, + "start": 21120, + "end": 21145, "loc": { "start": { - "line": 619, + "line": 615, "column": 16 }, "end": { - "line": 619, + "line": 615, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 21353, - "end": 21365, + "start": 21120, + "end": 21132, "loc": { "start": { - "line": 619, + "line": 615, "column": 16 }, "end": { - "line": 619, + "line": 615, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 21353, - "end": 21357, + "start": 21120, + "end": 21124, "loc": { "start": { - "line": 619, + "line": 615, "column": 16 }, "end": { - "line": 619, + "line": 615, "column": 20 } }, @@ -85074,15 +83701,15 @@ }, "property": { "type": "Identifier", - "start": 21358, - "end": 21365, + "start": 21125, + "end": 21132, "loc": { "start": { - "line": 619, + "line": 615, "column": 21 }, "end": { - "line": 619, + "line": 615, "column": 28 }, "identifierName": "backend" @@ -85095,15 +83722,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 21370, - "end": 21378, + "start": 21137, + "end": 21145, "loc": { "start": { - "line": 619, + "line": 615, "column": 33 }, "end": { - "line": 619, + "line": 615, "column": 41 }, "identifierName": "WEBAUDIO" @@ -85114,87 +83741,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 21380, - "end": 21424, + "start": 21147, + "end": 21191, "loc": { "start": { - "line": 619, + "line": 615, "column": 43 }, "end": { - "line": 621, + "line": 617, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 21398, - "end": 21410, + "start": 21165, + "end": 21177, "loc": { "start": { - "line": 620, + "line": 616, "column": 16 }, "end": { - "line": 620, + "line": 616, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 21398, - "end": 21409, + "start": 21165, + "end": 21176, "loc": { "start": { - "line": 620, + "line": 616, "column": 16 }, "end": { - "line": 620, + "line": 616, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 21398, - "end": 21407, + "start": 21165, + "end": 21174, "loc": { "start": { - "line": 620, + "line": 616, "column": 16 }, "end": { - "line": 620, + "line": 616, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 21398, - "end": 21402, + "start": 21165, + "end": 21169, "loc": { "start": { - "line": 620, + "line": 616, "column": 16 }, "end": { - "line": 620, + "line": 616, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21403, - "end": 21407, + "start": 21170, + "end": 21174, "loc": { "start": { - "line": 620, + "line": 616, "column": 21 }, "end": { - "line": 620, + "line": 616, "column": 25 }, "identifierName": "play" @@ -85211,129 +83838,129 @@ }, "alternate": { "type": "BlockStatement", - "start": 21430, - "end": 21554, + "start": 21197, + "end": 21321, "loc": { "start": { - "line": 621, + "line": 617, "column": 19 }, "end": { - "line": 625, + "line": 621, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 21448, - "end": 21540, + "start": 21215, + "end": 21307, "loc": { "start": { - "line": 622, + "line": 618, "column": 16 }, "end": { - "line": 624, + "line": 620, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 21448, - "end": 21539, + "start": 21215, + "end": 21306, "loc": { "start": { - "line": 622, + "line": 618, "column": 16 }, "end": { - "line": 624, + "line": 620, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 21448, - "end": 21472, + "start": 21215, + "end": 21239, "loc": { "start": { - "line": 622, + "line": 618, "column": 16 }, "end": { - "line": 622, + "line": 618, "column": 40 } }, "object": { "type": "CallExpression", - "start": 21448, - "end": 21466, + "start": 21215, + "end": 21233, "loc": { "start": { - "line": 622, + "line": 618, "column": 16 }, "end": { - "line": 622, + "line": 618, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 21448, - "end": 21464, + "start": 21215, + "end": 21231, "loc": { "start": { - "line": 622, + "line": 618, "column": 16 }, "end": { - "line": 622, + "line": 618, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 21448, - "end": 21459, + "start": 21215, + "end": 21226, "loc": { "start": { - "line": 622, + "line": 618, "column": 16 }, "end": { - "line": 622, + "line": 618, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 21448, - "end": 21452, + "start": 21215, + "end": 21219, "loc": { "start": { - "line": 622, + "line": 618, "column": 16 }, "end": { - "line": 622, + "line": 618, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21453, - "end": 21459, + "start": 21220, + "end": 21226, "loc": { "start": { - "line": 622, + "line": 618, "column": 21 }, "end": { - "line": 622, + "line": 618, "column": 27 }, "identifierName": "player" @@ -85344,15 +83971,15 @@ }, "property": { "type": "Identifier", - "start": 21460, - "end": 21464, + "start": 21227, + "end": 21231, "loc": { "start": { - "line": 622, + "line": 618, "column": 28 }, "end": { - "line": 622, + "line": 618, "column": 32 }, "identifierName": "play" @@ -85365,15 +83992,15 @@ }, "property": { "type": "Identifier", - "start": 21467, - "end": 21472, + "start": 21234, + "end": 21239, "loc": { "start": { - "line": 622, + "line": 618, "column": 35 }, "end": { - "line": 622, + "line": 618, "column": 40 }, "identifierName": "catch" @@ -85385,15 +84012,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 21473, - "end": 21538, + "start": 21240, + "end": 21305, "loc": { "start": { - "line": 622, + "line": 618, "column": 41 }, "end": { - "line": 624, + "line": 620, "column": 17 } }, @@ -85404,15 +84031,15 @@ "params": [ { "type": "Identifier", - "start": 21473, - "end": 21474, + "start": 21240, + "end": 21241, "loc": { "start": { - "line": 622, + "line": 618, "column": 41 }, "end": { - "line": 622, + "line": 618, "column": 42 }, "identifierName": "e" @@ -85422,87 +84049,87 @@ ], "body": { "type": "BlockStatement", - "start": 21478, - "end": 21538, + "start": 21245, + "end": 21305, "loc": { "start": { - "line": 622, + "line": 618, "column": 46 }, "end": { - "line": 624, + "line": 620, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 21500, - "end": 21520, + "start": 21267, + "end": 21287, "loc": { "start": { - "line": 623, + "line": 619, "column": 20 }, "end": { - "line": 623, + "line": 619, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 21500, - "end": 21519, + "start": 21267, + "end": 21286, "loc": { "start": { - "line": 623, + "line": 619, "column": 20 }, "end": { - "line": 623, + "line": 619, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 21500, - "end": 21516, + "start": 21267, + "end": 21283, "loc": { "start": { - "line": 623, + "line": 619, "column": 20 }, "end": { - "line": 623, + "line": 619, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 21500, - "end": 21504, + "start": 21267, + "end": 21271, "loc": { "start": { - "line": 623, + "line": 619, "column": 20 }, "end": { - "line": 623, + "line": 619, "column": 24 } } }, "property": { "type": "Identifier", - "start": 21505, - "end": 21516, + "start": 21272, + "end": 21283, "loc": { "start": { - "line": 623, + "line": 619, "column": 25 }, "end": { - "line": 623, + "line": 619, "column": 36 }, "identifierName": "onWaveError" @@ -85514,15 +84141,15 @@ "arguments": [ { "type": "Identifier", - "start": 21517, - "end": 21518, + "start": 21284, + "end": 21285, "loc": { "start": { - "line": 623, + "line": 619, "column": 37 }, "end": { - "line": 623, + "line": 619, "column": 38 }, "identifierName": "e" @@ -85546,15 +84173,15 @@ { "type": "CommentLine", "value": " try auto-play", - "start": 21320, - "end": 21336, + "start": 21087, + "end": 21103, "loc": { "start": { - "line": 618, + "line": 614, "column": 12 }, "end": { - "line": 618, + "line": 614, "column": 28 } } @@ -85569,15 +84196,15 @@ { "type": "CommentLine", "value": " auto-play when ready (if enabled)", - "start": 21125, - "end": 21161, + "start": 20892, + "end": 20928, "loc": { "start": { - "line": 613, + "line": 609, "column": 8 }, "end": { - "line": 613, + "line": 609, "column": 44 } } @@ -85592,15 +84219,15 @@ { "type": "CommentBlock", "value": "*\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n ", - "start": 20248, - "end": 20365, + "start": 20015, + "end": 20132, "loc": { "start": { - "line": 582, + "line": 578, "column": 4 }, "end": { - "line": 587, + "line": 583, "column": 7 } } @@ -85610,15 +84237,15 @@ { "type": "CommentBlock", "value": "*\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n ", - "start": 21576, - "end": 21683, + "start": 21343, + "end": 21450, "loc": { "start": { - "line": 629, + "line": 625, "column": 4 }, "end": { - "line": 634, + "line": 630, "column": 7 } } @@ -85627,15 +84254,15 @@ }, { "type": "ClassMethod", - "start": 21688, - "end": 22887, + "start": 21455, + "end": 22654, "loc": { "start": { - "line": 635, + "line": 631, "column": 4 }, "end": { - "line": 670, + "line": 666, "column": 5 } }, @@ -85643,15 +84270,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 21688, - "end": 21700, + "start": 21455, + "end": 21467, "loc": { "start": { - "line": 635, + "line": 631, "column": 4 }, "end": { - "line": 635, + "line": 631, "column": 16 }, "identifierName": "onWaveFinish" @@ -85667,87 +84294,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 21703, - "end": 22887, + "start": 21470, + "end": 22654, "loc": { "start": { - "line": 635, + "line": 631, "column": 19 }, "end": { - "line": 670, + "line": 666, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 21713, - "end": 21743, + "start": 21480, + "end": 21510, "loc": { "start": { - "line": 636, + "line": 632, "column": 8 }, "end": { - "line": 636, + "line": 632, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 21713, - "end": 21742, + "start": 21480, + "end": 21509, "loc": { "start": { - "line": 636, + "line": 632, "column": 8 }, "end": { - "line": 636, + "line": 632, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 21713, - "end": 21721, + "start": 21480, + "end": 21488, "loc": { "start": { - "line": 636, + "line": 632, "column": 8 }, "end": { - "line": 636, + "line": 632, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 21713, - "end": 21717, + "start": 21480, + "end": 21484, "loc": { "start": { - "line": 636, + "line": 632, "column": 8 }, "end": { - "line": 636, + "line": 632, "column": 12 } } }, "property": { "type": "Identifier", - "start": 21718, - "end": 21721, + "start": 21485, + "end": 21488, "loc": { "start": { - "line": 636, + "line": 632, "column": 13 }, "end": { - "line": 636, + "line": 632, "column": 16 }, "identifierName": "log" @@ -85759,15 +84386,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 21722, - "end": 21741, + "start": 21489, + "end": 21508, "loc": { "start": { - "line": 636, + "line": 632, "column": 17 }, "end": { - "line": 636, + "line": 632, "column": 36 } }, @@ -85783,15 +84410,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 21753, - "end": 21772, + "start": 21520, + "end": 21539, "loc": { "start": { - "line": 638, + "line": 634, "column": 8 }, "end": { - "line": 638, + "line": 634, "column": 27 } } @@ -85800,71 +84427,71 @@ }, { "type": "ExpressionStatement", - "start": 21781, - "end": 21824, + "start": 21548, + "end": 21591, "loc": { "start": { - "line": 639, + "line": 635, "column": 8 }, "end": { - "line": 639, + "line": 635, "column": 51 } }, "expression": { "type": "CallExpression", - "start": 21781, - "end": 21823, + "start": 21548, + "end": 21590, "loc": { "start": { - "line": 639, + "line": 635, "column": 8 }, "end": { - "line": 639, + "line": 635, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 21781, - "end": 21800, + "start": 21548, + "end": 21567, "loc": { "start": { - "line": 639, + "line": 635, "column": 8 }, "end": { - "line": 639, + "line": 635, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 21781, - "end": 21792, + "start": 21548, + "end": 21559, "loc": { "start": { - "line": 639, + "line": 635, "column": 8 }, "end": { - "line": 639, + "line": 635, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 21781, - "end": 21785, + "start": 21548, + "end": 21552, "loc": { "start": { - "line": 639, + "line": 635, "column": 8 }, "end": { - "line": 639, + "line": 635, "column": 12 } }, @@ -85872,15 +84499,15 @@ }, "property": { "type": "Identifier", - "start": 21786, - "end": 21792, + "start": 21553, + "end": 21559, "loc": { "start": { - "line": 639, + "line": 635, "column": 13 }, "end": { - "line": 639, + "line": 635, "column": 19 }, "identifierName": "player" @@ -85892,15 +84519,15 @@ }, "property": { "type": "Identifier", - "start": 21793, - "end": 21800, + "start": 21560, + "end": 21567, "loc": { "start": { - "line": 639, + "line": 635, "column": 20 }, "end": { - "line": 639, + "line": 635, "column": 27 }, "identifierName": "trigger" @@ -85913,29 +84540,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 21801, - "end": 21822, + "start": 21568, + "end": 21589, "loc": { "start": { - "line": 639, + "line": 635, "column": 28 }, "end": { - "line": 639, + "line": 635, "column": 49 } }, "object": { "type": "Identifier", - "start": 21801, - "end": 21806, + "start": 21568, + "end": 21573, "loc": { "start": { - "line": 639, + "line": 635, "column": 28 }, "end": { - "line": 639, + "line": 635, "column": 33 }, "identifierName": "Event" @@ -85944,15 +84571,15 @@ }, "property": { "type": "Identifier", - "start": 21807, - "end": 21822, + "start": 21574, + "end": 21589, "loc": { "start": { - "line": 639, + "line": 635, "column": 34 }, "end": { - "line": 639, + "line": 635, "column": 49 }, "identifierName": "PLAYBACK_FINISH" @@ -85968,15 +84595,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 21753, - "end": 21772, + "start": 21520, + "end": 21539, "loc": { "start": { - "line": 638, + "line": 634, "column": 8 }, "end": { - "line": 638, + "line": 634, "column": 27 } } @@ -85986,15 +84613,15 @@ { "type": "CommentLine", "value": " check if loop is enabled", - "start": 21834, - "end": 21861, + "start": 21601, + "end": 21628, "loc": { "start": { - "line": 641, + "line": 637, "column": 8 }, "end": { - "line": 641, + "line": 637, "column": 35 } } @@ -86003,85 +84630,85 @@ }, { "type": "IfStatement", - "start": 21870, - "end": 22881, + "start": 21637, + "end": 22648, "loc": { "start": { - "line": 642, + "line": 638, "column": 8 }, "end": { - "line": 669, + "line": 665, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 21874, - "end": 21908, + "start": 21641, + "end": 21675, "loc": { "start": { - "line": 642, + "line": 638, "column": 12 }, "end": { - "line": 642, + "line": 638, "column": 46 } }, "left": { "type": "MemberExpression", - "start": 21874, - "end": 21899, + "start": 21641, + "end": 21666, "loc": { "start": { - "line": 642, + "line": 638, "column": 12 }, "end": { - "line": 642, + "line": 638, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 21874, - "end": 21894, + "start": 21641, + "end": 21661, "loc": { "start": { - "line": 642, + "line": 638, "column": 12 }, "end": { - "line": 642, + "line": 638, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 21874, - "end": 21885, + "start": 21641, + "end": 21652, "loc": { "start": { - "line": 642, + "line": 638, "column": 12 }, "end": { - "line": 642, + "line": 638, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 21874, - "end": 21878, + "start": 21641, + "end": 21645, "loc": { "start": { - "line": 642, + "line": 638, "column": 12 }, "end": { - "line": 642, + "line": 638, "column": 16 } }, @@ -86089,15 +84716,15 @@ }, "property": { "type": "Identifier", - "start": 21879, - "end": 21885, + "start": 21646, + "end": 21652, "loc": { "start": { - "line": 642, + "line": 638, "column": 17 }, "end": { - "line": 642, + "line": 638, "column": 23 }, "identifierName": "player" @@ -86109,15 +84736,15 @@ }, "property": { "type": "Identifier", - "start": 21886, - "end": 21894, + "start": 21653, + "end": 21661, "loc": { "start": { - "line": 642, + "line": 638, "column": 24 }, "end": { - "line": 642, + "line": 638, "column": 32 }, "identifierName": "options_" @@ -86129,15 +84756,15 @@ }, "property": { "type": "Identifier", - "start": 21895, - "end": 21899, + "start": 21662, + "end": 21666, "loc": { "start": { - "line": 642, + "line": 638, "column": 33 }, "end": { - "line": 642, + "line": 638, "column": 37 }, "identifierName": "loop" @@ -86150,15 +84777,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 21904, - "end": 21908, + "start": 21671, + "end": 21675, "loc": { "start": { - "line": 642, + "line": 638, "column": 42 }, "end": { - "line": 642, + "line": 638, "column": 46 } }, @@ -86168,87 +84795,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 21910, - "end": 22079, + "start": 21677, + "end": 21846, "loc": { "start": { - "line": 642, + "line": 638, "column": 48 }, "end": { - "line": 648, + "line": 644, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 21924, - "end": 22069, + "start": 21691, + "end": 21836, "loc": { "start": { - "line": 643, + "line": 639, "column": 12 }, "end": { - "line": 647, + "line": 643, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 21928, - "end": 21953, + "start": 21695, + "end": 21720, "loc": { "start": { - "line": 643, + "line": 639, "column": 16 }, "end": { - "line": 643, + "line": 639, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 21928, - "end": 21940, + "start": 21695, + "end": 21707, "loc": { "start": { - "line": 643, + "line": 639, "column": 16 }, "end": { - "line": 643, + "line": 639, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 21928, - "end": 21932, + "start": 21695, + "end": 21699, "loc": { "start": { - "line": 643, + "line": 639, "column": 16 }, "end": { - "line": 643, + "line": 639, "column": 20 } } }, "property": { "type": "Identifier", - "start": 21933, - "end": 21940, + "start": 21700, + "end": 21707, "loc": { "start": { - "line": 643, + "line": 639, "column": 21 }, "end": { - "line": 643, + "line": 639, "column": 28 }, "identifierName": "backend" @@ -86260,15 +84887,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 21945, - "end": 21953, + "start": 21712, + "end": 21720, "loc": { "start": { - "line": 643, + "line": 639, "column": 33 }, "end": { - "line": 643, + "line": 639, "column": 41 }, "identifierName": "WEBAUDIO" @@ -86278,86 +84905,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 21955, - "end": 22069, + "start": 21722, + "end": 21836, "loc": { "start": { - "line": 643, + "line": 639, "column": 43 }, "end": { - "line": 647, + "line": 643, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 22007, - "end": 22026, + "start": 21774, + "end": 21793, "loc": { "start": { - "line": 645, + "line": 641, "column": 16 }, "end": { - "line": 645, + "line": 641, "column": 35 } }, "expression": { "type": "CallExpression", - "start": 22007, - "end": 22025, + "start": 21774, + "end": 21792, "loc": { "start": { - "line": 645, + "line": 641, "column": 16 }, "end": { - "line": 645, + "line": 641, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 22007, - "end": 22023, + "start": 21774, + "end": 21790, "loc": { "start": { - "line": 645, + "line": 641, "column": 16 }, "end": { - "line": 645, + "line": 641, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 22007, - "end": 22018, + "start": 21774, + "end": 21785, "loc": { "start": { - "line": 645, + "line": 641, "column": 16 }, "end": { - "line": 645, + "line": 641, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 22007, - "end": 22011, + "start": 21774, + "end": 21778, "loc": { "start": { - "line": 645, + "line": 641, "column": 16 }, "end": { - "line": 645, + "line": 641, "column": 20 } }, @@ -86365,15 +84992,15 @@ }, "property": { "type": "Identifier", - "start": 22012, - "end": 22018, + "start": 21779, + "end": 21785, "loc": { "start": { - "line": 645, + "line": 641, "column": 21 }, "end": { - "line": 645, + "line": 641, "column": 27 }, "identifierName": "surfer" @@ -86385,15 +85012,15 @@ }, "property": { "type": "Identifier", - "start": 22019, - "end": 22023, + "start": 21786, + "end": 21790, "loc": { "start": { - "line": 645, + "line": 641, "column": 28 }, "end": { - "line": 645, + "line": 641, "column": 32 }, "identifierName": "stop" @@ -86410,15 +85037,15 @@ { "type": "CommentLine", "value": " reset waveform", - "start": 21973, - "end": 21990, + "start": 21740, + "end": 21757, "loc": { "start": { - "line": 644, + "line": 640, "column": 16 }, "end": { - "line": 644, + "line": 640, "column": 33 } } @@ -86427,72 +85054,72 @@ }, { "type": "ExpressionStatement", - "start": 22043, - "end": 22055, + "start": 21810, + "end": 21822, "loc": { "start": { - "line": 646, + "line": 642, "column": 16 }, "end": { - "line": 646, + "line": 642, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 22043, - "end": 22054, + "start": 21810, + "end": 21821, "loc": { "start": { - "line": 646, + "line": 642, "column": 16 }, "end": { - "line": 646, + "line": 642, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 22043, - "end": 22052, + "start": 21810, + "end": 21819, "loc": { "start": { - "line": 646, + "line": 642, "column": 16 }, "end": { - "line": 646, + "line": 642, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 22043, - "end": 22047, + "start": 21810, + "end": 21814, "loc": { "start": { - "line": 646, + "line": 642, "column": 16 }, "end": { - "line": 646, + "line": 642, "column": 20 } } }, "property": { "type": "Identifier", - "start": 22048, - "end": 22052, + "start": 21815, + "end": 21819, "loc": { "start": { - "line": 646, + "line": 642, "column": 21 }, "end": { - "line": 646, + "line": 642, "column": 25 }, "identifierName": "play" @@ -86514,73 +85141,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 22085, - "end": 22881, + "start": 21852, + "end": 22648, "loc": { "start": { - "line": 648, + "line": 644, "column": 15 }, "end": { - "line": 669, + "line": 665, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 22123, - "end": 22148, + "start": 21890, + "end": 21915, "loc": { "start": { - "line": 650, + "line": 646, "column": 12 }, "end": { - "line": 650, + "line": 646, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 22123, - "end": 22147, + "start": 21890, + "end": 21914, "loc": { "start": { - "line": 650, + "line": 646, "column": 12 }, "end": { - "line": 650, + "line": 646, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 22123, - "end": 22140, + "start": 21890, + "end": 21907, "loc": { "start": { - "line": 650, + "line": 646, "column": 12 }, "end": { - "line": 650, + "line": 646, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 22123, - "end": 22127, + "start": 21890, + "end": 21894, "loc": { "start": { - "line": 650, + "line": 646, "column": 12 }, "end": { - "line": 650, + "line": 646, "column": 16 } }, @@ -86588,15 +85215,15 @@ }, "property": { "type": "Identifier", - "start": 22128, - "end": 22140, + "start": 21895, + "end": 21907, "loc": { "start": { - "line": 650, + "line": 646, "column": 17 }, "end": { - "line": 650, + "line": 646, "column": 29 }, "identifierName": "waveFinished" @@ -86608,15 +85235,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 22143, - "end": 22147, + "start": 21910, + "end": 21914, "loc": { "start": { - "line": 650, + "line": 646, "column": 32 }, "end": { - "line": 650, + "line": 646, "column": 36 } }, @@ -86628,15 +85255,15 @@ { "type": "CommentLine", "value": " finished", - "start": 22099, - "end": 22110, + "start": 21866, + "end": 21877, "loc": { "start": { - "line": 649, + "line": 645, "column": 12 }, "end": { - "line": 649, + "line": 645, "column": 23 } } @@ -86645,72 +85272,72 @@ }, { "type": "IfStatement", - "start": 22162, - "end": 22871, + "start": 21929, + "end": 22638, "loc": { "start": { - "line": 652, + "line": 648, "column": 12 }, "end": { - "line": 668, + "line": 664, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 22166, - "end": 22191, + "start": 21933, + "end": 21958, "loc": { "start": { - "line": 652, + "line": 648, "column": 16 }, "end": { - "line": 652, + "line": 648, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 22166, - "end": 22178, + "start": 21933, + "end": 21945, "loc": { "start": { - "line": 652, + "line": 648, "column": 16 }, "end": { - "line": 652, + "line": 648, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 22166, - "end": 22170, + "start": 21933, + "end": 21937, "loc": { "start": { - "line": 652, + "line": 648, "column": 16 }, "end": { - "line": 652, + "line": 648, "column": 20 } } }, "property": { "type": "Identifier", - "start": 22171, - "end": 22178, + "start": 21938, + "end": 21945, "loc": { "start": { - "line": 652, + "line": 648, "column": 21 }, "end": { - "line": 652, + "line": 648, "column": 28 }, "identifierName": "backend" @@ -86722,15 +85349,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 22183, - "end": 22191, + "start": 21950, + "end": 21958, "loc": { "start": { - "line": 652, + "line": 648, "column": 33 }, "end": { - "line": 652, + "line": 648, "column": 41 }, "identifierName": "WEBAUDIO" @@ -86740,72 +85367,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 22193, - "end": 22871, + "start": 21960, + "end": 22638, "loc": { "start": { - "line": 652, + "line": 648, "column": 43 }, "end": { - "line": 668, + "line": 664, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 22243, - "end": 22256, + "start": 22010, + "end": 22023, "loc": { "start": { - "line": 654, + "line": 650, "column": 16 }, "end": { - "line": 654, + "line": 650, "column": 29 } }, "expression": { "type": "CallExpression", - "start": 22243, - "end": 22255, + "start": 22010, + "end": 22022, "loc": { "start": { - "line": 654, + "line": 650, "column": 16 }, "end": { - "line": 654, + "line": 650, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 22243, - "end": 22253, + "start": 22010, + "end": 22020, "loc": { "start": { - "line": 654, + "line": 650, "column": 16 }, "end": { - "line": 654, + "line": 650, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 22243, - "end": 22247, + "start": 22010, + "end": 22014, "loc": { "start": { - "line": 654, + "line": 650, "column": 16 }, "end": { - "line": 654, + "line": 650, "column": 20 } }, @@ -86813,15 +85440,15 @@ }, "property": { "type": "Identifier", - "start": 22248, - "end": 22253, + "start": 22015, + "end": 22020, "loc": { "start": { - "line": 654, + "line": 650, "column": 21 }, "end": { - "line": 654, + "line": 650, "column": 26 }, "identifierName": "pause" @@ -86838,15 +85465,15 @@ { "type": "CommentLine", "value": " pause player", - "start": 22211, - "end": 22226, + "start": 21978, + "end": 21993, "loc": { "start": { - "line": 653, + "line": 649, "column": 16 }, "end": { - "line": 653, + "line": 649, "column": 31 } } @@ -86856,15 +85483,15 @@ { "type": "CommentLine", "value": " show the replay state of play toggle", - "start": 22274, - "end": 22313, + "start": 22041, + "end": 22080, "loc": { "start": { - "line": 656, + "line": 652, "column": 16 }, "end": { - "line": 656, + "line": 652, "column": 55 } } @@ -86873,71 +85500,71 @@ }, { "type": "ExpressionStatement", - "start": 22330, - "end": 22363, + "start": 22097, + "end": 22130, "loc": { "start": { - "line": 657, + "line": 653, "column": 16 }, "end": { - "line": 657, + "line": 653, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 22330, - "end": 22362, + "start": 22097, + "end": 22129, "loc": { "start": { - "line": 657, + "line": 653, "column": 16 }, "end": { - "line": 657, + "line": 653, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 22330, - "end": 22349, + "start": 22097, + "end": 22116, "loc": { "start": { - "line": 657, + "line": 653, "column": 16 }, "end": { - "line": 657, + "line": 653, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 22330, - "end": 22341, + "start": 22097, + "end": 22108, "loc": { "start": { - "line": 657, + "line": 653, "column": 16 }, "end": { - "line": 657, + "line": 653, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 22330, - "end": 22334, + "start": 22097, + "end": 22101, "loc": { "start": { - "line": 657, + "line": 653, "column": 16 }, "end": { - "line": 657, + "line": 653, "column": 20 } }, @@ -86945,15 +85572,15 @@ }, "property": { "type": "Identifier", - "start": 22335, - "end": 22341, + "start": 22102, + "end": 22108, "loc": { "start": { - "line": 657, + "line": 653, "column": 21 }, "end": { - "line": 657, + "line": 653, "column": 27 }, "identifierName": "player" @@ -86965,15 +85592,15 @@ }, "property": { "type": "Identifier", - "start": 22342, - "end": 22349, + "start": 22109, + "end": 22116, "loc": { "start": { - "line": 657, + "line": 653, "column": 28 }, "end": { - "line": 657, + "line": 653, "column": 35 }, "identifierName": "trigger" @@ -86986,29 +85613,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 22350, - "end": 22361, + "start": 22117, + "end": 22128, "loc": { "start": { - "line": 657, + "line": 653, "column": 36 }, "end": { - "line": 657, + "line": 653, "column": 47 } }, "object": { "type": "Identifier", - "start": 22350, - "end": 22355, + "start": 22117, + "end": 22122, "loc": { "start": { - "line": 657, + "line": 653, "column": 36 }, "end": { - "line": 657, + "line": 653, "column": 41 }, "identifierName": "Event" @@ -87017,15 +85644,15 @@ }, "property": { "type": "Identifier", - "start": 22356, - "end": 22361, + "start": 22123, + "end": 22128, "loc": { "start": { - "line": 657, + "line": 653, "column": 42 }, "end": { - "line": 657, + "line": 653, "column": 47 }, "identifierName": "ENDED" @@ -87041,15 +85668,15 @@ { "type": "CommentLine", "value": " show the replay state of play toggle", - "start": 22274, - "end": 22313, + "start": 22041, + "end": 22080, "loc": { "start": { - "line": 656, + "line": 652, "column": 16 }, "end": { - "line": 656, + "line": 652, "column": 55 } } @@ -87059,15 +85686,15 @@ { "type": "CommentLine", "value": " this gets called once after the clip has ended and the user", - "start": 22381, - "end": 22443, + "start": 22148, + "end": 22210, "loc": { "start": { - "line": 659, + "line": 655, "column": 16 }, "end": { - "line": 659, + "line": 655, "column": 78 } } @@ -87075,15 +85702,15 @@ { "type": "CommentLine", "value": " seeks so that we can change the replay button back to a play", - "start": 22460, - "end": 22523, + "start": 22227, + "end": 22290, "loc": { "start": { - "line": 660, + "line": 656, "column": 16 }, "end": { - "line": 660, + "line": 656, "column": 79 } } @@ -87091,15 +85718,15 @@ { "type": "CommentLine", "value": " button", - "start": 22540, - "end": 22549, + "start": 22307, + "end": 22316, "loc": { "start": { - "line": 661, + "line": 657, "column": 16 }, "end": { - "line": 661, + "line": 657, "column": 25 } } @@ -87108,71 +85735,71 @@ }, { "type": "ExpressionStatement", - "start": 22566, - "end": 22857, + "start": 22333, + "end": 22624, "loc": { "start": { - "line": 662, + "line": 658, "column": 16 }, "end": { - "line": 667, + "line": 663, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 22566, - "end": 22856, + "start": 22333, + "end": 22623, "loc": { "start": { - "line": 662, + "line": 658, "column": 16 }, "end": { - "line": 667, + "line": 663, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 22566, - "end": 22582, + "start": 22333, + "end": 22349, "loc": { "start": { - "line": 662, + "line": 658, "column": 16 }, "end": { - "line": 662, + "line": 658, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 22566, - "end": 22577, + "start": 22333, + "end": 22344, "loc": { "start": { - "line": 662, + "line": 658, "column": 16 }, "end": { - "line": 662, + "line": 658, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 22566, - "end": 22570, + "start": 22333, + "end": 22337, "loc": { "start": { - "line": 662, + "line": 658, "column": 16 }, "end": { - "line": 662, + "line": 658, "column": 20 } }, @@ -87180,15 +85807,15 @@ }, "property": { "type": "Identifier", - "start": 22571, - "end": 22577, + "start": 22338, + "end": 22344, "loc": { "start": { - "line": 662, + "line": 658, "column": 21 }, "end": { - "line": 662, + "line": 658, "column": 27 }, "identifierName": "surfer" @@ -87200,15 +85827,15 @@ }, "property": { "type": "Identifier", - "start": 22578, - "end": 22582, + "start": 22345, + "end": 22349, "loc": { "start": { - "line": 662, + "line": 658, "column": 28 }, "end": { - "line": 662, + "line": 658, "column": 32 }, "identifierName": "once" @@ -87221,29 +85848,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 22583, - "end": 22593, + "start": 22350, + "end": 22360, "loc": { "start": { - "line": 662, + "line": 658, "column": 33 }, "end": { - "line": 662, + "line": 658, "column": 43 } }, "object": { "type": "Identifier", - "start": 22583, - "end": 22588, + "start": 22350, + "end": 22355, "loc": { "start": { - "line": 662, + "line": 658, "column": 33 }, "end": { - "line": 662, + "line": 658, "column": 38 }, "identifierName": "Event" @@ -87252,15 +85879,15 @@ }, "property": { "type": "Identifier", - "start": 22589, - "end": 22593, + "start": 22356, + "end": 22360, "loc": { "start": { - "line": 662, + "line": 658, "column": 39 }, "end": { - "line": 662, + "line": 658, "column": 43 }, "identifierName": "SEEK" @@ -87271,15 +85898,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 22595, - "end": 22855, + "start": 22362, + "end": 22622, "loc": { "start": { - "line": 662, + "line": 658, "column": 45 }, "end": { - "line": 667, + "line": 663, "column": 17 } }, @@ -87290,115 +85917,115 @@ "params": [], "body": { "type": "BlockStatement", - "start": 22601, - "end": 22855, + "start": 22368, + "end": 22622, "loc": { "start": { - "line": 662, + "line": 658, "column": 51 }, "end": { - "line": 667, + "line": 663, "column": 17 } }, "body": [ { "type": "IfStatement", - "start": 22623, - "end": 22783, + "start": 22390, + "end": 22550, "loc": { "start": { - "line": 663, + "line": 659, "column": 20 }, "end": { - "line": 665, + "line": 661, "column": 21 } }, "test": { "type": "BinaryExpression", - "start": 22627, - "end": 22674, + "start": 22394, + "end": 22441, "loc": { "start": { - "line": 663, + "line": 659, "column": 24 }, "end": { - "line": 663, + "line": 659, "column": 71 } }, "left": { "type": "MemberExpression", - "start": 22627, - "end": 22660, + "start": 22394, + "end": 22427, "loc": { "start": { - "line": 663, + "line": 659, "column": 24 }, "end": { - "line": 663, + "line": 659, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 22627, - "end": 22649, + "start": 22394, + "end": 22416, "loc": { "start": { - "line": 663, + "line": 659, "column": 24 }, "end": { - "line": 663, + "line": 659, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 22627, - "end": 22638, + "start": 22394, + "end": 22405, "loc": { "start": { - "line": 663, + "line": 659, "column": 24 }, "end": { - "line": 663, + "line": 659, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 22627, - "end": 22631, + "start": 22394, + "end": 22398, "loc": { "start": { - "line": 663, + "line": 659, "column": 24 }, "end": { - "line": 663, + "line": 659, "column": 28 } } }, "property": { "type": "Identifier", - "start": 22632, - "end": 22638, + "start": 22399, + "end": 22405, "loc": { "start": { - "line": 663, + "line": 659, "column": 29 }, "end": { - "line": 663, + "line": 659, "column": 35 }, "identifierName": "player" @@ -87409,15 +86036,15 @@ }, "property": { "type": "Identifier", - "start": 22639, - "end": 22649, + "start": 22406, + "end": 22416, "loc": { "start": { - "line": 663, + "line": 659, "column": 36 }, "end": { - "line": 663, + "line": 659, "column": 46 }, "identifierName": "controlBar" @@ -87428,15 +86055,15 @@ }, "property": { "type": "Identifier", - "start": 22650, - "end": 22660, + "start": 22417, + "end": 22427, "loc": { "start": { - "line": 663, + "line": 659, "column": 47 }, "end": { - "line": 663, + "line": 659, "column": 57 }, "identifierName": "playToggle" @@ -87448,15 +86075,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 22665, - "end": 22674, + "start": 22432, + "end": 22441, "loc": { "start": { - "line": 663, + "line": 659, "column": 62 }, "end": { - "line": 663, + "line": 659, "column": 71 }, "identifierName": "undefined" @@ -87466,129 +86093,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 22676, - "end": 22783, + "start": 22443, + "end": 22550, "loc": { "start": { - "line": 663, + "line": 659, "column": 73 }, "end": { - "line": 665, + "line": 661, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 22702, - "end": 22761, + "start": 22469, + "end": 22528, "loc": { "start": { - "line": 664, + "line": 660, "column": 24 }, "end": { - "line": 664, + "line": 660, "column": 83 } }, "expression": { "type": "CallExpression", - "start": 22702, - "end": 22760, + "start": 22469, + "end": 22527, "loc": { "start": { - "line": 664, + "line": 660, "column": 24 }, "end": { - "line": 664, + "line": 660, "column": 82 } }, "callee": { "type": "MemberExpression", - "start": 22702, - "end": 22747, + "start": 22469, + "end": 22514, "loc": { "start": { - "line": 664, + "line": 660, "column": 24 }, "end": { - "line": 664, + "line": 660, "column": 69 } }, "object": { "type": "MemberExpression", - "start": 22702, - "end": 22735, + "start": 22469, + "end": 22502, "loc": { "start": { - "line": 664, + "line": 660, "column": 24 }, "end": { - "line": 664, + "line": 660, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 22702, - "end": 22724, + "start": 22469, + "end": 22491, "loc": { "start": { - "line": 664, + "line": 660, "column": 24 }, "end": { - "line": 664, + "line": 660, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 22702, - "end": 22713, + "start": 22469, + "end": 22480, "loc": { "start": { - "line": 664, + "line": 660, "column": 24 }, "end": { - "line": 664, + "line": 660, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 22702, - "end": 22706, + "start": 22469, + "end": 22473, "loc": { "start": { - "line": 664, + "line": 660, "column": 24 }, "end": { - "line": 664, + "line": 660, "column": 28 } } }, "property": { "type": "Identifier", - "start": 22707, - "end": 22713, + "start": 22474, + "end": 22480, "loc": { "start": { - "line": 664, + "line": 660, "column": 29 }, "end": { - "line": 664, + "line": 660, "column": 35 }, "identifierName": "player" @@ -87599,15 +86226,15 @@ }, "property": { "type": "Identifier", - "start": 22714, - "end": 22724, + "start": 22481, + "end": 22491, "loc": { "start": { - "line": 664, + "line": 660, "column": 36 }, "end": { - "line": 664, + "line": 660, "column": 46 }, "identifierName": "controlBar" @@ -87618,15 +86245,15 @@ }, "property": { "type": "Identifier", - "start": 22725, - "end": 22735, + "start": 22492, + "end": 22502, "loc": { "start": { - "line": 664, + "line": 660, "column": 47 }, "end": { - "line": 664, + "line": 660, "column": 57 }, "identifierName": "playToggle" @@ -87637,15 +86264,15 @@ }, "property": { "type": "Identifier", - "start": 22736, - "end": 22747, + "start": 22503, + "end": 22514, "loc": { "start": { - "line": 664, + "line": 660, "column": 58 }, "end": { - "line": 664, + "line": 660, "column": 69 }, "identifierName": "removeClass" @@ -87657,15 +86284,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 22748, - "end": 22759, + "start": 22515, + "end": 22526, "loc": { "start": { - "line": 664, + "line": 660, "column": 70 }, "end": { - "line": 664, + "line": 660, "column": 81 } }, @@ -87685,86 +86312,86 @@ }, { "type": "ExpressionStatement", - "start": 22804, - "end": 22837, + "start": 22571, + "end": 22604, "loc": { "start": { - "line": 666, + "line": 662, "column": 20 }, "end": { - "line": 666, + "line": 662, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 22804, - "end": 22836, + "start": 22571, + "end": 22603, "loc": { "start": { - "line": 666, + "line": 662, "column": 20 }, "end": { - "line": 666, + "line": 662, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 22804, - "end": 22823, + "start": 22571, + "end": 22590, "loc": { "start": { - "line": 666, + "line": 662, "column": 20 }, "end": { - "line": 666, + "line": 662, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 22804, - "end": 22815, + "start": 22571, + "end": 22582, "loc": { "start": { - "line": 666, + "line": 662, "column": 20 }, "end": { - "line": 666, + "line": 662, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 22804, - "end": 22808, + "start": 22571, + "end": 22575, "loc": { "start": { - "line": 666, + "line": 662, "column": 20 }, "end": { - "line": 666, + "line": 662, "column": 24 } } }, "property": { "type": "Identifier", - "start": 22809, - "end": 22815, + "start": 22576, + "end": 22582, "loc": { "start": { - "line": 666, + "line": 662, "column": 25 }, "end": { - "line": 666, + "line": 662, "column": 31 }, "identifierName": "player" @@ -87775,15 +86402,15 @@ }, "property": { "type": "Identifier", - "start": 22816, - "end": 22823, + "start": 22583, + "end": 22590, "loc": { "start": { - "line": 666, + "line": 662, "column": 32 }, "end": { - "line": 666, + "line": 662, "column": 39 }, "identifierName": "trigger" @@ -87795,29 +86422,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 22824, - "end": 22835, + "start": 22591, + "end": 22602, "loc": { "start": { - "line": 666, + "line": 662, "column": 40 }, "end": { - "line": 666, + "line": 662, "column": 51 } }, "object": { "type": "Identifier", - "start": 22824, - "end": 22829, + "start": 22591, + "end": 22596, "loc": { "start": { - "line": 666, + "line": 662, "column": 40 }, "end": { - "line": 666, + "line": 662, "column": 45 }, "identifierName": "Event" @@ -87826,15 +86453,15 @@ }, "property": { "type": "Identifier", - "start": 22830, - "end": 22835, + "start": 22597, + "end": 22602, "loc": { "start": { - "line": 666, + "line": 662, "column": 46 }, "end": { - "line": 666, + "line": 662, "column": 51 }, "identifierName": "PAUSE" @@ -87857,15 +86484,15 @@ { "type": "CommentLine", "value": " this gets called once after the clip has ended and the user", - "start": 22381, - "end": 22443, + "start": 22148, + "end": 22210, "loc": { "start": { - "line": 659, + "line": 655, "column": 16 }, "end": { - "line": 659, + "line": 655, "column": 78 } } @@ -87873,15 +86500,15 @@ { "type": "CommentLine", "value": " seeks so that we can change the replay button back to a play", - "start": 22460, - "end": 22523, + "start": 22227, + "end": 22290, "loc": { "start": { - "line": 660, + "line": 656, "column": 16 }, "end": { - "line": 660, + "line": 656, "column": 79 } } @@ -87889,15 +86516,15 @@ { "type": "CommentLine", "value": " button", - "start": 22540, - "end": 22549, + "start": 22307, + "end": 22316, "loc": { "start": { - "line": 661, + "line": 657, "column": 16 }, "end": { - "line": 661, + "line": 657, "column": 25 } } @@ -87916,15 +86543,15 @@ { "type": "CommentLine", "value": " check if loop is enabled", - "start": 21834, - "end": 21861, + "start": 21601, + "end": 21628, "loc": { "start": { - "line": 641, + "line": 637, "column": 8 }, "end": { - "line": 641, + "line": 637, "column": 35 } } @@ -87939,15 +86566,15 @@ { "type": "CommentBlock", "value": "*\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n ", - "start": 21576, - "end": 21683, + "start": 21343, + "end": 21450, "loc": { "start": { - "line": 629, + "line": 625, "column": 4 }, "end": { - "line": 634, + "line": 630, "column": 7 } } @@ -87957,15 +86584,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": 22893, - "end": 23045, + "start": 22660, + "end": 22812, "loc": { "start": { - "line": 672, + "line": 668, "column": 4 }, "end": { - "line": 677, + "line": 673, "column": 7 } } @@ -87974,15 +86601,15 @@ }, { "type": "ClassMethod", - "start": 23050, - "end": 23109, + "start": 22817, + "end": 22876, "loc": { "start": { - "line": 678, + "line": 674, "column": 4 }, "end": { - "line": 680, + "line": 676, "column": 5 } }, @@ -87990,15 +86617,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 23050, - "end": 23064, + "start": 22817, + "end": 22831, "loc": { "start": { - "line": 678, + "line": 674, "column": 4 }, "end": { - "line": 678, + "line": 674, "column": 18 }, "identifierName": "onWaveProgress" @@ -88014,15 +86641,15 @@ "params": [ { "type": "Identifier", - "start": 23065, - "end": 23069, + "start": 22832, + "end": 22836, "loc": { "start": { - "line": 678, + "line": 674, "column": 19 }, "end": { - "line": 678, + "line": 674, "column": 23 }, "identifierName": "time" @@ -88032,87 +86659,87 @@ ], "body": { "type": "BlockStatement", - "start": 23071, - "end": 23109, + "start": 22838, + "end": 22876, "loc": { "start": { - "line": 678, + "line": 674, "column": 25 }, "end": { - "line": 680, + "line": 676, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 23081, - "end": 23103, + "start": 22848, + "end": 22870, "loc": { "start": { - "line": 679, + "line": 675, "column": 8 }, "end": { - "line": 679, + "line": 675, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 23081, - "end": 23102, + "start": 22848, + "end": 22869, "loc": { "start": { - "line": 679, + "line": 675, "column": 8 }, "end": { - "line": 679, + "line": 675, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 23081, - "end": 23100, + "start": 22848, + "end": 22867, "loc": { "start": { - "line": 679, + "line": 675, "column": 8 }, "end": { - "line": 679, + "line": 675, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 23081, - "end": 23085, + "start": 22848, + "end": 22852, "loc": { "start": { - "line": 679, + "line": 675, "column": 8 }, "end": { - "line": 679, + "line": 675, "column": 12 } } }, "property": { "type": "Identifier", - "start": 23086, - "end": 23100, + "start": 22853, + "end": 22867, "loc": { "start": { - "line": 679, + "line": 675, "column": 13 }, "end": { - "line": 679, + "line": 675, "column": 27 }, "identifierName": "setCurrentTime" @@ -88132,15 +86759,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": 22893, - "end": 23045, + "start": 22660, + "end": 22812, "loc": { "start": { - "line": 672, + "line": 668, "column": 4 }, "end": { - "line": 677, + "line": 673, "column": 7 } } @@ -88150,15 +86777,15 @@ { "type": "CommentBlock", "value": "*\n * Fires during seeking of the waveform.\n *\n * @private\n ", - "start": 23115, - "end": 23194, + "start": 22882, + "end": 22961, "loc": { "start": { - "line": 682, + "line": 678, "column": 4 }, "end": { - "line": 686, + "line": 682, "column": 7 } } @@ -88167,15 +86794,15 @@ }, { "type": "ClassMethod", - "start": 23199, - "end": 23250, + "start": 22966, + "end": 23017, "loc": { "start": { - "line": 687, + "line": 683, "column": 4 }, "end": { - "line": 689, + "line": 685, "column": 5 } }, @@ -88183,15 +86810,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 23199, - "end": 23209, + "start": 22966, + "end": 22976, "loc": { "start": { - "line": 687, + "line": 683, "column": 4 }, "end": { - "line": 687, + "line": 683, "column": 14 }, "identifierName": "onWaveSeek" @@ -88207,87 +86834,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 23212, - "end": 23250, + "start": 22979, + "end": 23017, "loc": { "start": { - "line": 687, + "line": 683, "column": 17 }, "end": { - "line": 689, + "line": 685, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 23222, - "end": 23244, + "start": 22989, + "end": 23011, "loc": { "start": { - "line": 688, + "line": 684, "column": 8 }, "end": { - "line": 688, + "line": 684, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 23222, - "end": 23243, + "start": 22989, + "end": 23010, "loc": { "start": { - "line": 688, + "line": 684, "column": 8 }, "end": { - "line": 688, + "line": 684, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 23222, - "end": 23241, + "start": 22989, + "end": 23008, "loc": { "start": { - "line": 688, + "line": 684, "column": 8 }, "end": { - "line": 688, + "line": 684, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 23222, - "end": 23226, + "start": 22989, + "end": 22993, "loc": { "start": { - "line": 688, + "line": 684, "column": 8 }, "end": { - "line": 688, + "line": 684, "column": 12 } } }, "property": { "type": "Identifier", - "start": 23227, - "end": 23241, + "start": 22994, + "end": 23008, "loc": { "start": { - "line": 688, + "line": 684, "column": 13 }, "end": { - "line": 688, + "line": 684, "column": 27 }, "identifierName": "setCurrentTime" @@ -88307,15 +86934,15 @@ { "type": "CommentBlock", "value": "*\n * Fires during seeking of the waveform.\n *\n * @private\n ", - "start": 23115, - "end": 23194, + "start": 22882, + "end": 22961, "loc": { "start": { - "line": 682, + "line": 678, "column": 4 }, "end": { - "line": 686, + "line": 682, "column": 7 } } @@ -88325,15 +86952,15 @@ { "type": "CommentBlock", "value": "*\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n ", - "start": 23256, - "end": 23366, + "start": 23023, + "end": 23133, "loc": { "start": { - "line": 691, + "line": 687, "column": 4 }, "end": { - "line": 696, + "line": 692, "column": 7 } } @@ -88342,15 +86969,15 @@ }, { "type": "ClassMethod", - "start": 23371, - "end": 23764, + "start": 23138, + "end": 23531, "loc": { "start": { - "line": 697, + "line": 693, "column": 4 }, "end": { - "line": 708, + "line": 704, "column": 5 } }, @@ -88358,15 +86985,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 23371, - "end": 23382, + "start": 23138, + "end": 23149, "loc": { "start": { - "line": 697, + "line": 693, "column": 4 }, "end": { - "line": 697, + "line": 693, "column": 15 }, "identifierName": "onWaveError" @@ -88382,15 +87009,15 @@ "params": [ { "type": "Identifier", - "start": 23383, - "end": 23388, + "start": 23150, + "end": 23155, "loc": { "start": { - "line": 697, + "line": 693, "column": 16 }, "end": { - "line": 697, + "line": 693, "column": 21 }, "identifierName": "error" @@ -88400,86 +87027,86 @@ ], "body": { "type": "BlockStatement", - "start": 23390, - "end": 23764, + "start": 23157, + "end": 23531, "loc": { "start": { - "line": 697, + "line": 693, "column": 23 }, "end": { - "line": 708, + "line": 704, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 23428, - "end": 23758, + "start": 23195, + "end": 23525, "loc": { "start": { - "line": 699, + "line": 695, "column": 8 }, "end": { - "line": 707, + "line": 703, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 23432, - "end": 23575, + "start": 23199, + "end": 23342, "loc": { "start": { - "line": 699, + "line": 695, "column": 12 }, "end": { - "line": 700, + "line": 696, "column": 98 } }, "left": { "type": "LogicalExpression", - "start": 23432, - "end": 23473, + "start": 23199, + "end": 23240, "loc": { "start": { - "line": 699, + "line": 695, "column": 12 }, "end": { - "line": 699, + "line": 695, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 23432, - "end": 23442, + "start": 23199, + "end": 23209, "loc": { "start": { - "line": 699, + "line": 695, "column": 12 }, "end": { - "line": 699, + "line": 695, "column": 22 } }, "object": { "type": "Identifier", - "start": 23432, - "end": 23437, + "start": 23199, + "end": 23204, "loc": { "start": { - "line": 699, + "line": 695, "column": 12 }, "end": { - "line": 699, + "line": 695, "column": 17 }, "identifierName": "error" @@ -88489,15 +87116,15 @@ }, "property": { "type": "Identifier", - "start": 23438, - "end": 23442, + "start": 23205, + "end": 23209, "loc": { "start": { - "line": 699, + "line": 695, "column": 18 }, "end": { - "line": 699, + "line": 695, "column": 22 }, "identifierName": "name" @@ -88510,43 +87137,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 23446, - "end": 23473, + "start": 23213, + "end": 23240, "loc": { "start": { - "line": 699, + "line": 695, "column": 26 }, "end": { - "line": 699, + "line": 695, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 23446, - "end": 23456, + "start": 23213, + "end": 23223, "loc": { "start": { - "line": 699, + "line": 695, "column": 26 }, "end": { - "line": 699, + "line": 695, "column": 36 } }, "object": { "type": "Identifier", - "start": 23446, - "end": 23451, + "start": 23213, + "end": 23218, "loc": { "start": { - "line": 699, + "line": 695, "column": 26 }, "end": { - "line": 699, + "line": 695, "column": 31 }, "identifierName": "error" @@ -88555,15 +87182,15 @@ }, "property": { "type": "Identifier", - "start": 23452, - "end": 23456, + "start": 23219, + "end": 23223, "loc": { "start": { - "line": 699, + "line": 695, "column": 32 }, "end": { - "line": 699, + "line": 695, "column": 36 }, "identifierName": "name" @@ -88575,15 +87202,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 23461, - "end": 23473, + "start": 23228, + "end": 23240, "loc": { "start": { - "line": 699, + "line": 695, "column": 41 }, "end": { - "line": 699, + "line": 695, "column": 53 } }, @@ -88599,57 +87226,57 @@ "operator": "||", "right": { "type": "LogicalExpression", - "start": 23489, - "end": 23575, + "start": 23256, + "end": 23342, "loc": { "start": { - "line": 700, + "line": 696, "column": 12 }, "end": { - "line": 700, + "line": 696, "column": 98 } }, "left": { "type": "BinaryExpression", - "start": 23489, - "end": 23518, + "start": 23256, + "end": 23285, "loc": { "start": { - "line": 700, + "line": 696, "column": 12 }, "end": { - "line": 700, + "line": 696, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 23489, - "end": 23499, + "start": 23256, + "end": 23266, "loc": { "start": { - "line": 700, + "line": 696, "column": 12 }, "end": { - "line": 700, + "line": 696, "column": 22 } }, "object": { "type": "Identifier", - "start": 23489, - "end": 23494, + "start": 23256, + "end": 23261, "loc": { "start": { - "line": 700, + "line": 696, "column": 12 }, "end": { - "line": 700, + "line": 696, "column": 17 }, "identifierName": "error" @@ -88658,15 +87285,15 @@ }, "property": { "type": "Identifier", - "start": 23495, - "end": 23499, + "start": 23262, + "end": 23266, "loc": { "start": { - "line": 700, + "line": 696, "column": 18 }, "end": { - "line": 700, + "line": 696, "column": 22 }, "identifierName": "name" @@ -88678,15 +87305,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 23504, - "end": 23518, + "start": 23271, + "end": 23285, "loc": { "start": { - "line": 700, + "line": 696, "column": 27 }, "end": { - "line": 700, + "line": 696, "column": 41 } }, @@ -88700,57 +87327,57 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 23522, - "end": 23575, + "start": 23289, + "end": 23342, "loc": { "start": { - "line": 700, + "line": 696, "column": 45 }, "end": { - "line": 700, + "line": 696, "column": 98 } }, "callee": { "type": "MemberExpression", - "start": 23522, - "end": 23546, + "start": 23289, + "end": 23313, "loc": { "start": { - "line": 700, + "line": 696, "column": 45 }, "end": { - "line": 700, + "line": 696, "column": 69 } }, "object": { "type": "MemberExpression", - "start": 23522, - "end": 23535, + "start": 23289, + "end": 23302, "loc": { "start": { - "line": 700, + "line": 696, "column": 45 }, "end": { - "line": 700, + "line": 696, "column": 58 } }, "object": { "type": "Identifier", - "start": 23522, - "end": 23527, + "start": 23289, + "end": 23294, "loc": { "start": { - "line": 700, + "line": 696, "column": 45 }, "end": { - "line": 700, + "line": 696, "column": 50 }, "identifierName": "error" @@ -88759,15 +87386,15 @@ }, "property": { "type": "Identifier", - "start": 23528, - "end": 23535, + "start": 23295, + "end": 23302, "loc": { "start": { - "line": 700, + "line": 696, "column": 51 }, "end": { - "line": 700, + "line": 696, "column": 58 }, "identifierName": "message" @@ -88778,15 +87405,15 @@ }, "property": { "type": "Identifier", - "start": 23536, - "end": 23546, + "start": 23303, + "end": 23313, "loc": { "start": { - "line": 700, + "line": 696, "column": 59 }, "end": { - "line": 700, + "line": 696, "column": 69 }, "identifierName": "startsWith" @@ -88798,15 +87425,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23547, - "end": 23574, + "start": 23314, + "end": 23341, "loc": { "start": { - "line": 700, + "line": 696, "column": 70 }, "end": { - "line": 700, + "line": 696, "column": 97 } }, @@ -88823,101 +87450,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 23585, - "end": 23649, + "start": 23352, + "end": 23416, "loc": { "start": { - "line": 701, + "line": 697, "column": 8 }, "end": { - "line": 703, + "line": 699, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23599, - "end": 23639, + "start": 23366, + "end": 23406, "loc": { "start": { - "line": 702, + "line": 698, "column": 12 }, "end": { - "line": 702, + "line": 698, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 23599, - "end": 23638, + "start": 23366, + "end": 23405, "loc": { "start": { - "line": 702, + "line": 698, "column": 12 }, "end": { - "line": 702, + "line": 698, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 23599, - "end": 23618, + "start": 23366, + "end": 23385, "loc": { "start": { - "line": 702, + "line": 698, "column": 12 }, "end": { - "line": 702, + "line": 698, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 23599, - "end": 23610, + "start": 23366, + "end": 23377, "loc": { "start": { - "line": 702, + "line": 698, "column": 12 }, "end": { - "line": 702, + "line": 698, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23599, - "end": 23603, + "start": 23366, + "end": 23370, "loc": { "start": { - "line": 702, + "line": 698, "column": 12 }, "end": { - "line": 702, + "line": 698, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23604, - "end": 23610, + "start": 23371, + "end": 23377, "loc": { "start": { - "line": 702, + "line": 698, "column": 17 }, "end": { - "line": 702, + "line": 698, "column": 23 }, "identifierName": "player" @@ -88928,15 +87555,15 @@ }, "property": { "type": "Identifier", - "start": 23611, - "end": 23618, + "start": 23378, + "end": 23385, "loc": { "start": { - "line": 702, + "line": 698, "column": 24 }, "end": { - "line": 702, + "line": 698, "column": 31 }, "identifierName": "trigger" @@ -88948,29 +87575,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 23619, - "end": 23630, + "start": 23386, + "end": 23397, "loc": { "start": { - "line": 702, + "line": 698, "column": 32 }, "end": { - "line": 702, + "line": 698, "column": 43 } }, "object": { "type": "Identifier", - "start": 23619, - "end": 23624, + "start": 23386, + "end": 23391, "loc": { "start": { - "line": 702, + "line": 698, "column": 32 }, "end": { - "line": 702, + "line": 698, "column": 37 }, "identifierName": "Event" @@ -88979,15 +87606,15 @@ }, "property": { "type": "Identifier", - "start": 23625, - "end": 23630, + "start": 23392, + "end": 23397, "loc": { "start": { - "line": 702, + "line": 698, "column": 38 }, "end": { - "line": 702, + "line": 698, "column": 43 }, "identifierName": "ABORT" @@ -88998,15 +87625,15 @@ }, { "type": "Identifier", - "start": 23632, - "end": 23637, + "start": 23399, + "end": 23404, "loc": { "start": { - "line": 702, + "line": 698, "column": 45 }, "end": { - "line": 702, + "line": 698, "column": 50 }, "identifierName": "error" @@ -89021,101 +87648,101 @@ }, "alternate": { "type": "BlockStatement", - "start": 23655, - "end": 23758, + "start": 23422, + "end": 23525, "loc": { "start": { - "line": 703, + "line": 699, "column": 15 }, "end": { - "line": 707, + "line": 703, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 23669, - "end": 23709, + "start": 23436, + "end": 23476, "loc": { "start": { - "line": 704, + "line": 700, "column": 12 }, "end": { - "line": 704, + "line": 700, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 23669, - "end": 23708, + "start": 23436, + "end": 23475, "loc": { "start": { - "line": 704, + "line": 700, "column": 12 }, "end": { - "line": 704, + "line": 700, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 23669, - "end": 23688, + "start": 23436, + "end": 23455, "loc": { "start": { - "line": 704, + "line": 700, "column": 12 }, "end": { - "line": 704, + "line": 700, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 23669, - "end": 23680, + "start": 23436, + "end": 23447, "loc": { "start": { - "line": 704, + "line": 700, "column": 12 }, "end": { - "line": 704, + "line": 700, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23669, - "end": 23673, + "start": 23436, + "end": 23440, "loc": { "start": { - "line": 704, + "line": 700, "column": 12 }, "end": { - "line": 704, + "line": 700, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23674, - "end": 23680, + "start": 23441, + "end": 23447, "loc": { "start": { - "line": 704, + "line": 700, "column": 17 }, "end": { - "line": 704, + "line": 700, "column": 23 }, "identifierName": "player" @@ -89126,15 +87753,15 @@ }, "property": { "type": "Identifier", - "start": 23681, - "end": 23688, + "start": 23448, + "end": 23455, "loc": { "start": { - "line": 704, + "line": 700, "column": 24 }, "end": { - "line": 704, + "line": 700, "column": 31 }, "identifierName": "trigger" @@ -89146,29 +87773,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 23689, - "end": 23700, + "start": 23456, + "end": 23467, "loc": { "start": { - "line": 704, + "line": 700, "column": 32 }, "end": { - "line": 704, + "line": 700, "column": 43 } }, "object": { "type": "Identifier", - "start": 23689, - "end": 23694, + "start": 23456, + "end": 23461, "loc": { "start": { - "line": 704, + "line": 700, "column": 32 }, "end": { - "line": 704, + "line": 700, "column": 37 }, "identifierName": "Event" @@ -89177,15 +87804,15 @@ }, "property": { "type": "Identifier", - "start": 23695, - "end": 23700, + "start": 23462, + "end": 23467, "loc": { "start": { - "line": 704, + "line": 700, "column": 38 }, "end": { - "line": 704, + "line": 700, "column": 43 }, "identifierName": "ERROR" @@ -89196,15 +87823,15 @@ }, { "type": "Identifier", - "start": 23702, - "end": 23707, + "start": 23469, + "end": 23474, "loc": { "start": { - "line": 704, + "line": 700, "column": 45 }, "end": { - "line": 704, + "line": 700, "column": 50 }, "identifierName": "error" @@ -89216,72 +87843,72 @@ }, { "type": "ExpressionStatement", - "start": 23723, - "end": 23748, + "start": 23490, + "end": 23515, "loc": { "start": { - "line": 706, + "line": 702, "column": 12 }, "end": { - "line": 706, + "line": 702, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 23723, - "end": 23747, + "start": 23490, + "end": 23514, "loc": { "start": { - "line": 706, + "line": 702, "column": 12 }, "end": { - "line": 706, + "line": 702, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 23723, - "end": 23731, + "start": 23490, + "end": 23498, "loc": { "start": { - "line": 706, + "line": 702, "column": 12 }, "end": { - "line": 706, + "line": 702, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 23723, - "end": 23727, + "start": 23490, + "end": 23494, "loc": { "start": { - "line": 706, + "line": 702, "column": 12 }, "end": { - "line": 706, + "line": 702, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23728, - "end": 23731, + "start": 23495, + "end": 23498, "loc": { "start": { - "line": 706, + "line": 702, "column": 17 }, "end": { - "line": 706, + "line": 702, "column": 20 }, "identifierName": "log" @@ -89293,15 +87920,15 @@ "arguments": [ { "type": "Identifier", - "start": 23732, - "end": 23737, + "start": 23499, + "end": 23504, "loc": { "start": { - "line": 706, + "line": 702, "column": 21 }, "end": { - "line": 706, + "line": 702, "column": 26 }, "identifierName": "error" @@ -89310,15 +87937,15 @@ }, { "type": "StringLiteral", - "start": 23739, - "end": 23746, + "start": 23506, + "end": 23513, "loc": { "start": { - "line": 706, + "line": 702, "column": 28 }, "end": { - "line": 706, + "line": 702, "column": 35 } }, @@ -89338,15 +87965,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 23400, - "end": 23419, + "start": 23167, + "end": 23186, "loc": { "start": { - "line": 698, + "line": 694, "column": 8 }, "end": { - "line": 698, + "line": 694, "column": 27 } } @@ -89361,15 +87988,15 @@ { "type": "CommentBlock", "value": "*\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n ", - "start": 23256, - "end": 23366, + "start": 23023, + "end": 23133, "loc": { "start": { - "line": 691, + "line": 687, "column": 4 }, "end": { - "line": 696, + "line": 692, "column": 7 } } @@ -89379,15 +88006,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the play toggle is clicked.\n * @private\n ", - "start": 23770, - "end": 23843, + "start": 23537, + "end": 23610, "loc": { "start": { - "line": 710, + "line": 706, "column": 4 }, "end": { - "line": 713, + "line": 709, "column": 7 } } @@ -89396,15 +88023,15 @@ }, { "type": "ClassMethod", - "start": 23848, - "end": 24203, + "start": 23615, + "end": 23970, "loc": { "start": { - "line": 714, + "line": 710, "column": 4 }, "end": { - "line": 724, + "line": 720, "column": 5 } }, @@ -89412,15 +88039,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 23848, - "end": 23860, + "start": 23615, + "end": 23627, "loc": { "start": { - "line": 714, + "line": 710, "column": 4 }, "end": { - "line": 714, + "line": 710, "column": 16 }, "identifierName": "onPlayToggle" @@ -89436,129 +88063,129 @@ "params": [], "body": { "type": "BlockStatement", - "start": 23863, - "end": 24203, + "start": 23630, + "end": 23970, "loc": { "start": { - "line": 714, + "line": 710, "column": 19 }, "end": { - "line": 724, + "line": 720, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 23873, - "end": 24080, + "start": 23640, + "end": 23847, "loc": { "start": { - "line": 715, + "line": 711, "column": 8 }, "end": { - "line": 718, + "line": 714, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 23877, - "end": 23995, + "start": 23644, + "end": 23762, "loc": { "start": { - "line": 715, + "line": 711, "column": 12 }, "end": { - "line": 716, + "line": 712, "column": 67 } }, "left": { "type": "BinaryExpression", - "start": 23877, - "end": 23924, + "start": 23644, + "end": 23691, "loc": { "start": { - "line": 715, + "line": 711, "column": 12 }, "end": { - "line": 715, + "line": 711, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 23877, - "end": 23910, + "start": 23644, + "end": 23677, "loc": { "start": { - "line": 715, + "line": 711, "column": 12 }, "end": { - "line": 715, + "line": 711, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 23877, - "end": 23899, + "start": 23644, + "end": 23666, "loc": { "start": { - "line": 715, + "line": 711, "column": 12 }, "end": { - "line": 715, + "line": 711, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 23877, - "end": 23888, + "start": 23644, + "end": 23655, "loc": { "start": { - "line": 715, + "line": 711, "column": 12 }, "end": { - "line": 715, + "line": 711, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23877, - "end": 23881, + "start": 23644, + "end": 23648, "loc": { "start": { - "line": 715, + "line": 711, "column": 12 }, "end": { - "line": 715, + "line": 711, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23882, - "end": 23888, + "start": 23649, + "end": 23655, "loc": { "start": { - "line": 715, + "line": 711, "column": 17 }, "end": { - "line": 715, + "line": 711, "column": 23 }, "identifierName": "player" @@ -89569,15 +88196,15 @@ }, "property": { "type": "Identifier", - "start": 23889, - "end": 23899, + "start": 23656, + "end": 23666, "loc": { "start": { - "line": 715, + "line": 711, "column": 24 }, "end": { - "line": 715, + "line": 711, "column": 34 }, "identifierName": "controlBar" @@ -89588,15 +88215,15 @@ }, "property": { "type": "Identifier", - "start": 23900, - "end": 23910, + "start": 23667, + "end": 23677, "loc": { "start": { - "line": 715, + "line": 711, "column": 35 }, "end": { - "line": 715, + "line": 711, "column": 45 }, "identifierName": "playToggle" @@ -89608,15 +88235,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 23915, - "end": 23924, + "start": 23682, + "end": 23691, "loc": { "start": { - "line": 715, + "line": 711, "column": 50 }, "end": { - "line": 715, + "line": 711, "column": 59 }, "identifierName": "undefined" @@ -89627,100 +88254,100 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 23940, - "end": 23995, + "start": 23707, + "end": 23762, "loc": { "start": { - "line": 716, + "line": 712, "column": 12 }, "end": { - "line": 716, + "line": 712, "column": 67 } }, "callee": { "type": "MemberExpression", - "start": 23940, - "end": 23982, + "start": 23707, + "end": 23749, "loc": { "start": { - "line": 716, + "line": 712, "column": 12 }, "end": { - "line": 716, + "line": 712, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 23940, - "end": 23973, + "start": 23707, + "end": 23740, "loc": { "start": { - "line": 716, + "line": 712, "column": 12 }, "end": { - "line": 716, + "line": 712, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 23940, - "end": 23962, + "start": 23707, + "end": 23729, "loc": { "start": { - "line": 716, + "line": 712, "column": 12 }, "end": { - "line": 716, + "line": 712, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 23940, - "end": 23951, + "start": 23707, + "end": 23718, "loc": { "start": { - "line": 716, + "line": 712, "column": 12 }, "end": { - "line": 716, + "line": 712, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 23940, - "end": 23944, + "start": 23707, + "end": 23711, "loc": { "start": { - "line": 716, + "line": 712, "column": 12 }, "end": { - "line": 716, + "line": 712, "column": 16 } } }, "property": { "type": "Identifier", - "start": 23945, - "end": 23951, + "start": 23712, + "end": 23718, "loc": { "start": { - "line": 716, + "line": 712, "column": 17 }, "end": { - "line": 716, + "line": 712, "column": 23 }, "identifierName": "player" @@ -89731,15 +88358,15 @@ }, "property": { "type": "Identifier", - "start": 23952, - "end": 23962, + "start": 23719, + "end": 23729, "loc": { "start": { - "line": 716, + "line": 712, "column": 24 }, "end": { - "line": 716, + "line": 712, "column": 34 }, "identifierName": "controlBar" @@ -89750,15 +88377,15 @@ }, "property": { "type": "Identifier", - "start": 23963, - "end": 23973, + "start": 23730, + "end": 23740, "loc": { "start": { - "line": 716, + "line": 712, "column": 35 }, "end": { - "line": 716, + "line": 712, "column": 45 }, "identifierName": "playToggle" @@ -89769,15 +88396,15 @@ }, "property": { "type": "Identifier", - "start": 23974, - "end": 23982, + "start": 23741, + "end": 23749, "loc": { "start": { - "line": 716, + "line": 712, "column": 46 }, "end": { - "line": 716, + "line": 712, "column": 54 }, "identifierName": "hasClass" @@ -89789,15 +88416,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23983, - "end": 23994, + "start": 23750, + "end": 23761, "loc": { "start": { - "line": 716, + "line": 712, "column": 55 }, "end": { - "line": 716, + "line": 712, "column": 66 } }, @@ -89812,129 +88439,129 @@ }, "consequent": { "type": "BlockStatement", - "start": 23997, - "end": 24080, + "start": 23764, + "end": 23847, "loc": { "start": { - "line": 716, + "line": 712, "column": 69 }, "end": { - "line": 718, + "line": 714, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 24011, - "end": 24070, + "start": 23778, + "end": 23837, "loc": { "start": { - "line": 717, + "line": 713, "column": 12 }, "end": { - "line": 717, + "line": 713, "column": 71 } }, "expression": { "type": "CallExpression", - "start": 24011, - "end": 24069, + "start": 23778, + "end": 23836, "loc": { "start": { - "line": 717, + "line": 713, "column": 12 }, "end": { - "line": 717, + "line": 713, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 24011, - "end": 24056, + "start": 23778, + "end": 23823, "loc": { "start": { - "line": 717, + "line": 713, "column": 12 }, "end": { - "line": 717, + "line": 713, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 24011, - "end": 24044, + "start": 23778, + "end": 23811, "loc": { "start": { - "line": 717, + "line": 713, "column": 12 }, "end": { - "line": 717, + "line": 713, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 24011, - "end": 24033, + "start": 23778, + "end": 23800, "loc": { "start": { - "line": 717, + "line": 713, "column": 12 }, "end": { - "line": 717, + "line": 713, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 24011, - "end": 24022, + "start": 23778, + "end": 23789, "loc": { "start": { - "line": 717, + "line": 713, "column": 12 }, "end": { - "line": 717, + "line": 713, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 24011, - "end": 24015, + "start": 23778, + "end": 23782, "loc": { "start": { - "line": 717, + "line": 713, "column": 12 }, "end": { - "line": 717, + "line": 713, "column": 16 } } }, "property": { "type": "Identifier", - "start": 24016, - "end": 24022, + "start": 23783, + "end": 23789, "loc": { "start": { - "line": 717, + "line": 713, "column": 17 }, "end": { - "line": 717, + "line": 713, "column": 23 }, "identifierName": "player" @@ -89945,15 +88572,15 @@ }, "property": { "type": "Identifier", - "start": 24023, - "end": 24033, + "start": 23790, + "end": 23800, "loc": { "start": { - "line": 717, + "line": 713, "column": 24 }, "end": { - "line": 717, + "line": 713, "column": 34 }, "identifierName": "controlBar" @@ -89964,15 +88591,15 @@ }, "property": { "type": "Identifier", - "start": 24034, - "end": 24044, + "start": 23801, + "end": 23811, "loc": { "start": { - "line": 717, + "line": 713, "column": 35 }, "end": { - "line": 717, + "line": 713, "column": 45 }, "identifierName": "playToggle" @@ -89983,15 +88610,15 @@ }, "property": { "type": "Identifier", - "start": 24045, - "end": 24056, + "start": 23812, + "end": 23823, "loc": { "start": { - "line": 717, + "line": 713, "column": 46 }, "end": { - "line": 717, + "line": 713, "column": 57 }, "identifierName": "removeClass" @@ -90003,15 +88630,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 24057, - "end": 24068, + "start": 23824, + "end": 23835, "loc": { "start": { - "line": 717, + "line": 713, "column": 58 }, "end": { - "line": 717, + "line": 713, "column": 69 } }, @@ -90031,86 +88658,86 @@ }, { "type": "IfStatement", - "start": 24089, - "end": 24197, + "start": 23856, + "end": 23964, "loc": { "start": { - "line": 719, + "line": 715, "column": 8 }, "end": { - "line": 723, + "line": 719, "column": 9 } }, "test": { "type": "CallExpression", - "start": 24093, - "end": 24116, + "start": 23860, + "end": 23883, "loc": { "start": { - "line": 719, + "line": 715, "column": 12 }, "end": { - "line": 719, + "line": 715, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 24093, - "end": 24114, + "start": 23860, + "end": 23881, "loc": { "start": { - "line": 719, + "line": 715, "column": 12 }, "end": { - "line": 719, + "line": 715, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 24093, - "end": 24104, + "start": 23860, + "end": 23871, "loc": { "start": { - "line": 719, + "line": 715, "column": 12 }, "end": { - "line": 719, + "line": 715, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 24093, - "end": 24097, + "start": 23860, + "end": 23864, "loc": { "start": { - "line": 719, + "line": 715, "column": 12 }, "end": { - "line": 719, + "line": 715, "column": 16 } } }, "property": { "type": "Identifier", - "start": 24098, - "end": 24104, + "start": 23865, + "end": 23871, "loc": { "start": { - "line": 719, + "line": 715, "column": 17 }, "end": { - "line": 719, + "line": 715, "column": 23 }, "identifierName": "surfer" @@ -90121,15 +88748,15 @@ }, "property": { "type": "Identifier", - "start": 24105, - "end": 24114, + "start": 23872, + "end": 23881, "loc": { "start": { - "line": 719, + "line": 715, "column": 24 }, "end": { - "line": 719, + "line": 715, "column": 33 }, "identifierName": "isPlaying" @@ -90142,87 +88769,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 24118, - "end": 24155, + "start": 23885, + "end": 23922, "loc": { "start": { - "line": 719, + "line": 715, "column": 37 }, "end": { - "line": 721, + "line": 717, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 24132, - "end": 24145, + "start": 23899, + "end": 23912, "loc": { "start": { - "line": 720, + "line": 716, "column": 12 }, "end": { - "line": 720, + "line": 716, "column": 25 } }, "expression": { "type": "CallExpression", - "start": 24132, - "end": 24144, + "start": 23899, + "end": 23911, "loc": { "start": { - "line": 720, + "line": 716, "column": 12 }, "end": { - "line": 720, + "line": 716, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 24132, - "end": 24142, + "start": 23899, + "end": 23909, "loc": { "start": { - "line": 720, + "line": 716, "column": 12 }, "end": { - "line": 720, + "line": 716, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 24132, - "end": 24136, + "start": 23899, + "end": 23903, "loc": { "start": { - "line": 720, + "line": 716, "column": 12 }, "end": { - "line": 720, + "line": 716, "column": 16 } } }, "property": { "type": "Identifier", - "start": 24137, - "end": 24142, + "start": 23904, + "end": 23909, "loc": { "start": { - "line": 720, + "line": 716, "column": 17 }, "end": { - "line": 720, + "line": 716, "column": 22 }, "identifierName": "pause" @@ -90239,87 +88866,87 @@ }, "alternate": { "type": "BlockStatement", - "start": 24161, - "end": 24197, + "start": 23928, + "end": 23964, "loc": { "start": { - "line": 721, + "line": 717, "column": 15 }, "end": { - "line": 723, + "line": 719, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 24175, - "end": 24187, + "start": 23942, + "end": 23954, "loc": { "start": { - "line": 722, + "line": 718, "column": 12 }, "end": { - "line": 722, + "line": 718, "column": 24 } }, "expression": { "type": "CallExpression", - "start": 24175, - "end": 24186, + "start": 23942, + "end": 23953, "loc": { "start": { - "line": 722, + "line": 718, "column": 12 }, "end": { - "line": 722, + "line": 718, "column": 23 } }, "callee": { "type": "MemberExpression", - "start": 24175, - "end": 24184, + "start": 23942, + "end": 23951, "loc": { "start": { - "line": 722, + "line": 718, "column": 12 }, "end": { - "line": 722, + "line": 718, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 24175, - "end": 24179, + "start": 23942, + "end": 23946, "loc": { "start": { - "line": 722, + "line": 718, "column": 12 }, "end": { - "line": 722, + "line": 718, "column": 16 } } }, "property": { "type": "Identifier", - "start": 24180, - "end": 24184, + "start": 23947, + "end": 23951, "loc": { "start": { - "line": 722, + "line": 718, "column": 17 }, "end": { - "line": 722, + "line": 718, "column": 21 }, "identifierName": "play" @@ -90343,15 +88970,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the play toggle is clicked.\n * @private\n ", - "start": 23770, - "end": 23843, + "start": 23537, + "end": 23610, "loc": { "start": { - "line": 710, + "line": 706, "column": 4 }, "end": { - "line": 713, + "line": 709, "column": 7 } } @@ -90361,15 +88988,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the volume in the video.js player changes.\n * @private\n ", - "start": 24209, - "end": 24297, + "start": 23976, + "end": 24064, "loc": { "start": { - "line": 726, + "line": 722, "column": 4 }, "end": { - "line": 729, + "line": 725, "column": 7 } } @@ -90378,15 +89005,15 @@ }, { "type": "ClassMethod", - "start": 24302, - "end": 24545, + "start": 24069, + "end": 24312, "loc": { "start": { - "line": 730, + "line": 726, "column": 4 }, "end": { - "line": 739, + "line": 735, "column": 5 } }, @@ -90394,15 +89021,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 24302, - "end": 24316, + "start": 24069, + "end": 24083, "loc": { "start": { - "line": 730, + "line": 726, "column": 4 }, "end": { - "line": 730, + "line": 726, "column": 18 }, "identifierName": "onVolumeChange" @@ -90418,59 +89045,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 24319, - "end": 24545, + "start": 24086, + "end": 24312, "loc": { "start": { - "line": 730, + "line": 726, "column": 21 }, "end": { - "line": 739, + "line": 735, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 24329, - "end": 24363, + "start": 24096, + "end": 24130, "loc": { "start": { - "line": 731, + "line": 727, "column": 8 }, "end": { - "line": 731, + "line": 727, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24333, - "end": 24362, + "start": 24100, + "end": 24129, "loc": { "start": { - "line": 731, + "line": 727, "column": 12 }, "end": { - "line": 731, + "line": 727, "column": 41 } }, "id": { "type": "Identifier", - "start": 24333, - "end": 24339, + "start": 24100, + "end": 24106, "loc": { "start": { - "line": 731, + "line": 727, "column": 12 }, "end": { - "line": 731, + "line": 727, "column": 18 }, "identifierName": "volume" @@ -90479,72 +89106,72 @@ }, "init": { "type": "CallExpression", - "start": 24342, - "end": 24362, + "start": 24109, + "end": 24129, "loc": { "start": { - "line": 731, + "line": 727, "column": 21 }, "end": { - "line": 731, + "line": 727, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 24342, - "end": 24360, + "start": 24109, + "end": 24127, "loc": { "start": { - "line": 731, + "line": 727, "column": 21 }, "end": { - "line": 731, + "line": 727, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 24342, - "end": 24353, + "start": 24109, + "end": 24120, "loc": { "start": { - "line": 731, + "line": 727, "column": 21 }, "end": { - "line": 731, + "line": 727, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 24342, - "end": 24346, + "start": 24109, + "end": 24113, "loc": { "start": { - "line": 731, + "line": 727, "column": 21 }, "end": { - "line": 731, + "line": 727, "column": 25 } } }, "property": { "type": "Identifier", - "start": 24347, - "end": 24353, + "start": 24114, + "end": 24120, "loc": { "start": { - "line": 731, + "line": 727, "column": 26 }, "end": { - "line": 731, + "line": 727, "column": 32 }, "identifierName": "player" @@ -90555,15 +89182,15 @@ }, "property": { "type": "Identifier", - "start": 24354, - "end": 24360, + "start": 24121, + "end": 24127, "loc": { "start": { - "line": 731, + "line": 727, "column": 33 }, "end": { - "line": 731, + "line": 727, "column": 39 }, "identifierName": "volume" @@ -90580,86 +89207,86 @@ }, { "type": "IfStatement", - "start": 24372, - "end": 24460, + "start": 24139, + "end": 24227, "loc": { "start": { - "line": 732, + "line": 728, "column": 8 }, "end": { - "line": 735, + "line": 731, "column": 9 } }, "test": { "type": "CallExpression", - "start": 24376, - "end": 24395, + "start": 24143, + "end": 24162, "loc": { "start": { - "line": 732, + "line": 728, "column": 12 }, "end": { - "line": 732, + "line": 728, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 24376, - "end": 24393, + "start": 24143, + "end": 24160, "loc": { "start": { - "line": 732, + "line": 728, "column": 12 }, "end": { - "line": 732, + "line": 728, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 24376, - "end": 24387, + "start": 24143, + "end": 24154, "loc": { "start": { - "line": 732, + "line": 728, "column": 12 }, "end": { - "line": 732, + "line": 728, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 24376, - "end": 24380, + "start": 24143, + "end": 24147, "loc": { "start": { - "line": 732, + "line": 728, "column": 12 }, "end": { - "line": 732, + "line": 728, "column": 16 } } }, "property": { "type": "Identifier", - "start": 24381, - "end": 24387, + "start": 24148, + "end": 24154, "loc": { "start": { - "line": 732, + "line": 728, "column": 17 }, "end": { - "line": 732, + "line": 728, "column": 23 }, "identifierName": "player" @@ -90670,15 +89297,15 @@ }, "property": { "type": "Identifier", - "start": 24388, - "end": 24393, + "start": 24155, + "end": 24160, "loc": { "start": { - "line": 732, + "line": 728, "column": 24 }, "end": { - "line": 732, + "line": 728, "column": 29 }, "identifierName": "muted" @@ -90691,59 +89318,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 24397, - "end": 24460, + "start": 24164, + "end": 24227, "loc": { "start": { - "line": 732, + "line": 728, "column": 33 }, "end": { - "line": 735, + "line": 731, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 24439, - "end": 24450, + "start": 24206, + "end": 24217, "loc": { "start": { - "line": 734, + "line": 730, "column": 12 }, "end": { - "line": 734, + "line": 730, "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 24439, - "end": 24449, + "start": 24206, + "end": 24216, "loc": { "start": { - "line": 734, + "line": 730, "column": 12 }, "end": { - "line": 734, + "line": 730, "column": 22 } }, "operator": "=", "left": { "type": "Identifier", - "start": 24439, - "end": 24445, + "start": 24206, + "end": 24212, "loc": { "start": { - "line": 734, + "line": 730, "column": 12 }, "end": { - "line": 734, + "line": 730, "column": 18 }, "identifierName": "volume" @@ -90753,15 +89380,15 @@ }, "right": { "type": "NumericLiteral", - "start": 24448, - "end": 24449, + "start": 24215, + "end": 24216, "loc": { "start": { - "line": 734, + "line": 730, "column": 21 }, "end": { - "line": 734, + "line": 730, "column": 22 } }, @@ -90777,15 +89404,15 @@ { "type": "CommentLine", "value": " muted volume", - "start": 24411, - "end": 24426, + "start": 24178, + "end": 24193, "loc": { "start": { - "line": 733, + "line": 729, "column": 12 }, "end": { - "line": 733, + "line": 729, "column": 27 } } @@ -90801,15 +89428,15 @@ { "type": "CommentLine", "value": " update wavesurfer.js volume", - "start": 24470, - "end": 24500, + "start": 24237, + "end": 24267, "loc": { "start": { - "line": 737, + "line": 733, "column": 8 }, "end": { - "line": 737, + "line": 733, "column": 38 } } @@ -90818,71 +89445,71 @@ }, { "type": "ExpressionStatement", - "start": 24509, - "end": 24539, + "start": 24276, + "end": 24306, "loc": { "start": { - "line": 738, + "line": 734, "column": 8 }, "end": { - "line": 738, + "line": 734, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 24509, - "end": 24538, + "start": 24276, + "end": 24305, "loc": { "start": { - "line": 738, + "line": 734, "column": 8 }, "end": { - "line": 738, + "line": 734, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 24509, - "end": 24530, + "start": 24276, + "end": 24297, "loc": { "start": { - "line": 738, + "line": 734, "column": 8 }, "end": { - "line": 738, + "line": 734, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 24509, - "end": 24520, + "start": 24276, + "end": 24287, "loc": { "start": { - "line": 738, + "line": 734, "column": 8 }, "end": { - "line": 738, + "line": 734, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 24509, - "end": 24513, + "start": 24276, + "end": 24280, "loc": { "start": { - "line": 738, + "line": 734, "column": 8 }, "end": { - "line": 738, + "line": 734, "column": 12 } }, @@ -90890,15 +89517,15 @@ }, "property": { "type": "Identifier", - "start": 24514, - "end": 24520, + "start": 24281, + "end": 24287, "loc": { "start": { - "line": 738, + "line": 734, "column": 13 }, "end": { - "line": 738, + "line": 734, "column": 19 }, "identifierName": "surfer" @@ -90910,15 +89537,15 @@ }, "property": { "type": "Identifier", - "start": 24521, - "end": 24530, + "start": 24288, + "end": 24297, "loc": { "start": { - "line": 738, + "line": 734, "column": 20 }, "end": { - "line": 738, + "line": 734, "column": 29 }, "identifierName": "setVolume" @@ -90931,15 +89558,15 @@ "arguments": [ { "type": "Identifier", - "start": 24531, - "end": 24537, + "start": 24298, + "end": 24304, "loc": { "start": { - "line": 738, + "line": 734, "column": 30 }, "end": { - "line": 738, + "line": 734, "column": 36 }, "identifierName": "volume" @@ -90953,15 +89580,15 @@ { "type": "CommentLine", "value": " update wavesurfer.js volume", - "start": 24470, - "end": 24500, + "start": 24237, + "end": 24267, "loc": { "start": { - "line": 737, + "line": 733, "column": 8 }, "end": { - "line": 737, + "line": 733, "column": 38 } } @@ -90976,15 +89603,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the volume in the video.js player changes.\n * @private\n ", - "start": 24209, - "end": 24297, + "start": 23976, + "end": 24064, "loc": { "start": { - "line": 726, + "line": 722, "column": 4 }, "end": { - "line": 729, + "line": 725, "column": 7 } } @@ -90994,15 +89621,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n ", - "start": 24551, - "end": 24655, + "start": 24318, + "end": 24422, "loc": { "start": { - "line": 741, + "line": 737, "column": 4 }, "end": { - "line": 744, + "line": 740, "column": 7 } } @@ -91011,15 +89638,15 @@ }, { "type": "ClassMethod", - "start": 24660, - "end": 25634, + "start": 24427, + "end": 25401, "loc": { "start": { - "line": 745, + "line": 741, "column": 4 }, "end": { - "line": 771, + "line": 767, "column": 5 } }, @@ -91027,15 +89654,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 24660, - "end": 24674, + "start": 24427, + "end": 24441, "loc": { "start": { - "line": 745, + "line": 741, "column": 4 }, "end": { - "line": 745, + "line": 741, "column": 18 }, "identifierName": "onScreenChange" @@ -91051,59 +89678,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 24677, - "end": 25634, + "start": 24444, + "end": 25401, "loc": { "start": { - "line": 745, + "line": 741, "column": 21 }, "end": { - "line": 771, + "line": 767, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 24811, - "end": 25628, + "start": 24578, + "end": 25395, "loc": { "start": { - "line": 748, + "line": 744, "column": 8 }, "end": { - "line": 770, + "line": 766, "column": 16 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24815, - "end": 25627, + "start": 24582, + "end": 25394, "loc": { "start": { - "line": 748, + "line": 744, "column": 12 }, "end": { - "line": 770, + "line": 766, "column": 15 } }, "id": { "type": "Identifier", - "start": 24815, - "end": 24830, + "start": 24582, + "end": 24597, "loc": { "start": { - "line": 748, + "line": 744, "column": 12 }, "end": { - "line": 748, + "line": 744, "column": 27 }, "identifierName": "fullscreenDelay" @@ -91113,72 +89740,72 @@ }, "init": { "type": "CallExpression", - "start": 24833, - "end": 25627, + "start": 24600, + "end": 25394, "loc": { "start": { - "line": 748, + "line": 744, "column": 30 }, "end": { - "line": 770, + "line": 766, "column": 15 } }, "callee": { "type": "MemberExpression", - "start": 24833, - "end": 24856, + "start": 24600, + "end": 24623, "loc": { "start": { - "line": 748, + "line": 744, "column": 30 }, "end": { - "line": 748, + "line": 744, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 24833, - "end": 24844, + "start": 24600, + "end": 24611, "loc": { "start": { - "line": 748, + "line": 744, "column": 30 }, "end": { - "line": 748, + "line": 744, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 24833, - "end": 24837, + "start": 24600, + "end": 24604, "loc": { "start": { - "line": 748, + "line": 744, "column": 30 }, "end": { - "line": 748, + "line": 744, "column": 34 } } }, "property": { "type": "Identifier", - "start": 24838, - "end": 24844, + "start": 24605, + "end": 24611, "loc": { "start": { - "line": 748, + "line": 744, "column": 35 }, "end": { - "line": 748, + "line": 744, "column": 41 }, "identifierName": "player" @@ -91189,15 +89816,15 @@ }, "property": { "type": "Identifier", - "start": 24845, - "end": 24856, + "start": 24612, + "end": 24623, "loc": { "start": { - "line": 748, + "line": 744, "column": 42 }, "end": { - "line": 748, + "line": 744, "column": 53 }, "identifierName": "setInterval" @@ -91209,15 +89836,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 24857, - "end": 25621, + "start": 24624, + "end": 25388, "loc": { "start": { - "line": 748, + "line": 744, "column": 54 }, "end": { - "line": 770, + "line": 766, "column": 9 } }, @@ -91228,59 +89855,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 24863, - "end": 25621, + "start": 24630, + "end": 25388, "loc": { "start": { - "line": 748, + "line": 744, "column": 60 }, "end": { - "line": 770, + "line": 766, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 24877, - "end": 24923, + "start": 24644, + "end": 24690, "loc": { "start": { - "line": 749, + "line": 745, "column": 12 }, "end": { - "line": 749, + "line": 745, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24881, - "end": 24922, + "start": 24648, + "end": 24689, "loc": { "start": { - "line": 749, + "line": 745, "column": 16 }, "end": { - "line": 749, + "line": 745, "column": 57 } }, "id": { "type": "Identifier", - "start": 24881, - "end": 24893, + "start": 24648, + "end": 24660, "loc": { "start": { - "line": 749, + "line": 745, "column": 16 }, "end": { - "line": 749, + "line": 745, "column": 28 }, "identifierName": "isFullscreen" @@ -91289,72 +89916,72 @@ }, "init": { "type": "CallExpression", - "start": 24896, - "end": 24922, + "start": 24663, + "end": 24689, "loc": { "start": { - "line": 749, + "line": 745, "column": 31 }, "end": { - "line": 749, + "line": 745, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 24896, - "end": 24920, + "start": 24663, + "end": 24687, "loc": { "start": { - "line": 749, + "line": 745, "column": 31 }, "end": { - "line": 749, + "line": 745, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 24896, - "end": 24907, + "start": 24663, + "end": 24674, "loc": { "start": { - "line": 749, + "line": 745, "column": 31 }, "end": { - "line": 749, + "line": 745, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 24896, - "end": 24900, + "start": 24663, + "end": 24667, "loc": { "start": { - "line": 749, + "line": 745, "column": 31 }, "end": { - "line": 749, + "line": 745, "column": 35 } } }, "property": { "type": "Identifier", - "start": 24901, - "end": 24907, + "start": 24668, + "end": 24674, "loc": { "start": { - "line": 749, + "line": 745, "column": 36 }, "end": { - "line": 749, + "line": 745, "column": 42 }, "identifierName": "player" @@ -91365,15 +89992,15 @@ }, "property": { "type": "Identifier", - "start": 24908, - "end": 24920, + "start": 24675, + "end": 24687, "loc": { "start": { - "line": 749, + "line": 745, "column": 43 }, "end": { - "line": 749, + "line": 745, "column": 55 }, "identifierName": "isFullscreen" @@ -91390,44 +90017,44 @@ }, { "type": "VariableDeclaration", - "start": 24936, - "end": 24960, + "start": 24703, + "end": 24727, "loc": { "start": { - "line": 750, + "line": 746, "column": 12 }, "end": { - "line": 750, + "line": 746, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 24940, - "end": 24948, + "start": 24707, + "end": 24715, "loc": { "start": { - "line": 750, + "line": 746, "column": 16 }, "end": { - "line": 750, + "line": 746, "column": 24 } }, "id": { "type": "Identifier", - "start": 24940, - "end": 24948, + "start": 24707, + "end": 24715, "loc": { "start": { - "line": 750, + "line": 746, "column": 16 }, "end": { - "line": 750, + "line": 746, "column": 24 }, "identifierName": "newWidth" @@ -91438,29 +90065,29 @@ }, { "type": "VariableDeclarator", - "start": 24950, - "end": 24959, + "start": 24717, + "end": 24726, "loc": { "start": { - "line": 750, + "line": 746, "column": 26 }, "end": { - "line": 750, + "line": 746, "column": 35 } }, "id": { "type": "Identifier", - "start": 24950, - "end": 24959, + "start": 24717, + "end": 24726, "loc": { "start": { - "line": 750, + "line": 746, "column": 26 }, "end": { - "line": 750, + "line": 746, "column": 35 }, "identifierName": "newHeight" @@ -91474,29 +90101,29 @@ }, { "type": "IfStatement", - "start": 24973, - "end": 25150, + "start": 24740, + "end": 24917, "loc": { "start": { - "line": 751, + "line": 747, "column": 12 }, "end": { - "line": 755, + "line": 751, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 24977, - "end": 24990, + "start": 24744, + "end": 24757, "loc": { "start": { - "line": 751, + "line": 747, "column": 16 }, "end": { - "line": 751, + "line": 747, "column": 29 } }, @@ -91504,15 +90131,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 24978, - "end": 24990, + "start": 24745, + "end": 24757, "loc": { "start": { - "line": 751, + "line": 747, "column": 17 }, "end": { - "line": 751, + "line": 747, "column": 29 }, "identifierName": "isFullscreen" @@ -91525,59 +90152,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 24992, - "end": 25150, + "start": 24759, + "end": 24917, "loc": { "start": { - "line": 751, + "line": 747, "column": 31 }, "end": { - "line": 755, + "line": 751, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 25057, - "end": 25087, + "start": 24824, + "end": 24854, "loc": { "start": { - "line": 753, + "line": 749, "column": 16 }, "end": { - "line": 753, + "line": 749, "column": 46 } }, "expression": { "type": "AssignmentExpression", - "start": 25057, - "end": 25086, + "start": 24824, + "end": 24853, "loc": { "start": { - "line": 753, + "line": 749, "column": 16 }, "end": { - "line": 753, + "line": 749, "column": 45 } }, "operator": "=", "left": { "type": "Identifier", - "start": 25057, - "end": 25065, + "start": 24824, + "end": 24832, "loc": { "start": { - "line": 753, + "line": 749, "column": 16 }, "end": { - "line": 753, + "line": 749, "column": 24 }, "identifierName": "newWidth" @@ -91587,44 +90214,44 @@ }, "right": { "type": "MemberExpression", - "start": 25068, - "end": 25086, + "start": 24835, + "end": 24853, "loc": { "start": { - "line": 753, + "line": 749, "column": 27 }, "end": { - "line": 753, + "line": 749, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 25068, - "end": 25072, + "start": 24835, + "end": 24839, "loc": { "start": { - "line": 753, + "line": 749, "column": 27 }, "end": { - "line": 753, + "line": 749, "column": 31 } } }, "property": { "type": "Identifier", - "start": 25073, - "end": 25086, + "start": 24840, + "end": 24853, "loc": { "start": { - "line": 753, + "line": 749, "column": 32 }, "end": { - "line": 753, + "line": 749, "column": 45 }, "identifierName": "originalWidth" @@ -91639,15 +90266,15 @@ { "type": "CommentLine", "value": " restore original dimensions", - "start": 25010, - "end": 25040, + "start": 24777, + "end": 24807, "loc": { "start": { - "line": 752, + "line": 748, "column": 16 }, "end": { - "line": 752, + "line": 748, "column": 46 } } @@ -91656,44 +90283,44 @@ }, { "type": "ExpressionStatement", - "start": 25104, - "end": 25136, + "start": 24871, + "end": 24903, "loc": { "start": { - "line": 754, + "line": 750, "column": 16 }, "end": { - "line": 754, + "line": 750, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 25104, - "end": 25135, + "start": 24871, + "end": 24902, "loc": { "start": { - "line": 754, + "line": 750, "column": 16 }, "end": { - "line": 754, + "line": 750, "column": 47 } }, "operator": "=", "left": { "type": "Identifier", - "start": 25104, - "end": 25113, + "start": 24871, + "end": 24880, "loc": { "start": { - "line": 754, + "line": 750, "column": 16 }, "end": { - "line": 754, + "line": 750, "column": 25 }, "identifierName": "newHeight" @@ -91702,44 +90329,44 @@ }, "right": { "type": "MemberExpression", - "start": 25116, - "end": 25135, + "start": 24883, + "end": 24902, "loc": { "start": { - "line": 754, + "line": 750, "column": 28 }, "end": { - "line": 754, + "line": 750, "column": 47 } }, "object": { "type": "ThisExpression", - "start": 25116, - "end": 25120, + "start": 24883, + "end": 24887, "loc": { "start": { - "line": 754, + "line": 750, "column": 28 }, "end": { - "line": 754, + "line": 750, "column": 32 } } }, "property": { "type": "Identifier", - "start": 25121, - "end": 25135, + "start": 24888, + "end": 24902, "loc": { "start": { - "line": 754, + "line": 750, "column": 33 }, "end": { - "line": 754, + "line": 750, "column": 47 }, "identifierName": "originalHeight" @@ -91757,58 +90384,58 @@ }, { "type": "IfStatement", - "start": 25164, - "end": 25508, + "start": 24931, + "end": 25275, "loc": { "start": { - "line": 757, + "line": 753, "column": 12 }, "end": { - "line": 765, + "line": 761, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 25168, - "end": 25182, + "start": 24935, + "end": 24949, "loc": { "start": { - "line": 757, + "line": 753, "column": 16 }, "end": { - "line": 757, + "line": 753, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 25168, - "end": 25172, + "start": 24935, + "end": 24939, "loc": { "start": { - "line": 757, + "line": 753, "column": 16 }, "end": { - "line": 757, + "line": 753, "column": 20 } } }, "property": { "type": "Identifier", - "start": 25173, - "end": 25182, + "start": 24940, + "end": 24949, "loc": { "start": { - "line": 757, + "line": 753, "column": 21 }, "end": { - "line": 757, + "line": 753, "column": 30 }, "identifierName": "waveReady" @@ -91819,87 +90446,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 25184, - "end": 25508, + "start": 24951, + "end": 25275, "loc": { "start": { - "line": 757, + "line": 753, "column": 32 }, "end": { - "line": 765, + "line": 761, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 25202, - "end": 25410, + "start": 24969, + "end": 25177, "loc": { "start": { - "line": 758, + "line": 754, "column": 16 }, "end": { - "line": 762, + "line": 758, "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 25206, - "end": 25253, + "start": 24973, + "end": 25020, "loc": { "start": { - "line": 758, + "line": 754, "column": 20 }, "end": { - "line": 758, + "line": 754, "column": 67 } }, "left": { "type": "MemberExpression", - "start": 25206, - "end": 25219, + "start": 24973, + "end": 24986, "loc": { "start": { - "line": 758, + "line": 754, "column": 20 }, "end": { - "line": 758, + "line": 754, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 25206, - "end": 25210, + "start": 24973, + "end": 24977, "loc": { "start": { - "line": 758, + "line": 754, "column": 20 }, "end": { - "line": 758, + "line": 754, "column": 24 } } }, "property": { "type": "Identifier", - "start": 25211, - "end": 25219, + "start": 24978, + "end": 24986, "loc": { "start": { - "line": 758, + "line": 754, "column": 25 }, "end": { - "line": 758, + "line": 754, "column": 33 }, "identifierName": "liveMode" @@ -91911,15 +90538,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 25223, - "end": 25253, + "start": 24990, + "end": 25020, "loc": { "start": { - "line": 758, + "line": 754, "column": 37 }, "end": { - "line": 758, + "line": 754, "column": 67 } }, @@ -91927,72 +90554,72 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 25224, - "end": 25253, + "start": 24991, + "end": 25020, "loc": { "start": { - "line": 758, + "line": 754, "column": 38 }, "end": { - "line": 758, + "line": 754, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 25224, - "end": 25246, + "start": 24991, + "end": 25013, "loc": { "start": { - "line": 758, + "line": 754, "column": 38 }, "end": { - "line": 758, + "line": 754, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 25224, - "end": 25235, + "start": 24991, + "end": 25002, "loc": { "start": { - "line": 758, + "line": 754, "column": 38 }, "end": { - "line": 758, + "line": 754, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 25224, - "end": 25228, + "start": 24991, + "end": 24995, "loc": { "start": { - "line": 758, + "line": 754, "column": 38 }, "end": { - "line": 758, + "line": 754, "column": 42 } } }, "property": { "type": "Identifier", - "start": 25229, - "end": 25235, + "start": 24996, + "end": 25002, "loc": { "start": { - "line": 758, + "line": 754, "column": 43 }, "end": { - "line": 758, + "line": 754, "column": 49 }, "identifierName": "surfer" @@ -92003,15 +90630,15 @@ }, "property": { "type": "Identifier", - "start": 25236, - "end": 25246, + "start": 25003, + "end": 25013, "loc": { "start": { - "line": 758, + "line": 754, "column": 50 }, "end": { - "line": 758, + "line": 754, "column": 60 }, "identifierName": "microphone" @@ -92022,15 +90649,15 @@ }, "property": { "type": "Identifier", - "start": 25247, - "end": 25253, + "start": 25014, + "end": 25020, "loc": { "start": { - "line": 758, + "line": 754, "column": 61 }, "end": { - "line": 758, + "line": 754, "column": 67 }, "identifierName": "active" @@ -92046,30 +90673,30 @@ }, "consequent": { "type": "BlockStatement", - "start": 25255, - "end": 25410, + "start": 25022, + "end": 25177, "loc": { "start": { - "line": 758, + "line": 754, "column": 69 }, "end": { - "line": 762, + "line": 758, "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 25385, - "end": 25392, + "start": 25152, + "end": 25159, "loc": { "start": { - "line": 761, + "line": 757, "column": 20 }, "end": { - "line": 761, + "line": 757, "column": 27 } }, @@ -92078,15 +90705,15 @@ { "type": "CommentLine", "value": " we're in live mode but the microphone hasn't been", - "start": 25277, - "end": 25329, + "start": 25044, + "end": 25096, "loc": { "start": { - "line": 759, + "line": 755, "column": 20 }, "end": { - "line": 759, + "line": 755, "column": 72 } } @@ -92094,15 +90721,15 @@ { "type": "CommentLine", "value": " started yet", - "start": 25350, - "end": 25364, + "start": 25117, + "end": 25131, "loc": { "start": { - "line": 760, + "line": 756, "column": 20 }, "end": { - "line": 760, + "line": 756, "column": 34 } } @@ -92118,15 +90745,15 @@ { "type": "CommentLine", "value": " redraw", - "start": 25427, - "end": 25436, + "start": 25194, + "end": 25203, "loc": { "start": { - "line": 763, + "line": 759, "column": 16 }, "end": { - "line": 763, + "line": 759, "column": 25 } } @@ -92135,57 +90762,57 @@ }, { "type": "ExpressionStatement", - "start": 25453, - "end": 25494, + "start": 25220, + "end": 25261, "loc": { "start": { - "line": 764, + "line": 760, "column": 16 }, "end": { - "line": 764, + "line": 760, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 25453, - "end": 25493, + "start": 25220, + "end": 25260, "loc": { "start": { - "line": 764, + "line": 760, "column": 16 }, "end": { - "line": 764, + "line": 760, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 25453, - "end": 25472, + "start": 25220, + "end": 25239, "loc": { "start": { - "line": 764, + "line": 760, "column": 16 }, "end": { - "line": 764, + "line": 760, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 25453, - "end": 25457, + "start": 25220, + "end": 25224, "loc": { "start": { - "line": 764, + "line": 760, "column": 16 }, "end": { - "line": 764, + "line": 760, "column": 20 } }, @@ -92193,15 +90820,15 @@ }, "property": { "type": "Identifier", - "start": 25458, - "end": 25472, + "start": 25225, + "end": 25239, "loc": { "start": { - "line": 764, + "line": 760, "column": 21 }, "end": { - "line": 764, + "line": 760, "column": 35 }, "identifierName": "redrawWaveform" @@ -92214,15 +90841,15 @@ "arguments": [ { "type": "Identifier", - "start": 25473, - "end": 25481, + "start": 25240, + "end": 25248, "loc": { "start": { - "line": 764, + "line": 760, "column": 36 }, "end": { - "line": 764, + "line": 760, "column": 44 }, "identifierName": "newWidth" @@ -92231,15 +90858,15 @@ }, { "type": "Identifier", - "start": 25483, - "end": 25492, + "start": 25250, + "end": 25259, "loc": { "start": { - "line": 764, + "line": 760, "column": 46 }, "end": { - "line": 764, + "line": 760, "column": 55 }, "identifierName": "newHeight" @@ -92253,15 +90880,15 @@ { "type": "CommentLine", "value": " redraw", - "start": 25427, - "end": 25436, + "start": 25194, + "end": 25203, "loc": { "start": { - "line": 763, + "line": 759, "column": 16 }, "end": { - "line": 763, + "line": 759, "column": 25 } } @@ -92277,15 +90904,15 @@ { "type": "CommentLine", "value": " stop fullscreenDelay interval", - "start": 25522, - "end": 25554, + "start": 25289, + "end": 25321, "loc": { "start": { - "line": 767, + "line": 763, "column": 12 }, "end": { - "line": 767, + "line": 763, "column": 44 } } @@ -92294,71 +90921,71 @@ }, { "type": "ExpressionStatement", - "start": 25567, - "end": 25610, + "start": 25334, + "end": 25377, "loc": { "start": { - "line": 768, + "line": 764, "column": 12 }, "end": { - "line": 768, + "line": 764, "column": 55 } }, "expression": { "type": "CallExpression", - "start": 25567, - "end": 25609, + "start": 25334, + "end": 25376, "loc": { "start": { - "line": 768, + "line": 764, "column": 12 }, "end": { - "line": 768, + "line": 764, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 25567, - "end": 25592, + "start": 25334, + "end": 25359, "loc": { "start": { - "line": 768, + "line": 764, "column": 12 }, "end": { - "line": 768, + "line": 764, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 25567, - "end": 25578, + "start": 25334, + "end": 25345, "loc": { "start": { - "line": 768, + "line": 764, "column": 12 }, "end": { - "line": 768, + "line": 764, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 25567, - "end": 25571, + "start": 25334, + "end": 25338, "loc": { "start": { - "line": 768, + "line": 764, "column": 12 }, "end": { - "line": 768, + "line": 764, "column": 16 } }, @@ -92366,15 +90993,15 @@ }, "property": { "type": "Identifier", - "start": 25572, - "end": 25578, + "start": 25339, + "end": 25345, "loc": { "start": { - "line": 768, + "line": 764, "column": 17 }, "end": { - "line": 768, + "line": 764, "column": 23 }, "identifierName": "player" @@ -92386,15 +91013,15 @@ }, "property": { "type": "Identifier", - "start": 25579, - "end": 25592, + "start": 25346, + "end": 25359, "loc": { "start": { - "line": 768, + "line": 764, "column": 24 }, "end": { - "line": 768, + "line": 764, "column": 37 }, "identifierName": "clearInterval" @@ -92407,15 +91034,15 @@ "arguments": [ { "type": "Identifier", - "start": 25593, - "end": 25608, + "start": 25360, + "end": 25375, "loc": { "start": { - "line": 768, + "line": 764, "column": 38 }, "end": { - "line": 768, + "line": 764, "column": 53 }, "identifierName": "fullscreenDelay" @@ -92429,15 +91056,15 @@ { "type": "CommentLine", "value": " stop fullscreenDelay interval", - "start": 25522, - "end": 25554, + "start": 25289, + "end": 25321, "loc": { "start": { - "line": 767, + "line": 763, "column": 12 }, "end": { - "line": 767, + "line": 763, "column": 44 } } @@ -92450,15 +91077,15 @@ }, { "type": "NumericLiteral", - "start": 25623, - "end": 25626, + "start": 25390, + "end": 25393, "loc": { "start": { - "line": 770, + "line": 766, "column": 11 }, "end": { - "line": 770, + "line": 766, "column": 14 } }, @@ -92478,15 +91105,15 @@ { "type": "CommentLine", "value": " execute with tiny delay so the player element completes", - "start": 24687, - "end": 24745, + "start": 24454, + "end": 24512, "loc": { "start": { - "line": 746, + "line": 742, "column": 8 }, "end": { - "line": 746, + "line": 742, "column": 66 } } @@ -92494,15 +91121,15 @@ { "type": "CommentLine", "value": " rendering and correct dimensions are reported", - "start": 24754, - "end": 24802, + "start": 24521, + "end": 24569, "loc": { "start": { - "line": 747, + "line": 743, "column": 8 }, "end": { - "line": 747, + "line": 743, "column": 56 } } @@ -92517,326 +91144,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n ", - "start": 24551, - "end": 24655, - "loc": { - "start": { - "line": 741, - "column": 4 - }, - "end": { - "line": 744, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Fired when the video.js player is resized.\n *\n * @private\n ", - "start": 25640, - "end": 25724, - "loc": { - "start": { - "line": 773, - "column": 4 - }, - "end": { - "line": 777, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 25729, - "end": 25870, - "loc": { - "start": { - "line": 778, - "column": 4 - }, - "end": { - "line": 783, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 25729, - "end": 25743, - "loc": { - "start": { - "line": 778, - "column": 4 - }, - "end": { - "line": 778, - "column": 18 - }, - "identifierName": "onResizeChange" - }, - "name": "onResizeChange", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 25746, - "end": 25870, - "loc": { - "start": { - "line": 778, - "column": 21 - }, - "end": { - "line": 783, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 25756, - "end": 25864, - "loc": { - "start": { - "line": 779, - "column": 8 - }, - "end": { - "line": 782, - "column": 9 - } - }, - "test": { - "type": "BinaryExpression", - "start": 25760, - "end": 25785, - "loc": { - "start": { - "line": 779, - "column": 12 - }, - "end": { - "line": 779, - "column": 37 - } - }, - "left": { - "type": "MemberExpression", - "start": 25760, - "end": 25771, - "loc": { - "start": { - "line": 779, - "column": 12 - }, - "end": { - "line": 779, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 25760, - "end": 25764, - "loc": { - "start": { - "line": 779, - "column": 12 - }, - "end": { - "line": 779, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "start": 25765, - "end": 25771, - "loc": { - "start": { - "line": 779, - "column": 17 - }, - "end": { - "line": 779, - "column": 23 - }, - "identifierName": "surfer" - }, - "name": "surfer" - }, - "computed": false - }, - "operator": "!==", - "right": { - "type": "Identifier", - "start": 25776, - "end": 25785, - "loc": { - "start": { - "line": 779, - "column": 28 - }, - "end": { - "line": 779, - "column": 37 - }, - "identifierName": "undefined" - }, - "name": "undefined" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 25787, - "end": 25864, - "loc": { - "start": { - "line": 779, - "column": 39 - }, - "end": { - "line": 782, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 25832, - "end": 25854, - "loc": { - "start": { - "line": 781, - "column": 12 - }, - "end": { - "line": 781, - "column": 34 - } - }, - "expression": { - "type": "CallExpression", - "start": 25832, - "end": 25853, - "loc": { - "start": { - "line": 781, - "column": 12 - }, - "end": { - "line": 781, - "column": 33 - } - }, - "callee": { - "type": "MemberExpression", - "start": 25832, - "end": 25851, - "loc": { - "start": { - "line": 781, - "column": 12 - }, - "end": { - "line": 781, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 25832, - "end": 25836, - "loc": { - "start": { - "line": 781, - "column": 12 - }, - "end": { - "line": 781, - "column": 16 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 25837, - "end": 25851, - "loc": { - "start": { - "line": 781, - "column": 17 - }, - "end": { - "line": 781, - "column": 31 - }, - "identifierName": "redrawWaveform" - }, - "name": "redrawWaveform" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " redraw waveform", - "start": 25801, - "end": 25819, - "loc": { - "start": { - "line": 780, - "column": 12 - }, - "end": { - "line": 780, - "column": 30 - } - } - } - ] - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Fired when the video.js player is resized.\n *\n * @private\n ", - "start": 25640, - "end": 25724, + "start": 24318, + "end": 24422, "loc": { "start": { - "line": 773, + "line": 737, "column": 4 }, "end": { - "line": 777, + "line": 740, "column": 7 } } @@ -92846,15 +91162,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": 25876, - "end": 26064, + "start": 25407, + "end": 25595, "loc": { "start": { - "line": 785, + "line": 769, "column": 4 }, "end": { - "line": 791, + "line": 775, "column": 7 } } @@ -92863,15 +91179,15 @@ }, { "type": "ClassMethod", - "start": 26069, - "end": 27148, + "start": 25600, + "end": 26679, "loc": { "start": { - "line": 792, + "line": 776, "column": 4 }, "end": { - "line": 821, + "line": 805, "column": 5 } }, @@ -92879,15 +91195,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 26069, - "end": 26083, + "start": 25600, + "end": 25614, "loc": { "start": { - "line": 792, + "line": 776, "column": 4 }, "end": { - "line": 792, + "line": 776, "column": 18 }, "identifierName": "redrawWaveform" @@ -92903,15 +91219,15 @@ "params": [ { "type": "Identifier", - "start": 26084, - "end": 26092, + "start": 25615, + "end": 25623, "loc": { "start": { - "line": 792, + "line": 776, "column": 19 }, "end": { - "line": 792, + "line": 776, "column": 27 }, "identifierName": "newWidth" @@ -92920,15 +91236,15 @@ }, { "type": "Identifier", - "start": 26094, - "end": 26103, + "start": 25625, + "end": 25634, "loc": { "start": { - "line": 792, + "line": 776, "column": 29 }, "end": { - "line": 792, + "line": 776, "column": 38 }, "identifierName": "newHeight" @@ -92938,44 +91254,44 @@ ], "body": { "type": "BlockStatement", - "start": 26105, - "end": 27148, + "start": 25636, + "end": 26679, "loc": { "start": { - "line": 792, + "line": 776, "column": 40 }, "end": { - "line": 821, + "line": 805, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 26115, - "end": 27142, + "start": 25646, + "end": 26673, "loc": { "start": { - "line": 793, + "line": 777, "column": 8 }, "end": { - "line": 820, + "line": 804, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 26119, - "end": 26138, + "start": 25650, + "end": 25669, "loc": { "start": { - "line": 793, + "line": 777, "column": 12 }, "end": { - "line": 793, + "line": 777, "column": 31 } }, @@ -92983,58 +91299,58 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 26120, - "end": 26138, + "start": 25651, + "end": 25669, "loc": { "start": { - "line": 793, + "line": 777, "column": 13 }, "end": { - "line": 793, + "line": 777, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 26120, - "end": 26136, + "start": 25651, + "end": 25667, "loc": { "start": { - "line": 793, + "line": 777, "column": 13 }, "end": { - "line": 793, + "line": 777, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 26120, - "end": 26124, + "start": 25651, + "end": 25655, "loc": { "start": { - "line": 793, + "line": 777, "column": 13 }, "end": { - "line": 793, + "line": 777, "column": 17 } } }, "property": { "type": "Identifier", - "start": 26125, - "end": 26136, + "start": 25656, + "end": 25667, "loc": { "start": { - "line": 793, + "line": 777, "column": 18 }, "end": { - "line": 793, + "line": 777, "column": 29 }, "identifierName": "isDestroyed" @@ -93051,87 +91367,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 26140, - "end": 27142, + "start": 25671, + "end": 26673, "loc": { "start": { - "line": 793, + "line": 777, "column": 33 }, "end": { - "line": 820, + "line": 804, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 26154, - "end": 26556, + "start": 25685, + "end": 26087, "loc": { "start": { - "line": 794, + "line": 778, "column": 12 }, "end": { - "line": 804, + "line": 788, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 26158, - "end": 26173, + "start": 25689, + "end": 25704, "loc": { "start": { - "line": 794, + "line": 778, "column": 16 }, "end": { - "line": 794, + "line": 778, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 26158, - "end": 26169, + "start": 25689, + "end": 25700, "loc": { "start": { - "line": 794, + "line": 778, "column": 16 }, "end": { - "line": 794, + "line": 778, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 26158, - "end": 26162, + "start": 25689, + "end": 25693, "loc": { "start": { - "line": 794, + "line": 778, "column": 16 }, "end": { - "line": 794, + "line": 778, "column": 20 } } }, "property": { "type": "Identifier", - "start": 26163, - "end": 26169, + "start": 25694, + "end": 25700, "loc": { "start": { - "line": 794, + "line": 778, "column": 21 }, "end": { - "line": 794, + "line": 778, "column": 27 }, "identifierName": "player" @@ -93142,15 +91458,15 @@ }, "property": { "type": "Identifier", - "start": 26170, - "end": 26173, + "start": 25701, + "end": 25704, "loc": { "start": { - "line": 794, + "line": 778, "column": 28 }, "end": { - "line": 794, + "line": 778, "column": 31 }, "identifierName": "el_" @@ -93161,59 +91477,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 26175, - "end": 26556, + "start": 25706, + "end": 26087, "loc": { "start": { - "line": 794, + "line": 778, "column": 33 }, "end": { - "line": 804, + "line": 788, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 26193, - "end": 26244, + "start": 25724, + "end": 25775, "loc": { "start": { - "line": 795, + "line": 779, "column": 16 }, "end": { - "line": 795, + "line": 779, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 26197, - "end": 26243, + "start": 25728, + "end": 25774, "loc": { "start": { - "line": 795, + "line": 779, "column": 20 }, "end": { - "line": 795, + "line": 779, "column": 66 } }, "id": { "type": "Identifier", - "start": 26197, - "end": 26201, + "start": 25728, + "end": 25732, "loc": { "start": { - "line": 795, + "line": 779, "column": 20 }, "end": { - "line": 795, + "line": 779, "column": 24 }, "identifierName": "rect" @@ -93222,86 +91538,86 @@ }, "init": { "type": "CallExpression", - "start": 26204, - "end": 26243, + "start": 25735, + "end": 25774, "loc": { "start": { - "line": 795, + "line": 779, "column": 27 }, "end": { - "line": 795, + "line": 779, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 26204, - "end": 26241, + "start": 25735, + "end": 25772, "loc": { "start": { - "line": 795, + "line": 779, "column": 27 }, "end": { - "line": 795, + "line": 779, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 26204, - "end": 26219, + "start": 25735, + "end": 25750, "loc": { "start": { - "line": 795, + "line": 779, "column": 27 }, "end": { - "line": 795, + "line": 779, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 26204, - "end": 26215, + "start": 25735, + "end": 25746, "loc": { "start": { - "line": 795, + "line": 779, "column": 27 }, "end": { - "line": 795, + "line": 779, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 26204, - "end": 26208, + "start": 25735, + "end": 25739, "loc": { "start": { - "line": 795, + "line": 779, "column": 27 }, "end": { - "line": 795, + "line": 779, "column": 31 } } }, "property": { "type": "Identifier", - "start": 26209, - "end": 26215, + "start": 25740, + "end": 25746, "loc": { "start": { - "line": 795, + "line": 779, "column": 32 }, "end": { - "line": 795, + "line": 779, "column": 38 }, "identifierName": "player" @@ -93312,15 +91628,15 @@ }, "property": { "type": "Identifier", - "start": 26216, - "end": 26219, + "start": 25747, + "end": 25750, "loc": { "start": { - "line": 795, + "line": 779, "column": 39 }, "end": { - "line": 795, + "line": 779, "column": 42 }, "identifierName": "el_" @@ -93331,15 +91647,15 @@ }, "property": { "type": "Identifier", - "start": 26220, - "end": 26241, + "start": 25751, + "end": 25772, "loc": { "start": { - "line": 795, + "line": 779, "column": 43 }, "end": { - "line": 795, + "line": 779, "column": 64 }, "identifierName": "getBoundingClientRect" @@ -93356,43 +91672,43 @@ }, { "type": "IfStatement", - "start": 26261, - "end": 26391, + "start": 25792, + "end": 25922, "loc": { "start": { - "line": 796, + "line": 780, "column": 16 }, "end": { - "line": 799, + "line": 783, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 26265, - "end": 26287, + "start": 25796, + "end": 25818, "loc": { "start": { - "line": 796, + "line": 780, "column": 20 }, "end": { - "line": 796, + "line": 780, "column": 42 } }, "left": { "type": "Identifier", - "start": 26265, - "end": 26273, + "start": 25796, + "end": 25804, "loc": { "start": { - "line": 796, + "line": 780, "column": 20 }, "end": { - "line": 796, + "line": 780, "column": 28 }, "identifierName": "newWidth" @@ -93402,15 +91718,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 26278, - "end": 26287, + "start": 25809, + "end": 25818, "loc": { "start": { - "line": 796, + "line": 780, "column": 33 }, "end": { - "line": 796, + "line": 780, "column": 42 }, "identifierName": "undefined" @@ -93420,59 +91736,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 26289, - "end": 26391, + "start": 25820, + "end": 25922, "loc": { "start": { - "line": 796, + "line": 780, "column": 44 }, "end": { - "line": 799, + "line": 783, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 26351, - "end": 26373, + "start": 25882, + "end": 25904, "loc": { "start": { - "line": 798, + "line": 782, "column": 20 }, "end": { - "line": 798, + "line": 782, "column": 42 } }, "expression": { "type": "AssignmentExpression", - "start": 26351, - "end": 26372, + "start": 25882, + "end": 25903, "loc": { "start": { - "line": 798, + "line": 782, "column": 20 }, "end": { - "line": 798, + "line": 782, "column": 41 } }, "operator": "=", "left": { "type": "Identifier", - "start": 26351, - "end": 26359, + "start": 25882, + "end": 25890, "loc": { "start": { - "line": 798, + "line": 782, "column": 20 }, "end": { - "line": 798, + "line": 782, "column": 28 }, "identifierName": "newWidth" @@ -93482,29 +91798,29 @@ }, "right": { "type": "MemberExpression", - "start": 26362, - "end": 26372, + "start": 25893, + "end": 25903, "loc": { "start": { - "line": 798, + "line": 782, "column": 31 }, "end": { - "line": 798, + "line": 782, "column": 41 } }, "object": { "type": "Identifier", - "start": 26362, - "end": 26366, + "start": 25893, + "end": 25897, "loc": { "start": { - "line": 798, + "line": 782, "column": 31 }, "end": { - "line": 798, + "line": 782, "column": 35 }, "identifierName": "rect" @@ -93513,15 +91829,15 @@ }, "property": { "type": "Identifier", - "start": 26367, - "end": 26372, + "start": 25898, + "end": 25903, "loc": { "start": { - "line": 798, + "line": 782, "column": 36 }, "end": { - "line": 798, + "line": 782, "column": 41 }, "identifierName": "width" @@ -93536,15 +91852,15 @@ { "type": "CommentLine", "value": " get player width", - "start": 26311, - "end": 26330, + "start": 25842, + "end": 25861, "loc": { "start": { - "line": 797, + "line": 781, "column": 20 }, "end": { - "line": 797, + "line": 781, "column": 39 } } @@ -93558,43 +91874,43 @@ }, { "type": "IfStatement", - "start": 26408, - "end": 26542, + "start": 25939, + "end": 26073, "loc": { "start": { - "line": 800, + "line": 784, "column": 16 }, "end": { - "line": 803, + "line": 787, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 26412, - "end": 26435, + "start": 25943, + "end": 25966, "loc": { "start": { - "line": 800, + "line": 784, "column": 20 }, "end": { - "line": 800, + "line": 784, "column": 43 } }, "left": { "type": "Identifier", - "start": 26412, - "end": 26421, + "start": 25943, + "end": 25952, "loc": { "start": { - "line": 800, + "line": 784, "column": 20 }, "end": { - "line": 800, + "line": 784, "column": 29 }, "identifierName": "newHeight" @@ -93604,15 +91920,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 26426, - "end": 26435, + "start": 25957, + "end": 25966, "loc": { "start": { - "line": 800, + "line": 784, "column": 34 }, "end": { - "line": 800, + "line": 784, "column": 43 }, "identifierName": "undefined" @@ -93622,59 +91938,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 26437, - "end": 26542, + "start": 25968, + "end": 26073, "loc": { "start": { - "line": 800, + "line": 784, "column": 45 }, "end": { - "line": 803, + "line": 787, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 26500, - "end": 26524, + "start": 26031, + "end": 26055, "loc": { "start": { - "line": 802, + "line": 786, "column": 20 }, "end": { - "line": 802, + "line": 786, "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 26500, - "end": 26523, + "start": 26031, + "end": 26054, "loc": { "start": { - "line": 802, + "line": 786, "column": 20 }, "end": { - "line": 802, + "line": 786, "column": 43 } }, "operator": "=", "left": { "type": "Identifier", - "start": 26500, - "end": 26509, + "start": 26031, + "end": 26040, "loc": { "start": { - "line": 802, + "line": 786, "column": 20 }, "end": { - "line": 802, + "line": 786, "column": 29 }, "identifierName": "newHeight" @@ -93684,29 +92000,29 @@ }, "right": { "type": "MemberExpression", - "start": 26512, - "end": 26523, + "start": 26043, + "end": 26054, "loc": { "start": { - "line": 802, + "line": 786, "column": 32 }, "end": { - "line": 802, + "line": 786, "column": 43 } }, "object": { "type": "Identifier", - "start": 26512, - "end": 26516, + "start": 26043, + "end": 26047, "loc": { "start": { - "line": 802, + "line": 786, "column": 32 }, "end": { - "line": 802, + "line": 786, "column": 36 }, "identifierName": "rect" @@ -93715,15 +92031,15 @@ }, "property": { "type": "Identifier", - "start": 26517, - "end": 26523, + "start": 26048, + "end": 26054, "loc": { "start": { - "line": 802, + "line": 786, "column": 37 }, "end": { - "line": 802, + "line": 786, "column": 43 }, "identifierName": "height" @@ -93738,15 +92054,15 @@ { "type": "CommentLine", "value": " get player height", - "start": 26459, - "end": 26479, + "start": 25990, + "end": 26010, "loc": { "start": { - "line": 801, + "line": 785, "column": 20 }, "end": { - "line": 801, + "line": 785, "column": 40 } } @@ -93767,15 +92083,15 @@ { "type": "CommentLine", "value": " destroy old drawing", - "start": 26570, - "end": 26592, + "start": 26101, + "end": 26123, "loc": { "start": { - "line": 806, + "line": 790, "column": 12 }, "end": { - "line": 806, + "line": 790, "column": 34 } } @@ -93784,85 +92100,85 @@ }, { "type": "ExpressionStatement", - "start": 26605, - "end": 26634, + "start": 26136, + "end": 26165, "loc": { "start": { - "line": 807, + "line": 791, "column": 12 }, "end": { - "line": 807, + "line": 791, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 26605, - "end": 26633, + "start": 26136, + "end": 26164, "loc": { "start": { - "line": 807, + "line": 791, "column": 12 }, "end": { - "line": 807, + "line": 791, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 26605, - "end": 26631, + "start": 26136, + "end": 26162, "loc": { "start": { - "line": 807, + "line": 791, "column": 12 }, "end": { - "line": 807, + "line": 791, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 26605, - "end": 26623, + "start": 26136, + "end": 26154, "loc": { "start": { - "line": 807, + "line": 791, "column": 12 }, "end": { - "line": 807, + "line": 791, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26605, - "end": 26616, + "start": 26136, + "end": 26147, "loc": { "start": { - "line": 807, + "line": 791, "column": 12 }, "end": { - "line": 807, + "line": 791, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26605, - "end": 26609, + "start": 26136, + "end": 26140, "loc": { "start": { - "line": 807, + "line": 791, "column": 12 }, "end": { - "line": 807, + "line": 791, "column": 16 } }, @@ -93870,15 +92186,15 @@ }, "property": { "type": "Identifier", - "start": 26610, - "end": 26616, + "start": 26141, + "end": 26147, "loc": { "start": { - "line": 807, + "line": 791, "column": 17 }, "end": { - "line": 807, + "line": 791, "column": 23 }, "identifierName": "surfer" @@ -93890,15 +92206,15 @@ }, "property": { "type": "Identifier", - "start": 26617, - "end": 26623, + "start": 26148, + "end": 26154, "loc": { "start": { - "line": 807, + "line": 791, "column": 24 }, "end": { - "line": 807, + "line": 791, "column": 30 }, "identifierName": "drawer" @@ -93910,15 +92226,15 @@ }, "property": { "type": "Identifier", - "start": 26624, - "end": 26631, + "start": 26155, + "end": 26162, "loc": { "start": { - "line": 807, + "line": 791, "column": 31 }, "end": { - "line": 807, + "line": 791, "column": 38 }, "identifierName": "destroy" @@ -93935,15 +92251,15 @@ { "type": "CommentLine", "value": " destroy old drawing", - "start": 26570, - "end": 26592, + "start": 26101, + "end": 26123, "loc": { "start": { - "line": 806, + "line": 790, "column": 12 }, "end": { - "line": 806, + "line": 790, "column": 34 } } @@ -93953,15 +92269,15 @@ { "type": "CommentLine", "value": " set new dimensions", - "start": 26648, - "end": 26669, + "start": 26179, + "end": 26200, "loc": { "start": { - "line": 809, + "line": 793, "column": 12 }, "end": { - "line": 809, + "line": 793, "column": 33 } } @@ -93970,86 +92286,86 @@ }, { "type": "ExpressionStatement", - "start": 26682, - "end": 26718, + "start": 26213, + "end": 26249, "loc": { "start": { - "line": 810, + "line": 794, "column": 12 }, "end": { - "line": 810, + "line": 794, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 26682, - "end": 26717, + "start": 26213, + "end": 26248, "loc": { "start": { - "line": 810, + "line": 794, "column": 12 }, "end": { - "line": 810, + "line": 794, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26682, - "end": 26706, + "start": 26213, + "end": 26237, "loc": { "start": { - "line": 810, + "line": 794, "column": 12 }, "end": { - "line": 810, + "line": 794, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 26682, - "end": 26700, + "start": 26213, + "end": 26231, "loc": { "start": { - "line": 810, + "line": 794, "column": 12 }, "end": { - "line": 810, + "line": 794, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26682, - "end": 26693, + "start": 26213, + "end": 26224, "loc": { "start": { - "line": 810, + "line": 794, "column": 12 }, "end": { - "line": 810, + "line": 794, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26682, - "end": 26686, + "start": 26213, + "end": 26217, "loc": { "start": { - "line": 810, + "line": 794, "column": 12 }, "end": { - "line": 810, + "line": 794, "column": 16 } }, @@ -94057,15 +92373,15 @@ }, "property": { "type": "Identifier", - "start": 26687, - "end": 26693, + "start": 26218, + "end": 26224, "loc": { "start": { - "line": 810, + "line": 794, "column": 17 }, "end": { - "line": 810, + "line": 794, "column": 23 }, "identifierName": "surfer" @@ -94077,15 +92393,15 @@ }, "property": { "type": "Identifier", - "start": 26694, - "end": 26700, + "start": 26225, + "end": 26231, "loc": { "start": { - "line": 810, + "line": 794, "column": 24 }, "end": { - "line": 810, + "line": 794, "column": 30 }, "identifierName": "params" @@ -94097,15 +92413,15 @@ }, "property": { "type": "Identifier", - "start": 26701, - "end": 26706, + "start": 26232, + "end": 26237, "loc": { "start": { - "line": 810, + "line": 794, "column": 31 }, "end": { - "line": 810, + "line": 794, "column": 36 }, "identifierName": "width" @@ -94117,15 +92433,15 @@ }, "right": { "type": "Identifier", - "start": 26709, - "end": 26717, + "start": 26240, + "end": 26248, "loc": { "start": { - "line": 810, + "line": 794, "column": 39 }, "end": { - "line": 810, + "line": 794, "column": 47 }, "identifierName": "newWidth" @@ -94138,15 +92454,15 @@ { "type": "CommentLine", "value": " set new dimensions", - "start": 26648, - "end": 26669, + "start": 26179, + "end": 26200, "loc": { "start": { - "line": 809, + "line": 793, "column": 12 }, "end": { - "line": 809, + "line": 793, "column": 33 } } @@ -94155,101 +92471,101 @@ }, { "type": "ExpressionStatement", - "start": 26731, - "end": 26803, + "start": 26262, + "end": 26334, "loc": { "start": { - "line": 811, + "line": 795, "column": 12 }, "end": { - "line": 811, + "line": 795, "column": 84 } }, "expression": { "type": "AssignmentExpression", - "start": 26731, - "end": 26802, + "start": 26262, + "end": 26333, "loc": { "start": { - "line": 811, + "line": 795, "column": 12 }, "end": { - "line": 811, + "line": 795, "column": 83 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26731, - "end": 26756, + "start": 26262, + "end": 26287, "loc": { "start": { - "line": 811, + "line": 795, "column": 12 }, "end": { - "line": 811, + "line": 795, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 26731, - "end": 26749, + "start": 26262, + "end": 26280, "loc": { "start": { - "line": 811, + "line": 795, "column": 12 }, "end": { - "line": 811, + "line": 795, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26731, - "end": 26742, + "start": 26262, + "end": 26273, "loc": { "start": { - "line": 811, + "line": 795, "column": 12 }, "end": { - "line": 811, + "line": 795, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26731, - "end": 26735, + "start": 26262, + "end": 26266, "loc": { "start": { - "line": 811, + "line": 795, "column": 12 }, "end": { - "line": 811, + "line": 795, "column": 16 } } }, "property": { "type": "Identifier", - "start": 26736, - "end": 26742, + "start": 26267, + "end": 26273, "loc": { "start": { - "line": 811, + "line": 795, "column": 17 }, "end": { - "line": 811, + "line": 795, "column": 23 }, "identifierName": "surfer" @@ -94260,15 +92576,15 @@ }, "property": { "type": "Identifier", - "start": 26743, - "end": 26749, + "start": 26274, + "end": 26280, "loc": { "start": { - "line": 811, + "line": 795, "column": 24 }, "end": { - "line": 811, + "line": 795, "column": 30 }, "identifierName": "params" @@ -94279,15 +92595,15 @@ }, "property": { "type": "Identifier", - "start": 26750, - "end": 26756, + "start": 26281, + "end": 26287, "loc": { "start": { - "line": 811, + "line": 795, "column": 31 }, "end": { - "line": 811, + "line": 795, "column": 37 }, "identifierName": "height" @@ -94298,29 +92614,29 @@ }, "right": { "type": "BinaryExpression", - "start": 26759, - "end": 26802, + "start": 26290, + "end": 26333, "loc": { "start": { - "line": 811, + "line": 795, "column": 40 }, "end": { - "line": 811, + "line": 795, "column": 83 } }, "left": { "type": "Identifier", - "start": 26759, - "end": 26768, + "start": 26290, + "end": 26299, "loc": { "start": { - "line": 811, + "line": 795, "column": 40 }, "end": { - "line": 811, + "line": 795, "column": 49 }, "identifierName": "newHeight" @@ -94330,86 +92646,86 @@ "operator": "-", "right": { "type": "CallExpression", - "start": 26771, - "end": 26802, + "start": 26302, + "end": 26333, "loc": { "start": { - "line": 811, + "line": 795, "column": 52 }, "end": { - "line": 811, + "line": 795, "column": 83 } }, "callee": { "type": "MemberExpression", - "start": 26771, - "end": 26800, + "start": 26302, + "end": 26331, "loc": { "start": { - "line": 811, + "line": 795, "column": 52 }, "end": { - "line": 811, + "line": 795, "column": 81 } }, "object": { "type": "MemberExpression", - "start": 26771, - "end": 26793, + "start": 26302, + "end": 26324, "loc": { "start": { - "line": 811, + "line": 795, "column": 52 }, "end": { - "line": 811, + "line": 795, "column": 74 } }, "object": { "type": "MemberExpression", - "start": 26771, - "end": 26782, + "start": 26302, + "end": 26313, "loc": { "start": { - "line": 811, + "line": 795, "column": 52 }, "end": { - "line": 811, + "line": 795, "column": 63 } }, "object": { "type": "ThisExpression", - "start": 26771, - "end": 26775, + "start": 26302, + "end": 26306, "loc": { "start": { - "line": 811, + "line": 795, "column": 52 }, "end": { - "line": 811, + "line": 795, "column": 56 } } }, "property": { "type": "Identifier", - "start": 26776, - "end": 26782, + "start": 26307, + "end": 26313, "loc": { "start": { - "line": 811, + "line": 795, "column": 57 }, "end": { - "line": 811, + "line": 795, "column": 63 }, "identifierName": "player" @@ -94420,15 +92736,15 @@ }, "property": { "type": "Identifier", - "start": 26783, - "end": 26793, + "start": 26314, + "end": 26324, "loc": { "start": { - "line": 811, + "line": 795, "column": 64 }, "end": { - "line": 811, + "line": 795, "column": 74 }, "identifierName": "controlBar" @@ -94439,15 +92755,15 @@ }, "property": { "type": "Identifier", - "start": 26794, - "end": 26800, + "start": 26325, + "end": 26331, "loc": { "start": { - "line": 811, + "line": 795, "column": 75 }, "end": { - "line": 811, + "line": 795, "column": 81 }, "identifierName": "height" @@ -94464,15 +92780,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 26817, - "end": 26835, + "start": 26348, + "end": 26366, "loc": { "start": { - "line": 813, + "line": 797, "column": 12 }, "end": { - "line": 813, + "line": 797, "column": 30 } } @@ -94481,71 +92797,71 @@ }, { "type": "ExpressionStatement", - "start": 26848, - "end": 26875, + "start": 26379, + "end": 26406, "loc": { "start": { - "line": 814, + "line": 798, "column": 12 }, "end": { - "line": 814, + "line": 798, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 26848, - "end": 26874, + "start": 26379, + "end": 26405, "loc": { "start": { - "line": 814, + "line": 798, "column": 12 }, "end": { - "line": 814, + "line": 798, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 26848, - "end": 26872, + "start": 26379, + "end": 26403, "loc": { "start": { - "line": 814, + "line": 798, "column": 12 }, "end": { - "line": 814, + "line": 798, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 26848, - "end": 26859, + "start": 26379, + "end": 26390, "loc": { "start": { - "line": 814, + "line": 798, "column": 12 }, "end": { - "line": 814, + "line": 798, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26848, - "end": 26852, + "start": 26379, + "end": 26383, "loc": { "start": { - "line": 814, + "line": 798, "column": 12 }, "end": { - "line": 814, + "line": 798, "column": 16 } }, @@ -94553,15 +92869,15 @@ }, "property": { "type": "Identifier", - "start": 26853, - "end": 26859, + "start": 26384, + "end": 26390, "loc": { "start": { - "line": 814, + "line": 798, "column": 17 }, "end": { - "line": 814, + "line": 798, "column": 23 }, "identifierName": "surfer" @@ -94573,15 +92889,15 @@ }, "property": { "type": "Identifier", - "start": 26860, - "end": 26872, + "start": 26391, + "end": 26403, "loc": { "start": { - "line": 814, + "line": 798, "column": 24 }, "end": { - "line": 814, + "line": 798, "column": 36 }, "identifierName": "createDrawer" @@ -94598,15 +92914,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 26817, - "end": 26835, + "start": 26348, + "end": 26366, "loc": { "start": { - "line": 813, + "line": 797, "column": 12 }, "end": { - "line": 813, + "line": 797, "column": 30 } } @@ -94615,115 +92931,115 @@ }, { "type": "ExpressionStatement", - "start": 26888, - "end": 26947, + "start": 26419, + "end": 26478, "loc": { "start": { - "line": 815, + "line": 799, "column": 12 }, "end": { - "line": 815, + "line": 799, "column": 71 } }, "expression": { "type": "AssignmentExpression", - "start": 26888, - "end": 26946, + "start": 26419, + "end": 26477, "loc": { "start": { - "line": 815, + "line": 799, "column": 12 }, "end": { - "line": 815, + "line": 799, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 26888, - "end": 26924, + "start": 26419, + "end": 26455, "loc": { "start": { - "line": 815, + "line": 799, "column": 12 }, "end": { - "line": 815, + "line": 799, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 26888, - "end": 26914, + "start": 26419, + "end": 26445, "loc": { "start": { - "line": 815, + "line": 799, "column": 12 }, "end": { - "line": 815, + "line": 799, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 26888, - "end": 26906, + "start": 26419, + "end": 26437, "loc": { "start": { - "line": 815, + "line": 799, "column": 12 }, "end": { - "line": 815, + "line": 799, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 26888, - "end": 26899, + "start": 26419, + "end": 26430, "loc": { "start": { - "line": 815, + "line": 799, "column": 12 }, "end": { - "line": 815, + "line": 799, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26888, - "end": 26892, + "start": 26419, + "end": 26423, "loc": { "start": { - "line": 815, + "line": 799, "column": 12 }, "end": { - "line": 815, + "line": 799, "column": 16 } } }, "property": { "type": "Identifier", - "start": 26893, - "end": 26899, + "start": 26424, + "end": 26430, "loc": { "start": { - "line": 815, + "line": 799, "column": 17 }, "end": { - "line": 815, + "line": 799, "column": 23 }, "identifierName": "surfer" @@ -94734,15 +93050,15 @@ }, "property": { "type": "Identifier", - "start": 26900, - "end": 26906, + "start": 26431, + "end": 26437, "loc": { "start": { - "line": 815, + "line": 799, "column": 24 }, "end": { - "line": 815, + "line": 799, "column": 30 }, "identifierName": "drawer" @@ -94753,15 +93069,15 @@ }, "property": { "type": "Identifier", - "start": 26907, - "end": 26914, + "start": 26438, + "end": 26445, "loc": { "start": { - "line": 815, + "line": 799, "column": 31 }, "end": { - "line": 815, + "line": 799, "column": 38 }, "identifierName": "wrapper" @@ -94772,15 +93088,15 @@ }, "property": { "type": "Identifier", - "start": 26915, - "end": 26924, + "start": 26446, + "end": 26455, "loc": { "start": { - "line": 815, + "line": 799, "column": 39 }, "end": { - "line": 815, + "line": 799, "column": 48 }, "identifierName": "className" @@ -94791,15 +93107,15 @@ }, "right": { "type": "Identifier", - "start": 26927, - "end": 26946, + "start": 26458, + "end": 26477, "loc": { "start": { - "line": 815, + "line": 799, "column": 51 }, "end": { - "line": 815, + "line": 799, "column": 70 }, "identifierName": "wavesurferClassName" @@ -94810,86 +93126,86 @@ }, { "type": "ExpressionStatement", - "start": 26960, - "end": 26985, + "start": 26491, + "end": 26516, "loc": { "start": { - "line": 816, + "line": 800, "column": 12 }, "end": { - "line": 816, + "line": 800, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 26960, - "end": 26984, + "start": 26491, + "end": 26515, "loc": { "start": { - "line": 816, + "line": 800, "column": 12 }, "end": { - "line": 816, + "line": 800, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 26960, - "end": 26982, + "start": 26491, + "end": 26513, "loc": { "start": { - "line": 816, + "line": 800, "column": 12 }, "end": { - "line": 816, + "line": 800, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 26960, - "end": 26971, + "start": 26491, + "end": 26502, "loc": { "start": { - "line": 816, + "line": 800, "column": 12 }, "end": { - "line": 816, + "line": 800, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 26960, - "end": 26964, + "start": 26491, + "end": 26495, "loc": { "start": { - "line": 816, + "line": 800, "column": 12 }, "end": { - "line": 816, + "line": 800, "column": 16 } } }, "property": { "type": "Identifier", - "start": 26965, - "end": 26971, + "start": 26496, + "end": 26502, "loc": { "start": { - "line": 816, + "line": 800, "column": 17 }, "end": { - "line": 816, + "line": 800, "column": 23 }, "identifierName": "surfer" @@ -94900,15 +93216,15 @@ }, "property": { "type": "Identifier", - "start": 26972, - "end": 26982, + "start": 26503, + "end": 26513, "loc": { "start": { - "line": 816, + "line": 800, "column": 24 }, "end": { - "line": 816, + "line": 800, "column": 34 }, "identifierName": "drawBuffer" @@ -94923,15 +93239,15 @@ { "type": "CommentLine", "value": " make sure playhead is restored at right position", - "start": 26999, - "end": 27050, + "start": 26530, + "end": 26581, "loc": { "start": { - "line": 818, + "line": 802, "column": 12 }, "end": { - "line": 818, + "line": 802, "column": 63 } } @@ -94940,85 +93256,85 @@ }, { "type": "ExpressionStatement", - "start": 27063, - "end": 27132, + "start": 26594, + "end": 26663, "loc": { "start": { - "line": 819, + "line": 803, "column": 12 }, "end": { - "line": 819, + "line": 803, "column": 81 } }, "expression": { "type": "CallExpression", - "start": 27063, - "end": 27131, + "start": 26594, + "end": 26662, "loc": { "start": { - "line": 819, + "line": 803, "column": 12 }, "end": { - "line": 819, + "line": 803, "column": 80 } }, "callee": { "type": "MemberExpression", - "start": 27063, - "end": 27090, + "start": 26594, + "end": 26621, "loc": { "start": { - "line": 819, + "line": 803, "column": 12 }, "end": { - "line": 819, + "line": 803, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 27063, - "end": 27081, + "start": 26594, + "end": 26612, "loc": { "start": { - "line": 819, + "line": 803, "column": 12 }, "end": { - "line": 819, + "line": 803, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 27063, - "end": 27074, + "start": 26594, + "end": 26605, "loc": { "start": { - "line": 819, + "line": 803, "column": 12 }, "end": { - "line": 819, + "line": 803, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 27063, - "end": 27067, + "start": 26594, + "end": 26598, "loc": { "start": { - "line": 819, + "line": 803, "column": 12 }, "end": { - "line": 819, + "line": 803, "column": 16 } }, @@ -95026,15 +93342,15 @@ }, "property": { "type": "Identifier", - "start": 27068, - "end": 27074, + "start": 26599, + "end": 26605, "loc": { "start": { - "line": 819, + "line": 803, "column": 17 }, "end": { - "line": 819, + "line": 803, "column": 23 }, "identifierName": "surfer" @@ -95046,15 +93362,15 @@ }, "property": { "type": "Identifier", - "start": 27075, - "end": 27081, + "start": 26606, + "end": 26612, "loc": { "start": { - "line": 819, + "line": 803, "column": 24 }, "end": { - "line": 819, + "line": 803, "column": 30 }, "identifierName": "drawer" @@ -95066,15 +93382,15 @@ }, "property": { "type": "Identifier", - "start": 27082, - "end": 27090, + "start": 26613, + "end": 26621, "loc": { "start": { - "line": 819, + "line": 803, "column": 31 }, "end": { - "line": 819, + "line": 803, "column": 39 }, "identifierName": "progress" @@ -95087,86 +93403,86 @@ "arguments": [ { "type": "CallExpression", - "start": 27091, - "end": 27130, + "start": 26622, + "end": 26661, "loc": { "start": { - "line": 819, + "line": 803, "column": 40 }, "end": { - "line": 819, + "line": 803, "column": 79 } }, "callee": { "type": "MemberExpression", - "start": 27091, - "end": 27128, + "start": 26622, + "end": 26659, "loc": { "start": { - "line": 819, + "line": 803, "column": 40 }, "end": { - "line": 819, + "line": 803, "column": 77 } }, "object": { "type": "MemberExpression", - "start": 27091, - "end": 27110, + "start": 26622, + "end": 26641, "loc": { "start": { - "line": 819, + "line": 803, "column": 40 }, "end": { - "line": 819, + "line": 803, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 27091, - "end": 27102, + "start": 26622, + "end": 26633, "loc": { "start": { - "line": 819, + "line": 803, "column": 40 }, "end": { - "line": 819, + "line": 803, "column": 51 } }, "object": { "type": "ThisExpression", - "start": 27091, - "end": 27095, + "start": 26622, + "end": 26626, "loc": { "start": { - "line": 819, + "line": 803, "column": 40 }, "end": { - "line": 819, + "line": 803, "column": 44 } } }, "property": { "type": "Identifier", - "start": 27096, - "end": 27102, + "start": 26627, + "end": 26633, "loc": { "start": { - "line": 819, + "line": 803, "column": 45 }, "end": { - "line": 819, + "line": 803, "column": 51 }, "identifierName": "surfer" @@ -95177,15 +93493,15 @@ }, "property": { "type": "Identifier", - "start": 27103, - "end": 27110, + "start": 26634, + "end": 26641, "loc": { "start": { - "line": 819, + "line": 803, "column": 52 }, "end": { - "line": 819, + "line": 803, "column": 59 }, "identifierName": "backend" @@ -95196,15 +93512,15 @@ }, "property": { "type": "Identifier", - "start": 27111, - "end": 27128, + "start": 26642, + "end": 26659, "loc": { "start": { - "line": 819, + "line": 803, "column": 60 }, "end": { - "line": 819, + "line": 803, "column": 77 }, "identifierName": "getPlayedPercents" @@ -95222,15 +93538,15 @@ { "type": "CommentLine", "value": " make sure playhead is restored at right position", - "start": 26999, - "end": 27050, + "start": 26530, + "end": 26581, "loc": { "start": { - "line": 818, + "line": 802, "column": 12 }, "end": { - "line": 818, + "line": 802, "column": 63 } } @@ -95250,15 +93566,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": 25876, - "end": 26064, + "start": 25407, + "end": 25595, "loc": { "start": { - "line": 785, + "line": 769, "column": 4 }, "end": { - "line": 791, + "line": 775, "column": 7 } } @@ -95268,15 +93584,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": 27154, - "end": 27423, + "start": 26685, + "end": 26954, "loc": { "start": { - "line": 823, + "line": 807, "column": 4 }, "end": { - "line": 830, + "line": 814, "column": 7 } } @@ -95285,15 +93601,15 @@ }, { "type": "ClassMethod", - "start": 27428, - "end": 27494, + "start": 26959, + "end": 27025, "loc": { "start": { - "line": 831, + "line": 815, "column": 4 }, "end": { - "line": 833, + "line": 817, "column": 5 } }, @@ -95301,15 +93617,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 27428, - "end": 27431, + "start": 26959, + "end": 26962, "loc": { "start": { - "line": 831, + "line": 815, "column": 4 }, "end": { - "line": 831, + "line": 815, "column": 7 }, "identifierName": "log" @@ -95325,15 +93641,15 @@ "params": [ { "type": "Identifier", - "start": 27432, - "end": 27436, + "start": 26963, + "end": 26967, "loc": { "start": { - "line": 831, + "line": 815, "column": 8 }, "end": { - "line": 831, + "line": 815, "column": 12 }, "identifierName": "args" @@ -95342,15 +93658,15 @@ }, { "type": "Identifier", - "start": 27438, - "end": 27445, + "start": 26969, + "end": 26976, "loc": { "start": { - "line": 831, + "line": 815, "column": 14 }, "end": { - "line": 831, + "line": 815, "column": 21 }, "identifierName": "logType" @@ -95360,58 +93676,58 @@ ], "body": { "type": "BlockStatement", - "start": 27447, - "end": 27494, + "start": 26978, + "end": 27025, "loc": { "start": { - "line": 831, + "line": 815, "column": 23 }, "end": { - "line": 833, + "line": 817, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 27457, - "end": 27488, + "start": 26988, + "end": 27019, "loc": { "start": { - "line": 832, + "line": 816, "column": 8 }, "end": { - "line": 832, + "line": 816, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 27457, - "end": 27487, + "start": 26988, + "end": 27018, "loc": { "start": { - "line": 832, + "line": 816, "column": 8 }, "end": { - "line": 832, + "line": 816, "column": 38 } }, "callee": { "type": "Identifier", - "start": 27457, - "end": 27460, + "start": 26988, + "end": 26991, "loc": { "start": { - "line": 832, + "line": 816, "column": 8 }, "end": { - "line": 832, + "line": 816, "column": 11 }, "identifierName": "log" @@ -95421,15 +93737,15 @@ "arguments": [ { "type": "Identifier", - "start": 27461, - "end": 27465, + "start": 26992, + "end": 26996, "loc": { "start": { - "line": 832, + "line": 816, "column": 12 }, "end": { - "line": 832, + "line": 816, "column": 16 }, "identifierName": "args" @@ -95438,15 +93754,15 @@ }, { "type": "Identifier", - "start": 27467, - "end": 27474, + "start": 26998, + "end": 27005, "loc": { "start": { - "line": 832, + "line": 816, "column": 18 }, "end": { - "line": 832, + "line": 816, "column": 25 }, "identifierName": "logType" @@ -95455,44 +93771,44 @@ }, { "type": "MemberExpression", - "start": 27476, - "end": 27486, + "start": 27007, + "end": 27017, "loc": { "start": { - "line": 832, + "line": 816, "column": 27 }, "end": { - "line": 832, + "line": 816, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 27476, - "end": 27480, + "start": 27007, + "end": 27011, "loc": { "start": { - "line": 832, + "line": 816, "column": 27 }, "end": { - "line": 832, + "line": 816, "column": 31 } } }, "property": { "type": "Identifier", - "start": 27481, - "end": 27486, + "start": 27012, + "end": 27017, "loc": { "start": { - "line": 832, + "line": 816, "column": 32 }, "end": { - "line": 832, + "line": 816, "column": 37 }, "identifierName": "debug" @@ -95512,15 +93828,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": 27154, - "end": 27423, + "start": 26685, + "end": 26954, "loc": { "start": { - "line": 823, + "line": 807, "column": 4 }, "end": { - "line": 830, + "line": 814, "column": 7 } } @@ -95530,15 +93846,15 @@ { "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, + "start": 27031, + "end": 27370, "loc": { "start": { - "line": 835, + "line": 819, "column": 4 }, "end": { - "line": 841, + "line": 825, "column": 7 } } @@ -95547,15 +93863,15 @@ }, { "type": "ClassMethod", - "start": 27844, - "end": 27986, + "start": 27375, + "end": 27517, "loc": { "start": { - "line": 842, + "line": 826, "column": 4 }, "end": { - "line": 846, + "line": 830, "column": 5 } }, @@ -95563,15 +93879,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 27844, - "end": 27857, + "start": 27375, + "end": 27388, "loc": { "start": { - "line": 842, + "line": 826, "column": 4 }, "end": { - "line": 842, + "line": 826, "column": 17 }, "identifierName": "setFormatTime" @@ -95587,15 +93903,15 @@ "params": [ { "type": "Identifier", - "start": 27858, - "end": 27878, + "start": 27389, + "end": 27409, "loc": { "start": { - "line": 842, + "line": 826, "column": 18 }, "end": { - "line": 842, + "line": 826, "column": 38 }, "identifierName": "customImplementation" @@ -95605,88 +93921,88 @@ ], "body": { "type": "BlockStatement", - "start": 27880, - "end": 27986, + "start": 27411, + "end": 27517, "loc": { "start": { - "line": 842, + "line": 826, "column": 40 }, "end": { - "line": 846, + "line": 830, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 27890, - "end": 27930, + "start": 27421, + "end": 27461, "loc": { "start": { - "line": 843, + "line": 827, "column": 8 }, "end": { - "line": 843, + "line": 827, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 27890, - "end": 27929, + "start": 27421, + "end": 27460, "loc": { "start": { - "line": 843, + "line": 827, "column": 8 }, "end": { - "line": 843, + "line": 827, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 27890, - "end": 27906, + "start": 27421, + "end": 27437, "loc": { "start": { - "line": 843, + "line": 827, "column": 8 }, "end": { - "line": 843, + "line": 827, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 27890, - "end": 27894, + "start": 27421, + "end": 27425, "loc": { "start": { - "line": 843, + "line": 827, "column": 8 }, "end": { - "line": 843, + "line": 827, "column": 12 } } }, "property": { "type": "Identifier", - "start": 27895, - "end": 27906, + "start": 27426, + "end": 27437, "loc": { "start": { - "line": 843, + "line": 827, "column": 13 }, "end": { - "line": 843, + "line": 827, "column": 24 }, "identifierName": "_formatTime" @@ -95697,15 +94013,15 @@ }, "right": { "type": "Identifier", - "start": 27909, - "end": 27929, + "start": 27440, + "end": 27460, "loc": { "start": { - "line": 843, + "line": 827, "column": 27 }, "end": { - "line": 843, + "line": 827, "column": 47 }, "identifierName": "customImplementation" @@ -95716,57 +94032,57 @@ }, { "type": "ExpressionStatement", - "start": 27940, - "end": 27980, + "start": 27471, + "end": 27511, "loc": { "start": { - "line": 845, + "line": 829, "column": 8 }, "end": { - "line": 845, + "line": 829, "column": 48 } }, "expression": { "type": "CallExpression", - "start": 27940, - "end": 27979, + "start": 27471, + "end": 27510, "loc": { "start": { - "line": 845, + "line": 829, "column": 8 }, "end": { - "line": 845, + "line": 829, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 27940, - "end": 27961, + "start": 27471, + "end": 27492, "loc": { "start": { - "line": 845, + "line": 829, "column": 8 }, "end": { - "line": 845, + "line": 829, "column": 29 } }, "object": { "type": "Identifier", - "start": 27940, - "end": 27947, + "start": 27471, + "end": 27478, "loc": { "start": { - "line": 845, + "line": 829, "column": 8 }, "end": { - "line": 845, + "line": 829, "column": 15 }, "identifierName": "videojs" @@ -95775,15 +94091,15 @@ }, "property": { "type": "Identifier", - "start": 27948, - "end": 27961, + "start": 27479, + "end": 27492, "loc": { "start": { - "line": 845, + "line": 829, "column": 16 }, "end": { - "line": 845, + "line": 829, "column": 29 }, "identifierName": "setFormatTime" @@ -95795,44 +94111,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 27962, - "end": 27978, + "start": 27493, + "end": 27509, "loc": { "start": { - "line": 845, + "line": 829, "column": 30 }, "end": { - "line": 845, + "line": 829, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 27962, - "end": 27966, + "start": 27493, + "end": 27497, "loc": { "start": { - "line": 845, + "line": 829, "column": 30 }, "end": { - "line": 845, + "line": 829, "column": 34 } } }, "property": { "type": "Identifier", - "start": 27967, - "end": 27978, + "start": 27498, + "end": 27509, "loc": { "start": { - "line": 845, + "line": 829, "column": 35 }, "end": { - "line": 845, + "line": 829, "column": 46 }, "identifierName": "_formatTime" @@ -95851,15 +94167,15 @@ { "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, + "start": 27031, + "end": 27370, "loc": { "start": { - "line": 835, + "line": 819, "column": 4 }, "end": { - "line": 841, + "line": 825, "column": 7 } } @@ -95891,15 +94207,15 @@ { "type": "CommentLine", "value": " version nr is injected during build", - "start": 27990, - "end": 28028, + "start": 27521, + "end": 27559, "loc": { "start": { - "line": 849, + "line": 833, "column": 0 }, "end": { - "line": 849, + "line": 833, "column": 38 } } @@ -96523,34 +94839,18 @@ } } }, - { - "type": "CommentLine", - "value": " listen for window resize events", - "start": 6807, - "end": 6841, - "loc": { - "start": { - "line": 182, - "column": 12 - }, - "end": { - "line": 182, - "column": 46 - } - } - }, { "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": 7049, - "end": 7232, + "start": 6816, + "end": 6999, "loc": { "start": { - "line": 189, + "line": 185, "column": 4 }, "end": { - "line": 195, + "line": 191, "column": 7 } } @@ -96558,15 +94858,15 @@ { "type": "CommentLine", "value": " controlbar", - "start": 7483, - "end": 7496, + "start": 7250, + "end": 7263, "loc": { "start": { - "line": 201, + "line": 197, "column": 8 }, "end": { - "line": 201, + "line": 197, "column": 21 } } @@ -96574,15 +94874,15 @@ { "type": "CommentLine", "value": " the dimensions of the controlbar are not known yet, but we", - "start": 7653, - "end": 7714, + "start": 7420, + "end": 7481, "loc": { "start": { - "line": 204, + "line": 200, "column": 12 }, "end": { - "line": 204, + "line": 200, "column": 73 } } @@ -96590,15 +94890,15 @@ { "type": "CommentLine", "value": " need it now, so we can calculate the height of the waveform.", - "start": 7727, - "end": 7790, + "start": 7494, + "end": 7557, "loc": { "start": { - "line": 205, + "line": 201, "column": 12 }, "end": { - "line": 205, + "line": 201, "column": 75 } } @@ -96606,15 +94906,15 @@ { "type": "CommentLine", "value": " The default height is 30px, so use that instead.", - "start": 7803, - "end": 7854, + "start": 7570, + "end": 7621, "loc": { "start": { - "line": 206, + "line": 202, "column": 12 }, "end": { - "line": 206, + "line": 202, "column": 63 } } @@ -96622,15 +94922,15 @@ { "type": "CommentLine", "value": " set waveform element and dimensions", - "start": 7909, - "end": 7947, + "start": 7676, + "end": 7714, "loc": { "start": { - "line": 210, + "line": 206, "column": 8 }, "end": { - "line": 210, + "line": 206, "column": 46 } } @@ -96638,15 +94938,15 @@ { "type": "CommentLine", "value": " Set the container to player's container if \"container\" option is", - "start": 7956, - "end": 8023, + "start": 7723, + "end": 7790, "loc": { "start": { - "line": 211, + "line": 207, "column": 8 }, "end": { - "line": 211, + "line": 207, "column": 75 } } @@ -96654,15 +94954,15 @@ { "type": "CommentLine", "value": " not provided. If a waveform needs to be appended to your custom", - "start": 8032, - "end": 8098, + "start": 7799, + "end": 7865, "loc": { "start": { - "line": 212, + "line": 208, "column": 8 }, "end": { - "line": 212, + "line": 208, "column": 74 } } @@ -96670,15 +94970,15 @@ { "type": "CommentLine", "value": " element, then use below option. For example:", - "start": 8107, - "end": 8154, + "start": 7874, + "end": 7921, "loc": { "start": { - "line": 213, + "line": 209, "column": 8 }, "end": { - "line": 213, + "line": 209, "column": 55 } } @@ -96686,15 +94986,15 @@ { "type": "CommentLine", "value": " container: document.querySelector(\"#vjs-waveform\")", - "start": 8163, - "end": 8216, + "start": 7930, + "end": 7983, "loc": { "start": { - "line": 214, + "line": 210, "column": 8 }, "end": { - "line": 214, + "line": 210, "column": 61 } } @@ -96702,15 +95002,15 @@ { "type": "CommentLine", "value": " set the height of generated waveform if user has provided height", - "start": 8338, - "end": 8405, + "start": 8105, + "end": 8172, "loc": { "start": { - "line": 219, + "line": 215, "column": 8 }, "end": { - "line": 219, + "line": 215, "column": 75 } } @@ -96718,15 +95018,15 @@ { "type": "CommentLine", "value": " from options. If height of waveform need to be customized then use", - "start": 8414, - "end": 8483, + "start": 8181, + "end": 8250, "loc": { "start": { - "line": 220, + "line": 216, "column": 8 }, "end": { - "line": 220, + "line": 216, "column": 77 } } @@ -96734,15 +95034,15 @@ { "type": "CommentLine", "value": " option below. For example: waveformHeight: 30", - "start": 8492, - "end": 8540, + "start": 8259, + "end": 8307, "loc": { "start": { - "line": 221, + "line": 217, "column": 8 }, "end": { - "line": 221, + "line": 217, "column": 56 } } @@ -96750,15 +95050,15 @@ { "type": "CommentLine", "value": " split channels", - "start": 8800, - "end": 8817, + "start": 8567, + "end": 8584, "loc": { "start": { - "line": 229, + "line": 225, "column": 8 }, "end": { - "line": 229, + "line": 225, "column": 25 } } @@ -96766,15 +95066,15 @@ { "type": "CommentLine", "value": " use MediaElement as default wavesurfer.js backend if one is not", - "start": 8950, - "end": 9016, + "start": 8717, + "end": 8783, "loc": { "start": { - "line": 234, + "line": 230, "column": 8 }, "end": { - "line": 234, + "line": 230, "column": 74 } } @@ -96782,15 +95082,15 @@ { "type": "CommentLine", "value": " specified", - "start": 9025, - "end": 9037, + "start": 8792, + "end": 8804, "loc": { "start": { - "line": 235, + "line": 231, "column": 8 }, "end": { - "line": 235, + "line": 231, "column": 20 } } @@ -96798,15 +95098,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": 9252, - "end": 9452, + "start": 9019, + "end": 9219, "loc": { "start": { - "line": 245, + "line": 241, "column": 4 }, "end": { - "line": 251, + "line": 247, "column": 7 } } @@ -96814,15 +95114,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": 10082, - "end": 10374, + "start": 9849, + "end": 10141, "loc": { "start": { - "line": 268, + "line": 264, "column": 4 }, "end": { - "line": 275, + "line": 271, "column": 7 } } @@ -96830,15 +95130,15 @@ { "type": "CommentLine", "value": " load peak data from array or file", - "start": 10588, - "end": 10624, + "start": 10355, + "end": 10391, "loc": { "start": { - "line": 281, + "line": 277, "column": 12 }, "end": { - "line": 281, + "line": 277, "column": 48 } } @@ -96846,15 +95146,15 @@ { "type": "CommentLine", "value": " no peaks", - "start": 10745, - "end": 10756, + "start": 10512, + "end": 10523, "loc": { "start": { - "line": 285, + "line": 281, "column": 16 }, "end": { - "line": 285, + "line": 281, "column": 27 } } @@ -96862,15 +95162,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": 11031, - "end": 11323, + "start": 10798, + "end": 11090, "loc": { "start": { - "line": 296, + "line": 292, "column": 4 }, "end": { - "line": 303, + "line": 299, "column": 7 } } @@ -96878,15 +95178,15 @@ { "type": "CommentLine", "value": " use supplied peaks data", - "start": 11400, - "end": 11426, + "start": 11167, + "end": 11193, "loc": { "start": { - "line": 306, + "line": 302, "column": 12 }, "end": { - "line": 306, + "line": 302, "column": 38 } } @@ -96894,15 +95194,15 @@ { "type": "CommentLine", "value": " load peak data from file", - "start": 11563, - "end": 11590, + "start": 11330, + "end": 11357, "loc": { "start": { - "line": 310, + "line": 306, "column": 12 }, "end": { - "line": 310, + "line": 306, "column": 39 } } @@ -96910,15 +95210,15 @@ { "type": "CommentLine", "value": " supply xhr options, if any", - "start": 11719, - "end": 11748, + "start": 11486, + "end": 11515, "loc": { "start": { - "line": 316, + "line": 312, "column": 12 }, "end": { - "line": 316, + "line": 312, "column": 41 } } @@ -96926,15 +95226,15 @@ { "type": "CommentLine", "value": " check for data property containing peaks", - "start": 12114, - "end": 12157, + "start": 11881, + "end": 11924, "loc": { "start": { - "line": 324, + "line": 320, "column": 16 }, "end": { - "line": 324, + "line": 320, "column": 59 } } @@ -96942,15 +95242,15 @@ { "type": "CommentBlock", "value": "*\n * Start/resume playback or microphone.\n ", - "start": 12737, - "end": 12792, + "start": 12504, + "end": 12559, "loc": { "start": { - "line": 341, + "line": 337, "column": 4 }, "end": { - "line": 343, + "line": 339, "column": 7 } } @@ -96958,15 +95258,15 @@ { "type": "CommentLine", "value": " show pause button", - "start": 12814, - "end": 12834, + "start": 12581, + "end": 12601, "loc": { "start": { - "line": 345, + "line": 341, "column": 8 }, "end": { - "line": 345, + "line": 341, "column": 28 } } @@ -96974,15 +95274,15 @@ { "type": "CommentLine", "value": " start/resume microphone visualization", - "start": 13071, - "end": 13111, + "start": 12838, + "end": 12878, "loc": { "start": { - "line": 352, + "line": 348, "column": 12 }, "end": { - "line": 352, + "line": 348, "column": 52 } } @@ -96990,15 +95290,15 @@ { "type": "CommentLine", "value": " toggle paused", - "start": 13305, - "end": 13321, + "start": 13072, + "end": 13088, "loc": { "start": { - "line": 358, + "line": 354, "column": 16 }, "end": { - "line": 358, + "line": 354, "column": 32 } } @@ -97006,15 +95306,15 @@ { "type": "CommentLine", "value": " put video.js player UI in playback mode", - "start": 13677, - "end": 13719, + "start": 13444, + "end": 13486, "loc": { "start": { - "line": 371, + "line": 367, "column": 12 }, "end": { - "line": 371, + "line": 367, "column": 54 } } @@ -97022,15 +95322,15 @@ { "type": "CommentLine", "value": " start surfer playback", - "start": 13765, - "end": 13789, + "start": 13532, + "end": 13556, "loc": { "start": { - "line": 374, + "line": 370, "column": 12 }, "end": { - "line": 374, + "line": 370, "column": 36 } } @@ -97038,15 +95338,15 @@ { "type": "CommentBlock", "value": "*\n * Pauses playback or microphone visualization.\n ", - "start": 13843, - "end": 13906, + "start": 13610, + "end": 13673, "loc": { "start": { - "line": 379, + "line": 375, "column": 4 }, "end": { - "line": 381, + "line": 377, "column": 7 } } @@ -97054,15 +95354,15 @@ { "type": "CommentLine", "value": " show play button", - "start": 13929, - "end": 13948, + "start": 13696, + "end": 13715, "loc": { "start": { - "line": 383, + "line": 379, "column": 8 }, "end": { - "line": 383, + "line": 379, "column": 27 } } @@ -97070,15 +95370,15 @@ { "type": "CommentLine", "value": " pause microphone visualization", - "start": 14186, - "end": 14219, + "start": 13953, + "end": 13986, "loc": { "start": { - "line": 390, + "line": 386, "column": 12 }, "end": { - "line": 390, + "line": 386, "column": 45 } } @@ -97086,15 +95386,15 @@ { "type": "CommentLine", "value": " pause playback", - "start": 14335, - "end": 14352, + "start": 14102, + "end": 14119, "loc": { "start": { - "line": 394, + "line": 390, "column": 12 }, "end": { - "line": 394, + "line": 390, "column": 29 } } @@ -97102,15 +95402,15 @@ { "type": "CommentLine", "value": " pause wavesurfer playback", - "start": 14448, - "end": 14476, + "start": 14215, + "end": 14243, "loc": { "start": { - "line": 398, + "line": 394, "column": 16 }, "end": { - "line": 398, + "line": 394, "column": 44 } } @@ -97118,15 +95418,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n ", - "start": 14649, - "end": 14676, + "start": 14416, + "end": 14443, "loc": { "start": { - "line": 408, + "line": 404, "column": 4 }, "end": { - "line": 410, + "line": 406, "column": 7 } } @@ -97134,15 +95434,15 @@ { "type": "CommentLine", "value": " destroy microphone plugin", - "start": 14795, - "end": 14823, + "start": 14562, + "end": 14590, "loc": { "start": { - "line": 414, + "line": 410, "column": 16 }, "end": { - "line": 414, + "line": 410, "column": 44 } } @@ -97150,15 +95450,15 @@ { "type": "CommentLine", "value": " destroy wavesurfer instance", - "start": 14957, - "end": 14987, + "start": 14724, + "end": 14754, "loc": { "start": { - "line": 418, + "line": 414, "column": 12 }, "end": { - "line": 418, + "line": 414, "column": 42 } } @@ -97166,15 +95466,15 @@ { "type": "CommentBlock", "value": "*\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n ", - "start": 15082, - "end": 15207, + "start": 14849, + "end": 14974, "loc": { "start": { - "line": 424, + "line": 420, "column": 4 }, "end": { - "line": 428, + "line": 424, "column": 7 } } @@ -97182,15 +95482,15 @@ { "type": "CommentBlock", "value": "*\n * Remove the player and waveform.\n ", - "start": 15304, - "end": 15354, + "start": 15071, + "end": 15121, "loc": { "start": { - "line": 433, + "line": 429, "column": 4 }, "end": { - "line": 435, + "line": 431, "column": 7 } } @@ -97198,15 +95498,15 @@ { "type": "CommentBlock", "value": "*\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n ", - "start": 15413, - "end": 15514, + "start": 15180, + "end": 15281, "loc": { "start": { - "line": 440, + "line": 436, "column": 4 }, "end": { - "line": 444, + "line": 440, "column": 7 } } @@ -97214,15 +95514,15 @@ { "type": "CommentLine", "value": " update player volume", - "start": 15643, - "end": 15666, + "start": 15410, + "end": 15433, "loc": { "start": { - "line": 449, + "line": 445, "column": 12 }, "end": { - "line": 449, + "line": 445, "column": 35 } } @@ -97230,15 +95530,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": 15728, - "end": 16607, + "start": 15495, + "end": 16374, "loc": { "start": { - "line": 454, + "line": 450, "column": 4 }, "end": { - "line": 471, + "line": 467, "column": 7 } } @@ -97246,15 +95546,15 @@ { "type": "CommentBlock", "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", - "start": 16732, - "end": 16850, + "start": 16499, + "end": 16617, "loc": { "start": { - "line": 476, + "line": 472, "column": 4 }, "end": { - "line": 480, + "line": 476, "column": 7 } } @@ -97262,15 +95562,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16985, - "end": 17004, + "start": 16752, + "end": 16771, "loc": { "start": { - "line": 484, + "line": 480, "column": 16 }, "end": { - "line": 484, + "line": 480, "column": 35 } } @@ -97278,15 +95578,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 17116, - "end": 17135, + "start": 16883, + "end": 16902, "loc": { "start": { - "line": 487, + "line": 483, "column": 16 }, "end": { - "line": 487, + "line": 483, "column": 35 } } @@ -97294,15 +95594,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": 17269, - "end": 17468, + "start": 17036, + "end": 17235, "loc": { "start": { - "line": 495, + "line": 491, "column": 4 }, "end": { - "line": 501, + "line": 497, "column": 7 } } @@ -97310,15 +95610,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": 17648, - "end": 17919, + "start": 17415, + "end": 17686, "loc": { "start": { - "line": 509, + "line": 505, "column": 4 }, "end": { - "line": 516, + "line": 512, "column": 7 } } @@ -97326,15 +95626,15 @@ { "type": "CommentLine", "value": " update current time display component", - "start": 18291, - "end": 18331, + "start": 18058, + "end": 18098, "loc": { "start": { - "line": 529, + "line": 525, "column": 8 }, "end": { - "line": 529, + "line": 525, "column": 48 } } @@ -97342,15 +95642,15 @@ { "type": "CommentLine", "value": " only needed for text tracks", - "start": 18946, - "end": 18976, + "start": 18713, + "end": 18743, "loc": { "start": { - "line": 541, + "line": 537, "column": 12 }, "end": { - "line": 541, + "line": 537, "column": 42 } } @@ -97358,15 +95658,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": 19057, - "end": 19230, + "start": 18824, + "end": 18997, "loc": { "start": { - "line": 546, + "line": 542, "column": 4 }, "end": { - "line": 552, + "line": 548, "column": 7 } } @@ -97374,15 +95674,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": 19389, - "end": 19564, + "start": 19156, + "end": 19331, "loc": { "start": { - "line": 560, + "line": 556, "column": 4 }, "end": { - "line": 565, + "line": 561, "column": 7 } } @@ -97390,15 +95690,15 @@ { "type": "CommentLine", "value": " update duration display component", - "start": 19751, - "end": 19787, + "start": 19518, + "end": 19554, "loc": { "start": { - "line": 572, + "line": 568, "column": 8 }, "end": { - "line": 572, + "line": 568, "column": 44 } } @@ -97406,15 +95706,15 @@ { "type": "CommentBlock", "value": "*\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n ", - "start": 20248, - "end": 20365, + "start": 20015, + "end": 20132, "loc": { "start": { - "line": 582, + "line": 578, "column": 4 }, "end": { - "line": 587, + "line": 583, "column": 7 } } @@ -97422,15 +95722,15 @@ { "type": "CommentLine", "value": " update time display", - "start": 20624, - "end": 20646, + "start": 20391, + "end": 20413, "loc": { "start": { - "line": 597, + "line": 593, "column": 12 }, "end": { - "line": 597, + "line": 593, "column": 34 } } @@ -97438,15 +95738,15 @@ { "type": "CommentLine", "value": " enable and show play button", - "start": 20727, - "end": 20757, + "start": 20494, + "end": 20524, "loc": { "start": { - "line": 601, + "line": 597, "column": 12 }, "end": { - "line": 601, + "line": 597, "column": 42 } } @@ -97454,15 +95754,15 @@ { "type": "CommentLine", "value": " hide loading spinner", - "start": 20981, - "end": 21004, + "start": 20748, + "end": 20771, "loc": { "start": { - "line": 608, + "line": 604, "column": 8 }, "end": { - "line": 608, + "line": 604, "column": 31 } } @@ -97470,15 +95770,15 @@ { "type": "CommentLine", "value": " auto-play when ready (if enabled)", - "start": 21125, - "end": 21161, + "start": 20892, + "end": 20928, "loc": { "start": { - "line": 613, + "line": 609, "column": 8 }, "end": { - "line": 613, + "line": 609, "column": 44 } } @@ -97486,15 +95786,15 @@ { "type": "CommentLine", "value": " autoplay is only allowed when audio is muted", - "start": 21228, - "end": 21275, + "start": 20995, + "end": 21042, "loc": { "start": { - "line": 615, + "line": 611, "column": 12 }, "end": { - "line": 615, + "line": 611, "column": 59 } } @@ -97502,15 +95802,15 @@ { "type": "CommentLine", "value": " try auto-play", - "start": 21320, - "end": 21336, + "start": 21087, + "end": 21103, "loc": { "start": { - "line": 618, + "line": 614, "column": 12 }, "end": { - "line": 618, + "line": 614, "column": 28 } } @@ -97518,15 +95818,15 @@ { "type": "CommentBlock", "value": "*\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n ", - "start": 21576, - "end": 21683, + "start": 21343, + "end": 21450, "loc": { "start": { - "line": 629, + "line": 625, "column": 4 }, "end": { - "line": 634, + "line": 630, "column": 7 } } @@ -97534,15 +95834,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 21753, - "end": 21772, + "start": 21520, + "end": 21539, "loc": { "start": { - "line": 638, + "line": 634, "column": 8 }, "end": { - "line": 638, + "line": 634, "column": 27 } } @@ -97550,15 +95850,15 @@ { "type": "CommentLine", "value": " check if loop is enabled", - "start": 21834, - "end": 21861, + "start": 21601, + "end": 21628, "loc": { "start": { - "line": 641, + "line": 637, "column": 8 }, "end": { - "line": 641, + "line": 637, "column": 35 } } @@ -97566,15 +95866,15 @@ { "type": "CommentLine", "value": " reset waveform", - "start": 21973, - "end": 21990, + "start": 21740, + "end": 21757, "loc": { "start": { - "line": 644, + "line": 640, "column": 16 }, "end": { - "line": 644, + "line": 640, "column": 33 } } @@ -97582,15 +95882,15 @@ { "type": "CommentLine", "value": " finished", - "start": 22099, - "end": 22110, + "start": 21866, + "end": 21877, "loc": { "start": { - "line": 649, + "line": 645, "column": 12 }, "end": { - "line": 649, + "line": 645, "column": 23 } } @@ -97598,15 +95898,15 @@ { "type": "CommentLine", "value": " pause player", - "start": 22211, - "end": 22226, + "start": 21978, + "end": 21993, "loc": { "start": { - "line": 653, + "line": 649, "column": 16 }, "end": { - "line": 653, + "line": 649, "column": 31 } } @@ -97614,15 +95914,15 @@ { "type": "CommentLine", "value": " show the replay state of play toggle", - "start": 22274, - "end": 22313, + "start": 22041, + "end": 22080, "loc": { "start": { - "line": 656, + "line": 652, "column": 16 }, "end": { - "line": 656, + "line": 652, "column": 55 } } @@ -97630,15 +95930,15 @@ { "type": "CommentLine", "value": " this gets called once after the clip has ended and the user", - "start": 22381, - "end": 22443, + "start": 22148, + "end": 22210, "loc": { "start": { - "line": 659, + "line": 655, "column": 16 }, "end": { - "line": 659, + "line": 655, "column": 78 } } @@ -97646,15 +95946,15 @@ { "type": "CommentLine", "value": " seeks so that we can change the replay button back to a play", - "start": 22460, - "end": 22523, + "start": 22227, + "end": 22290, "loc": { "start": { - "line": 660, + "line": 656, "column": 16 }, "end": { - "line": 660, + "line": 656, "column": 79 } } @@ -97662,15 +95962,15 @@ { "type": "CommentLine", "value": " button", - "start": 22540, - "end": 22549, + "start": 22307, + "end": 22316, "loc": { "start": { - "line": 661, + "line": 657, "column": 16 }, "end": { - "line": 661, + "line": 657, "column": 25 } } @@ -97678,15 +95978,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": 22893, - "end": 23045, + "start": 22660, + "end": 22812, "loc": { "start": { - "line": 672, + "line": 668, "column": 4 }, "end": { - "line": 677, + "line": 673, "column": 7 } } @@ -97694,15 +95994,15 @@ { "type": "CommentBlock", "value": "*\n * Fires during seeking of the waveform.\n *\n * @private\n ", - "start": 23115, - "end": 23194, + "start": 22882, + "end": 22961, "loc": { "start": { - "line": 682, + "line": 678, "column": 4 }, "end": { - "line": 686, + "line": 682, "column": 7 } } @@ -97710,15 +96010,15 @@ { "type": "CommentBlock", "value": "*\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n ", - "start": 23256, - "end": 23366, + "start": 23023, + "end": 23133, "loc": { "start": { - "line": 691, + "line": 687, "column": 4 }, "end": { - "line": 696, + "line": 692, "column": 7 } } @@ -97726,15 +96026,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 23400, - "end": 23419, + "start": 23167, + "end": 23186, "loc": { "start": { - "line": 698, + "line": 694, "column": 8 }, "end": { - "line": 698, + "line": 694, "column": 27 } } @@ -97742,15 +96042,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the play toggle is clicked.\n * @private\n ", - "start": 23770, - "end": 23843, + "start": 23537, + "end": 23610, "loc": { "start": { - "line": 710, + "line": 706, "column": 4 }, "end": { - "line": 713, + "line": 709, "column": 7 } } @@ -97758,15 +96058,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the volume in the video.js player changes.\n * @private\n ", - "start": 24209, - "end": 24297, + "start": 23976, + "end": 24064, "loc": { "start": { - "line": 726, + "line": 722, "column": 4 }, "end": { - "line": 729, + "line": 725, "column": 7 } } @@ -97774,15 +96074,15 @@ { "type": "CommentLine", "value": " muted volume", - "start": 24411, - "end": 24426, + "start": 24178, + "end": 24193, "loc": { "start": { - "line": 733, + "line": 729, "column": 12 }, "end": { - "line": 733, + "line": 729, "column": 27 } } @@ -97790,15 +96090,15 @@ { "type": "CommentLine", "value": " update wavesurfer.js volume", - "start": 24470, - "end": 24500, + "start": 24237, + "end": 24267, "loc": { "start": { - "line": 737, + "line": 733, "column": 8 }, "end": { - "line": 737, + "line": 733, "column": 38 } } @@ -97806,15 +96106,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n ", - "start": 24551, - "end": 24655, + "start": 24318, + "end": 24422, "loc": { "start": { - "line": 741, + "line": 737, "column": 4 }, "end": { - "line": 744, + "line": 740, "column": 7 } } @@ -97822,15 +96122,15 @@ { "type": "CommentLine", "value": " execute with tiny delay so the player element completes", - "start": 24687, - "end": 24745, + "start": 24454, + "end": 24512, "loc": { "start": { - "line": 746, + "line": 742, "column": 8 }, "end": { - "line": 746, + "line": 742, "column": 66 } } @@ -97838,15 +96138,15 @@ { "type": "CommentLine", "value": " rendering and correct dimensions are reported", - "start": 24754, - "end": 24802, + "start": 24521, + "end": 24569, "loc": { "start": { - "line": 747, + "line": 743, "column": 8 }, "end": { - "line": 747, + "line": 743, "column": 56 } } @@ -97854,15 +96154,15 @@ { "type": "CommentLine", "value": " restore original dimensions", - "start": 25010, - "end": 25040, + "start": 24777, + "end": 24807, "loc": { "start": { - "line": 752, + "line": 748, "column": 16 }, "end": { - "line": 752, + "line": 748, "column": 46 } } @@ -97870,15 +96170,15 @@ { "type": "CommentLine", "value": " we're in live mode but the microphone hasn't been", - "start": 25277, - "end": 25329, + "start": 25044, + "end": 25096, "loc": { "start": { - "line": 759, + "line": 755, "column": 20 }, "end": { - "line": 759, + "line": 755, "column": 72 } } @@ -97886,15 +96186,15 @@ { "type": "CommentLine", "value": " started yet", - "start": 25350, - "end": 25364, + "start": 25117, + "end": 25131, "loc": { "start": { - "line": 760, + "line": 756, "column": 20 }, "end": { - "line": 760, + "line": 756, "column": 34 } } @@ -97902,15 +96202,15 @@ { "type": "CommentLine", "value": " redraw", - "start": 25427, - "end": 25436, + "start": 25194, + "end": 25203, "loc": { "start": { - "line": 763, + "line": 759, "column": 16 }, "end": { - "line": 763, + "line": 759, "column": 25 } } @@ -97918,63 +96218,31 @@ { "type": "CommentLine", "value": " stop fullscreenDelay interval", - "start": 25522, - "end": 25554, + "start": 25289, + "end": 25321, "loc": { "start": { - "line": 767, + "line": 763, "column": 12 }, "end": { - "line": 767, + "line": 763, "column": 44 } } }, - { - "type": "CommentBlock", - "value": "*\n * Fired when the video.js player is resized.\n *\n * @private\n ", - "start": 25640, - "end": 25724, - "loc": { - "start": { - "line": 773, - "column": 4 - }, - "end": { - "line": 777, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " redraw waveform", - "start": 25801, - "end": 25819, - "loc": { - "start": { - "line": 780, - "column": 12 - }, - "end": { - "line": 780, - "column": 30 - } - } - }, { "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": 25876, - "end": 26064, + "start": 25407, + "end": 25595, "loc": { "start": { - "line": 785, + "line": 769, "column": 4 }, "end": { - "line": 791, + "line": 775, "column": 7 } } @@ -97982,15 +96250,15 @@ { "type": "CommentLine", "value": " get player width", - "start": 26311, - "end": 26330, + "start": 25842, + "end": 25861, "loc": { "start": { - "line": 797, + "line": 781, "column": 20 }, "end": { - "line": 797, + "line": 781, "column": 39 } } @@ -97998,15 +96266,15 @@ { "type": "CommentLine", "value": " get player height", - "start": 26459, - "end": 26479, + "start": 25990, + "end": 26010, "loc": { "start": { - "line": 801, + "line": 785, "column": 20 }, "end": { - "line": 801, + "line": 785, "column": 40 } } @@ -98014,15 +96282,15 @@ { "type": "CommentLine", "value": " destroy old drawing", - "start": 26570, - "end": 26592, + "start": 26101, + "end": 26123, "loc": { "start": { - "line": 806, + "line": 790, "column": 12 }, "end": { - "line": 806, + "line": 790, "column": 34 } } @@ -98030,15 +96298,15 @@ { "type": "CommentLine", "value": " set new dimensions", - "start": 26648, - "end": 26669, + "start": 26179, + "end": 26200, "loc": { "start": { - "line": 809, + "line": 793, "column": 12 }, "end": { - "line": 809, + "line": 793, "column": 33 } } @@ -98046,15 +96314,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 26817, - "end": 26835, + "start": 26348, + "end": 26366, "loc": { "start": { - "line": 813, + "line": 797, "column": 12 }, "end": { - "line": 813, + "line": 797, "column": 30 } } @@ -98062,15 +96330,15 @@ { "type": "CommentLine", "value": " make sure playhead is restored at right position", - "start": 26999, - "end": 27050, + "start": 26530, + "end": 26581, "loc": { "start": { - "line": 818, + "line": 802, "column": 12 }, "end": { - "line": 818, + "line": 802, "column": 63 } } @@ -98078,15 +96346,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": 27154, - "end": 27423, + "start": 26685, + "end": 26954, "loc": { "start": { - "line": 823, + "line": 807, "column": 4 }, "end": { - "line": 830, + "line": 814, "column": 7 } } @@ -98094,15 +96362,15 @@ { "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, + "start": 27031, + "end": 27370, "loc": { "start": { - "line": 835, + "line": 819, "column": 4 }, "end": { - "line": 841, + "line": 825, "column": 7 } } @@ -98110,15 +96378,15 @@ { "type": "CommentLine", "value": " version nr is injected during build", - "start": 27990, - "end": 28028, + "start": 27521, + "end": 27559, "loc": { "start": { - "line": 849, + "line": 833, "column": 0 }, "end": { - "line": 849, + "line": 833, "column": 38 } } @@ -98126,15 +96394,15 @@ { "type": "CommentLine", "value": " register plugin once", - "start": 28064, - "end": 28087, + "start": 27595, + "end": 27618, "loc": { "start": { - "line": 852, + "line": 836, "column": 0 }, "end": { - "line": 852, + "line": 836, "column": 23 } } @@ -98142,15 +96410,15 @@ { "type": "CommentLine", "value": " register a star-middleware", - "start": 28247, - "end": 28276, + "start": 27778, + "end": 27807, "loc": { "start": { - "line": 858, + "line": 842, "column": 0 }, "end": { - "line": 858, + "line": 842, "column": 29 } } @@ -98158,15 +96426,15 @@ { "type": "CommentLine", "value": " make player available on middleware", - "start": 28310, - "end": 28348, + "start": 27841, + "end": 27879, "loc": { "start": { - "line": 860, + "line": 844, "column": 4 }, "end": { - "line": 860, + "line": 844, "column": 42 } } @@ -120707,71 +118975,118 @@ } }, { - "type": "CommentLine", - "value": " listen for window resize events", - "start": 6807, - "end": 6841, + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6803, + "end": 6804, "loc": { "start": { "line": 182, - "column": 12 + "column": 8 }, "end": { "line": 182, - "column": 46 + "column": 9 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 6854, - "end": 6858, + "start": 6809, + "end": 6810, "loc": { "start": { "line": 183, - "column": 12 + "column": 4 }, "end": { "line": 183, - "column": 16 + "column": 5 + } + } + }, + { + "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": 6816, + "end": 6999, + "loc": { + "start": { + "line": 185, + "column": 4 + }, + "end": { + "line": 191, + "column": 7 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6858, - "end": 6859, + "value": "parseOptions", + "start": 7004, + "end": 7016, "loc": { "start": { - "line": 183, + "line": 192, + "column": 4 + }, + "end": { + "line": 192, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7016, + "end": 7017, + "loc": { + "start": { + "line": 192, "column": 16 }, "end": { - "line": 183, + "line": 192, "column": 17 } } @@ -120788,17 +119103,17 @@ "postfix": false, "binop": null }, - "value": "responsiveWave", - "start": 6859, - "end": 6873, + "value": "surferOpts", + "start": 7017, + "end": 7027, "loc": { "start": { - "line": 183, + "line": 192, "column": 17 }, "end": { - "line": 183, - "column": 31 + "line": 192, + "column": 27 } } }, @@ -120816,19 +119131,147 @@ "updateContext": null }, "value": "=", - "start": 6874, - "end": 6875, + "start": 7028, + "end": 7029, "loc": { "start": { - "line": 183, + "line": 192, + "column": 28 + }, + "end": { + "line": 192, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7030, + "end": 7031, + "loc": { + "start": { + "line": 192, + "column": 30 + }, + "end": { + "line": 192, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7031, + "end": 7032, + "loc": { + "start": { + "line": 192, + "column": 31 + }, + "end": { + "line": 192, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7032, + "end": 7033, + "loc": { + "start": { + "line": 192, "column": 32 }, "end": { - "line": 183, + "line": 192, "column": 33 } } }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7034, + "end": 7035, + "loc": { + "start": { + "line": 192, + "column": 34 + }, + "end": { + "line": 192, + "column": 35 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 7044, + "end": 7047, + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 11 + } + } + }, { "type": { "label": "name", @@ -120841,17 +119284,72 @@ "postfix": false, "binop": null }, - "value": "WaveSurfer", - "start": 6876, - "end": 6886, + "value": "rect", + "start": 7048, + "end": 7052, "loc": { "start": { - "line": 183, - "column": 34 + "line": 193, + "column": 12 }, "end": { - "line": 183, - "column": 44 + "line": 193, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7053, + "end": 7054, + "loc": { + "start": { + "line": 193, + "column": 17 + }, + "end": { + "line": 193, + "column": 18 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 7055, + "end": 7059, + "loc": { + "start": { + "line": 193, + "column": 19 + }, + "end": { + "line": 193, + "column": 23 } } }, @@ -120868,16 +119366,16 @@ "binop": null, "updateContext": null }, - "start": 6886, - "end": 6887, + "start": 7059, + "end": 7060, "loc": { "start": { - "line": 183, - "column": 44 + "line": 193, + "column": 23 }, "end": { - "line": 183, - "column": 45 + "line": 193, + "column": 24 } } }, @@ -120893,17 +119391,17 @@ "postfix": false, "binop": null }, - "value": "util", - "start": 6887, - "end": 6891, + "value": "player", + "start": 7060, + "end": 7066, "loc": { "start": { - "line": 183, - "column": 45 + "line": 193, + "column": 24 }, "end": { - "line": 183, - "column": 49 + "line": 193, + "column": 30 } } }, @@ -120920,16 +119418,16 @@ "binop": null, "updateContext": null }, - "start": 6891, - "end": 6892, + "start": 7066, + "end": 7067, "loc": { "start": { - "line": 183, - "column": 49 + "line": 193, + "column": 30 }, "end": { - "line": 183, - "column": 50 + "line": 193, + "column": 31 } } }, @@ -120945,17 +119443,69 @@ "postfix": false, "binop": null }, - "value": "debounce", - "start": 6892, - "end": 6900, + "value": "el_", + "start": 7067, + "end": 7070, "loc": { "start": { - "line": 183, - "column": 50 + "line": 193, + "column": 31 }, "end": { - "line": 183, - "column": 58 + "line": 193, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7070, + "end": 7071, + "loc": { + "start": { + "line": 193, + "column": 34 + }, + "end": { + "line": 193, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getBoundingClientRect", + "start": 7071, + "end": 7092, + "loc": { + "start": { + "line": 193, + "column": 35 + }, + "end": { + "line": 193, + "column": 56 } } }, @@ -120971,15 +119521,66 @@ "postfix": false, "binop": null }, - "start": 6900, - "end": 6901, + "start": 7092, + "end": 7093, "loc": { "start": { - "line": 183, + "line": 193, + "column": 56 + }, + "end": { + "line": 193, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7093, + "end": 7094, + "loc": { + "start": { + "line": 193, + "column": 57 + }, + "end": { + "line": 193, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7094, + "end": 7095, + "loc": { + "start": { + "line": 193, "column": 58 }, "end": { - "line": 183, + "line": 193, "column": 59 } } @@ -120999,1019 +119600,16 @@ "updateContext": null }, "value": "this", - "start": 6918, - "end": 6922, + "start": 7104, + "end": 7108, "loc": { "start": { - "line": 184, - "column": 16 - }, - "end": { - "line": 184, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6922, - "end": 6923, - "loc": { - "start": { - "line": 184, - "column": 20 - }, - "end": { - "line": 184, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onResizeChange", - "start": 6923, - "end": 6937, - "loc": { - "start": { - "line": 184, - "column": 21 - }, - "end": { - "line": 184, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6937, - "end": 6938, - "loc": { - "start": { - "line": 184, - "column": 35 - }, - "end": { - "line": 184, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "bind", - "start": 6938, - "end": 6942, - "loc": { - "start": { - "line": 184, - "column": 36 - }, - "end": { - "line": 184, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6942, - "end": 6943, - "loc": { - "start": { - "line": 184, - "column": 40 - }, - "end": { - "line": 184, - "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": 6943, - "end": 6947, - "loc": { - "start": { - "line": 184, - "column": 41 - }, - "end": { - "line": 184, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6947, - "end": 6948, - "loc": { - "start": { - "line": 184, - "column": 45 - }, - "end": { - "line": 184, - "column": 46 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6948, - "end": 6949, - "loc": { - "start": { - "line": 184, - "column": 46 - }, - "end": { - "line": 184, - "column": 47 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 150, - "start": 6950, - "end": 6953, - "loc": { - "start": { - "line": 184, - "column": 48 - }, - "end": { - "line": 184, - "column": 51 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6953, - "end": 6954, - "loc": { - "start": { - "line": 184, - "column": 51 - }, - "end": { - "line": 184, - "column": 52 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6954, - "end": 6955, - "loc": { - "start": { - "line": 184, - "column": 52 - }, - "end": { - "line": 184, - "column": 53 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "window", - "start": 6968, - "end": 6974, - "loc": { - "start": { - "line": 185, - "column": 12 - }, - "end": { - "line": 185, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6974, - "end": 6975, - "loc": { - "start": { - "line": 185, - "column": 18 - }, - "end": { - "line": 185, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "addEventListener", - "start": 6975, - "end": 6991, - "loc": { - "start": { - "line": 185, - "column": 19 - }, - "end": { - "line": 185, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6991, - "end": 6992, - "loc": { - "start": { - "line": 185, - "column": 35 - }, - "end": { - "line": 185, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Event", - "start": 6992, - "end": 6997, - "loc": { - "start": { - "line": 185, - "column": 36 - }, - "end": { - "line": 185, - "column": 41 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6997, - "end": 6998, - "loc": { - "start": { - "line": 185, - "column": 41 - }, - "end": { - "line": 185, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "RESIZE", - "start": 6998, - "end": 7004, - "loc": { - "start": { - "line": 185, - "column": 42 - }, - "end": { - "line": 185, - "column": 48 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7004, - "end": 7005, - "loc": { - "start": { - "line": 185, - "column": 48 - }, - "end": { - "line": 185, - "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": 7006, - "end": 7010, - "loc": { - "start": { - "line": 185, - "column": 50 - }, - "end": { - "line": 185, - "column": 54 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7010, - "end": 7011, - "loc": { - "start": { - "line": 185, - "column": 54 - }, - "end": { - "line": 185, - "column": 55 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "responsiveWave", - "start": 7011, - "end": 7025, - "loc": { - "start": { - "line": 185, - "column": 55 - }, - "end": { - "line": 185, - "column": 69 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7025, - "end": 7026, - "loc": { - "start": { - "line": 185, - "column": 69 - }, - "end": { - "line": 185, - "column": 70 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7026, - "end": 7027, - "loc": { - "start": { - "line": 185, - "column": 70 - }, - "end": { - "line": 185, - "column": 71 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7036, - "end": 7037, - "loc": { - "start": { - "line": 186, + "line": 194, "column": 8 }, "end": { - "line": 186, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7042, - "end": 7043, - "loc": { - "start": { - "line": 187, - "column": 4 - }, - "end": { - "line": 187, - "column": 5 - } - } - }, - { - "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": 7049, - "end": 7232, - "loc": { - "start": { - "line": 189, - "column": 4 - }, - "end": { - "line": 195, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parseOptions", - "start": 7237, - "end": 7249, - "loc": { - "start": { - "line": 196, - "column": 4 - }, - "end": { - "line": 196, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7249, - "end": 7250, - "loc": { - "start": { - "line": 196, - "column": 16 - }, - "end": { - "line": 196, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "surferOpts", - "start": 7250, - "end": 7260, - "loc": { - "start": { - "line": 196, - "column": 17 - }, - "end": { - "line": 196, - "column": 27 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 7261, - "end": 7262, - "loc": { - "start": { - "line": 196, - "column": 28 - }, - "end": { - "line": 196, - "column": 29 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7263, - "end": 7264, - "loc": { - "start": { - "line": 196, - "column": 30 - }, - "end": { - "line": 196, - "column": 31 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7264, - "end": 7265, - "loc": { - "start": { - "line": 196, - "column": 31 - }, - "end": { - "line": 196, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7265, - "end": 7266, - "loc": { - "start": { - "line": 196, - "column": 32 - }, - "end": { - "line": 196, - "column": 33 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7267, - "end": 7268, - "loc": { - "start": { - "line": 196, - "column": 34 - }, - "end": { - "line": 196, - "column": 35 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 7277, - "end": 7280, - "loc": { - "start": { - "line": 197, - "column": 8 - }, - "end": { - "line": 197, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "rect", - "start": 7281, - "end": 7285, - "loc": { - "start": { - "line": 197, + "line": 194, "column": 12 - }, - "end": { - "line": 197, - "column": 16 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 7286, - "end": 7287, - "loc": { - "start": { - "line": 197, - "column": 17 - }, - "end": { - "line": 197, - "column": 18 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 7288, - "end": 7292, - "loc": { - "start": { - "line": 197, - "column": 19 - }, - "end": { - "line": 197, - "column": 23 } } }, @@ -122028,275 +119626,15 @@ "binop": null, "updateContext": null }, - "start": 7292, - "end": 7293, + "start": 7108, + "end": 7109, "loc": { "start": { - "line": 197, - "column": 23 - }, - "end": { - "line": 197, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "player", - "start": 7293, - "end": 7299, - "loc": { - "start": { - "line": 197, - "column": 24 - }, - "end": { - "line": 197, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7299, - "end": 7300, - "loc": { - "start": { - "line": 197, - "column": 30 - }, - "end": { - "line": 197, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "el_", - "start": 7300, - "end": 7303, - "loc": { - "start": { - "line": 197, - "column": 31 - }, - "end": { - "line": 197, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7303, - "end": 7304, - "loc": { - "start": { - "line": 197, - "column": 34 - }, - "end": { - "line": 197, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getBoundingClientRect", - "start": 7304, - "end": 7325, - "loc": { - "start": { - "line": 197, - "column": 35 - }, - "end": { - "line": 197, - "column": 56 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7325, - "end": 7326, - "loc": { - "start": { - "line": 197, - "column": 56 - }, - "end": { - "line": 197, - "column": 57 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7326, - "end": 7327, - "loc": { - "start": { - "line": 197, - "column": 57 - }, - "end": { - "line": 197, - "column": 58 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7327, - "end": 7328, - "loc": { - "start": { - "line": 197, - "column": 58 - }, - "end": { - "line": 197, - "column": 59 - } - } - }, - { - "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": 7337, - "end": 7341, - "loc": { - "start": { - "line": 198, - "column": 8 - }, - "end": { - "line": 198, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7341, - "end": 7342, - "loc": { - "start": { - "line": 198, + "line": 194, "column": 12 }, "end": { - "line": 198, + "line": 194, "column": 13 } } @@ -122314,15 +119652,15 @@ "binop": null }, "value": "originalWidth", - "start": 7342, - "end": 7355, + "start": 7109, + "end": 7122, "loc": { "start": { - "line": 198, + "line": 194, "column": 13 }, "end": { - "line": 198, + "line": 194, "column": 26 } } @@ -122341,15 +119679,15 @@ "updateContext": null }, "value": "=", - "start": 7356, - "end": 7357, + "start": 7123, + "end": 7124, "loc": { "start": { - "line": 198, + "line": 194, "column": 27 }, "end": { - "line": 198, + "line": 194, "column": 28 } } @@ -122369,15 +119707,15 @@ "updateContext": null }, "value": "this", - "start": 7358, - "end": 7362, + "start": 7125, + "end": 7129, "loc": { "start": { - "line": 198, + "line": 194, "column": 29 }, "end": { - "line": 198, + "line": 194, "column": 33 } } @@ -122395,15 +119733,15 @@ "binop": null, "updateContext": null }, - "start": 7362, - "end": 7363, + "start": 7129, + "end": 7130, "loc": { "start": { - "line": 198, + "line": 194, "column": 33 }, "end": { - "line": 198, + "line": 194, "column": 34 } } @@ -122421,15 +119759,15 @@ "binop": null }, "value": "player", - "start": 7363, - "end": 7369, + "start": 7130, + "end": 7136, "loc": { "start": { - "line": 198, + "line": 194, "column": 34 }, "end": { - "line": 198, + "line": 194, "column": 40 } } @@ -122447,15 +119785,15 @@ "binop": null, "updateContext": null }, - "start": 7369, - "end": 7370, + "start": 7136, + "end": 7137, "loc": { "start": { - "line": 198, + "line": 194, "column": 40 }, "end": { - "line": 198, + "line": 194, "column": 41 } } @@ -122473,15 +119811,15 @@ "binop": null }, "value": "options_", - "start": 7370, - "end": 7378, + "start": 7137, + "end": 7145, "loc": { "start": { - "line": 198, + "line": 194, "column": 41 }, "end": { - "line": 198, + "line": 194, "column": 49 } } @@ -122499,15 +119837,15 @@ "binop": null, "updateContext": null }, - "start": 7378, - "end": 7379, + "start": 7145, + "end": 7146, "loc": { "start": { - "line": 198, + "line": 194, "column": 49 }, "end": { - "line": 198, + "line": 194, "column": 50 } } @@ -122525,15 +119863,15 @@ "binop": null }, "value": "width", - "start": 7379, - "end": 7384, + "start": 7146, + "end": 7151, "loc": { "start": { - "line": 198, + "line": 194, "column": 50 }, "end": { - "line": 198, + "line": 194, "column": 55 } } @@ -122552,15 +119890,15 @@ "updateContext": null }, "value": "||", - "start": 7385, - "end": 7387, + "start": 7152, + "end": 7154, "loc": { "start": { - "line": 198, + "line": 194, "column": 56 }, "end": { - "line": 198, + "line": 194, "column": 58 } } @@ -122578,15 +119916,15 @@ "binop": null }, "value": "rect", - "start": 7388, - "end": 7392, + "start": 7155, + "end": 7159, "loc": { "start": { - "line": 198, + "line": 194, "column": 59 }, "end": { - "line": 198, + "line": 194, "column": 63 } } @@ -122604,15 +119942,15 @@ "binop": null, "updateContext": null }, - "start": 7392, - "end": 7393, + "start": 7159, + "end": 7160, "loc": { "start": { - "line": 198, + "line": 194, "column": 63 }, "end": { - "line": 198, + "line": 194, "column": 64 } } @@ -122630,15 +119968,15 @@ "binop": null }, "value": "width", - "start": 7393, - "end": 7398, + "start": 7160, + "end": 7165, "loc": { "start": { - "line": 198, + "line": 194, "column": 64 }, "end": { - "line": 198, + "line": 194, "column": 69 } } @@ -122656,15 +119994,15 @@ "binop": null, "updateContext": null }, - "start": 7398, - "end": 7399, + "start": 7165, + "end": 7166, "loc": { "start": { - "line": 198, + "line": 194, "column": 69 }, "end": { - "line": 198, + "line": 194, "column": 70 } } @@ -122684,15 +120022,15 @@ "updateContext": null }, "value": "this", - "start": 7408, - "end": 7412, + "start": 7175, + "end": 7179, "loc": { "start": { - "line": 199, + "line": 195, "column": 8 }, "end": { - "line": 199, + "line": 195, "column": 12 } } @@ -122710,15 +120048,15 @@ "binop": null, "updateContext": null }, - "start": 7412, - "end": 7413, + "start": 7179, + "end": 7180, "loc": { "start": { - "line": 199, + "line": 195, "column": 12 }, "end": { - "line": 199, + "line": 195, "column": 13 } } @@ -122736,15 +120074,15 @@ "binop": null }, "value": "originalHeight", - "start": 7413, - "end": 7427, + "start": 7180, + "end": 7194, "loc": { "start": { - "line": 199, + "line": 195, "column": 13 }, "end": { - "line": 199, + "line": 195, "column": 27 } } @@ -122763,15 +120101,15 @@ "updateContext": null }, "value": "=", - "start": 7428, - "end": 7429, + "start": 7195, + "end": 7196, "loc": { "start": { - "line": 199, + "line": 195, "column": 28 }, "end": { - "line": 199, + "line": 195, "column": 29 } } @@ -122791,15 +120129,15 @@ "updateContext": null }, "value": "this", - "start": 7430, - "end": 7434, + "start": 7197, + "end": 7201, "loc": { "start": { - "line": 199, + "line": 195, "column": 30 }, "end": { - "line": 199, + "line": 195, "column": 34 } } @@ -122817,15 +120155,15 @@ "binop": null, "updateContext": null }, - "start": 7434, - "end": 7435, + "start": 7201, + "end": 7202, "loc": { "start": { - "line": 199, + "line": 195, "column": 34 }, "end": { - "line": 199, + "line": 195, "column": 35 } } @@ -122843,15 +120181,15 @@ "binop": null }, "value": "player", - "start": 7435, - "end": 7441, + "start": 7202, + "end": 7208, "loc": { "start": { - "line": 199, + "line": 195, "column": 35 }, "end": { - "line": 199, + "line": 195, "column": 41 } } @@ -122869,15 +120207,15 @@ "binop": null, "updateContext": null }, - "start": 7441, - "end": 7442, + "start": 7208, + "end": 7209, "loc": { "start": { - "line": 199, + "line": 195, "column": 41 }, "end": { - "line": 199, + "line": 195, "column": 42 } } @@ -122895,15 +120233,15 @@ "binop": null }, "value": "options_", - "start": 7442, - "end": 7450, + "start": 7209, + "end": 7217, "loc": { "start": { - "line": 199, + "line": 195, "column": 42 }, "end": { - "line": 199, + "line": 195, "column": 50 } } @@ -122921,15 +120259,15 @@ "binop": null, "updateContext": null }, - "start": 7450, - "end": 7451, + "start": 7217, + "end": 7218, "loc": { "start": { - "line": 199, + "line": 195, "column": 50 }, "end": { - "line": 199, + "line": 195, "column": 51 } } @@ -122947,15 +120285,15 @@ "binop": null }, "value": "height", - "start": 7451, - "end": 7457, + "start": 7218, + "end": 7224, "loc": { "start": { - "line": 199, + "line": 195, "column": 51 }, "end": { - "line": 199, + "line": 195, "column": 57 } } @@ -122974,15 +120312,15 @@ "updateContext": null }, "value": "||", - "start": 7458, - "end": 7460, + "start": 7225, + "end": 7227, "loc": { "start": { - "line": 199, + "line": 195, "column": 58 }, "end": { - "line": 199, + "line": 195, "column": 60 } } @@ -123000,15 +120338,15 @@ "binop": null }, "value": "rect", - "start": 7461, - "end": 7465, + "start": 7228, + "end": 7232, "loc": { "start": { - "line": 199, + "line": 195, "column": 61 }, "end": { - "line": 199, + "line": 195, "column": 65 } } @@ -123026,15 +120364,15 @@ "binop": null, "updateContext": null }, - "start": 7465, - "end": 7466, + "start": 7232, + "end": 7233, "loc": { "start": { - "line": 199, + "line": 195, "column": 65 }, "end": { - "line": 199, + "line": 195, "column": 66 } } @@ -123052,15 +120390,15 @@ "binop": null }, "value": "height", - "start": 7466, - "end": 7472, + "start": 7233, + "end": 7239, "loc": { "start": { - "line": 199, + "line": 195, "column": 66 }, "end": { - "line": 199, + "line": 195, "column": 72 } } @@ -123078,15 +120416,15 @@ "binop": null, "updateContext": null }, - "start": 7472, - "end": 7473, + "start": 7239, + "end": 7240, "loc": { "start": { - "line": 199, + "line": 195, "column": 72 }, "end": { - "line": 199, + "line": 195, "column": 73 } } @@ -123094,15 +120432,15 @@ { "type": "CommentLine", "value": " controlbar", - "start": 7483, - "end": 7496, + "start": 7250, + "end": 7263, "loc": { "start": { - "line": 201, + "line": 197, "column": 8 }, "end": { - "line": 201, + "line": 197, "column": 21 } } @@ -123122,15 +120460,15 @@ "updateContext": null }, "value": "let", - "start": 7505, - "end": 7508, + "start": 7272, + "end": 7275, "loc": { "start": { - "line": 202, + "line": 198, "column": 8 }, "end": { - "line": 202, + "line": 198, "column": 11 } } @@ -123148,15 +120486,15 @@ "binop": null }, "value": "controlBarHeight", - "start": 7509, - "end": 7525, + "start": 7276, + "end": 7292, "loc": { "start": { - "line": 202, + "line": 198, "column": 12 }, "end": { - "line": 202, + "line": 198, "column": 28 } } @@ -123175,15 +120513,15 @@ "updateContext": null }, "value": "=", - "start": 7526, - "end": 7527, + "start": 7293, + "end": 7294, "loc": { "start": { - "line": 202, + "line": 198, "column": 29 }, "end": { - "line": 202, + "line": 198, "column": 30 } } @@ -123203,15 +120541,15 @@ "updateContext": null }, "value": "this", - "start": 7528, - "end": 7532, + "start": 7295, + "end": 7299, "loc": { "start": { - "line": 202, + "line": 198, "column": 31 }, "end": { - "line": 202, + "line": 198, "column": 35 } } @@ -123229,15 +120567,15 @@ "binop": null, "updateContext": null }, - "start": 7532, - "end": 7533, + "start": 7299, + "end": 7300, "loc": { "start": { - "line": 202, + "line": 198, "column": 35 }, "end": { - "line": 202, + "line": 198, "column": 36 } } @@ -123255,15 +120593,15 @@ "binop": null }, "value": "player", - "start": 7533, - "end": 7539, + "start": 7300, + "end": 7306, "loc": { "start": { - "line": 202, + "line": 198, "column": 36 }, "end": { - "line": 202, + "line": 198, "column": 42 } } @@ -123281,15 +120619,15 @@ "binop": null, "updateContext": null }, - "start": 7539, - "end": 7540, + "start": 7306, + "end": 7307, "loc": { "start": { - "line": 202, + "line": 198, "column": 42 }, "end": { - "line": 202, + "line": 198, "column": 43 } } @@ -123307,15 +120645,15 @@ "binop": null }, "value": "controlBar", - "start": 7540, - "end": 7550, + "start": 7307, + "end": 7317, "loc": { "start": { - "line": 202, + "line": 198, "column": 43 }, "end": { - "line": 202, + "line": 198, "column": 53 } } @@ -123333,15 +120671,15 @@ "binop": null, "updateContext": null }, - "start": 7550, - "end": 7551, + "start": 7317, + "end": 7318, "loc": { "start": { - "line": 202, + "line": 198, "column": 53 }, "end": { - "line": 202, + "line": 198, "column": 54 } } @@ -123359,15 +120697,15 @@ "binop": null }, "value": "height", - "start": 7551, - "end": 7557, + "start": 7318, + "end": 7324, "loc": { "start": { - "line": 202, + "line": 198, "column": 54 }, "end": { - "line": 202, + "line": 198, "column": 60 } } @@ -123384,15 +120722,15 @@ "postfix": false, "binop": null }, - "start": 7557, - "end": 7558, + "start": 7324, + "end": 7325, "loc": { "start": { - "line": 202, + "line": 198, "column": 60 }, "end": { - "line": 202, + "line": 198, "column": 61 } } @@ -123409,15 +120747,15 @@ "postfix": false, "binop": null }, - "start": 7558, - "end": 7559, + "start": 7325, + "end": 7326, "loc": { "start": { - "line": 202, + "line": 198, "column": 61 }, "end": { - "line": 202, + "line": 198, "column": 62 } } @@ -123435,15 +120773,15 @@ "binop": null, "updateContext": null }, - "start": 7559, - "end": 7560, + "start": 7326, + "end": 7327, "loc": { "start": { - "line": 202, + "line": 198, "column": 62 }, "end": { - "line": 202, + "line": 198, "column": 63 } } @@ -123463,15 +120801,15 @@ "updateContext": null }, "value": "if", - "start": 7569, - "end": 7571, + "start": 7336, + "end": 7338, "loc": { "start": { - "line": 203, + "line": 199, "column": 8 }, "end": { - "line": 203, + "line": 199, "column": 10 } } @@ -123488,15 +120826,15 @@ "postfix": false, "binop": null }, - "start": 7572, - "end": 7573, + "start": 7339, + "end": 7340, "loc": { "start": { - "line": 203, + "line": 199, "column": 11 }, "end": { - "line": 203, + "line": 199, "column": 12 } } @@ -123516,15 +120854,15 @@ "updateContext": null }, "value": "this", - "start": 7573, - "end": 7577, + "start": 7340, + "end": 7344, "loc": { "start": { - "line": 203, + "line": 199, "column": 12 }, "end": { - "line": 203, + "line": 199, "column": 16 } } @@ -123542,15 +120880,15 @@ "binop": null, "updateContext": null }, - "start": 7577, - "end": 7578, + "start": 7344, + "end": 7345, "loc": { "start": { - "line": 203, + "line": 199, "column": 16 }, "end": { - "line": 203, + "line": 199, "column": 17 } } @@ -123568,15 +120906,15 @@ "binop": null }, "value": "player", - "start": 7578, - "end": 7584, + "start": 7345, + "end": 7351, "loc": { "start": { - "line": 203, + "line": 199, "column": 17 }, "end": { - "line": 203, + "line": 199, "column": 23 } } @@ -123594,15 +120932,15 @@ "binop": null, "updateContext": null }, - "start": 7584, - "end": 7585, + "start": 7351, + "end": 7352, "loc": { "start": { - "line": 203, + "line": 199, "column": 23 }, "end": { - "line": 203, + "line": 199, "column": 24 } } @@ -123620,15 +120958,15 @@ "binop": null }, "value": "options_", - "start": 7585, - "end": 7593, + "start": 7352, + "end": 7360, "loc": { "start": { - "line": 203, + "line": 199, "column": 24 }, "end": { - "line": 203, + "line": 199, "column": 32 } } @@ -123646,15 +120984,15 @@ "binop": null, "updateContext": null }, - "start": 7593, - "end": 7594, + "start": 7360, + "end": 7361, "loc": { "start": { - "line": 203, + "line": 199, "column": 32 }, "end": { - "line": 203, + "line": 199, "column": 33 } } @@ -123672,15 +121010,15 @@ "binop": null }, "value": "controls", - "start": 7594, - "end": 7602, + "start": 7361, + "end": 7369, "loc": { "start": { - "line": 203, + "line": 199, "column": 33 }, "end": { - "line": 203, + "line": 199, "column": 41 } } @@ -123699,15 +121037,15 @@ "updateContext": null }, "value": "===", - "start": 7603, - "end": 7606, + "start": 7370, + "end": 7373, "loc": { "start": { - "line": 203, + "line": 199, "column": 42 }, "end": { - "line": 203, + "line": 199, "column": 45 } } @@ -123727,15 +121065,15 @@ "updateContext": null }, "value": "true", - "start": 7607, - "end": 7611, + "start": 7374, + "end": 7378, "loc": { "start": { - "line": 203, + "line": 199, "column": 46 }, "end": { - "line": 203, + "line": 199, "column": 50 } } @@ -123754,15 +121092,15 @@ "updateContext": null }, "value": "&&", - "start": 7612, - "end": 7614, + "start": 7379, + "end": 7381, "loc": { "start": { - "line": 203, + "line": 199, "column": 51 }, "end": { - "line": 203, + "line": 199, "column": 53 } } @@ -123780,15 +121118,15 @@ "binop": null }, "value": "controlBarHeight", - "start": 7615, - "end": 7631, + "start": 7382, + "end": 7398, "loc": { "start": { - "line": 203, + "line": 199, "column": 54 }, "end": { - "line": 203, + "line": 199, "column": 70 } } @@ -123807,15 +121145,15 @@ "updateContext": null }, "value": "===", - "start": 7632, - "end": 7635, + "start": 7399, + "end": 7402, "loc": { "start": { - "line": 203, + "line": 199, "column": 71 }, "end": { - "line": 203, + "line": 199, "column": 74 } } @@ -123834,15 +121172,15 @@ "updateContext": null }, "value": 0, - "start": 7636, - "end": 7637, + "start": 7403, + "end": 7404, "loc": { "start": { - "line": 203, + "line": 199, "column": 75 }, "end": { - "line": 203, + "line": 199, "column": 76 } } @@ -123859,15 +121197,15 @@ "postfix": false, "binop": null }, - "start": 7637, - "end": 7638, + "start": 7404, + "end": 7405, "loc": { "start": { - "line": 203, + "line": 199, "column": 76 }, "end": { - "line": 203, + "line": 199, "column": 77 } } @@ -123884,15 +121222,15 @@ "postfix": false, "binop": null }, - "start": 7639, - "end": 7640, + "start": 7406, + "end": 7407, "loc": { "start": { - "line": 203, + "line": 199, "column": 78 }, "end": { - "line": 203, + "line": 199, "column": 79 } } @@ -123900,15 +121238,15 @@ { "type": "CommentLine", "value": " the dimensions of the controlbar are not known yet, but we", - "start": 7653, - "end": 7714, + "start": 7420, + "end": 7481, "loc": { "start": { - "line": 204, + "line": 200, "column": 12 }, "end": { - "line": 204, + "line": 200, "column": 73 } } @@ -123916,15 +121254,15 @@ { "type": "CommentLine", "value": " need it now, so we can calculate the height of the waveform.", - "start": 7727, - "end": 7790, + "start": 7494, + "end": 7557, "loc": { "start": { - "line": 205, + "line": 201, "column": 12 }, "end": { - "line": 205, + "line": 201, "column": 75 } } @@ -123932,15 +121270,15 @@ { "type": "CommentLine", "value": " The default height is 30px, so use that instead.", - "start": 7803, - "end": 7854, + "start": 7570, + "end": 7621, "loc": { "start": { - "line": 206, + "line": 202, "column": 12 }, "end": { - "line": 206, + "line": 202, "column": 63 } } @@ -123958,15 +121296,15 @@ "binop": null }, "value": "controlBarHeight", - "start": 7867, - "end": 7883, + "start": 7634, + "end": 7650, "loc": { "start": { - "line": 207, + "line": 203, "column": 12 }, "end": { - "line": 207, + "line": 203, "column": 28 } } @@ -123985,15 +121323,15 @@ "updateContext": null }, "value": "=", - "start": 7884, - "end": 7885, + "start": 7651, + "end": 7652, "loc": { "start": { - "line": 207, + "line": 203, "column": 29 }, "end": { - "line": 207, + "line": 203, "column": 30 } } @@ -124012,15 +121350,15 @@ "updateContext": null }, "value": 30, - "start": 7886, - "end": 7888, + "start": 7653, + "end": 7655, "loc": { "start": { - "line": 207, + "line": 203, "column": 31 }, "end": { - "line": 207, + "line": 203, "column": 33 } } @@ -124038,15 +121376,15 @@ "binop": null, "updateContext": null }, - "start": 7888, - "end": 7889, + "start": 7655, + "end": 7656, "loc": { "start": { - "line": 207, + "line": 203, "column": 33 }, "end": { - "line": 207, + "line": 203, "column": 34 } } @@ -124063,15 +121401,15 @@ "postfix": false, "binop": null }, - "start": 7898, - "end": 7899, + "start": 7665, + "end": 7666, "loc": { "start": { - "line": 208, + "line": 204, "column": 8 }, "end": { - "line": 208, + "line": 204, "column": 9 } } @@ -124079,15 +121417,15 @@ { "type": "CommentLine", "value": " set waveform element and dimensions", - "start": 7909, - "end": 7947, + "start": 7676, + "end": 7714, "loc": { "start": { - "line": 210, + "line": 206, "column": 8 }, "end": { - "line": 210, + "line": 206, "column": 46 } } @@ -124095,15 +121433,15 @@ { "type": "CommentLine", "value": " Set the container to player's container if \"container\" option is", - "start": 7956, - "end": 8023, + "start": 7723, + "end": 7790, "loc": { "start": { - "line": 211, + "line": 207, "column": 8 }, "end": { - "line": 211, + "line": 207, "column": 75 } } @@ -124111,15 +121449,15 @@ { "type": "CommentLine", "value": " not provided. If a waveform needs to be appended to your custom", - "start": 8032, - "end": 8098, + "start": 7799, + "end": 7865, "loc": { "start": { - "line": 212, + "line": 208, "column": 8 }, "end": { - "line": 212, + "line": 208, "column": 74 } } @@ -124127,15 +121465,15 @@ { "type": "CommentLine", "value": " element, then use below option. For example:", - "start": 8107, - "end": 8154, + "start": 7874, + "end": 7921, "loc": { "start": { - "line": 213, + "line": 209, "column": 8 }, "end": { - "line": 213, + "line": 209, "column": 55 } } @@ -124143,15 +121481,15 @@ { "type": "CommentLine", "value": " container: document.querySelector(\"#vjs-waveform\")", - "start": 8163, - "end": 8216, + "start": 7930, + "end": 7983, "loc": { "start": { - "line": 214, + "line": 210, "column": 8 }, "end": { - "line": 214, + "line": 210, "column": 61 } } @@ -124171,15 +121509,15 @@ "updateContext": null }, "value": "if", - "start": 8225, - "end": 8227, + "start": 7992, + "end": 7994, "loc": { "start": { - "line": 215, + "line": 211, "column": 8 }, "end": { - "line": 215, + "line": 211, "column": 10 } } @@ -124196,15 +121534,15 @@ "postfix": false, "binop": null }, - "start": 8228, - "end": 8229, + "start": 7995, + "end": 7996, "loc": { "start": { - "line": 215, + "line": 211, "column": 11 }, "end": { - "line": 215, + "line": 211, "column": 12 } } @@ -124222,15 +121560,15 @@ "binop": null }, "value": "surferOpts", - "start": 8229, - "end": 8239, + "start": 7996, + "end": 8006, "loc": { "start": { - "line": 215, + "line": 211, "column": 12 }, "end": { - "line": 215, + "line": 211, "column": 22 } } @@ -124248,15 +121586,15 @@ "binop": null, "updateContext": null }, - "start": 8239, - "end": 8240, + "start": 8006, + "end": 8007, "loc": { "start": { - "line": 215, + "line": 211, "column": 22 }, "end": { - "line": 215, + "line": 211, "column": 23 } } @@ -124274,15 +121612,15 @@ "binop": null }, "value": "container", - "start": 8240, - "end": 8249, + "start": 8007, + "end": 8016, "loc": { "start": { - "line": 215, + "line": 211, "column": 23 }, "end": { - "line": 215, + "line": 211, "column": 32 } } @@ -124301,15 +121639,15 @@ "updateContext": null }, "value": "===", - "start": 8250, - "end": 8253, + "start": 8017, + "end": 8020, "loc": { "start": { - "line": 215, + "line": 211, "column": 33 }, "end": { - "line": 215, + "line": 211, "column": 36 } } @@ -124327,15 +121665,15 @@ "binop": null }, "value": "undefined", - "start": 8254, - "end": 8263, + "start": 8021, + "end": 8030, "loc": { "start": { - "line": 215, + "line": 211, "column": 37 }, "end": { - "line": 215, + "line": 211, "column": 46 } } @@ -124352,15 +121690,15 @@ "postfix": false, "binop": null }, - "start": 8263, - "end": 8264, + "start": 8030, + "end": 8031, "loc": { "start": { - "line": 215, + "line": 211, "column": 46 }, "end": { - "line": 215, + "line": 211, "column": 47 } } @@ -124377,15 +121715,15 @@ "postfix": false, "binop": null }, - "start": 8265, - "end": 8266, + "start": 8032, + "end": 8033, "loc": { "start": { - "line": 215, + "line": 211, "column": 48 }, "end": { - "line": 215, + "line": 211, "column": 49 } } @@ -124403,15 +121741,15 @@ "binop": null }, "value": "surferOpts", - "start": 8279, - "end": 8289, + "start": 8046, + "end": 8056, "loc": { "start": { - "line": 216, + "line": 212, "column": 12 }, "end": { - "line": 216, + "line": 212, "column": 22 } } @@ -124429,15 +121767,15 @@ "binop": null, "updateContext": null }, - "start": 8289, - "end": 8290, + "start": 8056, + "end": 8057, "loc": { "start": { - "line": 216, + "line": 212, "column": 22 }, "end": { - "line": 216, + "line": 212, "column": 23 } } @@ -124455,15 +121793,15 @@ "binop": null }, "value": "container", - "start": 8290, - "end": 8299, + "start": 8057, + "end": 8066, "loc": { "start": { - "line": 216, + "line": 212, "column": 23 }, "end": { - "line": 216, + "line": 212, "column": 32 } } @@ -124482,15 +121820,15 @@ "updateContext": null }, "value": "=", - "start": 8300, - "end": 8301, + "start": 8067, + "end": 8068, "loc": { "start": { - "line": 216, + "line": 212, "column": 33 }, "end": { - "line": 216, + "line": 212, "column": 34 } } @@ -124510,15 +121848,15 @@ "updateContext": null }, "value": "this", - "start": 8302, - "end": 8306, + "start": 8069, + "end": 8073, "loc": { "start": { - "line": 216, + "line": 212, "column": 35 }, "end": { - "line": 216, + "line": 212, "column": 39 } } @@ -124536,15 +121874,15 @@ "binop": null, "updateContext": null }, - "start": 8306, - "end": 8307, + "start": 8073, + "end": 8074, "loc": { "start": { - "line": 216, + "line": 212, "column": 39 }, "end": { - "line": 216, + "line": 212, "column": 40 } } @@ -124562,15 +121900,15 @@ "binop": null }, "value": "player", - "start": 8307, - "end": 8313, + "start": 8074, + "end": 8080, "loc": { "start": { - "line": 216, + "line": 212, "column": 40 }, "end": { - "line": 216, + "line": 212, "column": 46 } } @@ -124588,15 +121926,15 @@ "binop": null, "updateContext": null }, - "start": 8313, - "end": 8314, + "start": 8080, + "end": 8081, "loc": { "start": { - "line": 216, + "line": 212, "column": 46 }, "end": { - "line": 216, + "line": 212, "column": 47 } } @@ -124614,15 +121952,15 @@ "binop": null }, "value": "el_", - "start": 8314, - "end": 8317, + "start": 8081, + "end": 8084, "loc": { "start": { - "line": 216, + "line": 212, "column": 47 }, "end": { - "line": 216, + "line": 212, "column": 50 } } @@ -124640,15 +121978,15 @@ "binop": null, "updateContext": null }, - "start": 8317, - "end": 8318, + "start": 8084, + "end": 8085, "loc": { "start": { - "line": 216, + "line": 212, "column": 50 }, "end": { - "line": 216, + "line": 212, "column": 51 } } @@ -124665,15 +122003,15 @@ "postfix": false, "binop": null }, - "start": 8327, - "end": 8328, + "start": 8094, + "end": 8095, "loc": { "start": { - "line": 217, + "line": 213, "column": 8 }, "end": { - "line": 217, + "line": 213, "column": 9 } } @@ -124681,15 +122019,15 @@ { "type": "CommentLine", "value": " set the height of generated waveform if user has provided height", - "start": 8338, - "end": 8405, + "start": 8105, + "end": 8172, "loc": { "start": { - "line": 219, + "line": 215, "column": 8 }, "end": { - "line": 219, + "line": 215, "column": 75 } } @@ -124697,15 +122035,15 @@ { "type": "CommentLine", "value": " from options. If height of waveform need to be customized then use", - "start": 8414, - "end": 8483, + "start": 8181, + "end": 8250, "loc": { "start": { - "line": 220, + "line": 216, "column": 8 }, "end": { - "line": 220, + "line": 216, "column": 77 } } @@ -124713,15 +122051,15 @@ { "type": "CommentLine", "value": " option below. For example: waveformHeight: 30", - "start": 8492, - "end": 8540, + "start": 8259, + "end": 8307, "loc": { "start": { - "line": 221, + "line": 217, "column": 8 }, "end": { - "line": 221, + "line": 217, "column": 56 } } @@ -124741,15 +122079,15 @@ "updateContext": null }, "value": "if", - "start": 8549, - "end": 8551, + "start": 8316, + "end": 8318, "loc": { "start": { - "line": 222, + "line": 218, "column": 8 }, "end": { - "line": 222, + "line": 218, "column": 10 } } @@ -124766,15 +122104,15 @@ "postfix": false, "binop": null }, - "start": 8552, - "end": 8553, + "start": 8319, + "end": 8320, "loc": { "start": { - "line": 222, + "line": 218, "column": 11 }, "end": { - "line": 222, + "line": 218, "column": 12 } } @@ -124792,15 +122130,15 @@ "binop": null }, "value": "surferOpts", - "start": 8553, - "end": 8563, + "start": 8320, + "end": 8330, "loc": { "start": { - "line": 222, + "line": 218, "column": 12 }, "end": { - "line": 222, + "line": 218, "column": 22 } } @@ -124818,15 +122156,15 @@ "binop": null, "updateContext": null }, - "start": 8563, - "end": 8564, + "start": 8330, + "end": 8331, "loc": { "start": { - "line": 222, + "line": 218, "column": 22 }, "end": { - "line": 222, + "line": 218, "column": 23 } } @@ -124844,15 +122182,15 @@ "binop": null }, "value": "waveformHeight", - "start": 8564, - "end": 8578, + "start": 8331, + "end": 8345, "loc": { "start": { - "line": 222, + "line": 218, "column": 23 }, "end": { - "line": 222, + "line": 218, "column": 37 } } @@ -124871,15 +122209,15 @@ "updateContext": null }, "value": "===", - "start": 8579, - "end": 8582, + "start": 8346, + "end": 8349, "loc": { "start": { - "line": 222, + "line": 218, "column": 38 }, "end": { - "line": 222, + "line": 218, "column": 41 } } @@ -124897,15 +122235,15 @@ "binop": null }, "value": "undefined", - "start": 8583, - "end": 8592, + "start": 8350, + "end": 8359, "loc": { "start": { - "line": 222, + "line": 218, "column": 42 }, "end": { - "line": 222, + "line": 218, "column": 51 } } @@ -124922,15 +122260,15 @@ "postfix": false, "binop": null }, - "start": 8592, - "end": 8593, + "start": 8359, + "end": 8360, "loc": { "start": { - "line": 222, + "line": 218, "column": 51 }, "end": { - "line": 222, + "line": 218, "column": 52 } } @@ -124947,15 +122285,15 @@ "postfix": false, "binop": null }, - "start": 8594, - "end": 8595, + "start": 8361, + "end": 8362, "loc": { "start": { - "line": 222, + "line": 218, "column": 53 }, "end": { - "line": 222, + "line": 218, "column": 54 } } @@ -124975,15 +122313,15 @@ "updateContext": null }, "value": "let", - "start": 8608, - "end": 8611, + "start": 8375, + "end": 8378, "loc": { "start": { - "line": 223, + "line": 219, "column": 12 }, "end": { - "line": 223, + "line": 219, "column": 15 } } @@ -125001,15 +122339,15 @@ "binop": null }, "value": "playerHeight", - "start": 8612, - "end": 8624, + "start": 8379, + "end": 8391, "loc": { "start": { - "line": 223, + "line": 219, "column": 16 }, "end": { - "line": 223, + "line": 219, "column": 28 } } @@ -125028,15 +122366,15 @@ "updateContext": null }, "value": "=", - "start": 8625, - "end": 8626, + "start": 8392, + "end": 8393, "loc": { "start": { - "line": 223, + "line": 219, "column": 29 }, "end": { - "line": 223, + "line": 219, "column": 30 } } @@ -125054,15 +122392,15 @@ "binop": null }, "value": "rect", - "start": 8627, - "end": 8631, + "start": 8394, + "end": 8398, "loc": { "start": { - "line": 223, + "line": 219, "column": 31 }, "end": { - "line": 223, + "line": 219, "column": 35 } } @@ -125080,15 +122418,15 @@ "binop": null, "updateContext": null }, - "start": 8631, - "end": 8632, + "start": 8398, + "end": 8399, "loc": { "start": { - "line": 223, + "line": 219, "column": 35 }, "end": { - "line": 223, + "line": 219, "column": 36 } } @@ -125106,15 +122444,15 @@ "binop": null }, "value": "height", - "start": 8632, - "end": 8638, + "start": 8399, + "end": 8405, "loc": { "start": { - "line": 223, + "line": 219, "column": 36 }, "end": { - "line": 223, + "line": 219, "column": 42 } } @@ -125132,15 +122470,15 @@ "binop": null, "updateContext": null }, - "start": 8638, - "end": 8639, + "start": 8405, + "end": 8406, "loc": { "start": { - "line": 223, + "line": 219, "column": 42 }, "end": { - "line": 223, + "line": 219, "column": 43 } } @@ -125158,15 +122496,15 @@ "binop": null }, "value": "surferOpts", - "start": 8652, - "end": 8662, + "start": 8419, + "end": 8429, "loc": { "start": { - "line": 224, + "line": 220, "column": 12 }, "end": { - "line": 224, + "line": 220, "column": 22 } } @@ -125184,15 +122522,15 @@ "binop": null, "updateContext": null }, - "start": 8662, - "end": 8663, + "start": 8429, + "end": 8430, "loc": { "start": { - "line": 224, + "line": 220, "column": 22 }, "end": { - "line": 224, + "line": 220, "column": 23 } } @@ -125210,15 +122548,15 @@ "binop": null }, "value": "height", - "start": 8663, - "end": 8669, + "start": 8430, + "end": 8436, "loc": { "start": { - "line": 224, + "line": 220, "column": 23 }, "end": { - "line": 224, + "line": 220, "column": 29 } } @@ -125237,15 +122575,15 @@ "updateContext": null }, "value": "=", - "start": 8670, - "end": 8671, + "start": 8437, + "end": 8438, "loc": { "start": { - "line": 224, + "line": 220, "column": 30 }, "end": { - "line": 224, + "line": 220, "column": 31 } } @@ -125263,15 +122601,15 @@ "binop": null }, "value": "playerHeight", - "start": 8672, - "end": 8684, + "start": 8439, + "end": 8451, "loc": { "start": { - "line": 224, + "line": 220, "column": 32 }, "end": { - "line": 224, + "line": 220, "column": 44 } } @@ -125290,15 +122628,15 @@ "updateContext": null }, "value": "-", - "start": 8685, - "end": 8686, + "start": 8452, + "end": 8453, "loc": { "start": { - "line": 224, + "line": 220, "column": 45 }, "end": { - "line": 224, + "line": 220, "column": 46 } } @@ -125316,15 +122654,15 @@ "binop": null }, "value": "controlBarHeight", - "start": 8687, - "end": 8703, + "start": 8454, + "end": 8470, "loc": { "start": { - "line": 224, + "line": 220, "column": 47 }, "end": { - "line": 224, + "line": 220, "column": 63 } } @@ -125342,15 +122680,15 @@ "binop": null, "updateContext": null }, - "start": 8703, - "end": 8704, + "start": 8470, + "end": 8471, "loc": { "start": { - "line": 224, + "line": 220, "column": 63 }, "end": { - "line": 224, + "line": 220, "column": 64 } } @@ -125367,15 +122705,15 @@ "postfix": false, "binop": null }, - "start": 8713, - "end": 8714, + "start": 8480, + "end": 8481, "loc": { "start": { - "line": 225, + "line": 221, "column": 8 }, "end": { - "line": 225, + "line": 221, "column": 9 } } @@ -125395,15 +122733,15 @@ "updateContext": null }, "value": "else", - "start": 8715, - "end": 8719, + "start": 8482, + "end": 8486, "loc": { "start": { - "line": 225, + "line": 221, "column": 10 }, "end": { - "line": 225, + "line": 221, "column": 14 } } @@ -125420,15 +122758,15 @@ "postfix": false, "binop": null }, - "start": 8720, - "end": 8721, + "start": 8487, + "end": 8488, "loc": { "start": { - "line": 225, + "line": 221, "column": 15 }, "end": { - "line": 225, + "line": 221, "column": 16 } } @@ -125446,15 +122784,15 @@ "binop": null }, "value": "surferOpts", - "start": 8734, - "end": 8744, + "start": 8501, + "end": 8511, "loc": { "start": { - "line": 226, + "line": 222, "column": 12 }, "end": { - "line": 226, + "line": 222, "column": 22 } } @@ -125472,15 +122810,15 @@ "binop": null, "updateContext": null }, - "start": 8744, - "end": 8745, + "start": 8511, + "end": 8512, "loc": { "start": { - "line": 226, + "line": 222, "column": 22 }, "end": { - "line": 226, + "line": 222, "column": 23 } } @@ -125498,15 +122836,15 @@ "binop": null }, "value": "height", - "start": 8745, - "end": 8751, + "start": 8512, + "end": 8518, "loc": { "start": { - "line": 226, + "line": 222, "column": 23 }, "end": { - "line": 226, + "line": 222, "column": 29 } } @@ -125525,15 +122863,15 @@ "updateContext": null }, "value": "=", - "start": 8752, - "end": 8753, + "start": 8519, + "end": 8520, "loc": { "start": { - "line": 226, + "line": 222, "column": 30 }, "end": { - "line": 226, + "line": 222, "column": 31 } } @@ -125551,15 +122889,15 @@ "binop": null }, "value": "surferOpts", - "start": 8754, - "end": 8764, + "start": 8521, + "end": 8531, "loc": { "start": { - "line": 226, + "line": 222, "column": 32 }, "end": { - "line": 226, + "line": 222, "column": 42 } } @@ -125577,15 +122915,15 @@ "binop": null, "updateContext": null }, - "start": 8764, - "end": 8765, + "start": 8531, + "end": 8532, "loc": { "start": { - "line": 226, + "line": 222, "column": 42 }, "end": { - "line": 226, + "line": 222, "column": 43 } } @@ -125603,15 +122941,15 @@ "binop": null }, "value": "waveformHeight", - "start": 8765, - "end": 8779, + "start": 8532, + "end": 8546, "loc": { "start": { - "line": 226, + "line": 222, "column": 43 }, "end": { - "line": 226, + "line": 222, "column": 57 } } @@ -125629,15 +122967,15 @@ "binop": null, "updateContext": null }, - "start": 8779, - "end": 8780, + "start": 8546, + "end": 8547, "loc": { "start": { - "line": 226, + "line": 222, "column": 57 }, "end": { - "line": 226, + "line": 222, "column": 58 } } @@ -125654,15 +122992,15 @@ "postfix": false, "binop": null }, - "start": 8789, - "end": 8790, + "start": 8556, + "end": 8557, "loc": { "start": { - "line": 227, + "line": 223, "column": 8 }, "end": { - "line": 227, + "line": 223, "column": 9 } } @@ -125670,15 +123008,15 @@ { "type": "CommentLine", "value": " split channels", - "start": 8800, - "end": 8817, + "start": 8567, + "end": 8584, "loc": { "start": { - "line": 229, + "line": 225, "column": 8 }, "end": { - "line": 229, + "line": 225, "column": 25 } } @@ -125698,15 +123036,15 @@ "updateContext": null }, "value": "if", - "start": 8826, - "end": 8828, + "start": 8593, + "end": 8595, "loc": { "start": { - "line": 230, + "line": 226, "column": 8 }, "end": { - "line": 230, + "line": 226, "column": 10 } } @@ -125723,15 +123061,15 @@ "postfix": false, "binop": null }, - "start": 8829, - "end": 8830, + "start": 8596, + "end": 8597, "loc": { "start": { - "line": 230, + "line": 226, "column": 11 }, "end": { - "line": 230, + "line": 226, "column": 12 } } @@ -125749,15 +123087,15 @@ "binop": null }, "value": "surferOpts", - "start": 8830, - "end": 8840, + "start": 8597, + "end": 8607, "loc": { "start": { - "line": 230, + "line": 226, "column": 12 }, "end": { - "line": 230, + "line": 226, "column": 22 } } @@ -125775,15 +123113,15 @@ "binop": null, "updateContext": null }, - "start": 8840, - "end": 8841, + "start": 8607, + "end": 8608, "loc": { "start": { - "line": 230, + "line": 226, "column": 22 }, "end": { - "line": 230, + "line": 226, "column": 23 } } @@ -125801,15 +123139,15 @@ "binop": null }, "value": "splitChannels", - "start": 8841, - "end": 8854, + "start": 8608, + "end": 8621, "loc": { "start": { - "line": 230, + "line": 226, "column": 23 }, "end": { - "line": 230, + "line": 226, "column": 36 } } @@ -125828,15 +123166,15 @@ "updateContext": null }, "value": "&&", - "start": 8855, - "end": 8857, + "start": 8622, + "end": 8624, "loc": { "start": { - "line": 230, + "line": 226, "column": 37 }, "end": { - "line": 230, + "line": 226, "column": 39 } } @@ -125854,15 +123192,15 @@ "binop": null }, "value": "surferOpts", - "start": 8858, - "end": 8868, + "start": 8625, + "end": 8635, "loc": { "start": { - "line": 230, + "line": 226, "column": 40 }, "end": { - "line": 230, + "line": 226, "column": 50 } } @@ -125880,15 +123218,15 @@ "binop": null, "updateContext": null }, - "start": 8868, - "end": 8869, + "start": 8635, + "end": 8636, "loc": { "start": { - "line": 230, + "line": 226, "column": 50 }, "end": { - "line": 230, + "line": 226, "column": 51 } } @@ -125906,15 +123244,15 @@ "binop": null }, "value": "splitChannels", - "start": 8869, - "end": 8882, + "start": 8636, + "end": 8649, "loc": { "start": { - "line": 230, + "line": 226, "column": 51 }, "end": { - "line": 230, + "line": 226, "column": 64 } } @@ -125933,15 +123271,15 @@ "updateContext": null }, "value": "===", - "start": 8883, - "end": 8886, + "start": 8650, + "end": 8653, "loc": { "start": { - "line": 230, + "line": 226, "column": 65 }, "end": { - "line": 230, + "line": 226, "column": 68 } } @@ -125961,15 +123299,15 @@ "updateContext": null }, "value": "true", - "start": 8887, - "end": 8891, + "start": 8654, + "end": 8658, "loc": { "start": { - "line": 230, + "line": 226, "column": 69 }, "end": { - "line": 230, + "line": 226, "column": 73 } } @@ -125986,15 +123324,15 @@ "postfix": false, "binop": null }, - "start": 8891, - "end": 8892, + "start": 8658, + "end": 8659, "loc": { "start": { - "line": 230, + "line": 226, "column": 73 }, "end": { - "line": 230, + "line": 226, "column": 74 } } @@ -126011,15 +123349,15 @@ "postfix": false, "binop": null }, - "start": 8893, - "end": 8894, + "start": 8660, + "end": 8661, "loc": { "start": { - "line": 230, + "line": 226, "column": 75 }, "end": { - "line": 230, + "line": 226, "column": 76 } } @@ -126037,15 +123375,15 @@ "binop": null }, "value": "surferOpts", - "start": 8907, - "end": 8917, + "start": 8674, + "end": 8684, "loc": { "start": { - "line": 231, + "line": 227, "column": 12 }, "end": { - "line": 231, + "line": 227, "column": 22 } } @@ -126063,15 +123401,15 @@ "binop": null, "updateContext": null }, - "start": 8917, - "end": 8918, + "start": 8684, + "end": 8685, "loc": { "start": { - "line": 231, + "line": 227, "column": 22 }, "end": { - "line": 231, + "line": 227, "column": 23 } } @@ -126089,15 +123427,15 @@ "binop": null }, "value": "height", - "start": 8918, - "end": 8924, + "start": 8685, + "end": 8691, "loc": { "start": { - "line": 231, + "line": 227, "column": 23 }, "end": { - "line": 231, + "line": 227, "column": 29 } } @@ -126116,15 +123454,15 @@ "updateContext": null }, "value": "/=", - "start": 8925, - "end": 8927, + "start": 8692, + "end": 8694, "loc": { "start": { - "line": 231, + "line": 227, "column": 30 }, "end": { - "line": 231, + "line": 227, "column": 32 } } @@ -126143,15 +123481,15 @@ "updateContext": null }, "value": 2, - "start": 8928, - "end": 8929, + "start": 8695, + "end": 8696, "loc": { "start": { - "line": 231, + "line": 227, "column": 33 }, "end": { - "line": 231, + "line": 227, "column": 34 } } @@ -126169,15 +123507,15 @@ "binop": null, "updateContext": null }, - "start": 8929, - "end": 8930, + "start": 8696, + "end": 8697, "loc": { "start": { - "line": 231, + "line": 227, "column": 34 }, "end": { - "line": 231, + "line": 227, "column": 35 } } @@ -126194,15 +123532,15 @@ "postfix": false, "binop": null }, - "start": 8939, - "end": 8940, + "start": 8706, + "end": 8707, "loc": { "start": { - "line": 232, + "line": 228, "column": 8 }, "end": { - "line": 232, + "line": 228, "column": 9 } } @@ -126210,15 +123548,15 @@ { "type": "CommentLine", "value": " use MediaElement as default wavesurfer.js backend if one is not", - "start": 8950, - "end": 9016, + "start": 8717, + "end": 8783, "loc": { "start": { - "line": 234, + "line": 230, "column": 8 }, "end": { - "line": 234, + "line": 230, "column": 74 } } @@ -126226,15 +123564,15 @@ { "type": "CommentLine", "value": " specified", - "start": 9025, - "end": 9037, + "start": 8792, + "end": 8804, "loc": { "start": { - "line": 235, + "line": 231, "column": 8 }, "end": { - "line": 235, + "line": 231, "column": 20 } } @@ -126254,15 +123592,15 @@ "updateContext": null }, "value": "if", - "start": 9046, - "end": 9048, + "start": 8813, + "end": 8815, "loc": { "start": { - "line": 236, + "line": 232, "column": 8 }, "end": { - "line": 236, + "line": 232, "column": 10 } } @@ -126279,15 +123617,15 @@ "postfix": false, "binop": null }, - "start": 9049, - "end": 9050, + "start": 8816, + "end": 8817, "loc": { "start": { - "line": 236, + "line": 232, "column": 11 }, "end": { - "line": 236, + "line": 232, "column": 12 } } @@ -126306,15 +123644,15 @@ "updateContext": null }, "value": "backend", - "start": 9050, - "end": 9059, + "start": 8817, + "end": 8826, "loc": { "start": { - "line": 236, + "line": 232, "column": 12 }, "end": { - "line": 236, + "line": 232, "column": 21 } } @@ -126334,15 +123672,15 @@ "updateContext": null }, "value": "in", - "start": 9060, - "end": 9062, + "start": 8827, + "end": 8829, "loc": { "start": { - "line": 236, + "line": 232, "column": 22 }, "end": { - "line": 236, + "line": 232, "column": 24 } } @@ -126360,15 +123698,15 @@ "binop": null }, "value": "surferOpts", - "start": 9063, - "end": 9073, + "start": 8830, + "end": 8840, "loc": { "start": { - "line": 236, + "line": 232, "column": 25 }, "end": { - "line": 236, + "line": 232, "column": 35 } } @@ -126385,15 +123723,15 @@ "postfix": false, "binop": null }, - "start": 9073, - "end": 9074, + "start": 8840, + "end": 8841, "loc": { "start": { - "line": 236, + "line": 232, "column": 35 }, "end": { - "line": 236, + "line": 232, "column": 36 } } @@ -126410,15 +123748,15 @@ "postfix": false, "binop": null }, - "start": 9075, - "end": 9076, + "start": 8842, + "end": 8843, "loc": { "start": { - "line": 236, + "line": 232, "column": 37 }, "end": { - "line": 236, + "line": 232, "column": 38 } } @@ -126438,15 +123776,15 @@ "updateContext": null }, "value": "this", - "start": 9089, - "end": 9093, + "start": 8856, + "end": 8860, "loc": { "start": { - "line": 237, + "line": 233, "column": 12 }, "end": { - "line": 237, + "line": 233, "column": 16 } } @@ -126464,15 +123802,15 @@ "binop": null, "updateContext": null }, - "start": 9093, - "end": 9094, + "start": 8860, + "end": 8861, "loc": { "start": { - "line": 237, + "line": 233, "column": 16 }, "end": { - "line": 237, + "line": 233, "column": 17 } } @@ -126490,15 +123828,15 @@ "binop": null }, "value": "backend", - "start": 9094, - "end": 9101, + "start": 8861, + "end": 8868, "loc": { "start": { - "line": 237, + "line": 233, "column": 17 }, "end": { - "line": 237, + "line": 233, "column": 24 } } @@ -126517,15 +123855,15 @@ "updateContext": null }, "value": "=", - "start": 9102, - "end": 9103, + "start": 8869, + "end": 8870, "loc": { "start": { - "line": 237, + "line": 233, "column": 25 }, "end": { - "line": 237, + "line": 233, "column": 26 } } @@ -126543,15 +123881,15 @@ "binop": null }, "value": "surferOpts", - "start": 9104, - "end": 9114, + "start": 8871, + "end": 8881, "loc": { "start": { - "line": 237, + "line": 233, "column": 27 }, "end": { - "line": 237, + "line": 233, "column": 37 } } @@ -126569,15 +123907,15 @@ "binop": null, "updateContext": null }, - "start": 9114, - "end": 9115, + "start": 8881, + "end": 8882, "loc": { "start": { - "line": 237, + "line": 233, "column": 37 }, "end": { - "line": 237, + "line": 233, "column": 38 } } @@ -126595,15 +123933,15 @@ "binop": null }, "value": "backend", - "start": 9115, - "end": 9122, + "start": 8882, + "end": 8889, "loc": { "start": { - "line": 237, + "line": 233, "column": 38 }, "end": { - "line": 237, + "line": 233, "column": 45 } } @@ -126621,15 +123959,15 @@ "binop": null, "updateContext": null }, - "start": 9122, - "end": 9123, + "start": 8889, + "end": 8890, "loc": { "start": { - "line": 237, + "line": 233, "column": 45 }, "end": { - "line": 237, + "line": 233, "column": 46 } } @@ -126646,15 +123984,15 @@ "postfix": false, "binop": null }, - "start": 9132, - "end": 9133, + "start": 8899, + "end": 8900, "loc": { "start": { - "line": 238, + "line": 234, "column": 8 }, "end": { - "line": 238, + "line": 234, "column": 9 } } @@ -126674,15 +124012,15 @@ "updateContext": null }, "value": "else", - "start": 9134, - "end": 9138, + "start": 8901, + "end": 8905, "loc": { "start": { - "line": 238, + "line": 234, "column": 10 }, "end": { - "line": 238, + "line": 234, "column": 14 } } @@ -126699,15 +124037,15 @@ "postfix": false, "binop": null }, - "start": 9139, - "end": 9140, + "start": 8906, + "end": 8907, "loc": { "start": { - "line": 238, + "line": 234, "column": 15 }, "end": { - "line": 238, + "line": 234, "column": 16 } } @@ -126725,15 +124063,15 @@ "binop": null }, "value": "surferOpts", - "start": 9153, - "end": 9163, + "start": 8920, + "end": 8930, "loc": { "start": { - "line": 239, + "line": 235, "column": 12 }, "end": { - "line": 239, + "line": 235, "column": 22 } } @@ -126751,15 +124089,15 @@ "binop": null, "updateContext": null }, - "start": 9163, - "end": 9164, + "start": 8930, + "end": 8931, "loc": { "start": { - "line": 239, + "line": 235, "column": 22 }, "end": { - "line": 239, + "line": 235, "column": 23 } } @@ -126777,15 +124115,15 @@ "binop": null }, "value": "backend", - "start": 9164, - "end": 9171, + "start": 8931, + "end": 8938, "loc": { "start": { - "line": 239, + "line": 235, "column": 23 }, "end": { - "line": 239, + "line": 235, "column": 30 } } @@ -126804,15 +124142,15 @@ "updateContext": null }, "value": "=", - "start": 9172, - "end": 9173, + "start": 8939, + "end": 8940, "loc": { "start": { - "line": 239, + "line": 235, "column": 31 }, "end": { - "line": 239, + "line": 235, "column": 32 } } @@ -126832,15 +124170,15 @@ "updateContext": null }, "value": "this", - "start": 9174, - "end": 9178, + "start": 8941, + "end": 8945, "loc": { "start": { - "line": 239, + "line": 235, "column": 33 }, "end": { - "line": 239, + "line": 235, "column": 37 } } @@ -126858,15 +124196,15 @@ "binop": null, "updateContext": null }, - "start": 9178, - "end": 9179, + "start": 8945, + "end": 8946, "loc": { "start": { - "line": 239, + "line": 235, "column": 37 }, "end": { - "line": 239, + "line": 235, "column": 38 } } @@ -126884,15 +124222,15 @@ "binop": null }, "value": "backend", - "start": 9179, - "end": 9186, + "start": 8946, + "end": 8953, "loc": { "start": { - "line": 239, + "line": 235, "column": 38 }, "end": { - "line": 239, + "line": 235, "column": 45 } } @@ -126911,15 +124249,15 @@ "updateContext": null }, "value": "=", - "start": 9187, - "end": 9188, + "start": 8954, + "end": 8955, "loc": { "start": { - "line": 239, + "line": 235, "column": 46 }, "end": { - "line": 239, + "line": 235, "column": 47 } } @@ -126937,15 +124275,15 @@ "binop": null }, "value": "MEDIAELEMENT", - "start": 9189, - "end": 9201, + "start": 8956, + "end": 8968, "loc": { "start": { - "line": 239, + "line": 235, "column": 48 }, "end": { - "line": 239, + "line": 235, "column": 60 } } @@ -126963,15 +124301,15 @@ "binop": null, "updateContext": null }, - "start": 9201, - "end": 9202, + "start": 8968, + "end": 8969, "loc": { "start": { - "line": 239, + "line": 235, "column": 60 }, "end": { - "line": 239, + "line": 235, "column": 61 } } @@ -126988,15 +124326,15 @@ "postfix": false, "binop": null }, - "start": 9211, - "end": 9212, + "start": 8978, + "end": 8979, "loc": { "start": { - "line": 240, + "line": 236, "column": 8 }, "end": { - "line": 240, + "line": 236, "column": 9 } } @@ -127016,15 +124354,15 @@ "updateContext": null }, "value": "return", - "start": 9222, - "end": 9228, + "start": 8989, + "end": 8995, "loc": { "start": { - "line": 242, + "line": 238, "column": 8 }, "end": { - "line": 242, + "line": 238, "column": 14 } } @@ -127042,15 +124380,15 @@ "binop": null }, "value": "surferOpts", - "start": 9229, - "end": 9239, + "start": 8996, + "end": 9006, "loc": { "start": { - "line": 242, + "line": 238, "column": 15 }, "end": { - "line": 242, + "line": 238, "column": 25 } } @@ -127068,15 +124406,15 @@ "binop": null, "updateContext": null }, - "start": 9239, - "end": 9240, + "start": 9006, + "end": 9007, "loc": { "start": { - "line": 242, + "line": 238, "column": 25 }, "end": { - "line": 242, + "line": 238, "column": 26 } } @@ -127093,15 +124431,15 @@ "postfix": false, "binop": null }, - "start": 9245, - "end": 9246, + "start": 9012, + "end": 9013, "loc": { "start": { - "line": 243, + "line": 239, "column": 4 }, "end": { - "line": 243, + "line": 239, "column": 5 } } @@ -127109,15 +124447,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": 9252, - "end": 9452, + "start": 9019, + "end": 9219, "loc": { "start": { - "line": 245, + "line": 241, "column": 4 }, "end": { - "line": 251, + "line": 247, "column": 7 } } @@ -127135,15 +124473,15 @@ "binop": null }, "value": "setupPlaybackEvents", - "start": 9457, - "end": 9476, + "start": 9224, + "end": 9243, "loc": { "start": { - "line": 252, + "line": 248, "column": 4 }, "end": { - "line": 252, + "line": 248, "column": 23 } } @@ -127160,15 +124498,15 @@ "postfix": false, "binop": null }, - "start": 9476, - "end": 9477, + "start": 9243, + "end": 9244, "loc": { "start": { - "line": 252, + "line": 248, "column": 23 }, "end": { - "line": 252, + "line": 248, "column": 24 } } @@ -127186,15 +124524,15 @@ "binop": null }, "value": "enable", - "start": 9477, - "end": 9483, + "start": 9244, + "end": 9250, "loc": { "start": { - "line": 252, + "line": 248, "column": 24 }, "end": { - "line": 252, + "line": 248, "column": 30 } } @@ -127211,15 +124549,15 @@ "postfix": false, "binop": null }, - "start": 9483, - "end": 9484, + "start": 9250, + "end": 9251, "loc": { "start": { - "line": 252, + "line": 248, "column": 30 }, "end": { - "line": 252, + "line": 248, "column": 31 } } @@ -127236,15 +124574,15 @@ "postfix": false, "binop": null }, - "start": 9485, - "end": 9486, + "start": 9252, + "end": 9253, "loc": { "start": { - "line": 252, + "line": 248, "column": 32 }, "end": { - "line": 252, + "line": 248, "column": 33 } } @@ -127264,15 +124602,15 @@ "updateContext": null }, "value": "if", - "start": 9495, - "end": 9497, + "start": 9262, + "end": 9264, "loc": { "start": { - "line": 253, + "line": 249, "column": 8 }, "end": { - "line": 253, + "line": 249, "column": 10 } } @@ -127289,15 +124627,15 @@ "postfix": false, "binop": null }, - "start": 9498, - "end": 9499, + "start": 9265, + "end": 9266, "loc": { "start": { - "line": 253, + "line": 249, "column": 11 }, "end": { - "line": 253, + "line": 249, "column": 12 } } @@ -127315,15 +124653,15 @@ "binop": null }, "value": "enable", - "start": 9499, - "end": 9505, + "start": 9266, + "end": 9272, "loc": { "start": { - "line": 253, + "line": 249, "column": 12 }, "end": { - "line": 253, + "line": 249, "column": 18 } } @@ -127342,15 +124680,15 @@ "updateContext": null }, "value": "===", - "start": 9506, - "end": 9509, + "start": 9273, + "end": 9276, "loc": { "start": { - "line": 253, + "line": 249, "column": 19 }, "end": { - "line": 253, + "line": 249, "column": 22 } } @@ -127370,15 +124708,15 @@ "updateContext": null }, "value": "false", - "start": 9510, - "end": 9515, + "start": 9277, + "end": 9282, "loc": { "start": { - "line": 253, + "line": 249, "column": 23 }, "end": { - "line": 253, + "line": 249, "column": 28 } } @@ -127395,15 +124733,15 @@ "postfix": false, "binop": null }, - "start": 9515, - "end": 9516, + "start": 9282, + "end": 9283, "loc": { "start": { - "line": 253, + "line": 249, "column": 28 }, "end": { - "line": 253, + "line": 249, "column": 29 } } @@ -127420,15 +124758,15 @@ "postfix": false, "binop": null }, - "start": 9517, - "end": 9518, + "start": 9284, + "end": 9285, "loc": { "start": { - "line": 253, + "line": 249, "column": 30 }, "end": { - "line": 253, + "line": 249, "column": 31 } } @@ -127448,15 +124786,15 @@ "updateContext": null }, "value": "this", - "start": 9531, - "end": 9535, + "start": 9298, + "end": 9302, "loc": { "start": { - "line": 254, + "line": 250, "column": 12 }, "end": { - "line": 254, + "line": 250, "column": 16 } } @@ -127474,15 +124812,15 @@ "binop": null, "updateContext": null }, - "start": 9535, - "end": 9536, + "start": 9302, + "end": 9303, "loc": { "start": { - "line": 254, + "line": 250, "column": 16 }, "end": { - "line": 254, + "line": 250, "column": 17 } } @@ -127500,15 +124838,15 @@ "binop": null }, "value": "surfer", - "start": 9536, - "end": 9542, + "start": 9303, + "end": 9309, "loc": { "start": { - "line": 254, + "line": 250, "column": 17 }, "end": { - "line": 254, + "line": 250, "column": 23 } } @@ -127526,15 +124864,15 @@ "binop": null, "updateContext": null }, - "start": 9542, - "end": 9543, + "start": 9309, + "end": 9310, "loc": { "start": { - "line": 254, + "line": 250, "column": 23 }, "end": { - "line": 254, + "line": 250, "column": 24 } } @@ -127552,15 +124890,15 @@ "binop": null }, "value": "un", - "start": 9543, - "end": 9545, + "start": 9310, + "end": 9312, "loc": { "start": { - "line": 254, + "line": 250, "column": 24 }, "end": { - "line": 254, + "line": 250, "column": 26 } } @@ -127577,15 +124915,15 @@ "postfix": false, "binop": null }, - "start": 9545, - "end": 9546, + "start": 9312, + "end": 9313, "loc": { "start": { - "line": 254, + "line": 250, "column": 26 }, "end": { - "line": 254, + "line": 250, "column": 27 } } @@ -127603,15 +124941,15 @@ "binop": null }, "value": "Event", - "start": 9546, - "end": 9551, + "start": 9313, + "end": 9318, "loc": { "start": { - "line": 254, + "line": 250, "column": 27 }, "end": { - "line": 254, + "line": 250, "column": 32 } } @@ -127629,15 +124967,15 @@ "binop": null, "updateContext": null }, - "start": 9551, - "end": 9552, + "start": 9318, + "end": 9319, "loc": { "start": { - "line": 254, + "line": 250, "column": 32 }, "end": { - "line": 254, + "line": 250, "column": 33 } } @@ -127655,15 +124993,15 @@ "binop": null }, "value": "READY", - "start": 9552, - "end": 9557, + "start": 9319, + "end": 9324, "loc": { "start": { - "line": 254, + "line": 250, "column": 33 }, "end": { - "line": 254, + "line": 250, "column": 38 } } @@ -127681,15 +125019,15 @@ "binop": null, "updateContext": null }, - "start": 9557, - "end": 9558, + "start": 9324, + "end": 9325, "loc": { "start": { - "line": 254, + "line": 250, "column": 38 }, "end": { - "line": 254, + "line": 250, "column": 39 } } @@ -127709,15 +125047,15 @@ "updateContext": null }, "value": "this", - "start": 9559, - "end": 9563, + "start": 9326, + "end": 9330, "loc": { "start": { - "line": 254, + "line": 250, "column": 40 }, "end": { - "line": 254, + "line": 250, "column": 44 } } @@ -127735,15 +125073,15 @@ "binop": null, "updateContext": null }, - "start": 9563, - "end": 9564, + "start": 9330, + "end": 9331, "loc": { "start": { - "line": 254, + "line": 250, "column": 44 }, "end": { - "line": 254, + "line": 250, "column": 45 } } @@ -127761,15 +125099,15 @@ "binop": null }, "value": "surferReady", - "start": 9564, - "end": 9575, + "start": 9331, + "end": 9342, "loc": { "start": { - "line": 254, + "line": 250, "column": 45 }, "end": { - "line": 254, + "line": 250, "column": 56 } } @@ -127786,15 +125124,15 @@ "postfix": false, "binop": null }, - "start": 9575, - "end": 9576, + "start": 9342, + "end": 9343, "loc": { "start": { - "line": 254, + "line": 250, "column": 56 }, "end": { - "line": 254, + "line": 250, "column": 57 } } @@ -127812,15 +125150,15 @@ "binop": null, "updateContext": null }, - "start": 9576, - "end": 9577, + "start": 9343, + "end": 9344, "loc": { "start": { - "line": 254, + "line": 250, "column": 57 }, "end": { - "line": 254, + "line": 250, "column": 58 } } @@ -127840,15 +125178,15 @@ "updateContext": null }, "value": "if", - "start": 9590, - "end": 9592, + "start": 9357, + "end": 9359, "loc": { "start": { - "line": 255, + "line": 251, "column": 12 }, "end": { - "line": 255, + "line": 251, "column": 14 } } @@ -127865,15 +125203,15 @@ "postfix": false, "binop": null }, - "start": 9593, - "end": 9594, + "start": 9360, + "end": 9361, "loc": { "start": { - "line": 255, + "line": 251, "column": 15 }, "end": { - "line": 255, + "line": 251, "column": 16 } } @@ -127893,15 +125231,15 @@ "updateContext": null }, "value": "this", - "start": 9594, - "end": 9598, + "start": 9361, + "end": 9365, "loc": { "start": { - "line": 255, + "line": 251, "column": 16 }, "end": { - "line": 255, + "line": 251, "column": 20 } } @@ -127919,15 +125257,15 @@ "binop": null, "updateContext": null }, - "start": 9598, - "end": 9599, + "start": 9365, + "end": 9366, "loc": { "start": { - "line": 255, + "line": 251, "column": 20 }, "end": { - "line": 255, + "line": 251, "column": 21 } } @@ -127945,15 +125283,15 @@ "binop": null }, "value": "backend", - "start": 9599, - "end": 9606, + "start": 9366, + "end": 9373, "loc": { "start": { - "line": 255, + "line": 251, "column": 21 }, "end": { - "line": 255, + "line": 251, "column": 28 } } @@ -127972,15 +125310,15 @@ "updateContext": null }, "value": "===", - "start": 9607, - "end": 9610, + "start": 9374, + "end": 9377, "loc": { "start": { - "line": 255, + "line": 251, "column": 29 }, "end": { - "line": 255, + "line": 251, "column": 32 } } @@ -127998,15 +125336,15 @@ "binop": null }, "value": "WEBAUDIO", - "start": 9611, - "end": 9619, + "start": 9378, + "end": 9386, "loc": { "start": { - "line": 255, + "line": 251, "column": 33 }, "end": { - "line": 255, + "line": 251, "column": 41 } } @@ -128023,15 +125361,15 @@ "postfix": false, "binop": null }, - "start": 9619, - "end": 9620, + "start": 9386, + "end": 9387, "loc": { "start": { - "line": 255, + "line": 251, "column": 41 }, "end": { - "line": 255, + "line": 251, "column": 42 } } @@ -128048,15 +125386,15 @@ "postfix": false, "binop": null }, - "start": 9621, - "end": 9622, + "start": 9388, + "end": 9389, "loc": { "start": { - "line": 255, + "line": 251, "column": 43 }, "end": { - "line": 255, + "line": 251, "column": 44 } } @@ -128076,15 +125414,15 @@ "updateContext": null }, "value": "this", - "start": 9639, - "end": 9643, + "start": 9406, + "end": 9410, "loc": { "start": { - "line": 256, + "line": 252, "column": 16 }, "end": { - "line": 256, + "line": 252, "column": 20 } } @@ -128102,15 +125440,15 @@ "binop": null, "updateContext": null }, - "start": 9643, - "end": 9644, + "start": 9410, + "end": 9411, "loc": { "start": { - "line": 256, + "line": 252, "column": 20 }, "end": { - "line": 256, + "line": 252, "column": 21 } } @@ -128128,15 +125466,15 @@ "binop": null }, "value": "surfer", - "start": 9644, - "end": 9650, + "start": 9411, + "end": 9417, "loc": { "start": { - "line": 256, + "line": 252, "column": 21 }, "end": { - "line": 256, + "line": 252, "column": 27 } } @@ -128154,15 +125492,15 @@ "binop": null, "updateContext": null }, - "start": 9650, - "end": 9651, + "start": 9417, + "end": 9418, "loc": { "start": { - "line": 256, + "line": 252, "column": 27 }, "end": { - "line": 256, + "line": 252, "column": 28 } } @@ -128180,15 +125518,15 @@ "binop": null }, "value": "un", - "start": 9651, - "end": 9653, + "start": 9418, + "end": 9420, "loc": { "start": { - "line": 256, + "line": 252, "column": 28 }, "end": { - "line": 256, + "line": 252, "column": 30 } } @@ -128205,15 +125543,15 @@ "postfix": false, "binop": null }, - "start": 9653, - "end": 9654, + "start": 9420, + "end": 9421, "loc": { "start": { - "line": 256, + "line": 252, "column": 30 }, "end": { - "line": 256, + "line": 252, "column": 31 } } @@ -128231,15 +125569,15 @@ "binop": null }, "value": "Event", - "start": 9654, - "end": 9659, + "start": 9421, + "end": 9426, "loc": { "start": { - "line": 256, + "line": 252, "column": 31 }, "end": { - "line": 256, + "line": 252, "column": 36 } } @@ -128257,15 +125595,15 @@ "binop": null, "updateContext": null }, - "start": 9659, - "end": 9660, + "start": 9426, + "end": 9427, "loc": { "start": { - "line": 256, + "line": 252, "column": 36 }, "end": { - "line": 256, + "line": 252, "column": 37 } } @@ -128283,15 +125621,15 @@ "binop": null }, "value": "AUDIOPROCESS", - "start": 9660, - "end": 9672, + "start": 9427, + "end": 9439, "loc": { "start": { - "line": 256, + "line": 252, "column": 37 }, "end": { - "line": 256, + "line": 252, "column": 49 } } @@ -128309,15 +125647,15 @@ "binop": null, "updateContext": null }, - "start": 9672, - "end": 9673, + "start": 9439, + "end": 9440, "loc": { "start": { - "line": 256, + "line": 252, "column": 49 }, "end": { - "line": 256, + "line": 252, "column": 50 } } @@ -128337,15 +125675,15 @@ "updateContext": null }, "value": "this", - "start": 9674, - "end": 9678, + "start": 9441, + "end": 9445, "loc": { "start": { - "line": 256, + "line": 252, "column": 51 }, "end": { - "line": 256, + "line": 252, "column": 55 } } @@ -128363,15 +125701,15 @@ "binop": null, "updateContext": null }, - "start": 9678, - "end": 9679, + "start": 9445, + "end": 9446, "loc": { "start": { - "line": 256, + "line": 252, "column": 55 }, "end": { - "line": 256, + "line": 252, "column": 56 } } @@ -128389,15 +125727,15 @@ "binop": null }, "value": "surferProgress", - "start": 9679, - "end": 9693, + "start": 9446, + "end": 9460, "loc": { "start": { - "line": 256, + "line": 252, "column": 56 }, "end": { - "line": 256, + "line": 252, "column": 70 } } @@ -128414,15 +125752,15 @@ "postfix": false, "binop": null }, - "start": 9693, - "end": 9694, + "start": 9460, + "end": 9461, "loc": { "start": { - "line": 256, + "line": 252, "column": 70 }, "end": { - "line": 256, + "line": 252, "column": 71 } } @@ -128440,15 +125778,15 @@ "binop": null, "updateContext": null }, - "start": 9694, - "end": 9695, + "start": 9461, + "end": 9462, "loc": { "start": { - "line": 256, + "line": 252, "column": 71 }, "end": { - "line": 256, + "line": 252, "column": 72 } } @@ -128468,15 +125806,15 @@ "updateContext": null }, "value": "this", - "start": 9712, - "end": 9716, + "start": 9479, + "end": 9483, "loc": { "start": { - "line": 257, + "line": 253, "column": 16 }, "end": { - "line": 257, + "line": 253, "column": 20 } } @@ -128494,15 +125832,15 @@ "binop": null, "updateContext": null }, - "start": 9716, - "end": 9717, + "start": 9483, + "end": 9484, "loc": { "start": { - "line": 257, + "line": 253, "column": 20 }, "end": { - "line": 257, + "line": 253, "column": 21 } } @@ -128520,15 +125858,15 @@ "binop": null }, "value": "surfer", - "start": 9717, - "end": 9723, + "start": 9484, + "end": 9490, "loc": { "start": { - "line": 257, + "line": 253, "column": 21 }, "end": { - "line": 257, + "line": 253, "column": 27 } } @@ -128546,15 +125884,15 @@ "binop": null, "updateContext": null }, - "start": 9723, - "end": 9724, + "start": 9490, + "end": 9491, "loc": { "start": { - "line": 257, + "line": 253, "column": 27 }, "end": { - "line": 257, + "line": 253, "column": 28 } } @@ -128572,15 +125910,15 @@ "binop": null }, "value": "un", - "start": 9724, - "end": 9726, + "start": 9491, + "end": 9493, "loc": { "start": { - "line": 257, + "line": 253, "column": 28 }, "end": { - "line": 257, + "line": 253, "column": 30 } } @@ -128597,15 +125935,15 @@ "postfix": false, "binop": null }, - "start": 9726, - "end": 9727, + "start": 9493, + "end": 9494, "loc": { "start": { - "line": 257, + "line": 253, "column": 30 }, "end": { - "line": 257, + "line": 253, "column": 31 } } @@ -128623,15 +125961,15 @@ "binop": null }, "value": "Event", - "start": 9727, - "end": 9732, + "start": 9494, + "end": 9499, "loc": { "start": { - "line": 257, + "line": 253, "column": 31 }, "end": { - "line": 257, + "line": 253, "column": 36 } } @@ -128649,15 +125987,15 @@ "binop": null, "updateContext": null }, - "start": 9732, - "end": 9733, + "start": 9499, + "end": 9500, "loc": { "start": { - "line": 257, + "line": 253, "column": 36 }, "end": { - "line": 257, + "line": 253, "column": 37 } } @@ -128675,15 +126013,15 @@ "binop": null }, "value": "SEEK", - "start": 9733, - "end": 9737, + "start": 9500, + "end": 9504, "loc": { "start": { - "line": 257, + "line": 253, "column": 37 }, "end": { - "line": 257, + "line": 253, "column": 41 } } @@ -128701,15 +126039,15 @@ "binop": null, "updateContext": null }, - "start": 9737, - "end": 9738, + "start": 9504, + "end": 9505, "loc": { "start": { - "line": 257, + "line": 253, "column": 41 }, "end": { - "line": 257, + "line": 253, "column": 42 } } @@ -128729,15 +126067,15 @@ "updateContext": null }, "value": "this", - "start": 9739, - "end": 9743, + "start": 9506, + "end": 9510, "loc": { "start": { - "line": 257, + "line": 253, "column": 43 }, "end": { - "line": 257, + "line": 253, "column": 47 } } @@ -128755,15 +126093,15 @@ "binop": null, "updateContext": null }, - "start": 9743, - "end": 9744, + "start": 9510, + "end": 9511, "loc": { "start": { - "line": 257, + "line": 253, "column": 47 }, "end": { - "line": 257, + "line": 253, "column": 48 } } @@ -128781,15 +126119,15 @@ "binop": null }, "value": "surferSeek", - "start": 9744, - "end": 9754, + "start": 9511, + "end": 9521, "loc": { "start": { - "line": 257, + "line": 253, "column": 48 }, "end": { - "line": 257, + "line": 253, "column": 58 } } @@ -128806,15 +126144,15 @@ "postfix": false, "binop": null }, - "start": 9754, - "end": 9755, + "start": 9521, + "end": 9522, "loc": { "start": { - "line": 257, + "line": 253, "column": 58 }, "end": { - "line": 257, + "line": 253, "column": 59 } } @@ -128832,15 +126170,15 @@ "binop": null, "updateContext": null }, - "start": 9755, - "end": 9756, + "start": 9522, + "end": 9523, "loc": { "start": { - "line": 257, + "line": 253, "column": 59 }, "end": { - "line": 257, + "line": 253, "column": 60 } } @@ -128857,15 +126195,15 @@ "postfix": false, "binop": null }, - "start": 9769, - "end": 9770, + "start": 9536, + "end": 9537, "loc": { "start": { - "line": 258, + "line": 254, "column": 12 }, "end": { - "line": 258, + "line": 254, "column": 13 } } @@ -128882,15 +126220,15 @@ "postfix": false, "binop": null }, - "start": 9779, - "end": 9780, + "start": 9546, + "end": 9547, "loc": { "start": { - "line": 259, + "line": 255, "column": 8 }, "end": { - "line": 259, + "line": 255, "column": 9 } } @@ -128910,15 +126248,15 @@ "updateContext": null }, "value": "else", - "start": 9781, - "end": 9785, + "start": 9548, + "end": 9552, "loc": { "start": { - "line": 259, + "line": 255, "column": 10 }, "end": { - "line": 259, + "line": 255, "column": 14 } } @@ -128938,15 +126276,15 @@ "updateContext": null }, "value": "if", - "start": 9786, - "end": 9788, + "start": 9553, + "end": 9555, "loc": { "start": { - "line": 259, + "line": 255, "column": 15 }, "end": { - "line": 259, + "line": 255, "column": 17 } } @@ -128963,15 +126301,15 @@ "postfix": false, "binop": null }, - "start": 9789, - "end": 9790, + "start": 9556, + "end": 9557, "loc": { "start": { - "line": 259, + "line": 255, "column": 18 }, "end": { - "line": 259, + "line": 255, "column": 19 } } @@ -128989,15 +126327,15 @@ "binop": null }, "value": "enable", - "start": 9790, - "end": 9796, + "start": 9557, + "end": 9563, "loc": { "start": { - "line": 259, + "line": 255, "column": 19 }, "end": { - "line": 259, + "line": 255, "column": 25 } } @@ -129016,15 +126354,15 @@ "updateContext": null }, "value": "===", - "start": 9797, - "end": 9800, + "start": 9564, + "end": 9567, "loc": { "start": { - "line": 259, + "line": 255, "column": 26 }, "end": { - "line": 259, + "line": 255, "column": 29 } } @@ -129044,15 +126382,15 @@ "updateContext": null }, "value": "true", - "start": 9801, - "end": 9805, + "start": 9568, + "end": 9572, "loc": { "start": { - "line": 259, + "line": 255, "column": 30 }, "end": { - "line": 259, + "line": 255, "column": 34 } } @@ -129069,15 +126407,15 @@ "postfix": false, "binop": null }, - "start": 9805, - "end": 9806, + "start": 9572, + "end": 9573, "loc": { "start": { - "line": 259, + "line": 255, "column": 34 }, "end": { - "line": 259, + "line": 255, "column": 35 } } @@ -129094,15 +126432,15 @@ "postfix": false, "binop": null }, - "start": 9807, - "end": 9808, + "start": 9574, + "end": 9575, "loc": { "start": { - "line": 259, + "line": 255, "column": 36 }, "end": { - "line": 259, + "line": 255, "column": 37 } } @@ -129122,15 +126460,15 @@ "updateContext": null }, "value": "this", - "start": 9821, - "end": 9825, + "start": 9588, + "end": 9592, "loc": { "start": { - "line": 260, + "line": 256, "column": 12 }, "end": { - "line": 260, + "line": 256, "column": 16 } } @@ -129148,15 +126486,15 @@ "binop": null, "updateContext": null }, - "start": 9825, - "end": 9826, + "start": 9592, + "end": 9593, "loc": { "start": { - "line": 260, + "line": 256, "column": 16 }, "end": { - "line": 260, + "line": 256, "column": 17 } } @@ -129174,15 +126512,15 @@ "binop": null }, "value": "surfer", - "start": 9826, - "end": 9832, + "start": 9593, + "end": 9599, "loc": { "start": { - "line": 260, + "line": 256, "column": 17 }, "end": { - "line": 260, + "line": 256, "column": 23 } } @@ -129200,15 +126538,15 @@ "binop": null, "updateContext": null }, - "start": 9832, - "end": 9833, + "start": 9599, + "end": 9600, "loc": { "start": { - "line": 260, + "line": 256, "column": 23 }, "end": { - "line": 260, + "line": 256, "column": 24 } } @@ -129226,15 +126564,15 @@ "binop": null }, "value": "on", - "start": 9833, - "end": 9835, + "start": 9600, + "end": 9602, "loc": { "start": { - "line": 260, + "line": 256, "column": 24 }, "end": { - "line": 260, + "line": 256, "column": 26 } } @@ -129251,15 +126589,15 @@ "postfix": false, "binop": null }, - "start": 9835, - "end": 9836, + "start": 9602, + "end": 9603, "loc": { "start": { - "line": 260, + "line": 256, "column": 26 }, "end": { - "line": 260, + "line": 256, "column": 27 } } @@ -129277,15 +126615,15 @@ "binop": null }, "value": "Event", - "start": 9836, - "end": 9841, + "start": 9603, + "end": 9608, "loc": { "start": { - "line": 260, + "line": 256, "column": 27 }, "end": { - "line": 260, + "line": 256, "column": 32 } } @@ -129303,15 +126641,15 @@ "binop": null, "updateContext": null }, - "start": 9841, - "end": 9842, + "start": 9608, + "end": 9609, "loc": { "start": { - "line": 260, + "line": 256, "column": 32 }, "end": { - "line": 260, + "line": 256, "column": 33 } } @@ -129329,15 +126667,15 @@ "binop": null }, "value": "READY", - "start": 9842, - "end": 9847, + "start": 9609, + "end": 9614, "loc": { "start": { - "line": 260, + "line": 256, "column": 33 }, "end": { - "line": 260, + "line": 256, "column": 38 } } @@ -129355,15 +126693,15 @@ "binop": null, "updateContext": null }, - "start": 9847, - "end": 9848, + "start": 9614, + "end": 9615, "loc": { "start": { - "line": 260, + "line": 256, "column": 38 }, "end": { - "line": 260, + "line": 256, "column": 39 } } @@ -129383,15 +126721,15 @@ "updateContext": null }, "value": "this", - "start": 9849, - "end": 9853, + "start": 9616, + "end": 9620, "loc": { "start": { - "line": 260, + "line": 256, "column": 40 }, "end": { - "line": 260, + "line": 256, "column": 44 } } @@ -129409,15 +126747,15 @@ "binop": null, "updateContext": null }, - "start": 9853, - "end": 9854, + "start": 9620, + "end": 9621, "loc": { "start": { - "line": 260, + "line": 256, "column": 44 }, "end": { - "line": 260, + "line": 256, "column": 45 } } @@ -129435,15 +126773,15 @@ "binop": null }, "value": "surferReady", - "start": 9854, - "end": 9865, + "start": 9621, + "end": 9632, "loc": { "start": { - "line": 260, + "line": 256, "column": 45 }, "end": { - "line": 260, + "line": 256, "column": 56 } } @@ -129460,15 +126798,15 @@ "postfix": false, "binop": null }, - "start": 9865, - "end": 9866, + "start": 9632, + "end": 9633, "loc": { "start": { - "line": 260, + "line": 256, "column": 56 }, "end": { - "line": 260, + "line": 256, "column": 57 } } @@ -129486,15 +126824,15 @@ "binop": null, "updateContext": null }, - "start": 9866, - "end": 9867, + "start": 9633, + "end": 9634, "loc": { "start": { - "line": 260, + "line": 256, "column": 57 }, "end": { - "line": 260, + "line": 256, "column": 58 } } @@ -129514,15 +126852,15 @@ "updateContext": null }, "value": "if", - "start": 9880, - "end": 9882, + "start": 9647, + "end": 9649, "loc": { "start": { - "line": 261, + "line": 257, "column": 12 }, "end": { - "line": 261, + "line": 257, "column": 14 } } @@ -129539,15 +126877,15 @@ "postfix": false, "binop": null }, - "start": 9883, - "end": 9884, + "start": 9650, + "end": 9651, "loc": { "start": { - "line": 261, + "line": 257, "column": 15 }, "end": { - "line": 261, + "line": 257, "column": 16 } } @@ -129567,15 +126905,15 @@ "updateContext": null }, "value": "this", - "start": 9884, - "end": 9888, + "start": 9651, + "end": 9655, "loc": { "start": { - "line": 261, + "line": 257, "column": 16 }, "end": { - "line": 261, + "line": 257, "column": 20 } } @@ -129593,15 +126931,15 @@ "binop": null, "updateContext": null }, - "start": 9888, - "end": 9889, + "start": 9655, + "end": 9656, "loc": { "start": { - "line": 261, + "line": 257, "column": 20 }, "end": { - "line": 261, + "line": 257, "column": 21 } } @@ -129619,15 +126957,15 @@ "binop": null }, "value": "backend", - "start": 9889, - "end": 9896, + "start": 9656, + "end": 9663, "loc": { "start": { - "line": 261, + "line": 257, "column": 21 }, "end": { - "line": 261, + "line": 257, "column": 28 } } @@ -129646,15 +126984,15 @@ "updateContext": null }, "value": "===", - "start": 9897, - "end": 9900, + "start": 9664, + "end": 9667, "loc": { "start": { - "line": 261, + "line": 257, "column": 29 }, "end": { - "line": 261, + "line": 257, "column": 32 } } @@ -129672,15 +127010,15 @@ "binop": null }, "value": "WEBAUDIO", - "start": 9901, - "end": 9909, + "start": 9668, + "end": 9676, "loc": { "start": { - "line": 261, + "line": 257, "column": 33 }, "end": { - "line": 261, + "line": 257, "column": 41 } } @@ -129697,15 +127035,15 @@ "postfix": false, "binop": null }, - "start": 9909, - "end": 9910, + "start": 9676, + "end": 9677, "loc": { "start": { - "line": 261, + "line": 257, "column": 41 }, "end": { - "line": 261, + "line": 257, "column": 42 } } @@ -129722,15 +127060,15 @@ "postfix": false, "binop": null }, - "start": 9911, - "end": 9912, + "start": 9678, + "end": 9679, "loc": { "start": { - "line": 261, + "line": 257, "column": 43 }, "end": { - "line": 261, + "line": 257, "column": 44 } } @@ -129750,15 +127088,15 @@ "updateContext": null }, "value": "this", - "start": 9929, - "end": 9933, + "start": 9696, + "end": 9700, "loc": { "start": { - "line": 262, + "line": 258, "column": 16 }, "end": { - "line": 262, + "line": 258, "column": 20 } } @@ -129776,15 +127114,15 @@ "binop": null, "updateContext": null }, - "start": 9933, - "end": 9934, + "start": 9700, + "end": 9701, "loc": { "start": { - "line": 262, + "line": 258, "column": 20 }, "end": { - "line": 262, + "line": 258, "column": 21 } } @@ -129802,15 +127140,15 @@ "binop": null }, "value": "surfer", - "start": 9934, - "end": 9940, + "start": 9701, + "end": 9707, "loc": { "start": { - "line": 262, + "line": 258, "column": 21 }, "end": { - "line": 262, + "line": 258, "column": 27 } } @@ -129828,15 +127166,15 @@ "binop": null, "updateContext": null }, - "start": 9940, - "end": 9941, + "start": 9707, + "end": 9708, "loc": { "start": { - "line": 262, + "line": 258, "column": 27 }, "end": { - "line": 262, + "line": 258, "column": 28 } } @@ -129854,15 +127192,15 @@ "binop": null }, "value": "on", - "start": 9941, - "end": 9943, + "start": 9708, + "end": 9710, "loc": { "start": { - "line": 262, + "line": 258, "column": 28 }, "end": { - "line": 262, + "line": 258, "column": 30 } } @@ -129879,15 +127217,15 @@ "postfix": false, "binop": null }, - "start": 9943, - "end": 9944, + "start": 9710, + "end": 9711, "loc": { "start": { - "line": 262, + "line": 258, "column": 30 }, "end": { - "line": 262, + "line": 258, "column": 31 } } @@ -129905,15 +127243,15 @@ "binop": null }, "value": "Event", - "start": 9944, - "end": 9949, + "start": 9711, + "end": 9716, "loc": { "start": { - "line": 262, + "line": 258, "column": 31 }, "end": { - "line": 262, + "line": 258, "column": 36 } } @@ -129931,15 +127269,15 @@ "binop": null, "updateContext": null }, - "start": 9949, - "end": 9950, + "start": 9716, + "end": 9717, "loc": { "start": { - "line": 262, + "line": 258, "column": 36 }, "end": { - "line": 262, + "line": 258, "column": 37 } } @@ -129957,15 +127295,15 @@ "binop": null }, "value": "AUDIOPROCESS", - "start": 9950, - "end": 9962, + "start": 9717, + "end": 9729, "loc": { "start": { - "line": 262, + "line": 258, "column": 37 }, "end": { - "line": 262, + "line": 258, "column": 49 } } @@ -129983,15 +127321,15 @@ "binop": null, "updateContext": null }, - "start": 9962, - "end": 9963, + "start": 9729, + "end": 9730, "loc": { "start": { - "line": 262, + "line": 258, "column": 49 }, "end": { - "line": 262, + "line": 258, "column": 50 } } @@ -130011,15 +127349,15 @@ "updateContext": null }, "value": "this", - "start": 9964, - "end": 9968, + "start": 9731, + "end": 9735, "loc": { "start": { - "line": 262, + "line": 258, "column": 51 }, "end": { - "line": 262, + "line": 258, "column": 55 } } @@ -130037,15 +127375,15 @@ "binop": null, "updateContext": null }, - "start": 9968, - "end": 9969, + "start": 9735, + "end": 9736, "loc": { "start": { - "line": 262, + "line": 258, "column": 55 }, "end": { - "line": 262, + "line": 258, "column": 56 } } @@ -130063,15 +127401,15 @@ "binop": null }, "value": "surferProgress", - "start": 9969, - "end": 9983, + "start": 9736, + "end": 9750, "loc": { "start": { - "line": 262, + "line": 258, "column": 56 }, "end": { - "line": 262, + "line": 258, "column": 70 } } @@ -130088,15 +127426,15 @@ "postfix": false, "binop": null }, - "start": 9983, - "end": 9984, + "start": 9750, + "end": 9751, "loc": { "start": { - "line": 262, + "line": 258, "column": 70 }, "end": { - "line": 262, + "line": 258, "column": 71 } } @@ -130114,15 +127452,15 @@ "binop": null, "updateContext": null }, - "start": 9984, - "end": 9985, + "start": 9751, + "end": 9752, "loc": { "start": { - "line": 262, + "line": 258, "column": 71 }, "end": { - "line": 262, + "line": 258, "column": 72 } } @@ -130142,15 +127480,15 @@ "updateContext": null }, "value": "this", - "start": 10002, - "end": 10006, + "start": 9769, + "end": 9773, "loc": { "start": { - "line": 263, + "line": 259, "column": 16 }, "end": { - "line": 263, + "line": 259, "column": 20 } } @@ -130168,15 +127506,15 @@ "binop": null, "updateContext": null }, - "start": 10006, - "end": 10007, + "start": 9773, + "end": 9774, "loc": { "start": { - "line": 263, + "line": 259, "column": 20 }, "end": { - "line": 263, + "line": 259, "column": 21 } } @@ -130194,15 +127532,15 @@ "binop": null }, "value": "surfer", - "start": 10007, - "end": 10013, + "start": 9774, + "end": 9780, "loc": { "start": { - "line": 263, + "line": 259, "column": 21 }, "end": { - "line": 263, + "line": 259, "column": 27 } } @@ -130220,15 +127558,15 @@ "binop": null, "updateContext": null }, - "start": 10013, - "end": 10014, + "start": 9780, + "end": 9781, "loc": { "start": { - "line": 263, + "line": 259, "column": 27 }, "end": { - "line": 263, + "line": 259, "column": 28 } } @@ -130246,15 +127584,15 @@ "binop": null }, "value": "on", - "start": 10014, - "end": 10016, + "start": 9781, + "end": 9783, "loc": { "start": { - "line": 263, + "line": 259, "column": 28 }, "end": { - "line": 263, + "line": 259, "column": 30 } } @@ -130271,15 +127609,15 @@ "postfix": false, "binop": null }, - "start": 10016, - "end": 10017, + "start": 9783, + "end": 9784, "loc": { "start": { - "line": 263, + "line": 259, "column": 30 }, "end": { - "line": 263, + "line": 259, "column": 31 } } @@ -130297,15 +127635,15 @@ "binop": null }, "value": "Event", - "start": 10017, - "end": 10022, + "start": 9784, + "end": 9789, "loc": { "start": { - "line": 263, + "line": 259, "column": 31 }, "end": { - "line": 263, + "line": 259, "column": 36 } } @@ -130323,15 +127661,15 @@ "binop": null, "updateContext": null }, - "start": 10022, - "end": 10023, + "start": 9789, + "end": 9790, "loc": { "start": { - "line": 263, + "line": 259, "column": 36 }, "end": { - "line": 263, + "line": 259, "column": 37 } } @@ -130349,15 +127687,15 @@ "binop": null }, "value": "SEEK", - "start": 10023, - "end": 10027, + "start": 9790, + "end": 9794, "loc": { "start": { - "line": 263, + "line": 259, "column": 37 }, "end": { - "line": 263, + "line": 259, "column": 41 } } @@ -130375,15 +127713,15 @@ "binop": null, "updateContext": null }, - "start": 10027, - "end": 10028, + "start": 9794, + "end": 9795, "loc": { "start": { - "line": 263, + "line": 259, "column": 41 }, "end": { - "line": 263, + "line": 259, "column": 42 } } @@ -130403,15 +127741,15 @@ "updateContext": null }, "value": "this", - "start": 10029, - "end": 10033, + "start": 9796, + "end": 9800, "loc": { "start": { - "line": 263, + "line": 259, "column": 43 }, "end": { - "line": 263, + "line": 259, "column": 47 } } @@ -130429,15 +127767,15 @@ "binop": null, "updateContext": null }, - "start": 10033, - "end": 10034, + "start": 9800, + "end": 9801, "loc": { "start": { - "line": 263, + "line": 259, "column": 47 }, "end": { - "line": 263, + "line": 259, "column": 48 } } @@ -130455,15 +127793,15 @@ "binop": null }, "value": "surferSeek", - "start": 10034, - "end": 10044, + "start": 9801, + "end": 9811, "loc": { "start": { - "line": 263, + "line": 259, "column": 48 }, "end": { - "line": 263, + "line": 259, "column": 58 } } @@ -130480,15 +127818,15 @@ "postfix": false, "binop": null }, - "start": 10044, - "end": 10045, + "start": 9811, + "end": 9812, "loc": { "start": { - "line": 263, + "line": 259, "column": 58 }, "end": { - "line": 263, + "line": 259, "column": 59 } } @@ -130506,15 +127844,15 @@ "binop": null, "updateContext": null }, - "start": 10045, - "end": 10046, + "start": 9812, + "end": 9813, "loc": { "start": { - "line": 263, + "line": 259, "column": 59 }, "end": { - "line": 263, + "line": 259, "column": 60 } } @@ -130531,15 +127869,15 @@ "postfix": false, "binop": null }, - "start": 10059, - "end": 10060, + "start": 9826, + "end": 9827, "loc": { "start": { - "line": 264, + "line": 260, "column": 12 }, "end": { - "line": 264, + "line": 260, "column": 13 } } @@ -130556,15 +127894,15 @@ "postfix": false, "binop": null }, - "start": 10069, - "end": 10070, + "start": 9836, + "end": 9837, "loc": { "start": { - "line": 265, + "line": 261, "column": 8 }, "end": { - "line": 265, + "line": 261, "column": 9 } } @@ -130581,15 +127919,15 @@ "postfix": false, "binop": null }, - "start": 10075, - "end": 10076, + "start": 9842, + "end": 9843, "loc": { "start": { - "line": 266, + "line": 262, "column": 4 }, "end": { - "line": 266, + "line": 262, "column": 5 } } @@ -130597,15 +127935,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": 10082, - "end": 10374, + "start": 9849, + "end": 10141, "loc": { "start": { - "line": 268, + "line": 264, "column": 4 }, "end": { - "line": 275, + "line": 271, "column": 7 } } @@ -130623,15 +127961,15 @@ "binop": null }, "value": "load", - "start": 10379, - "end": 10383, + "start": 10146, + "end": 10150, "loc": { "start": { - "line": 276, + "line": 272, "column": 4 }, "end": { - "line": 276, + "line": 272, "column": 8 } } @@ -130648,15 +127986,15 @@ "postfix": false, "binop": null }, - "start": 10383, - "end": 10384, + "start": 10150, + "end": 10151, "loc": { "start": { - "line": 276, + "line": 272, "column": 8 }, "end": { - "line": 276, + "line": 272, "column": 9 } } @@ -130674,15 +128012,15 @@ "binop": null }, "value": "url", - "start": 10384, - "end": 10387, + "start": 10151, + "end": 10154, "loc": { "start": { - "line": 276, + "line": 272, "column": 9 }, "end": { - "line": 276, + "line": 272, "column": 12 } } @@ -130700,15 +128038,15 @@ "binop": null, "updateContext": null }, - "start": 10387, - "end": 10388, + "start": 10154, + "end": 10155, "loc": { "start": { - "line": 276, + "line": 272, "column": 12 }, "end": { - "line": 276, + "line": 272, "column": 13 } } @@ -130726,15 +128064,15 @@ "binop": null }, "value": "peaks", - "start": 10389, - "end": 10394, + "start": 10156, + "end": 10161, "loc": { "start": { - "line": 276, + "line": 272, "column": 14 }, "end": { - "line": 276, + "line": 272, "column": 19 } } @@ -130751,15 +128089,15 @@ "postfix": false, "binop": null }, - "start": 10394, - "end": 10395, + "start": 10161, + "end": 10162, "loc": { "start": { - "line": 276, + "line": 272, "column": 19 }, "end": { - "line": 276, + "line": 272, "column": 20 } } @@ -130776,15 +128114,15 @@ "postfix": false, "binop": null }, - "start": 10396, - "end": 10397, + "start": 10163, + "end": 10164, "loc": { "start": { - "line": 276, + "line": 272, "column": 21 }, "end": { - "line": 276, + "line": 272, "column": 22 } } @@ -130804,15 +128142,15 @@ "updateContext": null }, "value": "if", - "start": 10406, - "end": 10408, + "start": 10173, + "end": 10175, "loc": { "start": { - "line": 277, + "line": 273, "column": 8 }, "end": { - "line": 277, + "line": 273, "column": 10 } } @@ -130829,15 +128167,15 @@ "postfix": false, "binop": null }, - "start": 10409, - "end": 10410, + "start": 10176, + "end": 10177, "loc": { "start": { - "line": 277, + "line": 273, "column": 11 }, "end": { - "line": 277, + "line": 273, "column": 12 } } @@ -130855,15 +128193,15 @@ "binop": null }, "value": "url", - "start": 10410, - "end": 10413, + "start": 10177, + "end": 10180, "loc": { "start": { - "line": 277, + "line": 273, "column": 12 }, "end": { - "line": 277, + "line": 273, "column": 15 } } @@ -130883,15 +128221,15 @@ "updateContext": null }, "value": "instanceof", - "start": 10414, - "end": 10424, + "start": 10181, + "end": 10191, "loc": { "start": { - "line": 277, + "line": 273, "column": 16 }, "end": { - "line": 277, + "line": 273, "column": 26 } } @@ -130909,15 +128247,15 @@ "binop": null }, "value": "Blob", - "start": 10425, - "end": 10429, + "start": 10192, + "end": 10196, "loc": { "start": { - "line": 277, + "line": 273, "column": 27 }, "end": { - "line": 277, + "line": 273, "column": 31 } } @@ -130936,15 +128274,15 @@ "updateContext": null }, "value": "||", - "start": 10430, - "end": 10432, + "start": 10197, + "end": 10199, "loc": { "start": { - "line": 277, + "line": 273, "column": 32 }, "end": { - "line": 277, + "line": 273, "column": 34 } } @@ -130962,15 +128300,15 @@ "binop": null }, "value": "url", - "start": 10433, - "end": 10436, + "start": 10200, + "end": 10203, "loc": { "start": { - "line": 277, + "line": 273, "column": 35 }, "end": { - "line": 277, + "line": 273, "column": 38 } } @@ -130990,15 +128328,15 @@ "updateContext": null }, "value": "instanceof", - "start": 10437, - "end": 10447, + "start": 10204, + "end": 10214, "loc": { "start": { - "line": 277, + "line": 273, "column": 39 }, "end": { - "line": 277, + "line": 273, "column": 49 } } @@ -131016,15 +128354,15 @@ "binop": null }, "value": "File", - "start": 10448, - "end": 10452, + "start": 10215, + "end": 10219, "loc": { "start": { - "line": 277, + "line": 273, "column": 50 }, "end": { - "line": 277, + "line": 273, "column": 54 } } @@ -131041,15 +128379,15 @@ "postfix": false, "binop": null }, - "start": 10452, - "end": 10453, + "start": 10219, + "end": 10220, "loc": { "start": { - "line": 277, + "line": 273, "column": 54 }, "end": { - "line": 277, + "line": 273, "column": 55 } } @@ -131066,15 +128404,15 @@ "postfix": false, "binop": null }, - "start": 10454, - "end": 10455, + "start": 10221, + "end": 10222, "loc": { "start": { - "line": 277, + "line": 273, "column": 56 }, "end": { - "line": 277, + "line": 273, "column": 57 } } @@ -131094,15 +128432,15 @@ "updateContext": null }, "value": "this", - "start": 10468, - "end": 10472, + "start": 10235, + "end": 10239, "loc": { "start": { - "line": 278, + "line": 274, "column": 12 }, "end": { - "line": 278, + "line": 274, "column": 16 } } @@ -131120,15 +128458,15 @@ "binop": null, "updateContext": null }, - "start": 10472, - "end": 10473, + "start": 10239, + "end": 10240, "loc": { "start": { - "line": 278, + "line": 274, "column": 16 }, "end": { - "line": 278, + "line": 274, "column": 17 } } @@ -131146,15 +128484,15 @@ "binop": null }, "value": "log", - "start": 10473, - "end": 10476, + "start": 10240, + "end": 10243, "loc": { "start": { - "line": 278, + "line": 274, "column": 17 }, "end": { - "line": 278, + "line": 274, "column": 20 } } @@ -131171,15 +128509,15 @@ "postfix": false, "binop": null }, - "start": 10476, - "end": 10477, + "start": 10243, + "end": 10244, "loc": { "start": { - "line": 278, + "line": 274, "column": 20 }, "end": { - "line": 278, + "line": 274, "column": 21 } } @@ -131198,15 +128536,15 @@ "updateContext": null }, "value": "Loading object: ", - "start": 10477, - "end": 10495, + "start": 10244, + "end": 10262, "loc": { "start": { - "line": 278, + "line": 274, "column": 21 }, "end": { - "line": 278, + "line": 274, "column": 39 } } @@ -131225,15 +128563,15 @@ "updateContext": null }, "value": "+", - "start": 10496, - "end": 10497, + "start": 10263, + "end": 10264, "loc": { "start": { - "line": 278, + "line": 274, "column": 40 }, "end": { - "line": 278, + "line": 274, "column": 41 } } @@ -131251,15 +128589,15 @@ "binop": null }, "value": "JSON", - "start": 10498, - "end": 10502, + "start": 10265, + "end": 10269, "loc": { "start": { - "line": 278, + "line": 274, "column": 42 }, "end": { - "line": 278, + "line": 274, "column": 46 } } @@ -131277,15 +128615,15 @@ "binop": null, "updateContext": null }, - "start": 10502, - "end": 10503, + "start": 10269, + "end": 10270, "loc": { "start": { - "line": 278, + "line": 274, "column": 46 }, "end": { - "line": 278, + "line": 274, "column": 47 } } @@ -131303,15 +128641,15 @@ "binop": null }, "value": "stringify", - "start": 10503, - "end": 10512, + "start": 10270, + "end": 10279, "loc": { "start": { - "line": 278, + "line": 274, "column": 47 }, "end": { - "line": 278, + "line": 274, "column": 56 } } @@ -131328,15 +128666,15 @@ "postfix": false, "binop": null }, - "start": 10512, - "end": 10513, + "start": 10279, + "end": 10280, "loc": { "start": { - "line": 278, + "line": 274, "column": 56 }, "end": { - "line": 278, + "line": 274, "column": 57 } } @@ -131354,15 +128692,15 @@ "binop": null }, "value": "url", - "start": 10513, - "end": 10516, + "start": 10280, + "end": 10283, "loc": { "start": { - "line": 278, + "line": 274, "column": 57 }, "end": { - "line": 278, + "line": 274, "column": 60 } } @@ -131379,15 +128717,15 @@ "postfix": false, "binop": null }, - "start": 10516, - "end": 10517, + "start": 10283, + "end": 10284, "loc": { "start": { - "line": 278, + "line": 274, "column": 60 }, "end": { - "line": 278, + "line": 274, "column": 61 } } @@ -131404,15 +128742,15 @@ "postfix": false, "binop": null }, - "start": 10517, - "end": 10518, + "start": 10284, + "end": 10285, "loc": { "start": { - "line": 278, + "line": 274, "column": 61 }, "end": { - "line": 278, + "line": 274, "column": 62 } } @@ -131430,15 +128768,15 @@ "binop": null, "updateContext": null }, - "start": 10518, - "end": 10519, + "start": 10285, + "end": 10286, "loc": { "start": { - "line": 278, + "line": 274, "column": 62 }, "end": { - "line": 278, + "line": 274, "column": 63 } } @@ -131458,15 +128796,15 @@ "updateContext": null }, "value": "this", - "start": 10532, - "end": 10536, + "start": 10299, + "end": 10303, "loc": { "start": { - "line": 279, + "line": 275, "column": 12 }, "end": { - "line": 279, + "line": 275, "column": 16 } } @@ -131484,15 +128822,15 @@ "binop": null, "updateContext": null }, - "start": 10536, - "end": 10537, + "start": 10303, + "end": 10304, "loc": { "start": { - "line": 279, + "line": 275, "column": 16 }, "end": { - "line": 279, + "line": 275, "column": 17 } } @@ -131510,15 +128848,15 @@ "binop": null }, "value": "surfer", - "start": 10537, - "end": 10543, + "start": 10304, + "end": 10310, "loc": { "start": { - "line": 279, + "line": 275, "column": 17 }, "end": { - "line": 279, + "line": 275, "column": 23 } } @@ -131536,15 +128874,15 @@ "binop": null, "updateContext": null }, - "start": 10543, - "end": 10544, + "start": 10310, + "end": 10311, "loc": { "start": { - "line": 279, + "line": 275, "column": 23 }, "end": { - "line": 279, + "line": 275, "column": 24 } } @@ -131562,15 +128900,15 @@ "binop": null }, "value": "loadBlob", - "start": 10544, - "end": 10552, + "start": 10311, + "end": 10319, "loc": { "start": { - "line": 279, + "line": 275, "column": 24 }, "end": { - "line": 279, + "line": 275, "column": 32 } } @@ -131587,15 +128925,15 @@ "postfix": false, "binop": null }, - "start": 10552, - "end": 10553, + "start": 10319, + "end": 10320, "loc": { "start": { - "line": 279, + "line": 275, "column": 32 }, "end": { - "line": 279, + "line": 275, "column": 33 } } @@ -131613,15 +128951,15 @@ "binop": null }, "value": "url", - "start": 10553, - "end": 10556, + "start": 10320, + "end": 10323, "loc": { "start": { - "line": 279, + "line": 275, "column": 33 }, "end": { - "line": 279, + "line": 275, "column": 36 } } @@ -131638,15 +128976,15 @@ "postfix": false, "binop": null }, - "start": 10556, - "end": 10557, + "start": 10323, + "end": 10324, "loc": { "start": { - "line": 279, + "line": 275, "column": 36 }, "end": { - "line": 279, + "line": 275, "column": 37 } } @@ -131664,15 +129002,15 @@ "binop": null, "updateContext": null }, - "start": 10557, - "end": 10558, + "start": 10324, + "end": 10325, "loc": { "start": { - "line": 279, + "line": 275, "column": 37 }, "end": { - "line": 279, + "line": 275, "column": 38 } } @@ -131689,15 +129027,15 @@ "postfix": false, "binop": null }, - "start": 10567, - "end": 10568, + "start": 10334, + "end": 10335, "loc": { "start": { - "line": 280, + "line": 276, "column": 8 }, "end": { - "line": 280, + "line": 276, "column": 9 } } @@ -131717,15 +129055,15 @@ "updateContext": null }, "value": "else", - "start": 10569, - "end": 10573, + "start": 10336, + "end": 10340, "loc": { "start": { - "line": 280, + "line": 276, "column": 10 }, "end": { - "line": 280, + "line": 276, "column": 14 } } @@ -131742,15 +129080,15 @@ "postfix": false, "binop": null }, - "start": 10574, - "end": 10575, + "start": 10341, + "end": 10342, "loc": { "start": { - "line": 280, + "line": 276, "column": 15 }, "end": { - "line": 280, + "line": 276, "column": 16 } } @@ -131758,15 +129096,15 @@ { "type": "CommentLine", "value": " load peak data from array or file", - "start": 10588, - "end": 10624, + "start": 10355, + "end": 10391, "loc": { "start": { - "line": 281, + "line": 277, "column": 12 }, "end": { - "line": 281, + "line": 277, "column": 48 } } @@ -131786,15 +129124,15 @@ "updateContext": null }, "value": "if", - "start": 10637, - "end": 10639, + "start": 10404, + "end": 10406, "loc": { "start": { - "line": 282, + "line": 278, "column": 12 }, "end": { - "line": 282, + "line": 278, "column": 14 } } @@ -131811,15 +129149,15 @@ "postfix": false, "binop": null }, - "start": 10640, - "end": 10641, + "start": 10407, + "end": 10408, "loc": { "start": { - "line": 282, + "line": 278, "column": 15 }, "end": { - "line": 282, + "line": 278, "column": 16 } } @@ -131837,15 +129175,15 @@ "binop": null }, "value": "peaks", - "start": 10641, - "end": 10646, + "start": 10408, + "end": 10413, "loc": { "start": { - "line": 282, + "line": 278, "column": 16 }, "end": { - "line": 282, + "line": 278, "column": 21 } } @@ -131864,15 +129202,15 @@ "updateContext": null }, "value": "!==", - "start": 10647, - "end": 10650, + "start": 10414, + "end": 10417, "loc": { "start": { - "line": 282, + "line": 278, "column": 22 }, "end": { - "line": 282, + "line": 278, "column": 25 } } @@ -131890,15 +129228,15 @@ "binop": null }, "value": "undefined", - "start": 10651, - "end": 10660, + "start": 10418, + "end": 10427, "loc": { "start": { - "line": 282, + "line": 278, "column": 26 }, "end": { - "line": 282, + "line": 278, "column": 35 } } @@ -131915,15 +129253,15 @@ "postfix": false, "binop": null }, - "start": 10660, - "end": 10661, + "start": 10427, + "end": 10428, "loc": { "start": { - "line": 282, + "line": 278, "column": 35 }, "end": { - "line": 282, + "line": 278, "column": 36 } } @@ -131940,15 +129278,15 @@ "postfix": false, "binop": null }, - "start": 10662, - "end": 10663, + "start": 10429, + "end": 10430, "loc": { "start": { - "line": 282, + "line": 278, "column": 37 }, "end": { - "line": 282, + "line": 278, "column": 38 } } @@ -131968,15 +129306,15 @@ "updateContext": null }, "value": "this", - "start": 10680, - "end": 10684, + "start": 10447, + "end": 10451, "loc": { "start": { - "line": 283, + "line": 279, "column": 16 }, "end": { - "line": 283, + "line": 279, "column": 20 } } @@ -131994,15 +129332,15 @@ "binop": null, "updateContext": null }, - "start": 10684, - "end": 10685, + "start": 10451, + "end": 10452, "loc": { "start": { - "line": 283, + "line": 279, "column": 20 }, "end": { - "line": 283, + "line": 279, "column": 21 } } @@ -132020,15 +129358,15 @@ "binop": null }, "value": "loadPeaks", - "start": 10685, - "end": 10694, + "start": 10452, + "end": 10461, "loc": { "start": { - "line": 283, + "line": 279, "column": 21 }, "end": { - "line": 283, + "line": 279, "column": 30 } } @@ -132045,15 +129383,15 @@ "postfix": false, "binop": null }, - "start": 10694, - "end": 10695, + "start": 10461, + "end": 10462, "loc": { "start": { - "line": 283, + "line": 279, "column": 30 }, "end": { - "line": 283, + "line": 279, "column": 31 } } @@ -132071,15 +129409,15 @@ "binop": null }, "value": "url", - "start": 10695, - "end": 10698, + "start": 10462, + "end": 10465, "loc": { "start": { - "line": 283, + "line": 279, "column": 31 }, "end": { - "line": 283, + "line": 279, "column": 34 } } @@ -132097,15 +129435,15 @@ "binop": null, "updateContext": null }, - "start": 10698, - "end": 10699, + "start": 10465, + "end": 10466, "loc": { "start": { - "line": 283, + "line": 279, "column": 34 }, "end": { - "line": 283, + "line": 279, "column": 35 } } @@ -132123,15 +129461,15 @@ "binop": null }, "value": "peaks", - "start": 10700, - "end": 10705, + "start": 10467, + "end": 10472, "loc": { "start": { - "line": 283, + "line": 279, "column": 36 }, "end": { - "line": 283, + "line": 279, "column": 41 } } @@ -132148,15 +129486,15 @@ "postfix": false, "binop": null }, - "start": 10705, - "end": 10706, + "start": 10472, + "end": 10473, "loc": { "start": { - "line": 283, + "line": 279, "column": 41 }, "end": { - "line": 283, + "line": 279, "column": 42 } } @@ -132174,15 +129512,15 @@ "binop": null, "updateContext": null }, - "start": 10706, - "end": 10707, + "start": 10473, + "end": 10474, "loc": { "start": { - "line": 283, + "line": 279, "column": 42 }, "end": { - "line": 283, + "line": 279, "column": 43 } } @@ -132199,15 +129537,15 @@ "postfix": false, "binop": null }, - "start": 10720, - "end": 10721, + "start": 10487, + "end": 10488, "loc": { "start": { - "line": 284, + "line": 280, "column": 12 }, "end": { - "line": 284, + "line": 280, "column": 13 } } @@ -132227,15 +129565,15 @@ "updateContext": null }, "value": "else", - "start": 10722, - "end": 10726, + "start": 10489, + "end": 10493, "loc": { "start": { - "line": 284, + "line": 280, "column": 14 }, "end": { - "line": 284, + "line": 280, "column": 18 } } @@ -132252,15 +129590,15 @@ "postfix": false, "binop": null }, - "start": 10727, - "end": 10728, + "start": 10494, + "end": 10495, "loc": { "start": { - "line": 284, + "line": 280, "column": 19 }, "end": { - "line": 284, + "line": 280, "column": 20 } } @@ -132268,15 +129606,15 @@ { "type": "CommentLine", "value": " no peaks", - "start": 10745, - "end": 10756, + "start": 10512, + "end": 10523, "loc": { "start": { - "line": 285, + "line": 281, "column": 16 }, "end": { - "line": 285, + "line": 281, "column": 27 } } @@ -132296,15 +129634,15 @@ "updateContext": null }, "value": "if", - "start": 10773, - "end": 10775, + "start": 10540, + "end": 10542, "loc": { "start": { - "line": 286, + "line": 282, "column": 16 }, "end": { - "line": 286, + "line": 282, "column": 18 } } @@ -132321,15 +129659,15 @@ "postfix": false, "binop": null }, - "start": 10776, - "end": 10777, + "start": 10543, + "end": 10544, "loc": { "start": { - "line": 286, + "line": 282, "column": 19 }, "end": { - "line": 286, + "line": 282, "column": 20 } } @@ -132349,15 +129687,15 @@ "updateContext": null }, "value": "typeof", - "start": 10777, - "end": 10783, + "start": 10544, + "end": 10550, "loc": { "start": { - "line": 286, + "line": 282, "column": 20 }, "end": { - "line": 286, + "line": 282, "column": 26 } } @@ -132375,15 +129713,15 @@ "binop": null }, "value": "url", - "start": 10784, - "end": 10787, + "start": 10551, + "end": 10554, "loc": { "start": { - "line": 286, + "line": 282, "column": 27 }, "end": { - "line": 286, + "line": 282, "column": 30 } } @@ -132402,15 +129740,15 @@ "updateContext": null }, "value": "===", - "start": 10788, - "end": 10791, + "start": 10555, + "end": 10558, "loc": { "start": { - "line": 286, + "line": 282, "column": 31 }, "end": { - "line": 286, + "line": 282, "column": 34 } } @@ -132429,15 +129767,15 @@ "updateContext": null }, "value": "string", - "start": 10792, - "end": 10800, + "start": 10559, + "end": 10567, "loc": { "start": { - "line": 286, + "line": 282, "column": 35 }, "end": { - "line": 286, + "line": 282, "column": 43 } } @@ -132454,15 +129792,15 @@ "postfix": false, "binop": null }, - "start": 10800, - "end": 10801, + "start": 10567, + "end": 10568, "loc": { "start": { - "line": 286, + "line": 282, "column": 43 }, "end": { - "line": 286, + "line": 282, "column": 44 } } @@ -132479,15 +129817,15 @@ "postfix": false, "binop": null }, - "start": 10802, - "end": 10803, + "start": 10569, + "end": 10570, "loc": { "start": { - "line": 286, + "line": 282, "column": 45 }, "end": { - "line": 286, + "line": 282, "column": 46 } } @@ -132507,15 +129845,15 @@ "updateContext": null }, "value": "this", - "start": 10824, - "end": 10828, + "start": 10591, + "end": 10595, "loc": { "start": { - "line": 287, + "line": 283, "column": 20 }, "end": { - "line": 287, + "line": 283, "column": 24 } } @@ -132533,15 +129871,15 @@ "binop": null, "updateContext": null }, - "start": 10828, - "end": 10829, + "start": 10595, + "end": 10596, "loc": { "start": { - "line": 287, + "line": 283, "column": 24 }, "end": { - "line": 287, + "line": 283, "column": 25 } } @@ -132559,15 +129897,15 @@ "binop": null }, "value": "log", - "start": 10829, - "end": 10832, + "start": 10596, + "end": 10599, "loc": { "start": { - "line": 287, + "line": 283, "column": 25 }, "end": { - "line": 287, + "line": 283, "column": 28 } } @@ -132584,15 +129922,15 @@ "postfix": false, "binop": null }, - "start": 10832, - "end": 10833, + "start": 10599, + "end": 10600, "loc": { "start": { - "line": 287, + "line": 283, "column": 28 }, "end": { - "line": 287, + "line": 283, "column": 29 } } @@ -132611,15 +129949,15 @@ "updateContext": null }, "value": "Loading URL: ", - "start": 10833, - "end": 10848, + "start": 10600, + "end": 10615, "loc": { "start": { - "line": 287, + "line": 283, "column": 29 }, "end": { - "line": 287, + "line": 283, "column": 44 } } @@ -132638,15 +129976,15 @@ "updateContext": null }, "value": "+", - "start": 10849, - "end": 10850, + "start": 10616, + "end": 10617, "loc": { "start": { - "line": 287, + "line": 283, "column": 45 }, "end": { - "line": 287, + "line": 283, "column": 46 } } @@ -132664,15 +130002,15 @@ "binop": null }, "value": "url", - "start": 10851, - "end": 10854, + "start": 10618, + "end": 10621, "loc": { "start": { - "line": 287, + "line": 283, "column": 47 }, "end": { - "line": 287, + "line": 283, "column": 50 } } @@ -132689,15 +130027,15 @@ "postfix": false, "binop": null }, - "start": 10854, - "end": 10855, + "start": 10621, + "end": 10622, "loc": { "start": { - "line": 287, + "line": 283, "column": 50 }, "end": { - "line": 287, + "line": 283, "column": 51 } } @@ -132715,15 +130053,15 @@ "binop": null, "updateContext": null }, - "start": 10855, - "end": 10856, + "start": 10622, + "end": 10623, "loc": { "start": { - "line": 287, + "line": 283, "column": 51 }, "end": { - "line": 287, + "line": 283, "column": 52 } } @@ -132740,15 +130078,15 @@ "postfix": false, "binop": null }, - "start": 10873, - "end": 10874, + "start": 10640, + "end": 10641, "loc": { "start": { - "line": 288, + "line": 284, "column": 16 }, "end": { - "line": 288, + "line": 284, "column": 17 } } @@ -132768,15 +130106,15 @@ "updateContext": null }, "value": "else", - "start": 10875, - "end": 10879, + "start": 10642, + "end": 10646, "loc": { "start": { - "line": 288, + "line": 284, "column": 18 }, "end": { - "line": 288, + "line": 284, "column": 22 } } @@ -132793,15 +130131,15 @@ "postfix": false, "binop": null }, - "start": 10880, - "end": 10881, + "start": 10647, + "end": 10648, "loc": { "start": { - "line": 288, + "line": 284, "column": 23 }, "end": { - "line": 288, + "line": 284, "column": 24 } } @@ -132821,15 +130159,15 @@ "updateContext": null }, "value": "this", - "start": 10902, - "end": 10906, + "start": 10669, + "end": 10673, "loc": { "start": { - "line": 289, + "line": 285, "column": 20 }, "end": { - "line": 289, + "line": 285, "column": 24 } } @@ -132847,15 +130185,15 @@ "binop": null, "updateContext": null }, - "start": 10906, - "end": 10907, + "start": 10673, + "end": 10674, "loc": { "start": { - "line": 289, + "line": 285, "column": 24 }, "end": { - "line": 289, + "line": 285, "column": 25 } } @@ -132873,15 +130211,15 @@ "binop": null }, "value": "log", - "start": 10907, - "end": 10910, + "start": 10674, + "end": 10677, "loc": { "start": { - "line": 289, + "line": 285, "column": 25 }, "end": { - "line": 289, + "line": 285, "column": 28 } } @@ -132898,15 +130236,15 @@ "postfix": false, "binop": null }, - "start": 10910, - "end": 10911, + "start": 10677, + "end": 10678, "loc": { "start": { - "line": 289, + "line": 285, "column": 28 }, "end": { - "line": 289, + "line": 285, "column": 29 } } @@ -132925,15 +130263,15 @@ "updateContext": null }, "value": "Loading element: ", - "start": 10911, - "end": 10930, + "start": 10678, + "end": 10697, "loc": { "start": { - "line": 289, + "line": 285, "column": 29 }, "end": { - "line": 289, + "line": 285, "column": 48 } } @@ -132952,15 +130290,15 @@ "updateContext": null }, "value": "+", - "start": 10931, - "end": 10932, + "start": 10698, + "end": 10699, "loc": { "start": { - "line": 289, + "line": 285, "column": 49 }, "end": { - "line": 289, + "line": 285, "column": 50 } } @@ -132978,15 +130316,15 @@ "binop": null }, "value": "url", - "start": 10933, - "end": 10936, + "start": 10700, + "end": 10703, "loc": { "start": { - "line": 289, + "line": 285, "column": 51 }, "end": { - "line": 289, + "line": 285, "column": 54 } } @@ -133003,15 +130341,15 @@ "postfix": false, "binop": null }, - "start": 10936, - "end": 10937, + "start": 10703, + "end": 10704, "loc": { "start": { - "line": 289, + "line": 285, "column": 54 }, "end": { - "line": 289, + "line": 285, "column": 55 } } @@ -133029,15 +130367,15 @@ "binop": null, "updateContext": null }, - "start": 10937, - "end": 10938, + "start": 10704, + "end": 10705, "loc": { "start": { - "line": 289, + "line": 285, "column": 55 }, "end": { - "line": 289, + "line": 285, "column": 56 } } @@ -133054,15 +130392,15 @@ "postfix": false, "binop": null }, - "start": 10955, - "end": 10956, + "start": 10722, + "end": 10723, "loc": { "start": { - "line": 290, + "line": 286, "column": 16 }, "end": { - "line": 290, + "line": 286, "column": 17 } } @@ -133082,15 +130420,15 @@ "updateContext": null }, "value": "this", - "start": 10973, - "end": 10977, + "start": 10740, + "end": 10744, "loc": { "start": { - "line": 291, + "line": 287, "column": 16 }, "end": { - "line": 291, + "line": 287, "column": 20 } } @@ -133108,15 +130446,15 @@ "binop": null, "updateContext": null }, - "start": 10977, - "end": 10978, + "start": 10744, + "end": 10745, "loc": { "start": { - "line": 291, + "line": 287, "column": 20 }, "end": { - "line": 291, + "line": 287, "column": 21 } } @@ -133134,15 +130472,15 @@ "binop": null }, "value": "surfer", - "start": 10978, - "end": 10984, + "start": 10745, + "end": 10751, "loc": { "start": { - "line": 291, + "line": 287, "column": 21 }, "end": { - "line": 291, + "line": 287, "column": 27 } } @@ -133160,15 +130498,15 @@ "binop": null, "updateContext": null }, - "start": 10984, - "end": 10985, + "start": 10751, + "end": 10752, "loc": { "start": { - "line": 291, + "line": 287, "column": 27 }, "end": { - "line": 291, + "line": 287, "column": 28 } } @@ -133186,15 +130524,15 @@ "binop": null }, "value": "load", - "start": 10985, - "end": 10989, + "start": 10752, + "end": 10756, "loc": { "start": { - "line": 291, + "line": 287, "column": 28 }, "end": { - "line": 291, + "line": 287, "column": 32 } } @@ -133211,15 +130549,15 @@ "postfix": false, "binop": null }, - "start": 10989, - "end": 10990, + "start": 10756, + "end": 10757, "loc": { "start": { - "line": 291, + "line": 287, "column": 32 }, "end": { - "line": 291, + "line": 287, "column": 33 } } @@ -133237,15 +130575,15 @@ "binop": null }, "value": "url", - "start": 10990, - "end": 10993, + "start": 10757, + "end": 10760, "loc": { "start": { - "line": 291, + "line": 287, "column": 33 }, "end": { - "line": 291, + "line": 287, "column": 36 } } @@ -133262,15 +130600,15 @@ "postfix": false, "binop": null }, - "start": 10993, - "end": 10994, + "start": 10760, + "end": 10761, "loc": { "start": { - "line": 291, + "line": 287, "column": 36 }, "end": { - "line": 291, + "line": 287, "column": 37 } } @@ -133288,15 +130626,15 @@ "binop": null, "updateContext": null }, - "start": 10994, - "end": 10995, + "start": 10761, + "end": 10762, "loc": { "start": { - "line": 291, + "line": 287, "column": 37 }, "end": { - "line": 291, + "line": 287, "column": 38 } } @@ -133313,15 +130651,15 @@ "postfix": false, "binop": null }, - "start": 11008, - "end": 11009, + "start": 10775, + "end": 10776, "loc": { "start": { - "line": 292, + "line": 288, "column": 12 }, "end": { - "line": 292, + "line": 288, "column": 13 } } @@ -133338,15 +130676,15 @@ "postfix": false, "binop": null }, - "start": 11018, - "end": 11019, + "start": 10785, + "end": 10786, "loc": { "start": { - "line": 293, + "line": 289, "column": 8 }, "end": { - "line": 293, + "line": 289, "column": 9 } } @@ -133363,15 +130701,15 @@ "postfix": false, "binop": null }, - "start": 11024, - "end": 11025, + "start": 10791, + "end": 10792, "loc": { "start": { - "line": 294, + "line": 290, "column": 4 }, "end": { - "line": 294, + "line": 290, "column": 5 } } @@ -133379,15 +130717,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": 11031, - "end": 11323, + "start": 10798, + "end": 11090, "loc": { "start": { - "line": 296, + "line": 292, "column": 4 }, "end": { - "line": 303, + "line": 299, "column": 7 } } @@ -133405,15 +130743,15 @@ "binop": null }, "value": "loadPeaks", - "start": 11328, - "end": 11337, + "start": 11095, + "end": 11104, "loc": { "start": { - "line": 304, + "line": 300, "column": 4 }, "end": { - "line": 304, + "line": 300, "column": 13 } } @@ -133430,15 +130768,15 @@ "postfix": false, "binop": null }, - "start": 11337, - "end": 11338, + "start": 11104, + "end": 11105, "loc": { "start": { - "line": 304, + "line": 300, "column": 13 }, "end": { - "line": 304, + "line": 300, "column": 14 } } @@ -133456,15 +130794,15 @@ "binop": null }, "value": "url", - "start": 11338, - "end": 11341, + "start": 11105, + "end": 11108, "loc": { "start": { - "line": 304, + "line": 300, "column": 14 }, "end": { - "line": 304, + "line": 300, "column": 17 } } @@ -133482,15 +130820,15 @@ "binop": null, "updateContext": null }, - "start": 11341, - "end": 11342, + "start": 11108, + "end": 11109, "loc": { "start": { - "line": 304, + "line": 300, "column": 17 }, "end": { - "line": 304, + "line": 300, "column": 18 } } @@ -133508,15 +130846,15 @@ "binop": null }, "value": "peaks", - "start": 11343, - "end": 11348, + "start": 11110, + "end": 11115, "loc": { "start": { - "line": 304, + "line": 300, "column": 19 }, "end": { - "line": 304, + "line": 300, "column": 24 } } @@ -133533,15 +130871,15 @@ "postfix": false, "binop": null }, - "start": 11348, - "end": 11349, + "start": 11115, + "end": 11116, "loc": { "start": { - "line": 304, + "line": 300, "column": 24 }, "end": { - "line": 304, + "line": 300, "column": 25 } } @@ -133558,15 +130896,15 @@ "postfix": false, "binop": null }, - "start": 11350, - "end": 11351, + "start": 11117, + "end": 11118, "loc": { "start": { - "line": 304, + "line": 300, "column": 26 }, "end": { - "line": 304, + "line": 300, "column": 27 } } @@ -133586,15 +130924,15 @@ "updateContext": null }, "value": "if", - "start": 11360, - "end": 11362, + "start": 11127, + "end": 11129, "loc": { "start": { - "line": 305, + "line": 301, "column": 8 }, "end": { - "line": 305, + "line": 301, "column": 10 } } @@ -133611,15 +130949,15 @@ "postfix": false, "binop": null }, - "start": 11363, - "end": 11364, + "start": 11130, + "end": 11131, "loc": { "start": { - "line": 305, + "line": 301, "column": 11 }, "end": { - "line": 305, + "line": 301, "column": 12 } } @@ -133637,15 +130975,15 @@ "binop": null }, "value": "Array", - "start": 11364, - "end": 11369, + "start": 11131, + "end": 11136, "loc": { "start": { - "line": 305, + "line": 301, "column": 12 }, "end": { - "line": 305, + "line": 301, "column": 17 } } @@ -133663,15 +131001,15 @@ "binop": null, "updateContext": null }, - "start": 11369, - "end": 11370, + "start": 11136, + "end": 11137, "loc": { "start": { - "line": 305, + "line": 301, "column": 17 }, "end": { - "line": 305, + "line": 301, "column": 18 } } @@ -133689,15 +131027,15 @@ "binop": null }, "value": "isArray", - "start": 11370, - "end": 11377, + "start": 11137, + "end": 11144, "loc": { "start": { - "line": 305, + "line": 301, "column": 18 }, "end": { - "line": 305, + "line": 301, "column": 25 } } @@ -133714,15 +131052,15 @@ "postfix": false, "binop": null }, - "start": 11377, - "end": 11378, + "start": 11144, + "end": 11145, "loc": { "start": { - "line": 305, + "line": 301, "column": 25 }, "end": { - "line": 305, + "line": 301, "column": 26 } } @@ -133740,15 +131078,15 @@ "binop": null }, "value": "peaks", - "start": 11378, - "end": 11383, + "start": 11145, + "end": 11150, "loc": { "start": { - "line": 305, + "line": 301, "column": 26 }, "end": { - "line": 305, + "line": 301, "column": 31 } } @@ -133765,15 +131103,15 @@ "postfix": false, "binop": null }, - "start": 11383, - "end": 11384, + "start": 11150, + "end": 11151, "loc": { "start": { - "line": 305, + "line": 301, "column": 31 }, "end": { - "line": 305, + "line": 301, "column": 32 } } @@ -133790,15 +131128,15 @@ "postfix": false, "binop": null }, - "start": 11384, - "end": 11385, + "start": 11151, + "end": 11152, "loc": { "start": { - "line": 305, + "line": 301, "column": 32 }, "end": { - "line": 305, + "line": 301, "column": 33 } } @@ -133815,15 +131153,15 @@ "postfix": false, "binop": null }, - "start": 11386, - "end": 11387, + "start": 11153, + "end": 11154, "loc": { "start": { - "line": 305, + "line": 301, "column": 34 }, "end": { - "line": 305, + "line": 301, "column": 35 } } @@ -133831,15 +131169,15 @@ { "type": "CommentLine", "value": " use supplied peaks data", - "start": 11400, - "end": 11426, + "start": 11167, + "end": 11193, "loc": { "start": { - "line": 306, + "line": 302, "column": 12 }, "end": { - "line": 306, + "line": 302, "column": 38 } } @@ -133859,15 +131197,15 @@ "updateContext": null }, "value": "this", - "start": 11439, - "end": 11443, + "start": 11206, + "end": 11210, "loc": { "start": { - "line": 307, + "line": 303, "column": 12 }, "end": { - "line": 307, + "line": 303, "column": 16 } } @@ -133885,15 +131223,15 @@ "binop": null, "updateContext": null }, - "start": 11443, - "end": 11444, + "start": 11210, + "end": 11211, "loc": { "start": { - "line": 307, + "line": 303, "column": 16 }, "end": { - "line": 307, + "line": 303, "column": 17 } } @@ -133911,15 +131249,15 @@ "binop": null }, "value": "log", - "start": 11444, - "end": 11447, + "start": 11211, + "end": 11214, "loc": { "start": { - "line": 307, + "line": 303, "column": 17 }, "end": { - "line": 307, + "line": 303, "column": 20 } } @@ -133936,15 +131274,15 @@ "postfix": false, "binop": null }, - "start": 11447, - "end": 11448, + "start": 11214, + "end": 11215, "loc": { "start": { - "line": 307, + "line": 303, "column": 20 }, "end": { - "line": 307, + "line": 303, "column": 21 } } @@ -133963,15 +131301,15 @@ "updateContext": null }, "value": "Loading URL with array of peaks: ", - "start": 11448, - "end": 11483, + "start": 11215, + "end": 11250, "loc": { "start": { - "line": 307, + "line": 303, "column": 21 }, "end": { - "line": 307, + "line": 303, "column": 56 } } @@ -133990,15 +131328,15 @@ "updateContext": null }, "value": "+", - "start": 11484, - "end": 11485, + "start": 11251, + "end": 11252, "loc": { "start": { - "line": 307, + "line": 303, "column": 57 }, "end": { - "line": 307, + "line": 303, "column": 58 } } @@ -134016,15 +131354,15 @@ "binop": null }, "value": "url", - "start": 11486, - "end": 11489, + "start": 11253, + "end": 11256, "loc": { "start": { - "line": 307, + "line": 303, "column": 59 }, "end": { - "line": 307, + "line": 303, "column": 62 } } @@ -134041,15 +131379,15 @@ "postfix": false, "binop": null }, - "start": 11489, - "end": 11490, + "start": 11256, + "end": 11257, "loc": { "start": { - "line": 307, + "line": 303, "column": 62 }, "end": { - "line": 307, + "line": 303, "column": 63 } } @@ -134067,15 +131405,15 @@ "binop": null, "updateContext": null }, - "start": 11490, - "end": 11491, + "start": 11257, + "end": 11258, "loc": { "start": { - "line": 307, + "line": 303, "column": 63 }, "end": { - "line": 307, + "line": 303, "column": 64 } } @@ -134095,15 +131433,15 @@ "updateContext": null }, "value": "this", - "start": 11504, - "end": 11508, + "start": 11271, + "end": 11275, "loc": { "start": { - "line": 308, + "line": 304, "column": 12 }, "end": { - "line": 308, + "line": 304, "column": 16 } } @@ -134121,15 +131459,15 @@ "binop": null, "updateContext": null }, - "start": 11508, - "end": 11509, + "start": 11275, + "end": 11276, "loc": { "start": { - "line": 308, + "line": 304, "column": 16 }, "end": { - "line": 308, + "line": 304, "column": 17 } } @@ -134147,15 +131485,15 @@ "binop": null }, "value": "surfer", - "start": 11509, - "end": 11515, + "start": 11276, + "end": 11282, "loc": { "start": { - "line": 308, + "line": 304, "column": 17 }, "end": { - "line": 308, + "line": 304, "column": 23 } } @@ -134173,15 +131511,15 @@ "binop": null, "updateContext": null }, - "start": 11515, - "end": 11516, + "start": 11282, + "end": 11283, "loc": { "start": { - "line": 308, + "line": 304, "column": 23 }, "end": { - "line": 308, + "line": 304, "column": 24 } } @@ -134199,15 +131537,15 @@ "binop": null }, "value": "load", - "start": 11516, - "end": 11520, + "start": 11283, + "end": 11287, "loc": { "start": { - "line": 308, + "line": 304, "column": 24 }, "end": { - "line": 308, + "line": 304, "column": 28 } } @@ -134224,15 +131562,15 @@ "postfix": false, "binop": null }, - "start": 11520, - "end": 11521, + "start": 11287, + "end": 11288, "loc": { "start": { - "line": 308, + "line": 304, "column": 28 }, "end": { - "line": 308, + "line": 304, "column": 29 } } @@ -134250,15 +131588,15 @@ "binop": null }, "value": "url", - "start": 11521, - "end": 11524, + "start": 11288, + "end": 11291, "loc": { "start": { - "line": 308, + "line": 304, "column": 29 }, "end": { - "line": 308, + "line": 304, "column": 32 } } @@ -134276,15 +131614,15 @@ "binop": null, "updateContext": null }, - "start": 11524, - "end": 11525, + "start": 11291, + "end": 11292, "loc": { "start": { - "line": 308, + "line": 304, "column": 32 }, "end": { - "line": 308, + "line": 304, "column": 33 } } @@ -134302,15 +131640,15 @@ "binop": null }, "value": "peaks", - "start": 11526, - "end": 11531, + "start": 11293, + "end": 11298, "loc": { "start": { - "line": 308, + "line": 304, "column": 34 }, "end": { - "line": 308, + "line": 304, "column": 39 } } @@ -134327,15 +131665,15 @@ "postfix": false, "binop": null }, - "start": 11531, - "end": 11532, + "start": 11298, + "end": 11299, "loc": { "start": { - "line": 308, + "line": 304, "column": 39 }, "end": { - "line": 308, + "line": 304, "column": 40 } } @@ -134353,15 +131691,15 @@ "binop": null, "updateContext": null }, - "start": 11532, - "end": 11533, + "start": 11299, + "end": 11300, "loc": { "start": { - "line": 308, + "line": 304, "column": 40 }, "end": { - "line": 308, + "line": 304, "column": 41 } } @@ -134378,15 +131716,15 @@ "postfix": false, "binop": null }, - "start": 11542, - "end": 11543, + "start": 11309, + "end": 11310, "loc": { "start": { - "line": 309, + "line": 305, "column": 8 }, "end": { - "line": 309, + "line": 305, "column": 9 } } @@ -134406,15 +131744,15 @@ "updateContext": null }, "value": "else", - "start": 11544, - "end": 11548, + "start": 11311, + "end": 11315, "loc": { "start": { - "line": 309, + "line": 305, "column": 10 }, "end": { - "line": 309, + "line": 305, "column": 14 } } @@ -134431,15 +131769,15 @@ "postfix": false, "binop": null }, - "start": 11549, - "end": 11550, + "start": 11316, + "end": 11317, "loc": { "start": { - "line": 309, + "line": 305, "column": 15 }, "end": { - "line": 309, + "line": 305, "column": 16 } } @@ -134447,15 +131785,15 @@ { "type": "CommentLine", "value": " load peak data from file", - "start": 11563, - "end": 11590, + "start": 11330, + "end": 11357, "loc": { "start": { - "line": 310, + "line": 306, "column": 12 }, "end": { - "line": 310, + "line": 306, "column": 39 } } @@ -134475,15 +131813,15 @@ "updateContext": null }, "value": "let", - "start": 11603, - "end": 11606, + "start": 11370, + "end": 11373, "loc": { "start": { - "line": 311, + "line": 307, "column": 12 }, "end": { - "line": 311, + "line": 307, "column": 15 } } @@ -134501,15 +131839,15 @@ "binop": null }, "value": "requestOptions", - "start": 11607, - "end": 11621, + "start": 11374, + "end": 11388, "loc": { "start": { - "line": 311, + "line": 307, "column": 16 }, "end": { - "line": 311, + "line": 307, "column": 30 } } @@ -134528,15 +131866,15 @@ "updateContext": null }, "value": "=", - "start": 11622, - "end": 11623, + "start": 11389, + "end": 11390, "loc": { "start": { - "line": 311, + "line": 307, "column": 31 }, "end": { - "line": 311, + "line": 307, "column": 32 } } @@ -134553,15 +131891,15 @@ "postfix": false, "binop": null }, - "start": 11624, - "end": 11625, + "start": 11391, + "end": 11392, "loc": { "start": { - "line": 311, + "line": 307, "column": 33 }, "end": { - "line": 311, + "line": 307, "column": 34 } } @@ -134579,15 +131917,15 @@ "binop": null }, "value": "url", - "start": 11642, - "end": 11645, + "start": 11409, + "end": 11412, "loc": { "start": { - "line": 312, + "line": 308, "column": 16 }, "end": { - "line": 312, + "line": 308, "column": 19 } } @@ -134605,15 +131943,15 @@ "binop": null, "updateContext": null }, - "start": 11645, - "end": 11646, + "start": 11412, + "end": 11413, "loc": { "start": { - "line": 312, + "line": 308, "column": 19 }, "end": { - "line": 312, + "line": 308, "column": 20 } } @@ -134631,15 +131969,15 @@ "binop": null }, "value": "peaks", - "start": 11647, - "end": 11652, + "start": 11414, + "end": 11419, "loc": { "start": { - "line": 312, + "line": 308, "column": 21 }, "end": { - "line": 312, + "line": 308, "column": 26 } } @@ -134657,15 +131995,15 @@ "binop": null, "updateContext": null }, - "start": 11652, - "end": 11653, + "start": 11419, + "end": 11420, "loc": { "start": { - "line": 312, + "line": 308, "column": 26 }, "end": { - "line": 312, + "line": 308, "column": 27 } } @@ -134683,15 +132021,15 @@ "binop": null }, "value": "responseType", - "start": 11670, - "end": 11682, + "start": 11437, + "end": 11449, "loc": { "start": { - "line": 313, + "line": 309, "column": 16 }, "end": { - "line": 313, + "line": 309, "column": 28 } } @@ -134709,15 +132047,15 @@ "binop": null, "updateContext": null }, - "start": 11682, - "end": 11683, + "start": 11449, + "end": 11450, "loc": { "start": { - "line": 313, + "line": 309, "column": 28 }, "end": { - "line": 313, + "line": 309, "column": 29 } } @@ -134736,15 +132074,15 @@ "updateContext": null }, "value": "json", - "start": 11684, - "end": 11690, + "start": 11451, + "end": 11457, "loc": { "start": { - "line": 313, + "line": 309, "column": 30 }, "end": { - "line": 313, + "line": 309, "column": 36 } } @@ -134761,15 +132099,15 @@ "postfix": false, "binop": null }, - "start": 11703, - "end": 11704, + "start": 11470, + "end": 11471, "loc": { "start": { - "line": 314, + "line": 310, "column": 12 }, "end": { - "line": 314, + "line": 310, "column": 13 } } @@ -134787,15 +132125,15 @@ "binop": null, "updateContext": null }, - "start": 11704, - "end": 11705, + "start": 11471, + "end": 11472, "loc": { "start": { - "line": 314, + "line": 310, "column": 13 }, "end": { - "line": 314, + "line": 310, "column": 14 } } @@ -134803,15 +132141,15 @@ { "type": "CommentLine", "value": " supply xhr options, if any", - "start": 11719, - "end": 11748, + "start": 11486, + "end": 11515, "loc": { "start": { - "line": 316, + "line": 312, "column": 12 }, "end": { - "line": 316, + "line": 312, "column": 41 } } @@ -134831,15 +132169,15 @@ "updateContext": null }, "value": "if", - "start": 11761, - "end": 11763, + "start": 11528, + "end": 11530, "loc": { "start": { - "line": 317, + "line": 313, "column": 12 }, "end": { - "line": 317, + "line": 313, "column": 14 } } @@ -134856,15 +132194,15 @@ "postfix": false, "binop": null }, - "start": 11764, - "end": 11765, + "start": 11531, + "end": 11532, "loc": { "start": { - "line": 317, + "line": 313, "column": 15 }, "end": { - "line": 317, + "line": 313, "column": 16 } } @@ -134884,15 +132222,15 @@ "updateContext": null }, "value": "this", - "start": 11765, - "end": 11769, + "start": 11532, + "end": 11536, "loc": { "start": { - "line": 317, + "line": 313, "column": 16 }, "end": { - "line": 317, + "line": 313, "column": 20 } } @@ -134910,15 +132248,15 @@ "binop": null, "updateContext": null }, - "start": 11769, - "end": 11770, + "start": 11536, + "end": 11537, "loc": { "start": { - "line": 317, + "line": 313, "column": 20 }, "end": { - "line": 317, + "line": 313, "column": 21 } } @@ -134936,15 +132274,15 @@ "binop": null }, "value": "player", - "start": 11770, - "end": 11776, + "start": 11537, + "end": 11543, "loc": { "start": { - "line": 317, + "line": 313, "column": 21 }, "end": { - "line": 317, + "line": 313, "column": 27 } } @@ -134962,15 +132300,15 @@ "binop": null, "updateContext": null }, - "start": 11776, - "end": 11777, + "start": 11543, + "end": 11544, "loc": { "start": { - "line": 317, + "line": 313, "column": 27 }, "end": { - "line": 317, + "line": 313, "column": 28 } } @@ -134988,15 +132326,15 @@ "binop": null }, "value": "options_", - "start": 11777, - "end": 11785, + "start": 11544, + "end": 11552, "loc": { "start": { - "line": 317, + "line": 313, "column": 28 }, "end": { - "line": 317, + "line": 313, "column": 36 } } @@ -135014,15 +132352,15 @@ "binop": null, "updateContext": null }, - "start": 11785, - "end": 11786, + "start": 11552, + "end": 11553, "loc": { "start": { - "line": 317, + "line": 313, "column": 36 }, "end": { - "line": 317, + "line": 313, "column": 37 } } @@ -135040,15 +132378,15 @@ "binop": null }, "value": "plugins", - "start": 11786, - "end": 11793, + "start": 11553, + "end": 11560, "loc": { "start": { - "line": 317, + "line": 313, "column": 37 }, "end": { - "line": 317, + "line": 313, "column": 44 } } @@ -135066,15 +132404,15 @@ "binop": null, "updateContext": null }, - "start": 11793, - "end": 11794, + "start": 11560, + "end": 11561, "loc": { "start": { - "line": 317, + "line": 313, "column": 44 }, "end": { - "line": 317, + "line": 313, "column": 45 } } @@ -135092,15 +132430,15 @@ "binop": null }, "value": "wavesurfer", - "start": 11794, - "end": 11804, + "start": 11561, + "end": 11571, "loc": { "start": { - "line": 317, + "line": 313, "column": 45 }, "end": { - "line": 317, + "line": 313, "column": 55 } } @@ -135118,15 +132456,15 @@ "binop": null, "updateContext": null }, - "start": 11804, - "end": 11805, + "start": 11571, + "end": 11572, "loc": { "start": { - "line": 317, + "line": 313, "column": 55 }, "end": { - "line": 317, + "line": 313, "column": 56 } } @@ -135144,15 +132482,15 @@ "binop": null }, "value": "xhr", - "start": 11805, - "end": 11808, + "start": 11572, + "end": 11575, "loc": { "start": { - "line": 317, + "line": 313, "column": 56 }, "end": { - "line": 317, + "line": 313, "column": 59 } } @@ -135171,15 +132509,15 @@ "updateContext": null }, "value": "!==", - "start": 11809, - "end": 11812, + "start": 11576, + "end": 11579, "loc": { "start": { - "line": 317, + "line": 313, "column": 60 }, "end": { - "line": 317, + "line": 313, "column": 63 } } @@ -135197,15 +132535,15 @@ "binop": null }, "value": "undefined", - "start": 11813, - "end": 11822, + "start": 11580, + "end": 11589, "loc": { "start": { - "line": 317, + "line": 313, "column": 64 }, "end": { - "line": 317, + "line": 313, "column": 73 } } @@ -135222,15 +132560,15 @@ "postfix": false, "binop": null }, - "start": 11822, - "end": 11823, + "start": 11589, + "end": 11590, "loc": { "start": { - "line": 317, + "line": 313, "column": 73 }, "end": { - "line": 317, + "line": 313, "column": 74 } } @@ -135247,15 +132585,15 @@ "postfix": false, "binop": null }, - "start": 11824, - "end": 11825, + "start": 11591, + "end": 11592, "loc": { "start": { - "line": 317, + "line": 313, "column": 75 }, "end": { - "line": 317, + "line": 313, "column": 76 } } @@ -135273,15 +132611,15 @@ "binop": null }, "value": "requestOptions", - "start": 11842, - "end": 11856, + "start": 11609, + "end": 11623, "loc": { "start": { - "line": 318, + "line": 314, "column": 16 }, "end": { - "line": 318, + "line": 314, "column": 30 } } @@ -135299,15 +132637,15 @@ "binop": null, "updateContext": null }, - "start": 11856, - "end": 11857, + "start": 11623, + "end": 11624, "loc": { "start": { - "line": 318, + "line": 314, "column": 30 }, "end": { - "line": 318, + "line": 314, "column": 31 } } @@ -135325,15 +132663,15 @@ "binop": null }, "value": "xhr", - "start": 11857, - "end": 11860, + "start": 11624, + "end": 11627, "loc": { "start": { - "line": 318, + "line": 314, "column": 31 }, "end": { - "line": 318, + "line": 314, "column": 34 } } @@ -135352,15 +132690,15 @@ "updateContext": null }, "value": "=", - "start": 11861, - "end": 11862, + "start": 11628, + "end": 11629, "loc": { "start": { - "line": 318, + "line": 314, "column": 35 }, "end": { - "line": 318, + "line": 314, "column": 36 } } @@ -135380,15 +132718,15 @@ "updateContext": null }, "value": "this", - "start": 11863, - "end": 11867, + "start": 11630, + "end": 11634, "loc": { "start": { - "line": 318, + "line": 314, "column": 37 }, "end": { - "line": 318, + "line": 314, "column": 41 } } @@ -135406,15 +132744,15 @@ "binop": null, "updateContext": null }, - "start": 11867, - "end": 11868, + "start": 11634, + "end": 11635, "loc": { "start": { - "line": 318, + "line": 314, "column": 41 }, "end": { - "line": 318, + "line": 314, "column": 42 } } @@ -135432,15 +132770,15 @@ "binop": null }, "value": "player", - "start": 11868, - "end": 11874, + "start": 11635, + "end": 11641, "loc": { "start": { - "line": 318, + "line": 314, "column": 42 }, "end": { - "line": 318, + "line": 314, "column": 48 } } @@ -135458,15 +132796,15 @@ "binop": null, "updateContext": null }, - "start": 11874, - "end": 11875, + "start": 11641, + "end": 11642, "loc": { "start": { - "line": 318, + "line": 314, "column": 48 }, "end": { - "line": 318, + "line": 314, "column": 49 } } @@ -135484,15 +132822,15 @@ "binop": null }, "value": "options_", - "start": 11875, - "end": 11883, + "start": 11642, + "end": 11650, "loc": { "start": { - "line": 318, + "line": 314, "column": 49 }, "end": { - "line": 318, + "line": 314, "column": 57 } } @@ -135510,15 +132848,15 @@ "binop": null, "updateContext": null }, - "start": 11883, - "end": 11884, + "start": 11650, + "end": 11651, "loc": { "start": { - "line": 318, + "line": 314, "column": 57 }, "end": { - "line": 318, + "line": 314, "column": 58 } } @@ -135536,15 +132874,15 @@ "binop": null }, "value": "plugins", - "start": 11884, - "end": 11891, + "start": 11651, + "end": 11658, "loc": { "start": { - "line": 318, + "line": 314, "column": 58 }, "end": { - "line": 318, + "line": 314, "column": 65 } } @@ -135562,15 +132900,15 @@ "binop": null, "updateContext": null }, - "start": 11891, - "end": 11892, + "start": 11658, + "end": 11659, "loc": { "start": { - "line": 318, + "line": 314, "column": 65 }, "end": { - "line": 318, + "line": 314, "column": 66 } } @@ -135588,15 +132926,15 @@ "binop": null }, "value": "wavesurfer", - "start": 11892, - "end": 11902, + "start": 11659, + "end": 11669, "loc": { "start": { - "line": 318, + "line": 314, "column": 66 }, "end": { - "line": 318, + "line": 314, "column": 76 } } @@ -135614,15 +132952,15 @@ "binop": null, "updateContext": null }, - "start": 11902, - "end": 11903, + "start": 11669, + "end": 11670, "loc": { "start": { - "line": 318, + "line": 314, "column": 76 }, "end": { - "line": 318, + "line": 314, "column": 77 } } @@ -135640,15 +132978,15 @@ "binop": null }, "value": "xhr", - "start": 11903, - "end": 11906, + "start": 11670, + "end": 11673, "loc": { "start": { - "line": 318, + "line": 314, "column": 77 }, "end": { - "line": 318, + "line": 314, "column": 80 } } @@ -135666,15 +133004,15 @@ "binop": null, "updateContext": null }, - "start": 11906, - "end": 11907, + "start": 11673, + "end": 11674, "loc": { "start": { - "line": 318, + "line": 314, "column": 80 }, "end": { - "line": 318, + "line": 314, "column": 81 } } @@ -135691,15 +133029,15 @@ "postfix": false, "binop": null }, - "start": 11920, - "end": 11921, + "start": 11687, + "end": 11688, "loc": { "start": { - "line": 319, + "line": 315, "column": 12 }, "end": { - "line": 319, + "line": 315, "column": 13 } } @@ -135719,15 +133057,15 @@ "updateContext": null }, "value": "let", - "start": 11934, - "end": 11937, + "start": 11701, + "end": 11704, "loc": { "start": { - "line": 320, + "line": 316, "column": 12 }, "end": { - "line": 320, + "line": 316, "column": 15 } } @@ -135745,15 +133083,15 @@ "binop": null }, "value": "request", - "start": 11938, - "end": 11945, + "start": 11705, + "end": 11712, "loc": { "start": { - "line": 320, + "line": 316, "column": 16 }, "end": { - "line": 320, + "line": 316, "column": 23 } } @@ -135772,15 +133110,15 @@ "updateContext": null }, "value": "=", - "start": 11946, - "end": 11947, + "start": 11713, + "end": 11714, "loc": { "start": { - "line": 320, + "line": 316, "column": 24 }, "end": { - "line": 320, + "line": 316, "column": 25 } } @@ -135798,15 +133136,15 @@ "binop": null }, "value": "WaveSurfer", - "start": 11948, - "end": 11958, + "start": 11715, + "end": 11725, "loc": { "start": { - "line": 320, + "line": 316, "column": 26 }, "end": { - "line": 320, + "line": 316, "column": 36 } } @@ -135824,15 +133162,15 @@ "binop": null, "updateContext": null }, - "start": 11958, - "end": 11959, + "start": 11725, + "end": 11726, "loc": { "start": { - "line": 320, + "line": 316, "column": 36 }, "end": { - "line": 320, + "line": 316, "column": 37 } } @@ -135850,15 +133188,15 @@ "binop": null }, "value": "util", - "start": 11959, - "end": 11963, + "start": 11726, + "end": 11730, "loc": { "start": { - "line": 320, + "line": 316, "column": 37 }, "end": { - "line": 320, + "line": 316, "column": 41 } } @@ -135876,15 +133214,15 @@ "binop": null, "updateContext": null }, - "start": 11963, - "end": 11964, + "start": 11730, + "end": 11731, "loc": { "start": { - "line": 320, + "line": 316, "column": 41 }, "end": { - "line": 320, + "line": 316, "column": 42 } } @@ -135902,15 +133240,15 @@ "binop": null }, "value": "fetchFile", - "start": 11964, - "end": 11973, + "start": 11731, + "end": 11740, "loc": { "start": { - "line": 320, + "line": 316, "column": 42 }, "end": { - "line": 320, + "line": 316, "column": 51 } } @@ -135927,15 +133265,15 @@ "postfix": false, "binop": null }, - "start": 11973, - "end": 11974, + "start": 11740, + "end": 11741, "loc": { "start": { - "line": 320, + "line": 316, "column": 51 }, "end": { - "line": 320, + "line": 316, "column": 52 } } @@ -135953,15 +133291,15 @@ "binop": null }, "value": "requestOptions", - "start": 11974, - "end": 11988, + "start": 11741, + "end": 11755, "loc": { "start": { - "line": 320, + "line": 316, "column": 52 }, "end": { - "line": 320, + "line": 316, "column": 66 } } @@ -135978,15 +133316,15 @@ "postfix": false, "binop": null }, - "start": 11988, - "end": 11989, + "start": 11755, + "end": 11756, "loc": { "start": { - "line": 320, + "line": 316, "column": 66 }, "end": { - "line": 320, + "line": 316, "column": 67 } } @@ -136004,15 +133342,15 @@ "binop": null, "updateContext": null }, - "start": 11989, - "end": 11990, + "start": 11756, + "end": 11757, "loc": { "start": { - "line": 320, + "line": 316, "column": 67 }, "end": { - "line": 320, + "line": 316, "column": 68 } } @@ -136030,15 +133368,15 @@ "binop": null }, "value": "request", - "start": 12004, - "end": 12011, + "start": 11771, + "end": 11778, "loc": { "start": { - "line": 322, + "line": 318, "column": 12 }, "end": { - "line": 322, + "line": 318, "column": 19 } } @@ -136056,15 +133394,15 @@ "binop": null, "updateContext": null }, - "start": 12011, - "end": 12012, + "start": 11778, + "end": 11779, "loc": { "start": { - "line": 322, + "line": 318, "column": 19 }, "end": { - "line": 322, + "line": 318, "column": 20 } } @@ -136082,15 +133420,15 @@ "binop": null }, "value": "once", - "start": 12012, - "end": 12016, + "start": 11779, + "end": 11783, "loc": { "start": { - "line": 322, + "line": 318, "column": 20 }, "end": { - "line": 322, + "line": 318, "column": 24 } } @@ -136107,15 +133445,15 @@ "postfix": false, "binop": null }, - "start": 12016, - "end": 12017, + "start": 11783, + "end": 11784, "loc": { "start": { - "line": 322, + "line": 318, "column": 24 }, "end": { - "line": 322, + "line": 318, "column": 25 } } @@ -136134,15 +133472,15 @@ "updateContext": null }, "value": "success", - "start": 12017, - "end": 12026, + "start": 11784, + "end": 11793, "loc": { "start": { - "line": 322, + "line": 318, "column": 25 }, "end": { - "line": 322, + "line": 318, "column": 34 } } @@ -136160,15 +133498,15 @@ "binop": null, "updateContext": null }, - "start": 12026, - "end": 12027, + "start": 11793, + "end": 11794, "loc": { "start": { - "line": 322, + "line": 318, "column": 34 }, "end": { - "line": 322, + "line": 318, "column": 35 } } @@ -136186,15 +133524,15 @@ "binop": null }, "value": "data", - "start": 12028, - "end": 12032, + "start": 11795, + "end": 11799, "loc": { "start": { - "line": 322, + "line": 318, "column": 36 }, "end": { - "line": 322, + "line": 318, "column": 40 } } @@ -136212,15 +133550,15 @@ "binop": null, "updateContext": null }, - "start": 12033, - "end": 12035, + "start": 11800, + "end": 11802, "loc": { "start": { - "line": 322, + "line": 318, "column": 41 }, "end": { - "line": 322, + "line": 318, "column": 43 } } @@ -136237,15 +133575,15 @@ "postfix": false, "binop": null }, - "start": 12036, - "end": 12037, + "start": 11803, + "end": 11804, "loc": { "start": { - "line": 322, + "line": 318, "column": 44 }, "end": { - "line": 322, + "line": 318, "column": 45 } } @@ -136265,15 +133603,15 @@ "updateContext": null }, "value": "this", - "start": 12054, - "end": 12058, + "start": 11821, + "end": 11825, "loc": { "start": { - "line": 323, + "line": 319, "column": 16 }, "end": { - "line": 323, + "line": 319, "column": 20 } } @@ -136291,15 +133629,15 @@ "binop": null, "updateContext": null }, - "start": 12058, - "end": 12059, + "start": 11825, + "end": 11826, "loc": { "start": { - "line": 323, + "line": 319, "column": 20 }, "end": { - "line": 323, + "line": 319, "column": 21 } } @@ -136317,15 +133655,15 @@ "binop": null }, "value": "log", - "start": 12059, - "end": 12062, + "start": 11826, + "end": 11829, "loc": { "start": { - "line": 323, + "line": 319, "column": 21 }, "end": { - "line": 323, + "line": 319, "column": 24 } } @@ -136342,15 +133680,15 @@ "postfix": false, "binop": null }, - "start": 12062, - "end": 12063, + "start": 11829, + "end": 11830, "loc": { "start": { - "line": 323, + "line": 319, "column": 24 }, "end": { - "line": 323, + "line": 319, "column": 25 } } @@ -136369,15 +133707,15 @@ "updateContext": null }, "value": "Loaded Peak Data URL: ", - "start": 12063, - "end": 12087, + "start": 11830, + "end": 11854, "loc": { "start": { - "line": 323, + "line": 319, "column": 25 }, "end": { - "line": 323, + "line": 319, "column": 49 } } @@ -136396,15 +133734,15 @@ "updateContext": null }, "value": "+", - "start": 12088, - "end": 12089, + "start": 11855, + "end": 11856, "loc": { "start": { - "line": 323, + "line": 319, "column": 50 }, "end": { - "line": 323, + "line": 319, "column": 51 } } @@ -136422,15 +133760,15 @@ "binop": null }, "value": "peaks", - "start": 12090, - "end": 12095, + "start": 11857, + "end": 11862, "loc": { "start": { - "line": 323, + "line": 319, "column": 52 }, "end": { - "line": 323, + "line": 319, "column": 57 } } @@ -136447,15 +133785,15 @@ "postfix": false, "binop": null }, - "start": 12095, - "end": 12096, + "start": 11862, + "end": 11863, "loc": { "start": { - "line": 323, + "line": 319, "column": 57 }, "end": { - "line": 323, + "line": 319, "column": 58 } } @@ -136473,15 +133811,15 @@ "binop": null, "updateContext": null }, - "start": 12096, - "end": 12097, + "start": 11863, + "end": 11864, "loc": { "start": { - "line": 323, + "line": 319, "column": 58 }, "end": { - "line": 323, + "line": 319, "column": 59 } } @@ -136489,15 +133827,15 @@ { "type": "CommentLine", "value": " check for data property containing peaks", - "start": 12114, - "end": 12157, + "start": 11881, + "end": 11924, "loc": { "start": { - "line": 324, + "line": 320, "column": 16 }, "end": { - "line": 324, + "line": 320, "column": 59 } } @@ -136517,15 +133855,15 @@ "updateContext": null }, "value": "if", - "start": 12174, - "end": 12176, + "start": 11941, + "end": 11943, "loc": { "start": { - "line": 325, + "line": 321, "column": 16 }, "end": { - "line": 325, + "line": 321, "column": 18 } } @@ -136542,15 +133880,15 @@ "postfix": false, "binop": null }, - "start": 12177, - "end": 12178, + "start": 11944, + "end": 11945, "loc": { "start": { - "line": 325, + "line": 321, "column": 19 }, "end": { - "line": 325, + "line": 321, "column": 20 } } @@ -136568,15 +133906,15 @@ "binop": null }, "value": "data", - "start": 12178, - "end": 12182, + "start": 11945, + "end": 11949, "loc": { "start": { - "line": 325, + "line": 321, "column": 20 }, "end": { - "line": 325, + "line": 321, "column": 24 } } @@ -136595,15 +133933,15 @@ "updateContext": null }, "value": "&&", - "start": 12183, - "end": 12185, + "start": 11950, + "end": 11952, "loc": { "start": { - "line": 325, + "line": 321, "column": 25 }, "end": { - "line": 325, + "line": 321, "column": 27 } } @@ -136621,15 +133959,15 @@ "binop": null }, "value": "data", - "start": 12186, - "end": 12190, + "start": 11953, + "end": 11957, "loc": { "start": { - "line": 325, + "line": 321, "column": 28 }, "end": { - "line": 325, + "line": 321, "column": 32 } } @@ -136647,15 +133985,15 @@ "binop": null, "updateContext": null }, - "start": 12190, - "end": 12191, + "start": 11957, + "end": 11958, "loc": { "start": { - "line": 325, + "line": 321, "column": 32 }, "end": { - "line": 325, + "line": 321, "column": 33 } } @@ -136673,15 +134011,15 @@ "binop": null }, "value": "data", - "start": 12191, - "end": 12195, + "start": 11958, + "end": 11962, "loc": { "start": { - "line": 325, + "line": 321, "column": 33 }, "end": { - "line": 325, + "line": 321, "column": 37 } } @@ -136698,15 +134036,15 @@ "postfix": false, "binop": null }, - "start": 12195, - "end": 12196, + "start": 11962, + "end": 11963, "loc": { "start": { - "line": 325, + "line": 321, "column": 37 }, "end": { - "line": 325, + "line": 321, "column": 38 } } @@ -136723,15 +134061,15 @@ "postfix": false, "binop": null }, - "start": 12197, - "end": 12198, + "start": 11964, + "end": 11965, "loc": { "start": { - "line": 325, + "line": 321, "column": 39 }, "end": { - "line": 325, + "line": 321, "column": 40 } } @@ -136751,15 +134089,15 @@ "updateContext": null }, "value": "this", - "start": 12219, - "end": 12223, + "start": 11986, + "end": 11990, "loc": { "start": { - "line": 326, + "line": 322, "column": 20 }, "end": { - "line": 326, + "line": 322, "column": 24 } } @@ -136777,15 +134115,15 @@ "binop": null, "updateContext": null }, - "start": 12223, - "end": 12224, + "start": 11990, + "end": 11991, "loc": { "start": { - "line": 326, + "line": 322, "column": 24 }, "end": { - "line": 326, + "line": 322, "column": 25 } } @@ -136803,15 +134141,15 @@ "binop": null }, "value": "surfer", - "start": 12224, - "end": 12230, + "start": 11991, + "end": 11997, "loc": { "start": { - "line": 326, + "line": 322, "column": 25 }, "end": { - "line": 326, + "line": 322, "column": 31 } } @@ -136829,15 +134167,15 @@ "binop": null, "updateContext": null }, - "start": 12230, - "end": 12231, + "start": 11997, + "end": 11998, "loc": { "start": { - "line": 326, + "line": 322, "column": 31 }, "end": { - "line": 326, + "line": 322, "column": 32 } } @@ -136855,15 +134193,15 @@ "binop": null }, "value": "load", - "start": 12231, - "end": 12235, + "start": 11998, + "end": 12002, "loc": { "start": { - "line": 326, + "line": 322, "column": 32 }, "end": { - "line": 326, + "line": 322, "column": 36 } } @@ -136880,15 +134218,15 @@ "postfix": false, "binop": null }, - "start": 12235, - "end": 12236, + "start": 12002, + "end": 12003, "loc": { "start": { - "line": 326, + "line": 322, "column": 36 }, "end": { - "line": 326, + "line": 322, "column": 37 } } @@ -136906,15 +134244,15 @@ "binop": null }, "value": "url", - "start": 12236, - "end": 12239, + "start": 12003, + "end": 12006, "loc": { "start": { - "line": 326, + "line": 322, "column": 37 }, "end": { - "line": 326, + "line": 322, "column": 40 } } @@ -136932,15 +134270,15 @@ "binop": null, "updateContext": null }, - "start": 12239, - "end": 12240, + "start": 12006, + "end": 12007, "loc": { "start": { - "line": 326, + "line": 322, "column": 40 }, "end": { - "line": 326, + "line": 322, "column": 41 } } @@ -136958,15 +134296,15 @@ "binop": null }, "value": "data", - "start": 12241, - "end": 12245, + "start": 12008, + "end": 12012, "loc": { "start": { - "line": 326, + "line": 322, "column": 42 }, "end": { - "line": 326, + "line": 322, "column": 46 } } @@ -136984,15 +134322,15 @@ "binop": null, "updateContext": null }, - "start": 12245, - "end": 12246, + "start": 12012, + "end": 12013, "loc": { "start": { - "line": 326, + "line": 322, "column": 46 }, "end": { - "line": 326, + "line": 322, "column": 47 } } @@ -137010,15 +134348,15 @@ "binop": null }, "value": "data", - "start": 12246, - "end": 12250, + "start": 12013, + "end": 12017, "loc": { "start": { - "line": 326, + "line": 322, "column": 47 }, "end": { - "line": 326, + "line": 322, "column": 51 } } @@ -137035,15 +134373,15 @@ "postfix": false, "binop": null }, - "start": 12250, - "end": 12251, + "start": 12017, + "end": 12018, "loc": { "start": { - "line": 326, + "line": 322, "column": 51 }, "end": { - "line": 326, + "line": 322, "column": 52 } } @@ -137061,15 +134399,15 @@ "binop": null, "updateContext": null }, - "start": 12251, - "end": 12252, + "start": 12018, + "end": 12019, "loc": { "start": { - "line": 326, + "line": 322, "column": 52 }, "end": { - "line": 326, + "line": 322, "column": 53 } } @@ -137086,15 +134424,15 @@ "postfix": false, "binop": null }, - "start": 12269, - "end": 12270, + "start": 12036, + "end": 12037, "loc": { "start": { - "line": 327, + "line": 323, "column": 16 }, "end": { - "line": 327, + "line": 323, "column": 17 } } @@ -137114,15 +134452,15 @@ "updateContext": null }, "value": "else", - "start": 12271, - "end": 12275, + "start": 12038, + "end": 12042, "loc": { "start": { - "line": 327, + "line": 323, "column": 18 }, "end": { - "line": 327, + "line": 323, "column": 22 } } @@ -137139,15 +134477,15 @@ "postfix": false, "binop": null }, - "start": 12276, - "end": 12277, + "start": 12043, + "end": 12044, "loc": { "start": { - "line": 327, + "line": 323, "column": 23 }, "end": { - "line": 327, + "line": 323, "column": 24 } } @@ -137167,15 +134505,15 @@ "updateContext": null }, "value": "this", - "start": 12298, - "end": 12302, + "start": 12065, + "end": 12069, "loc": { "start": { - "line": 328, + "line": 324, "column": 20 }, "end": { - "line": 328, + "line": 324, "column": 24 } } @@ -137193,15 +134531,15 @@ "binop": null, "updateContext": null }, - "start": 12302, - "end": 12303, + "start": 12069, + "end": 12070, "loc": { "start": { - "line": 328, + "line": 324, "column": 24 }, "end": { - "line": 328, + "line": 324, "column": 25 } } @@ -137219,15 +134557,15 @@ "binop": null }, "value": "player", - "start": 12303, - "end": 12309, + "start": 12070, + "end": 12076, "loc": { "start": { - "line": 328, + "line": 324, "column": 25 }, "end": { - "line": 328, + "line": 324, "column": 31 } } @@ -137245,15 +134583,15 @@ "binop": null, "updateContext": null }, - "start": 12309, - "end": 12310, + "start": 12076, + "end": 12077, "loc": { "start": { - "line": 328, + "line": 324, "column": 31 }, "end": { - "line": 328, + "line": 324, "column": 32 } } @@ -137271,15 +134609,15 @@ "binop": null }, "value": "trigger", - "start": 12310, - "end": 12317, + "start": 12077, + "end": 12084, "loc": { "start": { - "line": 328, + "line": 324, "column": 32 }, "end": { - "line": 328, + "line": 324, "column": 39 } } @@ -137296,15 +134634,15 @@ "postfix": false, "binop": null }, - "start": 12317, - "end": 12318, + "start": 12084, + "end": 12085, "loc": { "start": { - "line": 328, + "line": 324, "column": 39 }, "end": { - "line": 328, + "line": 324, "column": 40 } } @@ -137322,15 +134660,15 @@ "binop": null }, "value": "Event", - "start": 12318, - "end": 12323, + "start": 12085, + "end": 12090, "loc": { "start": { - "line": 328, + "line": 324, "column": 40 }, "end": { - "line": 328, + "line": 324, "column": 45 } } @@ -137348,15 +134686,15 @@ "binop": null, "updateContext": null }, - "start": 12323, - "end": 12324, + "start": 12090, + "end": 12091, "loc": { "start": { - "line": 328, + "line": 324, "column": 45 }, "end": { - "line": 328, + "line": 324, "column": 46 } } @@ -137374,15 +134712,15 @@ "binop": null }, "value": "ERROR", - "start": 12324, - "end": 12329, + "start": 12091, + "end": 12096, "loc": { "start": { - "line": 328, + "line": 324, "column": 46 }, "end": { - "line": 328, + "line": 324, "column": 51 } } @@ -137400,15 +134738,15 @@ "binop": null, "updateContext": null }, - "start": 12329, - "end": 12330, + "start": 12096, + "end": 12097, "loc": { "start": { - "line": 328, + "line": 324, "column": 51 }, "end": { - "line": 328, + "line": 324, "column": 52 } } @@ -137427,15 +134765,15 @@ "updateContext": null }, "value": "Could not load peaks data from ", - "start": 12355, - "end": 12388, + "start": 12122, + "end": 12155, "loc": { "start": { - "line": 329, + "line": 325, "column": 24 }, "end": { - "line": 329, + "line": 325, "column": 57 } } @@ -137454,15 +134792,15 @@ "updateContext": null }, "value": "+", - "start": 12389, - "end": 12390, + "start": 12156, + "end": 12157, "loc": { "start": { - "line": 329, + "line": 325, "column": 58 }, "end": { - "line": 329, + "line": 325, "column": 59 } } @@ -137480,15 +134818,15 @@ "binop": null }, "value": "peaks", - "start": 12391, - "end": 12396, + "start": 12158, + "end": 12163, "loc": { "start": { - "line": 329, + "line": 325, "column": 60 }, "end": { - "line": 329, + "line": 325, "column": 65 } } @@ -137505,15 +134843,15 @@ "postfix": false, "binop": null }, - "start": 12396, - "end": 12397, + "start": 12163, + "end": 12164, "loc": { "start": { - "line": 329, + "line": 325, "column": 65 }, "end": { - "line": 329, + "line": 325, "column": 66 } } @@ -137531,15 +134869,15 @@ "binop": null, "updateContext": null }, - "start": 12397, - "end": 12398, + "start": 12164, + "end": 12165, "loc": { "start": { - "line": 329, + "line": 325, "column": 66 }, "end": { - "line": 329, + "line": 325, "column": 67 } } @@ -137559,15 +134897,15 @@ "updateContext": null }, "value": "this", - "start": 12419, - "end": 12423, + "start": 12186, + "end": 12190, "loc": { "start": { - "line": 330, + "line": 326, "column": 20 }, "end": { - "line": 330, + "line": 326, "column": 24 } } @@ -137585,15 +134923,15 @@ "binop": null, "updateContext": null }, - "start": 12423, - "end": 12424, + "start": 12190, + "end": 12191, "loc": { "start": { - "line": 330, + "line": 326, "column": 24 }, "end": { - "line": 330, + "line": 326, "column": 25 } } @@ -137611,15 +134949,15 @@ "binop": null }, "value": "log", - "start": 12424, - "end": 12427, + "start": 12191, + "end": 12194, "loc": { "start": { - "line": 330, + "line": 326, "column": 25 }, "end": { - "line": 330, + "line": 326, "column": 28 } } @@ -137636,15 +134974,15 @@ "postfix": false, "binop": null }, - "start": 12427, - "end": 12428, + "start": 12194, + "end": 12195, "loc": { "start": { - "line": 330, + "line": 326, "column": 28 }, "end": { - "line": 330, + "line": 326, "column": 29 } } @@ -137662,15 +135000,15 @@ "binop": null }, "value": "err", - "start": 12428, - "end": 12431, + "start": 12195, + "end": 12198, "loc": { "start": { - "line": 330, + "line": 326, "column": 29 }, "end": { - "line": 330, + "line": 326, "column": 32 } } @@ -137688,15 +135026,15 @@ "binop": null, "updateContext": null }, - "start": 12431, - "end": 12432, + "start": 12198, + "end": 12199, "loc": { "start": { - "line": 330, + "line": 326, "column": 32 }, "end": { - "line": 330, + "line": 326, "column": 33 } } @@ -137715,15 +135053,15 @@ "updateContext": null }, "value": "error", - "start": 12433, - "end": 12440, + "start": 12200, + "end": 12207, "loc": { "start": { - "line": 330, + "line": 326, "column": 34 }, "end": { - "line": 330, + "line": 326, "column": 41 } } @@ -137740,15 +135078,15 @@ "postfix": false, "binop": null }, - "start": 12440, - "end": 12441, + "start": 12207, + "end": 12208, "loc": { "start": { - "line": 330, + "line": 326, "column": 41 }, "end": { - "line": 330, + "line": 326, "column": 42 } } @@ -137766,15 +135104,15 @@ "binop": null, "updateContext": null }, - "start": 12441, - "end": 12442, + "start": 12208, + "end": 12209, "loc": { "start": { - "line": 330, + "line": 326, "column": 42 }, "end": { - "line": 330, + "line": 326, "column": 43 } } @@ -137791,15 +135129,15 @@ "postfix": false, "binop": null }, - "start": 12459, - "end": 12460, + "start": 12226, + "end": 12227, "loc": { "start": { - "line": 331, + "line": 327, "column": 16 }, "end": { - "line": 331, + "line": 327, "column": 17 } } @@ -137816,15 +135154,15 @@ "postfix": false, "binop": null }, - "start": 12473, - "end": 12474, + "start": 12240, + "end": 12241, "loc": { "start": { - "line": 332, + "line": 328, "column": 12 }, "end": { - "line": 332, + "line": 328, "column": 13 } } @@ -137841,15 +135179,15 @@ "postfix": false, "binop": null }, - "start": 12474, - "end": 12475, + "start": 12241, + "end": 12242, "loc": { "start": { - "line": 332, + "line": 328, "column": 13 }, "end": { - "line": 332, + "line": 328, "column": 14 } } @@ -137867,15 +135205,15 @@ "binop": null, "updateContext": null }, - "start": 12475, - "end": 12476, + "start": 12242, + "end": 12243, "loc": { "start": { - "line": 332, + "line": 328, "column": 14 }, "end": { - "line": 332, + "line": 328, "column": 15 } } @@ -137893,15 +135231,15 @@ "binop": null }, "value": "request", - "start": 12489, - "end": 12496, + "start": 12256, + "end": 12263, "loc": { "start": { - "line": 333, + "line": 329, "column": 12 }, "end": { - "line": 333, + "line": 329, "column": 19 } } @@ -137919,15 +135257,15 @@ "binop": null, "updateContext": null }, - "start": 12496, - "end": 12497, + "start": 12263, + "end": 12264, "loc": { "start": { - "line": 333, + "line": 329, "column": 19 }, "end": { - "line": 333, + "line": 329, "column": 20 } } @@ -137945,15 +135283,15 @@ "binop": null }, "value": "once", - "start": 12497, - "end": 12501, + "start": 12264, + "end": 12268, "loc": { "start": { - "line": 333, + "line": 329, "column": 20 }, "end": { - "line": 333, + "line": 329, "column": 24 } } @@ -137970,15 +135308,15 @@ "postfix": false, "binop": null }, - "start": 12501, - "end": 12502, + "start": 12268, + "end": 12269, "loc": { "start": { - "line": 333, + "line": 329, "column": 24 }, "end": { - "line": 333, + "line": 329, "column": 25 } } @@ -137997,15 +135335,15 @@ "updateContext": null }, "value": "error", - "start": 12502, - "end": 12509, + "start": 12269, + "end": 12276, "loc": { "start": { - "line": 333, + "line": 329, "column": 25 }, "end": { - "line": 333, + "line": 329, "column": 32 } } @@ -138023,15 +135361,15 @@ "binop": null, "updateContext": null }, - "start": 12509, - "end": 12510, + "start": 12276, + "end": 12277, "loc": { "start": { - "line": 333, + "line": 329, "column": 32 }, "end": { - "line": 333, + "line": 329, "column": 33 } } @@ -138049,15 +135387,15 @@ "binop": null }, "value": "e", - "start": 12511, - "end": 12512, + "start": 12278, + "end": 12279, "loc": { "start": { - "line": 333, + "line": 329, "column": 34 }, "end": { - "line": 333, + "line": 329, "column": 35 } } @@ -138075,15 +135413,15 @@ "binop": null, "updateContext": null }, - "start": 12513, - "end": 12515, + "start": 12280, + "end": 12282, "loc": { "start": { - "line": 333, + "line": 329, "column": 36 }, "end": { - "line": 333, + "line": 329, "column": 38 } } @@ -138100,15 +135438,15 @@ "postfix": false, "binop": null }, - "start": 12516, - "end": 12517, + "start": 12283, + "end": 12284, "loc": { "start": { - "line": 333, + "line": 329, "column": 39 }, "end": { - "line": 333, + "line": 329, "column": 40 } } @@ -138128,15 +135466,15 @@ "updateContext": null }, "value": "this", - "start": 12534, - "end": 12538, + "start": 12301, + "end": 12305, "loc": { "start": { - "line": 334, + "line": 330, "column": 16 }, "end": { - "line": 334, + "line": 330, "column": 20 } } @@ -138154,15 +135492,15 @@ "binop": null, "updateContext": null }, - "start": 12538, - "end": 12539, + "start": 12305, + "end": 12306, "loc": { "start": { - "line": 334, + "line": 330, "column": 20 }, "end": { - "line": 334, + "line": 330, "column": 21 } } @@ -138180,15 +135518,15 @@ "binop": null }, "value": "player", - "start": 12539, - "end": 12545, + "start": 12306, + "end": 12312, "loc": { "start": { - "line": 334, + "line": 330, "column": 21 }, "end": { - "line": 334, + "line": 330, "column": 27 } } @@ -138206,15 +135544,15 @@ "binop": null, "updateContext": null }, - "start": 12545, - "end": 12546, + "start": 12312, + "end": 12313, "loc": { "start": { - "line": 334, + "line": 330, "column": 27 }, "end": { - "line": 334, + "line": 330, "column": 28 } } @@ -138232,15 +135570,15 @@ "binop": null }, "value": "trigger", - "start": 12546, - "end": 12553, + "start": 12313, + "end": 12320, "loc": { "start": { - "line": 334, + "line": 330, "column": 28 }, "end": { - "line": 334, + "line": 330, "column": 35 } } @@ -138257,15 +135595,15 @@ "postfix": false, "binop": null }, - "start": 12553, - "end": 12554, + "start": 12320, + "end": 12321, "loc": { "start": { - "line": 334, + "line": 330, "column": 35 }, "end": { - "line": 334, + "line": 330, "column": 36 } } @@ -138283,15 +135621,15 @@ "binop": null }, "value": "Event", - "start": 12554, - "end": 12559, + "start": 12321, + "end": 12326, "loc": { "start": { - "line": 334, + "line": 330, "column": 36 }, "end": { - "line": 334, + "line": 330, "column": 41 } } @@ -138309,15 +135647,15 @@ "binop": null, "updateContext": null }, - "start": 12559, - "end": 12560, + "start": 12326, + "end": 12327, "loc": { "start": { - "line": 334, + "line": 330, "column": 41 }, "end": { - "line": 334, + "line": 330, "column": 42 } } @@ -138335,15 +135673,15 @@ "binop": null }, "value": "ERROR", - "start": 12560, - "end": 12565, + "start": 12327, + "end": 12332, "loc": { "start": { - "line": 334, + "line": 330, "column": 42 }, "end": { - "line": 334, + "line": 330, "column": 47 } } @@ -138361,15 +135699,15 @@ "binop": null, "updateContext": null }, - "start": 12565, - "end": 12566, + "start": 12332, + "end": 12333, "loc": { "start": { - "line": 334, + "line": 330, "column": 47 }, "end": { - "line": 334, + "line": 330, "column": 48 } } @@ -138388,15 +135726,15 @@ "updateContext": null }, "value": "Unable to retrieve peak data from ", - "start": 12587, - "end": 12623, + "start": 12354, + "end": 12390, "loc": { "start": { - "line": 335, + "line": 331, "column": 20 }, "end": { - "line": 335, + "line": 331, "column": 56 } } @@ -138415,15 +135753,15 @@ "updateContext": null }, "value": "+", - "start": 12624, - "end": 12625, + "start": 12391, + "end": 12392, "loc": { "start": { - "line": 335, + "line": 331, "column": 57 }, "end": { - "line": 335, + "line": 331, "column": 58 } } @@ -138441,15 +135779,15 @@ "binop": null }, "value": "peaks", - "start": 12626, - "end": 12631, + "start": 12393, + "end": 12398, "loc": { "start": { - "line": 335, + "line": 331, "column": 59 }, "end": { - "line": 335, + "line": 331, "column": 64 } } @@ -138468,15 +135806,15 @@ "updateContext": null }, "value": "+", - "start": 12632, - "end": 12633, + "start": 12399, + "end": 12400, "loc": { "start": { - "line": 335, + "line": 331, "column": 65 }, "end": { - "line": 335, + "line": 331, "column": 66 } } @@ -138495,15 +135833,15 @@ "updateContext": null }, "value": ". Status code: ", - "start": 12654, - "end": 12671, + "start": 12421, + "end": 12438, "loc": { "start": { - "line": 336, + "line": 332, "column": 20 }, "end": { - "line": 336, + "line": 332, "column": 37 } } @@ -138522,15 +135860,15 @@ "updateContext": null }, "value": "+", - "start": 12672, - "end": 12673, + "start": 12439, + "end": 12440, "loc": { "start": { - "line": 336, + "line": 332, "column": 38 }, "end": { - "line": 336, + "line": 332, "column": 39 } } @@ -138548,15 +135886,15 @@ "binop": null }, "value": "request", - "start": 12674, - "end": 12681, + "start": 12441, + "end": 12448, "loc": { "start": { - "line": 336, + "line": 332, "column": 40 }, "end": { - "line": 336, + "line": 332, "column": 47 } } @@ -138574,15 +135912,15 @@ "binop": null, "updateContext": null }, - "start": 12681, - "end": 12682, + "start": 12448, + "end": 12449, "loc": { "start": { - "line": 336, + "line": 332, "column": 47 }, "end": { - "line": 336, + "line": 332, "column": 48 } } @@ -138600,15 +135938,15 @@ "binop": null }, "value": "response", - "start": 12682, - "end": 12690, + "start": 12449, + "end": 12457, "loc": { "start": { - "line": 336, + "line": 332, "column": 48 }, "end": { - "line": 336, + "line": 332, "column": 56 } } @@ -138626,15 +135964,15 @@ "binop": null, "updateContext": null }, - "start": 12690, - "end": 12691, + "start": 12457, + "end": 12458, "loc": { "start": { - "line": 336, + "line": 332, "column": 56 }, "end": { - "line": 336, + "line": 332, "column": 57 } } @@ -138652,15 +135990,15 @@ "binop": null }, "value": "status", - "start": 12691, - "end": 12697, + "start": 12458, + "end": 12464, "loc": { "start": { - "line": 336, + "line": 332, "column": 57 }, "end": { - "line": 336, + "line": 332, "column": 63 } } @@ -138677,15 +136015,15 @@ "postfix": false, "binop": null }, - "start": 12697, - "end": 12698, + "start": 12464, + "end": 12465, "loc": { "start": { - "line": 336, + "line": 332, "column": 63 }, "end": { - "line": 336, + "line": 332, "column": 64 } } @@ -138703,15 +136041,15 @@ "binop": null, "updateContext": null }, - "start": 12698, - "end": 12699, + "start": 12465, + "end": 12466, "loc": { "start": { - "line": 336, + "line": 332, "column": 64 }, "end": { - "line": 336, + "line": 332, "column": 65 } } @@ -138728,15 +136066,15 @@ "postfix": false, "binop": null }, - "start": 12712, - "end": 12713, + "start": 12479, + "end": 12480, "loc": { "start": { - "line": 337, + "line": 333, "column": 12 }, "end": { - "line": 337, + "line": 333, "column": 13 } } @@ -138753,15 +136091,15 @@ "postfix": false, "binop": null }, - "start": 12713, - "end": 12714, + "start": 12480, + "end": 12481, "loc": { "start": { - "line": 337, + "line": 333, "column": 13 }, "end": { - "line": 337, + "line": 333, "column": 14 } } @@ -138779,15 +136117,15 @@ "binop": null, "updateContext": null }, - "start": 12714, - "end": 12715, + "start": 12481, + "end": 12482, "loc": { "start": { - "line": 337, + "line": 333, "column": 14 }, "end": { - "line": 337, + "line": 333, "column": 15 } } @@ -138804,15 +136142,15 @@ "postfix": false, "binop": null }, - "start": 12724, - "end": 12725, + "start": 12491, + "end": 12492, "loc": { "start": { - "line": 338, + "line": 334, "column": 8 }, "end": { - "line": 338, + "line": 334, "column": 9 } } @@ -138829,15 +136167,15 @@ "postfix": false, "binop": null }, - "start": 12730, - "end": 12731, + "start": 12497, + "end": 12498, "loc": { "start": { - "line": 339, + "line": 335, "column": 4 }, "end": { - "line": 339, + "line": 335, "column": 5 } } @@ -138845,15 +136183,15 @@ { "type": "CommentBlock", "value": "*\n * Start/resume playback or microphone.\n ", - "start": 12737, - "end": 12792, + "start": 12504, + "end": 12559, "loc": { "start": { - "line": 341, + "line": 337, "column": 4 }, "end": { - "line": 343, + "line": 339, "column": 7 } } @@ -138871,15 +136209,15 @@ "binop": null }, "value": "play", - "start": 12797, - "end": 12801, + "start": 12564, + "end": 12568, "loc": { "start": { - "line": 344, + "line": 340, "column": 4 }, "end": { - "line": 344, + "line": 340, "column": 8 } } @@ -138896,15 +136234,15 @@ "postfix": false, "binop": null }, - "start": 12801, - "end": 12802, + "start": 12568, + "end": 12569, "loc": { "start": { - "line": 344, + "line": 340, "column": 8 }, "end": { - "line": 344, + "line": 340, "column": 9 } } @@ -138921,15 +136259,15 @@ "postfix": false, "binop": null }, - "start": 12802, - "end": 12803, + "start": 12569, + "end": 12570, "loc": { "start": { - "line": 344, + "line": 340, "column": 9 }, "end": { - "line": 344, + "line": 340, "column": 10 } } @@ -138946,15 +136284,15 @@ "postfix": false, "binop": null }, - "start": 12804, - "end": 12805, + "start": 12571, + "end": 12572, "loc": { "start": { - "line": 344, + "line": 340, "column": 11 }, "end": { - "line": 344, + "line": 340, "column": 12 } } @@ -138962,15 +136300,15 @@ { "type": "CommentLine", "value": " show pause button", - "start": 12814, - "end": 12834, + "start": 12581, + "end": 12601, "loc": { "start": { - "line": 345, + "line": 341, "column": 8 }, "end": { - "line": 345, + "line": 341, "column": 28 } } @@ -138990,15 +136328,15 @@ "updateContext": null }, "value": "if", - "start": 12843, - "end": 12845, + "start": 12610, + "end": 12612, "loc": { "start": { - "line": 346, + "line": 342, "column": 8 }, "end": { - "line": 346, + "line": 342, "column": 10 } } @@ -139015,15 +136353,15 @@ "postfix": false, "binop": null }, - "start": 12846, - "end": 12847, + "start": 12613, + "end": 12614, "loc": { "start": { - "line": 346, + "line": 342, "column": 11 }, "end": { - "line": 346, + "line": 342, "column": 12 } } @@ -139043,15 +136381,15 @@ "updateContext": null }, "value": "this", - "start": 12847, - "end": 12851, + "start": 12614, + "end": 12618, "loc": { "start": { - "line": 346, + "line": 342, "column": 12 }, "end": { - "line": 346, + "line": 342, "column": 16 } } @@ -139069,15 +136407,15 @@ "binop": null, "updateContext": null }, - "start": 12851, - "end": 12852, + "start": 12618, + "end": 12619, "loc": { "start": { - "line": 346, + "line": 342, "column": 16 }, "end": { - "line": 346, + "line": 342, "column": 17 } } @@ -139095,15 +136433,15 @@ "binop": null }, "value": "player", - "start": 12852, - "end": 12858, + "start": 12619, + "end": 12625, "loc": { "start": { - "line": 346, + "line": 342, "column": 17 }, "end": { - "line": 346, + "line": 342, "column": 23 } } @@ -139121,15 +136459,15 @@ "binop": null, "updateContext": null }, - "start": 12858, - "end": 12859, + "start": 12625, + "end": 12626, "loc": { "start": { - "line": 346, + "line": 342, "column": 23 }, "end": { - "line": 346, + "line": 342, "column": 24 } } @@ -139147,15 +136485,15 @@ "binop": null }, "value": "controlBar", - "start": 12859, - "end": 12869, + "start": 12626, + "end": 12636, "loc": { "start": { - "line": 346, + "line": 342, "column": 24 }, "end": { - "line": 346, + "line": 342, "column": 34 } } @@ -139173,15 +136511,15 @@ "binop": null, "updateContext": null }, - "start": 12869, - "end": 12870, + "start": 12636, + "end": 12637, "loc": { "start": { - "line": 346, + "line": 342, "column": 34 }, "end": { - "line": 346, + "line": 342, "column": 35 } } @@ -139199,15 +136537,15 @@ "binop": null }, "value": "playToggle", - "start": 12870, - "end": 12880, + "start": 12637, + "end": 12647, "loc": { "start": { - "line": 346, + "line": 342, "column": 35 }, "end": { - "line": 346, + "line": 342, "column": 45 } } @@ -139226,15 +136564,15 @@ "updateContext": null }, "value": "!==", - "start": 12881, - "end": 12884, + "start": 12648, + "end": 12651, "loc": { "start": { - "line": 346, + "line": 342, "column": 46 }, "end": { - "line": 346, + "line": 342, "column": 49 } } @@ -139252,15 +136590,15 @@ "binop": null }, "value": "undefined", - "start": 12885, - "end": 12894, + "start": 12652, + "end": 12661, "loc": { "start": { - "line": 346, + "line": 342, "column": 50 }, "end": { - "line": 346, + "line": 342, "column": 59 } } @@ -139279,15 +136617,15 @@ "updateContext": null }, "value": "&&", - "start": 12895, - "end": 12897, + "start": 12662, + "end": 12664, "loc": { "start": { - "line": 346, + "line": 342, "column": 60 }, "end": { - "line": 346, + "line": 342, "column": 62 } } @@ -139307,15 +136645,15 @@ "updateContext": null }, "value": "this", - "start": 12910, - "end": 12914, + "start": 12677, + "end": 12681, "loc": { "start": { - "line": 347, + "line": 343, "column": 12 }, "end": { - "line": 347, + "line": 343, "column": 16 } } @@ -139333,15 +136671,15 @@ "binop": null, "updateContext": null }, - "start": 12914, - "end": 12915, + "start": 12681, + "end": 12682, "loc": { "start": { - "line": 347, + "line": 343, "column": 16 }, "end": { - "line": 347, + "line": 343, "column": 17 } } @@ -139359,15 +136697,15 @@ "binop": null }, "value": "player", - "start": 12915, - "end": 12921, + "start": 12682, + "end": 12688, "loc": { "start": { - "line": 347, + "line": 343, "column": 17 }, "end": { - "line": 347, + "line": 343, "column": 23 } } @@ -139385,15 +136723,15 @@ "binop": null, "updateContext": null }, - "start": 12921, - "end": 12922, + "start": 12688, + "end": 12689, "loc": { "start": { - "line": 347, + "line": 343, "column": 23 }, "end": { - "line": 347, + "line": 343, "column": 24 } } @@ -139411,15 +136749,15 @@ "binop": null }, "value": "controlBar", - "start": 12922, - "end": 12932, + "start": 12689, + "end": 12699, "loc": { "start": { - "line": 347, + "line": 343, "column": 24 }, "end": { - "line": 347, + "line": 343, "column": 34 } } @@ -139437,15 +136775,15 @@ "binop": null, "updateContext": null }, - "start": 12932, - "end": 12933, + "start": 12699, + "end": 12700, "loc": { "start": { - "line": 347, + "line": 343, "column": 34 }, "end": { - "line": 347, + "line": 343, "column": 35 } } @@ -139463,15 +136801,15 @@ "binop": null }, "value": "playToggle", - "start": 12933, - "end": 12943, + "start": 12700, + "end": 12710, "loc": { "start": { - "line": 347, + "line": 343, "column": 35 }, "end": { - "line": 347, + "line": 343, "column": 45 } } @@ -139489,15 +136827,15 @@ "binop": null, "updateContext": null }, - "start": 12943, - "end": 12944, + "start": 12710, + "end": 12711, "loc": { "start": { - "line": 347, + "line": 343, "column": 45 }, "end": { - "line": 347, + "line": 343, "column": 46 } } @@ -139515,15 +136853,15 @@ "binop": null }, "value": "contentEl", - "start": 12944, - "end": 12953, + "start": 12711, + "end": 12720, "loc": { "start": { - "line": 347, + "line": 343, "column": 46 }, "end": { - "line": 347, + "line": 343, "column": 55 } } @@ -139540,15 +136878,15 @@ "postfix": false, "binop": null }, - "start": 12953, - "end": 12954, + "start": 12720, + "end": 12721, "loc": { "start": { - "line": 347, + "line": 343, "column": 55 }, "end": { - "line": 347, + "line": 343, "column": 56 } } @@ -139565,15 +136903,15 @@ "postfix": false, "binop": null }, - "start": 12954, - "end": 12955, + "start": 12721, + "end": 12722, "loc": { "start": { - "line": 347, + "line": 343, "column": 56 }, "end": { - "line": 347, + "line": 343, "column": 57 } } @@ -139590,15 +136928,15 @@ "postfix": false, "binop": null }, - "start": 12955, - "end": 12956, + "start": 12722, + "end": 12723, "loc": { "start": { - "line": 347, + "line": 343, "column": 57 }, "end": { - "line": 347, + "line": 343, "column": 58 } } @@ -139615,15 +136953,15 @@ "postfix": false, "binop": null }, - "start": 12957, - "end": 12958, + "start": 12724, + "end": 12725, "loc": { "start": { - "line": 347, + "line": 343, "column": 59 }, "end": { - "line": 347, + "line": 343, "column": 60 } } @@ -139643,15 +136981,15 @@ "updateContext": null }, "value": "this", - "start": 12971, - "end": 12975, + "start": 12738, + "end": 12742, "loc": { "start": { - "line": 348, + "line": 344, "column": 12 }, "end": { - "line": 348, + "line": 344, "column": 16 } } @@ -139669,15 +137007,15 @@ "binop": null, "updateContext": null }, - "start": 12975, - "end": 12976, + "start": 12742, + "end": 12743, "loc": { "start": { - "line": 348, + "line": 344, "column": 16 }, "end": { - "line": 348, + "line": 344, "column": 17 } } @@ -139695,15 +137033,15 @@ "binop": null }, "value": "player", - "start": 12976, - "end": 12982, + "start": 12743, + "end": 12749, "loc": { "start": { - "line": 348, + "line": 344, "column": 17 }, "end": { - "line": 348, + "line": 344, "column": 23 } } @@ -139721,15 +137059,15 @@ "binop": null, "updateContext": null }, - "start": 12982, - "end": 12983, + "start": 12749, + "end": 12750, "loc": { "start": { - "line": 348, + "line": 344, "column": 23 }, "end": { - "line": 348, + "line": 344, "column": 24 } } @@ -139747,15 +137085,15 @@ "binop": null }, "value": "controlBar", - "start": 12983, - "end": 12993, + "start": 12750, + "end": 12760, "loc": { "start": { - "line": 348, + "line": 344, "column": 24 }, "end": { - "line": 348, + "line": 344, "column": 34 } } @@ -139773,15 +137111,15 @@ "binop": null, "updateContext": null }, - "start": 12993, - "end": 12994, + "start": 12760, + "end": 12761, "loc": { "start": { - "line": 348, + "line": 344, "column": 34 }, "end": { - "line": 348, + "line": 344, "column": 35 } } @@ -139799,15 +137137,15 @@ "binop": null }, "value": "playToggle", - "start": 12994, - "end": 13004, + "start": 12761, + "end": 12771, "loc": { "start": { - "line": 348, + "line": 344, "column": 35 }, "end": { - "line": 348, + "line": 344, "column": 45 } } @@ -139825,15 +137163,15 @@ "binop": null, "updateContext": null }, - "start": 13004, - "end": 13005, + "start": 12771, + "end": 12772, "loc": { "start": { - "line": 348, + "line": 344, "column": 45 }, "end": { - "line": 348, + "line": 344, "column": 46 } } @@ -139851,15 +137189,15 @@ "binop": null }, "value": "handlePlay", - "start": 13005, - "end": 13015, + "start": 12772, + "end": 12782, "loc": { "start": { - "line": 348, + "line": 344, "column": 46 }, "end": { - "line": 348, + "line": 344, "column": 56 } } @@ -139876,15 +137214,15 @@ "postfix": false, "binop": null }, - "start": 13015, - "end": 13016, + "start": 12782, + "end": 12783, "loc": { "start": { - "line": 348, + "line": 344, "column": 56 }, "end": { - "line": 348, + "line": 344, "column": 57 } } @@ -139901,15 +137239,15 @@ "postfix": false, "binop": null }, - "start": 13016, - "end": 13017, + "start": 12783, + "end": 12784, "loc": { "start": { - "line": 348, + "line": 344, "column": 57 }, "end": { - "line": 348, + "line": 344, "column": 58 } } @@ -139927,15 +137265,15 @@ "binop": null, "updateContext": null }, - "start": 13017, - "end": 13018, + "start": 12784, + "end": 12785, "loc": { "start": { - "line": 348, + "line": 344, "column": 58 }, "end": { - "line": 348, + "line": 344, "column": 59 } } @@ -139952,15 +137290,15 @@ "postfix": false, "binop": null }, - "start": 13027, - "end": 13028, + "start": 12794, + "end": 12795, "loc": { "start": { - "line": 349, + "line": 345, "column": 8 }, "end": { - "line": 349, + "line": 345, "column": 9 } } @@ -139980,15 +137318,15 @@ "updateContext": null }, "value": "if", - "start": 13038, - "end": 13040, + "start": 12805, + "end": 12807, "loc": { "start": { - "line": 351, + "line": 347, "column": 8 }, "end": { - "line": 351, + "line": 347, "column": 10 } } @@ -140005,15 +137343,15 @@ "postfix": false, "binop": null }, - "start": 13041, - "end": 13042, + "start": 12808, + "end": 12809, "loc": { "start": { - "line": 351, + "line": 347, "column": 11 }, "end": { - "line": 351, + "line": 347, "column": 12 } } @@ -140033,15 +137371,15 @@ "updateContext": null }, "value": "this", - "start": 13042, - "end": 13046, + "start": 12809, + "end": 12813, "loc": { "start": { - "line": 351, + "line": 347, "column": 12 }, "end": { - "line": 351, + "line": 347, "column": 16 } } @@ -140059,15 +137397,15 @@ "binop": null, "updateContext": null }, - "start": 13046, - "end": 13047, + "start": 12813, + "end": 12814, "loc": { "start": { - "line": 351, + "line": 347, "column": 16 }, "end": { - "line": 351, + "line": 347, "column": 17 } } @@ -140085,15 +137423,15 @@ "binop": null }, "value": "liveMode", - "start": 13047, - "end": 13055, + "start": 12814, + "end": 12822, "loc": { "start": { - "line": 351, + "line": 347, "column": 17 }, "end": { - "line": 351, + "line": 347, "column": 25 } } @@ -140110,15 +137448,15 @@ "postfix": false, "binop": null }, - "start": 13055, - "end": 13056, + "start": 12822, + "end": 12823, "loc": { "start": { - "line": 351, + "line": 347, "column": 25 }, "end": { - "line": 351, + "line": 347, "column": 26 } } @@ -140135,15 +137473,15 @@ "postfix": false, "binop": null }, - "start": 13057, - "end": 13058, + "start": 12824, + "end": 12825, "loc": { "start": { - "line": 351, + "line": 347, "column": 27 }, "end": { - "line": 351, + "line": 347, "column": 28 } } @@ -140151,15 +137489,15 @@ { "type": "CommentLine", "value": " start/resume microphone visualization", - "start": 13071, - "end": 13111, + "start": 12838, + "end": 12878, "loc": { "start": { - "line": 352, + "line": 348, "column": 12 }, "end": { - "line": 352, + "line": 348, "column": 52 } } @@ -140179,15 +137517,15 @@ "updateContext": null }, "value": "if", - "start": 13124, - "end": 13126, + "start": 12891, + "end": 12893, "loc": { "start": { - "line": 353, + "line": 349, "column": 12 }, "end": { - "line": 353, + "line": 349, "column": 14 } } @@ -140204,15 +137542,15 @@ "postfix": false, "binop": null }, - "start": 13127, - "end": 13128, + "start": 12894, + "end": 12895, "loc": { "start": { - "line": 353, + "line": 349, "column": 15 }, "end": { - "line": 353, + "line": 349, "column": 16 } } @@ -140231,15 +137569,15 @@ "updateContext": null }, "value": "!", - "start": 13128, - "end": 13129, + "start": 12895, + "end": 12896, "loc": { "start": { - "line": 353, + "line": 349, "column": 16 }, "end": { - "line": 353, + "line": 349, "column": 17 } } @@ -140259,15 +137597,15 @@ "updateContext": null }, "value": "this", - "start": 13129, - "end": 13133, + "start": 12896, + "end": 12900, "loc": { "start": { - "line": 353, + "line": 349, "column": 17 }, "end": { - "line": 353, + "line": 349, "column": 21 } } @@ -140285,15 +137623,15 @@ "binop": null, "updateContext": null }, - "start": 13133, - "end": 13134, + "start": 12900, + "end": 12901, "loc": { "start": { - "line": 353, + "line": 349, "column": 21 }, "end": { - "line": 353, + "line": 349, "column": 22 } } @@ -140311,15 +137649,15 @@ "binop": null }, "value": "surfer", - "start": 13134, - "end": 13140, + "start": 12901, + "end": 12907, "loc": { "start": { - "line": 353, + "line": 349, "column": 22 }, "end": { - "line": 353, + "line": 349, "column": 28 } } @@ -140337,15 +137675,15 @@ "binop": null, "updateContext": null }, - "start": 13140, - "end": 13141, + "start": 12907, + "end": 12908, "loc": { "start": { - "line": 353, + "line": 349, "column": 28 }, "end": { - "line": 353, + "line": 349, "column": 29 } } @@ -140363,15 +137701,15 @@ "binop": null }, "value": "microphone", - "start": 13141, - "end": 13151, + "start": 12908, + "end": 12918, "loc": { "start": { - "line": 353, + "line": 349, "column": 29 }, "end": { - "line": 353, + "line": 349, "column": 39 } } @@ -140389,15 +137727,15 @@ "binop": null, "updateContext": null }, - "start": 13151, - "end": 13152, + "start": 12918, + "end": 12919, "loc": { "start": { - "line": 353, + "line": 349, "column": 39 }, "end": { - "line": 353, + "line": 349, "column": 40 } } @@ -140415,15 +137753,15 @@ "binop": null }, "value": "active", - "start": 13152, - "end": 13158, + "start": 12919, + "end": 12925, "loc": { "start": { - "line": 353, + "line": 349, "column": 40 }, "end": { - "line": 353, + "line": 349, "column": 46 } } @@ -140440,15 +137778,15 @@ "postfix": false, "binop": null }, - "start": 13158, - "end": 13159, + "start": 12925, + "end": 12926, "loc": { "start": { - "line": 353, + "line": 349, "column": 46 }, "end": { - "line": 353, + "line": 349, "column": 47 } } @@ -140465,15 +137803,15 @@ "postfix": false, "binop": null }, - "start": 13172, - "end": 13173, + "start": 12939, + "end": 12940, "loc": { "start": { - "line": 354, + "line": 350, "column": 12 }, "end": { - "line": 354, + "line": 350, "column": 13 } } @@ -140493,15 +137831,15 @@ "updateContext": null }, "value": "this", - "start": 13190, - "end": 13194, + "start": 12957, + "end": 12961, "loc": { "start": { - "line": 355, + "line": 351, "column": 16 }, "end": { - "line": 355, + "line": 351, "column": 20 } } @@ -140519,15 +137857,15 @@ "binop": null, "updateContext": null }, - "start": 13194, - "end": 13195, + "start": 12961, + "end": 12962, "loc": { "start": { - "line": 355, + "line": 351, "column": 20 }, "end": { - "line": 355, + "line": 351, "column": 21 } } @@ -140545,15 +137883,15 @@ "binop": null }, "value": "log", - "start": 13195, - "end": 13198, + "start": 12962, + "end": 12965, "loc": { "start": { - "line": 355, + "line": 351, "column": 21 }, "end": { - "line": 355, + "line": 351, "column": 24 } } @@ -140570,15 +137908,15 @@ "postfix": false, "binop": null }, - "start": 13198, - "end": 13199, + "start": 12965, + "end": 12966, "loc": { "start": { - "line": 355, + "line": 351, "column": 24 }, "end": { - "line": 355, + "line": 351, "column": 25 } } @@ -140597,15 +137935,15 @@ "updateContext": null }, "value": "Start microphone", - "start": 13199, - "end": 13217, + "start": 12966, + "end": 12984, "loc": { "start": { - "line": 355, + "line": 351, "column": 25 }, "end": { - "line": 355, + "line": 351, "column": 43 } } @@ -140622,15 +137960,15 @@ "postfix": false, "binop": null }, - "start": 13217, - "end": 13218, + "start": 12984, + "end": 12985, "loc": { "start": { - "line": 355, + "line": 351, "column": 43 }, "end": { - "line": 355, + "line": 351, "column": 44 } } @@ -140648,15 +137986,15 @@ "binop": null, "updateContext": null }, - "start": 13218, - "end": 13219, + "start": 12985, + "end": 12986, "loc": { "start": { - "line": 355, + "line": 351, "column": 44 }, "end": { - "line": 355, + "line": 351, "column": 45 } } @@ -140676,15 +138014,15 @@ "updateContext": null }, "value": "this", - "start": 13236, - "end": 13240, + "start": 13003, + "end": 13007, "loc": { "start": { - "line": 356, + "line": 352, "column": 16 }, "end": { - "line": 356, + "line": 352, "column": 20 } } @@ -140702,15 +138040,15 @@ "binop": null, "updateContext": null }, - "start": 13240, - "end": 13241, + "start": 13007, + "end": 13008, "loc": { "start": { - "line": 356, + "line": 352, "column": 20 }, "end": { - "line": 356, + "line": 352, "column": 21 } } @@ -140728,15 +138066,15 @@ "binop": null }, "value": "surfer", - "start": 13241, - "end": 13247, + "start": 13008, + "end": 13014, "loc": { "start": { - "line": 356, + "line": 352, "column": 21 }, "end": { - "line": 356, + "line": 352, "column": 27 } } @@ -140754,15 +138092,15 @@ "binop": null, "updateContext": null }, - "start": 13247, - "end": 13248, + "start": 13014, + "end": 13015, "loc": { "start": { - "line": 356, + "line": 352, "column": 27 }, "end": { - "line": 356, + "line": 352, "column": 28 } } @@ -140780,15 +138118,15 @@ "binop": null }, "value": "microphone", - "start": 13248, - "end": 13258, + "start": 13015, + "end": 13025, "loc": { "start": { - "line": 356, + "line": 352, "column": 28 }, "end": { - "line": 356, + "line": 352, "column": 38 } } @@ -140806,15 +138144,15 @@ "binop": null, "updateContext": null }, - "start": 13258, - "end": 13259, + "start": 13025, + "end": 13026, "loc": { "start": { - "line": 356, + "line": 352, "column": 38 }, "end": { - "line": 356, + "line": 352, "column": 39 } } @@ -140832,15 +138170,15 @@ "binop": null }, "value": "start", - "start": 13259, - "end": 13264, + "start": 13026, + "end": 13031, "loc": { "start": { - "line": 356, + "line": 352, "column": 39 }, "end": { - "line": 356, + "line": 352, "column": 44 } } @@ -140857,15 +138195,15 @@ "postfix": false, "binop": null }, - "start": 13264, - "end": 13265, + "start": 13031, + "end": 13032, "loc": { "start": { - "line": 356, + "line": 352, "column": 44 }, "end": { - "line": 356, + "line": 352, "column": 45 } } @@ -140882,15 +138220,15 @@ "postfix": false, "binop": null }, - "start": 13265, - "end": 13266, + "start": 13032, + "end": 13033, "loc": { "start": { - "line": 356, + "line": 352, "column": 45 }, "end": { - "line": 356, + "line": 352, "column": 46 } } @@ -140908,15 +138246,15 @@ "binop": null, "updateContext": null }, - "start": 13266, - "end": 13267, + "start": 13033, + "end": 13034, "loc": { "start": { - "line": 356, + "line": 352, "column": 46 }, "end": { - "line": 356, + "line": 352, "column": 47 } } @@ -140933,15 +138271,15 @@ "postfix": false, "binop": null }, - "start": 13280, - "end": 13281, + "start": 13047, + "end": 13048, "loc": { "start": { - "line": 357, + "line": 353, "column": 12 }, "end": { - "line": 357, + "line": 353, "column": 13 } } @@ -140961,15 +138299,15 @@ "updateContext": null }, "value": "else", - "start": 13282, - "end": 13286, + "start": 13049, + "end": 13053, "loc": { "start": { - "line": 357, + "line": 353, "column": 14 }, "end": { - "line": 357, + "line": 353, "column": 18 } } @@ -140986,15 +138324,15 @@ "postfix": false, "binop": null }, - "start": 13287, - "end": 13288, + "start": 13054, + "end": 13055, "loc": { "start": { - "line": 357, + "line": 353, "column": 19 }, "end": { - "line": 357, + "line": 353, "column": 20 } } @@ -141002,15 +138340,15 @@ { "type": "CommentLine", "value": " toggle paused", - "start": 13305, - "end": 13321, + "start": 13072, + "end": 13088, "loc": { "start": { - "line": 358, + "line": 354, "column": 16 }, "end": { - "line": 358, + "line": 354, "column": 32 } } @@ -141030,15 +138368,15 @@ "updateContext": null }, "value": "let", - "start": 13338, - "end": 13341, + "start": 13105, + "end": 13108, "loc": { "start": { - "line": 359, + "line": 355, "column": 16 }, "end": { - "line": 359, + "line": 355, "column": 19 } } @@ -141056,15 +138394,15 @@ "binop": null }, "value": "paused", - "start": 13342, - "end": 13348, + "start": 13109, + "end": 13115, "loc": { "start": { - "line": 359, + "line": 355, "column": 20 }, "end": { - "line": 359, + "line": 355, "column": 26 } } @@ -141083,15 +138421,15 @@ "updateContext": null }, "value": "=", - "start": 13349, - "end": 13350, + "start": 13116, + "end": 13117, "loc": { "start": { - "line": 359, + "line": 355, "column": 27 }, "end": { - "line": 359, + "line": 355, "column": 28 } } @@ -141110,15 +138448,15 @@ "updateContext": null }, "value": "!", - "start": 13351, - "end": 13352, + "start": 13118, + "end": 13119, "loc": { "start": { - "line": 359, + "line": 355, "column": 29 }, "end": { - "line": 359, + "line": 355, "column": 30 } } @@ -141138,15 +138476,15 @@ "updateContext": null }, "value": "this", - "start": 13352, - "end": 13356, + "start": 13119, + "end": 13123, "loc": { "start": { - "line": 359, + "line": 355, "column": 30 }, "end": { - "line": 359, + "line": 355, "column": 34 } } @@ -141164,15 +138502,15 @@ "binop": null, "updateContext": null }, - "start": 13356, - "end": 13357, + "start": 13123, + "end": 13124, "loc": { "start": { - "line": 359, + "line": 355, "column": 34 }, "end": { - "line": 359, + "line": 355, "column": 35 } } @@ -141190,15 +138528,15 @@ "binop": null }, "value": "surfer", - "start": 13357, - "end": 13363, + "start": 13124, + "end": 13130, "loc": { "start": { - "line": 359, + "line": 355, "column": 35 }, "end": { - "line": 359, + "line": 355, "column": 41 } } @@ -141216,15 +138554,15 @@ "binop": null, "updateContext": null }, - "start": 13363, - "end": 13364, + "start": 13130, + "end": 13131, "loc": { "start": { - "line": 359, + "line": 355, "column": 41 }, "end": { - "line": 359, + "line": 355, "column": 42 } } @@ -141242,15 +138580,15 @@ "binop": null }, "value": "microphone", - "start": 13364, - "end": 13374, + "start": 13131, + "end": 13141, "loc": { "start": { - "line": 359, + "line": 355, "column": 42 }, "end": { - "line": 359, + "line": 355, "column": 52 } } @@ -141268,15 +138606,15 @@ "binop": null, "updateContext": null }, - "start": 13374, - "end": 13375, + "start": 13141, + "end": 13142, "loc": { "start": { - "line": 359, + "line": 355, "column": 52 }, "end": { - "line": 359, + "line": 355, "column": 53 } } @@ -141294,15 +138632,15 @@ "binop": null }, "value": "paused", - "start": 13375, - "end": 13381, + "start": 13142, + "end": 13148, "loc": { "start": { - "line": 359, + "line": 355, "column": 53 }, "end": { - "line": 359, + "line": 355, "column": 59 } } @@ -141320,15 +138658,15 @@ "binop": null, "updateContext": null }, - "start": 13381, - "end": 13382, + "start": 13148, + "end": 13149, "loc": { "start": { - "line": 359, + "line": 355, "column": 59 }, "end": { - "line": 359, + "line": 355, "column": 60 } } @@ -141348,15 +138686,15 @@ "updateContext": null }, "value": "if", - "start": 13400, - "end": 13402, + "start": 13167, + "end": 13169, "loc": { "start": { - "line": 361, + "line": 357, "column": 16 }, "end": { - "line": 361, + "line": 357, "column": 18 } } @@ -141373,15 +138711,15 @@ "postfix": false, "binop": null }, - "start": 13403, - "end": 13404, + "start": 13170, + "end": 13171, "loc": { "start": { - "line": 361, + "line": 357, "column": 19 }, "end": { - "line": 361, + "line": 357, "column": 20 } } @@ -141399,15 +138737,15 @@ "binop": null }, "value": "paused", - "start": 13404, - "end": 13410, + "start": 13171, + "end": 13177, "loc": { "start": { - "line": 361, + "line": 357, "column": 20 }, "end": { - "line": 361, + "line": 357, "column": 26 } } @@ -141424,15 +138762,15 @@ "postfix": false, "binop": null }, - "start": 13410, - "end": 13411, + "start": 13177, + "end": 13178, "loc": { "start": { - "line": 361, + "line": 357, "column": 26 }, "end": { - "line": 361, + "line": 357, "column": 27 } } @@ -141449,15 +138787,15 @@ "postfix": false, "binop": null }, - "start": 13412, - "end": 13413, + "start": 13179, + "end": 13180, "loc": { "start": { - "line": 361, + "line": 357, "column": 28 }, "end": { - "line": 361, + "line": 357, "column": 29 } } @@ -141477,15 +138815,15 @@ "updateContext": null }, "value": "this", - "start": 13434, - "end": 13438, + "start": 13201, + "end": 13205, "loc": { "start": { - "line": 362, + "line": 358, "column": 20 }, "end": { - "line": 362, + "line": 358, "column": 24 } } @@ -141503,15 +138841,15 @@ "binop": null, "updateContext": null }, - "start": 13438, - "end": 13439, + "start": 13205, + "end": 13206, "loc": { "start": { - "line": 362, + "line": 358, "column": 24 }, "end": { - "line": 362, + "line": 358, "column": 25 } } @@ -141529,15 +138867,15 @@ "binop": null }, "value": "pause", - "start": 13439, - "end": 13444, + "start": 13206, + "end": 13211, "loc": { "start": { - "line": 362, + "line": 358, "column": 25 }, "end": { - "line": 362, + "line": 358, "column": 30 } } @@ -141554,15 +138892,15 @@ "postfix": false, "binop": null }, - "start": 13444, - "end": 13445, + "start": 13211, + "end": 13212, "loc": { "start": { - "line": 362, + "line": 358, "column": 30 }, "end": { - "line": 362, + "line": 358, "column": 31 } } @@ -141579,15 +138917,15 @@ "postfix": false, "binop": null }, - "start": 13445, - "end": 13446, + "start": 13212, + "end": 13213, "loc": { "start": { - "line": 362, + "line": 358, "column": 31 }, "end": { - "line": 362, + "line": 358, "column": 32 } } @@ -141605,15 +138943,15 @@ "binop": null, "updateContext": null }, - "start": 13446, - "end": 13447, + "start": 13213, + "end": 13214, "loc": { "start": { - "line": 362, + "line": 358, "column": 32 }, "end": { - "line": 362, + "line": 358, "column": 33 } } @@ -141630,15 +138968,15 @@ "postfix": false, "binop": null }, - "start": 13464, - "end": 13465, + "start": 13231, + "end": 13232, "loc": { "start": { - "line": 363, + "line": 359, "column": 16 }, "end": { - "line": 363, + "line": 359, "column": 17 } } @@ -141658,15 +138996,15 @@ "updateContext": null }, "value": "else", - "start": 13466, - "end": 13470, + "start": 13233, + "end": 13237, "loc": { "start": { - "line": 363, + "line": 359, "column": 18 }, "end": { - "line": 363, + "line": 359, "column": 22 } } @@ -141683,15 +139021,15 @@ "postfix": false, "binop": null }, - "start": 13471, - "end": 13472, + "start": 13238, + "end": 13239, "loc": { "start": { - "line": 363, + "line": 359, "column": 23 }, "end": { - "line": 363, + "line": 359, "column": 24 } } @@ -141711,15 +139049,15 @@ "updateContext": null }, "value": "this", - "start": 13493, - "end": 13497, + "start": 13260, + "end": 13264, "loc": { "start": { - "line": 364, + "line": 360, "column": 20 }, "end": { - "line": 364, + "line": 360, "column": 24 } } @@ -141737,15 +139075,15 @@ "binop": null, "updateContext": null }, - "start": 13497, - "end": 13498, + "start": 13264, + "end": 13265, "loc": { "start": { - "line": 364, + "line": 360, "column": 24 }, "end": { - "line": 364, + "line": 360, "column": 25 } } @@ -141763,15 +139101,15 @@ "binop": null }, "value": "log", - "start": 13498, - "end": 13501, + "start": 13265, + "end": 13268, "loc": { "start": { - "line": 364, + "line": 360, "column": 25 }, "end": { - "line": 364, + "line": 360, "column": 28 } } @@ -141788,15 +139126,15 @@ "postfix": false, "binop": null }, - "start": 13501, - "end": 13502, + "start": 13268, + "end": 13269, "loc": { "start": { - "line": 364, + "line": 360, "column": 28 }, "end": { - "line": 364, + "line": 360, "column": 29 } } @@ -141815,15 +139153,15 @@ "updateContext": null }, "value": "Resume microphone", - "start": 13502, - "end": 13521, + "start": 13269, + "end": 13288, "loc": { "start": { - "line": 364, + "line": 360, "column": 29 }, "end": { - "line": 364, + "line": 360, "column": 48 } } @@ -141840,15 +139178,15 @@ "postfix": false, "binop": null }, - "start": 13521, - "end": 13522, + "start": 13288, + "end": 13289, "loc": { "start": { - "line": 364, + "line": 360, "column": 48 }, "end": { - "line": 364, + "line": 360, "column": 49 } } @@ -141866,15 +139204,15 @@ "binop": null, "updateContext": null }, - "start": 13522, - "end": 13523, + "start": 13289, + "end": 13290, "loc": { "start": { - "line": 364, + "line": 360, "column": 49 }, "end": { - "line": 364, + "line": 360, "column": 50 } } @@ -141894,15 +139232,15 @@ "updateContext": null }, "value": "this", - "start": 13544, - "end": 13548, + "start": 13311, + "end": 13315, "loc": { "start": { - "line": 365, + "line": 361, "column": 20 }, "end": { - "line": 365, + "line": 361, "column": 24 } } @@ -141920,15 +139258,15 @@ "binop": null, "updateContext": null }, - "start": 13548, - "end": 13549, + "start": 13315, + "end": 13316, "loc": { "start": { - "line": 365, + "line": 361, "column": 24 }, "end": { - "line": 365, + "line": 361, "column": 25 } } @@ -141946,15 +139284,15 @@ "binop": null }, "value": "surfer", - "start": 13549, - "end": 13555, + "start": 13316, + "end": 13322, "loc": { "start": { - "line": 365, + "line": 361, "column": 25 }, "end": { - "line": 365, + "line": 361, "column": 31 } } @@ -141972,15 +139310,15 @@ "binop": null, "updateContext": null }, - "start": 13555, - "end": 13556, + "start": 13322, + "end": 13323, "loc": { "start": { - "line": 365, + "line": 361, "column": 31 }, "end": { - "line": 365, + "line": 361, "column": 32 } } @@ -141998,15 +139336,15 @@ "binop": null }, "value": "microphone", - "start": 13556, - "end": 13566, + "start": 13323, + "end": 13333, "loc": { "start": { - "line": 365, + "line": 361, "column": 32 }, "end": { - "line": 365, + "line": 361, "column": 42 } } @@ -142024,15 +139362,15 @@ "binop": null, "updateContext": null }, - "start": 13566, - "end": 13567, + "start": 13333, + "end": 13334, "loc": { "start": { - "line": 365, + "line": 361, "column": 42 }, "end": { - "line": 365, + "line": 361, "column": 43 } } @@ -142050,15 +139388,15 @@ "binop": null }, "value": "play", - "start": 13567, - "end": 13571, + "start": 13334, + "end": 13338, "loc": { "start": { - "line": 365, + "line": 361, "column": 43 }, "end": { - "line": 365, + "line": 361, "column": 47 } } @@ -142075,15 +139413,15 @@ "postfix": false, "binop": null }, - "start": 13571, - "end": 13572, + "start": 13338, + "end": 13339, "loc": { "start": { - "line": 365, + "line": 361, "column": 47 }, "end": { - "line": 365, + "line": 361, "column": 48 } } @@ -142100,15 +139438,15 @@ "postfix": false, "binop": null }, - "start": 13572, - "end": 13573, + "start": 13339, + "end": 13340, "loc": { "start": { - "line": 365, + "line": 361, "column": 48 }, "end": { - "line": 365, + "line": 361, "column": 49 } } @@ -142126,15 +139464,15 @@ "binop": null, "updateContext": null }, - "start": 13573, - "end": 13574, + "start": 13340, + "end": 13341, "loc": { "start": { - "line": 365, + "line": 361, "column": 49 }, "end": { - "line": 365, + "line": 361, "column": 50 } } @@ -142151,15 +139489,15 @@ "postfix": false, "binop": null }, - "start": 13591, - "end": 13592, + "start": 13358, + "end": 13359, "loc": { "start": { - "line": 366, + "line": 362, "column": 16 }, "end": { - "line": 366, + "line": 362, "column": 17 } } @@ -142176,15 +139514,15 @@ "postfix": false, "binop": null }, - "start": 13605, - "end": 13606, + "start": 13372, + "end": 13373, "loc": { "start": { - "line": 367, + "line": 363, "column": 12 }, "end": { - "line": 367, + "line": 363, "column": 13 } } @@ -142201,15 +139539,15 @@ "postfix": false, "binop": null }, - "start": 13615, - "end": 13616, + "start": 13382, + "end": 13383, "loc": { "start": { - "line": 368, + "line": 364, "column": 8 }, "end": { - "line": 368, + "line": 364, "column": 9 } } @@ -142229,15 +139567,15 @@ "updateContext": null }, "value": "else", - "start": 13617, - "end": 13621, + "start": 13384, + "end": 13388, "loc": { "start": { - "line": 368, + "line": 364, "column": 10 }, "end": { - "line": 368, + "line": 364, "column": 14 } } @@ -142254,15 +139592,15 @@ "postfix": false, "binop": null }, - "start": 13622, - "end": 13623, + "start": 13389, + "end": 13390, "loc": { "start": { - "line": 368, + "line": 364, "column": 15 }, "end": { - "line": 368, + "line": 364, "column": 16 } } @@ -142282,15 +139620,15 @@ "updateContext": null }, "value": "this", - "start": 13636, - "end": 13640, + "start": 13403, + "end": 13407, "loc": { "start": { - "line": 369, + "line": 365, "column": 12 }, "end": { - "line": 369, + "line": 365, "column": 16 } } @@ -142308,15 +139646,15 @@ "binop": null, "updateContext": null }, - "start": 13640, - "end": 13641, + "start": 13407, + "end": 13408, "loc": { "start": { - "line": 369, + "line": 365, "column": 16 }, "end": { - "line": 369, + "line": 365, "column": 17 } } @@ -142334,15 +139672,15 @@ "binop": null }, "value": "log", - "start": 13641, - "end": 13644, + "start": 13408, + "end": 13411, "loc": { "start": { - "line": 369, + "line": 365, "column": 17 }, "end": { - "line": 369, + "line": 365, "column": 20 } } @@ -142359,15 +139697,15 @@ "postfix": false, "binop": null }, - "start": 13644, - "end": 13645, + "start": 13411, + "end": 13412, "loc": { "start": { - "line": 369, + "line": 365, "column": 20 }, "end": { - "line": 369, + "line": 365, "column": 21 } } @@ -142386,15 +139724,15 @@ "updateContext": null }, "value": "Start playback", - "start": 13645, - "end": 13661, + "start": 13412, + "end": 13428, "loc": { "start": { - "line": 369, + "line": 365, "column": 21 }, "end": { - "line": 369, + "line": 365, "column": 37 } } @@ -142411,15 +139749,15 @@ "postfix": false, "binop": null }, - "start": 13661, - "end": 13662, + "start": 13428, + "end": 13429, "loc": { "start": { - "line": 369, + "line": 365, "column": 37 }, "end": { - "line": 369, + "line": 365, "column": 38 } } @@ -142437,15 +139775,15 @@ "binop": null, "updateContext": null }, - "start": 13662, - "end": 13663, + "start": 13429, + "end": 13430, "loc": { "start": { - "line": 369, + "line": 365, "column": 38 }, "end": { - "line": 369, + "line": 365, "column": 39 } } @@ -142453,15 +139791,15 @@ { "type": "CommentLine", "value": " put video.js player UI in playback mode", - "start": 13677, - "end": 13719, + "start": 13444, + "end": 13486, "loc": { "start": { - "line": 371, + "line": 367, "column": 12 }, "end": { - "line": 371, + "line": 367, "column": 54 } } @@ -142481,15 +139819,15 @@ "updateContext": null }, "value": "this", - "start": 13732, - "end": 13736, + "start": 13499, + "end": 13503, "loc": { "start": { - "line": 372, + "line": 368, "column": 12 }, "end": { - "line": 372, + "line": 368, "column": 16 } } @@ -142507,15 +139845,15 @@ "binop": null, "updateContext": null }, - "start": 13736, - "end": 13737, + "start": 13503, + "end": 13504, "loc": { "start": { - "line": 372, + "line": 368, "column": 16 }, "end": { - "line": 372, + "line": 368, "column": 17 } } @@ -142533,15 +139871,15 @@ "binop": null }, "value": "player", - "start": 13737, - "end": 13743, + "start": 13504, + "end": 13510, "loc": { "start": { - "line": 372, + "line": 368, "column": 17 }, "end": { - "line": 372, + "line": 368, "column": 23 } } @@ -142559,15 +139897,15 @@ "binop": null, "updateContext": null }, - "start": 13743, - "end": 13744, + "start": 13510, + "end": 13511, "loc": { "start": { - "line": 372, + "line": 368, "column": 23 }, "end": { - "line": 372, + "line": 368, "column": 24 } } @@ -142585,15 +139923,15 @@ "binop": null }, "value": "play", - "start": 13744, - "end": 13748, + "start": 13511, + "end": 13515, "loc": { "start": { - "line": 372, + "line": 368, "column": 24 }, "end": { - "line": 372, + "line": 368, "column": 28 } } @@ -142610,15 +139948,15 @@ "postfix": false, "binop": null }, - "start": 13748, - "end": 13749, + "start": 13515, + "end": 13516, "loc": { "start": { - "line": 372, + "line": 368, "column": 28 }, "end": { - "line": 372, + "line": 368, "column": 29 } } @@ -142635,15 +139973,15 @@ "postfix": false, "binop": null }, - "start": 13749, - "end": 13750, + "start": 13516, + "end": 13517, "loc": { "start": { - "line": 372, + "line": 368, "column": 29 }, "end": { - "line": 372, + "line": 368, "column": 30 } } @@ -142661,15 +139999,15 @@ "binop": null, "updateContext": null }, - "start": 13750, - "end": 13751, + "start": 13517, + "end": 13518, "loc": { "start": { - "line": 372, + "line": 368, "column": 30 }, "end": { - "line": 372, + "line": 368, "column": 31 } } @@ -142677,15 +140015,15 @@ { "type": "CommentLine", "value": " start surfer playback", - "start": 13765, - "end": 13789, + "start": 13532, + "end": 13556, "loc": { "start": { - "line": 374, + "line": 370, "column": 12 }, "end": { - "line": 374, + "line": 370, "column": 36 } } @@ -142705,15 +140043,15 @@ "updateContext": null }, "value": "this", - "start": 13802, - "end": 13806, + "start": 13569, + "end": 13573, "loc": { "start": { - "line": 375, + "line": 371, "column": 12 }, "end": { - "line": 375, + "line": 371, "column": 16 } } @@ -142731,15 +140069,15 @@ "binop": null, "updateContext": null }, - "start": 13806, - "end": 13807, + "start": 13573, + "end": 13574, "loc": { "start": { - "line": 375, + "line": 371, "column": 16 }, "end": { - "line": 375, + "line": 371, "column": 17 } } @@ -142757,15 +140095,15 @@ "binop": null }, "value": "surfer", - "start": 13807, - "end": 13813, + "start": 13574, + "end": 13580, "loc": { "start": { - "line": 375, + "line": 371, "column": 17 }, "end": { - "line": 375, + "line": 371, "column": 23 } } @@ -142783,15 +140121,15 @@ "binop": null, "updateContext": null }, - "start": 13813, - "end": 13814, + "start": 13580, + "end": 13581, "loc": { "start": { - "line": 375, + "line": 371, "column": 23 }, "end": { - "line": 375, + "line": 371, "column": 24 } } @@ -142809,15 +140147,15 @@ "binop": null }, "value": "play", - "start": 13814, - "end": 13818, + "start": 13581, + "end": 13585, "loc": { "start": { - "line": 375, + "line": 371, "column": 24 }, "end": { - "line": 375, + "line": 371, "column": 28 } } @@ -142834,15 +140172,15 @@ "postfix": false, "binop": null }, - "start": 13818, - "end": 13819, + "start": 13585, + "end": 13586, "loc": { "start": { - "line": 375, + "line": 371, "column": 28 }, "end": { - "line": 375, + "line": 371, "column": 29 } } @@ -142859,15 +140197,15 @@ "postfix": false, "binop": null }, - "start": 13819, - "end": 13820, + "start": 13586, + "end": 13587, "loc": { "start": { - "line": 375, + "line": 371, "column": 29 }, "end": { - "line": 375, + "line": 371, "column": 30 } } @@ -142885,15 +140223,15 @@ "binop": null, "updateContext": null }, - "start": 13820, - "end": 13821, + "start": 13587, + "end": 13588, "loc": { "start": { - "line": 375, + "line": 371, "column": 30 }, "end": { - "line": 375, + "line": 371, "column": 31 } } @@ -142910,15 +140248,15 @@ "postfix": false, "binop": null }, - "start": 13830, - "end": 13831, + "start": 13597, + "end": 13598, "loc": { "start": { - "line": 376, + "line": 372, "column": 8 }, "end": { - "line": 376, + "line": 372, "column": 9 } } @@ -142935,15 +140273,15 @@ "postfix": false, "binop": null }, - "start": 13836, - "end": 13837, + "start": 13603, + "end": 13604, "loc": { "start": { - "line": 377, + "line": 373, "column": 4 }, "end": { - "line": 377, + "line": 373, "column": 5 } } @@ -142951,15 +140289,15 @@ { "type": "CommentBlock", "value": "*\n * Pauses playback or microphone visualization.\n ", - "start": 13843, - "end": 13906, + "start": 13610, + "end": 13673, "loc": { "start": { - "line": 379, + "line": 375, "column": 4 }, "end": { - "line": 381, + "line": 377, "column": 7 } } @@ -142977,15 +140315,15 @@ "binop": null }, "value": "pause", - "start": 13911, - "end": 13916, + "start": 13678, + "end": 13683, "loc": { "start": { - "line": 382, + "line": 378, "column": 4 }, "end": { - "line": 382, + "line": 378, "column": 9 } } @@ -143002,15 +140340,15 @@ "postfix": false, "binop": null }, - "start": 13916, - "end": 13917, + "start": 13683, + "end": 13684, "loc": { "start": { - "line": 382, + "line": 378, "column": 9 }, "end": { - "line": 382, + "line": 378, "column": 10 } } @@ -143027,15 +140365,15 @@ "postfix": false, "binop": null }, - "start": 13917, - "end": 13918, + "start": 13684, + "end": 13685, "loc": { "start": { - "line": 382, + "line": 378, "column": 10 }, "end": { - "line": 382, + "line": 378, "column": 11 } } @@ -143052,15 +140390,15 @@ "postfix": false, "binop": null }, - "start": 13919, - "end": 13920, + "start": 13686, + "end": 13687, "loc": { "start": { - "line": 382, + "line": 378, "column": 12 }, "end": { - "line": 382, + "line": 378, "column": 13 } } @@ -143068,15 +140406,15 @@ { "type": "CommentLine", "value": " show play button", - "start": 13929, - "end": 13948, + "start": 13696, + "end": 13715, "loc": { "start": { - "line": 383, + "line": 379, "column": 8 }, "end": { - "line": 383, + "line": 379, "column": 27 } } @@ -143096,15 +140434,15 @@ "updateContext": null }, "value": "if", - "start": 13957, - "end": 13959, + "start": 13724, + "end": 13726, "loc": { "start": { - "line": 384, + "line": 380, "column": 8 }, "end": { - "line": 384, + "line": 380, "column": 10 } } @@ -143121,15 +140459,15 @@ "postfix": false, "binop": null }, - "start": 13960, - "end": 13961, + "start": 13727, + "end": 13728, "loc": { "start": { - "line": 384, + "line": 380, "column": 11 }, "end": { - "line": 384, + "line": 380, "column": 12 } } @@ -143149,15 +140487,15 @@ "updateContext": null }, "value": "this", - "start": 13961, - "end": 13965, + "start": 13728, + "end": 13732, "loc": { "start": { - "line": 384, + "line": 380, "column": 12 }, "end": { - "line": 384, + "line": 380, "column": 16 } } @@ -143175,15 +140513,15 @@ "binop": null, "updateContext": null }, - "start": 13965, - "end": 13966, + "start": 13732, + "end": 13733, "loc": { "start": { - "line": 384, + "line": 380, "column": 16 }, "end": { - "line": 384, + "line": 380, "column": 17 } } @@ -143201,15 +140539,15 @@ "binop": null }, "value": "player", - "start": 13966, - "end": 13972, + "start": 13733, + "end": 13739, "loc": { "start": { - "line": 384, + "line": 380, "column": 17 }, "end": { - "line": 384, + "line": 380, "column": 23 } } @@ -143227,15 +140565,15 @@ "binop": null, "updateContext": null }, - "start": 13972, - "end": 13973, + "start": 13739, + "end": 13740, "loc": { "start": { - "line": 384, + "line": 380, "column": 23 }, "end": { - "line": 384, + "line": 380, "column": 24 } } @@ -143253,15 +140591,15 @@ "binop": null }, "value": "controlBar", - "start": 13973, - "end": 13983, + "start": 13740, + "end": 13750, "loc": { "start": { - "line": 384, + "line": 380, "column": 24 }, "end": { - "line": 384, + "line": 380, "column": 34 } } @@ -143279,15 +140617,15 @@ "binop": null, "updateContext": null }, - "start": 13983, - "end": 13984, + "start": 13750, + "end": 13751, "loc": { "start": { - "line": 384, + "line": 380, "column": 34 }, "end": { - "line": 384, + "line": 380, "column": 35 } } @@ -143305,15 +140643,15 @@ "binop": null }, "value": "playToggle", - "start": 13984, - "end": 13994, + "start": 13751, + "end": 13761, "loc": { "start": { - "line": 384, + "line": 380, "column": 35 }, "end": { - "line": 384, + "line": 380, "column": 45 } } @@ -143332,15 +140670,15 @@ "updateContext": null }, "value": "!==", - "start": 13995, - "end": 13998, + "start": 13762, + "end": 13765, "loc": { "start": { - "line": 384, + "line": 380, "column": 46 }, "end": { - "line": 384, + "line": 380, "column": 49 } } @@ -143358,15 +140696,15 @@ "binop": null }, "value": "undefined", - "start": 13999, - "end": 14008, + "start": 13766, + "end": 13775, "loc": { "start": { - "line": 384, + "line": 380, "column": 50 }, "end": { - "line": 384, + "line": 380, "column": 59 } } @@ -143385,15 +140723,15 @@ "updateContext": null }, "value": "&&", - "start": 14009, - "end": 14011, + "start": 13776, + "end": 13778, "loc": { "start": { - "line": 384, + "line": 380, "column": 60 }, "end": { - "line": 384, + "line": 380, "column": 62 } } @@ -143413,15 +140751,15 @@ "updateContext": null }, "value": "this", - "start": 14024, - "end": 14028, + "start": 13791, + "end": 13795, "loc": { "start": { - "line": 385, + "line": 381, "column": 12 }, "end": { - "line": 385, + "line": 381, "column": 16 } } @@ -143439,15 +140777,15 @@ "binop": null, "updateContext": null }, - "start": 14028, - "end": 14029, + "start": 13795, + "end": 13796, "loc": { "start": { - "line": 385, + "line": 381, "column": 16 }, "end": { - "line": 385, + "line": 381, "column": 17 } } @@ -143465,15 +140803,15 @@ "binop": null }, "value": "player", - "start": 14029, - "end": 14035, + "start": 13796, + "end": 13802, "loc": { "start": { - "line": 385, + "line": 381, "column": 17 }, "end": { - "line": 385, + "line": 381, "column": 23 } } @@ -143491,15 +140829,15 @@ "binop": null, "updateContext": null }, - "start": 14035, - "end": 14036, + "start": 13802, + "end": 13803, "loc": { "start": { - "line": 385, + "line": 381, "column": 23 }, "end": { - "line": 385, + "line": 381, "column": 24 } } @@ -143517,15 +140855,15 @@ "binop": null }, "value": "controlBar", - "start": 14036, - "end": 14046, + "start": 13803, + "end": 13813, "loc": { "start": { - "line": 385, + "line": 381, "column": 24 }, "end": { - "line": 385, + "line": 381, "column": 34 } } @@ -143543,15 +140881,15 @@ "binop": null, "updateContext": null }, - "start": 14046, - "end": 14047, + "start": 13813, + "end": 13814, "loc": { "start": { - "line": 385, + "line": 381, "column": 34 }, "end": { - "line": 385, + "line": 381, "column": 35 } } @@ -143569,15 +140907,15 @@ "binop": null }, "value": "playToggle", - "start": 14047, - "end": 14057, + "start": 13814, + "end": 13824, "loc": { "start": { - "line": 385, + "line": 381, "column": 35 }, "end": { - "line": 385, + "line": 381, "column": 45 } } @@ -143595,15 +140933,15 @@ "binop": null, "updateContext": null }, - "start": 14057, - "end": 14058, + "start": 13824, + "end": 13825, "loc": { "start": { - "line": 385, + "line": 381, "column": 45 }, "end": { - "line": 385, + "line": 381, "column": 46 } } @@ -143621,15 +140959,15 @@ "binop": null }, "value": "contentEl", - "start": 14058, - "end": 14067, + "start": 13825, + "end": 13834, "loc": { "start": { - "line": 385, + "line": 381, "column": 46 }, "end": { - "line": 385, + "line": 381, "column": 55 } } @@ -143646,15 +140984,15 @@ "postfix": false, "binop": null }, - "start": 14067, - "end": 14068, + "start": 13834, + "end": 13835, "loc": { "start": { - "line": 385, + "line": 381, "column": 55 }, "end": { - "line": 385, + "line": 381, "column": 56 } } @@ -143671,15 +141009,15 @@ "postfix": false, "binop": null }, - "start": 14068, - "end": 14069, + "start": 13835, + "end": 13836, "loc": { "start": { - "line": 385, + "line": 381, "column": 56 }, "end": { - "line": 385, + "line": 381, "column": 57 } } @@ -143696,15 +141034,15 @@ "postfix": false, "binop": null }, - "start": 14069, - "end": 14070, + "start": 13836, + "end": 13837, "loc": { "start": { - "line": 385, + "line": 381, "column": 57 }, "end": { - "line": 385, + "line": 381, "column": 58 } } @@ -143721,15 +141059,15 @@ "postfix": false, "binop": null }, - "start": 14071, - "end": 14072, + "start": 13838, + "end": 13839, "loc": { "start": { - "line": 385, + "line": 381, "column": 59 }, "end": { - "line": 385, + "line": 381, "column": 60 } } @@ -143749,15 +141087,15 @@ "updateContext": null }, "value": "this", - "start": 14085, - "end": 14089, + "start": 13852, + "end": 13856, "loc": { "start": { - "line": 386, + "line": 382, "column": 12 }, "end": { - "line": 386, + "line": 382, "column": 16 } } @@ -143775,15 +141113,15 @@ "binop": null, "updateContext": null }, - "start": 14089, - "end": 14090, + "start": 13856, + "end": 13857, "loc": { "start": { - "line": 386, + "line": 382, "column": 16 }, "end": { - "line": 386, + "line": 382, "column": 17 } } @@ -143801,15 +141139,15 @@ "binop": null }, "value": "player", - "start": 14090, - "end": 14096, + "start": 13857, + "end": 13863, "loc": { "start": { - "line": 386, + "line": 382, "column": 17 }, "end": { - "line": 386, + "line": 382, "column": 23 } } @@ -143827,15 +141165,15 @@ "binop": null, "updateContext": null }, - "start": 14096, - "end": 14097, + "start": 13863, + "end": 13864, "loc": { "start": { - "line": 386, + "line": 382, "column": 23 }, "end": { - "line": 386, + "line": 382, "column": 24 } } @@ -143853,15 +141191,15 @@ "binop": null }, "value": "controlBar", - "start": 14097, - "end": 14107, + "start": 13864, + "end": 13874, "loc": { "start": { - "line": 386, + "line": 382, "column": 24 }, "end": { - "line": 386, + "line": 382, "column": 34 } } @@ -143879,15 +141217,15 @@ "binop": null, "updateContext": null }, - "start": 14107, - "end": 14108, + "start": 13874, + "end": 13875, "loc": { "start": { - "line": 386, + "line": 382, "column": 34 }, "end": { - "line": 386, + "line": 382, "column": 35 } } @@ -143905,15 +141243,15 @@ "binop": null }, "value": "playToggle", - "start": 14108, - "end": 14118, + "start": 13875, + "end": 13885, "loc": { "start": { - "line": 386, + "line": 382, "column": 35 }, "end": { - "line": 386, + "line": 382, "column": 45 } } @@ -143931,15 +141269,15 @@ "binop": null, "updateContext": null }, - "start": 14118, - "end": 14119, + "start": 13885, + "end": 13886, "loc": { "start": { - "line": 386, + "line": 382, "column": 45 }, "end": { - "line": 386, + "line": 382, "column": 46 } } @@ -143957,15 +141295,15 @@ "binop": null }, "value": "handlePause", - "start": 14119, - "end": 14130, + "start": 13886, + "end": 13897, "loc": { "start": { - "line": 386, + "line": 382, "column": 46 }, "end": { - "line": 386, + "line": 382, "column": 57 } } @@ -143982,15 +141320,15 @@ "postfix": false, "binop": null }, - "start": 14130, - "end": 14131, + "start": 13897, + "end": 13898, "loc": { "start": { - "line": 386, + "line": 382, "column": 57 }, "end": { - "line": 386, + "line": 382, "column": 58 } } @@ -144007,15 +141345,15 @@ "postfix": false, "binop": null }, - "start": 14131, - "end": 14132, + "start": 13898, + "end": 13899, "loc": { "start": { - "line": 386, + "line": 382, "column": 58 }, "end": { - "line": 386, + "line": 382, "column": 59 } } @@ -144033,15 +141371,15 @@ "binop": null, "updateContext": null }, - "start": 14132, - "end": 14133, + "start": 13899, + "end": 13900, "loc": { "start": { - "line": 386, + "line": 382, "column": 59 }, "end": { - "line": 386, + "line": 382, "column": 60 } } @@ -144058,15 +141396,15 @@ "postfix": false, "binop": null }, - "start": 14142, - "end": 14143, + "start": 13909, + "end": 13910, "loc": { "start": { - "line": 387, + "line": 383, "column": 8 }, "end": { - "line": 387, + "line": 383, "column": 9 } } @@ -144086,15 +141424,15 @@ "updateContext": null }, "value": "if", - "start": 14153, - "end": 14155, + "start": 13920, + "end": 13922, "loc": { "start": { - "line": 389, + "line": 385, "column": 8 }, "end": { - "line": 389, + "line": 385, "column": 10 } } @@ -144111,15 +141449,15 @@ "postfix": false, "binop": null }, - "start": 14156, - "end": 14157, + "start": 13923, + "end": 13924, "loc": { "start": { - "line": 389, + "line": 385, "column": 11 }, "end": { - "line": 389, + "line": 385, "column": 12 } } @@ -144139,15 +141477,15 @@ "updateContext": null }, "value": "this", - "start": 14157, - "end": 14161, + "start": 13924, + "end": 13928, "loc": { "start": { - "line": 389, + "line": 385, "column": 12 }, "end": { - "line": 389, + "line": 385, "column": 16 } } @@ -144165,15 +141503,15 @@ "binop": null, "updateContext": null }, - "start": 14161, - "end": 14162, + "start": 13928, + "end": 13929, "loc": { "start": { - "line": 389, + "line": 385, "column": 16 }, "end": { - "line": 389, + "line": 385, "column": 17 } } @@ -144191,15 +141529,15 @@ "binop": null }, "value": "liveMode", - "start": 14162, - "end": 14170, + "start": 13929, + "end": 13937, "loc": { "start": { - "line": 389, + "line": 385, "column": 17 }, "end": { - "line": 389, + "line": 385, "column": 25 } } @@ -144216,15 +141554,15 @@ "postfix": false, "binop": null }, - "start": 14170, - "end": 14171, + "start": 13937, + "end": 13938, "loc": { "start": { - "line": 389, + "line": 385, "column": 25 }, "end": { - "line": 389, + "line": 385, "column": 26 } } @@ -144241,15 +141579,15 @@ "postfix": false, "binop": null }, - "start": 14172, - "end": 14173, + "start": 13939, + "end": 13940, "loc": { "start": { - "line": 389, + "line": 385, "column": 27 }, "end": { - "line": 389, + "line": 385, "column": 28 } } @@ -144257,15 +141595,15 @@ { "type": "CommentLine", "value": " pause microphone visualization", - "start": 14186, - "end": 14219, + "start": 13953, + "end": 13986, "loc": { "start": { - "line": 390, + "line": 386, "column": 12 }, "end": { - "line": 390, + "line": 386, "column": 45 } } @@ -144285,15 +141623,15 @@ "updateContext": null }, "value": "this", - "start": 14232, - "end": 14236, + "start": 13999, + "end": 14003, "loc": { "start": { - "line": 391, + "line": 387, "column": 12 }, "end": { - "line": 391, + "line": 387, "column": 16 } } @@ -144311,15 +141649,15 @@ "binop": null, "updateContext": null }, - "start": 14236, - "end": 14237, + "start": 14003, + "end": 14004, "loc": { "start": { - "line": 391, + "line": 387, "column": 16 }, "end": { - "line": 391, + "line": 387, "column": 17 } } @@ -144337,15 +141675,15 @@ "binop": null }, "value": "log", - "start": 14237, - "end": 14240, + "start": 14004, + "end": 14007, "loc": { "start": { - "line": 391, + "line": 387, "column": 17 }, "end": { - "line": 391, + "line": 387, "column": 20 } } @@ -144362,15 +141700,15 @@ "postfix": false, "binop": null }, - "start": 14240, - "end": 14241, + "start": 14007, + "end": 14008, "loc": { "start": { - "line": 391, + "line": 387, "column": 20 }, "end": { - "line": 391, + "line": 387, "column": 21 } } @@ -144389,15 +141727,15 @@ "updateContext": null }, "value": "Pause microphone", - "start": 14241, - "end": 14259, + "start": 14008, + "end": 14026, "loc": { "start": { - "line": 391, + "line": 387, "column": 21 }, "end": { - "line": 391, + "line": 387, "column": 39 } } @@ -144414,15 +141752,15 @@ "postfix": false, "binop": null }, - "start": 14259, - "end": 14260, + "start": 14026, + "end": 14027, "loc": { "start": { - "line": 391, + "line": 387, "column": 39 }, "end": { - "line": 391, + "line": 387, "column": 40 } } @@ -144440,15 +141778,15 @@ "binop": null, "updateContext": null }, - "start": 14260, - "end": 14261, + "start": 14027, + "end": 14028, "loc": { "start": { - "line": 391, + "line": 387, "column": 40 }, "end": { - "line": 391, + "line": 387, "column": 41 } } @@ -144468,15 +141806,15 @@ "updateContext": null }, "value": "this", - "start": 14274, - "end": 14278, + "start": 14041, + "end": 14045, "loc": { "start": { - "line": 392, + "line": 388, "column": 12 }, "end": { - "line": 392, + "line": 388, "column": 16 } } @@ -144494,15 +141832,15 @@ "binop": null, "updateContext": null }, - "start": 14278, - "end": 14279, + "start": 14045, + "end": 14046, "loc": { "start": { - "line": 392, + "line": 388, "column": 16 }, "end": { - "line": 392, + "line": 388, "column": 17 } } @@ -144520,15 +141858,15 @@ "binop": null }, "value": "surfer", - "start": 14279, - "end": 14285, + "start": 14046, + "end": 14052, "loc": { "start": { - "line": 392, + "line": 388, "column": 17 }, "end": { - "line": 392, + "line": 388, "column": 23 } } @@ -144546,15 +141884,15 @@ "binop": null, "updateContext": null }, - "start": 14285, - "end": 14286, + "start": 14052, + "end": 14053, "loc": { "start": { - "line": 392, + "line": 388, "column": 23 }, "end": { - "line": 392, + "line": 388, "column": 24 } } @@ -144572,15 +141910,15 @@ "binop": null }, "value": "microphone", - "start": 14286, - "end": 14296, + "start": 14053, + "end": 14063, "loc": { "start": { - "line": 392, + "line": 388, "column": 24 }, "end": { - "line": 392, + "line": 388, "column": 34 } } @@ -144598,15 +141936,15 @@ "binop": null, "updateContext": null }, - "start": 14296, - "end": 14297, + "start": 14063, + "end": 14064, "loc": { "start": { - "line": 392, + "line": 388, "column": 34 }, "end": { - "line": 392, + "line": 388, "column": 35 } } @@ -144624,15 +141962,15 @@ "binop": null }, "value": "pause", - "start": 14297, - "end": 14302, + "start": 14064, + "end": 14069, "loc": { "start": { - "line": 392, + "line": 388, "column": 35 }, "end": { - "line": 392, + "line": 388, "column": 40 } } @@ -144649,15 +141987,15 @@ "postfix": false, "binop": null }, - "start": 14302, - "end": 14303, + "start": 14069, + "end": 14070, "loc": { "start": { - "line": 392, + "line": 388, "column": 40 }, "end": { - "line": 392, + "line": 388, "column": 41 } } @@ -144674,15 +142012,15 @@ "postfix": false, "binop": null }, - "start": 14303, - "end": 14304, + "start": 14070, + "end": 14071, "loc": { "start": { - "line": 392, + "line": 388, "column": 41 }, "end": { - "line": 392, + "line": 388, "column": 42 } } @@ -144700,15 +142038,15 @@ "binop": null, "updateContext": null }, - "start": 14304, - "end": 14305, + "start": 14071, + "end": 14072, "loc": { "start": { - "line": 392, + "line": 388, "column": 42 }, "end": { - "line": 392, + "line": 388, "column": 43 } } @@ -144725,15 +142063,15 @@ "postfix": false, "binop": null }, - "start": 14314, - "end": 14315, + "start": 14081, + "end": 14082, "loc": { "start": { - "line": 393, + "line": 389, "column": 8 }, "end": { - "line": 393, + "line": 389, "column": 9 } } @@ -144753,15 +142091,15 @@ "updateContext": null }, "value": "else", - "start": 14316, - "end": 14320, + "start": 14083, + "end": 14087, "loc": { "start": { - "line": 393, + "line": 389, "column": 10 }, "end": { - "line": 393, + "line": 389, "column": 14 } } @@ -144778,15 +142116,15 @@ "postfix": false, "binop": null }, - "start": 14321, - "end": 14322, + "start": 14088, + "end": 14089, "loc": { "start": { - "line": 393, + "line": 389, "column": 15 }, "end": { - "line": 393, + "line": 389, "column": 16 } } @@ -144794,15 +142132,15 @@ { "type": "CommentLine", "value": " pause playback", - "start": 14335, - "end": 14352, + "start": 14102, + "end": 14119, "loc": { "start": { - "line": 394, + "line": 390, "column": 12 }, "end": { - "line": 394, + "line": 390, "column": 29 } } @@ -144822,15 +142160,15 @@ "updateContext": null }, "value": "this", - "start": 14365, - "end": 14369, + "start": 14132, + "end": 14136, "loc": { "start": { - "line": 395, + "line": 391, "column": 12 }, "end": { - "line": 395, + "line": 391, "column": 16 } } @@ -144848,15 +142186,15 @@ "binop": null, "updateContext": null }, - "start": 14369, - "end": 14370, + "start": 14136, + "end": 14137, "loc": { "start": { - "line": 395, + "line": 391, "column": 16 }, "end": { - "line": 395, + "line": 391, "column": 17 } } @@ -144874,15 +142212,15 @@ "binop": null }, "value": "log", - "start": 14370, - "end": 14373, + "start": 14137, + "end": 14140, "loc": { "start": { - "line": 395, + "line": 391, "column": 17 }, "end": { - "line": 395, + "line": 391, "column": 20 } } @@ -144899,15 +142237,15 @@ "postfix": false, "binop": null }, - "start": 14373, - "end": 14374, + "start": 14140, + "end": 14141, "loc": { "start": { - "line": 395, + "line": 391, "column": 20 }, "end": { - "line": 395, + "line": 391, "column": 21 } } @@ -144926,15 +142264,15 @@ "updateContext": null }, "value": "Pause playback", - "start": 14374, - "end": 14390, + "start": 14141, + "end": 14157, "loc": { "start": { - "line": 395, + "line": 391, "column": 21 }, "end": { - "line": 395, + "line": 391, "column": 37 } } @@ -144951,15 +142289,15 @@ "postfix": false, "binop": null }, - "start": 14390, - "end": 14391, + "start": 14157, + "end": 14158, "loc": { "start": { - "line": 395, + "line": 391, "column": 37 }, "end": { - "line": 395, + "line": 391, "column": 38 } } @@ -144977,15 +142315,15 @@ "binop": null, "updateContext": null }, - "start": 14391, - "end": 14392, + "start": 14158, + "end": 14159, "loc": { "start": { - "line": 395, + "line": 391, "column": 38 }, "end": { - "line": 395, + "line": 391, "column": 39 } } @@ -145005,15 +142343,15 @@ "updateContext": null }, "value": "if", - "start": 14406, - "end": 14408, + "start": 14173, + "end": 14175, "loc": { "start": { - "line": 397, + "line": 393, "column": 12 }, "end": { - "line": 397, + "line": 393, "column": 14 } } @@ -145030,15 +142368,15 @@ "postfix": false, "binop": null }, - "start": 14409, - "end": 14410, + "start": 14176, + "end": 14177, "loc": { "start": { - "line": 397, + "line": 393, "column": 15 }, "end": { - "line": 397, + "line": 393, "column": 16 } } @@ -145057,15 +142395,15 @@ "updateContext": null }, "value": "!", - "start": 14410, - "end": 14411, + "start": 14177, + "end": 14178, "loc": { "start": { - "line": 397, + "line": 393, "column": 16 }, "end": { - "line": 397, + "line": 393, "column": 17 } } @@ -145085,15 +142423,15 @@ "updateContext": null }, "value": "this", - "start": 14411, - "end": 14415, + "start": 14178, + "end": 14182, "loc": { "start": { - "line": 397, + "line": 393, "column": 17 }, "end": { - "line": 397, + "line": 393, "column": 21 } } @@ -145111,15 +142449,15 @@ "binop": null, "updateContext": null }, - "start": 14415, - "end": 14416, + "start": 14182, + "end": 14183, "loc": { "start": { - "line": 397, + "line": 393, "column": 21 }, "end": { - "line": 397, + "line": 393, "column": 22 } } @@ -145137,15 +142475,15 @@ "binop": null }, "value": "waveFinished", - "start": 14416, - "end": 14428, + "start": 14183, + "end": 14195, "loc": { "start": { - "line": 397, + "line": 393, "column": 22 }, "end": { - "line": 397, + "line": 393, "column": 34 } } @@ -145162,15 +142500,15 @@ "postfix": false, "binop": null }, - "start": 14428, - "end": 14429, + "start": 14195, + "end": 14196, "loc": { "start": { - "line": 397, + "line": 393, "column": 34 }, "end": { - "line": 397, + "line": 393, "column": 35 } } @@ -145187,15 +142525,15 @@ "postfix": false, "binop": null }, - "start": 14430, - "end": 14431, + "start": 14197, + "end": 14198, "loc": { "start": { - "line": 397, + "line": 393, "column": 36 }, "end": { - "line": 397, + "line": 393, "column": 37 } } @@ -145203,15 +142541,15 @@ { "type": "CommentLine", "value": " pause wavesurfer playback", - "start": 14448, - "end": 14476, + "start": 14215, + "end": 14243, "loc": { "start": { - "line": 398, + "line": 394, "column": 16 }, "end": { - "line": 398, + "line": 394, "column": 44 } } @@ -145231,15 +142569,15 @@ "updateContext": null }, "value": "this", - "start": 14493, - "end": 14497, + "start": 14260, + "end": 14264, "loc": { "start": { - "line": 399, + "line": 395, "column": 16 }, "end": { - "line": 399, + "line": 395, "column": 20 } } @@ -145257,15 +142595,15 @@ "binop": null, "updateContext": null }, - "start": 14497, - "end": 14498, + "start": 14264, + "end": 14265, "loc": { "start": { - "line": 399, + "line": 395, "column": 20 }, "end": { - "line": 399, + "line": 395, "column": 21 } } @@ -145283,15 +142621,15 @@ "binop": null }, "value": "surfer", - "start": 14498, - "end": 14504, + "start": 14265, + "end": 14271, "loc": { "start": { - "line": 399, + "line": 395, "column": 21 }, "end": { - "line": 399, + "line": 395, "column": 27 } } @@ -145309,15 +142647,15 @@ "binop": null, "updateContext": null }, - "start": 14504, - "end": 14505, + "start": 14271, + "end": 14272, "loc": { "start": { - "line": 399, + "line": 395, "column": 27 }, "end": { - "line": 399, + "line": 395, "column": 28 } } @@ -145335,15 +142673,15 @@ "binop": null }, "value": "pause", - "start": 14505, - "end": 14510, + "start": 14272, + "end": 14277, "loc": { "start": { - "line": 399, + "line": 395, "column": 28 }, "end": { - "line": 399, + "line": 395, "column": 33 } } @@ -145360,15 +142698,15 @@ "postfix": false, "binop": null }, - "start": 14510, - "end": 14511, + "start": 14277, + "end": 14278, "loc": { "start": { - "line": 399, + "line": 395, "column": 33 }, "end": { - "line": 399, + "line": 395, "column": 34 } } @@ -145385,15 +142723,15 @@ "postfix": false, "binop": null }, - "start": 14511, - "end": 14512, + "start": 14278, + "end": 14279, "loc": { "start": { - "line": 399, + "line": 395, "column": 34 }, "end": { - "line": 399, + "line": 395, "column": 35 } } @@ -145411,15 +142749,15 @@ "binop": null, "updateContext": null }, - "start": 14512, - "end": 14513, + "start": 14279, + "end": 14280, "loc": { "start": { - "line": 399, + "line": 395, "column": 35 }, "end": { - "line": 399, + "line": 395, "column": 36 } } @@ -145436,15 +142774,15 @@ "postfix": false, "binop": null }, - "start": 14526, - "end": 14527, + "start": 14293, + "end": 14294, "loc": { "start": { - "line": 400, + "line": 396, "column": 12 }, "end": { - "line": 400, + "line": 396, "column": 13 } } @@ -145464,15 +142802,15 @@ "updateContext": null }, "value": "else", - "start": 14528, - "end": 14532, + "start": 14295, + "end": 14299, "loc": { "start": { - "line": 400, + "line": 396, "column": 14 }, "end": { - "line": 400, + "line": 396, "column": 18 } } @@ -145489,15 +142827,15 @@ "postfix": false, "binop": null }, - "start": 14533, - "end": 14534, + "start": 14300, + "end": 14301, "loc": { "start": { - "line": 400, + "line": 396, "column": 19 }, "end": { - "line": 400, + "line": 396, "column": 20 } } @@ -145517,15 +142855,15 @@ "updateContext": null }, "value": "this", - "start": 14551, - "end": 14555, + "start": 14318, + "end": 14322, "loc": { "start": { - "line": 401, + "line": 397, "column": 16 }, "end": { - "line": 401, + "line": 397, "column": 20 } } @@ -145543,15 +142881,15 @@ "binop": null, "updateContext": null }, - "start": 14555, - "end": 14556, + "start": 14322, + "end": 14323, "loc": { "start": { - "line": 401, + "line": 397, "column": 20 }, "end": { - "line": 401, + "line": 397, "column": 21 } } @@ -145569,15 +142907,15 @@ "binop": null }, "value": "waveFinished", - "start": 14556, - "end": 14568, + "start": 14323, + "end": 14335, "loc": { "start": { - "line": 401, + "line": 397, "column": 21 }, "end": { - "line": 401, + "line": 397, "column": 33 } } @@ -145596,15 +142934,15 @@ "updateContext": null }, "value": "=", - "start": 14569, - "end": 14570, + "start": 14336, + "end": 14337, "loc": { "start": { - "line": 401, + "line": 397, "column": 34 }, "end": { - "line": 401, + "line": 397, "column": 35 } } @@ -145624,15 +142962,15 @@ "updateContext": null }, "value": "false", - "start": 14571, - "end": 14576, + "start": 14338, + "end": 14343, "loc": { "start": { - "line": 401, + "line": 397, "column": 36 }, "end": { - "line": 401, + "line": 397, "column": 41 } } @@ -145650,15 +142988,15 @@ "binop": null, "updateContext": null }, - "start": 14576, - "end": 14577, + "start": 14343, + "end": 14344, "loc": { "start": { - "line": 401, + "line": 397, "column": 41 }, "end": { - "line": 401, + "line": 397, "column": 42 } } @@ -145675,15 +143013,15 @@ "postfix": false, "binop": null }, - "start": 14590, - "end": 14591, + "start": 14357, + "end": 14358, "loc": { "start": { - "line": 402, + "line": 398, "column": 12 }, "end": { - "line": 402, + "line": 398, "column": 13 } } @@ -145703,15 +143041,15 @@ "updateContext": null }, "value": "this", - "start": 14605, - "end": 14609, + "start": 14372, + "end": 14376, "loc": { "start": { - "line": 404, + "line": 400, "column": 12 }, "end": { - "line": 404, + "line": 400, "column": 16 } } @@ -145729,15 +143067,15 @@ "binop": null, "updateContext": null }, - "start": 14609, - "end": 14610, + "start": 14376, + "end": 14377, "loc": { "start": { - "line": 404, + "line": 400, "column": 16 }, "end": { - "line": 404, + "line": 400, "column": 17 } } @@ -145755,15 +143093,15 @@ "binop": null }, "value": "setCurrentTime", - "start": 14610, - "end": 14624, + "start": 14377, + "end": 14391, "loc": { "start": { - "line": 404, + "line": 400, "column": 17 }, "end": { - "line": 404, + "line": 400, "column": 31 } } @@ -145780,15 +143118,15 @@ "postfix": false, "binop": null }, - "start": 14624, - "end": 14625, + "start": 14391, + "end": 14392, "loc": { "start": { - "line": 404, + "line": 400, "column": 31 }, "end": { - "line": 404, + "line": 400, "column": 32 } } @@ -145805,15 +143143,15 @@ "postfix": false, "binop": null }, - "start": 14625, - "end": 14626, + "start": 14392, + "end": 14393, "loc": { "start": { - "line": 404, + "line": 400, "column": 32 }, "end": { - "line": 404, + "line": 400, "column": 33 } } @@ -145831,15 +143169,15 @@ "binop": null, "updateContext": null }, - "start": 14626, - "end": 14627, + "start": 14393, + "end": 14394, "loc": { "start": { - "line": 404, + "line": 400, "column": 33 }, "end": { - "line": 404, + "line": 400, "column": 34 } } @@ -145856,15 +143194,15 @@ "postfix": false, "binop": null }, - "start": 14636, - "end": 14637, + "start": 14403, + "end": 14404, "loc": { "start": { - "line": 405, + "line": 401, "column": 8 }, "end": { - "line": 405, + "line": 401, "column": 9 } } @@ -145881,15 +143219,15 @@ "postfix": false, "binop": null }, - "start": 14642, - "end": 14643, + "start": 14409, + "end": 14410, "loc": { "start": { - "line": 406, + "line": 402, "column": 4 }, "end": { - "line": 406, + "line": 402, "column": 5 } } @@ -145897,15 +143235,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n ", - "start": 14649, - "end": 14676, + "start": 14416, + "end": 14443, "loc": { "start": { - "line": 408, + "line": 404, "column": 4 }, "end": { - "line": 410, + "line": 406, "column": 7 } } @@ -145923,15 +143261,15 @@ "binop": null }, "value": "dispose", - "start": 14681, - "end": 14688, + "start": 14448, + "end": 14455, "loc": { "start": { - "line": 411, + "line": 407, "column": 4 }, "end": { - "line": 411, + "line": 407, "column": 11 } } @@ -145948,15 +143286,15 @@ "postfix": false, "binop": null }, - "start": 14688, - "end": 14689, + "start": 14455, + "end": 14456, "loc": { "start": { - "line": 411, + "line": 407, "column": 11 }, "end": { - "line": 411, + "line": 407, "column": 12 } } @@ -145973,15 +143311,15 @@ "postfix": false, "binop": null }, - "start": 14689, - "end": 14690, + "start": 14456, + "end": 14457, "loc": { "start": { - "line": 411, + "line": 407, "column": 12 }, "end": { - "line": 411, + "line": 407, "column": 13 } } @@ -145998,15 +143336,15 @@ "postfix": false, "binop": null }, - "start": 14691, - "end": 14692, + "start": 14458, + "end": 14459, "loc": { "start": { - "line": 411, + "line": 407, "column": 14 }, "end": { - "line": 411, + "line": 407, "column": 15 } } @@ -146026,15 +143364,15 @@ "updateContext": null }, "value": "if", - "start": 14701, - "end": 14703, + "start": 14468, + "end": 14470, "loc": { "start": { - "line": 412, + "line": 408, "column": 8 }, "end": { - "line": 412, + "line": 408, "column": 10 } } @@ -146051,15 +143389,15 @@ "postfix": false, "binop": null }, - "start": 14704, - "end": 14705, + "start": 14471, + "end": 14472, "loc": { "start": { - "line": 412, + "line": 408, "column": 11 }, "end": { - "line": 412, + "line": 408, "column": 12 } } @@ -146079,15 +143417,15 @@ "updateContext": null }, "value": "this", - "start": 14705, - "end": 14709, + "start": 14472, + "end": 14476, "loc": { "start": { - "line": 412, + "line": 408, "column": 12 }, "end": { - "line": 412, + "line": 408, "column": 16 } } @@ -146105,15 +143443,15 @@ "binop": null, "updateContext": null }, - "start": 14709, - "end": 14710, + "start": 14476, + "end": 14477, "loc": { "start": { - "line": 412, + "line": 408, "column": 16 }, "end": { - "line": 412, + "line": 408, "column": 17 } } @@ -146131,15 +143469,15 @@ "binop": null }, "value": "surfer", - "start": 14710, - "end": 14716, + "start": 14477, + "end": 14483, "loc": { "start": { - "line": 412, + "line": 408, "column": 17 }, "end": { - "line": 412, + "line": 408, "column": 23 } } @@ -146156,15 +143494,15 @@ "postfix": false, "binop": null }, - "start": 14716, - "end": 14717, + "start": 14483, + "end": 14484, "loc": { "start": { - "line": 412, + "line": 408, "column": 23 }, "end": { - "line": 412, + "line": 408, "column": 24 } } @@ -146181,15 +143519,15 @@ "postfix": false, "binop": null }, - "start": 14718, - "end": 14719, + "start": 14485, + "end": 14486, "loc": { "start": { - "line": 412, + "line": 408, "column": 25 }, "end": { - "line": 412, + "line": 408, "column": 26 } } @@ -146209,15 +143547,15 @@ "updateContext": null }, "value": "if", - "start": 14732, - "end": 14734, + "start": 14499, + "end": 14501, "loc": { "start": { - "line": 413, + "line": 409, "column": 12 }, "end": { - "line": 413, + "line": 409, "column": 14 } } @@ -146234,15 +143572,15 @@ "postfix": false, "binop": null }, - "start": 14735, - "end": 14736, + "start": 14502, + "end": 14503, "loc": { "start": { - "line": 413, + "line": 409, "column": 15 }, "end": { - "line": 413, + "line": 409, "column": 16 } } @@ -146262,15 +143600,15 @@ "updateContext": null }, "value": "this", - "start": 14736, - "end": 14740, + "start": 14503, + "end": 14507, "loc": { "start": { - "line": 413, + "line": 409, "column": 16 }, "end": { - "line": 413, + "line": 409, "column": 20 } } @@ -146288,15 +143626,15 @@ "binop": null, "updateContext": null }, - "start": 14740, - "end": 14741, + "start": 14507, + "end": 14508, "loc": { "start": { - "line": 413, + "line": 409, "column": 20 }, "end": { - "line": 413, + "line": 409, "column": 21 } } @@ -146314,15 +143652,15 @@ "binop": null }, "value": "liveMode", - "start": 14741, - "end": 14749, + "start": 14508, + "end": 14516, "loc": { "start": { - "line": 413, + "line": 409, "column": 21 }, "end": { - "line": 413, + "line": 409, "column": 29 } } @@ -146341,15 +143679,15 @@ "updateContext": null }, "value": "&&", - "start": 14750, - "end": 14752, + "start": 14517, + "end": 14519, "loc": { "start": { - "line": 413, + "line": 409, "column": 30 }, "end": { - "line": 413, + "line": 409, "column": 32 } } @@ -146369,15 +143707,15 @@ "updateContext": null }, "value": "this", - "start": 14753, - "end": 14757, + "start": 14520, + "end": 14524, "loc": { "start": { - "line": 413, + "line": 409, "column": 33 }, "end": { - "line": 413, + "line": 409, "column": 37 } } @@ -146395,15 +143733,15 @@ "binop": null, "updateContext": null }, - "start": 14757, - "end": 14758, + "start": 14524, + "end": 14525, "loc": { "start": { - "line": 413, + "line": 409, "column": 37 }, "end": { - "line": 413, + "line": 409, "column": 38 } } @@ -146421,15 +143759,15 @@ "binop": null }, "value": "surfer", - "start": 14758, - "end": 14764, + "start": 14525, + "end": 14531, "loc": { "start": { - "line": 413, + "line": 409, "column": 38 }, "end": { - "line": 413, + "line": 409, "column": 44 } } @@ -146447,15 +143785,15 @@ "binop": null, "updateContext": null }, - "start": 14764, - "end": 14765, + "start": 14531, + "end": 14532, "loc": { "start": { - "line": 413, + "line": 409, "column": 44 }, "end": { - "line": 413, + "line": 409, "column": 45 } } @@ -146473,15 +143811,15 @@ "binop": null }, "value": "microphone", - "start": 14765, - "end": 14775, + "start": 14532, + "end": 14542, "loc": { "start": { - "line": 413, + "line": 409, "column": 45 }, "end": { - "line": 413, + "line": 409, "column": 55 } } @@ -146498,15 +143836,15 @@ "postfix": false, "binop": null }, - "start": 14775, - "end": 14776, + "start": 14542, + "end": 14543, "loc": { "start": { - "line": 413, + "line": 409, "column": 55 }, "end": { - "line": 413, + "line": 409, "column": 56 } } @@ -146523,15 +143861,15 @@ "postfix": false, "binop": null }, - "start": 14777, - "end": 14778, + "start": 14544, + "end": 14545, "loc": { "start": { - "line": 413, + "line": 409, "column": 57 }, "end": { - "line": 413, + "line": 409, "column": 58 } } @@ -146539,15 +143877,15 @@ { "type": "CommentLine", "value": " destroy microphone plugin", - "start": 14795, - "end": 14823, + "start": 14562, + "end": 14590, "loc": { "start": { - "line": 414, + "line": 410, "column": 16 }, "end": { - "line": 414, + "line": 410, "column": 44 } } @@ -146567,15 +143905,15 @@ "updateContext": null }, "value": "this", - "start": 14840, - "end": 14844, + "start": 14607, + "end": 14611, "loc": { "start": { - "line": 415, + "line": 411, "column": 16 }, "end": { - "line": 415, + "line": 411, "column": 20 } } @@ -146593,15 +143931,15 @@ "binop": null, "updateContext": null }, - "start": 14844, - "end": 14845, + "start": 14611, + "end": 14612, "loc": { "start": { - "line": 415, + "line": 411, "column": 20 }, "end": { - "line": 415, + "line": 411, "column": 21 } } @@ -146619,15 +143957,15 @@ "binop": null }, "value": "surfer", - "start": 14845, - "end": 14851, + "start": 14612, + "end": 14618, "loc": { "start": { - "line": 415, + "line": 411, "column": 21 }, "end": { - "line": 415, + "line": 411, "column": 27 } } @@ -146645,15 +143983,15 @@ "binop": null, "updateContext": null }, - "start": 14851, - "end": 14852, + "start": 14618, + "end": 14619, "loc": { "start": { - "line": 415, + "line": 411, "column": 27 }, "end": { - "line": 415, + "line": 411, "column": 28 } } @@ -146671,15 +144009,15 @@ "binop": null }, "value": "microphone", - "start": 14852, - "end": 14862, + "start": 14619, + "end": 14629, "loc": { "start": { - "line": 415, + "line": 411, "column": 28 }, "end": { - "line": 415, + "line": 411, "column": 38 } } @@ -146697,15 +144035,15 @@ "binop": null, "updateContext": null }, - "start": 14862, - "end": 14863, + "start": 14629, + "end": 14630, "loc": { "start": { - "line": 415, + "line": 411, "column": 38 }, "end": { - "line": 415, + "line": 411, "column": 39 } } @@ -146723,15 +144061,15 @@ "binop": null }, "value": "destroy", - "start": 14863, - "end": 14870, + "start": 14630, + "end": 14637, "loc": { "start": { - "line": 415, + "line": 411, "column": 39 }, "end": { - "line": 415, + "line": 411, "column": 46 } } @@ -146748,15 +144086,15 @@ "postfix": false, "binop": null }, - "start": 14870, - "end": 14871, + "start": 14637, + "end": 14638, "loc": { "start": { - "line": 415, + "line": 411, "column": 46 }, "end": { - "line": 415, + "line": 411, "column": 47 } } @@ -146773,15 +144111,15 @@ "postfix": false, "binop": null }, - "start": 14871, - "end": 14872, + "start": 14638, + "end": 14639, "loc": { "start": { - "line": 415, + "line": 411, "column": 47 }, "end": { - "line": 415, + "line": 411, "column": 48 } } @@ -146799,15 +144137,15 @@ "binop": null, "updateContext": null }, - "start": 14872, - "end": 14873, + "start": 14639, + "end": 14640, "loc": { "start": { - "line": 415, + "line": 411, "column": 48 }, "end": { - "line": 415, + "line": 411, "column": 49 } } @@ -146827,15 +144165,15 @@ "updateContext": null }, "value": "this", - "start": 14890, - "end": 14894, + "start": 14657, + "end": 14661, "loc": { "start": { - "line": 416, + "line": 412, "column": 16 }, "end": { - "line": 416, + "line": 412, "column": 20 } } @@ -146853,15 +144191,15 @@ "binop": null, "updateContext": null }, - "start": 14894, - "end": 14895, + "start": 14661, + "end": 14662, "loc": { "start": { - "line": 416, + "line": 412, "column": 20 }, "end": { - "line": 416, + "line": 412, "column": 21 } } @@ -146879,15 +144217,15 @@ "binop": null }, "value": "log", - "start": 14895, - "end": 14898, + "start": 14662, + "end": 14665, "loc": { "start": { - "line": 416, + "line": 412, "column": 21 }, "end": { - "line": 416, + "line": 412, "column": 24 } } @@ -146904,15 +144242,15 @@ "postfix": false, "binop": null }, - "start": 14898, - "end": 14899, + "start": 14665, + "end": 14666, "loc": { "start": { - "line": 416, + "line": 412, "column": 24 }, "end": { - "line": 416, + "line": 412, "column": 25 } } @@ -146931,15 +144269,15 @@ "updateContext": null }, "value": "Destroyed microphone plugin", - "start": 14899, - "end": 14928, + "start": 14666, + "end": 14695, "loc": { "start": { - "line": 416, + "line": 412, "column": 25 }, "end": { - "line": 416, + "line": 412, "column": 54 } } @@ -146956,15 +144294,15 @@ "postfix": false, "binop": null }, - "start": 14928, - "end": 14929, + "start": 14695, + "end": 14696, "loc": { "start": { - "line": 416, + "line": 412, "column": 54 }, "end": { - "line": 416, + "line": 412, "column": 55 } } @@ -146982,15 +144320,15 @@ "binop": null, "updateContext": null }, - "start": 14929, - "end": 14930, + "start": 14696, + "end": 14697, "loc": { "start": { - "line": 416, + "line": 412, "column": 55 }, "end": { - "line": 416, + "line": 412, "column": 56 } } @@ -147007,15 +144345,15 @@ "postfix": false, "binop": null }, - "start": 14943, - "end": 14944, + "start": 14710, + "end": 14711, "loc": { "start": { - "line": 417, + "line": 413, "column": 12 }, "end": { - "line": 417, + "line": 413, "column": 13 } } @@ -147023,15 +144361,15 @@ { "type": "CommentLine", "value": " destroy wavesurfer instance", - "start": 14957, - "end": 14987, + "start": 14724, + "end": 14754, "loc": { "start": { - "line": 418, + "line": 414, "column": 12 }, "end": { - "line": 418, + "line": 414, "column": 42 } } @@ -147051,15 +144389,15 @@ "updateContext": null }, "value": "this", - "start": 15000, - "end": 15004, + "start": 14767, + "end": 14771, "loc": { "start": { - "line": 419, + "line": 415, "column": 12 }, "end": { - "line": 419, + "line": 415, "column": 16 } } @@ -147077,15 +144415,15 @@ "binop": null, "updateContext": null }, - "start": 15004, - "end": 15005, + "start": 14771, + "end": 14772, "loc": { "start": { - "line": 419, + "line": 415, "column": 16 }, "end": { - "line": 419, + "line": 415, "column": 17 } } @@ -147103,15 +144441,15 @@ "binop": null }, "value": "surfer", - "start": 15005, - "end": 15011, + "start": 14772, + "end": 14778, "loc": { "start": { - "line": 419, + "line": 415, "column": 17 }, "end": { - "line": 419, + "line": 415, "column": 23 } } @@ -147129,15 +144467,15 @@ "binop": null, "updateContext": null }, - "start": 15011, - "end": 15012, + "start": 14778, + "end": 14779, "loc": { "start": { - "line": 419, + "line": 415, "column": 23 }, "end": { - "line": 419, + "line": 415, "column": 24 } } @@ -147155,15 +144493,15 @@ "binop": null }, "value": "destroy", - "start": 15012, - "end": 15019, + "start": 14779, + "end": 14786, "loc": { "start": { - "line": 419, + "line": 415, "column": 24 }, "end": { - "line": 419, + "line": 415, "column": 31 } } @@ -147180,15 +144518,15 @@ "postfix": false, "binop": null }, - "start": 15019, - "end": 15020, + "start": 14786, + "end": 14787, "loc": { "start": { - "line": 419, + "line": 415, "column": 31 }, "end": { - "line": 419, + "line": 415, "column": 32 } } @@ -147205,15 +144543,15 @@ "postfix": false, "binop": null }, - "start": 15020, - "end": 15021, + "start": 14787, + "end": 14788, "loc": { "start": { - "line": 419, + "line": 415, "column": 32 }, "end": { - "line": 419, + "line": 415, "column": 33 } } @@ -147231,15 +144569,15 @@ "binop": null, "updateContext": null }, - "start": 15021, - "end": 15022, + "start": 14788, + "end": 14789, "loc": { "start": { - "line": 419, + "line": 415, "column": 33 }, "end": { - "line": 419, + "line": 415, "column": 34 } } @@ -147256,15 +144594,15 @@ "postfix": false, "binop": null }, - "start": 15031, - "end": 15032, + "start": 14798, + "end": 14799, "loc": { "start": { - "line": 420, + "line": 416, "column": 8 }, "end": { - "line": 420, + "line": 416, "column": 9 } } @@ -147284,15 +144622,15 @@ "updateContext": null }, "value": "this", - "start": 15041, - "end": 15045, + "start": 14808, + "end": 14812, "loc": { "start": { - "line": 421, + "line": 417, "column": 8 }, "end": { - "line": 421, + "line": 417, "column": 12 } } @@ -147310,15 +144648,15 @@ "binop": null, "updateContext": null }, - "start": 15045, - "end": 15046, + "start": 14812, + "end": 14813, "loc": { "start": { - "line": 421, + "line": 417, "column": 12 }, "end": { - "line": 421, + "line": 417, "column": 13 } } @@ -147336,15 +144674,15 @@ "binop": null }, "value": "log", - "start": 15046, - "end": 15049, + "start": 14813, + "end": 14816, "loc": { "start": { - "line": 421, + "line": 417, "column": 13 }, "end": { - "line": 421, + "line": 417, "column": 16 } } @@ -147361,15 +144699,15 @@ "postfix": false, "binop": null }, - "start": 15049, - "end": 15050, + "start": 14816, + "end": 14817, "loc": { "start": { - "line": 421, + "line": 417, "column": 16 }, "end": { - "line": 421, + "line": 417, "column": 17 } } @@ -147388,15 +144726,15 @@ "updateContext": null }, "value": "Destroyed plugin", - "start": 15050, - "end": 15068, + "start": 14817, + "end": 14835, "loc": { "start": { - "line": 421, + "line": 417, "column": 17 }, "end": { - "line": 421, + "line": 417, "column": 35 } } @@ -147413,15 +144751,15 @@ "postfix": false, "binop": null }, - "start": 15068, - "end": 15069, + "start": 14835, + "end": 14836, "loc": { "start": { - "line": 421, + "line": 417, "column": 35 }, "end": { - "line": 421, + "line": 417, "column": 36 } } @@ -147439,15 +144777,15 @@ "binop": null, "updateContext": null }, - "start": 15069, - "end": 15070, + "start": 14836, + "end": 14837, "loc": { "start": { - "line": 421, + "line": 417, "column": 36 }, "end": { - "line": 421, + "line": 417, "column": 37 } } @@ -147464,15 +144802,15 @@ "postfix": false, "binop": null }, - "start": 15075, - "end": 15076, + "start": 14842, + "end": 14843, "loc": { "start": { - "line": 422, + "line": 418, "column": 4 }, "end": { - "line": 422, + "line": 418, "column": 5 } } @@ -147480,15 +144818,15 @@ { "type": "CommentBlock", "value": "*\n * Indicates whether the plugin is destroyed or not.\n *\n * @return {boolean} Plugin destroyed or not.\n ", - "start": 15082, - "end": 15207, + "start": 14849, + "end": 14974, "loc": { "start": { - "line": 424, + "line": 420, "column": 4 }, "end": { - "line": 428, + "line": 424, "column": 7 } } @@ -147506,15 +144844,15 @@ "binop": null }, "value": "isDestroyed", - "start": 15212, - "end": 15223, + "start": 14979, + "end": 14990, "loc": { "start": { - "line": 429, + "line": 425, "column": 4 }, "end": { - "line": 429, + "line": 425, "column": 15 } } @@ -147531,15 +144869,15 @@ "postfix": false, "binop": null }, - "start": 15223, - "end": 15224, + "start": 14990, + "end": 14991, "loc": { "start": { - "line": 429, + "line": 425, "column": 15 }, "end": { - "line": 429, + "line": 425, "column": 16 } } @@ -147556,15 +144894,15 @@ "postfix": false, "binop": null }, - "start": 15224, - "end": 15225, + "start": 14991, + "end": 14992, "loc": { "start": { - "line": 429, + "line": 425, "column": 16 }, "end": { - "line": 429, + "line": 425, "column": 17 } } @@ -147581,15 +144919,15 @@ "postfix": false, "binop": null }, - "start": 15226, - "end": 15227, + "start": 14993, + "end": 14994, "loc": { "start": { - "line": 429, + "line": 425, "column": 18 }, "end": { - "line": 429, + "line": 425, "column": 19 } } @@ -147609,15 +144947,15 @@ "updateContext": null }, "value": "return", - "start": 15236, - "end": 15242, + "start": 15003, + "end": 15009, "loc": { "start": { - "line": 430, + "line": 426, "column": 8 }, "end": { - "line": 430, + "line": 426, "column": 14 } } @@ -147637,15 +144975,15 @@ "updateContext": null }, "value": "this", - "start": 15243, - "end": 15247, + "start": 15010, + "end": 15014, "loc": { "start": { - "line": 430, + "line": 426, "column": 15 }, "end": { - "line": 430, + "line": 426, "column": 19 } } @@ -147663,15 +145001,15 @@ "binop": null, "updateContext": null }, - "start": 15247, - "end": 15248, + "start": 15014, + "end": 15015, "loc": { "start": { - "line": 430, + "line": 426, "column": 19 }, "end": { - "line": 430, + "line": 426, "column": 20 } } @@ -147689,15 +145027,15 @@ "binop": null }, "value": "player", - "start": 15248, - "end": 15254, + "start": 15015, + "end": 15021, "loc": { "start": { - "line": 430, + "line": 426, "column": 20 }, "end": { - "line": 430, + "line": 426, "column": 26 } } @@ -147716,15 +145054,15 @@ "updateContext": null }, "value": "&&", - "start": 15255, - "end": 15257, + "start": 15022, + "end": 15024, "loc": { "start": { - "line": 430, + "line": 426, "column": 27 }, "end": { - "line": 430, + "line": 426, "column": 29 } } @@ -147741,15 +145079,15 @@ "postfix": false, "binop": null }, - "start": 15258, - "end": 15259, + "start": 15025, + "end": 15026, "loc": { "start": { - "line": 430, + "line": 426, "column": 30 }, "end": { - "line": 430, + "line": 426, "column": 31 } } @@ -147769,15 +145107,15 @@ "updateContext": null }, "value": "this", - "start": 15259, - "end": 15263, + "start": 15026, + "end": 15030, "loc": { "start": { - "line": 430, + "line": 426, "column": 31 }, "end": { - "line": 430, + "line": 426, "column": 35 } } @@ -147795,15 +145133,15 @@ "binop": null, "updateContext": null }, - "start": 15263, - "end": 15264, + "start": 15030, + "end": 15031, "loc": { "start": { - "line": 430, + "line": 426, "column": 35 }, "end": { - "line": 430, + "line": 426, "column": 36 } } @@ -147821,15 +145159,15 @@ "binop": null }, "value": "player", - "start": 15264, - "end": 15270, + "start": 15031, + "end": 15037, "loc": { "start": { - "line": 430, + "line": 426, "column": 36 }, "end": { - "line": 430, + "line": 426, "column": 42 } } @@ -147847,15 +145185,15 @@ "binop": null, "updateContext": null }, - "start": 15270, - "end": 15271, + "start": 15037, + "end": 15038, "loc": { "start": { - "line": 430, + "line": 426, "column": 42 }, "end": { - "line": 430, + "line": 426, "column": 43 } } @@ -147873,15 +145211,15 @@ "binop": null }, "value": "children", - "start": 15271, - "end": 15279, + "start": 15038, + "end": 15046, "loc": { "start": { - "line": 430, + "line": 426, "column": 43 }, "end": { - "line": 430, + "line": 426, "column": 51 } } @@ -147898,15 +145236,15 @@ "postfix": false, "binop": null }, - "start": 15279, - "end": 15280, + "start": 15046, + "end": 15047, "loc": { "start": { - "line": 430, + "line": 426, "column": 51 }, "end": { - "line": 430, + "line": 426, "column": 52 } } @@ -147923,15 +145261,15 @@ "postfix": false, "binop": null }, - "start": 15280, - "end": 15281, + "start": 15047, + "end": 15048, "loc": { "start": { - "line": 430, + "line": 426, "column": 52 }, "end": { - "line": 430, + "line": 426, "column": 53 } } @@ -147950,15 +145288,15 @@ "updateContext": null }, "value": "===", - "start": 15282, - "end": 15285, + "start": 15049, + "end": 15052, "loc": { "start": { - "line": 430, + "line": 426, "column": 54 }, "end": { - "line": 430, + "line": 426, "column": 57 } } @@ -147978,15 +145316,15 @@ "updateContext": null }, "value": "null", - "start": 15286, - "end": 15290, + "start": 15053, + "end": 15057, "loc": { "start": { - "line": 430, + "line": 426, "column": 58 }, "end": { - "line": 430, + "line": 426, "column": 62 } } @@ -148003,15 +145341,15 @@ "postfix": false, "binop": null }, - "start": 15290, - "end": 15291, + "start": 15057, + "end": 15058, "loc": { "start": { - "line": 430, + "line": 426, "column": 62 }, "end": { - "line": 430, + "line": 426, "column": 63 } } @@ -148029,15 +145367,15 @@ "binop": null, "updateContext": null }, - "start": 15291, - "end": 15292, + "start": 15058, + "end": 15059, "loc": { "start": { - "line": 430, + "line": 426, "column": 63 }, "end": { - "line": 430, + "line": 426, "column": 64 } } @@ -148054,15 +145392,15 @@ "postfix": false, "binop": null }, - "start": 15297, - "end": 15298, + "start": 15064, + "end": 15065, "loc": { "start": { - "line": 431, + "line": 427, "column": 4 }, "end": { - "line": 431, + "line": 427, "column": 5 } } @@ -148070,15 +145408,15 @@ { "type": "CommentBlock", "value": "*\n * Remove the player and waveform.\n ", - "start": 15304, - "end": 15354, + "start": 15071, + "end": 15121, "loc": { "start": { - "line": 433, + "line": 429, "column": 4 }, "end": { - "line": 435, + "line": 431, "column": 7 } } @@ -148096,15 +145434,15 @@ "binop": null }, "value": "destroy", - "start": 15359, - "end": 15366, + "start": 15126, + "end": 15133, "loc": { "start": { - "line": 436, + "line": 432, "column": 4 }, "end": { - "line": 436, + "line": 432, "column": 11 } } @@ -148121,15 +145459,15 @@ "postfix": false, "binop": null }, - "start": 15366, - "end": 15367, + "start": 15133, + "end": 15134, "loc": { "start": { - "line": 436, + "line": 432, "column": 11 }, "end": { - "line": 436, + "line": 432, "column": 12 } } @@ -148146,15 +145484,15 @@ "postfix": false, "binop": null }, - "start": 15367, - "end": 15368, + "start": 15134, + "end": 15135, "loc": { "start": { - "line": 436, + "line": 432, "column": 12 }, "end": { - "line": 436, + "line": 432, "column": 13 } } @@ -148171,15 +145509,15 @@ "postfix": false, "binop": null }, - "start": 15369, - "end": 15370, + "start": 15136, + "end": 15137, "loc": { "start": { - "line": 436, + "line": 432, "column": 14 }, "end": { - "line": 436, + "line": 432, "column": 15 } } @@ -148199,15 +145537,15 @@ "updateContext": null }, "value": "this", - "start": 15379, - "end": 15383, + "start": 15146, + "end": 15150, "loc": { "start": { - "line": 437, + "line": 433, "column": 8 }, "end": { - "line": 437, + "line": 433, "column": 12 } } @@ -148225,15 +145563,15 @@ "binop": null, "updateContext": null }, - "start": 15383, - "end": 15384, + "start": 15150, + "end": 15151, "loc": { "start": { - "line": 437, + "line": 433, "column": 12 }, "end": { - "line": 437, + "line": 433, "column": 13 } } @@ -148251,15 +145589,15 @@ "binop": null }, "value": "player", - "start": 15384, - "end": 15390, + "start": 15151, + "end": 15157, "loc": { "start": { - "line": 437, + "line": 433, "column": 13 }, "end": { - "line": 437, + "line": 433, "column": 19 } } @@ -148277,15 +145615,15 @@ "binop": null, "updateContext": null }, - "start": 15390, - "end": 15391, + "start": 15157, + "end": 15158, "loc": { "start": { - "line": 437, + "line": 433, "column": 19 }, "end": { - "line": 437, + "line": 433, "column": 20 } } @@ -148303,15 +145641,15 @@ "binop": null }, "value": "dispose", - "start": 15391, - "end": 15398, + "start": 15158, + "end": 15165, "loc": { "start": { - "line": 437, + "line": 433, "column": 20 }, "end": { - "line": 437, + "line": 433, "column": 27 } } @@ -148328,15 +145666,15 @@ "postfix": false, "binop": null }, - "start": 15398, - "end": 15399, + "start": 15165, + "end": 15166, "loc": { "start": { - "line": 437, + "line": 433, "column": 27 }, "end": { - "line": 437, + "line": 433, "column": 28 } } @@ -148353,15 +145691,15 @@ "postfix": false, "binop": null }, - "start": 15399, - "end": 15400, + "start": 15166, + "end": 15167, "loc": { "start": { - "line": 437, + "line": 433, "column": 28 }, "end": { - "line": 437, + "line": 433, "column": 29 } } @@ -148379,15 +145717,15 @@ "binop": null, "updateContext": null }, - "start": 15400, - "end": 15401, + "start": 15167, + "end": 15168, "loc": { "start": { - "line": 437, + "line": 433, "column": 29 }, "end": { - "line": 437, + "line": 433, "column": 30 } } @@ -148404,15 +145742,15 @@ "postfix": false, "binop": null }, - "start": 15406, - "end": 15407, + "start": 15173, + "end": 15174, "loc": { "start": { - "line": 438, + "line": 434, "column": 4 }, "end": { - "line": 438, + "line": 434, "column": 5 } } @@ -148420,15 +145758,15 @@ { "type": "CommentBlock", "value": "*\n * Set the volume level.\n *\n * @param {number} volume - The new volume level.\n ", - "start": 15413, - "end": 15514, + "start": 15180, + "end": 15281, "loc": { "start": { - "line": 440, + "line": 436, "column": 4 }, "end": { - "line": 444, + "line": 440, "column": 7 } } @@ -148446,15 +145784,15 @@ "binop": null }, "value": "setVolume", - "start": 15519, - "end": 15528, + "start": 15286, + "end": 15295, "loc": { "start": { - "line": 445, + "line": 441, "column": 4 }, "end": { - "line": 445, + "line": 441, "column": 13 } } @@ -148471,15 +145809,15 @@ "postfix": false, "binop": null }, - "start": 15528, - "end": 15529, + "start": 15295, + "end": 15296, "loc": { "start": { - "line": 445, + "line": 441, "column": 13 }, "end": { - "line": 445, + "line": 441, "column": 14 } } @@ -148497,15 +145835,15 @@ "binop": null }, "value": "volume", - "start": 15529, - "end": 15535, + "start": 15296, + "end": 15302, "loc": { "start": { - "line": 445, + "line": 441, "column": 14 }, "end": { - "line": 445, + "line": 441, "column": 20 } } @@ -148522,15 +145860,15 @@ "postfix": false, "binop": null }, - "start": 15535, - "end": 15536, + "start": 15302, + "end": 15303, "loc": { "start": { - "line": 445, + "line": 441, "column": 20 }, "end": { - "line": 445, + "line": 441, "column": 21 } } @@ -148547,15 +145885,15 @@ "postfix": false, "binop": null }, - "start": 15537, - "end": 15538, + "start": 15304, + "end": 15305, "loc": { "start": { - "line": 445, + "line": 441, "column": 22 }, "end": { - "line": 445, + "line": 441, "column": 23 } } @@ -148575,15 +145913,15 @@ "updateContext": null }, "value": "if", - "start": 15547, - "end": 15549, + "start": 15314, + "end": 15316, "loc": { "start": { - "line": 446, + "line": 442, "column": 8 }, "end": { - "line": 446, + "line": 442, "column": 10 } } @@ -148600,15 +145938,15 @@ "postfix": false, "binop": null }, - "start": 15550, - "end": 15551, + "start": 15317, + "end": 15318, "loc": { "start": { - "line": 446, + "line": 442, "column": 11 }, "end": { - "line": 446, + "line": 442, "column": 12 } } @@ -148626,15 +145964,15 @@ "binop": null }, "value": "volume", - "start": 15551, - "end": 15557, + "start": 15318, + "end": 15324, "loc": { "start": { - "line": 446, + "line": 442, "column": 12 }, "end": { - "line": 446, + "line": 442, "column": 18 } } @@ -148653,15 +145991,15 @@ "updateContext": null }, "value": "!==", - "start": 15558, - "end": 15561, + "start": 15325, + "end": 15328, "loc": { "start": { - "line": 446, + "line": 442, "column": 19 }, "end": { - "line": 446, + "line": 442, "column": 22 } } @@ -148679,15 +146017,15 @@ "binop": null }, "value": "undefined", - "start": 15562, - "end": 15571, + "start": 15329, + "end": 15338, "loc": { "start": { - "line": 446, + "line": 442, "column": 23 }, "end": { - "line": 446, + "line": 442, "column": 32 } } @@ -148704,15 +146042,15 @@ "postfix": false, "binop": null }, - "start": 15571, - "end": 15572, + "start": 15338, + "end": 15339, "loc": { "start": { - "line": 446, + "line": 442, "column": 32 }, "end": { - "line": 446, + "line": 442, "column": 33 } } @@ -148729,15 +146067,15 @@ "postfix": false, "binop": null }, - "start": 15573, - "end": 15574, + "start": 15340, + "end": 15341, "loc": { "start": { - "line": 446, + "line": 442, "column": 34 }, "end": { - "line": 446, + "line": 442, "column": 35 } } @@ -148757,15 +146095,15 @@ "updateContext": null }, "value": "this", - "start": 15587, - "end": 15591, + "start": 15354, + "end": 15358, "loc": { "start": { - "line": 447, + "line": 443, "column": 12 }, "end": { - "line": 447, + "line": 443, "column": 16 } } @@ -148783,15 +146121,15 @@ "binop": null, "updateContext": null }, - "start": 15591, - "end": 15592, + "start": 15358, + "end": 15359, "loc": { "start": { - "line": 447, + "line": 443, "column": 16 }, "end": { - "line": 447, + "line": 443, "column": 17 } } @@ -148809,15 +146147,15 @@ "binop": null }, "value": "log", - "start": 15592, - "end": 15595, + "start": 15359, + "end": 15362, "loc": { "start": { - "line": 447, + "line": 443, "column": 17 }, "end": { - "line": 447, + "line": 443, "column": 20 } } @@ -148834,15 +146172,15 @@ "postfix": false, "binop": null }, - "start": 15595, - "end": 15596, + "start": 15362, + "end": 15363, "loc": { "start": { - "line": 447, + "line": 443, "column": 20 }, "end": { - "line": 447, + "line": 443, "column": 21 } } @@ -148861,15 +146199,15 @@ "updateContext": null }, "value": "Changing volume to: ", - "start": 15596, - "end": 15618, + "start": 15363, + "end": 15385, "loc": { "start": { - "line": 447, + "line": 443, "column": 21 }, "end": { - "line": 447, + "line": 443, "column": 43 } } @@ -148888,15 +146226,15 @@ "updateContext": null }, "value": "+", - "start": 15619, - "end": 15620, + "start": 15386, + "end": 15387, "loc": { "start": { - "line": 447, + "line": 443, "column": 44 }, "end": { - "line": 447, + "line": 443, "column": 45 } } @@ -148914,15 +146252,15 @@ "binop": null }, "value": "volume", - "start": 15621, - "end": 15627, + "start": 15388, + "end": 15394, "loc": { "start": { - "line": 447, + "line": 443, "column": 46 }, "end": { - "line": 447, + "line": 443, "column": 52 } } @@ -148939,15 +146277,15 @@ "postfix": false, "binop": null }, - "start": 15627, - "end": 15628, + "start": 15394, + "end": 15395, "loc": { "start": { - "line": 447, + "line": 443, "column": 52 }, "end": { - "line": 447, + "line": 443, "column": 53 } } @@ -148965,15 +146303,15 @@ "binop": null, "updateContext": null }, - "start": 15628, - "end": 15629, + "start": 15395, + "end": 15396, "loc": { "start": { - "line": 447, + "line": 443, "column": 53 }, "end": { - "line": 447, + "line": 443, "column": 54 } } @@ -148981,15 +146319,15 @@ { "type": "CommentLine", "value": " update player volume", - "start": 15643, - "end": 15666, + "start": 15410, + "end": 15433, "loc": { "start": { - "line": 449, + "line": 445, "column": 12 }, "end": { - "line": 449, + "line": 445, "column": 35 } } @@ -149009,15 +146347,15 @@ "updateContext": null }, "value": "this", - "start": 15679, - "end": 15683, + "start": 15446, + "end": 15450, "loc": { "start": { - "line": 450, + "line": 446, "column": 12 }, "end": { - "line": 450, + "line": 446, "column": 16 } } @@ -149035,15 +146373,15 @@ "binop": null, "updateContext": null }, - "start": 15683, - "end": 15684, + "start": 15450, + "end": 15451, "loc": { "start": { - "line": 450, + "line": 446, "column": 16 }, "end": { - "line": 450, + "line": 446, "column": 17 } } @@ -149061,15 +146399,15 @@ "binop": null }, "value": "player", - "start": 15684, - "end": 15690, + "start": 15451, + "end": 15457, "loc": { "start": { - "line": 450, + "line": 446, "column": 17 }, "end": { - "line": 450, + "line": 446, "column": 23 } } @@ -149087,15 +146425,15 @@ "binop": null, "updateContext": null }, - "start": 15690, - "end": 15691, + "start": 15457, + "end": 15458, "loc": { "start": { - "line": 450, + "line": 446, "column": 23 }, "end": { - "line": 450, + "line": 446, "column": 24 } } @@ -149113,15 +146451,15 @@ "binop": null }, "value": "volume", - "start": 15691, - "end": 15697, + "start": 15458, + "end": 15464, "loc": { "start": { - "line": 450, + "line": 446, "column": 24 }, "end": { - "line": 450, + "line": 446, "column": 30 } } @@ -149138,15 +146476,15 @@ "postfix": false, "binop": null }, - "start": 15697, - "end": 15698, + "start": 15464, + "end": 15465, "loc": { "start": { - "line": 450, + "line": 446, "column": 30 }, "end": { - "line": 450, + "line": 446, "column": 31 } } @@ -149164,15 +146502,15 @@ "binop": null }, "value": "volume", - "start": 15698, - "end": 15704, + "start": 15465, + "end": 15471, "loc": { "start": { - "line": 450, + "line": 446, "column": 31 }, "end": { - "line": 450, + "line": 446, "column": 37 } } @@ -149189,15 +146527,15 @@ "postfix": false, "binop": null }, - "start": 15704, - "end": 15705, + "start": 15471, + "end": 15472, "loc": { "start": { - "line": 450, + "line": 446, "column": 37 }, "end": { - "line": 450, + "line": 446, "column": 38 } } @@ -149215,15 +146553,15 @@ "binop": null, "updateContext": null }, - "start": 15705, - "end": 15706, + "start": 15472, + "end": 15473, "loc": { "start": { - "line": 450, + "line": 446, "column": 38 }, "end": { - "line": 450, + "line": 446, "column": 39 } } @@ -149240,15 +146578,15 @@ "postfix": false, "binop": null }, - "start": 15715, - "end": 15716, + "start": 15482, + "end": 15483, "loc": { "start": { - "line": 451, + "line": 447, "column": 8 }, "end": { - "line": 451, + "line": 447, "column": 9 } } @@ -149265,15 +146603,15 @@ "postfix": false, "binop": null }, - "start": 15721, - "end": 15722, + "start": 15488, + "end": 15489, "loc": { "start": { - "line": 452, + "line": 448, "column": 4 }, "end": { - "line": 452, + "line": 448, "column": 5 } } @@ -149281,15 +146619,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": 15728, - "end": 16607, + "start": 15495, + "end": 16374, "loc": { "start": { - "line": 454, + "line": 450, "column": 4 }, "end": { - "line": 471, + "line": 467, "column": 7 } } @@ -149307,15 +146645,15 @@ "binop": null }, "value": "exportImage", - "start": 16612, - "end": 16623, + "start": 16379, + "end": 16390, "loc": { "start": { - "line": 472, + "line": 468, "column": 4 }, "end": { - "line": 472, + "line": 468, "column": 15 } } @@ -149332,15 +146670,15 @@ "postfix": false, "binop": null }, - "start": 16623, - "end": 16624, + "start": 16390, + "end": 16391, "loc": { "start": { - "line": 472, + "line": 468, "column": 15 }, "end": { - "line": 472, + "line": 468, "column": 16 } } @@ -149358,15 +146696,15 @@ "binop": null }, "value": "format", - "start": 16624, - "end": 16630, + "start": 16391, + "end": 16397, "loc": { "start": { - "line": 472, + "line": 468, "column": 16 }, "end": { - "line": 472, + "line": 468, "column": 22 } } @@ -149384,15 +146722,15 @@ "binop": null, "updateContext": null }, - "start": 16630, - "end": 16631, + "start": 16397, + "end": 16398, "loc": { "start": { - "line": 472, + "line": 468, "column": 22 }, "end": { - "line": 472, + "line": 468, "column": 23 } } @@ -149410,15 +146748,15 @@ "binop": null }, "value": "quality", - "start": 16632, - "end": 16639, + "start": 16399, + "end": 16406, "loc": { "start": { - "line": 472, + "line": 468, "column": 24 }, "end": { - "line": 472, + "line": 468, "column": 31 } } @@ -149436,15 +146774,15 @@ "binop": null, "updateContext": null }, - "start": 16639, - "end": 16640, + "start": 16406, + "end": 16407, "loc": { "start": { - "line": 472, + "line": 468, "column": 31 }, "end": { - "line": 472, + "line": 468, "column": 32 } } @@ -149462,15 +146800,15 @@ "binop": null }, "value": "type", - "start": 16641, - "end": 16645, + "start": 16408, + "end": 16412, "loc": { "start": { - "line": 472, + "line": 468, "column": 33 }, "end": { - "line": 472, + "line": 468, "column": 37 } } @@ -149489,15 +146827,15 @@ "updateContext": null }, "value": "=", - "start": 16646, - "end": 16647, + "start": 16413, + "end": 16414, "loc": { "start": { - "line": 472, + "line": 468, "column": 38 }, "end": { - "line": 472, + "line": 468, "column": 39 } } @@ -149516,15 +146854,15 @@ "updateContext": null }, "value": "blob", - "start": 16648, - "end": 16654, + "start": 16415, + "end": 16421, "loc": { "start": { - "line": 472, + "line": 468, "column": 40 }, "end": { - "line": 472, + "line": 468, "column": 46 } } @@ -149541,15 +146879,15 @@ "postfix": false, "binop": null }, - "start": 16654, - "end": 16655, + "start": 16421, + "end": 16422, "loc": { "start": { - "line": 472, + "line": 468, "column": 46 }, "end": { - "line": 472, + "line": 468, "column": 47 } } @@ -149566,15 +146904,15 @@ "postfix": false, "binop": null }, - "start": 16656, - "end": 16657, + "start": 16423, + "end": 16424, "loc": { "start": { - "line": 472, + "line": 468, "column": 48 }, "end": { - "line": 472, + "line": 468, "column": 49 } } @@ -149594,15 +146932,15 @@ "updateContext": null }, "value": "return", - "start": 16666, - "end": 16672, + "start": 16433, + "end": 16439, "loc": { "start": { - "line": 473, + "line": 469, "column": 8 }, "end": { - "line": 473, + "line": 469, "column": 14 } } @@ -149622,15 +146960,15 @@ "updateContext": null }, "value": "this", - "start": 16673, - "end": 16677, + "start": 16440, + "end": 16444, "loc": { "start": { - "line": 473, + "line": 469, "column": 15 }, "end": { - "line": 473, + "line": 469, "column": 19 } } @@ -149648,15 +146986,15 @@ "binop": null, "updateContext": null }, - "start": 16677, - "end": 16678, + "start": 16444, + "end": 16445, "loc": { "start": { - "line": 473, + "line": 469, "column": 19 }, "end": { - "line": 473, + "line": 469, "column": 20 } } @@ -149674,15 +147012,15 @@ "binop": null }, "value": "surfer", - "start": 16678, - "end": 16684, + "start": 16445, + "end": 16451, "loc": { "start": { - "line": 473, + "line": 469, "column": 20 }, "end": { - "line": 473, + "line": 469, "column": 26 } } @@ -149700,15 +147038,15 @@ "binop": null, "updateContext": null }, - "start": 16684, - "end": 16685, + "start": 16451, + "end": 16452, "loc": { "start": { - "line": 473, + "line": 469, "column": 26 }, "end": { - "line": 473, + "line": 469, "column": 27 } } @@ -149726,15 +147064,15 @@ "binop": null }, "value": "exportImage", - "start": 16685, - "end": 16696, + "start": 16452, + "end": 16463, "loc": { "start": { - "line": 473, + "line": 469, "column": 27 }, "end": { - "line": 473, + "line": 469, "column": 38 } } @@ -149751,15 +147089,15 @@ "postfix": false, "binop": null }, - "start": 16696, - "end": 16697, + "start": 16463, + "end": 16464, "loc": { "start": { - "line": 473, + "line": 469, "column": 38 }, "end": { - "line": 473, + "line": 469, "column": 39 } } @@ -149777,15 +147115,15 @@ "binop": null }, "value": "format", - "start": 16697, - "end": 16703, + "start": 16464, + "end": 16470, "loc": { "start": { - "line": 473, + "line": 469, "column": 39 }, "end": { - "line": 473, + "line": 469, "column": 45 } } @@ -149803,15 +147141,15 @@ "binop": null, "updateContext": null }, - "start": 16703, - "end": 16704, + "start": 16470, + "end": 16471, "loc": { "start": { - "line": 473, + "line": 469, "column": 45 }, "end": { - "line": 473, + "line": 469, "column": 46 } } @@ -149829,15 +147167,15 @@ "binop": null }, "value": "quality", - "start": 16705, - "end": 16712, + "start": 16472, + "end": 16479, "loc": { "start": { - "line": 473, + "line": 469, "column": 47 }, "end": { - "line": 473, + "line": 469, "column": 54 } } @@ -149855,15 +147193,15 @@ "binop": null, "updateContext": null }, - "start": 16712, - "end": 16713, + "start": 16479, + "end": 16480, "loc": { "start": { - "line": 473, + "line": 469, "column": 54 }, "end": { - "line": 473, + "line": 469, "column": 55 } } @@ -149881,15 +147219,15 @@ "binop": null }, "value": "type", - "start": 16714, - "end": 16718, + "start": 16481, + "end": 16485, "loc": { "start": { - "line": 473, + "line": 469, "column": 56 }, "end": { - "line": 473, + "line": 469, "column": 60 } } @@ -149906,15 +147244,15 @@ "postfix": false, "binop": null }, - "start": 16718, - "end": 16719, + "start": 16485, + "end": 16486, "loc": { "start": { - "line": 473, + "line": 469, "column": 60 }, "end": { - "line": 473, + "line": 469, "column": 61 } } @@ -149932,15 +147270,15 @@ "binop": null, "updateContext": null }, - "start": 16719, - "end": 16720, + "start": 16486, + "end": 16487, "loc": { "start": { - "line": 473, + "line": 469, "column": 61 }, "end": { - "line": 473, + "line": 469, "column": 62 } } @@ -149957,15 +147295,15 @@ "postfix": false, "binop": null }, - "start": 16725, - "end": 16726, + "start": 16492, + "end": 16493, "loc": { "start": { - "line": 474, + "line": 470, "column": 4 }, "end": { - "line": 474, + "line": 470, "column": 5 } } @@ -149973,15 +147311,15 @@ { "type": "CommentBlock", "value": "*\n * Change the audio output device.\n *\n * @param {string} deviceId - Id of audio output device.\n ", - "start": 16732, - "end": 16850, + "start": 16499, + "end": 16617, "loc": { "start": { - "line": 476, + "line": 472, "column": 4 }, "end": { - "line": 480, + "line": 476, "column": 7 } } @@ -149999,15 +147337,15 @@ "binop": null }, "value": "setAudioOutput", - "start": 16855, - "end": 16869, + "start": 16622, + "end": 16636, "loc": { "start": { - "line": 481, + "line": 477, "column": 4 }, "end": { - "line": 481, + "line": 477, "column": 18 } } @@ -150024,15 +147362,15 @@ "postfix": false, "binop": null }, - "start": 16869, - "end": 16870, + "start": 16636, + "end": 16637, "loc": { "start": { - "line": 481, + "line": 477, "column": 18 }, "end": { - "line": 481, + "line": 477, "column": 19 } } @@ -150050,15 +147388,15 @@ "binop": null }, "value": "deviceId", - "start": 16870, - "end": 16878, + "start": 16637, + "end": 16645, "loc": { "start": { - "line": 481, + "line": 477, "column": 19 }, "end": { - "line": 481, + "line": 477, "column": 27 } } @@ -150075,15 +147413,15 @@ "postfix": false, "binop": null }, - "start": 16878, - "end": 16879, + "start": 16645, + "end": 16646, "loc": { "start": { - "line": 481, + "line": 477, "column": 27 }, "end": { - "line": 481, + "line": 477, "column": 28 } } @@ -150100,15 +147438,15 @@ "postfix": false, "binop": null }, - "start": 16880, - "end": 16881, + "start": 16647, + "end": 16648, "loc": { "start": { - "line": 481, + "line": 477, "column": 29 }, "end": { - "line": 481, + "line": 477, "column": 30 } } @@ -150128,15 +147466,15 @@ "updateContext": null }, "value": "if", - "start": 16890, - "end": 16892, + "start": 16657, + "end": 16659, "loc": { "start": { - "line": 482, + "line": 478, "column": 8 }, "end": { - "line": 482, + "line": 478, "column": 10 } } @@ -150153,15 +147491,15 @@ "postfix": false, "binop": null }, - "start": 16893, - "end": 16894, + "start": 16660, + "end": 16661, "loc": { "start": { - "line": 482, + "line": 478, "column": 11 }, "end": { - "line": 482, + "line": 478, "column": 12 } } @@ -150179,15 +147517,15 @@ "binop": null }, "value": "deviceId", - "start": 16894, - "end": 16902, + "start": 16661, + "end": 16669, "loc": { "start": { - "line": 482, + "line": 478, "column": 12 }, "end": { - "line": 482, + "line": 478, "column": 20 } } @@ -150204,15 +147542,15 @@ "postfix": false, "binop": null }, - "start": 16902, - "end": 16903, + "start": 16669, + "end": 16670, "loc": { "start": { - "line": 482, + "line": 478, "column": 20 }, "end": { - "line": 482, + "line": 478, "column": 21 } } @@ -150229,15 +147567,15 @@ "postfix": false, "binop": null }, - "start": 16904, - "end": 16905, + "start": 16671, + "end": 16672, "loc": { "start": { - "line": 482, + "line": 478, "column": 22 }, "end": { - "line": 482, + "line": 478, "column": 23 } } @@ -150257,15 +147595,15 @@ "updateContext": null }, "value": "this", - "start": 16918, - "end": 16922, + "start": 16685, + "end": 16689, "loc": { "start": { - "line": 483, + "line": 479, "column": 12 }, "end": { - "line": 483, + "line": 479, "column": 16 } } @@ -150283,15 +147621,15 @@ "binop": null, "updateContext": null }, - "start": 16922, - "end": 16923, + "start": 16689, + "end": 16690, "loc": { "start": { - "line": 483, + "line": 479, "column": 16 }, "end": { - "line": 483, + "line": 479, "column": 17 } } @@ -150309,15 +147647,15 @@ "binop": null }, "value": "surfer", - "start": 16923, - "end": 16929, + "start": 16690, + "end": 16696, "loc": { "start": { - "line": 483, + "line": 479, "column": 17 }, "end": { - "line": 483, + "line": 479, "column": 23 } } @@ -150335,15 +147673,15 @@ "binop": null, "updateContext": null }, - "start": 16929, - "end": 16930, + "start": 16696, + "end": 16697, "loc": { "start": { - "line": 483, + "line": 479, "column": 23 }, "end": { - "line": 483, + "line": 479, "column": 24 } } @@ -150361,15 +147699,15 @@ "binop": null }, "value": "setSinkId", - "start": 16930, - "end": 16939, + "start": 16697, + "end": 16706, "loc": { "start": { - "line": 483, + "line": 479, "column": 24 }, "end": { - "line": 483, + "line": 479, "column": 33 } } @@ -150386,15 +147724,15 @@ "postfix": false, "binop": null }, - "start": 16939, - "end": 16940, + "start": 16706, + "end": 16707, "loc": { "start": { - "line": 483, + "line": 479, "column": 33 }, "end": { - "line": 483, + "line": 479, "column": 34 } } @@ -150412,15 +147750,15 @@ "binop": null }, "value": "deviceId", - "start": 16940, - "end": 16948, + "start": 16707, + "end": 16715, "loc": { "start": { - "line": 483, + "line": 479, "column": 34 }, "end": { - "line": 483, + "line": 479, "column": 42 } } @@ -150437,15 +147775,15 @@ "postfix": false, "binop": null }, - "start": 16948, - "end": 16949, + "start": 16715, + "end": 16716, "loc": { "start": { - "line": 483, + "line": 479, "column": 42 }, "end": { - "line": 483, + "line": 479, "column": 43 } } @@ -150463,15 +147801,15 @@ "binop": null, "updateContext": null }, - "start": 16949, - "end": 16950, + "start": 16716, + "end": 16717, "loc": { "start": { - "line": 483, + "line": 479, "column": 43 }, "end": { - "line": 483, + "line": 479, "column": 44 } } @@ -150489,15 +147827,15 @@ "binop": null }, "value": "then", - "start": 16950, - "end": 16954, + "start": 16717, + "end": 16721, "loc": { "start": { - "line": 483, + "line": 479, "column": 44 }, "end": { - "line": 483, + "line": 479, "column": 48 } } @@ -150514,15 +147852,15 @@ "postfix": false, "binop": null }, - "start": 16954, - "end": 16955, + "start": 16721, + "end": 16722, "loc": { "start": { - "line": 483, + "line": 479, "column": 48 }, "end": { - "line": 483, + "line": 479, "column": 49 } } @@ -150539,15 +147877,15 @@ "postfix": false, "binop": null }, - "start": 16955, - "end": 16956, + "start": 16722, + "end": 16723, "loc": { "start": { - "line": 483, + "line": 479, "column": 49 }, "end": { - "line": 483, + "line": 479, "column": 50 } } @@ -150565,15 +147903,15 @@ "binop": null }, "value": "result", - "start": 16956, - "end": 16962, + "start": 16723, + "end": 16729, "loc": { "start": { - "line": 483, + "line": 479, "column": 50 }, "end": { - "line": 483, + "line": 479, "column": 56 } } @@ -150590,15 +147928,15 @@ "postfix": false, "binop": null }, - "start": 16962, - "end": 16963, + "start": 16729, + "end": 16730, "loc": { "start": { - "line": 483, + "line": 479, "column": 56 }, "end": { - "line": 483, + "line": 479, "column": 57 } } @@ -150616,15 +147954,15 @@ "binop": null, "updateContext": null }, - "start": 16964, - "end": 16966, + "start": 16731, + "end": 16733, "loc": { "start": { - "line": 483, + "line": 479, "column": 58 }, "end": { - "line": 483, + "line": 479, "column": 60 } } @@ -150641,15 +147979,15 @@ "postfix": false, "binop": null }, - "start": 16967, - "end": 16968, + "start": 16734, + "end": 16735, "loc": { "start": { - "line": 483, + "line": 479, "column": 61 }, "end": { - "line": 483, + "line": 479, "column": 62 } } @@ -150657,15 +147995,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 16985, - "end": 17004, + "start": 16752, + "end": 16771, "loc": { "start": { - "line": 484, + "line": 480, "column": 16 }, "end": { - "line": 484, + "line": 480, "column": 35 } } @@ -150685,15 +148023,15 @@ "updateContext": null }, "value": "this", - "start": 17021, - "end": 17025, + "start": 16788, + "end": 16792, "loc": { "start": { - "line": 485, + "line": 481, "column": 16 }, "end": { - "line": 485, + "line": 481, "column": 20 } } @@ -150711,15 +148049,15 @@ "binop": null, "updateContext": null }, - "start": 17025, - "end": 17026, + "start": 16792, + "end": 16793, "loc": { "start": { - "line": 485, + "line": 481, "column": 20 }, "end": { - "line": 485, + "line": 481, "column": 21 } } @@ -150737,15 +148075,15 @@ "binop": null }, "value": "player", - "start": 17026, - "end": 17032, + "start": 16793, + "end": 16799, "loc": { "start": { - "line": 485, + "line": 481, "column": 21 }, "end": { - "line": 485, + "line": 481, "column": 27 } } @@ -150763,15 +148101,15 @@ "binop": null, "updateContext": null }, - "start": 17032, - "end": 17033, + "start": 16799, + "end": 16800, "loc": { "start": { - "line": 485, + "line": 481, "column": 27 }, "end": { - "line": 485, + "line": 481, "column": 28 } } @@ -150789,15 +148127,15 @@ "binop": null }, "value": "trigger", - "start": 17033, - "end": 17040, + "start": 16800, + "end": 16807, "loc": { "start": { - "line": 485, + "line": 481, "column": 28 }, "end": { - "line": 485, + "line": 481, "column": 35 } } @@ -150814,15 +148152,15 @@ "postfix": false, "binop": null }, - "start": 17040, - "end": 17041, + "start": 16807, + "end": 16808, "loc": { "start": { - "line": 485, + "line": 481, "column": 35 }, "end": { - "line": 485, + "line": 481, "column": 36 } } @@ -150840,15 +148178,15 @@ "binop": null }, "value": "Event", - "start": 17041, - "end": 17046, + "start": 16808, + "end": 16813, "loc": { "start": { - "line": 485, + "line": 481, "column": 36 }, "end": { - "line": 485, + "line": 481, "column": 41 } } @@ -150866,15 +148204,15 @@ "binop": null, "updateContext": null }, - "start": 17046, - "end": 17047, + "start": 16813, + "end": 16814, "loc": { "start": { - "line": 485, + "line": 481, "column": 41 }, "end": { - "line": 485, + "line": 481, "column": 42 } } @@ -150892,15 +148230,15 @@ "binop": null }, "value": "AUDIO_OUTPUT_READY", - "start": 17047, - "end": 17065, + "start": 16814, + "end": 16832, "loc": { "start": { - "line": 485, + "line": 481, "column": 42 }, "end": { - "line": 485, + "line": 481, "column": 60 } } @@ -150917,15 +148255,15 @@ "postfix": false, "binop": null }, - "start": 17065, - "end": 17066, + "start": 16832, + "end": 16833, "loc": { "start": { - "line": 485, + "line": 481, "column": 60 }, "end": { - "line": 485, + "line": 481, "column": 61 } } @@ -150943,15 +148281,15 @@ "binop": null, "updateContext": null }, - "start": 17066, - "end": 17067, + "start": 16833, + "end": 16834, "loc": { "start": { - "line": 485, + "line": 481, "column": 61 }, "end": { - "line": 485, + "line": 481, "column": 62 } } @@ -150968,15 +148306,15 @@ "postfix": false, "binop": null }, - "start": 17080, - "end": 17081, + "start": 16847, + "end": 16848, "loc": { "start": { - "line": 486, + "line": 482, "column": 12 }, "end": { - "line": 486, + "line": 482, "column": 13 } } @@ -150993,15 +148331,15 @@ "postfix": false, "binop": null }, - "start": 17081, - "end": 17082, + "start": 16848, + "end": 16849, "loc": { "start": { - "line": 486, + "line": 482, "column": 13 }, "end": { - "line": 486, + "line": 482, "column": 14 } } @@ -151019,15 +148357,15 @@ "binop": null, "updateContext": null }, - "start": 17082, - "end": 17083, + "start": 16849, + "end": 16850, "loc": { "start": { - "line": 486, + "line": 482, "column": 14 }, "end": { - "line": 486, + "line": 482, "column": 15 } } @@ -151047,15 +148385,15 @@ "updateContext": null }, "value": "catch", - "start": 17083, - "end": 17088, + "start": 16850, + "end": 16855, "loc": { "start": { - "line": 486, + "line": 482, "column": 15 }, "end": { - "line": 486, + "line": 482, "column": 20 } } @@ -151072,15 +148410,15 @@ "postfix": false, "binop": null }, - "start": 17088, - "end": 17089, + "start": 16855, + "end": 16856, "loc": { "start": { - "line": 486, + "line": 482, "column": 20 }, "end": { - "line": 486, + "line": 482, "column": 21 } } @@ -151097,15 +148435,15 @@ "postfix": false, "binop": null }, - "start": 17089, - "end": 17090, + "start": 16856, + "end": 16857, "loc": { "start": { - "line": 486, + "line": 482, "column": 21 }, "end": { - "line": 486, + "line": 482, "column": 22 } } @@ -151123,15 +148461,15 @@ "binop": null }, "value": "err", - "start": 17090, - "end": 17093, + "start": 16857, + "end": 16860, "loc": { "start": { - "line": 486, + "line": 482, "column": 22 }, "end": { - "line": 486, + "line": 482, "column": 25 } } @@ -151148,15 +148486,15 @@ "postfix": false, "binop": null }, - "start": 17093, - "end": 17094, + "start": 16860, + "end": 16861, "loc": { "start": { - "line": 486, + "line": 482, "column": 25 }, "end": { - "line": 486, + "line": 482, "column": 26 } } @@ -151174,15 +148512,15 @@ "binop": null, "updateContext": null }, - "start": 17095, - "end": 17097, + "start": 16862, + "end": 16864, "loc": { "start": { - "line": 486, + "line": 482, "column": 27 }, "end": { - "line": 486, + "line": 482, "column": 29 } } @@ -151199,15 +148537,15 @@ "postfix": false, "binop": null }, - "start": 17098, - "end": 17099, + "start": 16865, + "end": 16866, "loc": { "start": { - "line": 486, + "line": 482, "column": 30 }, "end": { - "line": 486, + "line": 482, "column": 31 } } @@ -151215,15 +148553,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 17116, - "end": 17135, + "start": 16883, + "end": 16902, "loc": { "start": { - "line": 487, + "line": 483, "column": 16 }, "end": { - "line": 487, + "line": 483, "column": 35 } } @@ -151243,15 +148581,15 @@ "updateContext": null }, "value": "this", - "start": 17152, - "end": 17156, + "start": 16919, + "end": 16923, "loc": { "start": { - "line": 488, + "line": 484, "column": 16 }, "end": { - "line": 488, + "line": 484, "column": 20 } } @@ -151269,15 +148607,15 @@ "binop": null, "updateContext": null }, - "start": 17156, - "end": 17157, + "start": 16923, + "end": 16924, "loc": { "start": { - "line": 488, + "line": 484, "column": 20 }, "end": { - "line": 488, + "line": 484, "column": 21 } } @@ -151295,15 +148633,15 @@ "binop": null }, "value": "player", - "start": 17157, - "end": 17163, + "start": 16924, + "end": 16930, "loc": { "start": { - "line": 488, + "line": 484, "column": 21 }, "end": { - "line": 488, + "line": 484, "column": 27 } } @@ -151321,15 +148659,15 @@ "binop": null, "updateContext": null }, - "start": 17163, - "end": 17164, + "start": 16930, + "end": 16931, "loc": { "start": { - "line": 488, + "line": 484, "column": 27 }, "end": { - "line": 488, + "line": 484, "column": 28 } } @@ -151347,15 +148685,15 @@ "binop": null }, "value": "trigger", - "start": 17164, - "end": 17171, + "start": 16931, + "end": 16938, "loc": { "start": { - "line": 488, + "line": 484, "column": 28 }, "end": { - "line": 488, + "line": 484, "column": 35 } } @@ -151372,15 +148710,15 @@ "postfix": false, "binop": null }, - "start": 17171, - "end": 17172, + "start": 16938, + "end": 16939, "loc": { "start": { - "line": 488, + "line": 484, "column": 35 }, "end": { - "line": 488, + "line": 484, "column": 36 } } @@ -151398,15 +148736,15 @@ "binop": null }, "value": "Event", - "start": 17172, - "end": 17177, + "start": 16939, + "end": 16944, "loc": { "start": { - "line": 488, + "line": 484, "column": 36 }, "end": { - "line": 488, + "line": 484, "column": 41 } } @@ -151424,15 +148762,15 @@ "binop": null, "updateContext": null }, - "start": 17177, - "end": 17178, + "start": 16944, + "end": 16945, "loc": { "start": { - "line": 488, + "line": 484, "column": 41 }, "end": { - "line": 488, + "line": 484, "column": 42 } } @@ -151450,15 +148788,15 @@ "binop": null }, "value": "ERROR", - "start": 17178, - "end": 17183, + "start": 16945, + "end": 16950, "loc": { "start": { - "line": 488, + "line": 484, "column": 42 }, "end": { - "line": 488, + "line": 484, "column": 47 } } @@ -151476,15 +148814,15 @@ "binop": null, "updateContext": null }, - "start": 17183, - "end": 17184, + "start": 16950, + "end": 16951, "loc": { "start": { - "line": 488, + "line": 484, "column": 47 }, "end": { - "line": 488, + "line": 484, "column": 48 } } @@ -151502,15 +148840,15 @@ "binop": null }, "value": "err", - "start": 17185, - "end": 17188, + "start": 16952, + "end": 16955, "loc": { "start": { - "line": 488, + "line": 484, "column": 49 }, "end": { - "line": 488, + "line": 484, "column": 52 } } @@ -151527,15 +148865,15 @@ "postfix": false, "binop": null }, - "start": 17188, - "end": 17189, + "start": 16955, + "end": 16956, "loc": { "start": { - "line": 488, + "line": 484, "column": 52 }, "end": { - "line": 488, + "line": 484, "column": 53 } } @@ -151553,15 +148891,15 @@ "binop": null, "updateContext": null }, - "start": 17189, - "end": 17190, + "start": 16956, + "end": 16957, "loc": { "start": { - "line": 488, + "line": 484, "column": 53 }, "end": { - "line": 488, + "line": 484, "column": 54 } } @@ -151581,15 +148919,15 @@ "updateContext": null }, "value": "this", - "start": 17208, - "end": 17212, + "start": 16975, + "end": 16979, "loc": { "start": { - "line": 490, + "line": 486, "column": 16 }, "end": { - "line": 490, + "line": 486, "column": 20 } } @@ -151607,15 +148945,15 @@ "binop": null, "updateContext": null }, - "start": 17212, - "end": 17213, + "start": 16979, + "end": 16980, "loc": { "start": { - "line": 490, + "line": 486, "column": 20 }, "end": { - "line": 490, + "line": 486, "column": 21 } } @@ -151633,15 +148971,15 @@ "binop": null }, "value": "log", - "start": 17213, - "end": 17216, + "start": 16980, + "end": 16983, "loc": { "start": { - "line": 490, + "line": 486, "column": 21 }, "end": { - "line": 490, + "line": 486, "column": 24 } } @@ -151658,15 +148996,15 @@ "postfix": false, "binop": null }, - "start": 17216, - "end": 17217, + "start": 16983, + "end": 16984, "loc": { "start": { - "line": 490, + "line": 486, "column": 24 }, "end": { - "line": 490, + "line": 486, "column": 25 } } @@ -151684,15 +149022,15 @@ "binop": null }, "value": "err", - "start": 17217, - "end": 17220, + "start": 16984, + "end": 16987, "loc": { "start": { - "line": 490, + "line": 486, "column": 25 }, "end": { - "line": 490, + "line": 486, "column": 28 } } @@ -151710,15 +149048,15 @@ "binop": null, "updateContext": null }, - "start": 17220, - "end": 17221, + "start": 16987, + "end": 16988, "loc": { "start": { - "line": 490, + "line": 486, "column": 28 }, "end": { - "line": 490, + "line": 486, "column": 29 } } @@ -151737,15 +149075,15 @@ "updateContext": null }, "value": "error", - "start": 17222, - "end": 17229, + "start": 16989, + "end": 16996, "loc": { "start": { - "line": 490, + "line": 486, "column": 30 }, "end": { - "line": 490, + "line": 486, "column": 37 } } @@ -151762,15 +149100,15 @@ "postfix": false, "binop": null }, - "start": 17229, - "end": 17230, + "start": 16996, + "end": 16997, "loc": { "start": { - "line": 490, + "line": 486, "column": 37 }, "end": { - "line": 490, + "line": 486, "column": 38 } } @@ -151788,15 +149126,15 @@ "binop": null, "updateContext": null }, - "start": 17230, - "end": 17231, + "start": 16997, + "end": 16998, "loc": { "start": { - "line": 490, + "line": 486, "column": 38 }, "end": { - "line": 490, + "line": 486, "column": 39 } } @@ -151813,15 +149151,15 @@ "postfix": false, "binop": null }, - "start": 17244, - "end": 17245, + "start": 17011, + "end": 17012, "loc": { "start": { - "line": 491, + "line": 487, "column": 12 }, "end": { - "line": 491, + "line": 487, "column": 13 } } @@ -151838,15 +149176,15 @@ "postfix": false, "binop": null }, - "start": 17245, - "end": 17246, + "start": 17012, + "end": 17013, "loc": { "start": { - "line": 491, + "line": 487, "column": 13 }, "end": { - "line": 491, + "line": 487, "column": 14 } } @@ -151864,15 +149202,15 @@ "binop": null, "updateContext": null }, - "start": 17246, - "end": 17247, + "start": 17013, + "end": 17014, "loc": { "start": { - "line": 491, + "line": 487, "column": 14 }, "end": { - "line": 491, + "line": 487, "column": 15 } } @@ -151889,15 +149227,15 @@ "postfix": false, "binop": null }, - "start": 17256, - "end": 17257, + "start": 17023, + "end": 17024, "loc": { "start": { - "line": 492, + "line": 488, "column": 8 }, "end": { - "line": 492, + "line": 488, "column": 9 } } @@ -151914,15 +149252,15 @@ "postfix": false, "binop": null }, - "start": 17262, - "end": 17263, + "start": 17029, + "end": 17030, "loc": { "start": { - "line": 493, + "line": 489, "column": 4 }, "end": { - "line": 493, + "line": 489, "column": 5 } } @@ -151930,15 +149268,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": 17269, - "end": 17468, + "start": 17036, + "end": 17235, "loc": { "start": { - "line": 495, + "line": 491, "column": 4 }, "end": { - "line": 501, + "line": 497, "column": 7 } } @@ -151956,15 +149294,15 @@ "binop": null }, "value": "getCurrentTime", - "start": 17473, - "end": 17487, + "start": 17240, + "end": 17254, "loc": { "start": { - "line": 502, + "line": 498, "column": 4 }, "end": { - "line": 502, + "line": 498, "column": 18 } } @@ -151981,15 +149319,15 @@ "postfix": false, "binop": null }, - "start": 17487, - "end": 17488, + "start": 17254, + "end": 17255, "loc": { "start": { - "line": 502, + "line": 498, "column": 18 }, "end": { - "line": 502, + "line": 498, "column": 19 } } @@ -152006,15 +149344,15 @@ "postfix": false, "binop": null }, - "start": 17488, - "end": 17489, + "start": 17255, + "end": 17256, "loc": { "start": { - "line": 502, + "line": 498, "column": 19 }, "end": { - "line": 502, + "line": 498, "column": 20 } } @@ -152031,15 +149369,15 @@ "postfix": false, "binop": null }, - "start": 17490, - "end": 17491, + "start": 17257, + "end": 17258, "loc": { "start": { - "line": 502, + "line": 498, "column": 21 }, "end": { - "line": 502, + "line": 498, "column": 22 } } @@ -152059,15 +149397,15 @@ "updateContext": null }, "value": "let", - "start": 17500, - "end": 17503, + "start": 17267, + "end": 17270, "loc": { "start": { - "line": 503, + "line": 499, "column": 8 }, "end": { - "line": 503, + "line": 499, "column": 11 } } @@ -152085,15 +149423,15 @@ "binop": null }, "value": "currentTime", - "start": 17504, - "end": 17515, + "start": 17271, + "end": 17282, "loc": { "start": { - "line": 503, + "line": 499, "column": 12 }, "end": { - "line": 503, + "line": 499, "column": 23 } } @@ -152112,15 +149450,15 @@ "updateContext": null }, "value": "=", - "start": 17516, - "end": 17517, + "start": 17283, + "end": 17284, "loc": { "start": { - "line": 503, + "line": 499, "column": 24 }, "end": { - "line": 503, + "line": 499, "column": 25 } } @@ -152140,15 +149478,15 @@ "updateContext": null }, "value": "this", - "start": 17518, - "end": 17522, + "start": 17285, + "end": 17289, "loc": { "start": { - "line": 503, + "line": 499, "column": 26 }, "end": { - "line": 503, + "line": 499, "column": 30 } } @@ -152166,15 +149504,15 @@ "binop": null, "updateContext": null }, - "start": 17522, - "end": 17523, + "start": 17289, + "end": 17290, "loc": { "start": { - "line": 503, + "line": 499, "column": 30 }, "end": { - "line": 503, + "line": 499, "column": 31 } } @@ -152192,15 +149530,15 @@ "binop": null }, "value": "surfer", - "start": 17523, - "end": 17529, + "start": 17290, + "end": 17296, "loc": { "start": { - "line": 503, + "line": 499, "column": 31 }, "end": { - "line": 503, + "line": 499, "column": 37 } } @@ -152218,15 +149556,15 @@ "binop": null, "updateContext": null }, - "start": 17529, - "end": 17530, + "start": 17296, + "end": 17297, "loc": { "start": { - "line": 503, + "line": 499, "column": 37 }, "end": { - "line": 503, + "line": 499, "column": 38 } } @@ -152244,15 +149582,15 @@ "binop": null }, "value": "getCurrentTime", - "start": 17530, - "end": 17544, + "start": 17297, + "end": 17311, "loc": { "start": { - "line": 503, + "line": 499, "column": 38 }, "end": { - "line": 503, + "line": 499, "column": 52 } } @@ -152269,15 +149607,15 @@ "postfix": false, "binop": null }, - "start": 17544, - "end": 17545, + "start": 17311, + "end": 17312, "loc": { "start": { - "line": 503, + "line": 499, "column": 52 }, "end": { - "line": 503, + "line": 499, "column": 53 } } @@ -152294,15 +149632,15 @@ "postfix": false, "binop": null }, - "start": 17545, - "end": 17546, + "start": 17312, + "end": 17313, "loc": { "start": { - "line": 503, + "line": 499, "column": 53 }, "end": { - "line": 503, + "line": 499, "column": 54 } } @@ -152320,15 +149658,15 @@ "binop": null, "updateContext": null }, - "start": 17546, - "end": 17547, + "start": 17313, + "end": 17314, "loc": { "start": { - "line": 503, + "line": 499, "column": 54 }, "end": { - "line": 503, + "line": 499, "column": 55 } } @@ -152346,15 +149684,15 @@ "binop": null }, "value": "currentTime", - "start": 17556, - "end": 17567, + "start": 17323, + "end": 17334, "loc": { "start": { - "line": 504, + "line": 500, "column": 8 }, "end": { - "line": 504, + "line": 500, "column": 19 } } @@ -152373,15 +149711,15 @@ "updateContext": null }, "value": "=", - "start": 17568, - "end": 17569, + "start": 17335, + "end": 17336, "loc": { "start": { - "line": 504, + "line": 500, "column": 20 }, "end": { - "line": 504, + "line": 500, "column": 21 } } @@ -152399,15 +149737,15 @@ "binop": null }, "value": "isNaN", - "start": 17570, - "end": 17575, + "start": 17337, + "end": 17342, "loc": { "start": { - "line": 504, + "line": 500, "column": 22 }, "end": { - "line": 504, + "line": 500, "column": 27 } } @@ -152424,15 +149762,15 @@ "postfix": false, "binop": null }, - "start": 17575, - "end": 17576, + "start": 17342, + "end": 17343, "loc": { "start": { - "line": 504, + "line": 500, "column": 27 }, "end": { - "line": 504, + "line": 500, "column": 28 } } @@ -152450,15 +149788,15 @@ "binop": null }, "value": "currentTime", - "start": 17576, - "end": 17587, + "start": 17343, + "end": 17354, "loc": { "start": { - "line": 504, + "line": 500, "column": 28 }, "end": { - "line": 504, + "line": 500, "column": 39 } } @@ -152475,15 +149813,15 @@ "postfix": false, "binop": null }, - "start": 17587, - "end": 17588, + "start": 17354, + "end": 17355, "loc": { "start": { - "line": 504, + "line": 500, "column": 39 }, "end": { - "line": 504, + "line": 500, "column": 40 } } @@ -152501,15 +149839,15 @@ "binop": null, "updateContext": null }, - "start": 17589, - "end": 17590, + "start": 17356, + "end": 17357, "loc": { "start": { - "line": 504, + "line": 500, "column": 41 }, "end": { - "line": 504, + "line": 500, "column": 42 } } @@ -152528,15 +149866,15 @@ "updateContext": null }, "value": 0, - "start": 17591, - "end": 17592, + "start": 17358, + "end": 17359, "loc": { "start": { - "line": 504, + "line": 500, "column": 43 }, "end": { - "line": 504, + "line": 500, "column": 44 } } @@ -152554,15 +149892,15 @@ "binop": null, "updateContext": null }, - "start": 17593, - "end": 17594, + "start": 17360, + "end": 17361, "loc": { "start": { - "line": 504, + "line": 500, "column": 45 }, "end": { - "line": 504, + "line": 500, "column": 46 } } @@ -152580,15 +149918,15 @@ "binop": null }, "value": "currentTime", - "start": 17595, - "end": 17606, + "start": 17362, + "end": 17373, "loc": { "start": { - "line": 504, + "line": 500, "column": 47 }, "end": { - "line": 504, + "line": 500, "column": 58 } } @@ -152606,15 +149944,15 @@ "binop": null, "updateContext": null }, - "start": 17606, - "end": 17607, + "start": 17373, + "end": 17374, "loc": { "start": { - "line": 504, + "line": 500, "column": 58 }, "end": { - "line": 504, + "line": 500, "column": 59 } } @@ -152634,15 +149972,15 @@ "updateContext": null }, "value": "return", - "start": 17617, - "end": 17623, + "start": 17384, + "end": 17390, "loc": { "start": { - "line": 506, + "line": 502, "column": 8 }, "end": { - "line": 506, + "line": 502, "column": 14 } } @@ -152660,15 +149998,15 @@ "binop": null }, "value": "currentTime", - "start": 17624, - "end": 17635, + "start": 17391, + "end": 17402, "loc": { "start": { - "line": 506, + "line": 502, "column": 15 }, "end": { - "line": 506, + "line": 502, "column": 26 } } @@ -152686,15 +150024,15 @@ "binop": null, "updateContext": null }, - "start": 17635, - "end": 17636, + "start": 17402, + "end": 17403, "loc": { "start": { - "line": 506, + "line": 502, "column": 26 }, "end": { - "line": 506, + "line": 502, "column": 27 } } @@ -152711,15 +150049,15 @@ "postfix": false, "binop": null }, - "start": 17641, - "end": 17642, + "start": 17408, + "end": 17409, "loc": { "start": { - "line": 507, + "line": 503, "column": 4 }, "end": { - "line": 507, + "line": 503, "column": 5 } } @@ -152727,15 +150065,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": 17648, - "end": 17919, + "start": 17415, + "end": 17686, "loc": { "start": { - "line": 509, + "line": 505, "column": 4 }, "end": { - "line": 516, + "line": 512, "column": 7 } } @@ -152753,15 +150091,15 @@ "binop": null }, "value": "setCurrentTime", - "start": 17924, - "end": 17938, + "start": 17691, + "end": 17705, "loc": { "start": { - "line": 517, + "line": 513, "column": 4 }, "end": { - "line": 517, + "line": 513, "column": 18 } } @@ -152778,15 +150116,15 @@ "postfix": false, "binop": null }, - "start": 17938, - "end": 17939, + "start": 17705, + "end": 17706, "loc": { "start": { - "line": 517, + "line": 513, "column": 18 }, "end": { - "line": 517, + "line": 513, "column": 19 } } @@ -152804,15 +150142,15 @@ "binop": null }, "value": "currentTime", - "start": 17939, - "end": 17950, + "start": 17706, + "end": 17717, "loc": { "start": { - "line": 517, + "line": 513, "column": 19 }, "end": { - "line": 517, + "line": 513, "column": 30 } } @@ -152830,15 +150168,15 @@ "binop": null, "updateContext": null }, - "start": 17950, - "end": 17951, + "start": 17717, + "end": 17718, "loc": { "start": { - "line": 517, + "line": 513, "column": 30 }, "end": { - "line": 517, + "line": 513, "column": 31 } } @@ -152856,15 +150194,15 @@ "binop": null }, "value": "duration", - "start": 17952, - "end": 17960, + "start": 17719, + "end": 17727, "loc": { "start": { - "line": 517, + "line": 513, "column": 32 }, "end": { - "line": 517, + "line": 513, "column": 40 } } @@ -152881,15 +150219,15 @@ "postfix": false, "binop": null }, - "start": 17960, - "end": 17961, + "start": 17727, + "end": 17728, "loc": { "start": { - "line": 517, + "line": 513, "column": 40 }, "end": { - "line": 517, + "line": 513, "column": 41 } } @@ -152906,15 +150244,15 @@ "postfix": false, "binop": null }, - "start": 17962, - "end": 17963, + "start": 17729, + "end": 17730, "loc": { "start": { - "line": 517, + "line": 513, "column": 42 }, "end": { - "line": 517, + "line": 513, "column": 43 } } @@ -152934,15 +150272,15 @@ "updateContext": null }, "value": "if", - "start": 17972, - "end": 17974, + "start": 17739, + "end": 17741, "loc": { "start": { - "line": 518, + "line": 514, "column": 8 }, "end": { - "line": 518, + "line": 514, "column": 10 } } @@ -152959,15 +150297,15 @@ "postfix": false, "binop": null }, - "start": 17975, - "end": 17976, + "start": 17742, + "end": 17743, "loc": { "start": { - "line": 518, + "line": 514, "column": 11 }, "end": { - "line": 518, + "line": 514, "column": 12 } } @@ -152985,15 +150323,15 @@ "binop": null }, "value": "currentTime", - "start": 17976, - "end": 17987, + "start": 17743, + "end": 17754, "loc": { "start": { - "line": 518, + "line": 514, "column": 12 }, "end": { - "line": 518, + "line": 514, "column": 23 } } @@ -153012,15 +150350,15 @@ "updateContext": null }, "value": "===", - "start": 17988, - "end": 17991, + "start": 17755, + "end": 17758, "loc": { "start": { - "line": 518, + "line": 514, "column": 24 }, "end": { - "line": 518, + "line": 514, "column": 27 } } @@ -153038,15 +150376,15 @@ "binop": null }, "value": "undefined", - "start": 17992, - "end": 18001, + "start": 17759, + "end": 17768, "loc": { "start": { - "line": 518, + "line": 514, "column": 28 }, "end": { - "line": 518, + "line": 514, "column": 37 } } @@ -153063,15 +150401,15 @@ "postfix": false, "binop": null }, - "start": 18001, - "end": 18002, + "start": 17768, + "end": 17769, "loc": { "start": { - "line": 518, + "line": 514, "column": 37 }, "end": { - "line": 518, + "line": 514, "column": 38 } } @@ -153088,15 +150426,15 @@ "postfix": false, "binop": null }, - "start": 18003, - "end": 18004, + "start": 17770, + "end": 17771, "loc": { "start": { - "line": 518, + "line": 514, "column": 39 }, "end": { - "line": 518, + "line": 514, "column": 40 } } @@ -153114,15 +150452,15 @@ "binop": null }, "value": "currentTime", - "start": 18017, - "end": 18028, + "start": 17784, + "end": 17795, "loc": { "start": { - "line": 519, + "line": 515, "column": 12 }, "end": { - "line": 519, + "line": 515, "column": 23 } } @@ -153141,15 +150479,15 @@ "updateContext": null }, "value": "=", - "start": 18029, - "end": 18030, + "start": 17796, + "end": 17797, "loc": { "start": { - "line": 519, + "line": 515, "column": 24 }, "end": { - "line": 519, + "line": 515, "column": 25 } } @@ -153169,15 +150507,15 @@ "updateContext": null }, "value": "this", - "start": 18031, - "end": 18035, + "start": 17798, + "end": 17802, "loc": { "start": { - "line": 519, + "line": 515, "column": 26 }, "end": { - "line": 519, + "line": 515, "column": 30 } } @@ -153195,15 +150533,15 @@ "binop": null, "updateContext": null }, - "start": 18035, - "end": 18036, + "start": 17802, + "end": 17803, "loc": { "start": { - "line": 519, + "line": 515, "column": 30 }, "end": { - "line": 519, + "line": 515, "column": 31 } } @@ -153221,15 +150559,15 @@ "binop": null }, "value": "surfer", - "start": 18036, - "end": 18042, + "start": 17803, + "end": 17809, "loc": { "start": { - "line": 519, + "line": 515, "column": 31 }, "end": { - "line": 519, + "line": 515, "column": 37 } } @@ -153247,15 +150585,15 @@ "binop": null, "updateContext": null }, - "start": 18042, - "end": 18043, + "start": 17809, + "end": 17810, "loc": { "start": { - "line": 519, + "line": 515, "column": 37 }, "end": { - "line": 519, + "line": 515, "column": 38 } } @@ -153273,15 +150611,15 @@ "binop": null }, "value": "getCurrentTime", - "start": 18043, - "end": 18057, + "start": 17810, + "end": 17824, "loc": { "start": { - "line": 519, + "line": 515, "column": 38 }, "end": { - "line": 519, + "line": 515, "column": 52 } } @@ -153298,15 +150636,15 @@ "postfix": false, "binop": null }, - "start": 18057, - "end": 18058, + "start": 17824, + "end": 17825, "loc": { "start": { - "line": 519, + "line": 515, "column": 52 }, "end": { - "line": 519, + "line": 515, "column": 53 } } @@ -153323,15 +150661,15 @@ "postfix": false, "binop": null }, - "start": 18058, - "end": 18059, + "start": 17825, + "end": 17826, "loc": { "start": { - "line": 519, + "line": 515, "column": 53 }, "end": { - "line": 519, + "line": 515, "column": 54 } } @@ -153349,15 +150687,15 @@ "binop": null, "updateContext": null }, - "start": 18059, - "end": 18060, + "start": 17826, + "end": 17827, "loc": { "start": { - "line": 519, + "line": 515, "column": 54 }, "end": { - "line": 519, + "line": 515, "column": 55 } } @@ -153374,15 +150712,15 @@ "postfix": false, "binop": null }, - "start": 18069, - "end": 18070, + "start": 17836, + "end": 17837, "loc": { "start": { - "line": 520, + "line": 516, "column": 8 }, "end": { - "line": 520, + "line": 516, "column": 9 } } @@ -153402,15 +150740,15 @@ "updateContext": null }, "value": "if", - "start": 18080, - "end": 18082, + "start": 17847, + "end": 17849, "loc": { "start": { - "line": 522, + "line": 518, "column": 8 }, "end": { - "line": 522, + "line": 518, "column": 10 } } @@ -153427,15 +150765,15 @@ "postfix": false, "binop": null }, - "start": 18083, - "end": 18084, + "start": 17850, + "end": 17851, "loc": { "start": { - "line": 522, + "line": 518, "column": 11 }, "end": { - "line": 522, + "line": 518, "column": 12 } } @@ -153453,15 +150791,15 @@ "binop": null }, "value": "duration", - "start": 18084, - "end": 18092, + "start": 17851, + "end": 17859, "loc": { "start": { - "line": 522, + "line": 518, "column": 12 }, "end": { - "line": 522, + "line": 518, "column": 20 } } @@ -153480,15 +150818,15 @@ "updateContext": null }, "value": "===", - "start": 18093, - "end": 18096, + "start": 17860, + "end": 17863, "loc": { "start": { - "line": 522, + "line": 518, "column": 21 }, "end": { - "line": 522, + "line": 518, "column": 24 } } @@ -153506,15 +150844,15 @@ "binop": null }, "value": "undefined", - "start": 18097, - "end": 18106, + "start": 17864, + "end": 17873, "loc": { "start": { - "line": 522, + "line": 518, "column": 25 }, "end": { - "line": 522, + "line": 518, "column": 34 } } @@ -153531,15 +150869,15 @@ "postfix": false, "binop": null }, - "start": 18106, - "end": 18107, + "start": 17873, + "end": 17874, "loc": { "start": { - "line": 522, + "line": 518, "column": 34 }, "end": { - "line": 522, + "line": 518, "column": 35 } } @@ -153556,15 +150894,15 @@ "postfix": false, "binop": null }, - "start": 18108, - "end": 18109, + "start": 17875, + "end": 17876, "loc": { "start": { - "line": 522, + "line": 518, "column": 36 }, "end": { - "line": 522, + "line": 518, "column": 37 } } @@ -153582,15 +150920,15 @@ "binop": null }, "value": "duration", - "start": 18122, - "end": 18130, + "start": 17889, + "end": 17897, "loc": { "start": { - "line": 523, + "line": 519, "column": 12 }, "end": { - "line": 523, + "line": 519, "column": 20 } } @@ -153609,15 +150947,15 @@ "updateContext": null }, "value": "=", - "start": 18131, - "end": 18132, + "start": 17898, + "end": 17899, "loc": { "start": { - "line": 523, + "line": 519, "column": 21 }, "end": { - "line": 523, + "line": 519, "column": 22 } } @@ -153637,15 +150975,15 @@ "updateContext": null }, "value": "this", - "start": 18133, - "end": 18137, + "start": 17900, + "end": 17904, "loc": { "start": { - "line": 523, + "line": 519, "column": 23 }, "end": { - "line": 523, + "line": 519, "column": 27 } } @@ -153663,15 +151001,15 @@ "binop": null, "updateContext": null }, - "start": 18137, - "end": 18138, + "start": 17904, + "end": 17905, "loc": { "start": { - "line": 523, + "line": 519, "column": 27 }, "end": { - "line": 523, + "line": 519, "column": 28 } } @@ -153689,15 +151027,15 @@ "binop": null }, "value": "surfer", - "start": 18138, - "end": 18144, + "start": 17905, + "end": 17911, "loc": { "start": { - "line": 523, + "line": 519, "column": 28 }, "end": { - "line": 523, + "line": 519, "column": 34 } } @@ -153715,15 +151053,15 @@ "binop": null, "updateContext": null }, - "start": 18144, - "end": 18145, + "start": 17911, + "end": 17912, "loc": { "start": { - "line": 523, + "line": 519, "column": 34 }, "end": { - "line": 523, + "line": 519, "column": 35 } } @@ -153741,15 +151079,15 @@ "binop": null }, "value": "getDuration", - "start": 18145, - "end": 18156, + "start": 17912, + "end": 17923, "loc": { "start": { - "line": 523, + "line": 519, "column": 35 }, "end": { - "line": 523, + "line": 519, "column": 46 } } @@ -153766,15 +151104,15 @@ "postfix": false, "binop": null }, - "start": 18156, - "end": 18157, + "start": 17923, + "end": 17924, "loc": { "start": { - "line": 523, + "line": 519, "column": 46 }, "end": { - "line": 523, + "line": 519, "column": 47 } } @@ -153791,15 +151129,15 @@ "postfix": false, "binop": null }, - "start": 18157, - "end": 18158, + "start": 17924, + "end": 17925, "loc": { "start": { - "line": 523, + "line": 519, "column": 47 }, "end": { - "line": 523, + "line": 519, "column": 48 } } @@ -153817,15 +151155,15 @@ "binop": null, "updateContext": null }, - "start": 18158, - "end": 18159, + "start": 17925, + "end": 17926, "loc": { "start": { - "line": 523, + "line": 519, "column": 48 }, "end": { - "line": 523, + "line": 519, "column": 49 } } @@ -153842,15 +151180,15 @@ "postfix": false, "binop": null }, - "start": 18168, - "end": 18169, + "start": 17935, + "end": 17936, "loc": { "start": { - "line": 524, + "line": 520, "column": 8 }, "end": { - "line": 524, + "line": 520, "column": 9 } } @@ -153868,15 +151206,15 @@ "binop": null }, "value": "currentTime", - "start": 18179, - "end": 18190, + "start": 17946, + "end": 17957, "loc": { "start": { - "line": 526, + "line": 522, "column": 8 }, "end": { - "line": 526, + "line": 522, "column": 19 } } @@ -153895,15 +151233,15 @@ "updateContext": null }, "value": "=", - "start": 18191, - "end": 18192, + "start": 17958, + "end": 17959, "loc": { "start": { - "line": 526, + "line": 522, "column": 20 }, "end": { - "line": 526, + "line": 522, "column": 21 } } @@ -153921,15 +151259,15 @@ "binop": null }, "value": "isNaN", - "start": 18193, - "end": 18198, + "start": 17960, + "end": 17965, "loc": { "start": { - "line": 526, + "line": 522, "column": 22 }, "end": { - "line": 526, + "line": 522, "column": 27 } } @@ -153946,15 +151284,15 @@ "postfix": false, "binop": null }, - "start": 18198, - "end": 18199, + "start": 17965, + "end": 17966, "loc": { "start": { - "line": 526, + "line": 522, "column": 27 }, "end": { - "line": 526, + "line": 522, "column": 28 } } @@ -153972,15 +151310,15 @@ "binop": null }, "value": "currentTime", - "start": 18199, - "end": 18210, + "start": 17966, + "end": 17977, "loc": { "start": { - "line": 526, + "line": 522, "column": 28 }, "end": { - "line": 526, + "line": 522, "column": 39 } } @@ -153997,15 +151335,15 @@ "postfix": false, "binop": null }, - "start": 18210, - "end": 18211, + "start": 17977, + "end": 17978, "loc": { "start": { - "line": 526, + "line": 522, "column": 39 }, "end": { - "line": 526, + "line": 522, "column": 40 } } @@ -154023,15 +151361,15 @@ "binop": null, "updateContext": null }, - "start": 18212, - "end": 18213, + "start": 17979, + "end": 17980, "loc": { "start": { - "line": 526, + "line": 522, "column": 41 }, "end": { - "line": 526, + "line": 522, "column": 42 } } @@ -154050,15 +151388,15 @@ "updateContext": null }, "value": 0, - "start": 18214, - "end": 18215, + "start": 17981, + "end": 17982, "loc": { "start": { - "line": 526, + "line": 522, "column": 43 }, "end": { - "line": 526, + "line": 522, "column": 44 } } @@ -154076,15 +151414,15 @@ "binop": null, "updateContext": null }, - "start": 18216, - "end": 18217, + "start": 17983, + "end": 17984, "loc": { "start": { - "line": 526, + "line": 522, "column": 45 }, "end": { - "line": 526, + "line": 522, "column": 46 } } @@ -154102,15 +151440,15 @@ "binop": null }, "value": "currentTime", - "start": 18218, - "end": 18229, + "start": 17985, + "end": 17996, "loc": { "start": { - "line": 526, + "line": 522, "column": 47 }, "end": { - "line": 526, + "line": 522, "column": 58 } } @@ -154128,15 +151466,15 @@ "binop": null, "updateContext": null }, - "start": 18229, - "end": 18230, + "start": 17996, + "end": 17997, "loc": { "start": { - "line": 526, + "line": 522, "column": 58 }, "end": { - "line": 526, + "line": 522, "column": 59 } } @@ -154154,15 +151492,15 @@ "binop": null }, "value": "duration", - "start": 18239, - "end": 18247, + "start": 18006, + "end": 18014, "loc": { "start": { - "line": 527, + "line": 523, "column": 8 }, "end": { - "line": 527, + "line": 523, "column": 16 } } @@ -154181,15 +151519,15 @@ "updateContext": null }, "value": "=", - "start": 18248, - "end": 18249, + "start": 18015, + "end": 18016, "loc": { "start": { - "line": 527, + "line": 523, "column": 17 }, "end": { - "line": 527, + "line": 523, "column": 18 } } @@ -154207,15 +151545,15 @@ "binop": null }, "value": "isNaN", - "start": 18250, - "end": 18255, + "start": 18017, + "end": 18022, "loc": { "start": { - "line": 527, + "line": 523, "column": 19 }, "end": { - "line": 527, + "line": 523, "column": 24 } } @@ -154232,15 +151570,15 @@ "postfix": false, "binop": null }, - "start": 18255, - "end": 18256, + "start": 18022, + "end": 18023, "loc": { "start": { - "line": 527, + "line": 523, "column": 24 }, "end": { - "line": 527, + "line": 523, "column": 25 } } @@ -154258,15 +151596,15 @@ "binop": null }, "value": "duration", - "start": 18256, - "end": 18264, + "start": 18023, + "end": 18031, "loc": { "start": { - "line": 527, + "line": 523, "column": 25 }, "end": { - "line": 527, + "line": 523, "column": 33 } } @@ -154283,15 +151621,15 @@ "postfix": false, "binop": null }, - "start": 18264, - "end": 18265, + "start": 18031, + "end": 18032, "loc": { "start": { - "line": 527, + "line": 523, "column": 33 }, "end": { - "line": 527, + "line": 523, "column": 34 } } @@ -154309,15 +151647,15 @@ "binop": null, "updateContext": null }, - "start": 18266, - "end": 18267, + "start": 18033, + "end": 18034, "loc": { "start": { - "line": 527, + "line": 523, "column": 35 }, "end": { - "line": 527, + "line": 523, "column": 36 } } @@ -154336,15 +151674,15 @@ "updateContext": null }, "value": 0, - "start": 18268, - "end": 18269, + "start": 18035, + "end": 18036, "loc": { "start": { - "line": 527, + "line": 523, "column": 37 }, "end": { - "line": 527, + "line": 523, "column": 38 } } @@ -154362,15 +151700,15 @@ "binop": null, "updateContext": null }, - "start": 18270, - "end": 18271, + "start": 18037, + "end": 18038, "loc": { "start": { - "line": 527, + "line": 523, "column": 39 }, "end": { - "line": 527, + "line": 523, "column": 40 } } @@ -154388,15 +151726,15 @@ "binop": null }, "value": "duration", - "start": 18272, - "end": 18280, + "start": 18039, + "end": 18047, "loc": { "start": { - "line": 527, + "line": 523, "column": 41 }, "end": { - "line": 527, + "line": 523, "column": 49 } } @@ -154414,15 +151752,15 @@ "binop": null, "updateContext": null }, - "start": 18280, - "end": 18281, + "start": 18047, + "end": 18048, "loc": { "start": { - "line": 527, + "line": 523, "column": 49 }, "end": { - "line": 527, + "line": 523, "column": 50 } } @@ -154430,15 +151768,15 @@ { "type": "CommentLine", "value": " update current time display component", - "start": 18291, - "end": 18331, + "start": 18058, + "end": 18098, "loc": { "start": { - "line": 529, + "line": 525, "column": 8 }, "end": { - "line": 529, + "line": 525, "column": 48 } } @@ -154458,15 +151796,15 @@ "updateContext": null }, "value": "if", - "start": 18340, - "end": 18342, + "start": 18107, + "end": 18109, "loc": { "start": { - "line": 530, + "line": 526, "column": 8 }, "end": { - "line": 530, + "line": 526, "column": 10 } } @@ -154483,15 +151821,15 @@ "postfix": false, "binop": null }, - "start": 18343, - "end": 18344, + "start": 18110, + "end": 18111, "loc": { "start": { - "line": 530, + "line": 526, "column": 11 }, "end": { - "line": 530, + "line": 526, "column": 12 } } @@ -154511,15 +151849,15 @@ "updateContext": null }, "value": "this", - "start": 18344, - "end": 18348, + "start": 18111, + "end": 18115, "loc": { "start": { - "line": 530, + "line": 526, "column": 12 }, "end": { - "line": 530, + "line": 526, "column": 16 } } @@ -154537,15 +151875,15 @@ "binop": null, "updateContext": null }, - "start": 18348, - "end": 18349, + "start": 18115, + "end": 18116, "loc": { "start": { - "line": 530, + "line": 526, "column": 16 }, "end": { - "line": 530, + "line": 526, "column": 17 } } @@ -154563,15 +151901,15 @@ "binop": null }, "value": "player", - "start": 18349, - "end": 18355, + "start": 18116, + "end": 18122, "loc": { "start": { - "line": 530, + "line": 526, "column": 17 }, "end": { - "line": 530, + "line": 526, "column": 23 } } @@ -154589,15 +151927,15 @@ "binop": null, "updateContext": null }, - "start": 18355, - "end": 18356, + "start": 18122, + "end": 18123, "loc": { "start": { - "line": 530, + "line": 526, "column": 23 }, "end": { - "line": 530, + "line": 526, "column": 24 } } @@ -154615,15 +151953,15 @@ "binop": null }, "value": "controlBar", - "start": 18356, - "end": 18366, + "start": 18123, + "end": 18133, "loc": { "start": { - "line": 530, + "line": 526, "column": 24 }, "end": { - "line": 530, + "line": 526, "column": 34 } } @@ -154641,15 +151979,15 @@ "binop": null, "updateContext": null }, - "start": 18366, - "end": 18367, + "start": 18133, + "end": 18134, "loc": { "start": { - "line": 530, + "line": 526, "column": 34 }, "end": { - "line": 530, + "line": 526, "column": 35 } } @@ -154667,15 +152005,15 @@ "binop": null }, "value": "currentTimeDisplay", - "start": 18367, - "end": 18385, + "start": 18134, + "end": 18152, "loc": { "start": { - "line": 530, + "line": 526, "column": 35 }, "end": { - "line": 530, + "line": 526, "column": 53 } } @@ -154694,15 +152032,15 @@ "updateContext": null }, "value": "&&", - "start": 18386, - "end": 18388, + "start": 18153, + "end": 18155, "loc": { "start": { - "line": 530, + "line": 526, "column": 54 }, "end": { - "line": 530, + "line": 526, "column": 56 } } @@ -154722,15 +152060,15 @@ "updateContext": null }, "value": "this", - "start": 18401, - "end": 18405, + "start": 18168, + "end": 18172, "loc": { "start": { - "line": 531, + "line": 527, "column": 12 }, "end": { - "line": 531, + "line": 527, "column": 16 } } @@ -154748,15 +152086,15 @@ "binop": null, "updateContext": null }, - "start": 18405, - "end": 18406, + "start": 18172, + "end": 18173, "loc": { "start": { - "line": 531, + "line": 527, "column": 16 }, "end": { - "line": 531, + "line": 527, "column": 17 } } @@ -154774,15 +152112,15 @@ "binop": null }, "value": "player", - "start": 18406, - "end": 18412, + "start": 18173, + "end": 18179, "loc": { "start": { - "line": 531, + "line": 527, "column": 17 }, "end": { - "line": 531, + "line": 527, "column": 23 } } @@ -154800,15 +152138,15 @@ "binop": null, "updateContext": null }, - "start": 18412, - "end": 18413, + "start": 18179, + "end": 18180, "loc": { "start": { - "line": 531, + "line": 527, "column": 23 }, "end": { - "line": 531, + "line": 527, "column": 24 } } @@ -154826,15 +152164,15 @@ "binop": null }, "value": "controlBar", - "start": 18413, - "end": 18423, + "start": 18180, + "end": 18190, "loc": { "start": { - "line": 531, + "line": 527, "column": 24 }, "end": { - "line": 531, + "line": 527, "column": 34 } } @@ -154852,15 +152190,15 @@ "binop": null, "updateContext": null }, - "start": 18423, - "end": 18424, + "start": 18190, + "end": 18191, "loc": { "start": { - "line": 531, + "line": 527, "column": 34 }, "end": { - "line": 531, + "line": 527, "column": 35 } } @@ -154878,15 +152216,15 @@ "binop": null }, "value": "currentTimeDisplay", - "start": 18424, - "end": 18442, + "start": 18191, + "end": 18209, "loc": { "start": { - "line": 531, + "line": 527, "column": 35 }, "end": { - "line": 531, + "line": 527, "column": 53 } } @@ -154904,15 +152242,15 @@ "binop": null, "updateContext": null }, - "start": 18442, - "end": 18443, + "start": 18209, + "end": 18210, "loc": { "start": { - "line": 531, + "line": 527, "column": 53 }, "end": { - "line": 531, + "line": 527, "column": 54 } } @@ -154930,15 +152268,15 @@ "binop": null }, "value": "contentEl", - "start": 18443, - "end": 18452, + "start": 18210, + "end": 18219, "loc": { "start": { - "line": 531, + "line": 527, "column": 54 }, "end": { - "line": 531, + "line": 527, "column": 63 } } @@ -154955,15 +152293,15 @@ "postfix": false, "binop": null }, - "start": 18452, - "end": 18453, + "start": 18219, + "end": 18220, "loc": { "start": { - "line": 531, + "line": 527, "column": 63 }, "end": { - "line": 531, + "line": 527, "column": 64 } } @@ -154980,15 +152318,15 @@ "postfix": false, "binop": null }, - "start": 18453, - "end": 18454, + "start": 18220, + "end": 18221, "loc": { "start": { - "line": 531, + "line": 527, "column": 64 }, "end": { - "line": 531, + "line": 527, "column": 65 } } @@ -155007,15 +152345,15 @@ "updateContext": null }, "value": "&&", - "start": 18455, - "end": 18457, + "start": 18222, + "end": 18224, "loc": { "start": { - "line": 531, + "line": 527, "column": 66 }, "end": { - "line": 531, + "line": 527, "column": 68 } } @@ -155035,15 +152373,15 @@ "updateContext": null }, "value": "this", - "start": 18470, - "end": 18474, + "start": 18237, + "end": 18241, "loc": { "start": { - "line": 532, + "line": 528, "column": 12 }, "end": { - "line": 532, + "line": 528, "column": 16 } } @@ -155061,15 +152399,15 @@ "binop": null, "updateContext": null }, - "start": 18474, - "end": 18475, + "start": 18241, + "end": 18242, "loc": { "start": { - "line": 532, + "line": 528, "column": 16 }, "end": { - "line": 532, + "line": 528, "column": 17 } } @@ -155087,15 +152425,15 @@ "binop": null }, "value": "player", - "start": 18475, - "end": 18481, + "start": 18242, + "end": 18248, "loc": { "start": { - "line": 532, + "line": 528, "column": 17 }, "end": { - "line": 532, + "line": 528, "column": 23 } } @@ -155113,15 +152451,15 @@ "binop": null, "updateContext": null }, - "start": 18481, - "end": 18482, + "start": 18248, + "end": 18249, "loc": { "start": { - "line": 532, + "line": 528, "column": 23 }, "end": { - "line": 532, + "line": 528, "column": 24 } } @@ -155139,15 +152477,15 @@ "binop": null }, "value": "controlBar", - "start": 18482, - "end": 18492, + "start": 18249, + "end": 18259, "loc": { "start": { - "line": 532, + "line": 528, "column": 24 }, "end": { - "line": 532, + "line": 528, "column": 34 } } @@ -155165,15 +152503,15 @@ "binop": null, "updateContext": null }, - "start": 18492, - "end": 18493, + "start": 18259, + "end": 18260, "loc": { "start": { - "line": 532, + "line": 528, "column": 34 }, "end": { - "line": 532, + "line": 528, "column": 35 } } @@ -155191,15 +152529,15 @@ "binop": null }, "value": "currentTimeDisplay", - "start": 18493, - "end": 18511, + "start": 18260, + "end": 18278, "loc": { "start": { - "line": 532, + "line": 528, "column": 35 }, "end": { - "line": 532, + "line": 528, "column": 53 } } @@ -155217,15 +152555,15 @@ "binop": null, "updateContext": null }, - "start": 18511, - "end": 18512, + "start": 18278, + "end": 18279, "loc": { "start": { - "line": 532, + "line": 528, "column": 53 }, "end": { - "line": 532, + "line": 528, "column": 54 } } @@ -155243,15 +152581,15 @@ "binop": null }, "value": "contentEl", - "start": 18512, - "end": 18521, + "start": 18279, + "end": 18288, "loc": { "start": { - "line": 532, + "line": 528, "column": 54 }, "end": { - "line": 532, + "line": 528, "column": 63 } } @@ -155268,15 +152606,15 @@ "postfix": false, "binop": null }, - "start": 18521, - "end": 18522, + "start": 18288, + "end": 18289, "loc": { "start": { - "line": 532, + "line": 528, "column": 63 }, "end": { - "line": 532, + "line": 528, "column": 64 } } @@ -155293,15 +152631,15 @@ "postfix": false, "binop": null }, - "start": 18522, - "end": 18523, + "start": 18289, + "end": 18290, "loc": { "start": { - "line": 532, + "line": 528, "column": 64 }, "end": { - "line": 532, + "line": 528, "column": 65 } } @@ -155319,15 +152657,15 @@ "binop": null, "updateContext": null }, - "start": 18523, - "end": 18524, + "start": 18290, + "end": 18291, "loc": { "start": { - "line": 532, + "line": 528, "column": 65 }, "end": { - "line": 532, + "line": 528, "column": 66 } } @@ -155345,15 +152683,15 @@ "binop": null }, "value": "lastChild", - "start": 18524, - "end": 18533, + "start": 18291, + "end": 18300, "loc": { "start": { - "line": 532, + "line": 528, "column": 66 }, "end": { - "line": 532, + "line": 528, "column": 75 } } @@ -155370,15 +152708,15 @@ "postfix": false, "binop": null }, - "start": 18533, - "end": 18534, + "start": 18300, + "end": 18301, "loc": { "start": { - "line": 532, + "line": 528, "column": 75 }, "end": { - "line": 532, + "line": 528, "column": 76 } } @@ -155395,15 +152733,15 @@ "postfix": false, "binop": null }, - "start": 18535, - "end": 18536, + "start": 18302, + "end": 18303, "loc": { "start": { - "line": 532, + "line": 528, "column": 77 }, "end": { - "line": 532, + "line": 528, "column": 78 } } @@ -155423,15 +152761,15 @@ "updateContext": null }, "value": "let", - "start": 18549, - "end": 18552, + "start": 18316, + "end": 18319, "loc": { "start": { - "line": 533, + "line": 529, "column": 12 }, "end": { - "line": 533, + "line": 529, "column": 15 } } @@ -155449,15 +152787,15 @@ "binop": null }, "value": "time", - "start": 18553, - "end": 18557, + "start": 18320, + "end": 18324, "loc": { "start": { - "line": 533, + "line": 529, "column": 16 }, "end": { - "line": 533, + "line": 529, "column": 20 } } @@ -155476,15 +152814,15 @@ "updateContext": null }, "value": "=", - "start": 18558, - "end": 18559, + "start": 18325, + "end": 18326, "loc": { "start": { - "line": 533, + "line": 529, "column": 21 }, "end": { - "line": 533, + "line": 529, "column": 22 } } @@ -155502,15 +152840,15 @@ "binop": null }, "value": "Math", - "start": 18560, - "end": 18564, + "start": 18327, + "end": 18331, "loc": { "start": { - "line": 533, + "line": 529, "column": 23 }, "end": { - "line": 533, + "line": 529, "column": 27 } } @@ -155528,15 +152866,15 @@ "binop": null, "updateContext": null }, - "start": 18564, - "end": 18565, + "start": 18331, + "end": 18332, "loc": { "start": { - "line": 533, + "line": 529, "column": 27 }, "end": { - "line": 533, + "line": 529, "column": 28 } } @@ -155554,15 +152892,15 @@ "binop": null }, "value": "min", - "start": 18565, - "end": 18568, + "start": 18332, + "end": 18335, "loc": { "start": { - "line": 533, + "line": 529, "column": 28 }, "end": { - "line": 533, + "line": 529, "column": 31 } } @@ -155579,15 +152917,15 @@ "postfix": false, "binop": null }, - "start": 18568, - "end": 18569, + "start": 18335, + "end": 18336, "loc": { "start": { - "line": 533, + "line": 529, "column": 31 }, "end": { - "line": 533, + "line": 529, "column": 32 } } @@ -155605,15 +152943,15 @@ "binop": null }, "value": "currentTime", - "start": 18569, - "end": 18580, + "start": 18336, + "end": 18347, "loc": { "start": { - "line": 533, + "line": 529, "column": 32 }, "end": { - "line": 533, + "line": 529, "column": 43 } } @@ -155631,15 +152969,15 @@ "binop": null, "updateContext": null }, - "start": 18580, - "end": 18581, + "start": 18347, + "end": 18348, "loc": { "start": { - "line": 533, + "line": 529, "column": 43 }, "end": { - "line": 533, + "line": 529, "column": 44 } } @@ -155657,15 +152995,15 @@ "binop": null }, "value": "duration", - "start": 18582, - "end": 18590, + "start": 18349, + "end": 18357, "loc": { "start": { - "line": 533, + "line": 529, "column": 45 }, "end": { - "line": 533, + "line": 529, "column": 53 } } @@ -155682,15 +153020,15 @@ "postfix": false, "binop": null }, - "start": 18590, - "end": 18591, + "start": 18357, + "end": 18358, "loc": { "start": { - "line": 533, + "line": 529, "column": 53 }, "end": { - "line": 533, + "line": 529, "column": 54 } } @@ -155708,15 +153046,15 @@ "binop": null, "updateContext": null }, - "start": 18591, - "end": 18592, + "start": 18358, + "end": 18359, "loc": { "start": { - "line": 533, + "line": 529, "column": 54 }, "end": { - "line": 533, + "line": 529, "column": 55 } } @@ -155736,15 +153074,15 @@ "updateContext": null }, "value": "this", - "start": 18606, - "end": 18610, + "start": 18373, + "end": 18377, "loc": { "start": { - "line": 535, + "line": 531, "column": 12 }, "end": { - "line": 535, + "line": 531, "column": 16 } } @@ -155762,15 +153100,15 @@ "binop": null, "updateContext": null }, - "start": 18610, - "end": 18611, + "start": 18377, + "end": 18378, "loc": { "start": { - "line": 535, + "line": 531, "column": 16 }, "end": { - "line": 535, + "line": 531, "column": 17 } } @@ -155788,15 +153126,15 @@ "binop": null }, "value": "player", - "start": 18611, - "end": 18617, + "start": 18378, + "end": 18384, "loc": { "start": { - "line": 535, + "line": 531, "column": 17 }, "end": { - "line": 535, + "line": 531, "column": 23 } } @@ -155814,15 +153152,15 @@ "binop": null, "updateContext": null }, - "start": 18617, - "end": 18618, + "start": 18384, + "end": 18385, "loc": { "start": { - "line": 535, + "line": 531, "column": 23 }, "end": { - "line": 535, + "line": 531, "column": 24 } } @@ -155840,15 +153178,15 @@ "binop": null }, "value": "controlBar", - "start": 18618, - "end": 18628, + "start": 18385, + "end": 18395, "loc": { "start": { - "line": 535, + "line": 531, "column": 24 }, "end": { - "line": 535, + "line": 531, "column": 34 } } @@ -155866,15 +153204,15 @@ "binop": null, "updateContext": null }, - "start": 18628, - "end": 18629, + "start": 18395, + "end": 18396, "loc": { "start": { - "line": 535, + "line": 531, "column": 34 }, "end": { - "line": 535, + "line": 531, "column": 35 } } @@ -155892,15 +153230,15 @@ "binop": null }, "value": "currentTimeDisplay", - "start": 18629, - "end": 18647, + "start": 18396, + "end": 18414, "loc": { "start": { - "line": 535, + "line": 531, "column": 35 }, "end": { - "line": 535, + "line": 531, "column": 53 } } @@ -155918,15 +153256,15 @@ "binop": null, "updateContext": null }, - "start": 18647, - "end": 18648, + "start": 18414, + "end": 18415, "loc": { "start": { - "line": 535, + "line": 531, "column": 53 }, "end": { - "line": 535, + "line": 531, "column": 54 } } @@ -155944,15 +153282,15 @@ "binop": null }, "value": "formattedTime_", - "start": 18648, - "end": 18662, + "start": 18415, + "end": 18429, "loc": { "start": { - "line": 535, + "line": 531, "column": 54 }, "end": { - "line": 535, + "line": 531, "column": 68 } } @@ -155971,15 +153309,15 @@ "updateContext": null }, "value": "=", - "start": 18663, - "end": 18664, + "start": 18430, + "end": 18431, "loc": { "start": { - "line": 535, + "line": 531, "column": 69 }, "end": { - "line": 535, + "line": 531, "column": 70 } } @@ -155999,15 +153337,15 @@ "updateContext": null }, "value": "this", - "start": 18681, - "end": 18685, + "start": 18448, + "end": 18452, "loc": { "start": { - "line": 536, + "line": 532, "column": 16 }, "end": { - "line": 536, + "line": 532, "column": 20 } } @@ -156025,15 +153363,15 @@ "binop": null, "updateContext": null }, - "start": 18685, - "end": 18686, + "start": 18452, + "end": 18453, "loc": { "start": { - "line": 536, + "line": 532, "column": 20 }, "end": { - "line": 536, + "line": 532, "column": 21 } } @@ -156051,15 +153389,15 @@ "binop": null }, "value": "player", - "start": 18686, - "end": 18692, + "start": 18453, + "end": 18459, "loc": { "start": { - "line": 536, + "line": 532, "column": 21 }, "end": { - "line": 536, + "line": 532, "column": 27 } } @@ -156077,15 +153415,15 @@ "binop": null, "updateContext": null }, - "start": 18692, - "end": 18693, + "start": 18459, + "end": 18460, "loc": { "start": { - "line": 536, + "line": 532, "column": 27 }, "end": { - "line": 536, + "line": 532, "column": 28 } } @@ -156103,15 +153441,15 @@ "binop": null }, "value": "controlBar", - "start": 18693, - "end": 18703, + "start": 18460, + "end": 18470, "loc": { "start": { - "line": 536, + "line": 532, "column": 28 }, "end": { - "line": 536, + "line": 532, "column": 38 } } @@ -156129,15 +153467,15 @@ "binop": null, "updateContext": null }, - "start": 18703, - "end": 18704, + "start": 18470, + "end": 18471, "loc": { "start": { - "line": 536, + "line": 532, "column": 38 }, "end": { - "line": 536, + "line": 532, "column": 39 } } @@ -156155,15 +153493,15 @@ "binop": null }, "value": "currentTimeDisplay", - "start": 18704, - "end": 18722, + "start": 18471, + "end": 18489, "loc": { "start": { - "line": 536, + "line": 532, "column": 39 }, "end": { - "line": 536, + "line": 532, "column": 57 } } @@ -156181,15 +153519,15 @@ "binop": null, "updateContext": null }, - "start": 18722, - "end": 18723, + "start": 18489, + "end": 18490, "loc": { "start": { - "line": 536, + "line": 532, "column": 57 }, "end": { - "line": 536, + "line": 532, "column": 58 } } @@ -156207,15 +153545,15 @@ "binop": null }, "value": "contentEl", - "start": 18723, - "end": 18732, + "start": 18490, + "end": 18499, "loc": { "start": { - "line": 536, + "line": 532, "column": 58 }, "end": { - "line": 536, + "line": 532, "column": 67 } } @@ -156232,15 +153570,15 @@ "postfix": false, "binop": null }, - "start": 18732, - "end": 18733, + "start": 18499, + "end": 18500, "loc": { "start": { - "line": 536, + "line": 532, "column": 67 }, "end": { - "line": 536, + "line": 532, "column": 68 } } @@ -156257,15 +153595,15 @@ "postfix": false, "binop": null }, - "start": 18733, - "end": 18734, + "start": 18500, + "end": 18501, "loc": { "start": { - "line": 536, + "line": 532, "column": 68 }, "end": { - "line": 536, + "line": 532, "column": 69 } } @@ -156283,15 +153621,15 @@ "binop": null, "updateContext": null }, - "start": 18734, - "end": 18735, + "start": 18501, + "end": 18502, "loc": { "start": { - "line": 536, + "line": 532, "column": 69 }, "end": { - "line": 536, + "line": 532, "column": 70 } } @@ -156309,15 +153647,15 @@ "binop": null }, "value": "lastChild", - "start": 18735, - "end": 18744, + "start": 18502, + "end": 18511, "loc": { "start": { - "line": 536, + "line": 532, "column": 70 }, "end": { - "line": 536, + "line": 532, "column": 79 } } @@ -156335,15 +153673,15 @@ "binop": null, "updateContext": null }, - "start": 18744, - "end": 18745, + "start": 18511, + "end": 18512, "loc": { "start": { - "line": 536, + "line": 532, "column": 79 }, "end": { - "line": 536, + "line": 532, "column": 80 } } @@ -156361,15 +153699,15 @@ "binop": null }, "value": "textContent", - "start": 18745, - "end": 18756, + "start": 18512, + "end": 18523, "loc": { "start": { - "line": 536, + "line": 532, "column": 80 }, "end": { - "line": 536, + "line": 532, "column": 91 } } @@ -156388,15 +153726,15 @@ "updateContext": null }, "value": "=", - "start": 18757, - "end": 18758, + "start": 18524, + "end": 18525, "loc": { "start": { - "line": 536, + "line": 532, "column": 92 }, "end": { - "line": 536, + "line": 532, "column": 93 } } @@ -156416,15 +153754,15 @@ "updateContext": null }, "value": "this", - "start": 18779, - "end": 18783, + "start": 18546, + "end": 18550, "loc": { "start": { - "line": 537, + "line": 533, "column": 20 }, "end": { - "line": 537, + "line": 533, "column": 24 } } @@ -156442,15 +153780,15 @@ "binop": null, "updateContext": null }, - "start": 18783, - "end": 18784, + "start": 18550, + "end": 18551, "loc": { "start": { - "line": 537, + "line": 533, "column": 24 }, "end": { - "line": 537, + "line": 533, "column": 25 } } @@ -156468,15 +153806,15 @@ "binop": null }, "value": "_formatTime", - "start": 18784, - "end": 18795, + "start": 18551, + "end": 18562, "loc": { "start": { - "line": 537, + "line": 533, "column": 25 }, "end": { - "line": 537, + "line": 533, "column": 36 } } @@ -156493,15 +153831,15 @@ "postfix": false, "binop": null }, - "start": 18795, - "end": 18796, + "start": 18562, + "end": 18563, "loc": { "start": { - "line": 537, + "line": 533, "column": 36 }, "end": { - "line": 537, + "line": 533, "column": 37 } } @@ -156519,15 +153857,15 @@ "binop": null }, "value": "time", - "start": 18796, - "end": 18800, + "start": 18563, + "end": 18567, "loc": { "start": { - "line": 537, + "line": 533, "column": 37 }, "end": { - "line": 537, + "line": 533, "column": 41 } } @@ -156545,15 +153883,15 @@ "binop": null, "updateContext": null }, - "start": 18800, - "end": 18801, + "start": 18567, + "end": 18568, "loc": { "start": { - "line": 537, + "line": 533, "column": 41 }, "end": { - "line": 537, + "line": 533, "column": 42 } } @@ -156571,15 +153909,15 @@ "binop": null }, "value": "duration", - "start": 18802, - "end": 18810, + "start": 18569, + "end": 18577, "loc": { "start": { - "line": 537, + "line": 533, "column": 43 }, "end": { - "line": 537, + "line": 533, "column": 51 } } @@ -156597,15 +153935,15 @@ "binop": null, "updateContext": null }, - "start": 18810, - "end": 18811, + "start": 18577, + "end": 18578, "loc": { "start": { - "line": 537, + "line": 533, "column": 51 }, "end": { - "line": 537, + "line": 533, "column": 52 } } @@ -156625,15 +153963,15 @@ "updateContext": null }, "value": "this", - "start": 18812, - "end": 18816, + "start": 18579, + "end": 18583, "loc": { "start": { - "line": 537, + "line": 533, "column": 53 }, "end": { - "line": 537, + "line": 533, "column": 57 } } @@ -156651,15 +153989,15 @@ "binop": null, "updateContext": null }, - "start": 18816, - "end": 18817, + "start": 18583, + "end": 18584, "loc": { "start": { - "line": 537, + "line": 533, "column": 57 }, "end": { - "line": 537, + "line": 533, "column": 58 } } @@ -156677,15 +154015,15 @@ "binop": null }, "value": "displayMilliseconds", - "start": 18817, - "end": 18836, + "start": 18584, + "end": 18603, "loc": { "start": { - "line": 537, + "line": 533, "column": 58 }, "end": { - "line": 537, + "line": 533, "column": 77 } } @@ -156702,15 +154040,15 @@ "postfix": false, "binop": null }, - "start": 18836, - "end": 18837, + "start": 18603, + "end": 18604, "loc": { "start": { - "line": 537, + "line": 533, "column": 77 }, "end": { - "line": 537, + "line": 533, "column": 78 } } @@ -156728,15 +154066,15 @@ "binop": null, "updateContext": null }, - "start": 18837, - "end": 18838, + "start": 18604, + "end": 18605, "loc": { "start": { - "line": 537, + "line": 533, "column": 78 }, "end": { - "line": 537, + "line": 533, "column": 79 } } @@ -156753,15 +154091,15 @@ "postfix": false, "binop": null }, - "start": 18847, - "end": 18848, + "start": 18614, + "end": 18615, "loc": { "start": { - "line": 538, + "line": 534, "column": 8 }, "end": { - "line": 538, + "line": 534, "column": 9 } } @@ -156781,15 +154119,15 @@ "updateContext": null }, "value": "if", - "start": 18858, - "end": 18860, + "start": 18625, + "end": 18627, "loc": { "start": { - "line": 540, + "line": 536, "column": 8 }, "end": { - "line": 540, + "line": 536, "column": 10 } } @@ -156806,15 +154144,15 @@ "postfix": false, "binop": null }, - "start": 18861, - "end": 18862, + "start": 18628, + "end": 18629, "loc": { "start": { - "line": 540, + "line": 536, "column": 11 }, "end": { - "line": 540, + "line": 536, "column": 12 } } @@ -156834,15 +154172,15 @@ "updateContext": null }, "value": "this", - "start": 18862, - "end": 18866, + "start": 18629, + "end": 18633, "loc": { "start": { - "line": 540, + "line": 536, "column": 12 }, "end": { - "line": 540, + "line": 536, "column": 16 } } @@ -156860,15 +154198,15 @@ "binop": null, "updateContext": null }, - "start": 18866, - "end": 18867, + "start": 18633, + "end": 18634, "loc": { "start": { - "line": 540, + "line": 536, "column": 16 }, "end": { - "line": 540, + "line": 536, "column": 17 } } @@ -156886,15 +154224,15 @@ "binop": null }, "value": "textTracksEnabled", - "start": 18867, - "end": 18884, + "start": 18634, + "end": 18651, "loc": { "start": { - "line": 540, + "line": 536, "column": 17 }, "end": { - "line": 540, + "line": 536, "column": 34 } } @@ -156913,15 +154251,15 @@ "updateContext": null }, "value": "&&", - "start": 18885, - "end": 18887, + "start": 18652, + "end": 18654, "loc": { "start": { - "line": 540, + "line": 536, "column": 35 }, "end": { - "line": 540, + "line": 536, "column": 37 } } @@ -156941,15 +154279,15 @@ "updateContext": null }, "value": "this", - "start": 18888, - "end": 18892, + "start": 18655, + "end": 18659, "loc": { "start": { - "line": 540, + "line": 536, "column": 38 }, "end": { - "line": 540, + "line": 536, "column": 42 } } @@ -156967,15 +154305,15 @@ "binop": null, "updateContext": null }, - "start": 18892, - "end": 18893, + "start": 18659, + "end": 18660, "loc": { "start": { - "line": 540, + "line": 536, "column": 42 }, "end": { - "line": 540, + "line": 536, "column": 43 } } @@ -156993,15 +154331,15 @@ "binop": null }, "value": "player", - "start": 18893, - "end": 18899, + "start": 18660, + "end": 18666, "loc": { "start": { - "line": 540, + "line": 536, "column": 43 }, "end": { - "line": 540, + "line": 536, "column": 49 } } @@ -157019,15 +154357,15 @@ "binop": null, "updateContext": null }, - "start": 18899, - "end": 18900, + "start": 18666, + "end": 18667, "loc": { "start": { - "line": 540, + "line": 536, "column": 49 }, "end": { - "line": 540, + "line": 536, "column": 50 } } @@ -157045,15 +154383,15 @@ "binop": null }, "value": "tech_", - "start": 18900, - "end": 18905, + "start": 18667, + "end": 18672, "loc": { "start": { - "line": 540, + "line": 536, "column": 50 }, "end": { - "line": 540, + "line": 536, "column": 55 } } @@ -157072,15 +154410,15 @@ "updateContext": null }, "value": "&&", - "start": 18906, - "end": 18908, + "start": 18673, + "end": 18675, "loc": { "start": { - "line": 540, + "line": 536, "column": 56 }, "end": { - "line": 540, + "line": 536, "column": 58 } } @@ -157100,15 +154438,15 @@ "updateContext": null }, "value": "this", - "start": 18909, - "end": 18913, + "start": 18676, + "end": 18680, "loc": { "start": { - "line": 540, + "line": 536, "column": 59 }, "end": { - "line": 540, + "line": 536, "column": 63 } } @@ -157126,15 +154464,15 @@ "binop": null, "updateContext": null }, - "start": 18913, - "end": 18914, + "start": 18680, + "end": 18681, "loc": { "start": { - "line": 540, + "line": 536, "column": 63 }, "end": { - "line": 540, + "line": 536, "column": 64 } } @@ -157152,15 +154490,15 @@ "binop": null }, "value": "player", - "start": 18914, - "end": 18920, + "start": 18681, + "end": 18687, "loc": { "start": { - "line": 540, + "line": 536, "column": 64 }, "end": { - "line": 540, + "line": 536, "column": 70 } } @@ -157178,15 +154516,15 @@ "binop": null, "updateContext": null }, - "start": 18920, - "end": 18921, + "start": 18687, + "end": 18688, "loc": { "start": { - "line": 540, + "line": 536, "column": 70 }, "end": { - "line": 540, + "line": 536, "column": 71 } } @@ -157204,15 +154542,15 @@ "binop": null }, "value": "tech_", - "start": 18921, - "end": 18926, + "start": 18688, + "end": 18693, "loc": { "start": { - "line": 540, + "line": 536, "column": 71 }, "end": { - "line": 540, + "line": 536, "column": 76 } } @@ -157230,15 +154568,15 @@ "binop": null, "updateContext": null }, - "start": 18926, - "end": 18927, + "start": 18693, + "end": 18694, "loc": { "start": { - "line": 540, + "line": 536, "column": 76 }, "end": { - "line": 540, + "line": 536, "column": 77 } } @@ -157256,15 +154594,15 @@ "binop": null }, "value": "el_", - "start": 18927, - "end": 18930, + "start": 18694, + "end": 18697, "loc": { "start": { - "line": 540, + "line": 536, "column": 77 }, "end": { - "line": 540, + "line": 536, "column": 80 } } @@ -157281,15 +154619,15 @@ "postfix": false, "binop": null }, - "start": 18930, - "end": 18931, + "start": 18697, + "end": 18698, "loc": { "start": { - "line": 540, + "line": 536, "column": 80 }, "end": { - "line": 540, + "line": 536, "column": 81 } } @@ -157306,15 +154644,15 @@ "postfix": false, "binop": null }, - "start": 18932, - "end": 18933, + "start": 18699, + "end": 18700, "loc": { "start": { - "line": 540, + "line": 536, "column": 82 }, "end": { - "line": 540, + "line": 536, "column": 83 } } @@ -157322,15 +154660,15 @@ { "type": "CommentLine", "value": " only needed for text tracks", - "start": 18946, - "end": 18976, + "start": 18713, + "end": 18743, "loc": { "start": { - "line": 541, + "line": 537, "column": 12 }, "end": { - "line": 541, + "line": 537, "column": 42 } } @@ -157350,15 +154688,15 @@ "updateContext": null }, "value": "this", - "start": 18989, - "end": 18993, + "start": 18756, + "end": 18760, "loc": { "start": { - "line": 542, + "line": 538, "column": 12 }, "end": { - "line": 542, + "line": 538, "column": 16 } } @@ -157376,15 +154714,15 @@ "binop": null, "updateContext": null }, - "start": 18993, - "end": 18994, + "start": 18760, + "end": 18761, "loc": { "start": { - "line": 542, + "line": 538, "column": 16 }, "end": { - "line": 542, + "line": 538, "column": 17 } } @@ -157402,15 +154740,15 @@ "binop": null }, "value": "player", - "start": 18994, - "end": 19000, + "start": 18761, + "end": 18767, "loc": { "start": { - "line": 542, + "line": 538, "column": 17 }, "end": { - "line": 542, + "line": 538, "column": 23 } } @@ -157428,15 +154766,15 @@ "binop": null, "updateContext": null }, - "start": 19000, - "end": 19001, + "start": 18767, + "end": 18768, "loc": { "start": { - "line": 542, + "line": 538, "column": 23 }, "end": { - "line": 542, + "line": 538, "column": 24 } } @@ -157454,15 +154792,15 @@ "binop": null }, "value": "tech_", - "start": 19001, - "end": 19006, + "start": 18768, + "end": 18773, "loc": { "start": { - "line": 542, + "line": 538, "column": 24 }, "end": { - "line": 542, + "line": 538, "column": 29 } } @@ -157480,15 +154818,15 @@ "binop": null, "updateContext": null }, - "start": 19006, - "end": 19007, + "start": 18773, + "end": 18774, "loc": { "start": { - "line": 542, + "line": 538, "column": 29 }, "end": { - "line": 542, + "line": 538, "column": 30 } } @@ -157506,15 +154844,15 @@ "binop": null }, "value": "setCurrentTime", - "start": 19007, - "end": 19021, + "start": 18774, + "end": 18788, "loc": { "start": { - "line": 542, + "line": 538, "column": 30 }, "end": { - "line": 542, + "line": 538, "column": 44 } } @@ -157531,15 +154869,15 @@ "postfix": false, "binop": null }, - "start": 19021, - "end": 19022, + "start": 18788, + "end": 18789, "loc": { "start": { - "line": 542, + "line": 538, "column": 44 }, "end": { - "line": 542, + "line": 538, "column": 45 } } @@ -157557,15 +154895,15 @@ "binop": null }, "value": "currentTime", - "start": 19022, - "end": 19033, + "start": 18789, + "end": 18800, "loc": { "start": { - "line": 542, + "line": 538, "column": 45 }, "end": { - "line": 542, + "line": 538, "column": 56 } } @@ -157582,15 +154920,15 @@ "postfix": false, "binop": null }, - "start": 19033, - "end": 19034, + "start": 18800, + "end": 18801, "loc": { "start": { - "line": 542, + "line": 538, "column": 56 }, "end": { - "line": 542, + "line": 538, "column": 57 } } @@ -157608,15 +154946,15 @@ "binop": null, "updateContext": null }, - "start": 19034, - "end": 19035, + "start": 18801, + "end": 18802, "loc": { "start": { - "line": 542, + "line": 538, "column": 57 }, "end": { - "line": 542, + "line": 538, "column": 58 } } @@ -157633,15 +154971,15 @@ "postfix": false, "binop": null }, - "start": 19044, - "end": 19045, + "start": 18811, + "end": 18812, "loc": { "start": { - "line": 543, + "line": 539, "column": 8 }, "end": { - "line": 543, + "line": 539, "column": 9 } } @@ -157658,15 +154996,15 @@ "postfix": false, "binop": null }, - "start": 19050, - "end": 19051, + "start": 18817, + "end": 18818, "loc": { "start": { - "line": 544, + "line": 540, "column": 4 }, "end": { - "line": 544, + "line": 540, "column": 5 } } @@ -157674,15 +155012,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": 19057, - "end": 19230, + "start": 18824, + "end": 18997, "loc": { "start": { - "line": 546, + "line": 542, "column": 4 }, "end": { - "line": 552, + "line": 548, "column": 7 } } @@ -157700,15 +155038,15 @@ "binop": null }, "value": "getDuration", - "start": 19235, - "end": 19246, + "start": 19002, + "end": 19013, "loc": { "start": { - "line": 553, + "line": 549, "column": 4 }, "end": { - "line": 553, + "line": 549, "column": 15 } } @@ -157725,15 +155063,15 @@ "postfix": false, "binop": null }, - "start": 19246, - "end": 19247, + "start": 19013, + "end": 19014, "loc": { "start": { - "line": 553, + "line": 549, "column": 15 }, "end": { - "line": 553, + "line": 549, "column": 16 } } @@ -157750,15 +155088,15 @@ "postfix": false, "binop": null }, - "start": 19247, - "end": 19248, + "start": 19014, + "end": 19015, "loc": { "start": { - "line": 553, + "line": 549, "column": 16 }, "end": { - "line": 553, + "line": 549, "column": 17 } } @@ -157775,15 +155113,15 @@ "postfix": false, "binop": null }, - "start": 19249, - "end": 19250, + "start": 19016, + "end": 19017, "loc": { "start": { - "line": 553, + "line": 549, "column": 18 }, "end": { - "line": 553, + "line": 549, "column": 19 } } @@ -157803,15 +155141,15 @@ "updateContext": null }, "value": "let", - "start": 19259, - "end": 19262, + "start": 19026, + "end": 19029, "loc": { "start": { - "line": 554, + "line": 550, "column": 8 }, "end": { - "line": 554, + "line": 550, "column": 11 } } @@ -157829,15 +155167,15 @@ "binop": null }, "value": "duration", - "start": 19263, - "end": 19271, + "start": 19030, + "end": 19038, "loc": { "start": { - "line": 554, + "line": 550, "column": 12 }, "end": { - "line": 554, + "line": 550, "column": 20 } } @@ -157856,15 +155194,15 @@ "updateContext": null }, "value": "=", - "start": 19272, - "end": 19273, + "start": 19039, + "end": 19040, "loc": { "start": { - "line": 554, + "line": 550, "column": 21 }, "end": { - "line": 554, + "line": 550, "column": 22 } } @@ -157884,15 +155222,15 @@ "updateContext": null }, "value": "this", - "start": 19274, - "end": 19278, + "start": 19041, + "end": 19045, "loc": { "start": { - "line": 554, + "line": 550, "column": 23 }, "end": { - "line": 554, + "line": 550, "column": 27 } } @@ -157910,15 +155248,15 @@ "binop": null, "updateContext": null }, - "start": 19278, - "end": 19279, + "start": 19045, + "end": 19046, "loc": { "start": { - "line": 554, + "line": 550, "column": 27 }, "end": { - "line": 554, + "line": 550, "column": 28 } } @@ -157936,15 +155274,15 @@ "binop": null }, "value": "surfer", - "start": 19279, - "end": 19285, + "start": 19046, + "end": 19052, "loc": { "start": { - "line": 554, + "line": 550, "column": 28 }, "end": { - "line": 554, + "line": 550, "column": 34 } } @@ -157962,15 +155300,15 @@ "binop": null, "updateContext": null }, - "start": 19285, - "end": 19286, + "start": 19052, + "end": 19053, "loc": { "start": { - "line": 554, + "line": 550, "column": 34 }, "end": { - "line": 554, + "line": 550, "column": 35 } } @@ -157988,15 +155326,15 @@ "binop": null }, "value": "getDuration", - "start": 19286, - "end": 19297, + "start": 19053, + "end": 19064, "loc": { "start": { - "line": 554, + "line": 550, "column": 35 }, "end": { - "line": 554, + "line": 550, "column": 46 } } @@ -158013,15 +155351,15 @@ "postfix": false, "binop": null }, - "start": 19297, - "end": 19298, + "start": 19064, + "end": 19065, "loc": { "start": { - "line": 554, + "line": 550, "column": 46 }, "end": { - "line": 554, + "line": 550, "column": 47 } } @@ -158038,15 +155376,15 @@ "postfix": false, "binop": null }, - "start": 19298, - "end": 19299, + "start": 19065, + "end": 19066, "loc": { "start": { - "line": 554, + "line": 550, "column": 47 }, "end": { - "line": 554, + "line": 550, "column": 48 } } @@ -158064,15 +155402,15 @@ "binop": null, "updateContext": null }, - "start": 19299, - "end": 19300, + "start": 19066, + "end": 19067, "loc": { "start": { - "line": 554, + "line": 550, "column": 48 }, "end": { - "line": 554, + "line": 550, "column": 49 } } @@ -158090,15 +155428,15 @@ "binop": null }, "value": "duration", - "start": 19309, - "end": 19317, + "start": 19076, + "end": 19084, "loc": { "start": { - "line": 555, + "line": 551, "column": 8 }, "end": { - "line": 555, + "line": 551, "column": 16 } } @@ -158117,15 +155455,15 @@ "updateContext": null }, "value": "=", - "start": 19318, - "end": 19319, + "start": 19085, + "end": 19086, "loc": { "start": { - "line": 555, + "line": 551, "column": 17 }, "end": { - "line": 555, + "line": 551, "column": 18 } } @@ -158143,15 +155481,15 @@ "binop": null }, "value": "isNaN", - "start": 19320, - "end": 19325, + "start": 19087, + "end": 19092, "loc": { "start": { - "line": 555, + "line": 551, "column": 19 }, "end": { - "line": 555, + "line": 551, "column": 24 } } @@ -158168,15 +155506,15 @@ "postfix": false, "binop": null }, - "start": 19325, - "end": 19326, + "start": 19092, + "end": 19093, "loc": { "start": { - "line": 555, + "line": 551, "column": 24 }, "end": { - "line": 555, + "line": 551, "column": 25 } } @@ -158194,15 +155532,15 @@ "binop": null }, "value": "duration", - "start": 19326, - "end": 19334, + "start": 19093, + "end": 19101, "loc": { "start": { - "line": 555, + "line": 551, "column": 25 }, "end": { - "line": 555, + "line": 551, "column": 33 } } @@ -158219,15 +155557,15 @@ "postfix": false, "binop": null }, - "start": 19334, - "end": 19335, + "start": 19101, + "end": 19102, "loc": { "start": { - "line": 555, + "line": 551, "column": 33 }, "end": { - "line": 555, + "line": 551, "column": 34 } } @@ -158245,15 +155583,15 @@ "binop": null, "updateContext": null }, - "start": 19336, - "end": 19337, + "start": 19103, + "end": 19104, "loc": { "start": { - "line": 555, + "line": 551, "column": 35 }, "end": { - "line": 555, + "line": 551, "column": 36 } } @@ -158272,15 +155610,15 @@ "updateContext": null }, "value": 0, - "start": 19338, - "end": 19339, + "start": 19105, + "end": 19106, "loc": { "start": { - "line": 555, + "line": 551, "column": 37 }, "end": { - "line": 555, + "line": 551, "column": 38 } } @@ -158298,15 +155636,15 @@ "binop": null, "updateContext": null }, - "start": 19340, - "end": 19341, + "start": 19107, + "end": 19108, "loc": { "start": { - "line": 555, + "line": 551, "column": 39 }, "end": { - "line": 555, + "line": 551, "column": 40 } } @@ -158324,15 +155662,15 @@ "binop": null }, "value": "duration", - "start": 19342, - "end": 19350, + "start": 19109, + "end": 19117, "loc": { "start": { - "line": 555, + "line": 551, "column": 41 }, "end": { - "line": 555, + "line": 551, "column": 49 } } @@ -158350,15 +155688,15 @@ "binop": null, "updateContext": null }, - "start": 19350, - "end": 19351, + "start": 19117, + "end": 19118, "loc": { "start": { - "line": 555, + "line": 551, "column": 49 }, "end": { - "line": 555, + "line": 551, "column": 50 } } @@ -158378,15 +155716,15 @@ "updateContext": null }, "value": "return", - "start": 19361, - "end": 19367, + "start": 19128, + "end": 19134, "loc": { "start": { - "line": 557, + "line": 553, "column": 8 }, "end": { - "line": 557, + "line": 553, "column": 14 } } @@ -158404,15 +155742,15 @@ "binop": null }, "value": "duration", - "start": 19368, - "end": 19376, + "start": 19135, + "end": 19143, "loc": { "start": { - "line": 557, + "line": 553, "column": 15 }, "end": { - "line": 557, + "line": 553, "column": 23 } } @@ -158430,15 +155768,15 @@ "binop": null, "updateContext": null }, - "start": 19376, - "end": 19377, + "start": 19143, + "end": 19144, "loc": { "start": { - "line": 557, + "line": 553, "column": 23 }, "end": { - "line": 557, + "line": 553, "column": 24 } } @@ -158455,15 +155793,15 @@ "postfix": false, "binop": null }, - "start": 19382, - "end": 19383, + "start": 19149, + "end": 19150, "loc": { "start": { - "line": 558, + "line": 554, "column": 4 }, "end": { - "line": 558, + "line": 554, "column": 5 } } @@ -158471,15 +155809,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": 19389, - "end": 19564, + "start": 19156, + "end": 19331, "loc": { "start": { - "line": 560, + "line": 556, "column": 4 }, "end": { - "line": 565, + "line": 561, "column": 7 } } @@ -158497,15 +155835,15 @@ "binop": null }, "value": "setDuration", - "start": 19569, - "end": 19580, + "start": 19336, + "end": 19347, "loc": { "start": { - "line": 566, + "line": 562, "column": 4 }, "end": { - "line": 566, + "line": 562, "column": 15 } } @@ -158522,15 +155860,15 @@ "postfix": false, "binop": null }, - "start": 19580, - "end": 19581, + "start": 19347, + "end": 19348, "loc": { "start": { - "line": 566, + "line": 562, "column": 15 }, "end": { - "line": 566, + "line": 562, "column": 16 } } @@ -158548,15 +155886,15 @@ "binop": null }, "value": "duration", - "start": 19581, - "end": 19589, + "start": 19348, + "end": 19356, "loc": { "start": { - "line": 566, + "line": 562, "column": 16 }, "end": { - "line": 566, + "line": 562, "column": 24 } } @@ -158573,15 +155911,15 @@ "postfix": false, "binop": null }, - "start": 19589, - "end": 19590, + "start": 19356, + "end": 19357, "loc": { "start": { - "line": 566, + "line": 562, "column": 24 }, "end": { - "line": 566, + "line": 562, "column": 25 } } @@ -158598,15 +155936,15 @@ "postfix": false, "binop": null }, - "start": 19591, - "end": 19592, + "start": 19358, + "end": 19359, "loc": { "start": { - "line": 566, + "line": 562, "column": 26 }, "end": { - "line": 566, + "line": 562, "column": 27 } } @@ -158626,15 +155964,15 @@ "updateContext": null }, "value": "if", - "start": 19601, - "end": 19603, + "start": 19368, + "end": 19370, "loc": { "start": { - "line": 567, + "line": 563, "column": 8 }, "end": { - "line": 567, + "line": 563, "column": 10 } } @@ -158651,15 +155989,15 @@ "postfix": false, "binop": null }, - "start": 19604, - "end": 19605, + "start": 19371, + "end": 19372, "loc": { "start": { - "line": 567, + "line": 563, "column": 11 }, "end": { - "line": 567, + "line": 563, "column": 12 } } @@ -158677,15 +156015,15 @@ "binop": null }, "value": "duration", - "start": 19605, - "end": 19613, + "start": 19372, + "end": 19380, "loc": { "start": { - "line": 567, + "line": 563, "column": 12 }, "end": { - "line": 567, + "line": 563, "column": 20 } } @@ -158704,15 +156042,15 @@ "updateContext": null }, "value": "===", - "start": 19614, - "end": 19617, + "start": 19381, + "end": 19384, "loc": { "start": { - "line": 567, + "line": 563, "column": 21 }, "end": { - "line": 567, + "line": 563, "column": 24 } } @@ -158730,15 +156068,15 @@ "binop": null }, "value": "undefined", - "start": 19618, - "end": 19627, + "start": 19385, + "end": 19394, "loc": { "start": { - "line": 567, + "line": 563, "column": 25 }, "end": { - "line": 567, + "line": 563, "column": 34 } } @@ -158755,15 +156093,15 @@ "postfix": false, "binop": null }, - "start": 19627, - "end": 19628, + "start": 19394, + "end": 19395, "loc": { "start": { - "line": 567, + "line": 563, "column": 34 }, "end": { - "line": 567, + "line": 563, "column": 35 } } @@ -158780,15 +156118,15 @@ "postfix": false, "binop": null }, - "start": 19629, - "end": 19630, + "start": 19396, + "end": 19397, "loc": { "start": { - "line": 567, + "line": 563, "column": 36 }, "end": { - "line": 567, + "line": 563, "column": 37 } } @@ -158806,15 +156144,15 @@ "binop": null }, "value": "duration", - "start": 19643, - "end": 19651, + "start": 19410, + "end": 19418, "loc": { "start": { - "line": 568, + "line": 564, "column": 12 }, "end": { - "line": 568, + "line": 564, "column": 20 } } @@ -158833,15 +156171,15 @@ "updateContext": null }, "value": "=", - "start": 19652, - "end": 19653, + "start": 19419, + "end": 19420, "loc": { "start": { - "line": 568, + "line": 564, "column": 21 }, "end": { - "line": 568, + "line": 564, "column": 22 } } @@ -158861,15 +156199,15 @@ "updateContext": null }, "value": "this", - "start": 19654, - "end": 19658, + "start": 19421, + "end": 19425, "loc": { "start": { - "line": 568, + "line": 564, "column": 23 }, "end": { - "line": 568, + "line": 564, "column": 27 } } @@ -158887,15 +156225,15 @@ "binop": null, "updateContext": null }, - "start": 19658, - "end": 19659, + "start": 19425, + "end": 19426, "loc": { "start": { - "line": 568, + "line": 564, "column": 27 }, "end": { - "line": 568, + "line": 564, "column": 28 } } @@ -158913,15 +156251,15 @@ "binop": null }, "value": "surfer", - "start": 19659, - "end": 19665, + "start": 19426, + "end": 19432, "loc": { "start": { - "line": 568, + "line": 564, "column": 28 }, "end": { - "line": 568, + "line": 564, "column": 34 } } @@ -158939,15 +156277,15 @@ "binop": null, "updateContext": null }, - "start": 19665, - "end": 19666, + "start": 19432, + "end": 19433, "loc": { "start": { - "line": 568, + "line": 564, "column": 34 }, "end": { - "line": 568, + "line": 564, "column": 35 } } @@ -158965,15 +156303,15 @@ "binop": null }, "value": "getDuration", - "start": 19666, - "end": 19677, + "start": 19433, + "end": 19444, "loc": { "start": { - "line": 568, + "line": 564, "column": 35 }, "end": { - "line": 568, + "line": 564, "column": 46 } } @@ -158990,15 +156328,15 @@ "postfix": false, "binop": null }, - "start": 19677, - "end": 19678, + "start": 19444, + "end": 19445, "loc": { "start": { - "line": 568, + "line": 564, "column": 46 }, "end": { - "line": 568, + "line": 564, "column": 47 } } @@ -159015,15 +156353,15 @@ "postfix": false, "binop": null }, - "start": 19678, - "end": 19679, + "start": 19445, + "end": 19446, "loc": { "start": { - "line": 568, + "line": 564, "column": 47 }, "end": { - "line": 568, + "line": 564, "column": 48 } } @@ -159041,15 +156379,15 @@ "binop": null, "updateContext": null }, - "start": 19679, - "end": 19680, + "start": 19446, + "end": 19447, "loc": { "start": { - "line": 568, + "line": 564, "column": 48 }, "end": { - "line": 568, + "line": 564, "column": 49 } } @@ -159066,15 +156404,15 @@ "postfix": false, "binop": null }, - "start": 19689, - "end": 19690, + "start": 19456, + "end": 19457, "loc": { "start": { - "line": 569, + "line": 565, "column": 8 }, "end": { - "line": 569, + "line": 565, "column": 9 } } @@ -159092,15 +156430,15 @@ "binop": null }, "value": "duration", - "start": 19699, - "end": 19707, + "start": 19466, + "end": 19474, "loc": { "start": { - "line": 570, + "line": 566, "column": 8 }, "end": { - "line": 570, + "line": 566, "column": 16 } } @@ -159119,15 +156457,15 @@ "updateContext": null }, "value": "=", - "start": 19708, - "end": 19709, + "start": 19475, + "end": 19476, "loc": { "start": { - "line": 570, + "line": 566, "column": 17 }, "end": { - "line": 570, + "line": 566, "column": 18 } } @@ -159145,15 +156483,15 @@ "binop": null }, "value": "isNaN", - "start": 19710, - "end": 19715, + "start": 19477, + "end": 19482, "loc": { "start": { - "line": 570, + "line": 566, "column": 19 }, "end": { - "line": 570, + "line": 566, "column": 24 } } @@ -159170,15 +156508,15 @@ "postfix": false, "binop": null }, - "start": 19715, - "end": 19716, + "start": 19482, + "end": 19483, "loc": { "start": { - "line": 570, + "line": 566, "column": 24 }, "end": { - "line": 570, + "line": 566, "column": 25 } } @@ -159196,15 +156534,15 @@ "binop": null }, "value": "duration", - "start": 19716, - "end": 19724, + "start": 19483, + "end": 19491, "loc": { "start": { - "line": 570, + "line": 566, "column": 25 }, "end": { - "line": 570, + "line": 566, "column": 33 } } @@ -159221,15 +156559,15 @@ "postfix": false, "binop": null }, - "start": 19724, - "end": 19725, + "start": 19491, + "end": 19492, "loc": { "start": { - "line": 570, + "line": 566, "column": 33 }, "end": { - "line": 570, + "line": 566, "column": 34 } } @@ -159247,15 +156585,15 @@ "binop": null, "updateContext": null }, - "start": 19726, - "end": 19727, + "start": 19493, + "end": 19494, "loc": { "start": { - "line": 570, + "line": 566, "column": 35 }, "end": { - "line": 570, + "line": 566, "column": 36 } } @@ -159274,15 +156612,15 @@ "updateContext": null }, "value": 0, - "start": 19728, - "end": 19729, + "start": 19495, + "end": 19496, "loc": { "start": { - "line": 570, + "line": 566, "column": 37 }, "end": { - "line": 570, + "line": 566, "column": 38 } } @@ -159300,15 +156638,15 @@ "binop": null, "updateContext": null }, - "start": 19730, - "end": 19731, + "start": 19497, + "end": 19498, "loc": { "start": { - "line": 570, + "line": 566, "column": 39 }, "end": { - "line": 570, + "line": 566, "column": 40 } } @@ -159326,15 +156664,15 @@ "binop": null }, "value": "duration", - "start": 19732, - "end": 19740, + "start": 19499, + "end": 19507, "loc": { "start": { - "line": 570, + "line": 566, "column": 41 }, "end": { - "line": 570, + "line": 566, "column": 49 } } @@ -159352,15 +156690,15 @@ "binop": null, "updateContext": null }, - "start": 19740, - "end": 19741, + "start": 19507, + "end": 19508, "loc": { "start": { - "line": 570, + "line": 566, "column": 49 }, "end": { - "line": 570, + "line": 566, "column": 50 } } @@ -159368,15 +156706,15 @@ { "type": "CommentLine", "value": " update duration display component", - "start": 19751, - "end": 19787, + "start": 19518, + "end": 19554, "loc": { "start": { - "line": 572, + "line": 568, "column": 8 }, "end": { - "line": 572, + "line": 568, "column": 44 } } @@ -159396,15 +156734,15 @@ "updateContext": null }, "value": "if", - "start": 19796, - "end": 19798, + "start": 19563, + "end": 19565, "loc": { "start": { - "line": 573, + "line": 569, "column": 8 }, "end": { - "line": 573, + "line": 569, "column": 10 } } @@ -159421,15 +156759,15 @@ "postfix": false, "binop": null }, - "start": 19799, - "end": 19800, + "start": 19566, + "end": 19567, "loc": { "start": { - "line": 573, + "line": 569, "column": 11 }, "end": { - "line": 573, + "line": 569, "column": 12 } } @@ -159449,15 +156787,15 @@ "updateContext": null }, "value": "this", - "start": 19800, - "end": 19804, + "start": 19567, + "end": 19571, "loc": { "start": { - "line": 573, + "line": 569, "column": 12 }, "end": { - "line": 573, + "line": 569, "column": 16 } } @@ -159475,15 +156813,15 @@ "binop": null, "updateContext": null }, - "start": 19804, - "end": 19805, + "start": 19571, + "end": 19572, "loc": { "start": { - "line": 573, + "line": 569, "column": 16 }, "end": { - "line": 573, + "line": 569, "column": 17 } } @@ -159501,15 +156839,15 @@ "binop": null }, "value": "player", - "start": 19805, - "end": 19811, + "start": 19572, + "end": 19578, "loc": { "start": { - "line": 573, + "line": 569, "column": 17 }, "end": { - "line": 573, + "line": 569, "column": 23 } } @@ -159527,15 +156865,15 @@ "binop": null, "updateContext": null }, - "start": 19811, - "end": 19812, + "start": 19578, + "end": 19579, "loc": { "start": { - "line": 573, + "line": 569, "column": 23 }, "end": { - "line": 573, + "line": 569, "column": 24 } } @@ -159553,15 +156891,15 @@ "binop": null }, "value": "controlBar", - "start": 19812, - "end": 19822, + "start": 19579, + "end": 19589, "loc": { "start": { - "line": 573, + "line": 569, "column": 24 }, "end": { - "line": 573, + "line": 569, "column": 34 } } @@ -159579,15 +156917,15 @@ "binop": null, "updateContext": null }, - "start": 19822, - "end": 19823, + "start": 19589, + "end": 19590, "loc": { "start": { - "line": 573, + "line": 569, "column": 34 }, "end": { - "line": 573, + "line": 569, "column": 35 } } @@ -159605,15 +156943,15 @@ "binop": null }, "value": "durationDisplay", - "start": 19823, - "end": 19838, + "start": 19590, + "end": 19605, "loc": { "start": { - "line": 573, + "line": 569, "column": 35 }, "end": { - "line": 573, + "line": 569, "column": 50 } } @@ -159632,15 +156970,15 @@ "updateContext": null }, "value": "&&", - "start": 19839, - "end": 19841, + "start": 19606, + "end": 19608, "loc": { "start": { - "line": 573, + "line": 569, "column": 51 }, "end": { - "line": 573, + "line": 569, "column": 53 } } @@ -159660,15 +156998,15 @@ "updateContext": null }, "value": "this", - "start": 19854, - "end": 19858, + "start": 19621, + "end": 19625, "loc": { "start": { - "line": 574, + "line": 570, "column": 12 }, "end": { - "line": 574, + "line": 570, "column": 16 } } @@ -159686,15 +157024,15 @@ "binop": null, "updateContext": null }, - "start": 19858, - "end": 19859, + "start": 19625, + "end": 19626, "loc": { "start": { - "line": 574, + "line": 570, "column": 16 }, "end": { - "line": 574, + "line": 570, "column": 17 } } @@ -159712,15 +157050,15 @@ "binop": null }, "value": "player", - "start": 19859, - "end": 19865, + "start": 19626, + "end": 19632, "loc": { "start": { - "line": 574, + "line": 570, "column": 17 }, "end": { - "line": 574, + "line": 570, "column": 23 } } @@ -159738,15 +157076,15 @@ "binop": null, "updateContext": null }, - "start": 19865, - "end": 19866, + "start": 19632, + "end": 19633, "loc": { "start": { - "line": 574, + "line": 570, "column": 23 }, "end": { - "line": 574, + "line": 570, "column": 24 } } @@ -159764,15 +157102,15 @@ "binop": null }, "value": "controlBar", - "start": 19866, - "end": 19876, + "start": 19633, + "end": 19643, "loc": { "start": { - "line": 574, + "line": 570, "column": 24 }, "end": { - "line": 574, + "line": 570, "column": 34 } } @@ -159790,15 +157128,15 @@ "binop": null, "updateContext": null }, - "start": 19876, - "end": 19877, + "start": 19643, + "end": 19644, "loc": { "start": { - "line": 574, + "line": 570, "column": 34 }, "end": { - "line": 574, + "line": 570, "column": 35 } } @@ -159816,15 +157154,15 @@ "binop": null }, "value": "durationDisplay", - "start": 19877, - "end": 19892, + "start": 19644, + "end": 19659, "loc": { "start": { - "line": 574, + "line": 570, "column": 35 }, "end": { - "line": 574, + "line": 570, "column": 50 } } @@ -159842,15 +157180,15 @@ "binop": null, "updateContext": null }, - "start": 19892, - "end": 19893, + "start": 19659, + "end": 19660, "loc": { "start": { - "line": 574, + "line": 570, "column": 50 }, "end": { - "line": 574, + "line": 570, "column": 51 } } @@ -159868,15 +157206,15 @@ "binop": null }, "value": "contentEl", - "start": 19893, - "end": 19902, + "start": 19660, + "end": 19669, "loc": { "start": { - "line": 574, + "line": 570, "column": 51 }, "end": { - "line": 574, + "line": 570, "column": 60 } } @@ -159893,15 +157231,15 @@ "postfix": false, "binop": null }, - "start": 19902, - "end": 19903, + "start": 19669, + "end": 19670, "loc": { "start": { - "line": 574, + "line": 570, "column": 60 }, "end": { - "line": 574, + "line": 570, "column": 61 } } @@ -159918,15 +157256,15 @@ "postfix": false, "binop": null }, - "start": 19903, - "end": 19904, + "start": 19670, + "end": 19671, "loc": { "start": { - "line": 574, + "line": 570, "column": 61 }, "end": { - "line": 574, + "line": 570, "column": 62 } } @@ -159945,15 +157283,15 @@ "updateContext": null }, "value": "&&", - "start": 19905, - "end": 19907, + "start": 19672, + "end": 19674, "loc": { "start": { - "line": 574, + "line": 570, "column": 63 }, "end": { - "line": 574, + "line": 570, "column": 65 } } @@ -159973,15 +157311,15 @@ "updateContext": null }, "value": "this", - "start": 19920, - "end": 19924, + "start": 19687, + "end": 19691, "loc": { "start": { - "line": 575, + "line": 571, "column": 12 }, "end": { - "line": 575, + "line": 571, "column": 16 } } @@ -159999,15 +157337,15 @@ "binop": null, "updateContext": null }, - "start": 19924, - "end": 19925, + "start": 19691, + "end": 19692, "loc": { "start": { - "line": 575, + "line": 571, "column": 16 }, "end": { - "line": 575, + "line": 571, "column": 17 } } @@ -160025,15 +157363,15 @@ "binop": null }, "value": "player", - "start": 19925, - "end": 19931, + "start": 19692, + "end": 19698, "loc": { "start": { - "line": 575, + "line": 571, "column": 17 }, "end": { - "line": 575, + "line": 571, "column": 23 } } @@ -160051,15 +157389,15 @@ "binop": null, "updateContext": null }, - "start": 19931, - "end": 19932, + "start": 19698, + "end": 19699, "loc": { "start": { - "line": 575, + "line": 571, "column": 23 }, "end": { - "line": 575, + "line": 571, "column": 24 } } @@ -160077,15 +157415,15 @@ "binop": null }, "value": "controlBar", - "start": 19932, - "end": 19942, + "start": 19699, + "end": 19709, "loc": { "start": { - "line": 575, + "line": 571, "column": 24 }, "end": { - "line": 575, + "line": 571, "column": 34 } } @@ -160103,15 +157441,15 @@ "binop": null, "updateContext": null }, - "start": 19942, - "end": 19943, + "start": 19709, + "end": 19710, "loc": { "start": { - "line": 575, + "line": 571, "column": 34 }, "end": { - "line": 575, + "line": 571, "column": 35 } } @@ -160129,15 +157467,15 @@ "binop": null }, "value": "durationDisplay", - "start": 19943, - "end": 19958, + "start": 19710, + "end": 19725, "loc": { "start": { - "line": 575, + "line": 571, "column": 35 }, "end": { - "line": 575, + "line": 571, "column": 50 } } @@ -160155,15 +157493,15 @@ "binop": null, "updateContext": null }, - "start": 19958, - "end": 19959, + "start": 19725, + "end": 19726, "loc": { "start": { - "line": 575, + "line": 571, "column": 50 }, "end": { - "line": 575, + "line": 571, "column": 51 } } @@ -160181,15 +157519,15 @@ "binop": null }, "value": "contentEl", - "start": 19959, - "end": 19968, + "start": 19726, + "end": 19735, "loc": { "start": { - "line": 575, + "line": 571, "column": 51 }, "end": { - "line": 575, + "line": 571, "column": 60 } } @@ -160206,15 +157544,15 @@ "postfix": false, "binop": null }, - "start": 19968, - "end": 19969, + "start": 19735, + "end": 19736, "loc": { "start": { - "line": 575, + "line": 571, "column": 60 }, "end": { - "line": 575, + "line": 571, "column": 61 } } @@ -160231,15 +157569,15 @@ "postfix": false, "binop": null }, - "start": 19969, - "end": 19970, + "start": 19736, + "end": 19737, "loc": { "start": { - "line": 575, + "line": 571, "column": 61 }, "end": { - "line": 575, + "line": 571, "column": 62 } } @@ -160257,15 +157595,15 @@ "binop": null, "updateContext": null }, - "start": 19970, - "end": 19971, + "start": 19737, + "end": 19738, "loc": { "start": { - "line": 575, + "line": 571, "column": 62 }, "end": { - "line": 575, + "line": 571, "column": 63 } } @@ -160283,15 +157621,15 @@ "binop": null }, "value": "lastChild", - "start": 19971, - "end": 19980, + "start": 19738, + "end": 19747, "loc": { "start": { - "line": 575, + "line": 571, "column": 63 }, "end": { - "line": 575, + "line": 571, "column": 72 } } @@ -160308,15 +157646,15 @@ "postfix": false, "binop": null }, - "start": 19980, - "end": 19981, + "start": 19747, + "end": 19748, "loc": { "start": { - "line": 575, + "line": 571, "column": 72 }, "end": { - "line": 575, + "line": 571, "column": 73 } } @@ -160333,15 +157671,15 @@ "postfix": false, "binop": null }, - "start": 19982, - "end": 19983, + "start": 19749, + "end": 19750, "loc": { "start": { - "line": 575, + "line": 571, "column": 74 }, "end": { - "line": 575, + "line": 571, "column": 75 } } @@ -160361,15 +157699,15 @@ "updateContext": null }, "value": "this", - "start": 19996, - "end": 20000, + "start": 19763, + "end": 19767, "loc": { "start": { - "line": 576, + "line": 572, "column": 12 }, "end": { - "line": 576, + "line": 572, "column": 16 } } @@ -160387,15 +157725,15 @@ "binop": null, "updateContext": null }, - "start": 20000, - "end": 20001, + "start": 19767, + "end": 19768, "loc": { "start": { - "line": 576, + "line": 572, "column": 16 }, "end": { - "line": 576, + "line": 572, "column": 17 } } @@ -160413,15 +157751,15 @@ "binop": null }, "value": "player", - "start": 20001, - "end": 20007, + "start": 19768, + "end": 19774, "loc": { "start": { - "line": 576, + "line": 572, "column": 17 }, "end": { - "line": 576, + "line": 572, "column": 23 } } @@ -160439,15 +157777,15 @@ "binop": null, "updateContext": null }, - "start": 20007, - "end": 20008, + "start": 19774, + "end": 19775, "loc": { "start": { - "line": 576, + "line": 572, "column": 23 }, "end": { - "line": 576, + "line": 572, "column": 24 } } @@ -160465,15 +157803,15 @@ "binop": null }, "value": "controlBar", - "start": 20008, - "end": 20018, + "start": 19775, + "end": 19785, "loc": { "start": { - "line": 576, + "line": 572, "column": 24 }, "end": { - "line": 576, + "line": 572, "column": 34 } } @@ -160491,15 +157829,15 @@ "binop": null, "updateContext": null }, - "start": 20018, - "end": 20019, + "start": 19785, + "end": 19786, "loc": { "start": { - "line": 576, + "line": 572, "column": 34 }, "end": { - "line": 576, + "line": 572, "column": 35 } } @@ -160517,15 +157855,15 @@ "binop": null }, "value": "durationDisplay", - "start": 20019, - "end": 20034, + "start": 19786, + "end": 19801, "loc": { "start": { - "line": 576, + "line": 572, "column": 35 }, "end": { - "line": 576, + "line": 572, "column": 50 } } @@ -160543,15 +157881,15 @@ "binop": null, "updateContext": null }, - "start": 20034, - "end": 20035, + "start": 19801, + "end": 19802, "loc": { "start": { - "line": 576, + "line": 572, "column": 50 }, "end": { - "line": 576, + "line": 572, "column": 51 } } @@ -160569,15 +157907,15 @@ "binop": null }, "value": "formattedTime_", - "start": 20035, - "end": 20049, + "start": 19802, + "end": 19816, "loc": { "start": { - "line": 576, + "line": 572, "column": 51 }, "end": { - "line": 576, + "line": 572, "column": 65 } } @@ -160596,15 +157934,15 @@ "updateContext": null }, "value": "=", - "start": 20050, - "end": 20051, + "start": 19817, + "end": 19818, "loc": { "start": { - "line": 576, + "line": 572, "column": 66 }, "end": { - "line": 576, + "line": 572, "column": 67 } } @@ -160624,15 +157962,15 @@ "updateContext": null }, "value": "this", - "start": 20068, - "end": 20072, + "start": 19835, + "end": 19839, "loc": { "start": { - "line": 577, + "line": 573, "column": 16 }, "end": { - "line": 577, + "line": 573, "column": 20 } } @@ -160650,15 +157988,15 @@ "binop": null, "updateContext": null }, - "start": 20072, - "end": 20073, + "start": 19839, + "end": 19840, "loc": { "start": { - "line": 577, + "line": 573, "column": 20 }, "end": { - "line": 577, + "line": 573, "column": 21 } } @@ -160676,15 +158014,15 @@ "binop": null }, "value": "player", - "start": 20073, - "end": 20079, + "start": 19840, + "end": 19846, "loc": { "start": { - "line": 577, + "line": 573, "column": 21 }, "end": { - "line": 577, + "line": 573, "column": 27 } } @@ -160702,15 +158040,15 @@ "binop": null, "updateContext": null }, - "start": 20079, - "end": 20080, + "start": 19846, + "end": 19847, "loc": { "start": { - "line": 577, + "line": 573, "column": 27 }, "end": { - "line": 577, + "line": 573, "column": 28 } } @@ -160728,15 +158066,15 @@ "binop": null }, "value": "controlBar", - "start": 20080, - "end": 20090, + "start": 19847, + "end": 19857, "loc": { "start": { - "line": 577, + "line": 573, "column": 28 }, "end": { - "line": 577, + "line": 573, "column": 38 } } @@ -160754,15 +158092,15 @@ "binop": null, "updateContext": null }, - "start": 20090, - "end": 20091, + "start": 19857, + "end": 19858, "loc": { "start": { - "line": 577, + "line": 573, "column": 38 }, "end": { - "line": 577, + "line": 573, "column": 39 } } @@ -160780,15 +158118,15 @@ "binop": null }, "value": "durationDisplay", - "start": 20091, - "end": 20106, + "start": 19858, + "end": 19873, "loc": { "start": { - "line": 577, + "line": 573, "column": 39 }, "end": { - "line": 577, + "line": 573, "column": 54 } } @@ -160806,15 +158144,15 @@ "binop": null, "updateContext": null }, - "start": 20106, - "end": 20107, + "start": 19873, + "end": 19874, "loc": { "start": { - "line": 577, + "line": 573, "column": 54 }, "end": { - "line": 577, + "line": 573, "column": 55 } } @@ -160832,15 +158170,15 @@ "binop": null }, "value": "contentEl", - "start": 20107, - "end": 20116, + "start": 19874, + "end": 19883, "loc": { "start": { - "line": 577, + "line": 573, "column": 55 }, "end": { - "line": 577, + "line": 573, "column": 64 } } @@ -160857,15 +158195,15 @@ "postfix": false, "binop": null }, - "start": 20116, - "end": 20117, + "start": 19883, + "end": 19884, "loc": { "start": { - "line": 577, + "line": 573, "column": 64 }, "end": { - "line": 577, + "line": 573, "column": 65 } } @@ -160882,15 +158220,15 @@ "postfix": false, "binop": null }, - "start": 20117, - "end": 20118, + "start": 19884, + "end": 19885, "loc": { "start": { - "line": 577, + "line": 573, "column": 65 }, "end": { - "line": 577, + "line": 573, "column": 66 } } @@ -160908,15 +158246,15 @@ "binop": null, "updateContext": null }, - "start": 20118, - "end": 20119, + "start": 19885, + "end": 19886, "loc": { "start": { - "line": 577, + "line": 573, "column": 66 }, "end": { - "line": 577, + "line": 573, "column": 67 } } @@ -160934,15 +158272,15 @@ "binop": null }, "value": "lastChild", - "start": 20119, - "end": 20128, + "start": 19886, + "end": 19895, "loc": { "start": { - "line": 577, + "line": 573, "column": 67 }, "end": { - "line": 577, + "line": 573, "column": 76 } } @@ -160960,15 +158298,15 @@ "binop": null, "updateContext": null }, - "start": 20128, - "end": 20129, + "start": 19895, + "end": 19896, "loc": { "start": { - "line": 577, + "line": 573, "column": 76 }, "end": { - "line": 577, + "line": 573, "column": 77 } } @@ -160986,15 +158324,15 @@ "binop": null }, "value": "textContent", - "start": 20129, - "end": 20140, + "start": 19896, + "end": 19907, "loc": { "start": { - "line": 577, + "line": 573, "column": 77 }, "end": { - "line": 577, + "line": 573, "column": 88 } } @@ -161013,15 +158351,15 @@ "updateContext": null }, "value": "=", - "start": 20141, - "end": 20142, + "start": 19908, + "end": 19909, "loc": { "start": { - "line": 577, + "line": 573, "column": 89 }, "end": { - "line": 577, + "line": 573, "column": 90 } } @@ -161041,15 +158379,15 @@ "updateContext": null }, "value": "this", - "start": 20163, - "end": 20167, + "start": 19930, + "end": 19934, "loc": { "start": { - "line": 578, + "line": 574, "column": 20 }, "end": { - "line": 578, + "line": 574, "column": 24 } } @@ -161067,15 +158405,15 @@ "binop": null, "updateContext": null }, - "start": 20167, - "end": 20168, + "start": 19934, + "end": 19935, "loc": { "start": { - "line": 578, + "line": 574, "column": 24 }, "end": { - "line": 578, + "line": 574, "column": 25 } } @@ -161093,15 +158431,15 @@ "binop": null }, "value": "_formatTime", - "start": 20168, - "end": 20179, + "start": 19935, + "end": 19946, "loc": { "start": { - "line": 578, + "line": 574, "column": 25 }, "end": { - "line": 578, + "line": 574, "column": 36 } } @@ -161118,15 +158456,15 @@ "postfix": false, "binop": null }, - "start": 20179, - "end": 20180, + "start": 19946, + "end": 19947, "loc": { "start": { - "line": 578, + "line": 574, "column": 36 }, "end": { - "line": 578, + "line": 574, "column": 37 } } @@ -161144,15 +158482,15 @@ "binop": null }, "value": "duration", - "start": 20180, - "end": 20188, + "start": 19947, + "end": 19955, "loc": { "start": { - "line": 578, + "line": 574, "column": 37 }, "end": { - "line": 578, + "line": 574, "column": 45 } } @@ -161170,15 +158508,15 @@ "binop": null, "updateContext": null }, - "start": 20188, - "end": 20189, + "start": 19955, + "end": 19956, "loc": { "start": { - "line": 578, + "line": 574, "column": 45 }, "end": { - "line": 578, + "line": 574, "column": 46 } } @@ -161196,15 +158534,15 @@ "binop": null }, "value": "duration", - "start": 20190, - "end": 20198, + "start": 19957, + "end": 19965, "loc": { "start": { - "line": 578, + "line": 574, "column": 47 }, "end": { - "line": 578, + "line": 574, "column": 55 } } @@ -161222,15 +158560,15 @@ "binop": null, "updateContext": null }, - "start": 20198, - "end": 20199, + "start": 19965, + "end": 19966, "loc": { "start": { - "line": 578, + "line": 574, "column": 55 }, "end": { - "line": 578, + "line": 574, "column": 56 } } @@ -161250,15 +158588,15 @@ "updateContext": null }, "value": "this", - "start": 20200, - "end": 20204, + "start": 19967, + "end": 19971, "loc": { "start": { - "line": 578, + "line": 574, "column": 57 }, "end": { - "line": 578, + "line": 574, "column": 61 } } @@ -161276,15 +158614,15 @@ "binop": null, "updateContext": null }, - "start": 20204, - "end": 20205, + "start": 19971, + "end": 19972, "loc": { "start": { - "line": 578, + "line": 574, "column": 61 }, "end": { - "line": 578, + "line": 574, "column": 62 } } @@ -161302,15 +158640,15 @@ "binop": null }, "value": "displayMilliseconds", - "start": 20205, - "end": 20224, + "start": 19972, + "end": 19991, "loc": { "start": { - "line": 578, + "line": 574, "column": 62 }, "end": { - "line": 578, + "line": 574, "column": 81 } } @@ -161327,15 +158665,15 @@ "postfix": false, "binop": null }, - "start": 20224, - "end": 20225, + "start": 19991, + "end": 19992, "loc": { "start": { - "line": 578, + "line": 574, "column": 81 }, "end": { - "line": 578, + "line": 574, "column": 82 } } @@ -161353,15 +158691,15 @@ "binop": null, "updateContext": null }, - "start": 20225, - "end": 20226, + "start": 19992, + "end": 19993, "loc": { "start": { - "line": 578, + "line": 574, "column": 82 }, "end": { - "line": 578, + "line": 574, "column": 83 } } @@ -161378,15 +158716,15 @@ "postfix": false, "binop": null }, - "start": 20235, - "end": 20236, + "start": 20002, + "end": 20003, "loc": { "start": { - "line": 579, + "line": 575, "column": 8 }, "end": { - "line": 579, + "line": 575, "column": 9 } } @@ -161403,15 +158741,15 @@ "postfix": false, "binop": null }, - "start": 20241, - "end": 20242, + "start": 20008, + "end": 20009, "loc": { "start": { - "line": 580, + "line": 576, "column": 4 }, "end": { - "line": 580, + "line": 576, "column": 5 } } @@ -161419,15 +158757,15 @@ { "type": "CommentBlock", "value": "*\n * Audio is loaded, decoded and the waveform is drawn.\n *\n * @fires waveReady\n * @private\n ", - "start": 20248, - "end": 20365, + "start": 20015, + "end": 20132, "loc": { "start": { - "line": 582, + "line": 578, "column": 4 }, "end": { - "line": 587, + "line": 583, "column": 7 } } @@ -161445,15 +158783,15 @@ "binop": null }, "value": "onWaveReady", - "start": 20370, - "end": 20381, + "start": 20137, + "end": 20148, "loc": { "start": { - "line": 588, + "line": 584, "column": 4 }, "end": { - "line": 588, + "line": 584, "column": 15 } } @@ -161470,15 +158808,15 @@ "postfix": false, "binop": null }, - "start": 20381, - "end": 20382, + "start": 20148, + "end": 20149, "loc": { "start": { - "line": 588, + "line": 584, "column": 15 }, "end": { - "line": 588, + "line": 584, "column": 16 } } @@ -161495,15 +158833,15 @@ "postfix": false, "binop": null }, - "start": 20382, - "end": 20383, + "start": 20149, + "end": 20150, "loc": { "start": { - "line": 588, + "line": 584, "column": 16 }, "end": { - "line": 588, + "line": 584, "column": 17 } } @@ -161520,15 +158858,15 @@ "postfix": false, "binop": null }, - "start": 20384, - "end": 20385, + "start": 20151, + "end": 20152, "loc": { "start": { - "line": 588, + "line": 584, "column": 18 }, "end": { - "line": 588, + "line": 584, "column": 19 } } @@ -161548,15 +158886,15 @@ "updateContext": null }, "value": "this", - "start": 20394, - "end": 20398, + "start": 20161, + "end": 20165, "loc": { "start": { - "line": 589, + "line": 585, "column": 8 }, "end": { - "line": 589, + "line": 585, "column": 12 } } @@ -161574,15 +158912,15 @@ "binop": null, "updateContext": null }, - "start": 20398, - "end": 20399, + "start": 20165, + "end": 20166, "loc": { "start": { - "line": 589, + "line": 585, "column": 12 }, "end": { - "line": 589, + "line": 585, "column": 13 } } @@ -161600,15 +158938,15 @@ "binop": null }, "value": "waveReady", - "start": 20399, - "end": 20408, + "start": 20166, + "end": 20175, "loc": { "start": { - "line": 589, + "line": 585, "column": 13 }, "end": { - "line": 589, + "line": 585, "column": 22 } } @@ -161627,15 +158965,15 @@ "updateContext": null }, "value": "=", - "start": 20409, - "end": 20410, + "start": 20176, + "end": 20177, "loc": { "start": { - "line": 589, + "line": 585, "column": 23 }, "end": { - "line": 589, + "line": 585, "column": 24 } } @@ -161655,15 +158993,15 @@ "updateContext": null }, "value": "true", - "start": 20411, - "end": 20415, + "start": 20178, + "end": 20182, "loc": { "start": { - "line": 589, + "line": 585, "column": 25 }, "end": { - "line": 589, + "line": 585, "column": 29 } } @@ -161681,15 +159019,15 @@ "binop": null, "updateContext": null }, - "start": 20415, - "end": 20416, + "start": 20182, + "end": 20183, "loc": { "start": { - "line": 589, + "line": 585, "column": 29 }, "end": { - "line": 589, + "line": 585, "column": 30 } } @@ -161709,15 +159047,15 @@ "updateContext": null }, "value": "this", - "start": 20425, - "end": 20429, + "start": 20192, + "end": 20196, "loc": { "start": { - "line": 590, + "line": 586, "column": 8 }, "end": { - "line": 590, + "line": 586, "column": 12 } } @@ -161735,15 +159073,15 @@ "binop": null, "updateContext": null }, - "start": 20429, - "end": 20430, + "start": 20196, + "end": 20197, "loc": { "start": { - "line": 590, + "line": 586, "column": 12 }, "end": { - "line": 590, + "line": 586, "column": 13 } } @@ -161761,15 +159099,15 @@ "binop": null }, "value": "waveFinished", - "start": 20430, - "end": 20442, + "start": 20197, + "end": 20209, "loc": { "start": { - "line": 590, + "line": 586, "column": 13 }, "end": { - "line": 590, + "line": 586, "column": 25 } } @@ -161788,15 +159126,15 @@ "updateContext": null }, "value": "=", - "start": 20443, - "end": 20444, + "start": 20210, + "end": 20211, "loc": { "start": { - "line": 590, + "line": 586, "column": 26 }, "end": { - "line": 590, + "line": 586, "column": 27 } } @@ -161816,15 +159154,15 @@ "updateContext": null }, "value": "false", - "start": 20445, - "end": 20450, + "start": 20212, + "end": 20217, "loc": { "start": { - "line": 590, + "line": 586, "column": 28 }, "end": { - "line": 590, + "line": 586, "column": 33 } } @@ -161842,15 +159180,15 @@ "binop": null, "updateContext": null }, - "start": 20450, - "end": 20451, + "start": 20217, + "end": 20218, "loc": { "start": { - "line": 590, + "line": 586, "column": 33 }, "end": { - "line": 590, + "line": 586, "column": 34 } } @@ -161870,15 +159208,15 @@ "updateContext": null }, "value": "this", - "start": 20460, - "end": 20464, + "start": 20227, + "end": 20231, "loc": { "start": { - "line": 591, + "line": 587, "column": 8 }, "end": { - "line": 591, + "line": 587, "column": 12 } } @@ -161896,15 +159234,15 @@ "binop": null, "updateContext": null }, - "start": 20464, - "end": 20465, + "start": 20231, + "end": 20232, "loc": { "start": { - "line": 591, + "line": 587, "column": 12 }, "end": { - "line": 591, + "line": 587, "column": 13 } } @@ -161922,15 +159260,15 @@ "binop": null }, "value": "liveMode", - "start": 20465, - "end": 20473, + "start": 20232, + "end": 20240, "loc": { "start": { - "line": 591, + "line": 587, "column": 13 }, "end": { - "line": 591, + "line": 587, "column": 21 } } @@ -161949,15 +159287,15 @@ "updateContext": null }, "value": "=", - "start": 20474, - "end": 20475, + "start": 20241, + "end": 20242, "loc": { "start": { - "line": 591, + "line": 587, "column": 22 }, "end": { - "line": 591, + "line": 587, "column": 23 } } @@ -161977,15 +159315,15 @@ "updateContext": null }, "value": "false", - "start": 20476, - "end": 20481, + "start": 20243, + "end": 20248, "loc": { "start": { - "line": 591, + "line": 587, "column": 24 }, "end": { - "line": 591, + "line": 587, "column": 29 } } @@ -162003,15 +159341,15 @@ "binop": null, "updateContext": null }, - "start": 20481, - "end": 20482, + "start": 20248, + "end": 20249, "loc": { "start": { - "line": 591, + "line": 587, "column": 29 }, "end": { - "line": 591, + "line": 587, "column": 30 } } @@ -162031,15 +159369,15 @@ "updateContext": null }, "value": "this", - "start": 20492, - "end": 20496, + "start": 20259, + "end": 20263, "loc": { "start": { - "line": 593, + "line": 589, "column": 8 }, "end": { - "line": 593, + "line": 589, "column": 12 } } @@ -162057,15 +159395,15 @@ "binop": null, "updateContext": null }, - "start": 20496, - "end": 20497, + "start": 20263, + "end": 20264, "loc": { "start": { - "line": 593, + "line": 589, "column": 12 }, "end": { - "line": 593, + "line": 589, "column": 13 } } @@ -162083,15 +159421,15 @@ "binop": null }, "value": "log", - "start": 20497, - "end": 20500, + "start": 20264, + "end": 20267, "loc": { "start": { - "line": 593, + "line": 589, "column": 13 }, "end": { - "line": 593, + "line": 589, "column": 16 } } @@ -162108,15 +159446,15 @@ "postfix": false, "binop": null }, - "start": 20500, - "end": 20501, + "start": 20267, + "end": 20268, "loc": { "start": { - "line": 593, + "line": 589, "column": 16 }, "end": { - "line": 593, + "line": 589, "column": 17 } } @@ -162135,15 +159473,15 @@ "updateContext": null }, "value": "Waveform is ready", - "start": 20501, - "end": 20520, + "start": 20268, + "end": 20287, "loc": { "start": { - "line": 593, + "line": 589, "column": 17 }, "end": { - "line": 593, + "line": 589, "column": 36 } } @@ -162160,15 +159498,15 @@ "postfix": false, "binop": null }, - "start": 20520, - "end": 20521, + "start": 20287, + "end": 20288, "loc": { "start": { - "line": 593, + "line": 589, "column": 36 }, "end": { - "line": 593, + "line": 589, "column": 37 } } @@ -162186,15 +159524,15 @@ "binop": null, "updateContext": null }, - "start": 20521, - "end": 20522, + "start": 20288, + "end": 20289, "loc": { "start": { - "line": 593, + "line": 589, "column": 37 }, "end": { - "line": 593, + "line": 589, "column": 38 } } @@ -162214,15 +159552,15 @@ "updateContext": null }, "value": "this", - "start": 20531, - "end": 20535, + "start": 20298, + "end": 20302, "loc": { "start": { - "line": 594, + "line": 590, "column": 8 }, "end": { - "line": 594, + "line": 590, "column": 12 } } @@ -162240,15 +159578,15 @@ "binop": null, "updateContext": null }, - "start": 20535, - "end": 20536, + "start": 20302, + "end": 20303, "loc": { "start": { - "line": 594, + "line": 590, "column": 12 }, "end": { - "line": 594, + "line": 590, "column": 13 } } @@ -162266,15 +159604,15 @@ "binop": null }, "value": "player", - "start": 20536, - "end": 20542, + "start": 20303, + "end": 20309, "loc": { "start": { - "line": 594, + "line": 590, "column": 13 }, "end": { - "line": 594, + "line": 590, "column": 19 } } @@ -162292,15 +159630,15 @@ "binop": null, "updateContext": null }, - "start": 20542, - "end": 20543, + "start": 20309, + "end": 20310, "loc": { "start": { - "line": 594, + "line": 590, "column": 19 }, "end": { - "line": 594, + "line": 590, "column": 20 } } @@ -162318,15 +159656,15 @@ "binop": null }, "value": "trigger", - "start": 20543, - "end": 20550, + "start": 20310, + "end": 20317, "loc": { "start": { - "line": 594, + "line": 590, "column": 20 }, "end": { - "line": 594, + "line": 590, "column": 27 } } @@ -162343,15 +159681,15 @@ "postfix": false, "binop": null }, - "start": 20550, - "end": 20551, + "start": 20317, + "end": 20318, "loc": { "start": { - "line": 594, + "line": 590, "column": 27 }, "end": { - "line": 594, + "line": 590, "column": 28 } } @@ -162369,15 +159707,15 @@ "binop": null }, "value": "Event", - "start": 20551, - "end": 20556, + "start": 20318, + "end": 20323, "loc": { "start": { - "line": 594, + "line": 590, "column": 28 }, "end": { - "line": 594, + "line": 590, "column": 33 } } @@ -162395,15 +159733,15 @@ "binop": null, "updateContext": null }, - "start": 20556, - "end": 20557, + "start": 20323, + "end": 20324, "loc": { "start": { - "line": 594, + "line": 590, "column": 33 }, "end": { - "line": 594, + "line": 590, "column": 34 } } @@ -162421,15 +159759,15 @@ "binop": null }, "value": "WAVE_READY", - "start": 20557, - "end": 20567, + "start": 20324, + "end": 20334, "loc": { "start": { - "line": 594, + "line": 590, "column": 34 }, "end": { - "line": 594, + "line": 590, "column": 44 } } @@ -162446,15 +159784,15 @@ "postfix": false, "binop": null }, - "start": 20567, - "end": 20568, + "start": 20334, + "end": 20335, "loc": { "start": { - "line": 594, + "line": 590, "column": 44 }, "end": { - "line": 594, + "line": 590, "column": 45 } } @@ -162472,15 +159810,15 @@ "binop": null, "updateContext": null }, - "start": 20568, - "end": 20569, + "start": 20335, + "end": 20336, "loc": { "start": { - "line": 594, + "line": 590, "column": 45 }, "end": { - "line": 594, + "line": 590, "column": 46 } } @@ -162500,15 +159838,15 @@ "updateContext": null }, "value": "if", - "start": 20579, - "end": 20581, + "start": 20346, + "end": 20348, "loc": { "start": { - "line": 596, + "line": 592, "column": 8 }, "end": { - "line": 596, + "line": 592, "column": 10 } } @@ -162525,15 +159863,15 @@ "postfix": false, "binop": null }, - "start": 20582, - "end": 20583, + "start": 20349, + "end": 20350, "loc": { "start": { - "line": 596, + "line": 592, "column": 11 }, "end": { - "line": 596, + "line": 592, "column": 12 } } @@ -162553,15 +159891,15 @@ "updateContext": null }, "value": "this", - "start": 20583, - "end": 20587, + "start": 20350, + "end": 20354, "loc": { "start": { - "line": 596, + "line": 592, "column": 12 }, "end": { - "line": 596, + "line": 592, "column": 16 } } @@ -162579,15 +159917,15 @@ "binop": null, "updateContext": null }, - "start": 20587, - "end": 20588, + "start": 20354, + "end": 20355, "loc": { "start": { - "line": 596, + "line": 592, "column": 16 }, "end": { - "line": 596, + "line": 592, "column": 17 } } @@ -162605,15 +159943,15 @@ "binop": null }, "value": "backend", - "start": 20588, - "end": 20595, + "start": 20355, + "end": 20362, "loc": { "start": { - "line": 596, + "line": 592, "column": 17 }, "end": { - "line": 596, + "line": 592, "column": 24 } } @@ -162632,15 +159970,15 @@ "updateContext": null }, "value": "===", - "start": 20596, - "end": 20599, + "start": 20363, + "end": 20366, "loc": { "start": { - "line": 596, + "line": 592, "column": 25 }, "end": { - "line": 596, + "line": 592, "column": 28 } } @@ -162658,15 +159996,15 @@ "binop": null }, "value": "WEBAUDIO", - "start": 20600, - "end": 20608, + "start": 20367, + "end": 20375, "loc": { "start": { - "line": 596, + "line": 592, "column": 29 }, "end": { - "line": 596, + "line": 592, "column": 37 } } @@ -162683,15 +160021,15 @@ "postfix": false, "binop": null }, - "start": 20608, - "end": 20609, + "start": 20375, + "end": 20376, "loc": { "start": { - "line": 596, + "line": 592, "column": 37 }, "end": { - "line": 596, + "line": 592, "column": 38 } } @@ -162708,15 +160046,15 @@ "postfix": false, "binop": null }, - "start": 20610, - "end": 20611, + "start": 20377, + "end": 20378, "loc": { "start": { - "line": 596, + "line": 592, "column": 39 }, "end": { - "line": 596, + "line": 592, "column": 40 } } @@ -162724,15 +160062,15 @@ { "type": "CommentLine", "value": " update time display", - "start": 20624, - "end": 20646, + "start": 20391, + "end": 20413, "loc": { "start": { - "line": 597, + "line": 593, "column": 12 }, "end": { - "line": 597, + "line": 593, "column": 34 } } @@ -162752,15 +160090,15 @@ "updateContext": null }, "value": "this", - "start": 20659, - "end": 20663, + "start": 20426, + "end": 20430, "loc": { "start": { - "line": 598, + "line": 594, "column": 12 }, "end": { - "line": 598, + "line": 594, "column": 16 } } @@ -162778,15 +160116,15 @@ "binop": null, "updateContext": null }, - "start": 20663, - "end": 20664, + "start": 20430, + "end": 20431, "loc": { "start": { - "line": 598, + "line": 594, "column": 16 }, "end": { - "line": 598, + "line": 594, "column": 17 } } @@ -162804,15 +160142,15 @@ "binop": null }, "value": "setCurrentTime", - "start": 20664, - "end": 20678, + "start": 20431, + "end": 20445, "loc": { "start": { - "line": 598, + "line": 594, "column": 17 }, "end": { - "line": 598, + "line": 594, "column": 31 } } @@ -162829,15 +160167,15 @@ "postfix": false, "binop": null }, - "start": 20678, - "end": 20679, + "start": 20445, + "end": 20446, "loc": { "start": { - "line": 598, + "line": 594, "column": 31 }, "end": { - "line": 598, + "line": 594, "column": 32 } } @@ -162854,15 +160192,15 @@ "postfix": false, "binop": null }, - "start": 20679, - "end": 20680, + "start": 20446, + "end": 20447, "loc": { "start": { - "line": 598, + "line": 594, "column": 32 }, "end": { - "line": 598, + "line": 594, "column": 33 } } @@ -162880,15 +160218,15 @@ "binop": null, "updateContext": null }, - "start": 20680, - "end": 20681, + "start": 20447, + "end": 20448, "loc": { "start": { - "line": 598, + "line": 594, "column": 33 }, "end": { - "line": 598, + "line": 594, "column": 34 } } @@ -162908,15 +160246,15 @@ "updateContext": null }, "value": "this", - "start": 20694, - "end": 20698, + "start": 20461, + "end": 20465, "loc": { "start": { - "line": 599, + "line": 595, "column": 12 }, "end": { - "line": 599, + "line": 595, "column": 16 } } @@ -162934,15 +160272,15 @@ "binop": null, "updateContext": null }, - "start": 20698, - "end": 20699, + "start": 20465, + "end": 20466, "loc": { "start": { - "line": 599, + "line": 595, "column": 16 }, "end": { - "line": 599, + "line": 595, "column": 17 } } @@ -162960,15 +160298,15 @@ "binop": null }, "value": "setDuration", - "start": 20699, - "end": 20710, + "start": 20466, + "end": 20477, "loc": { "start": { - "line": 599, + "line": 595, "column": 17 }, "end": { - "line": 599, + "line": 595, "column": 28 } } @@ -162985,15 +160323,15 @@ "postfix": false, "binop": null }, - "start": 20710, - "end": 20711, + "start": 20477, + "end": 20478, "loc": { "start": { - "line": 599, + "line": 595, "column": 28 }, "end": { - "line": 599, + "line": 595, "column": 29 } } @@ -163010,15 +160348,15 @@ "postfix": false, "binop": null }, - "start": 20711, - "end": 20712, + "start": 20478, + "end": 20479, "loc": { "start": { - "line": 599, + "line": 595, "column": 29 }, "end": { - "line": 599, + "line": 595, "column": 30 } } @@ -163036,15 +160374,15 @@ "binop": null, "updateContext": null }, - "start": 20712, - "end": 20713, + "start": 20479, + "end": 20480, "loc": { "start": { - "line": 599, + "line": 595, "column": 30 }, "end": { - "line": 599, + "line": 595, "column": 31 } } @@ -163052,15 +160390,15 @@ { "type": "CommentLine", "value": " enable and show play button", - "start": 20727, - "end": 20757, + "start": 20494, + "end": 20524, "loc": { "start": { - "line": 601, + "line": 597, "column": 12 }, "end": { - "line": 601, + "line": 597, "column": 42 } } @@ -163080,15 +160418,15 @@ "updateContext": null }, "value": "if", - "start": 20770, - "end": 20772, + "start": 20537, + "end": 20539, "loc": { "start": { - "line": 602, + "line": 598, "column": 12 }, "end": { - "line": 602, + "line": 598, "column": 14 } } @@ -163105,15 +160443,15 @@ "postfix": false, "binop": null }, - "start": 20773, - "end": 20774, + "start": 20540, + "end": 20541, "loc": { "start": { - "line": 602, + "line": 598, "column": 15 }, "end": { - "line": 602, + "line": 598, "column": 16 } } @@ -163133,15 +160471,15 @@ "updateContext": null }, "value": "this", - "start": 20774, - "end": 20778, + "start": 20541, + "end": 20545, "loc": { "start": { - "line": 602, + "line": 598, "column": 16 }, "end": { - "line": 602, + "line": 598, "column": 20 } } @@ -163159,15 +160497,15 @@ "binop": null, "updateContext": null }, - "start": 20778, - "end": 20779, + "start": 20545, + "end": 20546, "loc": { "start": { - "line": 602, + "line": 598, "column": 20 }, "end": { - "line": 602, + "line": 598, "column": 21 } } @@ -163185,15 +160523,15 @@ "binop": null }, "value": "player", - "start": 20779, - "end": 20785, + "start": 20546, + "end": 20552, "loc": { "start": { - "line": 602, + "line": 598, "column": 21 }, "end": { - "line": 602, + "line": 598, "column": 27 } } @@ -163211,15 +160549,15 @@ "binop": null, "updateContext": null }, - "start": 20785, - "end": 20786, + "start": 20552, + "end": 20553, "loc": { "start": { - "line": 602, + "line": 598, "column": 27 }, "end": { - "line": 602, + "line": 598, "column": 28 } } @@ -163237,15 +160575,15 @@ "binop": null }, "value": "controlBar", - "start": 20786, - "end": 20796, + "start": 20553, + "end": 20563, "loc": { "start": { - "line": 602, + "line": 598, "column": 28 }, "end": { - "line": 602, + "line": 598, "column": 38 } } @@ -163263,15 +160601,15 @@ "binop": null, "updateContext": null }, - "start": 20796, - "end": 20797, + "start": 20563, + "end": 20564, "loc": { "start": { - "line": 602, + "line": 598, "column": 38 }, "end": { - "line": 602, + "line": 598, "column": 39 } } @@ -163289,15 +160627,15 @@ "binop": null }, "value": "playToggle", - "start": 20797, - "end": 20807, + "start": 20564, + "end": 20574, "loc": { "start": { - "line": 602, + "line": 598, "column": 39 }, "end": { - "line": 602, + "line": 598, "column": 49 } } @@ -163316,15 +160654,15 @@ "updateContext": null }, "value": "!==", - "start": 20808, - "end": 20811, + "start": 20575, + "end": 20578, "loc": { "start": { - "line": 602, + "line": 598, "column": 50 }, "end": { - "line": 602, + "line": 598, "column": 53 } } @@ -163342,15 +160680,15 @@ "binop": null }, "value": "undefined", - "start": 20812, - "end": 20821, + "start": 20579, + "end": 20588, "loc": { "start": { - "line": 602, + "line": 598, "column": 54 }, "end": { - "line": 602, + "line": 598, "column": 63 } } @@ -163369,15 +160707,15 @@ "updateContext": null }, "value": "&&", - "start": 20822, - "end": 20824, + "start": 20589, + "end": 20591, "loc": { "start": { - "line": 602, + "line": 598, "column": 64 }, "end": { - "line": 602, + "line": 598, "column": 66 } } @@ -163397,15 +160735,15 @@ "updateContext": null }, "value": "this", - "start": 20841, - "end": 20845, + "start": 20608, + "end": 20612, "loc": { "start": { - "line": 603, + "line": 599, "column": 16 }, "end": { - "line": 603, + "line": 599, "column": 20 } } @@ -163423,15 +160761,15 @@ "binop": null, "updateContext": null }, - "start": 20845, - "end": 20846, + "start": 20612, + "end": 20613, "loc": { "start": { - "line": 603, + "line": 599, "column": 20 }, "end": { - "line": 603, + "line": 599, "column": 21 } } @@ -163449,15 +160787,15 @@ "binop": null }, "value": "player", - "start": 20846, - "end": 20852, + "start": 20613, + "end": 20619, "loc": { "start": { - "line": 603, + "line": 599, "column": 21 }, "end": { - "line": 603, + "line": 599, "column": 27 } } @@ -163475,15 +160813,15 @@ "binop": null, "updateContext": null }, - "start": 20852, - "end": 20853, + "start": 20619, + "end": 20620, "loc": { "start": { - "line": 603, + "line": 599, "column": 27 }, "end": { - "line": 603, + "line": 599, "column": 28 } } @@ -163501,15 +160839,15 @@ "binop": null }, "value": "controlBar", - "start": 20853, - "end": 20863, + "start": 20620, + "end": 20630, "loc": { "start": { - "line": 603, + "line": 599, "column": 28 }, "end": { - "line": 603, + "line": 599, "column": 38 } } @@ -163527,15 +160865,15 @@ "binop": null, "updateContext": null }, - "start": 20863, - "end": 20864, + "start": 20630, + "end": 20631, "loc": { "start": { - "line": 603, + "line": 599, "column": 38 }, "end": { - "line": 603, + "line": 599, "column": 39 } } @@ -163553,15 +160891,15 @@ "binop": null }, "value": "playToggle", - "start": 20864, - "end": 20874, + "start": 20631, + "end": 20641, "loc": { "start": { - "line": 603, + "line": 599, "column": 39 }, "end": { - "line": 603, + "line": 599, "column": 49 } } @@ -163579,15 +160917,15 @@ "binop": null, "updateContext": null }, - "start": 20874, - "end": 20875, + "start": 20641, + "end": 20642, "loc": { "start": { - "line": 603, + "line": 599, "column": 49 }, "end": { - "line": 603, + "line": 599, "column": 50 } } @@ -163605,15 +160943,15 @@ "binop": null }, "value": "contentEl", - "start": 20875, - "end": 20884, + "start": 20642, + "end": 20651, "loc": { "start": { - "line": 603, + "line": 599, "column": 50 }, "end": { - "line": 603, + "line": 599, "column": 59 } } @@ -163630,15 +160968,15 @@ "postfix": false, "binop": null }, - "start": 20884, - "end": 20885, + "start": 20651, + "end": 20652, "loc": { "start": { - "line": 603, + "line": 599, "column": 59 }, "end": { - "line": 603, + "line": 599, "column": 60 } } @@ -163655,15 +160993,15 @@ "postfix": false, "binop": null }, - "start": 20885, - "end": 20886, + "start": 20652, + "end": 20653, "loc": { "start": { - "line": 603, + "line": 599, "column": 60 }, "end": { - "line": 603, + "line": 599, "column": 61 } } @@ -163680,15 +161018,15 @@ "postfix": false, "binop": null }, - "start": 20886, - "end": 20887, + "start": 20653, + "end": 20654, "loc": { "start": { - "line": 603, + "line": 599, "column": 61 }, "end": { - "line": 603, + "line": 599, "column": 62 } } @@ -163705,15 +161043,15 @@ "postfix": false, "binop": null }, - "start": 20888, - "end": 20889, + "start": 20655, + "end": 20656, "loc": { "start": { - "line": 603, + "line": 599, "column": 63 }, "end": { - "line": 603, + "line": 599, "column": 64 } } @@ -163733,15 +161071,15 @@ "updateContext": null }, "value": "this", - "start": 20906, - "end": 20910, + "start": 20673, + "end": 20677, "loc": { "start": { - "line": 604, + "line": 600, "column": 16 }, "end": { - "line": 604, + "line": 600, "column": 20 } } @@ -163759,15 +161097,15 @@ "binop": null, "updateContext": null }, - "start": 20910, - "end": 20911, + "start": 20677, + "end": 20678, "loc": { "start": { - "line": 604, + "line": 600, "column": 20 }, "end": { - "line": 604, + "line": 600, "column": 21 } } @@ -163785,15 +161123,15 @@ "binop": null }, "value": "player", - "start": 20911, - "end": 20917, + "start": 20678, + "end": 20684, "loc": { "start": { - "line": 604, + "line": 600, "column": 21 }, "end": { - "line": 604, + "line": 600, "column": 27 } } @@ -163811,15 +161149,15 @@ "binop": null, "updateContext": null }, - "start": 20917, - "end": 20918, + "start": 20684, + "end": 20685, "loc": { "start": { - "line": 604, + "line": 600, "column": 27 }, "end": { - "line": 604, + "line": 600, "column": 28 } } @@ -163837,15 +161175,15 @@ "binop": null }, "value": "controlBar", - "start": 20918, - "end": 20928, + "start": 20685, + "end": 20695, "loc": { "start": { - "line": 604, + "line": 600, "column": 28 }, "end": { - "line": 604, + "line": 600, "column": 38 } } @@ -163863,15 +161201,15 @@ "binop": null, "updateContext": null }, - "start": 20928, - "end": 20929, + "start": 20695, + "end": 20696, "loc": { "start": { - "line": 604, + "line": 600, "column": 38 }, "end": { - "line": 604, + "line": 600, "column": 39 } } @@ -163889,15 +161227,15 @@ "binop": null }, "value": "playToggle", - "start": 20929, - "end": 20939, + "start": 20696, + "end": 20706, "loc": { "start": { - "line": 604, + "line": 600, "column": 39 }, "end": { - "line": 604, + "line": 600, "column": 49 } } @@ -163915,15 +161253,15 @@ "binop": null, "updateContext": null }, - "start": 20939, - "end": 20940, + "start": 20706, + "end": 20707, "loc": { "start": { - "line": 604, + "line": 600, "column": 49 }, "end": { - "line": 604, + "line": 600, "column": 50 } } @@ -163941,15 +161279,15 @@ "binop": null }, "value": "show", - "start": 20940, - "end": 20944, + "start": 20707, + "end": 20711, "loc": { "start": { - "line": 604, + "line": 600, "column": 50 }, "end": { - "line": 604, + "line": 600, "column": 54 } } @@ -163966,15 +161304,15 @@ "postfix": false, "binop": null }, - "start": 20944, - "end": 20945, + "start": 20711, + "end": 20712, "loc": { "start": { - "line": 604, + "line": 600, "column": 54 }, "end": { - "line": 604, + "line": 600, "column": 55 } } @@ -163991,15 +161329,15 @@ "postfix": false, "binop": null }, - "start": 20945, - "end": 20946, + "start": 20712, + "end": 20713, "loc": { "start": { - "line": 604, + "line": 600, "column": 55 }, "end": { - "line": 604, + "line": 600, "column": 56 } } @@ -164017,15 +161355,15 @@ "binop": null, "updateContext": null }, - "start": 20946, - "end": 20947, + "start": 20713, + "end": 20714, "loc": { "start": { - "line": 604, + "line": 600, "column": 56 }, "end": { - "line": 604, + "line": 600, "column": 57 } } @@ -164042,15 +161380,15 @@ "postfix": false, "binop": null }, - "start": 20960, - "end": 20961, + "start": 20727, + "end": 20728, "loc": { "start": { - "line": 605, + "line": 601, "column": 12 }, "end": { - "line": 605, + "line": 601, "column": 13 } } @@ -164067,15 +161405,15 @@ "postfix": false, "binop": null }, - "start": 20970, - "end": 20971, + "start": 20737, + "end": 20738, "loc": { "start": { - "line": 606, + "line": 602, "column": 8 }, "end": { - "line": 606, + "line": 602, "column": 9 } } @@ -164083,15 +161421,15 @@ { "type": "CommentLine", "value": " hide loading spinner", - "start": 20981, - "end": 21004, + "start": 20748, + "end": 20771, "loc": { "start": { - "line": 608, + "line": 604, "column": 8 }, "end": { - "line": 608, + "line": 604, "column": 31 } } @@ -164111,15 +161449,15 @@ "updateContext": null }, "value": "if", - "start": 21013, - "end": 21015, + "start": 20780, + "end": 20782, "loc": { "start": { - "line": 609, + "line": 605, "column": 8 }, "end": { - "line": 609, + "line": 605, "column": 10 } } @@ -164136,15 +161474,15 @@ "postfix": false, "binop": null }, - "start": 21016, - "end": 21017, + "start": 20783, + "end": 20784, "loc": { "start": { - "line": 609, + "line": 605, "column": 11 }, "end": { - "line": 609, + "line": 605, "column": 12 } } @@ -164164,15 +161502,15 @@ "updateContext": null }, "value": "this", - "start": 21017, - "end": 21021, + "start": 20784, + "end": 20788, "loc": { "start": { - "line": 609, + "line": 605, "column": 12 }, "end": { - "line": 609, + "line": 605, "column": 16 } } @@ -164190,15 +161528,15 @@ "binop": null, "updateContext": null }, - "start": 21021, - "end": 21022, + "start": 20788, + "end": 20789, "loc": { "start": { - "line": 609, + "line": 605, "column": 16 }, "end": { - "line": 609, + "line": 605, "column": 17 } } @@ -164216,15 +161554,15 @@ "binop": null }, "value": "player", - "start": 21022, - "end": 21028, + "start": 20789, + "end": 20795, "loc": { "start": { - "line": 609, + "line": 605, "column": 17 }, "end": { - "line": 609, + "line": 605, "column": 23 } } @@ -164242,15 +161580,15 @@ "binop": null, "updateContext": null }, - "start": 21028, - "end": 21029, + "start": 20795, + "end": 20796, "loc": { "start": { - "line": 609, + "line": 605, "column": 23 }, "end": { - "line": 609, + "line": 605, "column": 24 } } @@ -164268,15 +161606,15 @@ "binop": null }, "value": "loadingSpinner", - "start": 21029, - "end": 21043, + "start": 20796, + "end": 20810, "loc": { "start": { - "line": 609, + "line": 605, "column": 24 }, "end": { - "line": 609, + "line": 605, "column": 38 } } @@ -164294,15 +161632,15 @@ "binop": null, "updateContext": null }, - "start": 21043, - "end": 21044, + "start": 20810, + "end": 20811, "loc": { "start": { - "line": 609, + "line": 605, "column": 38 }, "end": { - "line": 609, + "line": 605, "column": 39 } } @@ -164320,15 +161658,15 @@ "binop": null }, "value": "contentEl", - "start": 21044, - "end": 21053, + "start": 20811, + "end": 20820, "loc": { "start": { - "line": 609, + "line": 605, "column": 39 }, "end": { - "line": 609, + "line": 605, "column": 48 } } @@ -164345,15 +161683,15 @@ "postfix": false, "binop": null }, - "start": 21053, - "end": 21054, + "start": 20820, + "end": 20821, "loc": { "start": { - "line": 609, + "line": 605, "column": 48 }, "end": { - "line": 609, + "line": 605, "column": 49 } } @@ -164370,15 +161708,15 @@ "postfix": false, "binop": null }, - "start": 21054, - "end": 21055, + "start": 20821, + "end": 20822, "loc": { "start": { - "line": 609, + "line": 605, "column": 49 }, "end": { - "line": 609, + "line": 605, "column": 50 } } @@ -164395,15 +161733,15 @@ "postfix": false, "binop": null }, - "start": 21055, - "end": 21056, + "start": 20822, + "end": 20823, "loc": { "start": { - "line": 609, + "line": 605, "column": 50 }, "end": { - "line": 609, + "line": 605, "column": 51 } } @@ -164420,15 +161758,15 @@ "postfix": false, "binop": null }, - "start": 21057, - "end": 21058, + "start": 20824, + "end": 20825, "loc": { "start": { - "line": 609, + "line": 605, "column": 52 }, "end": { - "line": 609, + "line": 605, "column": 53 } } @@ -164448,15 +161786,15 @@ "updateContext": null }, "value": "this", - "start": 21071, - "end": 21075, + "start": 20838, + "end": 20842, "loc": { "start": { - "line": 610, + "line": 606, "column": 12 }, "end": { - "line": 610, + "line": 606, "column": 16 } } @@ -164474,15 +161812,15 @@ "binop": null, "updateContext": null }, - "start": 21075, - "end": 21076, + "start": 20842, + "end": 20843, "loc": { "start": { - "line": 610, + "line": 606, "column": 16 }, "end": { - "line": 610, + "line": 606, "column": 17 } } @@ -164500,15 +161838,15 @@ "binop": null }, "value": "player", - "start": 21076, - "end": 21082, + "start": 20843, + "end": 20849, "loc": { "start": { - "line": 610, + "line": 606, "column": 17 }, "end": { - "line": 610, + "line": 606, "column": 23 } } @@ -164526,15 +161864,15 @@ "binop": null, "updateContext": null }, - "start": 21082, - "end": 21083, + "start": 20849, + "end": 20850, "loc": { "start": { - "line": 610, + "line": 606, "column": 23 }, "end": { - "line": 610, + "line": 606, "column": 24 } } @@ -164552,15 +161890,15 @@ "binop": null }, "value": "loadingSpinner", - "start": 21083, - "end": 21097, + "start": 20850, + "end": 20864, "loc": { "start": { - "line": 610, + "line": 606, "column": 24 }, "end": { - "line": 610, + "line": 606, "column": 38 } } @@ -164578,15 +161916,15 @@ "binop": null, "updateContext": null }, - "start": 21097, - "end": 21098, + "start": 20864, + "end": 20865, "loc": { "start": { - "line": 610, + "line": 606, "column": 38 }, "end": { - "line": 610, + "line": 606, "column": 39 } } @@ -164604,15 +161942,15 @@ "binop": null }, "value": "hide", - "start": 21098, - "end": 21102, + "start": 20865, + "end": 20869, "loc": { "start": { - "line": 610, + "line": 606, "column": 39 }, "end": { - "line": 610, + "line": 606, "column": 43 } } @@ -164629,15 +161967,15 @@ "postfix": false, "binop": null }, - "start": 21102, - "end": 21103, + "start": 20869, + "end": 20870, "loc": { "start": { - "line": 610, + "line": 606, "column": 43 }, "end": { - "line": 610, + "line": 606, "column": 44 } } @@ -164654,15 +161992,15 @@ "postfix": false, "binop": null }, - "start": 21103, - "end": 21104, + "start": 20870, + "end": 20871, "loc": { "start": { - "line": 610, + "line": 606, "column": 44 }, "end": { - "line": 610, + "line": 606, "column": 45 } } @@ -164680,15 +162018,15 @@ "binop": null, "updateContext": null }, - "start": 21104, - "end": 21105, + "start": 20871, + "end": 20872, "loc": { "start": { - "line": 610, + "line": 606, "column": 45 }, "end": { - "line": 610, + "line": 606, "column": 46 } } @@ -164705,15 +162043,15 @@ "postfix": false, "binop": null }, - "start": 21114, - "end": 21115, + "start": 20881, + "end": 20882, "loc": { "start": { - "line": 611, + "line": 607, "column": 8 }, "end": { - "line": 611, + "line": 607, "column": 9 } } @@ -164721,15 +162059,15 @@ { "type": "CommentLine", "value": " auto-play when ready (if enabled)", - "start": 21125, - "end": 21161, + "start": 20892, + "end": 20928, "loc": { "start": { - "line": 613, + "line": 609, "column": 8 }, "end": { - "line": 613, + "line": 609, "column": 44 } } @@ -164749,15 +162087,15 @@ "updateContext": null }, "value": "if", - "start": 21170, - "end": 21172, + "start": 20937, + "end": 20939, "loc": { "start": { - "line": 614, + "line": 610, "column": 8 }, "end": { - "line": 614, + "line": 610, "column": 10 } } @@ -164774,15 +162112,15 @@ "postfix": false, "binop": null }, - "start": 21173, - "end": 21174, + "start": 20940, + "end": 20941, "loc": { "start": { - "line": 614, + "line": 610, "column": 11 }, "end": { - "line": 614, + "line": 610, "column": 12 } } @@ -164802,15 +162140,15 @@ "updateContext": null }, "value": "this", - "start": 21174, - "end": 21178, + "start": 20941, + "end": 20945, "loc": { "start": { - "line": 614, + "line": 610, "column": 12 }, "end": { - "line": 614, + "line": 610, "column": 16 } } @@ -164828,15 +162166,15 @@ "binop": null, "updateContext": null }, - "start": 21178, - "end": 21179, + "start": 20945, + "end": 20946, "loc": { "start": { - "line": 614, + "line": 610, "column": 16 }, "end": { - "line": 614, + "line": 610, "column": 17 } } @@ -164854,15 +162192,15 @@ "binop": null }, "value": "player", - "start": 21179, - "end": 21185, + "start": 20946, + "end": 20952, "loc": { "start": { - "line": 614, + "line": 610, "column": 17 }, "end": { - "line": 614, + "line": 610, "column": 23 } } @@ -164880,15 +162218,15 @@ "binop": null, "updateContext": null }, - "start": 21185, - "end": 21186, + "start": 20952, + "end": 20953, "loc": { "start": { - "line": 614, + "line": 610, "column": 23 }, "end": { - "line": 614, + "line": 610, "column": 24 } } @@ -164906,15 +162244,15 @@ "binop": null }, "value": "options_", - "start": 21186, - "end": 21194, + "start": 20953, + "end": 20961, "loc": { "start": { - "line": 614, + "line": 610, "column": 24 }, "end": { - "line": 614, + "line": 610, "column": 32 } } @@ -164932,15 +162270,15 @@ "binop": null, "updateContext": null }, - "start": 21194, - "end": 21195, + "start": 20961, + "end": 20962, "loc": { "start": { - "line": 614, + "line": 610, "column": 32 }, "end": { - "line": 614, + "line": 610, "column": 33 } } @@ -164958,15 +162296,15 @@ "binop": null }, "value": "autoplay", - "start": 21195, - "end": 21203, + "start": 20962, + "end": 20970, "loc": { "start": { - "line": 614, + "line": 610, "column": 33 }, "end": { - "line": 614, + "line": 610, "column": 41 } } @@ -164985,15 +162323,15 @@ "updateContext": null }, "value": "===", - "start": 21204, - "end": 21207, + "start": 20971, + "end": 20974, "loc": { "start": { - "line": 614, + "line": 610, "column": 42 }, "end": { - "line": 614, + "line": 610, "column": 45 } } @@ -165013,15 +162351,15 @@ "updateContext": null }, "value": "true", - "start": 21208, - "end": 21212, + "start": 20975, + "end": 20979, "loc": { "start": { - "line": 614, + "line": 610, "column": 46 }, "end": { - "line": 614, + "line": 610, "column": 50 } } @@ -165038,15 +162376,15 @@ "postfix": false, "binop": null }, - "start": 21212, - "end": 21213, + "start": 20979, + "end": 20980, "loc": { "start": { - "line": 614, + "line": 610, "column": 50 }, "end": { - "line": 614, + "line": 610, "column": 51 } } @@ -165063,15 +162401,15 @@ "postfix": false, "binop": null }, - "start": 21214, - "end": 21215, + "start": 20981, + "end": 20982, "loc": { "start": { - "line": 614, + "line": 610, "column": 52 }, "end": { - "line": 614, + "line": 610, "column": 53 } } @@ -165079,15 +162417,15 @@ { "type": "CommentLine", "value": " autoplay is only allowed when audio is muted", - "start": 21228, - "end": 21275, + "start": 20995, + "end": 21042, "loc": { "start": { - "line": 615, + "line": 611, "column": 12 }, "end": { - "line": 615, + "line": 611, "column": 59 } } @@ -165107,15 +162445,15 @@ "updateContext": null }, "value": "this", - "start": 21288, - "end": 21292, + "start": 21055, + "end": 21059, "loc": { "start": { - "line": 616, + "line": 612, "column": 12 }, "end": { - "line": 616, + "line": 612, "column": 16 } } @@ -165133,15 +162471,15 @@ "binop": null, "updateContext": null }, - "start": 21292, - "end": 21293, + "start": 21059, + "end": 21060, "loc": { "start": { - "line": 616, + "line": 612, "column": 16 }, "end": { - "line": 616, + "line": 612, "column": 17 } } @@ -165159,15 +162497,15 @@ "binop": null }, "value": "setVolume", - "start": 21293, - "end": 21302, + "start": 21060, + "end": 21069, "loc": { "start": { - "line": 616, + "line": 612, "column": 17 }, "end": { - "line": 616, + "line": 612, "column": 26 } } @@ -165184,15 +162522,15 @@ "postfix": false, "binop": null }, - "start": 21302, - "end": 21303, + "start": 21069, + "end": 21070, "loc": { "start": { - "line": 616, + "line": 612, "column": 26 }, "end": { - "line": 616, + "line": 612, "column": 27 } } @@ -165211,15 +162549,15 @@ "updateContext": null }, "value": 0, - "start": 21303, - "end": 21304, + "start": 21070, + "end": 21071, "loc": { "start": { - "line": 616, + "line": 612, "column": 27 }, "end": { - "line": 616, + "line": 612, "column": 28 } } @@ -165236,15 +162574,15 @@ "postfix": false, "binop": null }, - "start": 21304, - "end": 21305, + "start": 21071, + "end": 21072, "loc": { "start": { - "line": 616, + "line": 612, "column": 28 }, "end": { - "line": 616, + "line": 612, "column": 29 } } @@ -165262,15 +162600,15 @@ "binop": null, "updateContext": null }, - "start": 21305, - "end": 21306, + "start": 21072, + "end": 21073, "loc": { "start": { - "line": 616, + "line": 612, "column": 29 }, "end": { - "line": 616, + "line": 612, "column": 30 } } @@ -165278,15 +162616,15 @@ { "type": "CommentLine", "value": " try auto-play", - "start": 21320, - "end": 21336, + "start": 21087, + "end": 21103, "loc": { "start": { - "line": 618, + "line": 614, "column": 12 }, "end": { - "line": 618, + "line": 614, "column": 28 } } @@ -165306,15 +162644,15 @@ "updateContext": null }, "value": "if", - "start": 21349, - "end": 21351, + "start": 21116, + "end": 21118, "loc": { "start": { - "line": 619, + "line": 615, "column": 12 }, "end": { - "line": 619, + "line": 615, "column": 14 } } @@ -165331,15 +162669,15 @@ "postfix": false, "binop": null }, - "start": 21352, - "end": 21353, + "start": 21119, + "end": 21120, "loc": { "start": { - "line": 619, + "line": 615, "column": 15 }, "end": { - "line": 619, + "line": 615, "column": 16 } } @@ -165359,15 +162697,15 @@ "updateContext": null }, "value": "this", - "start": 21353, - "end": 21357, + "start": 21120, + "end": 21124, "loc": { "start": { - "line": 619, + "line": 615, "column": 16 }, "end": { - "line": 619, + "line": 615, "column": 20 } } @@ -165385,15 +162723,15 @@ "binop": null, "updateContext": null }, - "start": 21357, - "end": 21358, + "start": 21124, + "end": 21125, "loc": { "start": { - "line": 619, + "line": 615, "column": 20 }, "end": { - "line": 619, + "line": 615, "column": 21 } } @@ -165411,15 +162749,15 @@ "binop": null }, "value": "backend", - "start": 21358, - "end": 21365, + "start": 21125, + "end": 21132, "loc": { "start": { - "line": 619, + "line": 615, "column": 21 }, "end": { - "line": 619, + "line": 615, "column": 28 } } @@ -165438,15 +162776,15 @@ "updateContext": null }, "value": "===", - "start": 21366, - "end": 21369, + "start": 21133, + "end": 21136, "loc": { "start": { - "line": 619, + "line": 615, "column": 29 }, "end": { - "line": 619, + "line": 615, "column": 32 } } @@ -165464,15 +162802,15 @@ "binop": null }, "value": "WEBAUDIO", - "start": 21370, - "end": 21378, + "start": 21137, + "end": 21145, "loc": { "start": { - "line": 619, + "line": 615, "column": 33 }, "end": { - "line": 619, + "line": 615, "column": 41 } } @@ -165489,15 +162827,15 @@ "postfix": false, "binop": null }, - "start": 21378, - "end": 21379, + "start": 21145, + "end": 21146, "loc": { "start": { - "line": 619, + "line": 615, "column": 41 }, "end": { - "line": 619, + "line": 615, "column": 42 } } @@ -165514,15 +162852,15 @@ "postfix": false, "binop": null }, - "start": 21380, - "end": 21381, + "start": 21147, + "end": 21148, "loc": { "start": { - "line": 619, + "line": 615, "column": 43 }, "end": { - "line": 619, + "line": 615, "column": 44 } } @@ -165542,15 +162880,15 @@ "updateContext": null }, "value": "this", - "start": 21398, - "end": 21402, + "start": 21165, + "end": 21169, "loc": { "start": { - "line": 620, + "line": 616, "column": 16 }, "end": { - "line": 620, + "line": 616, "column": 20 } } @@ -165568,15 +162906,15 @@ "binop": null, "updateContext": null }, - "start": 21402, - "end": 21403, + "start": 21169, + "end": 21170, "loc": { "start": { - "line": 620, + "line": 616, "column": 20 }, "end": { - "line": 620, + "line": 616, "column": 21 } } @@ -165594,15 +162932,15 @@ "binop": null }, "value": "play", - "start": 21403, - "end": 21407, + "start": 21170, + "end": 21174, "loc": { "start": { - "line": 620, + "line": 616, "column": 21 }, "end": { - "line": 620, + "line": 616, "column": 25 } } @@ -165619,15 +162957,15 @@ "postfix": false, "binop": null }, - "start": 21407, - "end": 21408, + "start": 21174, + "end": 21175, "loc": { "start": { - "line": 620, + "line": 616, "column": 25 }, "end": { - "line": 620, + "line": 616, "column": 26 } } @@ -165644,15 +162982,15 @@ "postfix": false, "binop": null }, - "start": 21408, - "end": 21409, + "start": 21175, + "end": 21176, "loc": { "start": { - "line": 620, + "line": 616, "column": 26 }, "end": { - "line": 620, + "line": 616, "column": 27 } } @@ -165670,15 +163008,15 @@ "binop": null, "updateContext": null }, - "start": 21409, - "end": 21410, + "start": 21176, + "end": 21177, "loc": { "start": { - "line": 620, + "line": 616, "column": 27 }, "end": { - "line": 620, + "line": 616, "column": 28 } } @@ -165695,15 +163033,15 @@ "postfix": false, "binop": null }, - "start": 21423, - "end": 21424, + "start": 21190, + "end": 21191, "loc": { "start": { - "line": 621, + "line": 617, "column": 12 }, "end": { - "line": 621, + "line": 617, "column": 13 } } @@ -165723,15 +163061,15 @@ "updateContext": null }, "value": "else", - "start": 21425, - "end": 21429, + "start": 21192, + "end": 21196, "loc": { "start": { - "line": 621, + "line": 617, "column": 14 }, "end": { - "line": 621, + "line": 617, "column": 18 } } @@ -165748,15 +163086,15 @@ "postfix": false, "binop": null }, - "start": 21430, - "end": 21431, + "start": 21197, + "end": 21198, "loc": { "start": { - "line": 621, + "line": 617, "column": 19 }, "end": { - "line": 621, + "line": 617, "column": 20 } } @@ -165776,15 +163114,15 @@ "updateContext": null }, "value": "this", - "start": 21448, - "end": 21452, + "start": 21215, + "end": 21219, "loc": { "start": { - "line": 622, + "line": 618, "column": 16 }, "end": { - "line": 622, + "line": 618, "column": 20 } } @@ -165802,15 +163140,15 @@ "binop": null, "updateContext": null }, - "start": 21452, - "end": 21453, + "start": 21219, + "end": 21220, "loc": { "start": { - "line": 622, + "line": 618, "column": 20 }, "end": { - "line": 622, + "line": 618, "column": 21 } } @@ -165828,15 +163166,15 @@ "binop": null }, "value": "player", - "start": 21453, - "end": 21459, + "start": 21220, + "end": 21226, "loc": { "start": { - "line": 622, + "line": 618, "column": 21 }, "end": { - "line": 622, + "line": 618, "column": 27 } } @@ -165854,15 +163192,15 @@ "binop": null, "updateContext": null }, - "start": 21459, - "end": 21460, + "start": 21226, + "end": 21227, "loc": { "start": { - "line": 622, + "line": 618, "column": 27 }, "end": { - "line": 622, + "line": 618, "column": 28 } } @@ -165880,15 +163218,15 @@ "binop": null }, "value": "play", - "start": 21460, - "end": 21464, + "start": 21227, + "end": 21231, "loc": { "start": { - "line": 622, + "line": 618, "column": 28 }, "end": { - "line": 622, + "line": 618, "column": 32 } } @@ -165905,15 +163243,15 @@ "postfix": false, "binop": null }, - "start": 21464, - "end": 21465, + "start": 21231, + "end": 21232, "loc": { "start": { - "line": 622, + "line": 618, "column": 32 }, "end": { - "line": 622, + "line": 618, "column": 33 } } @@ -165930,15 +163268,15 @@ "postfix": false, "binop": null }, - "start": 21465, - "end": 21466, + "start": 21232, + "end": 21233, "loc": { "start": { - "line": 622, + "line": 618, "column": 33 }, "end": { - "line": 622, + "line": 618, "column": 34 } } @@ -165956,15 +163294,15 @@ "binop": null, "updateContext": null }, - "start": 21466, - "end": 21467, + "start": 21233, + "end": 21234, "loc": { "start": { - "line": 622, + "line": 618, "column": 34 }, "end": { - "line": 622, + "line": 618, "column": 35 } } @@ -165984,15 +163322,15 @@ "updateContext": null }, "value": "catch", - "start": 21467, - "end": 21472, + "start": 21234, + "end": 21239, "loc": { "start": { - "line": 622, + "line": 618, "column": 35 }, "end": { - "line": 622, + "line": 618, "column": 40 } } @@ -166009,15 +163347,15 @@ "postfix": false, "binop": null }, - "start": 21472, - "end": 21473, + "start": 21239, + "end": 21240, "loc": { "start": { - "line": 622, + "line": 618, "column": 40 }, "end": { - "line": 622, + "line": 618, "column": 41 } } @@ -166035,15 +163373,15 @@ "binop": null }, "value": "e", - "start": 21473, - "end": 21474, + "start": 21240, + "end": 21241, "loc": { "start": { - "line": 622, + "line": 618, "column": 41 }, "end": { - "line": 622, + "line": 618, "column": 42 } } @@ -166061,15 +163399,15 @@ "binop": null, "updateContext": null }, - "start": 21475, - "end": 21477, + "start": 21242, + "end": 21244, "loc": { "start": { - "line": 622, + "line": 618, "column": 43 }, "end": { - "line": 622, + "line": 618, "column": 45 } } @@ -166086,15 +163424,15 @@ "postfix": false, "binop": null }, - "start": 21478, - "end": 21479, + "start": 21245, + "end": 21246, "loc": { "start": { - "line": 622, + "line": 618, "column": 46 }, "end": { - "line": 622, + "line": 618, "column": 47 } } @@ -166114,15 +163452,15 @@ "updateContext": null }, "value": "this", - "start": 21500, - "end": 21504, + "start": 21267, + "end": 21271, "loc": { "start": { - "line": 623, + "line": 619, "column": 20 }, "end": { - "line": 623, + "line": 619, "column": 24 } } @@ -166140,15 +163478,15 @@ "binop": null, "updateContext": null }, - "start": 21504, - "end": 21505, + "start": 21271, + "end": 21272, "loc": { "start": { - "line": 623, + "line": 619, "column": 24 }, "end": { - "line": 623, + "line": 619, "column": 25 } } @@ -166166,15 +163504,15 @@ "binop": null }, "value": "onWaveError", - "start": 21505, - "end": 21516, + "start": 21272, + "end": 21283, "loc": { "start": { - "line": 623, + "line": 619, "column": 25 }, "end": { - "line": 623, + "line": 619, "column": 36 } } @@ -166191,15 +163529,15 @@ "postfix": false, "binop": null }, - "start": 21516, - "end": 21517, + "start": 21283, + "end": 21284, "loc": { "start": { - "line": 623, + "line": 619, "column": 36 }, "end": { - "line": 623, + "line": 619, "column": 37 } } @@ -166217,15 +163555,15 @@ "binop": null }, "value": "e", - "start": 21517, - "end": 21518, + "start": 21284, + "end": 21285, "loc": { "start": { - "line": 623, + "line": 619, "column": 37 }, "end": { - "line": 623, + "line": 619, "column": 38 } } @@ -166242,15 +163580,15 @@ "postfix": false, "binop": null }, - "start": 21518, - "end": 21519, + "start": 21285, + "end": 21286, "loc": { "start": { - "line": 623, + "line": 619, "column": 38 }, "end": { - "line": 623, + "line": 619, "column": 39 } } @@ -166268,15 +163606,15 @@ "binop": null, "updateContext": null }, - "start": 21519, - "end": 21520, + "start": 21286, + "end": 21287, "loc": { "start": { - "line": 623, + "line": 619, "column": 39 }, "end": { - "line": 623, + "line": 619, "column": 40 } } @@ -166293,15 +163631,15 @@ "postfix": false, "binop": null }, - "start": 21537, - "end": 21538, + "start": 21304, + "end": 21305, "loc": { "start": { - "line": 624, + "line": 620, "column": 16 }, "end": { - "line": 624, + "line": 620, "column": 17 } } @@ -166318,15 +163656,15 @@ "postfix": false, "binop": null }, - "start": 21538, - "end": 21539, + "start": 21305, + "end": 21306, "loc": { "start": { - "line": 624, + "line": 620, "column": 17 }, "end": { - "line": 624, + "line": 620, "column": 18 } } @@ -166344,15 +163682,15 @@ "binop": null, "updateContext": null }, - "start": 21539, - "end": 21540, + "start": 21306, + "end": 21307, "loc": { "start": { - "line": 624, + "line": 620, "column": 18 }, "end": { - "line": 624, + "line": 620, "column": 19 } } @@ -166369,15 +163707,15 @@ "postfix": false, "binop": null }, - "start": 21553, - "end": 21554, + "start": 21320, + "end": 21321, "loc": { "start": { - "line": 625, + "line": 621, "column": 12 }, "end": { - "line": 625, + "line": 621, "column": 13 } } @@ -166394,15 +163732,15 @@ "postfix": false, "binop": null }, - "start": 21563, - "end": 21564, + "start": 21330, + "end": 21331, "loc": { "start": { - "line": 626, + "line": 622, "column": 8 }, "end": { - "line": 626, + "line": 622, "column": 9 } } @@ -166419,15 +163757,15 @@ "postfix": false, "binop": null }, - "start": 21569, - "end": 21570, + "start": 21336, + "end": 21337, "loc": { "start": { - "line": 627, + "line": 623, "column": 4 }, "end": { - "line": 627, + "line": 623, "column": 5 } } @@ -166435,15 +163773,15 @@ { "type": "CommentBlock", "value": "*\n * Fires when audio playback completed.\n *\n * @fires playbackFinish\n * @private\n ", - "start": 21576, - "end": 21683, + "start": 21343, + "end": 21450, "loc": { "start": { - "line": 629, + "line": 625, "column": 4 }, "end": { - "line": 634, + "line": 630, "column": 7 } } @@ -166461,15 +163799,15 @@ "binop": null }, "value": "onWaveFinish", - "start": 21688, - "end": 21700, + "start": 21455, + "end": 21467, "loc": { "start": { - "line": 635, + "line": 631, "column": 4 }, "end": { - "line": 635, + "line": 631, "column": 16 } } @@ -166486,15 +163824,15 @@ "postfix": false, "binop": null }, - "start": 21700, - "end": 21701, + "start": 21467, + "end": 21468, "loc": { "start": { - "line": 635, + "line": 631, "column": 16 }, "end": { - "line": 635, + "line": 631, "column": 17 } } @@ -166511,15 +163849,15 @@ "postfix": false, "binop": null }, - "start": 21701, - "end": 21702, + "start": 21468, + "end": 21469, "loc": { "start": { - "line": 635, + "line": 631, "column": 17 }, "end": { - "line": 635, + "line": 631, "column": 18 } } @@ -166536,15 +163874,15 @@ "postfix": false, "binop": null }, - "start": 21703, - "end": 21704, + "start": 21470, + "end": 21471, "loc": { "start": { - "line": 635, + "line": 631, "column": 19 }, "end": { - "line": 635, + "line": 631, "column": 20 } } @@ -166564,15 +163902,15 @@ "updateContext": null }, "value": "this", - "start": 21713, - "end": 21717, + "start": 21480, + "end": 21484, "loc": { "start": { - "line": 636, + "line": 632, "column": 8 }, "end": { - "line": 636, + "line": 632, "column": 12 } } @@ -166590,15 +163928,15 @@ "binop": null, "updateContext": null }, - "start": 21717, - "end": 21718, + "start": 21484, + "end": 21485, "loc": { "start": { - "line": 636, + "line": 632, "column": 12 }, "end": { - "line": 636, + "line": 632, "column": 13 } } @@ -166616,15 +163954,15 @@ "binop": null }, "value": "log", - "start": 21718, - "end": 21721, + "start": 21485, + "end": 21488, "loc": { "start": { - "line": 636, + "line": 632, "column": 13 }, "end": { - "line": 636, + "line": 632, "column": 16 } } @@ -166641,15 +163979,15 @@ "postfix": false, "binop": null }, - "start": 21721, - "end": 21722, + "start": 21488, + "end": 21489, "loc": { "start": { - "line": 636, + "line": 632, "column": 16 }, "end": { - "line": 636, + "line": 632, "column": 17 } } @@ -166668,15 +164006,15 @@ "updateContext": null }, "value": "Finished playback", - "start": 21722, - "end": 21741, + "start": 21489, + "end": 21508, "loc": { "start": { - "line": 636, + "line": 632, "column": 17 }, "end": { - "line": 636, + "line": 632, "column": 36 } } @@ -166693,15 +164031,15 @@ "postfix": false, "binop": null }, - "start": 21741, - "end": 21742, + "start": 21508, + "end": 21509, "loc": { "start": { - "line": 636, + "line": 632, "column": 36 }, "end": { - "line": 636, + "line": 632, "column": 37 } } @@ -166719,15 +164057,15 @@ "binop": null, "updateContext": null }, - "start": 21742, - "end": 21743, + "start": 21509, + "end": 21510, "loc": { "start": { - "line": 636, + "line": 632, "column": 37 }, "end": { - "line": 636, + "line": 632, "column": 38 } } @@ -166735,15 +164073,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 21753, - "end": 21772, + "start": 21520, + "end": 21539, "loc": { "start": { - "line": 638, + "line": 634, "column": 8 }, "end": { - "line": 638, + "line": 634, "column": 27 } } @@ -166763,15 +164101,15 @@ "updateContext": null }, "value": "this", - "start": 21781, - "end": 21785, + "start": 21548, + "end": 21552, "loc": { "start": { - "line": 639, + "line": 635, "column": 8 }, "end": { - "line": 639, + "line": 635, "column": 12 } } @@ -166789,15 +164127,15 @@ "binop": null, "updateContext": null }, - "start": 21785, - "end": 21786, + "start": 21552, + "end": 21553, "loc": { "start": { - "line": 639, + "line": 635, "column": 12 }, "end": { - "line": 639, + "line": 635, "column": 13 } } @@ -166815,15 +164153,15 @@ "binop": null }, "value": "player", - "start": 21786, - "end": 21792, + "start": 21553, + "end": 21559, "loc": { "start": { - "line": 639, + "line": 635, "column": 13 }, "end": { - "line": 639, + "line": 635, "column": 19 } } @@ -166841,15 +164179,15 @@ "binop": null, "updateContext": null }, - "start": 21792, - "end": 21793, + "start": 21559, + "end": 21560, "loc": { "start": { - "line": 639, + "line": 635, "column": 19 }, "end": { - "line": 639, + "line": 635, "column": 20 } } @@ -166867,15 +164205,15 @@ "binop": null }, "value": "trigger", - "start": 21793, - "end": 21800, + "start": 21560, + "end": 21567, "loc": { "start": { - "line": 639, + "line": 635, "column": 20 }, "end": { - "line": 639, + "line": 635, "column": 27 } } @@ -166892,15 +164230,15 @@ "postfix": false, "binop": null }, - "start": 21800, - "end": 21801, + "start": 21567, + "end": 21568, "loc": { "start": { - "line": 639, + "line": 635, "column": 27 }, "end": { - "line": 639, + "line": 635, "column": 28 } } @@ -166918,15 +164256,15 @@ "binop": null }, "value": "Event", - "start": 21801, - "end": 21806, + "start": 21568, + "end": 21573, "loc": { "start": { - "line": 639, + "line": 635, "column": 28 }, "end": { - "line": 639, + "line": 635, "column": 33 } } @@ -166944,15 +164282,15 @@ "binop": null, "updateContext": null }, - "start": 21806, - "end": 21807, + "start": 21573, + "end": 21574, "loc": { "start": { - "line": 639, + "line": 635, "column": 33 }, "end": { - "line": 639, + "line": 635, "column": 34 } } @@ -166970,15 +164308,15 @@ "binop": null }, "value": "PLAYBACK_FINISH", - "start": 21807, - "end": 21822, + "start": 21574, + "end": 21589, "loc": { "start": { - "line": 639, + "line": 635, "column": 34 }, "end": { - "line": 639, + "line": 635, "column": 49 } } @@ -166995,15 +164333,15 @@ "postfix": false, "binop": null }, - "start": 21822, - "end": 21823, + "start": 21589, + "end": 21590, "loc": { "start": { - "line": 639, + "line": 635, "column": 49 }, "end": { - "line": 639, + "line": 635, "column": 50 } } @@ -167021,15 +164359,15 @@ "binop": null, "updateContext": null }, - "start": 21823, - "end": 21824, + "start": 21590, + "end": 21591, "loc": { "start": { - "line": 639, + "line": 635, "column": 50 }, "end": { - "line": 639, + "line": 635, "column": 51 } } @@ -167037,15 +164375,15 @@ { "type": "CommentLine", "value": " check if loop is enabled", - "start": 21834, - "end": 21861, + "start": 21601, + "end": 21628, "loc": { "start": { - "line": 641, + "line": 637, "column": 8 }, "end": { - "line": 641, + "line": 637, "column": 35 } } @@ -167065,15 +164403,15 @@ "updateContext": null }, "value": "if", - "start": 21870, - "end": 21872, + "start": 21637, + "end": 21639, "loc": { "start": { - "line": 642, + "line": 638, "column": 8 }, "end": { - "line": 642, + "line": 638, "column": 10 } } @@ -167090,15 +164428,15 @@ "postfix": false, "binop": null }, - "start": 21873, - "end": 21874, + "start": 21640, + "end": 21641, "loc": { "start": { - "line": 642, + "line": 638, "column": 11 }, "end": { - "line": 642, + "line": 638, "column": 12 } } @@ -167118,15 +164456,15 @@ "updateContext": null }, "value": "this", - "start": 21874, - "end": 21878, + "start": 21641, + "end": 21645, "loc": { "start": { - "line": 642, + "line": 638, "column": 12 }, "end": { - "line": 642, + "line": 638, "column": 16 } } @@ -167144,15 +164482,15 @@ "binop": null, "updateContext": null }, - "start": 21878, - "end": 21879, + "start": 21645, + "end": 21646, "loc": { "start": { - "line": 642, + "line": 638, "column": 16 }, "end": { - "line": 642, + "line": 638, "column": 17 } } @@ -167170,15 +164508,15 @@ "binop": null }, "value": "player", - "start": 21879, - "end": 21885, + "start": 21646, + "end": 21652, "loc": { "start": { - "line": 642, + "line": 638, "column": 17 }, "end": { - "line": 642, + "line": 638, "column": 23 } } @@ -167196,15 +164534,15 @@ "binop": null, "updateContext": null }, - "start": 21885, - "end": 21886, + "start": 21652, + "end": 21653, "loc": { "start": { - "line": 642, + "line": 638, "column": 23 }, "end": { - "line": 642, + "line": 638, "column": 24 } } @@ -167222,15 +164560,15 @@ "binop": null }, "value": "options_", - "start": 21886, - "end": 21894, + "start": 21653, + "end": 21661, "loc": { "start": { - "line": 642, + "line": 638, "column": 24 }, "end": { - "line": 642, + "line": 638, "column": 32 } } @@ -167248,15 +164586,15 @@ "binop": null, "updateContext": null }, - "start": 21894, - "end": 21895, + "start": 21661, + "end": 21662, "loc": { "start": { - "line": 642, + "line": 638, "column": 32 }, "end": { - "line": 642, + "line": 638, "column": 33 } } @@ -167274,15 +164612,15 @@ "binop": null }, "value": "loop", - "start": 21895, - "end": 21899, + "start": 21662, + "end": 21666, "loc": { "start": { - "line": 642, + "line": 638, "column": 33 }, "end": { - "line": 642, + "line": 638, "column": 37 } } @@ -167301,15 +164639,15 @@ "updateContext": null }, "value": "===", - "start": 21900, - "end": 21903, + "start": 21667, + "end": 21670, "loc": { "start": { - "line": 642, + "line": 638, "column": 38 }, "end": { - "line": 642, + "line": 638, "column": 41 } } @@ -167329,15 +164667,15 @@ "updateContext": null }, "value": "true", - "start": 21904, - "end": 21908, + "start": 21671, + "end": 21675, "loc": { "start": { - "line": 642, + "line": 638, "column": 42 }, "end": { - "line": 642, + "line": 638, "column": 46 } } @@ -167354,15 +164692,15 @@ "postfix": false, "binop": null }, - "start": 21908, - "end": 21909, + "start": 21675, + "end": 21676, "loc": { "start": { - "line": 642, + "line": 638, "column": 46 }, "end": { - "line": 642, + "line": 638, "column": 47 } } @@ -167379,15 +164717,15 @@ "postfix": false, "binop": null }, - "start": 21910, - "end": 21911, + "start": 21677, + "end": 21678, "loc": { "start": { - "line": 642, + "line": 638, "column": 48 }, "end": { - "line": 642, + "line": 638, "column": 49 } } @@ -167407,15 +164745,15 @@ "updateContext": null }, "value": "if", - "start": 21924, - "end": 21926, + "start": 21691, + "end": 21693, "loc": { "start": { - "line": 643, + "line": 639, "column": 12 }, "end": { - "line": 643, + "line": 639, "column": 14 } } @@ -167432,15 +164770,15 @@ "postfix": false, "binop": null }, - "start": 21927, - "end": 21928, + "start": 21694, + "end": 21695, "loc": { "start": { - "line": 643, + "line": 639, "column": 15 }, "end": { - "line": 643, + "line": 639, "column": 16 } } @@ -167460,15 +164798,15 @@ "updateContext": null }, "value": "this", - "start": 21928, - "end": 21932, + "start": 21695, + "end": 21699, "loc": { "start": { - "line": 643, + "line": 639, "column": 16 }, "end": { - "line": 643, + "line": 639, "column": 20 } } @@ -167486,15 +164824,15 @@ "binop": null, "updateContext": null }, - "start": 21932, - "end": 21933, + "start": 21699, + "end": 21700, "loc": { "start": { - "line": 643, + "line": 639, "column": 20 }, "end": { - "line": 643, + "line": 639, "column": 21 } } @@ -167512,15 +164850,15 @@ "binop": null }, "value": "backend", - "start": 21933, - "end": 21940, + "start": 21700, + "end": 21707, "loc": { "start": { - "line": 643, + "line": 639, "column": 21 }, "end": { - "line": 643, + "line": 639, "column": 28 } } @@ -167539,15 +164877,15 @@ "updateContext": null }, "value": "===", - "start": 21941, - "end": 21944, + "start": 21708, + "end": 21711, "loc": { "start": { - "line": 643, + "line": 639, "column": 29 }, "end": { - "line": 643, + "line": 639, "column": 32 } } @@ -167565,15 +164903,15 @@ "binop": null }, "value": "WEBAUDIO", - "start": 21945, - "end": 21953, + "start": 21712, + "end": 21720, "loc": { "start": { - "line": 643, + "line": 639, "column": 33 }, "end": { - "line": 643, + "line": 639, "column": 41 } } @@ -167590,15 +164928,15 @@ "postfix": false, "binop": null }, - "start": 21953, - "end": 21954, + "start": 21720, + "end": 21721, "loc": { "start": { - "line": 643, + "line": 639, "column": 41 }, "end": { - "line": 643, + "line": 639, "column": 42 } } @@ -167615,15 +164953,15 @@ "postfix": false, "binop": null }, - "start": 21955, - "end": 21956, + "start": 21722, + "end": 21723, "loc": { "start": { - "line": 643, + "line": 639, "column": 43 }, "end": { - "line": 643, + "line": 639, "column": 44 } } @@ -167631,15 +164969,15 @@ { "type": "CommentLine", "value": " reset waveform", - "start": 21973, - "end": 21990, + "start": 21740, + "end": 21757, "loc": { "start": { - "line": 644, + "line": 640, "column": 16 }, "end": { - "line": 644, + "line": 640, "column": 33 } } @@ -167659,15 +164997,15 @@ "updateContext": null }, "value": "this", - "start": 22007, - "end": 22011, + "start": 21774, + "end": 21778, "loc": { "start": { - "line": 645, + "line": 641, "column": 16 }, "end": { - "line": 645, + "line": 641, "column": 20 } } @@ -167685,15 +165023,15 @@ "binop": null, "updateContext": null }, - "start": 22011, - "end": 22012, + "start": 21778, + "end": 21779, "loc": { "start": { - "line": 645, + "line": 641, "column": 20 }, "end": { - "line": 645, + "line": 641, "column": 21 } } @@ -167711,15 +165049,15 @@ "binop": null }, "value": "surfer", - "start": 22012, - "end": 22018, + "start": 21779, + "end": 21785, "loc": { "start": { - "line": 645, + "line": 641, "column": 21 }, "end": { - "line": 645, + "line": 641, "column": 27 } } @@ -167737,15 +165075,15 @@ "binop": null, "updateContext": null }, - "start": 22018, - "end": 22019, + "start": 21785, + "end": 21786, "loc": { "start": { - "line": 645, + "line": 641, "column": 27 }, "end": { - "line": 645, + "line": 641, "column": 28 } } @@ -167763,15 +165101,15 @@ "binop": null }, "value": "stop", - "start": 22019, - "end": 22023, + "start": 21786, + "end": 21790, "loc": { "start": { - "line": 645, + "line": 641, "column": 28 }, "end": { - "line": 645, + "line": 641, "column": 32 } } @@ -167788,15 +165126,15 @@ "postfix": false, "binop": null }, - "start": 22023, - "end": 22024, + "start": 21790, + "end": 21791, "loc": { "start": { - "line": 645, + "line": 641, "column": 32 }, "end": { - "line": 645, + "line": 641, "column": 33 } } @@ -167813,15 +165151,15 @@ "postfix": false, "binop": null }, - "start": 22024, - "end": 22025, + "start": 21791, + "end": 21792, "loc": { "start": { - "line": 645, + "line": 641, "column": 33 }, "end": { - "line": 645, + "line": 641, "column": 34 } } @@ -167839,15 +165177,15 @@ "binop": null, "updateContext": null }, - "start": 22025, - "end": 22026, + "start": 21792, + "end": 21793, "loc": { "start": { - "line": 645, + "line": 641, "column": 34 }, "end": { - "line": 645, + "line": 641, "column": 35 } } @@ -167867,15 +165205,15 @@ "updateContext": null }, "value": "this", - "start": 22043, - "end": 22047, + "start": 21810, + "end": 21814, "loc": { "start": { - "line": 646, + "line": 642, "column": 16 }, "end": { - "line": 646, + "line": 642, "column": 20 } } @@ -167893,15 +165231,15 @@ "binop": null, "updateContext": null }, - "start": 22047, - "end": 22048, + "start": 21814, + "end": 21815, "loc": { "start": { - "line": 646, + "line": 642, "column": 20 }, "end": { - "line": 646, + "line": 642, "column": 21 } } @@ -167919,15 +165257,15 @@ "binop": null }, "value": "play", - "start": 22048, - "end": 22052, + "start": 21815, + "end": 21819, "loc": { "start": { - "line": 646, + "line": 642, "column": 21 }, "end": { - "line": 646, + "line": 642, "column": 25 } } @@ -167944,15 +165282,15 @@ "postfix": false, "binop": null }, - "start": 22052, - "end": 22053, + "start": 21819, + "end": 21820, "loc": { "start": { - "line": 646, + "line": 642, "column": 25 }, "end": { - "line": 646, + "line": 642, "column": 26 } } @@ -167969,15 +165307,15 @@ "postfix": false, "binop": null }, - "start": 22053, - "end": 22054, + "start": 21820, + "end": 21821, "loc": { "start": { - "line": 646, + "line": 642, "column": 26 }, "end": { - "line": 646, + "line": 642, "column": 27 } } @@ -167995,15 +165333,15 @@ "binop": null, "updateContext": null }, - "start": 22054, - "end": 22055, + "start": 21821, + "end": 21822, "loc": { "start": { - "line": 646, + "line": 642, "column": 27 }, "end": { - "line": 646, + "line": 642, "column": 28 } } @@ -168020,15 +165358,15 @@ "postfix": false, "binop": null }, - "start": 22068, - "end": 22069, + "start": 21835, + "end": 21836, "loc": { "start": { - "line": 647, + "line": 643, "column": 12 }, "end": { - "line": 647, + "line": 643, "column": 13 } } @@ -168045,15 +165383,15 @@ "postfix": false, "binop": null }, - "start": 22078, - "end": 22079, + "start": 21845, + "end": 21846, "loc": { "start": { - "line": 648, + "line": 644, "column": 8 }, "end": { - "line": 648, + "line": 644, "column": 9 } } @@ -168073,15 +165411,15 @@ "updateContext": null }, "value": "else", - "start": 22080, - "end": 22084, + "start": 21847, + "end": 21851, "loc": { "start": { - "line": 648, + "line": 644, "column": 10 }, "end": { - "line": 648, + "line": 644, "column": 14 } } @@ -168098,15 +165436,15 @@ "postfix": false, "binop": null }, - "start": 22085, - "end": 22086, + "start": 21852, + "end": 21853, "loc": { "start": { - "line": 648, + "line": 644, "column": 15 }, "end": { - "line": 648, + "line": 644, "column": 16 } } @@ -168114,15 +165452,15 @@ { "type": "CommentLine", "value": " finished", - "start": 22099, - "end": 22110, + "start": 21866, + "end": 21877, "loc": { "start": { - "line": 649, + "line": 645, "column": 12 }, "end": { - "line": 649, + "line": 645, "column": 23 } } @@ -168142,15 +165480,15 @@ "updateContext": null }, "value": "this", - "start": 22123, - "end": 22127, + "start": 21890, + "end": 21894, "loc": { "start": { - "line": 650, + "line": 646, "column": 12 }, "end": { - "line": 650, + "line": 646, "column": 16 } } @@ -168168,15 +165506,15 @@ "binop": null, "updateContext": null }, - "start": 22127, - "end": 22128, + "start": 21894, + "end": 21895, "loc": { "start": { - "line": 650, + "line": 646, "column": 16 }, "end": { - "line": 650, + "line": 646, "column": 17 } } @@ -168194,15 +165532,15 @@ "binop": null }, "value": "waveFinished", - "start": 22128, - "end": 22140, + "start": 21895, + "end": 21907, "loc": { "start": { - "line": 650, + "line": 646, "column": 17 }, "end": { - "line": 650, + "line": 646, "column": 29 } } @@ -168221,15 +165559,15 @@ "updateContext": null }, "value": "=", - "start": 22141, - "end": 22142, + "start": 21908, + "end": 21909, "loc": { "start": { - "line": 650, + "line": 646, "column": 30 }, "end": { - "line": 650, + "line": 646, "column": 31 } } @@ -168249,15 +165587,15 @@ "updateContext": null }, "value": "true", - "start": 22143, - "end": 22147, + "start": 21910, + "end": 21914, "loc": { "start": { - "line": 650, + "line": 646, "column": 32 }, "end": { - "line": 650, + "line": 646, "column": 36 } } @@ -168275,15 +165613,15 @@ "binop": null, "updateContext": null }, - "start": 22147, - "end": 22148, + "start": 21914, + "end": 21915, "loc": { "start": { - "line": 650, + "line": 646, "column": 36 }, "end": { - "line": 650, + "line": 646, "column": 37 } } @@ -168303,15 +165641,15 @@ "updateContext": null }, "value": "if", - "start": 22162, - "end": 22164, + "start": 21929, + "end": 21931, "loc": { "start": { - "line": 652, + "line": 648, "column": 12 }, "end": { - "line": 652, + "line": 648, "column": 14 } } @@ -168328,15 +165666,15 @@ "postfix": false, "binop": null }, - "start": 22165, - "end": 22166, + "start": 21932, + "end": 21933, "loc": { "start": { - "line": 652, + "line": 648, "column": 15 }, "end": { - "line": 652, + "line": 648, "column": 16 } } @@ -168356,15 +165694,15 @@ "updateContext": null }, "value": "this", - "start": 22166, - "end": 22170, + "start": 21933, + "end": 21937, "loc": { "start": { - "line": 652, + "line": 648, "column": 16 }, "end": { - "line": 652, + "line": 648, "column": 20 } } @@ -168382,15 +165720,15 @@ "binop": null, "updateContext": null }, - "start": 22170, - "end": 22171, + "start": 21937, + "end": 21938, "loc": { "start": { - "line": 652, + "line": 648, "column": 20 }, "end": { - "line": 652, + "line": 648, "column": 21 } } @@ -168408,15 +165746,15 @@ "binop": null }, "value": "backend", - "start": 22171, - "end": 22178, + "start": 21938, + "end": 21945, "loc": { "start": { - "line": 652, + "line": 648, "column": 21 }, "end": { - "line": 652, + "line": 648, "column": 28 } } @@ -168435,15 +165773,15 @@ "updateContext": null }, "value": "===", - "start": 22179, - "end": 22182, + "start": 21946, + "end": 21949, "loc": { "start": { - "line": 652, + "line": 648, "column": 29 }, "end": { - "line": 652, + "line": 648, "column": 32 } } @@ -168461,15 +165799,15 @@ "binop": null }, "value": "WEBAUDIO", - "start": 22183, - "end": 22191, + "start": 21950, + "end": 21958, "loc": { "start": { - "line": 652, + "line": 648, "column": 33 }, "end": { - "line": 652, + "line": 648, "column": 41 } } @@ -168486,15 +165824,15 @@ "postfix": false, "binop": null }, - "start": 22191, - "end": 22192, + "start": 21958, + "end": 21959, "loc": { "start": { - "line": 652, + "line": 648, "column": 41 }, "end": { - "line": 652, + "line": 648, "column": 42 } } @@ -168511,15 +165849,15 @@ "postfix": false, "binop": null }, - "start": 22193, - "end": 22194, + "start": 21960, + "end": 21961, "loc": { "start": { - "line": 652, + "line": 648, "column": 43 }, "end": { - "line": 652, + "line": 648, "column": 44 } } @@ -168527,15 +165865,15 @@ { "type": "CommentLine", "value": " pause player", - "start": 22211, - "end": 22226, + "start": 21978, + "end": 21993, "loc": { "start": { - "line": 653, + "line": 649, "column": 16 }, "end": { - "line": 653, + "line": 649, "column": 31 } } @@ -168555,15 +165893,15 @@ "updateContext": null }, "value": "this", - "start": 22243, - "end": 22247, + "start": 22010, + "end": 22014, "loc": { "start": { - "line": 654, + "line": 650, "column": 16 }, "end": { - "line": 654, + "line": 650, "column": 20 } } @@ -168581,15 +165919,15 @@ "binop": null, "updateContext": null }, - "start": 22247, - "end": 22248, + "start": 22014, + "end": 22015, "loc": { "start": { - "line": 654, + "line": 650, "column": 20 }, "end": { - "line": 654, + "line": 650, "column": 21 } } @@ -168607,15 +165945,15 @@ "binop": null }, "value": "pause", - "start": 22248, - "end": 22253, + "start": 22015, + "end": 22020, "loc": { "start": { - "line": 654, + "line": 650, "column": 21 }, "end": { - "line": 654, + "line": 650, "column": 26 } } @@ -168632,15 +165970,15 @@ "postfix": false, "binop": null }, - "start": 22253, - "end": 22254, + "start": 22020, + "end": 22021, "loc": { "start": { - "line": 654, + "line": 650, "column": 26 }, "end": { - "line": 654, + "line": 650, "column": 27 } } @@ -168657,15 +165995,15 @@ "postfix": false, "binop": null }, - "start": 22254, - "end": 22255, + "start": 22021, + "end": 22022, "loc": { "start": { - "line": 654, + "line": 650, "column": 27 }, "end": { - "line": 654, + "line": 650, "column": 28 } } @@ -168683,15 +166021,15 @@ "binop": null, "updateContext": null }, - "start": 22255, - "end": 22256, + "start": 22022, + "end": 22023, "loc": { "start": { - "line": 654, + "line": 650, "column": 28 }, "end": { - "line": 654, + "line": 650, "column": 29 } } @@ -168699,15 +166037,15 @@ { "type": "CommentLine", "value": " show the replay state of play toggle", - "start": 22274, - "end": 22313, + "start": 22041, + "end": 22080, "loc": { "start": { - "line": 656, + "line": 652, "column": 16 }, "end": { - "line": 656, + "line": 652, "column": 55 } } @@ -168727,15 +166065,15 @@ "updateContext": null }, "value": "this", - "start": 22330, - "end": 22334, + "start": 22097, + "end": 22101, "loc": { "start": { - "line": 657, + "line": 653, "column": 16 }, "end": { - "line": 657, + "line": 653, "column": 20 } } @@ -168753,15 +166091,15 @@ "binop": null, "updateContext": null }, - "start": 22334, - "end": 22335, + "start": 22101, + "end": 22102, "loc": { "start": { - "line": 657, + "line": 653, "column": 20 }, "end": { - "line": 657, + "line": 653, "column": 21 } } @@ -168779,15 +166117,15 @@ "binop": null }, "value": "player", - "start": 22335, - "end": 22341, + "start": 22102, + "end": 22108, "loc": { "start": { - "line": 657, + "line": 653, "column": 21 }, "end": { - "line": 657, + "line": 653, "column": 27 } } @@ -168805,15 +166143,15 @@ "binop": null, "updateContext": null }, - "start": 22341, - "end": 22342, + "start": 22108, + "end": 22109, "loc": { "start": { - "line": 657, + "line": 653, "column": 27 }, "end": { - "line": 657, + "line": 653, "column": 28 } } @@ -168831,15 +166169,15 @@ "binop": null }, "value": "trigger", - "start": 22342, - "end": 22349, + "start": 22109, + "end": 22116, "loc": { "start": { - "line": 657, + "line": 653, "column": 28 }, "end": { - "line": 657, + "line": 653, "column": 35 } } @@ -168856,15 +166194,15 @@ "postfix": false, "binop": null }, - "start": 22349, - "end": 22350, + "start": 22116, + "end": 22117, "loc": { "start": { - "line": 657, + "line": 653, "column": 35 }, "end": { - "line": 657, + "line": 653, "column": 36 } } @@ -168882,15 +166220,15 @@ "binop": null }, "value": "Event", - "start": 22350, - "end": 22355, + "start": 22117, + "end": 22122, "loc": { "start": { - "line": 657, + "line": 653, "column": 36 }, "end": { - "line": 657, + "line": 653, "column": 41 } } @@ -168908,15 +166246,15 @@ "binop": null, "updateContext": null }, - "start": 22355, - "end": 22356, + "start": 22122, + "end": 22123, "loc": { "start": { - "line": 657, + "line": 653, "column": 41 }, "end": { - "line": 657, + "line": 653, "column": 42 } } @@ -168934,15 +166272,15 @@ "binop": null }, "value": "ENDED", - "start": 22356, - "end": 22361, + "start": 22123, + "end": 22128, "loc": { "start": { - "line": 657, + "line": 653, "column": 42 }, "end": { - "line": 657, + "line": 653, "column": 47 } } @@ -168959,15 +166297,15 @@ "postfix": false, "binop": null }, - "start": 22361, - "end": 22362, + "start": 22128, + "end": 22129, "loc": { "start": { - "line": 657, + "line": 653, "column": 47 }, "end": { - "line": 657, + "line": 653, "column": 48 } } @@ -168985,15 +166323,15 @@ "binop": null, "updateContext": null }, - "start": 22362, - "end": 22363, + "start": 22129, + "end": 22130, "loc": { "start": { - "line": 657, + "line": 653, "column": 48 }, "end": { - "line": 657, + "line": 653, "column": 49 } } @@ -169001,15 +166339,15 @@ { "type": "CommentLine", "value": " this gets called once after the clip has ended and the user", - "start": 22381, - "end": 22443, + "start": 22148, + "end": 22210, "loc": { "start": { - "line": 659, + "line": 655, "column": 16 }, "end": { - "line": 659, + "line": 655, "column": 78 } } @@ -169017,15 +166355,15 @@ { "type": "CommentLine", "value": " seeks so that we can change the replay button back to a play", - "start": 22460, - "end": 22523, + "start": 22227, + "end": 22290, "loc": { "start": { - "line": 660, + "line": 656, "column": 16 }, "end": { - "line": 660, + "line": 656, "column": 79 } } @@ -169033,15 +166371,15 @@ { "type": "CommentLine", "value": " button", - "start": 22540, - "end": 22549, + "start": 22307, + "end": 22316, "loc": { "start": { - "line": 661, + "line": 657, "column": 16 }, "end": { - "line": 661, + "line": 657, "column": 25 } } @@ -169061,15 +166399,15 @@ "updateContext": null }, "value": "this", - "start": 22566, - "end": 22570, + "start": 22333, + "end": 22337, "loc": { "start": { - "line": 662, + "line": 658, "column": 16 }, "end": { - "line": 662, + "line": 658, "column": 20 } } @@ -169087,15 +166425,15 @@ "binop": null, "updateContext": null }, - "start": 22570, - "end": 22571, + "start": 22337, + "end": 22338, "loc": { "start": { - "line": 662, + "line": 658, "column": 20 }, "end": { - "line": 662, + "line": 658, "column": 21 } } @@ -169113,15 +166451,15 @@ "binop": null }, "value": "surfer", - "start": 22571, - "end": 22577, + "start": 22338, + "end": 22344, "loc": { "start": { - "line": 662, + "line": 658, "column": 21 }, "end": { - "line": 662, + "line": 658, "column": 27 } } @@ -169139,15 +166477,15 @@ "binop": null, "updateContext": null }, - "start": 22577, - "end": 22578, + "start": 22344, + "end": 22345, "loc": { "start": { - "line": 662, + "line": 658, "column": 27 }, "end": { - "line": 662, + "line": 658, "column": 28 } } @@ -169165,15 +166503,15 @@ "binop": null }, "value": "once", - "start": 22578, - "end": 22582, + "start": 22345, + "end": 22349, "loc": { "start": { - "line": 662, + "line": 658, "column": 28 }, "end": { - "line": 662, + "line": 658, "column": 32 } } @@ -169190,15 +166528,15 @@ "postfix": false, "binop": null }, - "start": 22582, - "end": 22583, + "start": 22349, + "end": 22350, "loc": { "start": { - "line": 662, + "line": 658, "column": 32 }, "end": { - "line": 662, + "line": 658, "column": 33 } } @@ -169216,15 +166554,15 @@ "binop": null }, "value": "Event", - "start": 22583, - "end": 22588, + "start": 22350, + "end": 22355, "loc": { "start": { - "line": 662, + "line": 658, "column": 33 }, "end": { - "line": 662, + "line": 658, "column": 38 } } @@ -169242,15 +166580,15 @@ "binop": null, "updateContext": null }, - "start": 22588, - "end": 22589, + "start": 22355, + "end": 22356, "loc": { "start": { - "line": 662, + "line": 658, "column": 38 }, "end": { - "line": 662, + "line": 658, "column": 39 } } @@ -169268,15 +166606,15 @@ "binop": null }, "value": "SEEK", - "start": 22589, - "end": 22593, + "start": 22356, + "end": 22360, "loc": { "start": { - "line": 662, + "line": 658, "column": 39 }, "end": { - "line": 662, + "line": 658, "column": 43 } } @@ -169294,15 +166632,15 @@ "binop": null, "updateContext": null }, - "start": 22593, - "end": 22594, + "start": 22360, + "end": 22361, "loc": { "start": { - "line": 662, + "line": 658, "column": 43 }, "end": { - "line": 662, + "line": 658, "column": 44 } } @@ -169319,15 +166657,15 @@ "postfix": false, "binop": null }, - "start": 22595, - "end": 22596, + "start": 22362, + "end": 22363, "loc": { "start": { - "line": 662, + "line": 658, "column": 45 }, "end": { - "line": 662, + "line": 658, "column": 46 } } @@ -169344,15 +166682,15 @@ "postfix": false, "binop": null }, - "start": 22596, - "end": 22597, + "start": 22363, + "end": 22364, "loc": { "start": { - "line": 662, + "line": 658, "column": 46 }, "end": { - "line": 662, + "line": 658, "column": 47 } } @@ -169370,15 +166708,15 @@ "binop": null, "updateContext": null }, - "start": 22598, - "end": 22600, + "start": 22365, + "end": 22367, "loc": { "start": { - "line": 662, + "line": 658, "column": 48 }, "end": { - "line": 662, + "line": 658, "column": 50 } } @@ -169395,15 +166733,15 @@ "postfix": false, "binop": null }, - "start": 22601, - "end": 22602, + "start": 22368, + "end": 22369, "loc": { "start": { - "line": 662, + "line": 658, "column": 51 }, "end": { - "line": 662, + "line": 658, "column": 52 } } @@ -169423,15 +166761,15 @@ "updateContext": null }, "value": "if", - "start": 22623, - "end": 22625, + "start": 22390, + "end": 22392, "loc": { "start": { - "line": 663, + "line": 659, "column": 20 }, "end": { - "line": 663, + "line": 659, "column": 22 } } @@ -169448,15 +166786,15 @@ "postfix": false, "binop": null }, - "start": 22626, - "end": 22627, + "start": 22393, + "end": 22394, "loc": { "start": { - "line": 663, + "line": 659, "column": 23 }, "end": { - "line": 663, + "line": 659, "column": 24 } } @@ -169476,15 +166814,15 @@ "updateContext": null }, "value": "this", - "start": 22627, - "end": 22631, + "start": 22394, + "end": 22398, "loc": { "start": { - "line": 663, + "line": 659, "column": 24 }, "end": { - "line": 663, + "line": 659, "column": 28 } } @@ -169502,15 +166840,15 @@ "binop": null, "updateContext": null }, - "start": 22631, - "end": 22632, + "start": 22398, + "end": 22399, "loc": { "start": { - "line": 663, + "line": 659, "column": 28 }, "end": { - "line": 663, + "line": 659, "column": 29 } } @@ -169528,15 +166866,15 @@ "binop": null }, "value": "player", - "start": 22632, - "end": 22638, + "start": 22399, + "end": 22405, "loc": { "start": { - "line": 663, + "line": 659, "column": 29 }, "end": { - "line": 663, + "line": 659, "column": 35 } } @@ -169554,15 +166892,15 @@ "binop": null, "updateContext": null }, - "start": 22638, - "end": 22639, + "start": 22405, + "end": 22406, "loc": { "start": { - "line": 663, + "line": 659, "column": 35 }, "end": { - "line": 663, + "line": 659, "column": 36 } } @@ -169580,15 +166918,15 @@ "binop": null }, "value": "controlBar", - "start": 22639, - "end": 22649, + "start": 22406, + "end": 22416, "loc": { "start": { - "line": 663, + "line": 659, "column": 36 }, "end": { - "line": 663, + "line": 659, "column": 46 } } @@ -169606,15 +166944,15 @@ "binop": null, "updateContext": null }, - "start": 22649, - "end": 22650, + "start": 22416, + "end": 22417, "loc": { "start": { - "line": 663, + "line": 659, "column": 46 }, "end": { - "line": 663, + "line": 659, "column": 47 } } @@ -169632,15 +166970,15 @@ "binop": null }, "value": "playToggle", - "start": 22650, - "end": 22660, + "start": 22417, + "end": 22427, "loc": { "start": { - "line": 663, + "line": 659, "column": 47 }, "end": { - "line": 663, + "line": 659, "column": 57 } } @@ -169659,15 +166997,15 @@ "updateContext": null }, "value": "!==", - "start": 22661, - "end": 22664, + "start": 22428, + "end": 22431, "loc": { "start": { - "line": 663, + "line": 659, "column": 58 }, "end": { - "line": 663, + "line": 659, "column": 61 } } @@ -169685,15 +167023,15 @@ "binop": null }, "value": "undefined", - "start": 22665, - "end": 22674, + "start": 22432, + "end": 22441, "loc": { "start": { - "line": 663, + "line": 659, "column": 62 }, "end": { - "line": 663, + "line": 659, "column": 71 } } @@ -169710,15 +167048,15 @@ "postfix": false, "binop": null }, - "start": 22674, - "end": 22675, + "start": 22441, + "end": 22442, "loc": { "start": { - "line": 663, + "line": 659, "column": 71 }, "end": { - "line": 663, + "line": 659, "column": 72 } } @@ -169735,15 +167073,15 @@ "postfix": false, "binop": null }, - "start": 22676, - "end": 22677, + "start": 22443, + "end": 22444, "loc": { "start": { - "line": 663, + "line": 659, "column": 73 }, "end": { - "line": 663, + "line": 659, "column": 74 } } @@ -169763,15 +167101,15 @@ "updateContext": null }, "value": "this", - "start": 22702, - "end": 22706, + "start": 22469, + "end": 22473, "loc": { "start": { - "line": 664, + "line": 660, "column": 24 }, "end": { - "line": 664, + "line": 660, "column": 28 } } @@ -169789,15 +167127,15 @@ "binop": null, "updateContext": null }, - "start": 22706, - "end": 22707, + "start": 22473, + "end": 22474, "loc": { "start": { - "line": 664, + "line": 660, "column": 28 }, "end": { - "line": 664, + "line": 660, "column": 29 } } @@ -169815,15 +167153,15 @@ "binop": null }, "value": "player", - "start": 22707, - "end": 22713, + "start": 22474, + "end": 22480, "loc": { "start": { - "line": 664, + "line": 660, "column": 29 }, "end": { - "line": 664, + "line": 660, "column": 35 } } @@ -169841,15 +167179,15 @@ "binop": null, "updateContext": null }, - "start": 22713, - "end": 22714, + "start": 22480, + "end": 22481, "loc": { "start": { - "line": 664, + "line": 660, "column": 35 }, "end": { - "line": 664, + "line": 660, "column": 36 } } @@ -169867,15 +167205,15 @@ "binop": null }, "value": "controlBar", - "start": 22714, - "end": 22724, + "start": 22481, + "end": 22491, "loc": { "start": { - "line": 664, + "line": 660, "column": 36 }, "end": { - "line": 664, + "line": 660, "column": 46 } } @@ -169893,15 +167231,15 @@ "binop": null, "updateContext": null }, - "start": 22724, - "end": 22725, + "start": 22491, + "end": 22492, "loc": { "start": { - "line": 664, + "line": 660, "column": 46 }, "end": { - "line": 664, + "line": 660, "column": 47 } } @@ -169919,15 +167257,15 @@ "binop": null }, "value": "playToggle", - "start": 22725, - "end": 22735, + "start": 22492, + "end": 22502, "loc": { "start": { - "line": 664, + "line": 660, "column": 47 }, "end": { - "line": 664, + "line": 660, "column": 57 } } @@ -169945,15 +167283,15 @@ "binop": null, "updateContext": null }, - "start": 22735, - "end": 22736, + "start": 22502, + "end": 22503, "loc": { "start": { - "line": 664, + "line": 660, "column": 57 }, "end": { - "line": 664, + "line": 660, "column": 58 } } @@ -169971,15 +167309,15 @@ "binop": null }, "value": "removeClass", - "start": 22736, - "end": 22747, + "start": 22503, + "end": 22514, "loc": { "start": { - "line": 664, + "line": 660, "column": 58 }, "end": { - "line": 664, + "line": 660, "column": 69 } } @@ -169996,15 +167334,15 @@ "postfix": false, "binop": null }, - "start": 22747, - "end": 22748, + "start": 22514, + "end": 22515, "loc": { "start": { - "line": 664, + "line": 660, "column": 69 }, "end": { - "line": 664, + "line": 660, "column": 70 } } @@ -170023,15 +167361,15 @@ "updateContext": null }, "value": "vjs-ended", - "start": 22748, - "end": 22759, + "start": 22515, + "end": 22526, "loc": { "start": { - "line": 664, + "line": 660, "column": 70 }, "end": { - "line": 664, + "line": 660, "column": 81 } } @@ -170048,15 +167386,15 @@ "postfix": false, "binop": null }, - "start": 22759, - "end": 22760, + "start": 22526, + "end": 22527, "loc": { "start": { - "line": 664, + "line": 660, "column": 81 }, "end": { - "line": 664, + "line": 660, "column": 82 } } @@ -170074,15 +167412,15 @@ "binop": null, "updateContext": null }, - "start": 22760, - "end": 22761, + "start": 22527, + "end": 22528, "loc": { "start": { - "line": 664, + "line": 660, "column": 82 }, "end": { - "line": 664, + "line": 660, "column": 83 } } @@ -170099,15 +167437,15 @@ "postfix": false, "binop": null }, - "start": 22782, - "end": 22783, + "start": 22549, + "end": 22550, "loc": { "start": { - "line": 665, + "line": 661, "column": 20 }, "end": { - "line": 665, + "line": 661, "column": 21 } } @@ -170127,15 +167465,15 @@ "updateContext": null }, "value": "this", - "start": 22804, - "end": 22808, + "start": 22571, + "end": 22575, "loc": { "start": { - "line": 666, + "line": 662, "column": 20 }, "end": { - "line": 666, + "line": 662, "column": 24 } } @@ -170153,15 +167491,15 @@ "binop": null, "updateContext": null }, - "start": 22808, - "end": 22809, + "start": 22575, + "end": 22576, "loc": { "start": { - "line": 666, + "line": 662, "column": 24 }, "end": { - "line": 666, + "line": 662, "column": 25 } } @@ -170179,15 +167517,15 @@ "binop": null }, "value": "player", - "start": 22809, - "end": 22815, + "start": 22576, + "end": 22582, "loc": { "start": { - "line": 666, + "line": 662, "column": 25 }, "end": { - "line": 666, + "line": 662, "column": 31 } } @@ -170205,15 +167543,15 @@ "binop": null, "updateContext": null }, - "start": 22815, - "end": 22816, + "start": 22582, + "end": 22583, "loc": { "start": { - "line": 666, + "line": 662, "column": 31 }, "end": { - "line": 666, + "line": 662, "column": 32 } } @@ -170231,15 +167569,15 @@ "binop": null }, "value": "trigger", - "start": 22816, - "end": 22823, + "start": 22583, + "end": 22590, "loc": { "start": { - "line": 666, + "line": 662, "column": 32 }, "end": { - "line": 666, + "line": 662, "column": 39 } } @@ -170256,15 +167594,15 @@ "postfix": false, "binop": null }, - "start": 22823, - "end": 22824, + "start": 22590, + "end": 22591, "loc": { "start": { - "line": 666, + "line": 662, "column": 39 }, "end": { - "line": 666, + "line": 662, "column": 40 } } @@ -170282,15 +167620,15 @@ "binop": null }, "value": "Event", - "start": 22824, - "end": 22829, + "start": 22591, + "end": 22596, "loc": { "start": { - "line": 666, + "line": 662, "column": 40 }, "end": { - "line": 666, + "line": 662, "column": 45 } } @@ -170308,15 +167646,15 @@ "binop": null, "updateContext": null }, - "start": 22829, - "end": 22830, + "start": 22596, + "end": 22597, "loc": { "start": { - "line": 666, + "line": 662, "column": 45 }, "end": { - "line": 666, + "line": 662, "column": 46 } } @@ -170334,15 +167672,15 @@ "binop": null }, "value": "PAUSE", - "start": 22830, - "end": 22835, + "start": 22597, + "end": 22602, "loc": { "start": { - "line": 666, + "line": 662, "column": 46 }, "end": { - "line": 666, + "line": 662, "column": 51 } } @@ -170359,15 +167697,15 @@ "postfix": false, "binop": null }, - "start": 22835, - "end": 22836, + "start": 22602, + "end": 22603, "loc": { "start": { - "line": 666, + "line": 662, "column": 51 }, "end": { - "line": 666, + "line": 662, "column": 52 } } @@ -170385,15 +167723,15 @@ "binop": null, "updateContext": null }, - "start": 22836, - "end": 22837, + "start": 22603, + "end": 22604, "loc": { "start": { - "line": 666, + "line": 662, "column": 52 }, "end": { - "line": 666, + "line": 662, "column": 53 } } @@ -170410,15 +167748,15 @@ "postfix": false, "binop": null }, - "start": 22854, - "end": 22855, + "start": 22621, + "end": 22622, "loc": { "start": { - "line": 667, + "line": 663, "column": 16 }, "end": { - "line": 667, + "line": 663, "column": 17 } } @@ -170435,15 +167773,15 @@ "postfix": false, "binop": null }, - "start": 22855, - "end": 22856, + "start": 22622, + "end": 22623, "loc": { "start": { - "line": 667, + "line": 663, "column": 17 }, "end": { - "line": 667, + "line": 663, "column": 18 } } @@ -170461,15 +167799,15 @@ "binop": null, "updateContext": null }, - "start": 22856, - "end": 22857, + "start": 22623, + "end": 22624, "loc": { "start": { - "line": 667, + "line": 663, "column": 18 }, "end": { - "line": 667, + "line": 663, "column": 19 } } @@ -170486,15 +167824,15 @@ "postfix": false, "binop": null }, - "start": 22870, - "end": 22871, + "start": 22637, + "end": 22638, "loc": { "start": { - "line": 668, + "line": 664, "column": 12 }, "end": { - "line": 668, + "line": 664, "column": 13 } } @@ -170511,15 +167849,15 @@ "postfix": false, "binop": null }, - "start": 22880, - "end": 22881, + "start": 22647, + "end": 22648, "loc": { "start": { - "line": 669, + "line": 665, "column": 8 }, "end": { - "line": 669, + "line": 665, "column": 9 } } @@ -170536,15 +167874,15 @@ "postfix": false, "binop": null }, - "start": 22886, - "end": 22887, + "start": 22653, + "end": 22654, "loc": { "start": { - "line": 670, + "line": 666, "column": 4 }, "end": { - "line": 670, + "line": 666, "column": 5 } } @@ -170552,15 +167890,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": 22893, - "end": 23045, + "start": 22660, + "end": 22812, "loc": { "start": { - "line": 672, + "line": 668, "column": 4 }, "end": { - "line": 677, + "line": 673, "column": 7 } } @@ -170578,15 +167916,15 @@ "binop": null }, "value": "onWaveProgress", - "start": 23050, - "end": 23064, + "start": 22817, + "end": 22831, "loc": { "start": { - "line": 678, + "line": 674, "column": 4 }, "end": { - "line": 678, + "line": 674, "column": 18 } } @@ -170603,15 +167941,15 @@ "postfix": false, "binop": null }, - "start": 23064, - "end": 23065, + "start": 22831, + "end": 22832, "loc": { "start": { - "line": 678, + "line": 674, "column": 18 }, "end": { - "line": 678, + "line": 674, "column": 19 } } @@ -170629,15 +167967,15 @@ "binop": null }, "value": "time", - "start": 23065, - "end": 23069, + "start": 22832, + "end": 22836, "loc": { "start": { - "line": 678, + "line": 674, "column": 19 }, "end": { - "line": 678, + "line": 674, "column": 23 } } @@ -170654,15 +167992,15 @@ "postfix": false, "binop": null }, - "start": 23069, - "end": 23070, + "start": 22836, + "end": 22837, "loc": { "start": { - "line": 678, + "line": 674, "column": 23 }, "end": { - "line": 678, + "line": 674, "column": 24 } } @@ -170679,15 +168017,15 @@ "postfix": false, "binop": null }, - "start": 23071, - "end": 23072, + "start": 22838, + "end": 22839, "loc": { "start": { - "line": 678, + "line": 674, "column": 25 }, "end": { - "line": 678, + "line": 674, "column": 26 } } @@ -170707,15 +168045,15 @@ "updateContext": null }, "value": "this", - "start": 23081, - "end": 23085, + "start": 22848, + "end": 22852, "loc": { "start": { - "line": 679, + "line": 675, "column": 8 }, "end": { - "line": 679, + "line": 675, "column": 12 } } @@ -170733,15 +168071,15 @@ "binop": null, "updateContext": null }, - "start": 23085, - "end": 23086, + "start": 22852, + "end": 22853, "loc": { "start": { - "line": 679, + "line": 675, "column": 12 }, "end": { - "line": 679, + "line": 675, "column": 13 } } @@ -170759,15 +168097,15 @@ "binop": null }, "value": "setCurrentTime", - "start": 23086, - "end": 23100, + "start": 22853, + "end": 22867, "loc": { "start": { - "line": 679, + "line": 675, "column": 13 }, "end": { - "line": 679, + "line": 675, "column": 27 } } @@ -170784,15 +168122,15 @@ "postfix": false, "binop": null }, - "start": 23100, - "end": 23101, + "start": 22867, + "end": 22868, "loc": { "start": { - "line": 679, + "line": 675, "column": 27 }, "end": { - "line": 679, + "line": 675, "column": 28 } } @@ -170809,15 +168147,15 @@ "postfix": false, "binop": null }, - "start": 23101, - "end": 23102, + "start": 22868, + "end": 22869, "loc": { "start": { - "line": 679, + "line": 675, "column": 28 }, "end": { - "line": 679, + "line": 675, "column": 29 } } @@ -170835,15 +168173,15 @@ "binop": null, "updateContext": null }, - "start": 23102, - "end": 23103, + "start": 22869, + "end": 22870, "loc": { "start": { - "line": 679, + "line": 675, "column": 29 }, "end": { - "line": 679, + "line": 675, "column": 30 } } @@ -170860,15 +168198,15 @@ "postfix": false, "binop": null }, - "start": 23108, - "end": 23109, + "start": 22875, + "end": 22876, "loc": { "start": { - "line": 680, + "line": 676, "column": 4 }, "end": { - "line": 680, + "line": 676, "column": 5 } } @@ -170876,15 +168214,15 @@ { "type": "CommentBlock", "value": "*\n * Fires during seeking of the waveform.\n *\n * @private\n ", - "start": 23115, - "end": 23194, + "start": 22882, + "end": 22961, "loc": { "start": { - "line": 682, + "line": 678, "column": 4 }, "end": { - "line": 686, + "line": 682, "column": 7 } } @@ -170902,15 +168240,15 @@ "binop": null }, "value": "onWaveSeek", - "start": 23199, - "end": 23209, + "start": 22966, + "end": 22976, "loc": { "start": { - "line": 687, + "line": 683, "column": 4 }, "end": { - "line": 687, + "line": 683, "column": 14 } } @@ -170927,15 +168265,15 @@ "postfix": false, "binop": null }, - "start": 23209, - "end": 23210, + "start": 22976, + "end": 22977, "loc": { "start": { - "line": 687, + "line": 683, "column": 14 }, "end": { - "line": 687, + "line": 683, "column": 15 } } @@ -170952,15 +168290,15 @@ "postfix": false, "binop": null }, - "start": 23210, - "end": 23211, + "start": 22977, + "end": 22978, "loc": { "start": { - "line": 687, + "line": 683, "column": 15 }, "end": { - "line": 687, + "line": 683, "column": 16 } } @@ -170977,15 +168315,15 @@ "postfix": false, "binop": null }, - "start": 23212, - "end": 23213, + "start": 22979, + "end": 22980, "loc": { "start": { - "line": 687, + "line": 683, "column": 17 }, "end": { - "line": 687, + "line": 683, "column": 18 } } @@ -171005,15 +168343,15 @@ "updateContext": null }, "value": "this", - "start": 23222, - "end": 23226, + "start": 22989, + "end": 22993, "loc": { "start": { - "line": 688, + "line": 684, "column": 8 }, "end": { - "line": 688, + "line": 684, "column": 12 } } @@ -171031,15 +168369,15 @@ "binop": null, "updateContext": null }, - "start": 23226, - "end": 23227, + "start": 22993, + "end": 22994, "loc": { "start": { - "line": 688, + "line": 684, "column": 12 }, "end": { - "line": 688, + "line": 684, "column": 13 } } @@ -171057,15 +168395,15 @@ "binop": null }, "value": "setCurrentTime", - "start": 23227, - "end": 23241, + "start": 22994, + "end": 23008, "loc": { "start": { - "line": 688, + "line": 684, "column": 13 }, "end": { - "line": 688, + "line": 684, "column": 27 } } @@ -171082,15 +168420,15 @@ "postfix": false, "binop": null }, - "start": 23241, - "end": 23242, + "start": 23008, + "end": 23009, "loc": { "start": { - "line": 688, + "line": 684, "column": 27 }, "end": { - "line": 688, + "line": 684, "column": 28 } } @@ -171107,15 +168445,15 @@ "postfix": false, "binop": null }, - "start": 23242, - "end": 23243, + "start": 23009, + "end": 23010, "loc": { "start": { - "line": 688, + "line": 684, "column": 28 }, "end": { - "line": 688, + "line": 684, "column": 29 } } @@ -171133,15 +168471,15 @@ "binop": null, "updateContext": null }, - "start": 23243, - "end": 23244, + "start": 23010, + "end": 23011, "loc": { "start": { - "line": 688, + "line": 684, "column": 29 }, "end": { - "line": 688, + "line": 684, "column": 30 } } @@ -171158,15 +168496,15 @@ "postfix": false, "binop": null }, - "start": 23249, - "end": 23250, + "start": 23016, + "end": 23017, "loc": { "start": { - "line": 689, + "line": 685, "column": 4 }, "end": { - "line": 689, + "line": 685, "column": 5 } } @@ -171174,15 +168512,15 @@ { "type": "CommentBlock", "value": "*\n * Waveform error.\n *\n * @param {string} error - The wavesurfer error.\n * @private\n ", - "start": 23256, - "end": 23366, + "start": 23023, + "end": 23133, "loc": { "start": { - "line": 691, + "line": 687, "column": 4 }, "end": { - "line": 696, + "line": 692, "column": 7 } } @@ -171200,15 +168538,15 @@ "binop": null }, "value": "onWaveError", - "start": 23371, - "end": 23382, + "start": 23138, + "end": 23149, "loc": { "start": { - "line": 697, + "line": 693, "column": 4 }, "end": { - "line": 697, + "line": 693, "column": 15 } } @@ -171225,15 +168563,15 @@ "postfix": false, "binop": null }, - "start": 23382, - "end": 23383, + "start": 23149, + "end": 23150, "loc": { "start": { - "line": 697, + "line": 693, "column": 15 }, "end": { - "line": 697, + "line": 693, "column": 16 } } @@ -171251,15 +168589,15 @@ "binop": null }, "value": "error", - "start": 23383, - "end": 23388, + "start": 23150, + "end": 23155, "loc": { "start": { - "line": 697, + "line": 693, "column": 16 }, "end": { - "line": 697, + "line": 693, "column": 21 } } @@ -171276,15 +168614,15 @@ "postfix": false, "binop": null }, - "start": 23388, - "end": 23389, + "start": 23155, + "end": 23156, "loc": { "start": { - "line": 697, + "line": 693, "column": 21 }, "end": { - "line": 697, + "line": 693, "column": 22 } } @@ -171301,15 +168639,15 @@ "postfix": false, "binop": null }, - "start": 23390, - "end": 23391, + "start": 23157, + "end": 23158, "loc": { "start": { - "line": 697, + "line": 693, "column": 23 }, "end": { - "line": 697, + "line": 693, "column": 24 } } @@ -171317,15 +168655,15 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 23400, - "end": 23419, + "start": 23167, + "end": 23186, "loc": { "start": { - "line": 698, + "line": 694, "column": 8 }, "end": { - "line": 698, + "line": 694, "column": 27 } } @@ -171345,15 +168683,15 @@ "updateContext": null }, "value": "if", - "start": 23428, - "end": 23430, + "start": 23195, + "end": 23197, "loc": { "start": { - "line": 699, + "line": 695, "column": 8 }, "end": { - "line": 699, + "line": 695, "column": 10 } } @@ -171370,15 +168708,15 @@ "postfix": false, "binop": null }, - "start": 23431, - "end": 23432, + "start": 23198, + "end": 23199, "loc": { "start": { - "line": 699, + "line": 695, "column": 11 }, "end": { - "line": 699, + "line": 695, "column": 12 } } @@ -171396,15 +168734,15 @@ "binop": null }, "value": "error", - "start": 23432, - "end": 23437, + "start": 23199, + "end": 23204, "loc": { "start": { - "line": 699, + "line": 695, "column": 12 }, "end": { - "line": 699, + "line": 695, "column": 17 } } @@ -171422,15 +168760,15 @@ "binop": null, "updateContext": null }, - "start": 23437, - "end": 23438, + "start": 23204, + "end": 23205, "loc": { "start": { - "line": 699, + "line": 695, "column": 17 }, "end": { - "line": 699, + "line": 695, "column": 18 } } @@ -171448,15 +168786,15 @@ "binop": null }, "value": "name", - "start": 23438, - "end": 23442, + "start": 23205, + "end": 23209, "loc": { "start": { - "line": 699, + "line": 695, "column": 18 }, "end": { - "line": 699, + "line": 695, "column": 22 } } @@ -171475,15 +168813,15 @@ "updateContext": null }, "value": "&&", - "start": 23443, - "end": 23445, + "start": 23210, + "end": 23212, "loc": { "start": { - "line": 699, + "line": 695, "column": 23 }, "end": { - "line": 699, + "line": 695, "column": 25 } } @@ -171501,15 +168839,15 @@ "binop": null }, "value": "error", - "start": 23446, - "end": 23451, + "start": 23213, + "end": 23218, "loc": { "start": { - "line": 699, + "line": 695, "column": 26 }, "end": { - "line": 699, + "line": 695, "column": 31 } } @@ -171527,15 +168865,15 @@ "binop": null, "updateContext": null }, - "start": 23451, - "end": 23452, + "start": 23218, + "end": 23219, "loc": { "start": { - "line": 699, + "line": 695, "column": 31 }, "end": { - "line": 699, + "line": 695, "column": 32 } } @@ -171553,15 +168891,15 @@ "binop": null }, "value": "name", - "start": 23452, - "end": 23456, + "start": 23219, + "end": 23223, "loc": { "start": { - "line": 699, + "line": 695, "column": 32 }, "end": { - "line": 699, + "line": 695, "column": 36 } } @@ -171580,15 +168918,15 @@ "updateContext": null }, "value": "===", - "start": 23457, - "end": 23460, + "start": 23224, + "end": 23227, "loc": { "start": { - "line": 699, + "line": 695, "column": 37 }, "end": { - "line": 699, + "line": 695, "column": 40 } } @@ -171607,15 +168945,15 @@ "updateContext": null }, "value": "AbortError", - "start": 23461, - "end": 23473, + "start": 23228, + "end": 23240, "loc": { "start": { - "line": 699, + "line": 695, "column": 41 }, "end": { - "line": 699, + "line": 695, "column": 53 } } @@ -171634,15 +168972,15 @@ "updateContext": null }, "value": "||", - "start": 23474, - "end": 23476, + "start": 23241, + "end": 23243, "loc": { "start": { - "line": 699, + "line": 695, "column": 54 }, "end": { - "line": 699, + "line": 695, "column": 56 } } @@ -171660,15 +168998,15 @@ "binop": null }, "value": "error", - "start": 23489, - "end": 23494, + "start": 23256, + "end": 23261, "loc": { "start": { - "line": 700, + "line": 696, "column": 12 }, "end": { - "line": 700, + "line": 696, "column": 17 } } @@ -171686,15 +169024,15 @@ "binop": null, "updateContext": null }, - "start": 23494, - "end": 23495, + "start": 23261, + "end": 23262, "loc": { "start": { - "line": 700, + "line": 696, "column": 17 }, "end": { - "line": 700, + "line": 696, "column": 18 } } @@ -171712,15 +169050,15 @@ "binop": null }, "value": "name", - "start": 23495, - "end": 23499, + "start": 23262, + "end": 23266, "loc": { "start": { - "line": 700, + "line": 696, "column": 18 }, "end": { - "line": 700, + "line": 696, "column": 22 } } @@ -171739,15 +169077,15 @@ "updateContext": null }, "value": "===", - "start": 23500, - "end": 23503, + "start": 23267, + "end": 23270, "loc": { "start": { - "line": 700, + "line": 696, "column": 23 }, "end": { - "line": 700, + "line": 696, "column": 26 } } @@ -171766,15 +169104,15 @@ "updateContext": null }, "value": "DOMException", - "start": 23504, - "end": 23518, + "start": 23271, + "end": 23285, "loc": { "start": { - "line": 700, + "line": 696, "column": 27 }, "end": { - "line": 700, + "line": 696, "column": 41 } } @@ -171793,15 +169131,15 @@ "updateContext": null }, "value": "&&", - "start": 23519, - "end": 23521, + "start": 23286, + "end": 23288, "loc": { "start": { - "line": 700, + "line": 696, "column": 42 }, "end": { - "line": 700, + "line": 696, "column": 44 } } @@ -171819,15 +169157,15 @@ "binop": null }, "value": "error", - "start": 23522, - "end": 23527, + "start": 23289, + "end": 23294, "loc": { "start": { - "line": 700, + "line": 696, "column": 45 }, "end": { - "line": 700, + "line": 696, "column": 50 } } @@ -171845,15 +169183,15 @@ "binop": null, "updateContext": null }, - "start": 23527, - "end": 23528, + "start": 23294, + "end": 23295, "loc": { "start": { - "line": 700, + "line": 696, "column": 50 }, "end": { - "line": 700, + "line": 696, "column": 51 } } @@ -171871,15 +169209,15 @@ "binop": null }, "value": "message", - "start": 23528, - "end": 23535, + "start": 23295, + "end": 23302, "loc": { "start": { - "line": 700, + "line": 696, "column": 51 }, "end": { - "line": 700, + "line": 696, "column": 58 } } @@ -171897,15 +169235,15 @@ "binop": null, "updateContext": null }, - "start": 23535, - "end": 23536, + "start": 23302, + "end": 23303, "loc": { "start": { - "line": 700, + "line": 696, "column": 58 }, "end": { - "line": 700, + "line": 696, "column": 59 } } @@ -171923,15 +169261,15 @@ "binop": null }, "value": "startsWith", - "start": 23536, - "end": 23546, + "start": 23303, + "end": 23313, "loc": { "start": { - "line": 700, + "line": 696, "column": 59 }, "end": { - "line": 700, + "line": 696, "column": 69 } } @@ -171948,15 +169286,15 @@ "postfix": false, "binop": null }, - "start": 23546, - "end": 23547, + "start": 23313, + "end": 23314, "loc": { "start": { - "line": 700, + "line": 696, "column": 69 }, "end": { - "line": 700, + "line": 696, "column": 70 } } @@ -171975,15 +169313,15 @@ "updateContext": null }, "value": "The operation was aborted", - "start": 23547, - "end": 23574, + "start": 23314, + "end": 23341, "loc": { "start": { - "line": 700, + "line": 696, "column": 70 }, "end": { - "line": 700, + "line": 696, "column": 97 } } @@ -172000,15 +169338,15 @@ "postfix": false, "binop": null }, - "start": 23574, - "end": 23575, + "start": 23341, + "end": 23342, "loc": { "start": { - "line": 700, + "line": 696, "column": 97 }, "end": { - "line": 700, + "line": 696, "column": 98 } } @@ -172025,15 +169363,15 @@ "postfix": false, "binop": null }, - "start": 23575, - "end": 23576, + "start": 23342, + "end": 23343, "loc": { "start": { - "line": 700, + "line": 696, "column": 98 }, "end": { - "line": 700, + "line": 696, "column": 99 } } @@ -172050,15 +169388,15 @@ "postfix": false, "binop": null }, - "start": 23585, - "end": 23586, + "start": 23352, + "end": 23353, "loc": { "start": { - "line": 701, + "line": 697, "column": 8 }, "end": { - "line": 701, + "line": 697, "column": 9 } } @@ -172078,15 +169416,15 @@ "updateContext": null }, "value": "this", - "start": 23599, - "end": 23603, + "start": 23366, + "end": 23370, "loc": { "start": { - "line": 702, + "line": 698, "column": 12 }, "end": { - "line": 702, + "line": 698, "column": 16 } } @@ -172104,15 +169442,15 @@ "binop": null, "updateContext": null }, - "start": 23603, - "end": 23604, + "start": 23370, + "end": 23371, "loc": { "start": { - "line": 702, + "line": 698, "column": 16 }, "end": { - "line": 702, + "line": 698, "column": 17 } } @@ -172130,15 +169468,15 @@ "binop": null }, "value": "player", - "start": 23604, - "end": 23610, + "start": 23371, + "end": 23377, "loc": { "start": { - "line": 702, + "line": 698, "column": 17 }, "end": { - "line": 702, + "line": 698, "column": 23 } } @@ -172156,15 +169494,15 @@ "binop": null, "updateContext": null }, - "start": 23610, - "end": 23611, + "start": 23377, + "end": 23378, "loc": { "start": { - "line": 702, + "line": 698, "column": 23 }, "end": { - "line": 702, + "line": 698, "column": 24 } } @@ -172182,15 +169520,15 @@ "binop": null }, "value": "trigger", - "start": 23611, - "end": 23618, + "start": 23378, + "end": 23385, "loc": { "start": { - "line": 702, + "line": 698, "column": 24 }, "end": { - "line": 702, + "line": 698, "column": 31 } } @@ -172207,15 +169545,15 @@ "postfix": false, "binop": null }, - "start": 23618, - "end": 23619, + "start": 23385, + "end": 23386, "loc": { "start": { - "line": 702, + "line": 698, "column": 31 }, "end": { - "line": 702, + "line": 698, "column": 32 } } @@ -172233,15 +169571,15 @@ "binop": null }, "value": "Event", - "start": 23619, - "end": 23624, + "start": 23386, + "end": 23391, "loc": { "start": { - "line": 702, + "line": 698, "column": 32 }, "end": { - "line": 702, + "line": 698, "column": 37 } } @@ -172259,15 +169597,15 @@ "binop": null, "updateContext": null }, - "start": 23624, - "end": 23625, + "start": 23391, + "end": 23392, "loc": { "start": { - "line": 702, + "line": 698, "column": 37 }, "end": { - "line": 702, + "line": 698, "column": 38 } } @@ -172285,15 +169623,15 @@ "binop": null }, "value": "ABORT", - "start": 23625, - "end": 23630, + "start": 23392, + "end": 23397, "loc": { "start": { - "line": 702, + "line": 698, "column": 38 }, "end": { - "line": 702, + "line": 698, "column": 43 } } @@ -172311,15 +169649,15 @@ "binop": null, "updateContext": null }, - "start": 23630, - "end": 23631, + "start": 23397, + "end": 23398, "loc": { "start": { - "line": 702, + "line": 698, "column": 43 }, "end": { - "line": 702, + "line": 698, "column": 44 } } @@ -172337,15 +169675,15 @@ "binop": null }, "value": "error", - "start": 23632, - "end": 23637, + "start": 23399, + "end": 23404, "loc": { "start": { - "line": 702, + "line": 698, "column": 45 }, "end": { - "line": 702, + "line": 698, "column": 50 } } @@ -172362,15 +169700,15 @@ "postfix": false, "binop": null }, - "start": 23637, - "end": 23638, + "start": 23404, + "end": 23405, "loc": { "start": { - "line": 702, + "line": 698, "column": 50 }, "end": { - "line": 702, + "line": 698, "column": 51 } } @@ -172388,15 +169726,15 @@ "binop": null, "updateContext": null }, - "start": 23638, - "end": 23639, + "start": 23405, + "end": 23406, "loc": { "start": { - "line": 702, + "line": 698, "column": 51 }, "end": { - "line": 702, + "line": 698, "column": 52 } } @@ -172413,15 +169751,15 @@ "postfix": false, "binop": null }, - "start": 23648, - "end": 23649, + "start": 23415, + "end": 23416, "loc": { "start": { - "line": 703, + "line": 699, "column": 8 }, "end": { - "line": 703, + "line": 699, "column": 9 } } @@ -172441,15 +169779,15 @@ "updateContext": null }, "value": "else", - "start": 23650, - "end": 23654, + "start": 23417, + "end": 23421, "loc": { "start": { - "line": 703, + "line": 699, "column": 10 }, "end": { - "line": 703, + "line": 699, "column": 14 } } @@ -172466,15 +169804,15 @@ "postfix": false, "binop": null }, - "start": 23655, - "end": 23656, + "start": 23422, + "end": 23423, "loc": { "start": { - "line": 703, + "line": 699, "column": 15 }, "end": { - "line": 703, + "line": 699, "column": 16 } } @@ -172494,15 +169832,15 @@ "updateContext": null }, "value": "this", - "start": 23669, - "end": 23673, + "start": 23436, + "end": 23440, "loc": { "start": { - "line": 704, + "line": 700, "column": 12 }, "end": { - "line": 704, + "line": 700, "column": 16 } } @@ -172520,15 +169858,15 @@ "binop": null, "updateContext": null }, - "start": 23673, - "end": 23674, + "start": 23440, + "end": 23441, "loc": { "start": { - "line": 704, + "line": 700, "column": 16 }, "end": { - "line": 704, + "line": 700, "column": 17 } } @@ -172546,15 +169884,15 @@ "binop": null }, "value": "player", - "start": 23674, - "end": 23680, + "start": 23441, + "end": 23447, "loc": { "start": { - "line": 704, + "line": 700, "column": 17 }, "end": { - "line": 704, + "line": 700, "column": 23 } } @@ -172572,15 +169910,15 @@ "binop": null, "updateContext": null }, - "start": 23680, - "end": 23681, + "start": 23447, + "end": 23448, "loc": { "start": { - "line": 704, + "line": 700, "column": 23 }, "end": { - "line": 704, + "line": 700, "column": 24 } } @@ -172598,15 +169936,15 @@ "binop": null }, "value": "trigger", - "start": 23681, - "end": 23688, + "start": 23448, + "end": 23455, "loc": { "start": { - "line": 704, + "line": 700, "column": 24 }, "end": { - "line": 704, + "line": 700, "column": 31 } } @@ -172623,15 +169961,15 @@ "postfix": false, "binop": null }, - "start": 23688, - "end": 23689, + "start": 23455, + "end": 23456, "loc": { "start": { - "line": 704, + "line": 700, "column": 31 }, "end": { - "line": 704, + "line": 700, "column": 32 } } @@ -172649,15 +169987,15 @@ "binop": null }, "value": "Event", - "start": 23689, - "end": 23694, + "start": 23456, + "end": 23461, "loc": { "start": { - "line": 704, + "line": 700, "column": 32 }, "end": { - "line": 704, + "line": 700, "column": 37 } } @@ -172675,15 +170013,15 @@ "binop": null, "updateContext": null }, - "start": 23694, - "end": 23695, + "start": 23461, + "end": 23462, "loc": { "start": { - "line": 704, + "line": 700, "column": 37 }, "end": { - "line": 704, + "line": 700, "column": 38 } } @@ -172701,15 +170039,15 @@ "binop": null }, "value": "ERROR", - "start": 23695, - "end": 23700, + "start": 23462, + "end": 23467, "loc": { "start": { - "line": 704, + "line": 700, "column": 38 }, "end": { - "line": 704, + "line": 700, "column": 43 } } @@ -172727,15 +170065,15 @@ "binop": null, "updateContext": null }, - "start": 23700, - "end": 23701, + "start": 23467, + "end": 23468, "loc": { "start": { - "line": 704, + "line": 700, "column": 43 }, "end": { - "line": 704, + "line": 700, "column": 44 } } @@ -172753,15 +170091,15 @@ "binop": null }, "value": "error", - "start": 23702, - "end": 23707, + "start": 23469, + "end": 23474, "loc": { "start": { - "line": 704, + "line": 700, "column": 45 }, "end": { - "line": 704, + "line": 700, "column": 50 } } @@ -172778,15 +170116,15 @@ "postfix": false, "binop": null }, - "start": 23707, - "end": 23708, + "start": 23474, + "end": 23475, "loc": { "start": { - "line": 704, + "line": 700, "column": 50 }, "end": { - "line": 704, + "line": 700, "column": 51 } } @@ -172804,15 +170142,15 @@ "binop": null, "updateContext": null }, - "start": 23708, - "end": 23709, + "start": 23475, + "end": 23476, "loc": { "start": { - "line": 704, + "line": 700, "column": 51 }, "end": { - "line": 704, + "line": 700, "column": 52 } } @@ -172832,15 +170170,15 @@ "updateContext": null }, "value": "this", - "start": 23723, - "end": 23727, + "start": 23490, + "end": 23494, "loc": { "start": { - "line": 706, + "line": 702, "column": 12 }, "end": { - "line": 706, + "line": 702, "column": 16 } } @@ -172858,15 +170196,15 @@ "binop": null, "updateContext": null }, - "start": 23727, - "end": 23728, + "start": 23494, + "end": 23495, "loc": { "start": { - "line": 706, + "line": 702, "column": 16 }, "end": { - "line": 706, + "line": 702, "column": 17 } } @@ -172884,15 +170222,15 @@ "binop": null }, "value": "log", - "start": 23728, - "end": 23731, + "start": 23495, + "end": 23498, "loc": { "start": { - "line": 706, + "line": 702, "column": 17 }, "end": { - "line": 706, + "line": 702, "column": 20 } } @@ -172909,15 +170247,15 @@ "postfix": false, "binop": null }, - "start": 23731, - "end": 23732, + "start": 23498, + "end": 23499, "loc": { "start": { - "line": 706, + "line": 702, "column": 20 }, "end": { - "line": 706, + "line": 702, "column": 21 } } @@ -172935,15 +170273,15 @@ "binop": null }, "value": "error", - "start": 23732, - "end": 23737, + "start": 23499, + "end": 23504, "loc": { "start": { - "line": 706, + "line": 702, "column": 21 }, "end": { - "line": 706, + "line": 702, "column": 26 } } @@ -172961,15 +170299,15 @@ "binop": null, "updateContext": null }, - "start": 23737, - "end": 23738, + "start": 23504, + "end": 23505, "loc": { "start": { - "line": 706, + "line": 702, "column": 26 }, "end": { - "line": 706, + "line": 702, "column": 27 } } @@ -172988,15 +170326,15 @@ "updateContext": null }, "value": "error", - "start": 23739, - "end": 23746, + "start": 23506, + "end": 23513, "loc": { "start": { - "line": 706, + "line": 702, "column": 28 }, "end": { - "line": 706, + "line": 702, "column": 35 } } @@ -173013,15 +170351,15 @@ "postfix": false, "binop": null }, - "start": 23746, - "end": 23747, + "start": 23513, + "end": 23514, "loc": { "start": { - "line": 706, + "line": 702, "column": 35 }, "end": { - "line": 706, + "line": 702, "column": 36 } } @@ -173039,15 +170377,15 @@ "binop": null, "updateContext": null }, - "start": 23747, - "end": 23748, + "start": 23514, + "end": 23515, "loc": { "start": { - "line": 706, + "line": 702, "column": 36 }, "end": { - "line": 706, + "line": 702, "column": 37 } } @@ -173064,15 +170402,15 @@ "postfix": false, "binop": null }, - "start": 23757, - "end": 23758, + "start": 23524, + "end": 23525, "loc": { "start": { - "line": 707, + "line": 703, "column": 8 }, "end": { - "line": 707, + "line": 703, "column": 9 } } @@ -173089,15 +170427,15 @@ "postfix": false, "binop": null }, - "start": 23763, - "end": 23764, + "start": 23530, + "end": 23531, "loc": { "start": { - "line": 708, + "line": 704, "column": 4 }, "end": { - "line": 708, + "line": 704, "column": 5 } } @@ -173105,15 +170443,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the play toggle is clicked.\n * @private\n ", - "start": 23770, - "end": 23843, + "start": 23537, + "end": 23610, "loc": { "start": { - "line": 710, + "line": 706, "column": 4 }, "end": { - "line": 713, + "line": 709, "column": 7 } } @@ -173131,15 +170469,15 @@ "binop": null }, "value": "onPlayToggle", - "start": 23848, - "end": 23860, + "start": 23615, + "end": 23627, "loc": { "start": { - "line": 714, + "line": 710, "column": 4 }, "end": { - "line": 714, + "line": 710, "column": 16 } } @@ -173156,15 +170494,15 @@ "postfix": false, "binop": null }, - "start": 23860, - "end": 23861, + "start": 23627, + "end": 23628, "loc": { "start": { - "line": 714, + "line": 710, "column": 16 }, "end": { - "line": 714, + "line": 710, "column": 17 } } @@ -173181,15 +170519,15 @@ "postfix": false, "binop": null }, - "start": 23861, - "end": 23862, + "start": 23628, + "end": 23629, "loc": { "start": { - "line": 714, + "line": 710, "column": 17 }, "end": { - "line": 714, + "line": 710, "column": 18 } } @@ -173206,15 +170544,15 @@ "postfix": false, "binop": null }, - "start": 23863, - "end": 23864, + "start": 23630, + "end": 23631, "loc": { "start": { - "line": 714, + "line": 710, "column": 19 }, "end": { - "line": 714, + "line": 710, "column": 20 } } @@ -173234,15 +170572,15 @@ "updateContext": null }, "value": "if", - "start": 23873, - "end": 23875, + "start": 23640, + "end": 23642, "loc": { "start": { - "line": 715, + "line": 711, "column": 8 }, "end": { - "line": 715, + "line": 711, "column": 10 } } @@ -173259,15 +170597,15 @@ "postfix": false, "binop": null }, - "start": 23876, - "end": 23877, + "start": 23643, + "end": 23644, "loc": { "start": { - "line": 715, + "line": 711, "column": 11 }, "end": { - "line": 715, + "line": 711, "column": 12 } } @@ -173287,15 +170625,15 @@ "updateContext": null }, "value": "this", - "start": 23877, - "end": 23881, + "start": 23644, + "end": 23648, "loc": { "start": { - "line": 715, + "line": 711, "column": 12 }, "end": { - "line": 715, + "line": 711, "column": 16 } } @@ -173313,15 +170651,15 @@ "binop": null, "updateContext": null }, - "start": 23881, - "end": 23882, + "start": 23648, + "end": 23649, "loc": { "start": { - "line": 715, + "line": 711, "column": 16 }, "end": { - "line": 715, + "line": 711, "column": 17 } } @@ -173339,15 +170677,15 @@ "binop": null }, "value": "player", - "start": 23882, - "end": 23888, + "start": 23649, + "end": 23655, "loc": { "start": { - "line": 715, + "line": 711, "column": 17 }, "end": { - "line": 715, + "line": 711, "column": 23 } } @@ -173365,15 +170703,15 @@ "binop": null, "updateContext": null }, - "start": 23888, - "end": 23889, + "start": 23655, + "end": 23656, "loc": { "start": { - "line": 715, + "line": 711, "column": 23 }, "end": { - "line": 715, + "line": 711, "column": 24 } } @@ -173391,15 +170729,15 @@ "binop": null }, "value": "controlBar", - "start": 23889, - "end": 23899, + "start": 23656, + "end": 23666, "loc": { "start": { - "line": 715, + "line": 711, "column": 24 }, "end": { - "line": 715, + "line": 711, "column": 34 } } @@ -173417,15 +170755,15 @@ "binop": null, "updateContext": null }, - "start": 23899, - "end": 23900, + "start": 23666, + "end": 23667, "loc": { "start": { - "line": 715, + "line": 711, "column": 34 }, "end": { - "line": 715, + "line": 711, "column": 35 } } @@ -173443,15 +170781,15 @@ "binop": null }, "value": "playToggle", - "start": 23900, - "end": 23910, + "start": 23667, + "end": 23677, "loc": { "start": { - "line": 715, + "line": 711, "column": 35 }, "end": { - "line": 715, + "line": 711, "column": 45 } } @@ -173470,15 +170808,15 @@ "updateContext": null }, "value": "!==", - "start": 23911, - "end": 23914, + "start": 23678, + "end": 23681, "loc": { "start": { - "line": 715, + "line": 711, "column": 46 }, "end": { - "line": 715, + "line": 711, "column": 49 } } @@ -173496,15 +170834,15 @@ "binop": null }, "value": "undefined", - "start": 23915, - "end": 23924, + "start": 23682, + "end": 23691, "loc": { "start": { - "line": 715, + "line": 711, "column": 50 }, "end": { - "line": 715, + "line": 711, "column": 59 } } @@ -173523,15 +170861,15 @@ "updateContext": null }, "value": "&&", - "start": 23925, - "end": 23927, + "start": 23692, + "end": 23694, "loc": { "start": { - "line": 715, + "line": 711, "column": 60 }, "end": { - "line": 715, + "line": 711, "column": 62 } } @@ -173551,15 +170889,15 @@ "updateContext": null }, "value": "this", - "start": 23940, - "end": 23944, + "start": 23707, + "end": 23711, "loc": { "start": { - "line": 716, + "line": 712, "column": 12 }, "end": { - "line": 716, + "line": 712, "column": 16 } } @@ -173577,15 +170915,15 @@ "binop": null, "updateContext": null }, - "start": 23944, - "end": 23945, + "start": 23711, + "end": 23712, "loc": { "start": { - "line": 716, + "line": 712, "column": 16 }, "end": { - "line": 716, + "line": 712, "column": 17 } } @@ -173603,15 +170941,15 @@ "binop": null }, "value": "player", - "start": 23945, - "end": 23951, + "start": 23712, + "end": 23718, "loc": { "start": { - "line": 716, + "line": 712, "column": 17 }, "end": { - "line": 716, + "line": 712, "column": 23 } } @@ -173629,15 +170967,15 @@ "binop": null, "updateContext": null }, - "start": 23951, - "end": 23952, + "start": 23718, + "end": 23719, "loc": { "start": { - "line": 716, + "line": 712, "column": 23 }, "end": { - "line": 716, + "line": 712, "column": 24 } } @@ -173655,15 +170993,15 @@ "binop": null }, "value": "controlBar", - "start": 23952, - "end": 23962, + "start": 23719, + "end": 23729, "loc": { "start": { - "line": 716, + "line": 712, "column": 24 }, "end": { - "line": 716, + "line": 712, "column": 34 } } @@ -173681,15 +171019,15 @@ "binop": null, "updateContext": null }, - "start": 23962, - "end": 23963, + "start": 23729, + "end": 23730, "loc": { "start": { - "line": 716, + "line": 712, "column": 34 }, "end": { - "line": 716, + "line": 712, "column": 35 } } @@ -173707,15 +171045,15 @@ "binop": null }, "value": "playToggle", - "start": 23963, - "end": 23973, + "start": 23730, + "end": 23740, "loc": { "start": { - "line": 716, + "line": 712, "column": 35 }, "end": { - "line": 716, + "line": 712, "column": 45 } } @@ -173733,15 +171071,15 @@ "binop": null, "updateContext": null }, - "start": 23973, - "end": 23974, + "start": 23740, + "end": 23741, "loc": { "start": { - "line": 716, + "line": 712, "column": 45 }, "end": { - "line": 716, + "line": 712, "column": 46 } } @@ -173759,15 +171097,15 @@ "binop": null }, "value": "hasClass", - "start": 23974, - "end": 23982, + "start": 23741, + "end": 23749, "loc": { "start": { - "line": 716, + "line": 712, "column": 46 }, "end": { - "line": 716, + "line": 712, "column": 54 } } @@ -173784,15 +171122,15 @@ "postfix": false, "binop": null }, - "start": 23982, - "end": 23983, + "start": 23749, + "end": 23750, "loc": { "start": { - "line": 716, + "line": 712, "column": 54 }, "end": { - "line": 716, + "line": 712, "column": 55 } } @@ -173811,15 +171149,15 @@ "updateContext": null }, "value": "vjs-ended", - "start": 23983, - "end": 23994, + "start": 23750, + "end": 23761, "loc": { "start": { - "line": 716, + "line": 712, "column": 55 }, "end": { - "line": 716, + "line": 712, "column": 66 } } @@ -173836,15 +171174,15 @@ "postfix": false, "binop": null }, - "start": 23994, - "end": 23995, + "start": 23761, + "end": 23762, "loc": { "start": { - "line": 716, + "line": 712, "column": 66 }, "end": { - "line": 716, + "line": 712, "column": 67 } } @@ -173861,15 +171199,15 @@ "postfix": false, "binop": null }, - "start": 23995, - "end": 23996, + "start": 23762, + "end": 23763, "loc": { "start": { - "line": 716, + "line": 712, "column": 67 }, "end": { - "line": 716, + "line": 712, "column": 68 } } @@ -173886,15 +171224,15 @@ "postfix": false, "binop": null }, - "start": 23997, - "end": 23998, + "start": 23764, + "end": 23765, "loc": { "start": { - "line": 716, + "line": 712, "column": 69 }, "end": { - "line": 716, + "line": 712, "column": 70 } } @@ -173914,15 +171252,15 @@ "updateContext": null }, "value": "this", - "start": 24011, - "end": 24015, + "start": 23778, + "end": 23782, "loc": { "start": { - "line": 717, + "line": 713, "column": 12 }, "end": { - "line": 717, + "line": 713, "column": 16 } } @@ -173940,15 +171278,15 @@ "binop": null, "updateContext": null }, - "start": 24015, - "end": 24016, + "start": 23782, + "end": 23783, "loc": { "start": { - "line": 717, + "line": 713, "column": 16 }, "end": { - "line": 717, + "line": 713, "column": 17 } } @@ -173966,15 +171304,15 @@ "binop": null }, "value": "player", - "start": 24016, - "end": 24022, + "start": 23783, + "end": 23789, "loc": { "start": { - "line": 717, + "line": 713, "column": 17 }, "end": { - "line": 717, + "line": 713, "column": 23 } } @@ -173992,15 +171330,15 @@ "binop": null, "updateContext": null }, - "start": 24022, - "end": 24023, + "start": 23789, + "end": 23790, "loc": { "start": { - "line": 717, + "line": 713, "column": 23 }, "end": { - "line": 717, + "line": 713, "column": 24 } } @@ -174018,15 +171356,15 @@ "binop": null }, "value": "controlBar", - "start": 24023, - "end": 24033, + "start": 23790, + "end": 23800, "loc": { "start": { - "line": 717, + "line": 713, "column": 24 }, "end": { - "line": 717, + "line": 713, "column": 34 } } @@ -174044,15 +171382,15 @@ "binop": null, "updateContext": null }, - "start": 24033, - "end": 24034, + "start": 23800, + "end": 23801, "loc": { "start": { - "line": 717, + "line": 713, "column": 34 }, "end": { - "line": 717, + "line": 713, "column": 35 } } @@ -174070,15 +171408,15 @@ "binop": null }, "value": "playToggle", - "start": 24034, - "end": 24044, + "start": 23801, + "end": 23811, "loc": { "start": { - "line": 717, + "line": 713, "column": 35 }, "end": { - "line": 717, + "line": 713, "column": 45 } } @@ -174096,15 +171434,15 @@ "binop": null, "updateContext": null }, - "start": 24044, - "end": 24045, + "start": 23811, + "end": 23812, "loc": { "start": { - "line": 717, + "line": 713, "column": 45 }, "end": { - "line": 717, + "line": 713, "column": 46 } } @@ -174122,15 +171460,15 @@ "binop": null }, "value": "removeClass", - "start": 24045, - "end": 24056, + "start": 23812, + "end": 23823, "loc": { "start": { - "line": 717, + "line": 713, "column": 46 }, "end": { - "line": 717, + "line": 713, "column": 57 } } @@ -174147,15 +171485,15 @@ "postfix": false, "binop": null }, - "start": 24056, - "end": 24057, + "start": 23823, + "end": 23824, "loc": { "start": { - "line": 717, + "line": 713, "column": 57 }, "end": { - "line": 717, + "line": 713, "column": 58 } } @@ -174174,15 +171512,15 @@ "updateContext": null }, "value": "vjs-ended", - "start": 24057, - "end": 24068, + "start": 23824, + "end": 23835, "loc": { "start": { - "line": 717, + "line": 713, "column": 58 }, "end": { - "line": 717, + "line": 713, "column": 69 } } @@ -174199,15 +171537,15 @@ "postfix": false, "binop": null }, - "start": 24068, - "end": 24069, + "start": 23835, + "end": 23836, "loc": { "start": { - "line": 717, + "line": 713, "column": 69 }, "end": { - "line": 717, + "line": 713, "column": 70 } } @@ -174225,15 +171563,15 @@ "binop": null, "updateContext": null }, - "start": 24069, - "end": 24070, + "start": 23836, + "end": 23837, "loc": { "start": { - "line": 717, + "line": 713, "column": 70 }, "end": { - "line": 717, + "line": 713, "column": 71 } } @@ -174250,15 +171588,15 @@ "postfix": false, "binop": null }, - "start": 24079, - "end": 24080, + "start": 23846, + "end": 23847, "loc": { "start": { - "line": 718, + "line": 714, "column": 8 }, "end": { - "line": 718, + "line": 714, "column": 9 } } @@ -174278,15 +171616,15 @@ "updateContext": null }, "value": "if", - "start": 24089, - "end": 24091, + "start": 23856, + "end": 23858, "loc": { "start": { - "line": 719, + "line": 715, "column": 8 }, "end": { - "line": 719, + "line": 715, "column": 10 } } @@ -174303,15 +171641,15 @@ "postfix": false, "binop": null }, - "start": 24092, - "end": 24093, + "start": 23859, + "end": 23860, "loc": { "start": { - "line": 719, + "line": 715, "column": 11 }, "end": { - "line": 719, + "line": 715, "column": 12 } } @@ -174331,15 +171669,15 @@ "updateContext": null }, "value": "this", - "start": 24093, - "end": 24097, + "start": 23860, + "end": 23864, "loc": { "start": { - "line": 719, + "line": 715, "column": 12 }, "end": { - "line": 719, + "line": 715, "column": 16 } } @@ -174357,15 +171695,15 @@ "binop": null, "updateContext": null }, - "start": 24097, - "end": 24098, + "start": 23864, + "end": 23865, "loc": { "start": { - "line": 719, + "line": 715, "column": 16 }, "end": { - "line": 719, + "line": 715, "column": 17 } } @@ -174383,15 +171721,15 @@ "binop": null }, "value": "surfer", - "start": 24098, - "end": 24104, + "start": 23865, + "end": 23871, "loc": { "start": { - "line": 719, + "line": 715, "column": 17 }, "end": { - "line": 719, + "line": 715, "column": 23 } } @@ -174409,15 +171747,15 @@ "binop": null, "updateContext": null }, - "start": 24104, - "end": 24105, + "start": 23871, + "end": 23872, "loc": { "start": { - "line": 719, + "line": 715, "column": 23 }, "end": { - "line": 719, + "line": 715, "column": 24 } } @@ -174435,15 +171773,15 @@ "binop": null }, "value": "isPlaying", - "start": 24105, - "end": 24114, + "start": 23872, + "end": 23881, "loc": { "start": { - "line": 719, + "line": 715, "column": 24 }, "end": { - "line": 719, + "line": 715, "column": 33 } } @@ -174460,15 +171798,15 @@ "postfix": false, "binop": null }, - "start": 24114, - "end": 24115, + "start": 23881, + "end": 23882, "loc": { "start": { - "line": 719, + "line": 715, "column": 33 }, "end": { - "line": 719, + "line": 715, "column": 34 } } @@ -174485,15 +171823,15 @@ "postfix": false, "binop": null }, - "start": 24115, - "end": 24116, + "start": 23882, + "end": 23883, "loc": { "start": { - "line": 719, + "line": 715, "column": 34 }, "end": { - "line": 719, + "line": 715, "column": 35 } } @@ -174510,15 +171848,15 @@ "postfix": false, "binop": null }, - "start": 24116, - "end": 24117, + "start": 23883, + "end": 23884, "loc": { "start": { - "line": 719, + "line": 715, "column": 35 }, "end": { - "line": 719, + "line": 715, "column": 36 } } @@ -174535,15 +171873,15 @@ "postfix": false, "binop": null }, - "start": 24118, - "end": 24119, + "start": 23885, + "end": 23886, "loc": { "start": { - "line": 719, + "line": 715, "column": 37 }, "end": { - "line": 719, + "line": 715, "column": 38 } } @@ -174563,15 +171901,15 @@ "updateContext": null }, "value": "this", - "start": 24132, - "end": 24136, + "start": 23899, + "end": 23903, "loc": { "start": { - "line": 720, + "line": 716, "column": 12 }, "end": { - "line": 720, + "line": 716, "column": 16 } } @@ -174589,15 +171927,15 @@ "binop": null, "updateContext": null }, - "start": 24136, - "end": 24137, + "start": 23903, + "end": 23904, "loc": { "start": { - "line": 720, + "line": 716, "column": 16 }, "end": { - "line": 720, + "line": 716, "column": 17 } } @@ -174615,15 +171953,15 @@ "binop": null }, "value": "pause", - "start": 24137, - "end": 24142, + "start": 23904, + "end": 23909, "loc": { "start": { - "line": 720, + "line": 716, "column": 17 }, "end": { - "line": 720, + "line": 716, "column": 22 } } @@ -174640,15 +171978,15 @@ "postfix": false, "binop": null }, - "start": 24142, - "end": 24143, + "start": 23909, + "end": 23910, "loc": { "start": { - "line": 720, + "line": 716, "column": 22 }, "end": { - "line": 720, + "line": 716, "column": 23 } } @@ -174665,15 +172003,15 @@ "postfix": false, "binop": null }, - "start": 24143, - "end": 24144, + "start": 23910, + "end": 23911, "loc": { "start": { - "line": 720, + "line": 716, "column": 23 }, "end": { - "line": 720, + "line": 716, "column": 24 } } @@ -174691,15 +172029,15 @@ "binop": null, "updateContext": null }, - "start": 24144, - "end": 24145, + "start": 23911, + "end": 23912, "loc": { "start": { - "line": 720, + "line": 716, "column": 24 }, "end": { - "line": 720, + "line": 716, "column": 25 } } @@ -174716,15 +172054,15 @@ "postfix": false, "binop": null }, - "start": 24154, - "end": 24155, + "start": 23921, + "end": 23922, "loc": { "start": { - "line": 721, + "line": 717, "column": 8 }, "end": { - "line": 721, + "line": 717, "column": 9 } } @@ -174744,15 +172082,15 @@ "updateContext": null }, "value": "else", - "start": 24156, - "end": 24160, + "start": 23923, + "end": 23927, "loc": { "start": { - "line": 721, + "line": 717, "column": 10 }, "end": { - "line": 721, + "line": 717, "column": 14 } } @@ -174769,15 +172107,15 @@ "postfix": false, "binop": null }, - "start": 24161, - "end": 24162, + "start": 23928, + "end": 23929, "loc": { "start": { - "line": 721, + "line": 717, "column": 15 }, "end": { - "line": 721, + "line": 717, "column": 16 } } @@ -174797,15 +172135,15 @@ "updateContext": null }, "value": "this", - "start": 24175, - "end": 24179, + "start": 23942, + "end": 23946, "loc": { "start": { - "line": 722, + "line": 718, "column": 12 }, "end": { - "line": 722, + "line": 718, "column": 16 } } @@ -174823,15 +172161,15 @@ "binop": null, "updateContext": null }, - "start": 24179, - "end": 24180, + "start": 23946, + "end": 23947, "loc": { "start": { - "line": 722, + "line": 718, "column": 16 }, "end": { - "line": 722, + "line": 718, "column": 17 } } @@ -174849,15 +172187,15 @@ "binop": null }, "value": "play", - "start": 24180, - "end": 24184, + "start": 23947, + "end": 23951, "loc": { "start": { - "line": 722, + "line": 718, "column": 17 }, "end": { - "line": 722, + "line": 718, "column": 21 } } @@ -174874,15 +172212,15 @@ "postfix": false, "binop": null }, - "start": 24184, - "end": 24185, + "start": 23951, + "end": 23952, "loc": { "start": { - "line": 722, + "line": 718, "column": 21 }, "end": { - "line": 722, + "line": 718, "column": 22 } } @@ -174899,15 +172237,15 @@ "postfix": false, "binop": null }, - "start": 24185, - "end": 24186, + "start": 23952, + "end": 23953, "loc": { "start": { - "line": 722, + "line": 718, "column": 22 }, "end": { - "line": 722, + "line": 718, "column": 23 } } @@ -174925,15 +172263,15 @@ "binop": null, "updateContext": null }, - "start": 24186, - "end": 24187, + "start": 23953, + "end": 23954, "loc": { "start": { - "line": 722, + "line": 718, "column": 23 }, "end": { - "line": 722, + "line": 718, "column": 24 } } @@ -174950,15 +172288,15 @@ "postfix": false, "binop": null }, - "start": 24196, - "end": 24197, + "start": 23963, + "end": 23964, "loc": { "start": { - "line": 723, + "line": 719, "column": 8 }, "end": { - "line": 723, + "line": 719, "column": 9 } } @@ -174975,15 +172313,15 @@ "postfix": false, "binop": null }, - "start": 24202, - "end": 24203, + "start": 23969, + "end": 23970, "loc": { "start": { - "line": 724, + "line": 720, "column": 4 }, "end": { - "line": 724, + "line": 720, "column": 5 } } @@ -174991,15 +172329,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the volume in the video.js player changes.\n * @private\n ", - "start": 24209, - "end": 24297, + "start": 23976, + "end": 24064, "loc": { "start": { - "line": 726, + "line": 722, "column": 4 }, "end": { - "line": 729, + "line": 725, "column": 7 } } @@ -175017,15 +172355,15 @@ "binop": null }, "value": "onVolumeChange", - "start": 24302, - "end": 24316, + "start": 24069, + "end": 24083, "loc": { "start": { - "line": 730, + "line": 726, "column": 4 }, "end": { - "line": 730, + "line": 726, "column": 18 } } @@ -175042,15 +172380,15 @@ "postfix": false, "binop": null }, - "start": 24316, - "end": 24317, + "start": 24083, + "end": 24084, "loc": { "start": { - "line": 730, + "line": 726, "column": 18 }, "end": { - "line": 730, + "line": 726, "column": 19 } } @@ -175067,15 +172405,15 @@ "postfix": false, "binop": null }, - "start": 24317, - "end": 24318, + "start": 24084, + "end": 24085, "loc": { "start": { - "line": 730, + "line": 726, "column": 19 }, "end": { - "line": 730, + "line": 726, "column": 20 } } @@ -175092,15 +172430,15 @@ "postfix": false, "binop": null }, - "start": 24319, - "end": 24320, + "start": 24086, + "end": 24087, "loc": { "start": { - "line": 730, + "line": 726, "column": 21 }, "end": { - "line": 730, + "line": 726, "column": 22 } } @@ -175120,15 +172458,15 @@ "updateContext": null }, "value": "let", - "start": 24329, - "end": 24332, + "start": 24096, + "end": 24099, "loc": { "start": { - "line": 731, + "line": 727, "column": 8 }, "end": { - "line": 731, + "line": 727, "column": 11 } } @@ -175146,15 +172484,15 @@ "binop": null }, "value": "volume", - "start": 24333, - "end": 24339, + "start": 24100, + "end": 24106, "loc": { "start": { - "line": 731, + "line": 727, "column": 12 }, "end": { - "line": 731, + "line": 727, "column": 18 } } @@ -175173,15 +172511,15 @@ "updateContext": null }, "value": "=", - "start": 24340, - "end": 24341, + "start": 24107, + "end": 24108, "loc": { "start": { - "line": 731, + "line": 727, "column": 19 }, "end": { - "line": 731, + "line": 727, "column": 20 } } @@ -175201,15 +172539,15 @@ "updateContext": null }, "value": "this", - "start": 24342, - "end": 24346, + "start": 24109, + "end": 24113, "loc": { "start": { - "line": 731, + "line": 727, "column": 21 }, "end": { - "line": 731, + "line": 727, "column": 25 } } @@ -175227,15 +172565,15 @@ "binop": null, "updateContext": null }, - "start": 24346, - "end": 24347, + "start": 24113, + "end": 24114, "loc": { "start": { - "line": 731, + "line": 727, "column": 25 }, "end": { - "line": 731, + "line": 727, "column": 26 } } @@ -175253,15 +172591,15 @@ "binop": null }, "value": "player", - "start": 24347, - "end": 24353, + "start": 24114, + "end": 24120, "loc": { "start": { - "line": 731, + "line": 727, "column": 26 }, "end": { - "line": 731, + "line": 727, "column": 32 } } @@ -175279,15 +172617,15 @@ "binop": null, "updateContext": null }, - "start": 24353, - "end": 24354, + "start": 24120, + "end": 24121, "loc": { "start": { - "line": 731, + "line": 727, "column": 32 }, "end": { - "line": 731, + "line": 727, "column": 33 } } @@ -175305,15 +172643,15 @@ "binop": null }, "value": "volume", - "start": 24354, - "end": 24360, + "start": 24121, + "end": 24127, "loc": { "start": { - "line": 731, + "line": 727, "column": 33 }, "end": { - "line": 731, + "line": 727, "column": 39 } } @@ -175330,15 +172668,15 @@ "postfix": false, "binop": null }, - "start": 24360, - "end": 24361, + "start": 24127, + "end": 24128, "loc": { "start": { - "line": 731, + "line": 727, "column": 39 }, "end": { - "line": 731, + "line": 727, "column": 40 } } @@ -175355,15 +172693,15 @@ "postfix": false, "binop": null }, - "start": 24361, - "end": 24362, + "start": 24128, + "end": 24129, "loc": { "start": { - "line": 731, + "line": 727, "column": 40 }, "end": { - "line": 731, + "line": 727, "column": 41 } } @@ -175381,15 +172719,15 @@ "binop": null, "updateContext": null }, - "start": 24362, - "end": 24363, + "start": 24129, + "end": 24130, "loc": { "start": { - "line": 731, + "line": 727, "column": 41 }, "end": { - "line": 731, + "line": 727, "column": 42 } } @@ -175409,15 +172747,15 @@ "updateContext": null }, "value": "if", - "start": 24372, - "end": 24374, + "start": 24139, + "end": 24141, "loc": { "start": { - "line": 732, + "line": 728, "column": 8 }, "end": { - "line": 732, + "line": 728, "column": 10 } } @@ -175434,15 +172772,15 @@ "postfix": false, "binop": null }, - "start": 24375, - "end": 24376, + "start": 24142, + "end": 24143, "loc": { "start": { - "line": 732, + "line": 728, "column": 11 }, "end": { - "line": 732, + "line": 728, "column": 12 } } @@ -175462,15 +172800,15 @@ "updateContext": null }, "value": "this", - "start": 24376, - "end": 24380, + "start": 24143, + "end": 24147, "loc": { "start": { - "line": 732, + "line": 728, "column": 12 }, "end": { - "line": 732, + "line": 728, "column": 16 } } @@ -175488,15 +172826,15 @@ "binop": null, "updateContext": null }, - "start": 24380, - "end": 24381, + "start": 24147, + "end": 24148, "loc": { "start": { - "line": 732, + "line": 728, "column": 16 }, "end": { - "line": 732, + "line": 728, "column": 17 } } @@ -175514,15 +172852,15 @@ "binop": null }, "value": "player", - "start": 24381, - "end": 24387, + "start": 24148, + "end": 24154, "loc": { "start": { - "line": 732, + "line": 728, "column": 17 }, "end": { - "line": 732, + "line": 728, "column": 23 } } @@ -175540,15 +172878,15 @@ "binop": null, "updateContext": null }, - "start": 24387, - "end": 24388, + "start": 24154, + "end": 24155, "loc": { "start": { - "line": 732, + "line": 728, "column": 23 }, "end": { - "line": 732, + "line": 728, "column": 24 } } @@ -175566,15 +172904,15 @@ "binop": null }, "value": "muted", - "start": 24388, - "end": 24393, + "start": 24155, + "end": 24160, "loc": { "start": { - "line": 732, + "line": 728, "column": 24 }, "end": { - "line": 732, + "line": 728, "column": 29 } } @@ -175591,15 +172929,15 @@ "postfix": false, "binop": null }, - "start": 24393, - "end": 24394, + "start": 24160, + "end": 24161, "loc": { "start": { - "line": 732, + "line": 728, "column": 29 }, "end": { - "line": 732, + "line": 728, "column": 30 } } @@ -175616,15 +172954,15 @@ "postfix": false, "binop": null }, - "start": 24394, - "end": 24395, + "start": 24161, + "end": 24162, "loc": { "start": { - "line": 732, + "line": 728, "column": 30 }, "end": { - "line": 732, + "line": 728, "column": 31 } } @@ -175641,15 +172979,15 @@ "postfix": false, "binop": null }, - "start": 24395, - "end": 24396, + "start": 24162, + "end": 24163, "loc": { "start": { - "line": 732, + "line": 728, "column": 31 }, "end": { - "line": 732, + "line": 728, "column": 32 } } @@ -175666,15 +173004,15 @@ "postfix": false, "binop": null }, - "start": 24397, - "end": 24398, + "start": 24164, + "end": 24165, "loc": { "start": { - "line": 732, + "line": 728, "column": 33 }, "end": { - "line": 732, + "line": 728, "column": 34 } } @@ -175682,15 +173020,15 @@ { "type": "CommentLine", "value": " muted volume", - "start": 24411, - "end": 24426, + "start": 24178, + "end": 24193, "loc": { "start": { - "line": 733, + "line": 729, "column": 12 }, "end": { - "line": 733, + "line": 729, "column": 27 } } @@ -175708,15 +173046,15 @@ "binop": null }, "value": "volume", - "start": 24439, - "end": 24445, + "start": 24206, + "end": 24212, "loc": { "start": { - "line": 734, + "line": 730, "column": 12 }, "end": { - "line": 734, + "line": 730, "column": 18 } } @@ -175735,15 +173073,15 @@ "updateContext": null }, "value": "=", - "start": 24446, - "end": 24447, + "start": 24213, + "end": 24214, "loc": { "start": { - "line": 734, + "line": 730, "column": 19 }, "end": { - "line": 734, + "line": 730, "column": 20 } } @@ -175762,15 +173100,15 @@ "updateContext": null }, "value": 0, - "start": 24448, - "end": 24449, + "start": 24215, + "end": 24216, "loc": { "start": { - "line": 734, + "line": 730, "column": 21 }, "end": { - "line": 734, + "line": 730, "column": 22 } } @@ -175788,15 +173126,15 @@ "binop": null, "updateContext": null }, - "start": 24449, - "end": 24450, + "start": 24216, + "end": 24217, "loc": { "start": { - "line": 734, + "line": 730, "column": 22 }, "end": { - "line": 734, + "line": 730, "column": 23 } } @@ -175813,15 +173151,15 @@ "postfix": false, "binop": null }, - "start": 24459, - "end": 24460, + "start": 24226, + "end": 24227, "loc": { "start": { - "line": 735, + "line": 731, "column": 8 }, "end": { - "line": 735, + "line": 731, "column": 9 } } @@ -175829,15 +173167,15 @@ { "type": "CommentLine", "value": " update wavesurfer.js volume", - "start": 24470, - "end": 24500, + "start": 24237, + "end": 24267, "loc": { "start": { - "line": 737, + "line": 733, "column": 8 }, "end": { - "line": 737, + "line": 733, "column": 38 } } @@ -175857,15 +173195,15 @@ "updateContext": null }, "value": "this", - "start": 24509, - "end": 24513, + "start": 24276, + "end": 24280, "loc": { "start": { - "line": 738, + "line": 734, "column": 8 }, "end": { - "line": 738, + "line": 734, "column": 12 } } @@ -175883,15 +173221,15 @@ "binop": null, "updateContext": null }, - "start": 24513, - "end": 24514, + "start": 24280, + "end": 24281, "loc": { "start": { - "line": 738, + "line": 734, "column": 12 }, "end": { - "line": 738, + "line": 734, "column": 13 } } @@ -175909,15 +173247,15 @@ "binop": null }, "value": "surfer", - "start": 24514, - "end": 24520, + "start": 24281, + "end": 24287, "loc": { "start": { - "line": 738, + "line": 734, "column": 13 }, "end": { - "line": 738, + "line": 734, "column": 19 } } @@ -175935,15 +173273,15 @@ "binop": null, "updateContext": null }, - "start": 24520, - "end": 24521, + "start": 24287, + "end": 24288, "loc": { "start": { - "line": 738, + "line": 734, "column": 19 }, "end": { - "line": 738, + "line": 734, "column": 20 } } @@ -175961,15 +173299,15 @@ "binop": null }, "value": "setVolume", - "start": 24521, - "end": 24530, + "start": 24288, + "end": 24297, "loc": { "start": { - "line": 738, + "line": 734, "column": 20 }, "end": { - "line": 738, + "line": 734, "column": 29 } } @@ -175986,15 +173324,15 @@ "postfix": false, "binop": null }, - "start": 24530, - "end": 24531, + "start": 24297, + "end": 24298, "loc": { "start": { - "line": 738, + "line": 734, "column": 29 }, "end": { - "line": 738, + "line": 734, "column": 30 } } @@ -176012,15 +173350,15 @@ "binop": null }, "value": "volume", - "start": 24531, - "end": 24537, + "start": 24298, + "end": 24304, "loc": { "start": { - "line": 738, + "line": 734, "column": 30 }, "end": { - "line": 738, + "line": 734, "column": 36 } } @@ -176037,15 +173375,15 @@ "postfix": false, "binop": null }, - "start": 24537, - "end": 24538, + "start": 24304, + "end": 24305, "loc": { "start": { - "line": 738, + "line": 734, "column": 36 }, "end": { - "line": 738, + "line": 734, "column": 37 } } @@ -176063,15 +173401,15 @@ "binop": null, "updateContext": null }, - "start": 24538, - "end": 24539, + "start": 24305, + "end": 24306, "loc": { "start": { - "line": 738, + "line": 734, "column": 37 }, "end": { - "line": 738, + "line": 734, "column": 38 } } @@ -176088,15 +173426,15 @@ "postfix": false, "binop": null }, - "start": 24544, - "end": 24545, + "start": 24311, + "end": 24312, "loc": { "start": { - "line": 739, + "line": 735, "column": 4 }, "end": { - "line": 739, + "line": 735, "column": 5 } } @@ -176104,15 +173442,15 @@ { "type": "CommentBlock", "value": "*\n * Fired when the video.js player switches in or out of fullscreen mode.\n * @private\n ", - "start": 24551, - "end": 24655, + "start": 24318, + "end": 24422, "loc": { "start": { - "line": 741, + "line": 737, "column": 4 }, "end": { - "line": 744, + "line": 740, "column": 7 } } @@ -176130,15 +173468,15 @@ "binop": null }, "value": "onScreenChange", - "start": 24660, - "end": 24674, + "start": 24427, + "end": 24441, "loc": { "start": { - "line": 745, + "line": 741, "column": 4 }, "end": { - "line": 745, + "line": 741, "column": 18 } } @@ -176155,15 +173493,15 @@ "postfix": false, "binop": null }, - "start": 24674, - "end": 24675, + "start": 24441, + "end": 24442, "loc": { "start": { - "line": 745, + "line": 741, "column": 18 }, "end": { - "line": 745, + "line": 741, "column": 19 } } @@ -176180,15 +173518,15 @@ "postfix": false, "binop": null }, - "start": 24675, - "end": 24676, + "start": 24442, + "end": 24443, "loc": { "start": { - "line": 745, + "line": 741, "column": 19 }, "end": { - "line": 745, + "line": 741, "column": 20 } } @@ -176205,15 +173543,15 @@ "postfix": false, "binop": null }, - "start": 24677, - "end": 24678, + "start": 24444, + "end": 24445, "loc": { "start": { - "line": 745, + "line": 741, "column": 21 }, "end": { - "line": 745, + "line": 741, "column": 22 } } @@ -176221,15 +173559,15 @@ { "type": "CommentLine", "value": " execute with tiny delay so the player element completes", - "start": 24687, - "end": 24745, + "start": 24454, + "end": 24512, "loc": { "start": { - "line": 746, + "line": 742, "column": 8 }, "end": { - "line": 746, + "line": 742, "column": 66 } } @@ -176237,15 +173575,15 @@ { "type": "CommentLine", "value": " rendering and correct dimensions are reported", - "start": 24754, - "end": 24802, + "start": 24521, + "end": 24569, "loc": { "start": { - "line": 747, + "line": 743, "column": 8 }, "end": { - "line": 747, + "line": 743, "column": 56 } } @@ -176265,15 +173603,15 @@ "updateContext": null }, "value": "let", - "start": 24811, - "end": 24814, + "start": 24578, + "end": 24581, "loc": { "start": { - "line": 748, + "line": 744, "column": 8 }, "end": { - "line": 748, + "line": 744, "column": 11 } } @@ -176291,15 +173629,15 @@ "binop": null }, "value": "fullscreenDelay", - "start": 24815, - "end": 24830, + "start": 24582, + "end": 24597, "loc": { "start": { - "line": 748, + "line": 744, "column": 12 }, "end": { - "line": 748, + "line": 744, "column": 27 } } @@ -176318,15 +173656,15 @@ "updateContext": null }, "value": "=", - "start": 24831, - "end": 24832, + "start": 24598, + "end": 24599, "loc": { "start": { - "line": 748, + "line": 744, "column": 28 }, "end": { - "line": 748, + "line": 744, "column": 29 } } @@ -176346,15 +173684,15 @@ "updateContext": null }, "value": "this", - "start": 24833, - "end": 24837, + "start": 24600, + "end": 24604, "loc": { "start": { - "line": 748, + "line": 744, "column": 30 }, "end": { - "line": 748, + "line": 744, "column": 34 } } @@ -176372,15 +173710,15 @@ "binop": null, "updateContext": null }, - "start": 24837, - "end": 24838, + "start": 24604, + "end": 24605, "loc": { "start": { - "line": 748, + "line": 744, "column": 34 }, "end": { - "line": 748, + "line": 744, "column": 35 } } @@ -176398,15 +173736,15 @@ "binop": null }, "value": "player", - "start": 24838, - "end": 24844, + "start": 24605, + "end": 24611, "loc": { "start": { - "line": 748, + "line": 744, "column": 35 }, "end": { - "line": 748, + "line": 744, "column": 41 } } @@ -176424,15 +173762,15 @@ "binop": null, "updateContext": null }, - "start": 24844, - "end": 24845, + "start": 24611, + "end": 24612, "loc": { "start": { - "line": 748, + "line": 744, "column": 41 }, "end": { - "line": 748, + "line": 744, "column": 42 } } @@ -176450,15 +173788,15 @@ "binop": null }, "value": "setInterval", - "start": 24845, - "end": 24856, + "start": 24612, + "end": 24623, "loc": { "start": { - "line": 748, + "line": 744, "column": 42 }, "end": { - "line": 748, + "line": 744, "column": 53 } } @@ -176475,15 +173813,15 @@ "postfix": false, "binop": null }, - "start": 24856, - "end": 24857, + "start": 24623, + "end": 24624, "loc": { "start": { - "line": 748, + "line": 744, "column": 53 }, "end": { - "line": 748, + "line": 744, "column": 54 } } @@ -176500,15 +173838,15 @@ "postfix": false, "binop": null }, - "start": 24857, - "end": 24858, + "start": 24624, + "end": 24625, "loc": { "start": { - "line": 748, + "line": 744, "column": 54 }, "end": { - "line": 748, + "line": 744, "column": 55 } } @@ -176525,15 +173863,15 @@ "postfix": false, "binop": null }, - "start": 24858, - "end": 24859, + "start": 24625, + "end": 24626, "loc": { "start": { - "line": 748, + "line": 744, "column": 55 }, "end": { - "line": 748, + "line": 744, "column": 56 } } @@ -176551,15 +173889,15 @@ "binop": null, "updateContext": null }, - "start": 24860, - "end": 24862, + "start": 24627, + "end": 24629, "loc": { "start": { - "line": 748, + "line": 744, "column": 57 }, "end": { - "line": 748, + "line": 744, "column": 59 } } @@ -176576,15 +173914,15 @@ "postfix": false, "binop": null }, - "start": 24863, - "end": 24864, + "start": 24630, + "end": 24631, "loc": { "start": { - "line": 748, + "line": 744, "column": 60 }, "end": { - "line": 748, + "line": 744, "column": 61 } } @@ -176604,15 +173942,15 @@ "updateContext": null }, "value": "let", - "start": 24877, - "end": 24880, + "start": 24644, + "end": 24647, "loc": { "start": { - "line": 749, + "line": 745, "column": 12 }, "end": { - "line": 749, + "line": 745, "column": 15 } } @@ -176630,15 +173968,15 @@ "binop": null }, "value": "isFullscreen", - "start": 24881, - "end": 24893, + "start": 24648, + "end": 24660, "loc": { "start": { - "line": 749, + "line": 745, "column": 16 }, "end": { - "line": 749, + "line": 745, "column": 28 } } @@ -176657,15 +173995,15 @@ "updateContext": null }, "value": "=", - "start": 24894, - "end": 24895, + "start": 24661, + "end": 24662, "loc": { "start": { - "line": 749, + "line": 745, "column": 29 }, "end": { - "line": 749, + "line": 745, "column": 30 } } @@ -176685,15 +174023,15 @@ "updateContext": null }, "value": "this", - "start": 24896, - "end": 24900, + "start": 24663, + "end": 24667, "loc": { "start": { - "line": 749, + "line": 745, "column": 31 }, "end": { - "line": 749, + "line": 745, "column": 35 } } @@ -176711,15 +174049,15 @@ "binop": null, "updateContext": null }, - "start": 24900, - "end": 24901, + "start": 24667, + "end": 24668, "loc": { "start": { - "line": 749, + "line": 745, "column": 35 }, "end": { - "line": 749, + "line": 745, "column": 36 } } @@ -176737,15 +174075,15 @@ "binop": null }, "value": "player", - "start": 24901, - "end": 24907, + "start": 24668, + "end": 24674, "loc": { "start": { - "line": 749, + "line": 745, "column": 36 }, "end": { - "line": 749, + "line": 745, "column": 42 } } @@ -176763,15 +174101,15 @@ "binop": null, "updateContext": null }, - "start": 24907, - "end": 24908, + "start": 24674, + "end": 24675, "loc": { "start": { - "line": 749, + "line": 745, "column": 42 }, "end": { - "line": 749, + "line": 745, "column": 43 } } @@ -176789,15 +174127,15 @@ "binop": null }, "value": "isFullscreen", - "start": 24908, - "end": 24920, + "start": 24675, + "end": 24687, "loc": { "start": { - "line": 749, + "line": 745, "column": 43 }, "end": { - "line": 749, + "line": 745, "column": 55 } } @@ -176814,15 +174152,15 @@ "postfix": false, "binop": null }, - "start": 24920, - "end": 24921, + "start": 24687, + "end": 24688, "loc": { "start": { - "line": 749, + "line": 745, "column": 55 }, "end": { - "line": 749, + "line": 745, "column": 56 } } @@ -176839,15 +174177,15 @@ "postfix": false, "binop": null }, - "start": 24921, - "end": 24922, + "start": 24688, + "end": 24689, "loc": { "start": { - "line": 749, + "line": 745, "column": 56 }, "end": { - "line": 749, + "line": 745, "column": 57 } } @@ -176865,15 +174203,15 @@ "binop": null, "updateContext": null }, - "start": 24922, - "end": 24923, + "start": 24689, + "end": 24690, "loc": { "start": { - "line": 749, + "line": 745, "column": 57 }, "end": { - "line": 749, + "line": 745, "column": 58 } } @@ -176893,15 +174231,15 @@ "updateContext": null }, "value": "let", - "start": 24936, - "end": 24939, + "start": 24703, + "end": 24706, "loc": { "start": { - "line": 750, + "line": 746, "column": 12 }, "end": { - "line": 750, + "line": 746, "column": 15 } } @@ -176919,15 +174257,15 @@ "binop": null }, "value": "newWidth", - "start": 24940, - "end": 24948, + "start": 24707, + "end": 24715, "loc": { "start": { - "line": 750, + "line": 746, "column": 16 }, "end": { - "line": 750, + "line": 746, "column": 24 } } @@ -176945,15 +174283,15 @@ "binop": null, "updateContext": null }, - "start": 24948, - "end": 24949, + "start": 24715, + "end": 24716, "loc": { "start": { - "line": 750, + "line": 746, "column": 24 }, "end": { - "line": 750, + "line": 746, "column": 25 } } @@ -176971,15 +174309,15 @@ "binop": null }, "value": "newHeight", - "start": 24950, - "end": 24959, + "start": 24717, + "end": 24726, "loc": { "start": { - "line": 750, + "line": 746, "column": 26 }, "end": { - "line": 750, + "line": 746, "column": 35 } } @@ -176997,15 +174335,15 @@ "binop": null, "updateContext": null }, - "start": 24959, - "end": 24960, + "start": 24726, + "end": 24727, "loc": { "start": { - "line": 750, + "line": 746, "column": 35 }, "end": { - "line": 750, + "line": 746, "column": 36 } } @@ -177025,15 +174363,15 @@ "updateContext": null }, "value": "if", - "start": 24973, - "end": 24975, + "start": 24740, + "end": 24742, "loc": { "start": { - "line": 751, + "line": 747, "column": 12 }, "end": { - "line": 751, + "line": 747, "column": 14 } } @@ -177050,15 +174388,15 @@ "postfix": false, "binop": null }, - "start": 24976, - "end": 24977, + "start": 24743, + "end": 24744, "loc": { "start": { - "line": 751, + "line": 747, "column": 15 }, "end": { - "line": 751, + "line": 747, "column": 16 } } @@ -177077,15 +174415,15 @@ "updateContext": null }, "value": "!", - "start": 24977, - "end": 24978, + "start": 24744, + "end": 24745, "loc": { "start": { - "line": 751, + "line": 747, "column": 16 }, "end": { - "line": 751, + "line": 747, "column": 17 } } @@ -177103,15 +174441,15 @@ "binop": null }, "value": "isFullscreen", - "start": 24978, - "end": 24990, + "start": 24745, + "end": 24757, "loc": { "start": { - "line": 751, + "line": 747, "column": 17 }, "end": { - "line": 751, + "line": 747, "column": 29 } } @@ -177128,15 +174466,15 @@ "postfix": false, "binop": null }, - "start": 24990, - "end": 24991, + "start": 24757, + "end": 24758, "loc": { "start": { - "line": 751, + "line": 747, "column": 29 }, "end": { - "line": 751, + "line": 747, "column": 30 } } @@ -177153,15 +174491,15 @@ "postfix": false, "binop": null }, - "start": 24992, - "end": 24993, + "start": 24759, + "end": 24760, "loc": { "start": { - "line": 751, + "line": 747, "column": 31 }, "end": { - "line": 751, + "line": 747, "column": 32 } } @@ -177169,15 +174507,15 @@ { "type": "CommentLine", "value": " restore original dimensions", - "start": 25010, - "end": 25040, + "start": 24777, + "end": 24807, "loc": { "start": { - "line": 752, + "line": 748, "column": 16 }, "end": { - "line": 752, + "line": 748, "column": 46 } } @@ -177195,15 +174533,15 @@ "binop": null }, "value": "newWidth", - "start": 25057, - "end": 25065, + "start": 24824, + "end": 24832, "loc": { "start": { - "line": 753, + "line": 749, "column": 16 }, "end": { - "line": 753, + "line": 749, "column": 24 } } @@ -177222,15 +174560,15 @@ "updateContext": null }, "value": "=", - "start": 25066, - "end": 25067, + "start": 24833, + "end": 24834, "loc": { "start": { - "line": 753, + "line": 749, "column": 25 }, "end": { - "line": 753, + "line": 749, "column": 26 } } @@ -177250,15 +174588,15 @@ "updateContext": null }, "value": "this", - "start": 25068, - "end": 25072, + "start": 24835, + "end": 24839, "loc": { "start": { - "line": 753, + "line": 749, "column": 27 }, "end": { - "line": 753, + "line": 749, "column": 31 } } @@ -177276,15 +174614,15 @@ "binop": null, "updateContext": null }, - "start": 25072, - "end": 25073, + "start": 24839, + "end": 24840, "loc": { "start": { - "line": 753, + "line": 749, "column": 31 }, "end": { - "line": 753, + "line": 749, "column": 32 } } @@ -177302,15 +174640,15 @@ "binop": null }, "value": "originalWidth", - "start": 25073, - "end": 25086, + "start": 24840, + "end": 24853, "loc": { "start": { - "line": 753, + "line": 749, "column": 32 }, "end": { - "line": 753, + "line": 749, "column": 45 } } @@ -177328,15 +174666,15 @@ "binop": null, "updateContext": null }, - "start": 25086, - "end": 25087, + "start": 24853, + "end": 24854, "loc": { "start": { - "line": 753, + "line": 749, "column": 45 }, "end": { - "line": 753, + "line": 749, "column": 46 } } @@ -177354,15 +174692,15 @@ "binop": null }, "value": "newHeight", - "start": 25104, - "end": 25113, + "start": 24871, + "end": 24880, "loc": { "start": { - "line": 754, + "line": 750, "column": 16 }, "end": { - "line": 754, + "line": 750, "column": 25 } } @@ -177381,15 +174719,15 @@ "updateContext": null }, "value": "=", - "start": 25114, - "end": 25115, + "start": 24881, + "end": 24882, "loc": { "start": { - "line": 754, + "line": 750, "column": 26 }, "end": { - "line": 754, + "line": 750, "column": 27 } } @@ -177409,15 +174747,15 @@ "updateContext": null }, "value": "this", - "start": 25116, - "end": 25120, + "start": 24883, + "end": 24887, "loc": { "start": { - "line": 754, + "line": 750, "column": 28 }, "end": { - "line": 754, + "line": 750, "column": 32 } } @@ -177435,15 +174773,15 @@ "binop": null, "updateContext": null }, - "start": 25120, - "end": 25121, + "start": 24887, + "end": 24888, "loc": { "start": { - "line": 754, + "line": 750, "column": 32 }, "end": { - "line": 754, + "line": 750, "column": 33 } } @@ -177461,15 +174799,15 @@ "binop": null }, "value": "originalHeight", - "start": 25121, - "end": 25135, + "start": 24888, + "end": 24902, "loc": { "start": { - "line": 754, + "line": 750, "column": 33 }, "end": { - "line": 754, + "line": 750, "column": 47 } } @@ -177487,15 +174825,15 @@ "binop": null, "updateContext": null }, - "start": 25135, - "end": 25136, + "start": 24902, + "end": 24903, "loc": { "start": { - "line": 754, + "line": 750, "column": 47 }, "end": { - "line": 754, + "line": 750, "column": 48 } } @@ -177512,15 +174850,15 @@ "postfix": false, "binop": null }, - "start": 25149, - "end": 25150, + "start": 24916, + "end": 24917, "loc": { "start": { - "line": 755, + "line": 751, "column": 12 }, "end": { - "line": 755, + "line": 751, "column": 13 } } @@ -177540,15 +174878,15 @@ "updateContext": null }, "value": "if", - "start": 25164, - "end": 25166, + "start": 24931, + "end": 24933, "loc": { "start": { - "line": 757, + "line": 753, "column": 12 }, "end": { - "line": 757, + "line": 753, "column": 14 } } @@ -177565,15 +174903,15 @@ "postfix": false, "binop": null }, - "start": 25167, - "end": 25168, + "start": 24934, + "end": 24935, "loc": { "start": { - "line": 757, + "line": 753, "column": 15 }, "end": { - "line": 757, + "line": 753, "column": 16 } } @@ -177593,15 +174931,15 @@ "updateContext": null }, "value": "this", - "start": 25168, - "end": 25172, + "start": 24935, + "end": 24939, "loc": { "start": { - "line": 757, + "line": 753, "column": 16 }, "end": { - "line": 757, + "line": 753, "column": 20 } } @@ -177619,15 +174957,15 @@ "binop": null, "updateContext": null }, - "start": 25172, - "end": 25173, + "start": 24939, + "end": 24940, "loc": { "start": { - "line": 757, + "line": 753, "column": 20 }, "end": { - "line": 757, + "line": 753, "column": 21 } } @@ -177645,15 +174983,15 @@ "binop": null }, "value": "waveReady", - "start": 25173, - "end": 25182, + "start": 24940, + "end": 24949, "loc": { "start": { - "line": 757, + "line": 753, "column": 21 }, "end": { - "line": 757, + "line": 753, "column": 30 } } @@ -177670,15 +175008,15 @@ "postfix": false, "binop": null }, - "start": 25182, - "end": 25183, + "start": 24949, + "end": 24950, "loc": { "start": { - "line": 757, + "line": 753, "column": 30 }, "end": { - "line": 757, + "line": 753, "column": 31 } } @@ -177695,15 +175033,15 @@ "postfix": false, "binop": null }, - "start": 25184, - "end": 25185, + "start": 24951, + "end": 24952, "loc": { "start": { - "line": 757, + "line": 753, "column": 32 }, "end": { - "line": 757, + "line": 753, "column": 33 } } @@ -177723,15 +175061,15 @@ "updateContext": null }, "value": "if", - "start": 25202, - "end": 25204, + "start": 24969, + "end": 24971, "loc": { "start": { - "line": 758, + "line": 754, "column": 16 }, "end": { - "line": 758, + "line": 754, "column": 18 } } @@ -177748,15 +175086,15 @@ "postfix": false, "binop": null }, - "start": 25205, - "end": 25206, + "start": 24972, + "end": 24973, "loc": { "start": { - "line": 758, + "line": 754, "column": 19 }, "end": { - "line": 758, + "line": 754, "column": 20 } } @@ -177776,15 +175114,15 @@ "updateContext": null }, "value": "this", - "start": 25206, - "end": 25210, + "start": 24973, + "end": 24977, "loc": { "start": { - "line": 758, + "line": 754, "column": 20 }, "end": { - "line": 758, + "line": 754, "column": 24 } } @@ -177802,15 +175140,15 @@ "binop": null, "updateContext": null }, - "start": 25210, - "end": 25211, + "start": 24977, + "end": 24978, "loc": { "start": { - "line": 758, + "line": 754, "column": 24 }, "end": { - "line": 758, + "line": 754, "column": 25 } } @@ -177828,15 +175166,15 @@ "binop": null }, "value": "liveMode", - "start": 25211, - "end": 25219, + "start": 24978, + "end": 24986, "loc": { "start": { - "line": 758, + "line": 754, "column": 25 }, "end": { - "line": 758, + "line": 754, "column": 33 } } @@ -177855,15 +175193,15 @@ "updateContext": null }, "value": "&&", - "start": 25220, - "end": 25222, + "start": 24987, + "end": 24989, "loc": { "start": { - "line": 758, + "line": 754, "column": 34 }, "end": { - "line": 758, + "line": 754, "column": 36 } } @@ -177882,15 +175220,15 @@ "updateContext": null }, "value": "!", - "start": 25223, - "end": 25224, + "start": 24990, + "end": 24991, "loc": { "start": { - "line": 758, + "line": 754, "column": 37 }, "end": { - "line": 758, + "line": 754, "column": 38 } } @@ -177910,15 +175248,15 @@ "updateContext": null }, "value": "this", - "start": 25224, - "end": 25228, + "start": 24991, + "end": 24995, "loc": { "start": { - "line": 758, + "line": 754, "column": 38 }, "end": { - "line": 758, + "line": 754, "column": 42 } } @@ -177936,15 +175274,15 @@ "binop": null, "updateContext": null }, - "start": 25228, - "end": 25229, + "start": 24995, + "end": 24996, "loc": { "start": { - "line": 758, + "line": 754, "column": 42 }, "end": { - "line": 758, + "line": 754, "column": 43 } } @@ -177962,15 +175300,15 @@ "binop": null }, "value": "surfer", - "start": 25229, - "end": 25235, + "start": 24996, + "end": 25002, "loc": { "start": { - "line": 758, + "line": 754, "column": 43 }, "end": { - "line": 758, + "line": 754, "column": 49 } } @@ -177988,15 +175326,15 @@ "binop": null, "updateContext": null }, - "start": 25235, - "end": 25236, + "start": 25002, + "end": 25003, "loc": { "start": { - "line": 758, + "line": 754, "column": 49 }, "end": { - "line": 758, + "line": 754, "column": 50 } } @@ -178014,15 +175352,15 @@ "binop": null }, "value": "microphone", - "start": 25236, - "end": 25246, + "start": 25003, + "end": 25013, "loc": { "start": { - "line": 758, + "line": 754, "column": 50 }, "end": { - "line": 758, + "line": 754, "column": 60 } } @@ -178040,15 +175378,15 @@ "binop": null, "updateContext": null }, - "start": 25246, - "end": 25247, + "start": 25013, + "end": 25014, "loc": { "start": { - "line": 758, + "line": 754, "column": 60 }, "end": { - "line": 758, + "line": 754, "column": 61 } } @@ -178066,15 +175404,15 @@ "binop": null }, "value": "active", - "start": 25247, - "end": 25253, + "start": 25014, + "end": 25020, "loc": { "start": { - "line": 758, + "line": 754, "column": 61 }, "end": { - "line": 758, + "line": 754, "column": 67 } } @@ -178091,15 +175429,15 @@ "postfix": false, "binop": null }, - "start": 25253, - "end": 25254, + "start": 25020, + "end": 25021, "loc": { "start": { - "line": 758, + "line": 754, "column": 67 }, "end": { - "line": 758, + "line": 754, "column": 68 } } @@ -178116,15 +175454,15 @@ "postfix": false, "binop": null }, - "start": 25255, - "end": 25256, + "start": 25022, + "end": 25023, "loc": { "start": { - "line": 758, + "line": 754, "column": 69 }, "end": { - "line": 758, + "line": 754, "column": 70 } } @@ -178132,15 +175470,15 @@ { "type": "CommentLine", "value": " we're in live mode but the microphone hasn't been", - "start": 25277, - "end": 25329, + "start": 25044, + "end": 25096, "loc": { "start": { - "line": 759, + "line": 755, "column": 20 }, "end": { - "line": 759, + "line": 755, "column": 72 } } @@ -178148,15 +175486,15 @@ { "type": "CommentLine", "value": " started yet", - "start": 25350, - "end": 25364, + "start": 25117, + "end": 25131, "loc": { "start": { - "line": 760, + "line": 756, "column": 20 }, "end": { - "line": 760, + "line": 756, "column": 34 } } @@ -178176,15 +175514,15 @@ "updateContext": null }, "value": "return", - "start": 25385, - "end": 25391, + "start": 25152, + "end": 25158, "loc": { "start": { - "line": 761, + "line": 757, "column": 20 }, "end": { - "line": 761, + "line": 757, "column": 26 } } @@ -178202,15 +175540,15 @@ "binop": null, "updateContext": null }, - "start": 25391, - "end": 25392, + "start": 25158, + "end": 25159, "loc": { "start": { - "line": 761, + "line": 757, "column": 26 }, "end": { - "line": 761, + "line": 757, "column": 27 } } @@ -178227,15 +175565,15 @@ "postfix": false, "binop": null }, - "start": 25409, - "end": 25410, + "start": 25176, + "end": 25177, "loc": { "start": { - "line": 762, + "line": 758, "column": 16 }, "end": { - "line": 762, + "line": 758, "column": 17 } } @@ -178243,15 +175581,15 @@ { "type": "CommentLine", "value": " redraw", - "start": 25427, - "end": 25436, + "start": 25194, + "end": 25203, "loc": { "start": { - "line": 763, + "line": 759, "column": 16 }, "end": { - "line": 763, + "line": 759, "column": 25 } } @@ -178271,15 +175609,15 @@ "updateContext": null }, "value": "this", - "start": 25453, - "end": 25457, + "start": 25220, + "end": 25224, "loc": { "start": { - "line": 764, + "line": 760, "column": 16 }, "end": { - "line": 764, + "line": 760, "column": 20 } } @@ -178297,15 +175635,15 @@ "binop": null, "updateContext": null }, - "start": 25457, - "end": 25458, + "start": 25224, + "end": 25225, "loc": { "start": { - "line": 764, + "line": 760, "column": 20 }, "end": { - "line": 764, + "line": 760, "column": 21 } } @@ -178323,15 +175661,15 @@ "binop": null }, "value": "redrawWaveform", - "start": 25458, - "end": 25472, + "start": 25225, + "end": 25239, "loc": { "start": { - "line": 764, + "line": 760, "column": 21 }, "end": { - "line": 764, + "line": 760, "column": 35 } } @@ -178348,15 +175686,15 @@ "postfix": false, "binop": null }, - "start": 25472, - "end": 25473, + "start": 25239, + "end": 25240, "loc": { "start": { - "line": 764, + "line": 760, "column": 35 }, "end": { - "line": 764, + "line": 760, "column": 36 } } @@ -178374,15 +175712,15 @@ "binop": null }, "value": "newWidth", - "start": 25473, - "end": 25481, + "start": 25240, + "end": 25248, "loc": { "start": { - "line": 764, + "line": 760, "column": 36 }, "end": { - "line": 764, + "line": 760, "column": 44 } } @@ -178400,15 +175738,15 @@ "binop": null, "updateContext": null }, - "start": 25481, - "end": 25482, + "start": 25248, + "end": 25249, "loc": { "start": { - "line": 764, + "line": 760, "column": 44 }, "end": { - "line": 764, + "line": 760, "column": 45 } } @@ -178426,15 +175764,15 @@ "binop": null }, "value": "newHeight", - "start": 25483, - "end": 25492, + "start": 25250, + "end": 25259, "loc": { "start": { - "line": 764, + "line": 760, "column": 46 }, "end": { - "line": 764, + "line": 760, "column": 55 } } @@ -178451,15 +175789,15 @@ "postfix": false, "binop": null }, - "start": 25492, - "end": 25493, + "start": 25259, + "end": 25260, "loc": { "start": { - "line": 764, + "line": 760, "column": 55 }, "end": { - "line": 764, + "line": 760, "column": 56 } } @@ -178477,15 +175815,15 @@ "binop": null, "updateContext": null }, - "start": 25493, - "end": 25494, + "start": 25260, + "end": 25261, "loc": { "start": { - "line": 764, + "line": 760, "column": 56 }, "end": { - "line": 764, + "line": 760, "column": 57 } } @@ -178502,15 +175840,15 @@ "postfix": false, "binop": null }, - "start": 25507, - "end": 25508, + "start": 25274, + "end": 25275, "loc": { "start": { - "line": 765, + "line": 761, "column": 12 }, "end": { - "line": 765, + "line": 761, "column": 13 } } @@ -178518,15 +175856,15 @@ { "type": "CommentLine", "value": " stop fullscreenDelay interval", - "start": 25522, - "end": 25554, + "start": 25289, + "end": 25321, "loc": { "start": { - "line": 767, + "line": 763, "column": 12 }, "end": { - "line": 767, + "line": 763, "column": 44 } } @@ -178546,15 +175884,15 @@ "updateContext": null }, "value": "this", - "start": 25567, - "end": 25571, + "start": 25334, + "end": 25338, "loc": { "start": { - "line": 768, + "line": 764, "column": 12 }, "end": { - "line": 768, + "line": 764, "column": 16 } } @@ -178572,15 +175910,15 @@ "binop": null, "updateContext": null }, - "start": 25571, - "end": 25572, + "start": 25338, + "end": 25339, "loc": { "start": { - "line": 768, + "line": 764, "column": 16 }, "end": { - "line": 768, + "line": 764, "column": 17 } } @@ -178598,15 +175936,15 @@ "binop": null }, "value": "player", - "start": 25572, - "end": 25578, + "start": 25339, + "end": 25345, "loc": { "start": { - "line": 768, + "line": 764, "column": 17 }, "end": { - "line": 768, + "line": 764, "column": 23 } } @@ -178624,15 +175962,15 @@ "binop": null, "updateContext": null }, - "start": 25578, - "end": 25579, + "start": 25345, + "end": 25346, "loc": { "start": { - "line": 768, + "line": 764, "column": 23 }, "end": { - "line": 768, + "line": 764, "column": 24 } } @@ -178650,15 +175988,15 @@ "binop": null }, "value": "clearInterval", - "start": 25579, - "end": 25592, + "start": 25346, + "end": 25359, "loc": { "start": { - "line": 768, + "line": 764, "column": 24 }, "end": { - "line": 768, + "line": 764, "column": 37 } } @@ -178675,15 +176013,15 @@ "postfix": false, "binop": null }, - "start": 25592, - "end": 25593, + "start": 25359, + "end": 25360, "loc": { "start": { - "line": 768, + "line": 764, "column": 37 }, "end": { - "line": 768, + "line": 764, "column": 38 } } @@ -178701,15 +176039,15 @@ "binop": null }, "value": "fullscreenDelay", - "start": 25593, - "end": 25608, + "start": 25360, + "end": 25375, "loc": { "start": { - "line": 768, + "line": 764, "column": 38 }, "end": { - "line": 768, + "line": 764, "column": 53 } } @@ -178726,15 +176064,15 @@ "postfix": false, "binop": null }, - "start": 25608, - "end": 25609, + "start": 25375, + "end": 25376, "loc": { "start": { - "line": 768, + "line": 764, "column": 53 }, "end": { - "line": 768, + "line": 764, "column": 54 } } @@ -178752,15 +176090,15 @@ "binop": null, "updateContext": null }, - "start": 25609, - "end": 25610, + "start": 25376, + "end": 25377, "loc": { "start": { - "line": 768, + "line": 764, "column": 54 }, "end": { - "line": 768, + "line": 764, "column": 55 } } @@ -178777,15 +176115,15 @@ "postfix": false, "binop": null }, - "start": 25620, - "end": 25621, + "start": 25387, + "end": 25388, "loc": { "start": { - "line": 770, + "line": 766, "column": 8 }, "end": { - "line": 770, + "line": 766, "column": 9 } } @@ -178803,15 +176141,15 @@ "binop": null, "updateContext": null }, - "start": 25621, - "end": 25622, + "start": 25388, + "end": 25389, "loc": { "start": { - "line": 770, + "line": 766, "column": 9 }, "end": { - "line": 770, + "line": 766, "column": 10 } } @@ -178830,15 +176168,15 @@ "updateContext": null }, "value": 100, - "start": 25623, - "end": 25626, + "start": 25390, + "end": 25393, "loc": { "start": { - "line": 770, + "line": 766, "column": 11 }, "end": { - "line": 770, + "line": 766, "column": 14 } } @@ -178855,15 +176193,15 @@ "postfix": false, "binop": null }, - "start": 25626, - "end": 25627, + "start": 25393, + "end": 25394, "loc": { "start": { - "line": 770, + "line": 766, "column": 14 }, "end": { - "line": 770, + "line": 766, "column": 15 } } @@ -178881,566 +176219,16 @@ "binop": null, "updateContext": null }, - "start": 25627, - "end": 25628, + "start": 25394, + "end": 25395, "loc": { "start": { - "line": 770, + "line": 766, "column": 15 }, "end": { - "line": 770, - "column": 16 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 25633, - "end": 25634, - "loc": { - "start": { - "line": 771, - "column": 4 - }, - "end": { - "line": 771, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Fired when the video.js player is resized.\n *\n * @private\n ", - "start": 25640, - "end": 25724, - "loc": { - "start": { - "line": 773, - "column": 4 - }, - "end": { - "line": 777, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onResizeChange", - "start": 25729, - "end": 25743, - "loc": { - "start": { - "line": 778, - "column": 4 - }, - "end": { - "line": 778, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 25743, - "end": 25744, - "loc": { - "start": { - "line": 778, - "column": 18 - }, - "end": { - "line": 778, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 25744, - "end": 25745, - "loc": { - "start": { - "line": 778, - "column": 19 - }, - "end": { - "line": 778, - "column": 20 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 25746, - "end": 25747, - "loc": { - "start": { - "line": 778, - "column": 21 - }, - "end": { - "line": 778, - "column": 22 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 25756, - "end": 25758, - "loc": { - "start": { - "line": 779, - "column": 8 - }, - "end": { - "line": 779, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 25759, - "end": 25760, - "loc": { - "start": { - "line": 779, - "column": 11 - }, - "end": { - "line": 779, - "column": 12 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 25760, - "end": 25764, - "loc": { - "start": { - "line": 779, - "column": 12 - }, - "end": { - "line": 779, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 25764, - "end": 25765, - "loc": { - "start": { - "line": 779, - "column": 16 - }, - "end": { - "line": 779, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "surfer", - "start": 25765, - "end": 25771, - "loc": { - "start": { - "line": 779, - "column": 17 - }, - "end": { - "line": 779, - "column": 23 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "!==", - "start": 25772, - "end": 25775, - "loc": { - "start": { - "line": 779, - "column": 24 - }, - "end": { - "line": 779, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "undefined", - "start": 25776, - "end": 25785, - "loc": { - "start": { - "line": 779, - "column": 28 - }, - "end": { - "line": 779, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 25785, - "end": 25786, - "loc": { - "start": { - "line": 779, - "column": 37 - }, - "end": { - "line": 779, - "column": 38 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 25787, - "end": 25788, - "loc": { - "start": { - "line": 779, - "column": 39 - }, - "end": { - "line": 779, - "column": 40 - } - } - }, - { - "type": "CommentLine", - "value": " redraw waveform", - "start": 25801, - "end": 25819, - "loc": { - "start": { - "line": 780, - "column": 12 - }, - "end": { - "line": 780, - "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": 25832, - "end": 25836, - "loc": { - "start": { - "line": 781, - "column": 12 - }, - "end": { - "line": 781, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 25836, - "end": 25837, - "loc": { - "start": { - "line": 781, + "line": 766, "column": 16 - }, - "end": { - "line": 781, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "redrawWaveform", - "start": 25837, - "end": 25851, - "loc": { - "start": { - "line": 781, - "column": 17 - }, - "end": { - "line": 781, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 25851, - "end": 25852, - "loc": { - "start": { - "line": 781, - "column": 31 - }, - "end": { - "line": 781, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 25852, - "end": 25853, - "loc": { - "start": { - "line": 781, - "column": 32 - }, - "end": { - "line": 781, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 25853, - "end": 25854, - "loc": { - "start": { - "line": 781, - "column": 33 - }, - "end": { - "line": 781, - "column": 34 } } }, @@ -179456,40 +176244,15 @@ "postfix": false, "binop": null }, - "start": 25863, - "end": 25864, + "start": 25400, + "end": 25401, "loc": { "start": { - "line": 782, - "column": 8 - }, - "end": { - "line": 782, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 25869, - "end": 25870, - "loc": { - "start": { - "line": 783, + "line": 767, "column": 4 }, "end": { - "line": 783, + "line": 767, "column": 5 } } @@ -179497,15 +176260,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": 25876, - "end": 26064, + "start": 25407, + "end": 25595, "loc": { "start": { - "line": 785, + "line": 769, "column": 4 }, "end": { - "line": 791, + "line": 775, "column": 7 } } @@ -179523,15 +176286,15 @@ "binop": null }, "value": "redrawWaveform", - "start": 26069, - "end": 26083, + "start": 25600, + "end": 25614, "loc": { "start": { - "line": 792, + "line": 776, "column": 4 }, "end": { - "line": 792, + "line": 776, "column": 18 } } @@ -179548,15 +176311,15 @@ "postfix": false, "binop": null }, - "start": 26083, - "end": 26084, + "start": 25614, + "end": 25615, "loc": { "start": { - "line": 792, + "line": 776, "column": 18 }, "end": { - "line": 792, + "line": 776, "column": 19 } } @@ -179574,15 +176337,15 @@ "binop": null }, "value": "newWidth", - "start": 26084, - "end": 26092, + "start": 25615, + "end": 25623, "loc": { "start": { - "line": 792, + "line": 776, "column": 19 }, "end": { - "line": 792, + "line": 776, "column": 27 } } @@ -179600,15 +176363,15 @@ "binop": null, "updateContext": null }, - "start": 26092, - "end": 26093, + "start": 25623, + "end": 25624, "loc": { "start": { - "line": 792, + "line": 776, "column": 27 }, "end": { - "line": 792, + "line": 776, "column": 28 } } @@ -179626,15 +176389,15 @@ "binop": null }, "value": "newHeight", - "start": 26094, - "end": 26103, + "start": 25625, + "end": 25634, "loc": { "start": { - "line": 792, + "line": 776, "column": 29 }, "end": { - "line": 792, + "line": 776, "column": 38 } } @@ -179651,15 +176414,15 @@ "postfix": false, "binop": null }, - "start": 26103, - "end": 26104, + "start": 25634, + "end": 25635, "loc": { "start": { - "line": 792, + "line": 776, "column": 38 }, "end": { - "line": 792, + "line": 776, "column": 39 } } @@ -179676,15 +176439,15 @@ "postfix": false, "binop": null }, - "start": 26105, - "end": 26106, + "start": 25636, + "end": 25637, "loc": { "start": { - "line": 792, + "line": 776, "column": 40 }, "end": { - "line": 792, + "line": 776, "column": 41 } } @@ -179704,15 +176467,15 @@ "updateContext": null }, "value": "if", - "start": 26115, - "end": 26117, + "start": 25646, + "end": 25648, "loc": { "start": { - "line": 793, + "line": 777, "column": 8 }, "end": { - "line": 793, + "line": 777, "column": 10 } } @@ -179729,15 +176492,15 @@ "postfix": false, "binop": null }, - "start": 26118, - "end": 26119, + "start": 25649, + "end": 25650, "loc": { "start": { - "line": 793, + "line": 777, "column": 11 }, "end": { - "line": 793, + "line": 777, "column": 12 } } @@ -179756,15 +176519,15 @@ "updateContext": null }, "value": "!", - "start": 26119, - "end": 26120, + "start": 25650, + "end": 25651, "loc": { "start": { - "line": 793, + "line": 777, "column": 12 }, "end": { - "line": 793, + "line": 777, "column": 13 } } @@ -179784,15 +176547,15 @@ "updateContext": null }, "value": "this", - "start": 26120, - "end": 26124, + "start": 25651, + "end": 25655, "loc": { "start": { - "line": 793, + "line": 777, "column": 13 }, "end": { - "line": 793, + "line": 777, "column": 17 } } @@ -179810,15 +176573,15 @@ "binop": null, "updateContext": null }, - "start": 26124, - "end": 26125, + "start": 25655, + "end": 25656, "loc": { "start": { - "line": 793, + "line": 777, "column": 17 }, "end": { - "line": 793, + "line": 777, "column": 18 } } @@ -179836,15 +176599,15 @@ "binop": null }, "value": "isDestroyed", - "start": 26125, - "end": 26136, + "start": 25656, + "end": 25667, "loc": { "start": { - "line": 793, + "line": 777, "column": 18 }, "end": { - "line": 793, + "line": 777, "column": 29 } } @@ -179861,15 +176624,15 @@ "postfix": false, "binop": null }, - "start": 26136, - "end": 26137, + "start": 25667, + "end": 25668, "loc": { "start": { - "line": 793, + "line": 777, "column": 29 }, "end": { - "line": 793, + "line": 777, "column": 30 } } @@ -179886,15 +176649,15 @@ "postfix": false, "binop": null }, - "start": 26137, - "end": 26138, + "start": 25668, + "end": 25669, "loc": { "start": { - "line": 793, + "line": 777, "column": 30 }, "end": { - "line": 793, + "line": 777, "column": 31 } } @@ -179911,15 +176674,15 @@ "postfix": false, "binop": null }, - "start": 26138, - "end": 26139, + "start": 25669, + "end": 25670, "loc": { "start": { - "line": 793, + "line": 777, "column": 31 }, "end": { - "line": 793, + "line": 777, "column": 32 } } @@ -179936,15 +176699,15 @@ "postfix": false, "binop": null }, - "start": 26140, - "end": 26141, + "start": 25671, + "end": 25672, "loc": { "start": { - "line": 793, + "line": 777, "column": 33 }, "end": { - "line": 793, + "line": 777, "column": 34 } } @@ -179964,15 +176727,15 @@ "updateContext": null }, "value": "if", - "start": 26154, - "end": 26156, + "start": 25685, + "end": 25687, "loc": { "start": { - "line": 794, + "line": 778, "column": 12 }, "end": { - "line": 794, + "line": 778, "column": 14 } } @@ -179989,15 +176752,15 @@ "postfix": false, "binop": null }, - "start": 26157, - "end": 26158, + "start": 25688, + "end": 25689, "loc": { "start": { - "line": 794, + "line": 778, "column": 15 }, "end": { - "line": 794, + "line": 778, "column": 16 } } @@ -180017,15 +176780,15 @@ "updateContext": null }, "value": "this", - "start": 26158, - "end": 26162, + "start": 25689, + "end": 25693, "loc": { "start": { - "line": 794, + "line": 778, "column": 16 }, "end": { - "line": 794, + "line": 778, "column": 20 } } @@ -180043,15 +176806,15 @@ "binop": null, "updateContext": null }, - "start": 26162, - "end": 26163, + "start": 25693, + "end": 25694, "loc": { "start": { - "line": 794, + "line": 778, "column": 20 }, "end": { - "line": 794, + "line": 778, "column": 21 } } @@ -180069,15 +176832,15 @@ "binop": null }, "value": "player", - "start": 26163, - "end": 26169, + "start": 25694, + "end": 25700, "loc": { "start": { - "line": 794, + "line": 778, "column": 21 }, "end": { - "line": 794, + "line": 778, "column": 27 } } @@ -180095,15 +176858,15 @@ "binop": null, "updateContext": null }, - "start": 26169, - "end": 26170, + "start": 25700, + "end": 25701, "loc": { "start": { - "line": 794, + "line": 778, "column": 27 }, "end": { - "line": 794, + "line": 778, "column": 28 } } @@ -180121,15 +176884,15 @@ "binop": null }, "value": "el_", - "start": 26170, - "end": 26173, + "start": 25701, + "end": 25704, "loc": { "start": { - "line": 794, + "line": 778, "column": 28 }, "end": { - "line": 794, + "line": 778, "column": 31 } } @@ -180146,15 +176909,15 @@ "postfix": false, "binop": null }, - "start": 26173, - "end": 26174, + "start": 25704, + "end": 25705, "loc": { "start": { - "line": 794, + "line": 778, "column": 31 }, "end": { - "line": 794, + "line": 778, "column": 32 } } @@ -180171,15 +176934,15 @@ "postfix": false, "binop": null }, - "start": 26175, - "end": 26176, + "start": 25706, + "end": 25707, "loc": { "start": { - "line": 794, + "line": 778, "column": 33 }, "end": { - "line": 794, + "line": 778, "column": 34 } } @@ -180199,15 +176962,15 @@ "updateContext": null }, "value": "let", - "start": 26193, - "end": 26196, + "start": 25724, + "end": 25727, "loc": { "start": { - "line": 795, + "line": 779, "column": 16 }, "end": { - "line": 795, + "line": 779, "column": 19 } } @@ -180225,15 +176988,15 @@ "binop": null }, "value": "rect", - "start": 26197, - "end": 26201, + "start": 25728, + "end": 25732, "loc": { "start": { - "line": 795, + "line": 779, "column": 20 }, "end": { - "line": 795, + "line": 779, "column": 24 } } @@ -180252,15 +177015,15 @@ "updateContext": null }, "value": "=", - "start": 26202, - "end": 26203, + "start": 25733, + "end": 25734, "loc": { "start": { - "line": 795, + "line": 779, "column": 25 }, "end": { - "line": 795, + "line": 779, "column": 26 } } @@ -180280,15 +177043,15 @@ "updateContext": null }, "value": "this", - "start": 26204, - "end": 26208, + "start": 25735, + "end": 25739, "loc": { "start": { - "line": 795, + "line": 779, "column": 27 }, "end": { - "line": 795, + "line": 779, "column": 31 } } @@ -180306,15 +177069,15 @@ "binop": null, "updateContext": null }, - "start": 26208, - "end": 26209, + "start": 25739, + "end": 25740, "loc": { "start": { - "line": 795, + "line": 779, "column": 31 }, "end": { - "line": 795, + "line": 779, "column": 32 } } @@ -180332,15 +177095,15 @@ "binop": null }, "value": "player", - "start": 26209, - "end": 26215, + "start": 25740, + "end": 25746, "loc": { "start": { - "line": 795, + "line": 779, "column": 32 }, "end": { - "line": 795, + "line": 779, "column": 38 } } @@ -180358,15 +177121,15 @@ "binop": null, "updateContext": null }, - "start": 26215, - "end": 26216, + "start": 25746, + "end": 25747, "loc": { "start": { - "line": 795, + "line": 779, "column": 38 }, "end": { - "line": 795, + "line": 779, "column": 39 } } @@ -180384,15 +177147,15 @@ "binop": null }, "value": "el_", - "start": 26216, - "end": 26219, + "start": 25747, + "end": 25750, "loc": { "start": { - "line": 795, + "line": 779, "column": 39 }, "end": { - "line": 795, + "line": 779, "column": 42 } } @@ -180410,15 +177173,15 @@ "binop": null, "updateContext": null }, - "start": 26219, - "end": 26220, + "start": 25750, + "end": 25751, "loc": { "start": { - "line": 795, + "line": 779, "column": 42 }, "end": { - "line": 795, + "line": 779, "column": 43 } } @@ -180436,15 +177199,15 @@ "binop": null }, "value": "getBoundingClientRect", - "start": 26220, - "end": 26241, + "start": 25751, + "end": 25772, "loc": { "start": { - "line": 795, + "line": 779, "column": 43 }, "end": { - "line": 795, + "line": 779, "column": 64 } } @@ -180461,15 +177224,15 @@ "postfix": false, "binop": null }, - "start": 26241, - "end": 26242, + "start": 25772, + "end": 25773, "loc": { "start": { - "line": 795, + "line": 779, "column": 64 }, "end": { - "line": 795, + "line": 779, "column": 65 } } @@ -180486,15 +177249,15 @@ "postfix": false, "binop": null }, - "start": 26242, - "end": 26243, + "start": 25773, + "end": 25774, "loc": { "start": { - "line": 795, + "line": 779, "column": 65 }, "end": { - "line": 795, + "line": 779, "column": 66 } } @@ -180512,15 +177275,15 @@ "binop": null, "updateContext": null }, - "start": 26243, - "end": 26244, + "start": 25774, + "end": 25775, "loc": { "start": { - "line": 795, + "line": 779, "column": 66 }, "end": { - "line": 795, + "line": 779, "column": 67 } } @@ -180540,15 +177303,15 @@ "updateContext": null }, "value": "if", - "start": 26261, - "end": 26263, + "start": 25792, + "end": 25794, "loc": { "start": { - "line": 796, + "line": 780, "column": 16 }, "end": { - "line": 796, + "line": 780, "column": 18 } } @@ -180565,15 +177328,15 @@ "postfix": false, "binop": null }, - "start": 26264, - "end": 26265, + "start": 25795, + "end": 25796, "loc": { "start": { - "line": 796, + "line": 780, "column": 19 }, "end": { - "line": 796, + "line": 780, "column": 20 } } @@ -180591,15 +177354,15 @@ "binop": null }, "value": "newWidth", - "start": 26265, - "end": 26273, + "start": 25796, + "end": 25804, "loc": { "start": { - "line": 796, + "line": 780, "column": 20 }, "end": { - "line": 796, + "line": 780, "column": 28 } } @@ -180618,15 +177381,15 @@ "updateContext": null }, "value": "===", - "start": 26274, - "end": 26277, + "start": 25805, + "end": 25808, "loc": { "start": { - "line": 796, + "line": 780, "column": 29 }, "end": { - "line": 796, + "line": 780, "column": 32 } } @@ -180644,15 +177407,15 @@ "binop": null }, "value": "undefined", - "start": 26278, - "end": 26287, + "start": 25809, + "end": 25818, "loc": { "start": { - "line": 796, + "line": 780, "column": 33 }, "end": { - "line": 796, + "line": 780, "column": 42 } } @@ -180669,15 +177432,15 @@ "postfix": false, "binop": null }, - "start": 26287, - "end": 26288, + "start": 25818, + "end": 25819, "loc": { "start": { - "line": 796, + "line": 780, "column": 42 }, "end": { - "line": 796, + "line": 780, "column": 43 } } @@ -180694,15 +177457,15 @@ "postfix": false, "binop": null }, - "start": 26289, - "end": 26290, + "start": 25820, + "end": 25821, "loc": { "start": { - "line": 796, + "line": 780, "column": 44 }, "end": { - "line": 796, + "line": 780, "column": 45 } } @@ -180710,15 +177473,15 @@ { "type": "CommentLine", "value": " get player width", - "start": 26311, - "end": 26330, + "start": 25842, + "end": 25861, "loc": { "start": { - "line": 797, + "line": 781, "column": 20 }, "end": { - "line": 797, + "line": 781, "column": 39 } } @@ -180736,15 +177499,15 @@ "binop": null }, "value": "newWidth", - "start": 26351, - "end": 26359, + "start": 25882, + "end": 25890, "loc": { "start": { - "line": 798, + "line": 782, "column": 20 }, "end": { - "line": 798, + "line": 782, "column": 28 } } @@ -180763,15 +177526,15 @@ "updateContext": null }, "value": "=", - "start": 26360, - "end": 26361, + "start": 25891, + "end": 25892, "loc": { "start": { - "line": 798, + "line": 782, "column": 29 }, "end": { - "line": 798, + "line": 782, "column": 30 } } @@ -180789,15 +177552,15 @@ "binop": null }, "value": "rect", - "start": 26362, - "end": 26366, + "start": 25893, + "end": 25897, "loc": { "start": { - "line": 798, + "line": 782, "column": 31 }, "end": { - "line": 798, + "line": 782, "column": 35 } } @@ -180815,15 +177578,15 @@ "binop": null, "updateContext": null }, - "start": 26366, - "end": 26367, + "start": 25897, + "end": 25898, "loc": { "start": { - "line": 798, + "line": 782, "column": 35 }, "end": { - "line": 798, + "line": 782, "column": 36 } } @@ -180841,15 +177604,15 @@ "binop": null }, "value": "width", - "start": 26367, - "end": 26372, + "start": 25898, + "end": 25903, "loc": { "start": { - "line": 798, + "line": 782, "column": 36 }, "end": { - "line": 798, + "line": 782, "column": 41 } } @@ -180867,15 +177630,15 @@ "binop": null, "updateContext": null }, - "start": 26372, - "end": 26373, + "start": 25903, + "end": 25904, "loc": { "start": { - "line": 798, + "line": 782, "column": 41 }, "end": { - "line": 798, + "line": 782, "column": 42 } } @@ -180892,15 +177655,15 @@ "postfix": false, "binop": null }, - "start": 26390, - "end": 26391, + "start": 25921, + "end": 25922, "loc": { "start": { - "line": 799, + "line": 783, "column": 16 }, "end": { - "line": 799, + "line": 783, "column": 17 } } @@ -180920,15 +177683,15 @@ "updateContext": null }, "value": "if", - "start": 26408, - "end": 26410, + "start": 25939, + "end": 25941, "loc": { "start": { - "line": 800, + "line": 784, "column": 16 }, "end": { - "line": 800, + "line": 784, "column": 18 } } @@ -180945,15 +177708,15 @@ "postfix": false, "binop": null }, - "start": 26411, - "end": 26412, + "start": 25942, + "end": 25943, "loc": { "start": { - "line": 800, + "line": 784, "column": 19 }, "end": { - "line": 800, + "line": 784, "column": 20 } } @@ -180971,15 +177734,15 @@ "binop": null }, "value": "newHeight", - "start": 26412, - "end": 26421, + "start": 25943, + "end": 25952, "loc": { "start": { - "line": 800, + "line": 784, "column": 20 }, "end": { - "line": 800, + "line": 784, "column": 29 } } @@ -180998,15 +177761,15 @@ "updateContext": null }, "value": "===", - "start": 26422, - "end": 26425, + "start": 25953, + "end": 25956, "loc": { "start": { - "line": 800, + "line": 784, "column": 30 }, "end": { - "line": 800, + "line": 784, "column": 33 } } @@ -181024,15 +177787,15 @@ "binop": null }, "value": "undefined", - "start": 26426, - "end": 26435, + "start": 25957, + "end": 25966, "loc": { "start": { - "line": 800, + "line": 784, "column": 34 }, "end": { - "line": 800, + "line": 784, "column": 43 } } @@ -181049,15 +177812,15 @@ "postfix": false, "binop": null }, - "start": 26435, - "end": 26436, + "start": 25966, + "end": 25967, "loc": { "start": { - "line": 800, + "line": 784, "column": 43 }, "end": { - "line": 800, + "line": 784, "column": 44 } } @@ -181074,15 +177837,15 @@ "postfix": false, "binop": null }, - "start": 26437, - "end": 26438, + "start": 25968, + "end": 25969, "loc": { "start": { - "line": 800, + "line": 784, "column": 45 }, "end": { - "line": 800, + "line": 784, "column": 46 } } @@ -181090,15 +177853,15 @@ { "type": "CommentLine", "value": " get player height", - "start": 26459, - "end": 26479, + "start": 25990, + "end": 26010, "loc": { "start": { - "line": 801, + "line": 785, "column": 20 }, "end": { - "line": 801, + "line": 785, "column": 40 } } @@ -181116,15 +177879,15 @@ "binop": null }, "value": "newHeight", - "start": 26500, - "end": 26509, + "start": 26031, + "end": 26040, "loc": { "start": { - "line": 802, + "line": 786, "column": 20 }, "end": { - "line": 802, + "line": 786, "column": 29 } } @@ -181143,15 +177906,15 @@ "updateContext": null }, "value": "=", - "start": 26510, - "end": 26511, + "start": 26041, + "end": 26042, "loc": { "start": { - "line": 802, + "line": 786, "column": 30 }, "end": { - "line": 802, + "line": 786, "column": 31 } } @@ -181169,15 +177932,15 @@ "binop": null }, "value": "rect", - "start": 26512, - "end": 26516, + "start": 26043, + "end": 26047, "loc": { "start": { - "line": 802, + "line": 786, "column": 32 }, "end": { - "line": 802, + "line": 786, "column": 36 } } @@ -181195,15 +177958,15 @@ "binop": null, "updateContext": null }, - "start": 26516, - "end": 26517, + "start": 26047, + "end": 26048, "loc": { "start": { - "line": 802, + "line": 786, "column": 36 }, "end": { - "line": 802, + "line": 786, "column": 37 } } @@ -181221,15 +177984,15 @@ "binop": null }, "value": "height", - "start": 26517, - "end": 26523, + "start": 26048, + "end": 26054, "loc": { "start": { - "line": 802, + "line": 786, "column": 37 }, "end": { - "line": 802, + "line": 786, "column": 43 } } @@ -181247,15 +178010,15 @@ "binop": null, "updateContext": null }, - "start": 26523, - "end": 26524, + "start": 26054, + "end": 26055, "loc": { "start": { - "line": 802, + "line": 786, "column": 43 }, "end": { - "line": 802, + "line": 786, "column": 44 } } @@ -181272,15 +178035,15 @@ "postfix": false, "binop": null }, - "start": 26541, - "end": 26542, + "start": 26072, + "end": 26073, "loc": { "start": { - "line": 803, + "line": 787, "column": 16 }, "end": { - "line": 803, + "line": 787, "column": 17 } } @@ -181297,15 +178060,15 @@ "postfix": false, "binop": null }, - "start": 26555, - "end": 26556, + "start": 26086, + "end": 26087, "loc": { "start": { - "line": 804, + "line": 788, "column": 12 }, "end": { - "line": 804, + "line": 788, "column": 13 } } @@ -181313,15 +178076,15 @@ { "type": "CommentLine", "value": " destroy old drawing", - "start": 26570, - "end": 26592, + "start": 26101, + "end": 26123, "loc": { "start": { - "line": 806, + "line": 790, "column": 12 }, "end": { - "line": 806, + "line": 790, "column": 34 } } @@ -181341,15 +178104,15 @@ "updateContext": null }, "value": "this", - "start": 26605, - "end": 26609, + "start": 26136, + "end": 26140, "loc": { "start": { - "line": 807, + "line": 791, "column": 12 }, "end": { - "line": 807, + "line": 791, "column": 16 } } @@ -181367,15 +178130,15 @@ "binop": null, "updateContext": null }, - "start": 26609, - "end": 26610, + "start": 26140, + "end": 26141, "loc": { "start": { - "line": 807, + "line": 791, "column": 16 }, "end": { - "line": 807, + "line": 791, "column": 17 } } @@ -181393,15 +178156,15 @@ "binop": null }, "value": "surfer", - "start": 26610, - "end": 26616, + "start": 26141, + "end": 26147, "loc": { "start": { - "line": 807, + "line": 791, "column": 17 }, "end": { - "line": 807, + "line": 791, "column": 23 } } @@ -181419,15 +178182,15 @@ "binop": null, "updateContext": null }, - "start": 26616, - "end": 26617, + "start": 26147, + "end": 26148, "loc": { "start": { - "line": 807, + "line": 791, "column": 23 }, "end": { - "line": 807, + "line": 791, "column": 24 } } @@ -181445,15 +178208,15 @@ "binop": null }, "value": "drawer", - "start": 26617, - "end": 26623, + "start": 26148, + "end": 26154, "loc": { "start": { - "line": 807, + "line": 791, "column": 24 }, "end": { - "line": 807, + "line": 791, "column": 30 } } @@ -181471,15 +178234,15 @@ "binop": null, "updateContext": null }, - "start": 26623, - "end": 26624, + "start": 26154, + "end": 26155, "loc": { "start": { - "line": 807, + "line": 791, "column": 30 }, "end": { - "line": 807, + "line": 791, "column": 31 } } @@ -181497,15 +178260,15 @@ "binop": null }, "value": "destroy", - "start": 26624, - "end": 26631, + "start": 26155, + "end": 26162, "loc": { "start": { - "line": 807, + "line": 791, "column": 31 }, "end": { - "line": 807, + "line": 791, "column": 38 } } @@ -181522,15 +178285,15 @@ "postfix": false, "binop": null }, - "start": 26631, - "end": 26632, + "start": 26162, + "end": 26163, "loc": { "start": { - "line": 807, + "line": 791, "column": 38 }, "end": { - "line": 807, + "line": 791, "column": 39 } } @@ -181547,15 +178310,15 @@ "postfix": false, "binop": null }, - "start": 26632, - "end": 26633, + "start": 26163, + "end": 26164, "loc": { "start": { - "line": 807, + "line": 791, "column": 39 }, "end": { - "line": 807, + "line": 791, "column": 40 } } @@ -181573,15 +178336,15 @@ "binop": null, "updateContext": null }, - "start": 26633, - "end": 26634, + "start": 26164, + "end": 26165, "loc": { "start": { - "line": 807, + "line": 791, "column": 40 }, "end": { - "line": 807, + "line": 791, "column": 41 } } @@ -181589,15 +178352,15 @@ { "type": "CommentLine", "value": " set new dimensions", - "start": 26648, - "end": 26669, + "start": 26179, + "end": 26200, "loc": { "start": { - "line": 809, + "line": 793, "column": 12 }, "end": { - "line": 809, + "line": 793, "column": 33 } } @@ -181617,15 +178380,15 @@ "updateContext": null }, "value": "this", - "start": 26682, - "end": 26686, + "start": 26213, + "end": 26217, "loc": { "start": { - "line": 810, + "line": 794, "column": 12 }, "end": { - "line": 810, + "line": 794, "column": 16 } } @@ -181643,15 +178406,15 @@ "binop": null, "updateContext": null }, - "start": 26686, - "end": 26687, + "start": 26217, + "end": 26218, "loc": { "start": { - "line": 810, + "line": 794, "column": 16 }, "end": { - "line": 810, + "line": 794, "column": 17 } } @@ -181669,15 +178432,15 @@ "binop": null }, "value": "surfer", - "start": 26687, - "end": 26693, + "start": 26218, + "end": 26224, "loc": { "start": { - "line": 810, + "line": 794, "column": 17 }, "end": { - "line": 810, + "line": 794, "column": 23 } } @@ -181695,15 +178458,15 @@ "binop": null, "updateContext": null }, - "start": 26693, - "end": 26694, + "start": 26224, + "end": 26225, "loc": { "start": { - "line": 810, + "line": 794, "column": 23 }, "end": { - "line": 810, + "line": 794, "column": 24 } } @@ -181721,15 +178484,15 @@ "binop": null }, "value": "params", - "start": 26694, - "end": 26700, + "start": 26225, + "end": 26231, "loc": { "start": { - "line": 810, + "line": 794, "column": 24 }, "end": { - "line": 810, + "line": 794, "column": 30 } } @@ -181747,15 +178510,15 @@ "binop": null, "updateContext": null }, - "start": 26700, - "end": 26701, + "start": 26231, + "end": 26232, "loc": { "start": { - "line": 810, + "line": 794, "column": 30 }, "end": { - "line": 810, + "line": 794, "column": 31 } } @@ -181773,15 +178536,15 @@ "binop": null }, "value": "width", - "start": 26701, - "end": 26706, + "start": 26232, + "end": 26237, "loc": { "start": { - "line": 810, + "line": 794, "column": 31 }, "end": { - "line": 810, + "line": 794, "column": 36 } } @@ -181800,15 +178563,15 @@ "updateContext": null }, "value": "=", - "start": 26707, - "end": 26708, + "start": 26238, + "end": 26239, "loc": { "start": { - "line": 810, + "line": 794, "column": 37 }, "end": { - "line": 810, + "line": 794, "column": 38 } } @@ -181826,15 +178589,15 @@ "binop": null }, "value": "newWidth", - "start": 26709, - "end": 26717, + "start": 26240, + "end": 26248, "loc": { "start": { - "line": 810, + "line": 794, "column": 39 }, "end": { - "line": 810, + "line": 794, "column": 47 } } @@ -181852,15 +178615,15 @@ "binop": null, "updateContext": null }, - "start": 26717, - "end": 26718, + "start": 26248, + "end": 26249, "loc": { "start": { - "line": 810, + "line": 794, "column": 47 }, "end": { - "line": 810, + "line": 794, "column": 48 } } @@ -181880,15 +178643,15 @@ "updateContext": null }, "value": "this", - "start": 26731, - "end": 26735, + "start": 26262, + "end": 26266, "loc": { "start": { - "line": 811, + "line": 795, "column": 12 }, "end": { - "line": 811, + "line": 795, "column": 16 } } @@ -181906,15 +178669,15 @@ "binop": null, "updateContext": null }, - "start": 26735, - "end": 26736, + "start": 26266, + "end": 26267, "loc": { "start": { - "line": 811, + "line": 795, "column": 16 }, "end": { - "line": 811, + "line": 795, "column": 17 } } @@ -181932,15 +178695,15 @@ "binop": null }, "value": "surfer", - "start": 26736, - "end": 26742, + "start": 26267, + "end": 26273, "loc": { "start": { - "line": 811, + "line": 795, "column": 17 }, "end": { - "line": 811, + "line": 795, "column": 23 } } @@ -181958,15 +178721,15 @@ "binop": null, "updateContext": null }, - "start": 26742, - "end": 26743, + "start": 26273, + "end": 26274, "loc": { "start": { - "line": 811, + "line": 795, "column": 23 }, "end": { - "line": 811, + "line": 795, "column": 24 } } @@ -181984,15 +178747,15 @@ "binop": null }, "value": "params", - "start": 26743, - "end": 26749, + "start": 26274, + "end": 26280, "loc": { "start": { - "line": 811, + "line": 795, "column": 24 }, "end": { - "line": 811, + "line": 795, "column": 30 } } @@ -182010,15 +178773,15 @@ "binop": null, "updateContext": null }, - "start": 26749, - "end": 26750, + "start": 26280, + "end": 26281, "loc": { "start": { - "line": 811, + "line": 795, "column": 30 }, "end": { - "line": 811, + "line": 795, "column": 31 } } @@ -182036,15 +178799,15 @@ "binop": null }, "value": "height", - "start": 26750, - "end": 26756, + "start": 26281, + "end": 26287, "loc": { "start": { - "line": 811, + "line": 795, "column": 31 }, "end": { - "line": 811, + "line": 795, "column": 37 } } @@ -182063,15 +178826,15 @@ "updateContext": null }, "value": "=", - "start": 26757, - "end": 26758, + "start": 26288, + "end": 26289, "loc": { "start": { - "line": 811, + "line": 795, "column": 38 }, "end": { - "line": 811, + "line": 795, "column": 39 } } @@ -182089,15 +178852,15 @@ "binop": null }, "value": "newHeight", - "start": 26759, - "end": 26768, + "start": 26290, + "end": 26299, "loc": { "start": { - "line": 811, + "line": 795, "column": 40 }, "end": { - "line": 811, + "line": 795, "column": 49 } } @@ -182116,15 +178879,15 @@ "updateContext": null }, "value": "-", - "start": 26769, - "end": 26770, + "start": 26300, + "end": 26301, "loc": { "start": { - "line": 811, + "line": 795, "column": 50 }, "end": { - "line": 811, + "line": 795, "column": 51 } } @@ -182144,15 +178907,15 @@ "updateContext": null }, "value": "this", - "start": 26771, - "end": 26775, + "start": 26302, + "end": 26306, "loc": { "start": { - "line": 811, + "line": 795, "column": 52 }, "end": { - "line": 811, + "line": 795, "column": 56 } } @@ -182170,15 +178933,15 @@ "binop": null, "updateContext": null }, - "start": 26775, - "end": 26776, + "start": 26306, + "end": 26307, "loc": { "start": { - "line": 811, + "line": 795, "column": 56 }, "end": { - "line": 811, + "line": 795, "column": 57 } } @@ -182196,15 +178959,15 @@ "binop": null }, "value": "player", - "start": 26776, - "end": 26782, + "start": 26307, + "end": 26313, "loc": { "start": { - "line": 811, + "line": 795, "column": 57 }, "end": { - "line": 811, + "line": 795, "column": 63 } } @@ -182222,15 +178985,15 @@ "binop": null, "updateContext": null }, - "start": 26782, - "end": 26783, + "start": 26313, + "end": 26314, "loc": { "start": { - "line": 811, + "line": 795, "column": 63 }, "end": { - "line": 811, + "line": 795, "column": 64 } } @@ -182248,15 +179011,15 @@ "binop": null }, "value": "controlBar", - "start": 26783, - "end": 26793, + "start": 26314, + "end": 26324, "loc": { "start": { - "line": 811, + "line": 795, "column": 64 }, "end": { - "line": 811, + "line": 795, "column": 74 } } @@ -182274,15 +179037,15 @@ "binop": null, "updateContext": null }, - "start": 26793, - "end": 26794, + "start": 26324, + "end": 26325, "loc": { "start": { - "line": 811, + "line": 795, "column": 74 }, "end": { - "line": 811, + "line": 795, "column": 75 } } @@ -182300,15 +179063,15 @@ "binop": null }, "value": "height", - "start": 26794, - "end": 26800, + "start": 26325, + "end": 26331, "loc": { "start": { - "line": 811, + "line": 795, "column": 75 }, "end": { - "line": 811, + "line": 795, "column": 81 } } @@ -182325,15 +179088,15 @@ "postfix": false, "binop": null }, - "start": 26800, - "end": 26801, + "start": 26331, + "end": 26332, "loc": { "start": { - "line": 811, + "line": 795, "column": 81 }, "end": { - "line": 811, + "line": 795, "column": 82 } } @@ -182350,15 +179113,15 @@ "postfix": false, "binop": null }, - "start": 26801, - "end": 26802, + "start": 26332, + "end": 26333, "loc": { "start": { - "line": 811, + "line": 795, "column": 82 }, "end": { - "line": 811, + "line": 795, "column": 83 } } @@ -182376,15 +179139,15 @@ "binop": null, "updateContext": null }, - "start": 26802, - "end": 26803, + "start": 26333, + "end": 26334, "loc": { "start": { - "line": 811, + "line": 795, "column": 83 }, "end": { - "line": 811, + "line": 795, "column": 84 } } @@ -182392,15 +179155,15 @@ { "type": "CommentLine", "value": " redraw waveform", - "start": 26817, - "end": 26835, + "start": 26348, + "end": 26366, "loc": { "start": { - "line": 813, + "line": 797, "column": 12 }, "end": { - "line": 813, + "line": 797, "column": 30 } } @@ -182420,15 +179183,15 @@ "updateContext": null }, "value": "this", - "start": 26848, - "end": 26852, + "start": 26379, + "end": 26383, "loc": { "start": { - "line": 814, + "line": 798, "column": 12 }, "end": { - "line": 814, + "line": 798, "column": 16 } } @@ -182446,15 +179209,15 @@ "binop": null, "updateContext": null }, - "start": 26852, - "end": 26853, + "start": 26383, + "end": 26384, "loc": { "start": { - "line": 814, + "line": 798, "column": 16 }, "end": { - "line": 814, + "line": 798, "column": 17 } } @@ -182472,15 +179235,15 @@ "binop": null }, "value": "surfer", - "start": 26853, - "end": 26859, + "start": 26384, + "end": 26390, "loc": { "start": { - "line": 814, + "line": 798, "column": 17 }, "end": { - "line": 814, + "line": 798, "column": 23 } } @@ -182498,15 +179261,15 @@ "binop": null, "updateContext": null }, - "start": 26859, - "end": 26860, + "start": 26390, + "end": 26391, "loc": { "start": { - "line": 814, + "line": 798, "column": 23 }, "end": { - "line": 814, + "line": 798, "column": 24 } } @@ -182524,15 +179287,15 @@ "binop": null }, "value": "createDrawer", - "start": 26860, - "end": 26872, + "start": 26391, + "end": 26403, "loc": { "start": { - "line": 814, + "line": 798, "column": 24 }, "end": { - "line": 814, + "line": 798, "column": 36 } } @@ -182549,15 +179312,15 @@ "postfix": false, "binop": null }, - "start": 26872, - "end": 26873, + "start": 26403, + "end": 26404, "loc": { "start": { - "line": 814, + "line": 798, "column": 36 }, "end": { - "line": 814, + "line": 798, "column": 37 } } @@ -182574,15 +179337,15 @@ "postfix": false, "binop": null }, - "start": 26873, - "end": 26874, + "start": 26404, + "end": 26405, "loc": { "start": { - "line": 814, + "line": 798, "column": 37 }, "end": { - "line": 814, + "line": 798, "column": 38 } } @@ -182600,15 +179363,15 @@ "binop": null, "updateContext": null }, - "start": 26874, - "end": 26875, + "start": 26405, + "end": 26406, "loc": { "start": { - "line": 814, + "line": 798, "column": 38 }, "end": { - "line": 814, + "line": 798, "column": 39 } } @@ -182628,15 +179391,15 @@ "updateContext": null }, "value": "this", - "start": 26888, - "end": 26892, + "start": 26419, + "end": 26423, "loc": { "start": { - "line": 815, + "line": 799, "column": 12 }, "end": { - "line": 815, + "line": 799, "column": 16 } } @@ -182654,15 +179417,15 @@ "binop": null, "updateContext": null }, - "start": 26892, - "end": 26893, + "start": 26423, + "end": 26424, "loc": { "start": { - "line": 815, + "line": 799, "column": 16 }, "end": { - "line": 815, + "line": 799, "column": 17 } } @@ -182680,15 +179443,15 @@ "binop": null }, "value": "surfer", - "start": 26893, - "end": 26899, + "start": 26424, + "end": 26430, "loc": { "start": { - "line": 815, + "line": 799, "column": 17 }, "end": { - "line": 815, + "line": 799, "column": 23 } } @@ -182706,15 +179469,15 @@ "binop": null, "updateContext": null }, - "start": 26899, - "end": 26900, + "start": 26430, + "end": 26431, "loc": { "start": { - "line": 815, + "line": 799, "column": 23 }, "end": { - "line": 815, + "line": 799, "column": 24 } } @@ -182732,15 +179495,15 @@ "binop": null }, "value": "drawer", - "start": 26900, - "end": 26906, + "start": 26431, + "end": 26437, "loc": { "start": { - "line": 815, + "line": 799, "column": 24 }, "end": { - "line": 815, + "line": 799, "column": 30 } } @@ -182758,15 +179521,15 @@ "binop": null, "updateContext": null }, - "start": 26906, - "end": 26907, + "start": 26437, + "end": 26438, "loc": { "start": { - "line": 815, + "line": 799, "column": 30 }, "end": { - "line": 815, + "line": 799, "column": 31 } } @@ -182784,15 +179547,15 @@ "binop": null }, "value": "wrapper", - "start": 26907, - "end": 26914, + "start": 26438, + "end": 26445, "loc": { "start": { - "line": 815, + "line": 799, "column": 31 }, "end": { - "line": 815, + "line": 799, "column": 38 } } @@ -182810,15 +179573,15 @@ "binop": null, "updateContext": null }, - "start": 26914, - "end": 26915, + "start": 26445, + "end": 26446, "loc": { "start": { - "line": 815, + "line": 799, "column": 38 }, "end": { - "line": 815, + "line": 799, "column": 39 } } @@ -182836,15 +179599,15 @@ "binop": null }, "value": "className", - "start": 26915, - "end": 26924, + "start": 26446, + "end": 26455, "loc": { "start": { - "line": 815, + "line": 799, "column": 39 }, "end": { - "line": 815, + "line": 799, "column": 48 } } @@ -182863,15 +179626,15 @@ "updateContext": null }, "value": "=", - "start": 26925, - "end": 26926, + "start": 26456, + "end": 26457, "loc": { "start": { - "line": 815, + "line": 799, "column": 49 }, "end": { - "line": 815, + "line": 799, "column": 50 } } @@ -182889,15 +179652,15 @@ "binop": null }, "value": "wavesurferClassName", - "start": 26927, - "end": 26946, + "start": 26458, + "end": 26477, "loc": { "start": { - "line": 815, + "line": 799, "column": 51 }, "end": { - "line": 815, + "line": 799, "column": 70 } } @@ -182915,15 +179678,15 @@ "binop": null, "updateContext": null }, - "start": 26946, - "end": 26947, + "start": 26477, + "end": 26478, "loc": { "start": { - "line": 815, + "line": 799, "column": 70 }, "end": { - "line": 815, + "line": 799, "column": 71 } } @@ -182943,15 +179706,15 @@ "updateContext": null }, "value": "this", - "start": 26960, - "end": 26964, + "start": 26491, + "end": 26495, "loc": { "start": { - "line": 816, + "line": 800, "column": 12 }, "end": { - "line": 816, + "line": 800, "column": 16 } } @@ -182969,15 +179732,15 @@ "binop": null, "updateContext": null }, - "start": 26964, - "end": 26965, + "start": 26495, + "end": 26496, "loc": { "start": { - "line": 816, + "line": 800, "column": 16 }, "end": { - "line": 816, + "line": 800, "column": 17 } } @@ -182995,15 +179758,15 @@ "binop": null }, "value": "surfer", - "start": 26965, - "end": 26971, + "start": 26496, + "end": 26502, "loc": { "start": { - "line": 816, + "line": 800, "column": 17 }, "end": { - "line": 816, + "line": 800, "column": 23 } } @@ -183021,15 +179784,15 @@ "binop": null, "updateContext": null }, - "start": 26971, - "end": 26972, + "start": 26502, + "end": 26503, "loc": { "start": { - "line": 816, + "line": 800, "column": 23 }, "end": { - "line": 816, + "line": 800, "column": 24 } } @@ -183047,15 +179810,15 @@ "binop": null }, "value": "drawBuffer", - "start": 26972, - "end": 26982, + "start": 26503, + "end": 26513, "loc": { "start": { - "line": 816, + "line": 800, "column": 24 }, "end": { - "line": 816, + "line": 800, "column": 34 } } @@ -183072,15 +179835,15 @@ "postfix": false, "binop": null }, - "start": 26982, - "end": 26983, + "start": 26513, + "end": 26514, "loc": { "start": { - "line": 816, + "line": 800, "column": 34 }, "end": { - "line": 816, + "line": 800, "column": 35 } } @@ -183097,15 +179860,15 @@ "postfix": false, "binop": null }, - "start": 26983, - "end": 26984, + "start": 26514, + "end": 26515, "loc": { "start": { - "line": 816, + "line": 800, "column": 35 }, "end": { - "line": 816, + "line": 800, "column": 36 } } @@ -183123,15 +179886,15 @@ "binop": null, "updateContext": null }, - "start": 26984, - "end": 26985, + "start": 26515, + "end": 26516, "loc": { "start": { - "line": 816, + "line": 800, "column": 36 }, "end": { - "line": 816, + "line": 800, "column": 37 } } @@ -183139,15 +179902,15 @@ { "type": "CommentLine", "value": " make sure playhead is restored at right position", - "start": 26999, - "end": 27050, + "start": 26530, + "end": 26581, "loc": { "start": { - "line": 818, + "line": 802, "column": 12 }, "end": { - "line": 818, + "line": 802, "column": 63 } } @@ -183167,15 +179930,15 @@ "updateContext": null }, "value": "this", - "start": 27063, - "end": 27067, + "start": 26594, + "end": 26598, "loc": { "start": { - "line": 819, + "line": 803, "column": 12 }, "end": { - "line": 819, + "line": 803, "column": 16 } } @@ -183193,15 +179956,15 @@ "binop": null, "updateContext": null }, - "start": 27067, - "end": 27068, + "start": 26598, + "end": 26599, "loc": { "start": { - "line": 819, + "line": 803, "column": 16 }, "end": { - "line": 819, + "line": 803, "column": 17 } } @@ -183219,15 +179982,15 @@ "binop": null }, "value": "surfer", - "start": 27068, - "end": 27074, + "start": 26599, + "end": 26605, "loc": { "start": { - "line": 819, + "line": 803, "column": 17 }, "end": { - "line": 819, + "line": 803, "column": 23 } } @@ -183245,15 +180008,15 @@ "binop": null, "updateContext": null }, - "start": 27074, - "end": 27075, + "start": 26605, + "end": 26606, "loc": { "start": { - "line": 819, + "line": 803, "column": 23 }, "end": { - "line": 819, + "line": 803, "column": 24 } } @@ -183271,15 +180034,15 @@ "binop": null }, "value": "drawer", - "start": 27075, - "end": 27081, + "start": 26606, + "end": 26612, "loc": { "start": { - "line": 819, + "line": 803, "column": 24 }, "end": { - "line": 819, + "line": 803, "column": 30 } } @@ -183297,15 +180060,15 @@ "binop": null, "updateContext": null }, - "start": 27081, - "end": 27082, + "start": 26612, + "end": 26613, "loc": { "start": { - "line": 819, + "line": 803, "column": 30 }, "end": { - "line": 819, + "line": 803, "column": 31 } } @@ -183323,15 +180086,15 @@ "binop": null }, "value": "progress", - "start": 27082, - "end": 27090, + "start": 26613, + "end": 26621, "loc": { "start": { - "line": 819, + "line": 803, "column": 31 }, "end": { - "line": 819, + "line": 803, "column": 39 } } @@ -183348,15 +180111,15 @@ "postfix": false, "binop": null }, - "start": 27090, - "end": 27091, + "start": 26621, + "end": 26622, "loc": { "start": { - "line": 819, + "line": 803, "column": 39 }, "end": { - "line": 819, + "line": 803, "column": 40 } } @@ -183376,15 +180139,15 @@ "updateContext": null }, "value": "this", - "start": 27091, - "end": 27095, + "start": 26622, + "end": 26626, "loc": { "start": { - "line": 819, + "line": 803, "column": 40 }, "end": { - "line": 819, + "line": 803, "column": 44 } } @@ -183402,15 +180165,15 @@ "binop": null, "updateContext": null }, - "start": 27095, - "end": 27096, + "start": 26626, + "end": 26627, "loc": { "start": { - "line": 819, + "line": 803, "column": 44 }, "end": { - "line": 819, + "line": 803, "column": 45 } } @@ -183428,15 +180191,15 @@ "binop": null }, "value": "surfer", - "start": 27096, - "end": 27102, + "start": 26627, + "end": 26633, "loc": { "start": { - "line": 819, + "line": 803, "column": 45 }, "end": { - "line": 819, + "line": 803, "column": 51 } } @@ -183454,15 +180217,15 @@ "binop": null, "updateContext": null }, - "start": 27102, - "end": 27103, + "start": 26633, + "end": 26634, "loc": { "start": { - "line": 819, + "line": 803, "column": 51 }, "end": { - "line": 819, + "line": 803, "column": 52 } } @@ -183480,15 +180243,15 @@ "binop": null }, "value": "backend", - "start": 27103, - "end": 27110, + "start": 26634, + "end": 26641, "loc": { "start": { - "line": 819, + "line": 803, "column": 52 }, "end": { - "line": 819, + "line": 803, "column": 59 } } @@ -183506,15 +180269,15 @@ "binop": null, "updateContext": null }, - "start": 27110, - "end": 27111, + "start": 26641, + "end": 26642, "loc": { "start": { - "line": 819, + "line": 803, "column": 59 }, "end": { - "line": 819, + "line": 803, "column": 60 } } @@ -183532,15 +180295,15 @@ "binop": null }, "value": "getPlayedPercents", - "start": 27111, - "end": 27128, + "start": 26642, + "end": 26659, "loc": { "start": { - "line": 819, + "line": 803, "column": 60 }, "end": { - "line": 819, + "line": 803, "column": 77 } } @@ -183557,15 +180320,15 @@ "postfix": false, "binop": null }, - "start": 27128, - "end": 27129, + "start": 26659, + "end": 26660, "loc": { "start": { - "line": 819, + "line": 803, "column": 77 }, "end": { - "line": 819, + "line": 803, "column": 78 } } @@ -183582,15 +180345,15 @@ "postfix": false, "binop": null }, - "start": 27129, - "end": 27130, + "start": 26660, + "end": 26661, "loc": { "start": { - "line": 819, + "line": 803, "column": 78 }, "end": { - "line": 819, + "line": 803, "column": 79 } } @@ -183607,15 +180370,15 @@ "postfix": false, "binop": null }, - "start": 27130, - "end": 27131, + "start": 26661, + "end": 26662, "loc": { "start": { - "line": 819, + "line": 803, "column": 79 }, "end": { - "line": 819, + "line": 803, "column": 80 } } @@ -183633,15 +180396,15 @@ "binop": null, "updateContext": null }, - "start": 27131, - "end": 27132, + "start": 26662, + "end": 26663, "loc": { "start": { - "line": 819, + "line": 803, "column": 80 }, "end": { - "line": 819, + "line": 803, "column": 81 } } @@ -183658,15 +180421,15 @@ "postfix": false, "binop": null }, - "start": 27141, - "end": 27142, + "start": 26672, + "end": 26673, "loc": { "start": { - "line": 820, + "line": 804, "column": 8 }, "end": { - "line": 820, + "line": 804, "column": 9 } } @@ -183683,15 +180446,15 @@ "postfix": false, "binop": null }, - "start": 27147, - "end": 27148, + "start": 26678, + "end": 26679, "loc": { "start": { - "line": 821, + "line": 805, "column": 4 }, "end": { - "line": 821, + "line": 805, "column": 5 } } @@ -183699,15 +180462,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": 27154, - "end": 27423, + "start": 26685, + "end": 26954, "loc": { "start": { - "line": 823, + "line": 807, "column": 4 }, "end": { - "line": 830, + "line": 814, "column": 7 } } @@ -183725,15 +180488,15 @@ "binop": null }, "value": "log", - "start": 27428, - "end": 27431, + "start": 26959, + "end": 26962, "loc": { "start": { - "line": 831, + "line": 815, "column": 4 }, "end": { - "line": 831, + "line": 815, "column": 7 } } @@ -183750,15 +180513,15 @@ "postfix": false, "binop": null }, - "start": 27431, - "end": 27432, + "start": 26962, + "end": 26963, "loc": { "start": { - "line": 831, + "line": 815, "column": 7 }, "end": { - "line": 831, + "line": 815, "column": 8 } } @@ -183776,15 +180539,15 @@ "binop": null }, "value": "args", - "start": 27432, - "end": 27436, + "start": 26963, + "end": 26967, "loc": { "start": { - "line": 831, + "line": 815, "column": 8 }, "end": { - "line": 831, + "line": 815, "column": 12 } } @@ -183802,15 +180565,15 @@ "binop": null, "updateContext": null }, - "start": 27436, - "end": 27437, + "start": 26967, + "end": 26968, "loc": { "start": { - "line": 831, + "line": 815, "column": 12 }, "end": { - "line": 831, + "line": 815, "column": 13 } } @@ -183828,15 +180591,15 @@ "binop": null }, "value": "logType", - "start": 27438, - "end": 27445, + "start": 26969, + "end": 26976, "loc": { "start": { - "line": 831, + "line": 815, "column": 14 }, "end": { - "line": 831, + "line": 815, "column": 21 } } @@ -183853,15 +180616,15 @@ "postfix": false, "binop": null }, - "start": 27445, - "end": 27446, + "start": 26976, + "end": 26977, "loc": { "start": { - "line": 831, + "line": 815, "column": 21 }, "end": { - "line": 831, + "line": 815, "column": 22 } } @@ -183878,15 +180641,15 @@ "postfix": false, "binop": null }, - "start": 27447, - "end": 27448, + "start": 26978, + "end": 26979, "loc": { "start": { - "line": 831, + "line": 815, "column": 23 }, "end": { - "line": 831, + "line": 815, "column": 24 } } @@ -183904,15 +180667,15 @@ "binop": null }, "value": "log", - "start": 27457, - "end": 27460, + "start": 26988, + "end": 26991, "loc": { "start": { - "line": 832, + "line": 816, "column": 8 }, "end": { - "line": 832, + "line": 816, "column": 11 } } @@ -183929,15 +180692,15 @@ "postfix": false, "binop": null }, - "start": 27460, - "end": 27461, + "start": 26991, + "end": 26992, "loc": { "start": { - "line": 832, + "line": 816, "column": 11 }, "end": { - "line": 832, + "line": 816, "column": 12 } } @@ -183955,15 +180718,15 @@ "binop": null }, "value": "args", - "start": 27461, - "end": 27465, + "start": 26992, + "end": 26996, "loc": { "start": { - "line": 832, + "line": 816, "column": 12 }, "end": { - "line": 832, + "line": 816, "column": 16 } } @@ -183981,15 +180744,15 @@ "binop": null, "updateContext": null }, - "start": 27465, - "end": 27466, + "start": 26996, + "end": 26997, "loc": { "start": { - "line": 832, + "line": 816, "column": 16 }, "end": { - "line": 832, + "line": 816, "column": 17 } } @@ -184007,15 +180770,15 @@ "binop": null }, "value": "logType", - "start": 27467, - "end": 27474, + "start": 26998, + "end": 27005, "loc": { "start": { - "line": 832, + "line": 816, "column": 18 }, "end": { - "line": 832, + "line": 816, "column": 25 } } @@ -184033,15 +180796,15 @@ "binop": null, "updateContext": null }, - "start": 27474, - "end": 27475, + "start": 27005, + "end": 27006, "loc": { "start": { - "line": 832, + "line": 816, "column": 25 }, "end": { - "line": 832, + "line": 816, "column": 26 } } @@ -184061,15 +180824,15 @@ "updateContext": null }, "value": "this", - "start": 27476, - "end": 27480, + "start": 27007, + "end": 27011, "loc": { "start": { - "line": 832, + "line": 816, "column": 27 }, "end": { - "line": 832, + "line": 816, "column": 31 } } @@ -184087,15 +180850,15 @@ "binop": null, "updateContext": null }, - "start": 27480, - "end": 27481, + "start": 27011, + "end": 27012, "loc": { "start": { - "line": 832, + "line": 816, "column": 31 }, "end": { - "line": 832, + "line": 816, "column": 32 } } @@ -184113,15 +180876,15 @@ "binop": null }, "value": "debug", - "start": 27481, - "end": 27486, + "start": 27012, + "end": 27017, "loc": { "start": { - "line": 832, + "line": 816, "column": 32 }, "end": { - "line": 832, + "line": 816, "column": 37 } } @@ -184138,15 +180901,15 @@ "postfix": false, "binop": null }, - "start": 27486, - "end": 27487, + "start": 27017, + "end": 27018, "loc": { "start": { - "line": 832, + "line": 816, "column": 37 }, "end": { - "line": 832, + "line": 816, "column": 38 } } @@ -184164,15 +180927,15 @@ "binop": null, "updateContext": null }, - "start": 27487, - "end": 27488, + "start": 27018, + "end": 27019, "loc": { "start": { - "line": 832, + "line": 816, "column": 38 }, "end": { - "line": 832, + "line": 816, "column": 39 } } @@ -184189,15 +180952,15 @@ "postfix": false, "binop": null }, - "start": 27493, - "end": 27494, + "start": 27024, + "end": 27025, "loc": { "start": { - "line": 833, + "line": 817, "column": 4 }, "end": { - "line": 833, + "line": 817, "column": 5 } } @@ -184205,15 +180968,15 @@ { "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, + "start": 27031, + "end": 27370, "loc": { "start": { - "line": 835, + "line": 819, "column": 4 }, "end": { - "line": 841, + "line": 825, "column": 7 } } @@ -184231,15 +180994,15 @@ "binop": null }, "value": "setFormatTime", - "start": 27844, - "end": 27857, + "start": 27375, + "end": 27388, "loc": { "start": { - "line": 842, + "line": 826, "column": 4 }, "end": { - "line": 842, + "line": 826, "column": 17 } } @@ -184256,15 +181019,15 @@ "postfix": false, "binop": null }, - "start": 27857, - "end": 27858, + "start": 27388, + "end": 27389, "loc": { "start": { - "line": 842, + "line": 826, "column": 17 }, "end": { - "line": 842, + "line": 826, "column": 18 } } @@ -184282,15 +181045,15 @@ "binop": null }, "value": "customImplementation", - "start": 27858, - "end": 27878, + "start": 27389, + "end": 27409, "loc": { "start": { - "line": 842, + "line": 826, "column": 18 }, "end": { - "line": 842, + "line": 826, "column": 38 } } @@ -184307,15 +181070,15 @@ "postfix": false, "binop": null }, - "start": 27878, - "end": 27879, + "start": 27409, + "end": 27410, "loc": { "start": { - "line": 842, + "line": 826, "column": 38 }, "end": { - "line": 842, + "line": 826, "column": 39 } } @@ -184332,15 +181095,15 @@ "postfix": false, "binop": null }, - "start": 27880, - "end": 27881, + "start": 27411, + "end": 27412, "loc": { "start": { - "line": 842, + "line": 826, "column": 40 }, "end": { - "line": 842, + "line": 826, "column": 41 } } @@ -184360,15 +181123,15 @@ "updateContext": null }, "value": "this", - "start": 27890, - "end": 27894, + "start": 27421, + "end": 27425, "loc": { "start": { - "line": 843, + "line": 827, "column": 8 }, "end": { - "line": 843, + "line": 827, "column": 12 } } @@ -184386,15 +181149,15 @@ "binop": null, "updateContext": null }, - "start": 27894, - "end": 27895, + "start": 27425, + "end": 27426, "loc": { "start": { - "line": 843, + "line": 827, "column": 12 }, "end": { - "line": 843, + "line": 827, "column": 13 } } @@ -184412,15 +181175,15 @@ "binop": null }, "value": "_formatTime", - "start": 27895, - "end": 27906, + "start": 27426, + "end": 27437, "loc": { "start": { - "line": 843, + "line": 827, "column": 13 }, "end": { - "line": 843, + "line": 827, "column": 24 } } @@ -184439,15 +181202,15 @@ "updateContext": null }, "value": "=", - "start": 27907, - "end": 27908, + "start": 27438, + "end": 27439, "loc": { "start": { - "line": 843, + "line": 827, "column": 25 }, "end": { - "line": 843, + "line": 827, "column": 26 } } @@ -184465,15 +181228,15 @@ "binop": null }, "value": "customImplementation", - "start": 27909, - "end": 27929, + "start": 27440, + "end": 27460, "loc": { "start": { - "line": 843, + "line": 827, "column": 27 }, "end": { - "line": 843, + "line": 827, "column": 47 } } @@ -184491,15 +181254,15 @@ "binop": null, "updateContext": null }, - "start": 27929, - "end": 27930, + "start": 27460, + "end": 27461, "loc": { "start": { - "line": 843, + "line": 827, "column": 47 }, "end": { - "line": 843, + "line": 827, "column": 48 } } @@ -184517,15 +181280,15 @@ "binop": null }, "value": "videojs", - "start": 27940, - "end": 27947, + "start": 27471, + "end": 27478, "loc": { "start": { - "line": 845, + "line": 829, "column": 8 }, "end": { - "line": 845, + "line": 829, "column": 15 } } @@ -184543,15 +181306,15 @@ "binop": null, "updateContext": null }, - "start": 27947, - "end": 27948, + "start": 27478, + "end": 27479, "loc": { "start": { - "line": 845, + "line": 829, "column": 15 }, "end": { - "line": 845, + "line": 829, "column": 16 } } @@ -184569,15 +181332,15 @@ "binop": null }, "value": "setFormatTime", - "start": 27948, - "end": 27961, + "start": 27479, + "end": 27492, "loc": { "start": { - "line": 845, + "line": 829, "column": 16 }, "end": { - "line": 845, + "line": 829, "column": 29 } } @@ -184594,15 +181357,15 @@ "postfix": false, "binop": null }, - "start": 27961, - "end": 27962, + "start": 27492, + "end": 27493, "loc": { "start": { - "line": 845, + "line": 829, "column": 29 }, "end": { - "line": 845, + "line": 829, "column": 30 } } @@ -184622,15 +181385,15 @@ "updateContext": null }, "value": "this", - "start": 27962, - "end": 27966, + "start": 27493, + "end": 27497, "loc": { "start": { - "line": 845, + "line": 829, "column": 30 }, "end": { - "line": 845, + "line": 829, "column": 34 } } @@ -184648,15 +181411,15 @@ "binop": null, "updateContext": null }, - "start": 27966, - "end": 27967, + "start": 27497, + "end": 27498, "loc": { "start": { - "line": 845, + "line": 829, "column": 34 }, "end": { - "line": 845, + "line": 829, "column": 35 } } @@ -184674,15 +181437,15 @@ "binop": null }, "value": "_formatTime", - "start": 27967, - "end": 27978, + "start": 27498, + "end": 27509, "loc": { "start": { - "line": 845, + "line": 829, "column": 35 }, "end": { - "line": 845, + "line": 829, "column": 46 } } @@ -184699,15 +181462,15 @@ "postfix": false, "binop": null }, - "start": 27978, - "end": 27979, + "start": 27509, + "end": 27510, "loc": { "start": { - "line": 845, + "line": 829, "column": 46 }, "end": { - "line": 845, + "line": 829, "column": 47 } } @@ -184725,15 +181488,15 @@ "binop": null, "updateContext": null }, - "start": 27979, - "end": 27980, + "start": 27510, + "end": 27511, "loc": { "start": { - "line": 845, + "line": 829, "column": 47 }, "end": { - "line": 845, + "line": 829, "column": 48 } } @@ -184750,15 +181513,15 @@ "postfix": false, "binop": null }, - "start": 27985, - "end": 27986, + "start": 27516, + "end": 27517, "loc": { "start": { - "line": 846, + "line": 830, "column": 4 }, "end": { - "line": 846, + "line": 830, "column": 5 } } @@ -184775,15 +181538,15 @@ "postfix": false, "binop": null }, - "start": 27987, - "end": 27988, + "start": 27518, + "end": 27519, "loc": { "start": { - "line": 847, + "line": 831, "column": 0 }, "end": { - "line": 847, + "line": 831, "column": 1 } } @@ -184791,15 +181554,15 @@ { "type": "CommentLine", "value": " version nr is injected during build", - "start": 27990, - "end": 28028, + "start": 27521, + "end": 27559, "loc": { "start": { - "line": 849, + "line": 833, "column": 0 }, "end": { - "line": 849, + "line": 833, "column": 38 } } @@ -184817,15 +181580,15 @@ "binop": null }, "value": "Wavesurfer", - "start": 28029, - "end": 28039, + "start": 27560, + "end": 27570, "loc": { "start": { - "line": 850, + "line": 834, "column": 0 }, "end": { - "line": 850, + "line": 834, "column": 10 } } @@ -184843,15 +181606,15 @@ "binop": null, "updateContext": null }, - "start": 28039, - "end": 28040, + "start": 27570, + "end": 27571, "loc": { "start": { - "line": 850, + "line": 834, "column": 10 }, "end": { - "line": 850, + "line": 834, "column": 11 } } @@ -184869,15 +181632,15 @@ "binop": null }, "value": "VERSION", - "start": 28040, - "end": 28047, + "start": 27571, + "end": 27578, "loc": { "start": { - "line": 850, + "line": 834, "column": 11 }, "end": { - "line": 850, + "line": 834, "column": 18 } } @@ -184896,15 +181659,15 @@ "updateContext": null }, "value": "=", - "start": 28048, - "end": 28049, + "start": 27579, + "end": 27580, "loc": { "start": { - "line": 850, + "line": 834, "column": 19 }, "end": { - "line": 850, + "line": 834, "column": 20 } } @@ -184922,15 +181685,15 @@ "binop": null }, "value": "__VERSION__", - "start": 28050, - "end": 28061, + "start": 27581, + "end": 27592, "loc": { "start": { - "line": 850, + "line": 834, "column": 21 }, "end": { - "line": 850, + "line": 834, "column": 32 } } @@ -184948,15 +181711,15 @@ "binop": null, "updateContext": null }, - "start": 28061, - "end": 28062, + "start": 27592, + "end": 27593, "loc": { "start": { - "line": 850, + "line": 834, "column": 32 }, "end": { - "line": 850, + "line": 834, "column": 33 } } @@ -184964,15 +181727,15 @@ { "type": "CommentLine", "value": " register plugin once", - "start": 28064, - "end": 28087, + "start": 27595, + "end": 27618, "loc": { "start": { - "line": 852, + "line": 836, "column": 0 }, "end": { - "line": 852, + "line": 836, "column": 23 } } @@ -184990,15 +181753,15 @@ "binop": null }, "value": "videojs", - "start": 28088, - "end": 28095, + "start": 27619, + "end": 27626, "loc": { "start": { - "line": 853, + "line": 837, "column": 0 }, "end": { - "line": 853, + "line": 837, "column": 7 } } @@ -185016,15 +181779,15 @@ "binop": null, "updateContext": null }, - "start": 28095, - "end": 28096, + "start": 27626, + "end": 27627, "loc": { "start": { - "line": 853, + "line": 837, "column": 7 }, "end": { - "line": 853, + "line": 837, "column": 8 } } @@ -185042,15 +181805,15 @@ "binop": null }, "value": "Wavesurfer", - "start": 28096, - "end": 28106, + "start": 27627, + "end": 27637, "loc": { "start": { - "line": 853, + "line": 837, "column": 8 }, "end": { - "line": 853, + "line": 837, "column": 18 } } @@ -185069,15 +181832,15 @@ "updateContext": null }, "value": "=", - "start": 28107, - "end": 28108, + "start": 27638, + "end": 27639, "loc": { "start": { - "line": 853, + "line": 837, "column": 19 }, "end": { - "line": 853, + "line": 837, "column": 20 } } @@ -185095,15 +181858,15 @@ "binop": null }, "value": "Wavesurfer", - "start": 28109, - "end": 28119, + "start": 27640, + "end": 27650, "loc": { "start": { - "line": 853, + "line": 837, "column": 21 }, "end": { - "line": 853, + "line": 837, "column": 31 } } @@ -185121,15 +181884,15 @@ "binop": null, "updateContext": null }, - "start": 28119, - "end": 28120, + "start": 27650, + "end": 27651, "loc": { "start": { - "line": 853, + "line": 837, "column": 31 }, "end": { - "line": 853, + "line": 837, "column": 32 } } @@ -185149,15 +181912,15 @@ "updateContext": null }, "value": "if", - "start": 28121, - "end": 28123, + "start": 27652, + "end": 27654, "loc": { "start": { - "line": 854, + "line": 838, "column": 0 }, "end": { - "line": 854, + "line": 838, "column": 2 } } @@ -185174,15 +181937,15 @@ "postfix": false, "binop": null }, - "start": 28124, - "end": 28125, + "start": 27655, + "end": 27656, "loc": { "start": { - "line": 854, + "line": 838, "column": 3 }, "end": { - "line": 854, + "line": 838, "column": 4 } } @@ -185200,15 +181963,15 @@ "binop": null }, "value": "videojs", - "start": 28125, - "end": 28132, + "start": 27656, + "end": 27663, "loc": { "start": { - "line": 854, + "line": 838, "column": 4 }, "end": { - "line": 854, + "line": 838, "column": 11 } } @@ -185226,15 +181989,15 @@ "binop": null, "updateContext": null }, - "start": 28132, - "end": 28133, + "start": 27663, + "end": 27664, "loc": { "start": { - "line": 854, + "line": 838, "column": 11 }, "end": { - "line": 854, + "line": 838, "column": 12 } } @@ -185252,15 +182015,15 @@ "binop": null }, "value": "getPlugin", - "start": 28133, - "end": 28142, + "start": 27664, + "end": 27673, "loc": { "start": { - "line": 854, + "line": 838, "column": 12 }, "end": { - "line": 854, + "line": 838, "column": 21 } } @@ -185277,15 +182040,15 @@ "postfix": false, "binop": null }, - "start": 28142, - "end": 28143, + "start": 27673, + "end": 27674, "loc": { "start": { - "line": 854, + "line": 838, "column": 21 }, "end": { - "line": 854, + "line": 838, "column": 22 } } @@ -185303,15 +182066,15 @@ "binop": null }, "value": "wavesurferPluginName", - "start": 28143, - "end": 28163, + "start": 27674, + "end": 27694, "loc": { "start": { - "line": 854, + "line": 838, "column": 22 }, "end": { - "line": 854, + "line": 838, "column": 42 } } @@ -185328,15 +182091,15 @@ "postfix": false, "binop": null }, - "start": 28163, - "end": 28164, + "start": 27694, + "end": 27695, "loc": { "start": { - "line": 854, + "line": 838, "column": 42 }, "end": { - "line": 854, + "line": 838, "column": 43 } } @@ -185355,15 +182118,15 @@ "updateContext": null }, "value": "===", - "start": 28165, - "end": 28168, + "start": 27696, + "end": 27699, "loc": { "start": { - "line": 854, + "line": 838, "column": 44 }, "end": { - "line": 854, + "line": 838, "column": 47 } } @@ -185381,15 +182144,15 @@ "binop": null }, "value": "undefined", - "start": 28169, - "end": 28178, + "start": 27700, + "end": 27709, "loc": { "start": { - "line": 854, + "line": 838, "column": 48 }, "end": { - "line": 854, + "line": 838, "column": 57 } } @@ -185406,15 +182169,15 @@ "postfix": false, "binop": null }, - "start": 28178, - "end": 28179, + "start": 27709, + "end": 27710, "loc": { "start": { - "line": 854, + "line": 838, "column": 57 }, "end": { - "line": 854, + "line": 838, "column": 58 } } @@ -185431,15 +182194,15 @@ "postfix": false, "binop": null }, - "start": 28180, - "end": 28181, + "start": 27711, + "end": 27712, "loc": { "start": { - "line": 854, + "line": 838, "column": 59 }, "end": { - "line": 854, + "line": 838, "column": 60 } } @@ -185457,15 +182220,15 @@ "binop": null }, "value": "videojs", - "start": 28186, - "end": 28193, + "start": 27717, + "end": 27724, "loc": { "start": { - "line": 855, + "line": 839, "column": 4 }, "end": { - "line": 855, + "line": 839, "column": 11 } } @@ -185483,15 +182246,15 @@ "binop": null, "updateContext": null }, - "start": 28193, - "end": 28194, + "start": 27724, + "end": 27725, "loc": { "start": { - "line": 855, + "line": 839, "column": 11 }, "end": { - "line": 855, + "line": 839, "column": 12 } } @@ -185509,15 +182272,15 @@ "binop": null }, "value": "registerPlugin", - "start": 28194, - "end": 28208, + "start": 27725, + "end": 27739, "loc": { "start": { - "line": 855, + "line": 839, "column": 12 }, "end": { - "line": 855, + "line": 839, "column": 26 } } @@ -185534,15 +182297,15 @@ "postfix": false, "binop": null }, - "start": 28208, - "end": 28209, + "start": 27739, + "end": 27740, "loc": { "start": { - "line": 855, + "line": 839, "column": 26 }, "end": { - "line": 855, + "line": 839, "column": 27 } } @@ -185560,15 +182323,15 @@ "binop": null }, "value": "wavesurferPluginName", - "start": 28209, - "end": 28229, + "start": 27740, + "end": 27760, "loc": { "start": { - "line": 855, + "line": 839, "column": 27 }, "end": { - "line": 855, + "line": 839, "column": 47 } } @@ -185586,15 +182349,15 @@ "binop": null, "updateContext": null }, - "start": 28229, - "end": 28230, + "start": 27760, + "end": 27761, "loc": { "start": { - "line": 855, + "line": 839, "column": 47 }, "end": { - "line": 855, + "line": 839, "column": 48 } } @@ -185612,15 +182375,15 @@ "binop": null }, "value": "Wavesurfer", - "start": 28231, - "end": 28241, + "start": 27762, + "end": 27772, "loc": { "start": { - "line": 855, + "line": 839, "column": 49 }, "end": { - "line": 855, + "line": 839, "column": 59 } } @@ -185637,15 +182400,15 @@ "postfix": false, "binop": null }, - "start": 28241, - "end": 28242, + "start": 27772, + "end": 27773, "loc": { "start": { - "line": 855, + "line": 839, "column": 59 }, "end": { - "line": 855, + "line": 839, "column": 60 } } @@ -185663,15 +182426,15 @@ "binop": null, "updateContext": null }, - "start": 28242, - "end": 28243, + "start": 27773, + "end": 27774, "loc": { "start": { - "line": 855, + "line": 839, "column": 60 }, "end": { - "line": 855, + "line": 839, "column": 61 } } @@ -185688,15 +182451,15 @@ "postfix": false, "binop": null }, - "start": 28244, - "end": 28245, + "start": 27775, + "end": 27776, "loc": { "start": { - "line": 856, + "line": 840, "column": 0 }, "end": { - "line": 856, + "line": 840, "column": 1 } } @@ -185704,15 +182467,15 @@ { "type": "CommentLine", "value": " register a star-middleware", - "start": 28247, - "end": 28276, + "start": 27778, + "end": 27807, "loc": { "start": { - "line": 858, + "line": 842, "column": 0 }, "end": { - "line": 858, + "line": 842, "column": 29 } } @@ -185730,15 +182493,15 @@ "binop": null }, "value": "videojs", - "start": 28277, - "end": 28284, + "start": 27808, + "end": 27815, "loc": { "start": { - "line": 859, + "line": 843, "column": 0 }, "end": { - "line": 859, + "line": 843, "column": 7 } } @@ -185756,15 +182519,15 @@ "binop": null, "updateContext": null }, - "start": 28284, - "end": 28285, + "start": 27815, + "end": 27816, "loc": { "start": { - "line": 859, + "line": 843, "column": 7 }, "end": { - "line": 859, + "line": 843, "column": 8 } } @@ -185782,15 +182545,15 @@ "binop": null }, "value": "use", - "start": 28285, - "end": 28288, + "start": 27816, + "end": 27819, "loc": { "start": { - "line": 859, + "line": 843, "column": 8 }, "end": { - "line": 859, + "line": 843, "column": 11 } } @@ -185807,15 +182570,15 @@ "postfix": false, "binop": null }, - "start": 28288, - "end": 28289, + "start": 27819, + "end": 27820, "loc": { "start": { - "line": 859, + "line": 843, "column": 11 }, "end": { - "line": 859, + "line": 843, "column": 12 } } @@ -185834,15 +182597,15 @@ "updateContext": null }, "value": "*", - "start": 28289, - "end": 28292, + "start": 27820, + "end": 27823, "loc": { "start": { - "line": 859, + "line": 843, "column": 12 }, "end": { - "line": 859, + "line": 843, "column": 15 } } @@ -185860,15 +182623,15 @@ "binop": null, "updateContext": null }, - "start": 28292, - "end": 28293, + "start": 27823, + "end": 27824, "loc": { "start": { - "line": 859, + "line": 843, "column": 15 }, "end": { - "line": 859, + "line": 843, "column": 16 } } @@ -185886,15 +182649,15 @@ "binop": null }, "value": "player", - "start": 28294, - "end": 28300, + "start": 27825, + "end": 27831, "loc": { "start": { - "line": 859, + "line": 843, "column": 17 }, "end": { - "line": 859, + "line": 843, "column": 23 } } @@ -185912,15 +182675,15 @@ "binop": null, "updateContext": null }, - "start": 28301, - "end": 28303, + "start": 27832, + "end": 27834, "loc": { "start": { - "line": 859, + "line": 843, "column": 24 }, "end": { - "line": 859, + "line": 843, "column": 26 } } @@ -185937,15 +182700,15 @@ "postfix": false, "binop": null }, - "start": 28304, - "end": 28305, + "start": 27835, + "end": 27836, "loc": { "start": { - "line": 859, + "line": 843, "column": 27 }, "end": { - "line": 859, + "line": 843, "column": 28 } } @@ -185953,15 +182716,15 @@ { "type": "CommentLine", "value": " make player available on middleware", - "start": 28310, - "end": 28348, + "start": 27841, + "end": 27879, "loc": { "start": { - "line": 860, + "line": 844, "column": 4 }, "end": { - "line": 860, + "line": 844, "column": 42 } } @@ -185979,15 +182742,15 @@ "binop": null }, "value": "WavesurferMiddleware", - "start": 28353, - "end": 28373, + "start": 27884, + "end": 27904, "loc": { "start": { - "line": 861, + "line": 845, "column": 4 }, "end": { - "line": 861, + "line": 845, "column": 24 } } @@ -186005,15 +182768,15 @@ "binop": null, "updateContext": null }, - "start": 28373, - "end": 28374, + "start": 27904, + "end": 27905, "loc": { "start": { - "line": 861, + "line": 845, "column": 24 }, "end": { - "line": 861, + "line": 845, "column": 25 } } @@ -186031,15 +182794,15 @@ "binop": null }, "value": "player", - "start": 28374, - "end": 28380, + "start": 27905, + "end": 27911, "loc": { "start": { - "line": 861, + "line": 845, "column": 25 }, "end": { - "line": 861, + "line": 845, "column": 31 } } @@ -186058,15 +182821,15 @@ "updateContext": null }, "value": "=", - "start": 28381, - "end": 28382, + "start": 27912, + "end": 27913, "loc": { "start": { - "line": 861, + "line": 845, "column": 32 }, "end": { - "line": 861, + "line": 845, "column": 33 } } @@ -186084,15 +182847,15 @@ "binop": null }, "value": "player", - "start": 28383, - "end": 28389, + "start": 27914, + "end": 27920, "loc": { "start": { - "line": 861, + "line": 845, "column": 34 }, "end": { - "line": 861, + "line": 845, "column": 40 } } @@ -186110,15 +182873,15 @@ "binop": null, "updateContext": null }, - "start": 28389, - "end": 28390, + "start": 27920, + "end": 27921, "loc": { "start": { - "line": 861, + "line": 845, "column": 40 }, "end": { - "line": 861, + "line": 845, "column": 41 } } @@ -186138,15 +182901,15 @@ "updateContext": null }, "value": "return", - "start": 28396, - "end": 28402, + "start": 27927, + "end": 27933, "loc": { "start": { - "line": 863, + "line": 847, "column": 4 }, "end": { - "line": 863, + "line": 847, "column": 10 } } @@ -186164,15 +182927,15 @@ "binop": null }, "value": "WavesurferMiddleware", - "start": 28403, - "end": 28423, + "start": 27934, + "end": 27954, "loc": { "start": { - "line": 863, + "line": 847, "column": 11 }, "end": { - "line": 863, + "line": 847, "column": 31 } } @@ -186190,15 +182953,15 @@ "binop": null, "updateContext": null }, - "start": 28423, - "end": 28424, + "start": 27954, + "end": 27955, "loc": { "start": { - "line": 863, + "line": 847, "column": 31 }, "end": { - "line": 863, + "line": 847, "column": 32 } } @@ -186215,15 +182978,15 @@ "postfix": false, "binop": null }, - "start": 28425, - "end": 28426, + "start": 27956, + "end": 27957, "loc": { "start": { - "line": 864, + "line": 848, "column": 0 }, "end": { - "line": 864, + "line": 848, "column": 1 } } @@ -186240,15 +183003,15 @@ "postfix": false, "binop": null }, - "start": 28426, - "end": 28427, + "start": 27957, + "end": 27958, "loc": { "start": { - "line": 864, + "line": 848, "column": 1 }, "end": { - "line": 864, + "line": 848, "column": 2 } } @@ -186266,15 +183029,15 @@ "binop": null, "updateContext": null }, - "start": 28427, - "end": 28428, + "start": 27958, + "end": 27959, "loc": { "start": { - "line": 864, + "line": 848, "column": 2 }, "end": { - "line": 864, + "line": 848, "column": 3 } } @@ -186294,15 +183057,15 @@ "updateContext": null }, "value": "export", - "start": 28430, - "end": 28436, + "start": 27961, + "end": 27967, "loc": { "start": { - "line": 866, + "line": 850, "column": 0 }, "end": { - "line": 866, + "line": 850, "column": 6 } } @@ -186319,15 +183082,15 @@ "postfix": false, "binop": null }, - "start": 28437, - "end": 28438, + "start": 27968, + "end": 27969, "loc": { "start": { - "line": 866, + "line": 850, "column": 7 }, "end": { - "line": 866, + "line": 850, "column": 8 } } @@ -186345,15 +183108,15 @@ "binop": null }, "value": "Wavesurfer", - "start": 28438, - "end": 28448, + "start": 27969, + "end": 27979, "loc": { "start": { - "line": 866, + "line": 850, "column": 8 }, "end": { - "line": 866, + "line": 850, "column": 18 } } @@ -186370,15 +183133,15 @@ "postfix": false, "binop": null }, - "start": 28448, - "end": 28449, + "start": 27979, + "end": 27980, "loc": { "start": { - "line": 866, + "line": 850, "column": 18 }, "end": { - "line": 866, + "line": 850, "column": 19 } } @@ -186396,15 +183159,15 @@ "binop": null, "updateContext": null }, - "start": 28449, - "end": 28450, + "start": 27980, + "end": 27981, "loc": { "start": { - "line": 866, + "line": 850, "column": 19 }, "end": { - "line": 866, + "line": 850, "column": 20 } } @@ -186422,15 +183185,15 @@ "binop": null, "updateContext": null }, - "start": 28450, - "end": 28450, + "start": 27981, + "end": 27981, "loc": { "start": { - "line": 866, + "line": 850, "column": 20 }, "end": { - "line": 866, + "line": 850, "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 f96f6f3..4fd7aac 100644 --- a/docs/api/class/src/js/videojs.wavesurfer.js~Wavesurfer.html +++ b/docs/api/class/src/js/videojs.wavesurfer.js~Wavesurfer.html @@ -296,34 +296,6 @@

Wavesurfer

- - - -
-

- - - - responsiveWave: * -

-
-
- - - -
- - - - - - - - - public - - - @@ -1030,35 +1002,6 @@

Wavesurfer

- - - -
-

- - - - onResizeChange() -

-
-
- - -

Fired when the video.js player is resized.

-
-
- - - - - - - - - private - - - @@ -1666,7 +1609,7 @@

- source + source

@@ -1709,50 +1652,7 @@

- source - -

- - - - - - - - -
-
- - - - - - - - - - - - - - - - - - -
-

- public - - - - - - responsiveWave: * - - - - source + source

@@ -2098,7 +1998,7 @@

- source + source

@@ -2144,7 +2044,7 @@

- source + source

@@ -2188,7 +2088,7 @@

- source + source

@@ -2285,7 +2185,7 @@

- source + source

@@ -2343,7 +2243,7 @@

- source + source

@@ -2401,7 +2301,7 @@

- source + source

@@ -2458,7 +2358,7 @@

- source + source

@@ -2528,7 +2428,7 @@

- source + source

@@ -2598,7 +2498,7 @@

- source + source

@@ -2642,7 +2542,7 @@

- source + source

@@ -2686,7 +2586,7 @@

- source + source

@@ -2747,7 +2647,7 @@

- source + source

@@ -2810,7 +2710,7 @@

- source + source

@@ -2873,7 +2773,7 @@

- source + source

@@ -2960,7 +2860,7 @@

- source + source

@@ -3029,7 +2929,7 @@

- source + source

@@ -3060,50 +2960,6 @@

-

-
-

- private - - - - - - onResizeChange() - - - - source - -

- - - - -

Fired when the video.js player is resized.

-
- - - -
-
- - - - - - - - - - - - - - - - -

@@ -3117,7 +2973,7 @@

- source + source

@@ -3161,7 +3017,7 @@

- source + source

@@ -3205,7 +3061,7 @@

- source + source

@@ -3266,7 +3122,7 @@

- source + source

@@ -3310,7 +3166,7 @@

- source + source

@@ -3371,7 +3227,7 @@

- source + source

@@ -3415,7 +3271,7 @@

- source + source

@@ -3459,7 +3315,7 @@

- source + source

@@ -3533,7 +3389,7 @@

- source + source

@@ -3601,7 +3457,7 @@

- source + source

@@ -3670,7 +3526,7 @@

- source + source

@@ -3731,7 +3587,7 @@

- source + source

diff --git a/docs/api/coverage.json b/docs/api/coverage.json index de83697..fc41ef1 100644 --- a/docs/api/coverage.json +++ b/docs/api/coverage.json @@ -1,7 +1,7 @@ { - "coverage": "60%", - "expectCount": 60, - "actualCount": 36, + "coverage": "60.34%", + "expectCount": 58, + "actualCount": 35, "files": { "src/js/defaults.js": { "expectCount": 1, @@ -32,8 +32,8 @@ ] }, "src/js/videojs.wavesurfer.js": { - "expectCount": 53, - "actualCount": 31, + "expectCount": 51, + "actualCount": 30, "undocumentLines": [ 18, 20, @@ -53,10 +53,9 @@ 157, 159, 160, - 183, - 198, - 199, - 843 + 194, + 195, + 827 ] } } diff --git a/docs/api/file/src/js/videojs.wavesurfer.js.html b/docs/api/file/src/js/videojs.wavesurfer.js.html index 52d7650..00cd771 100644 --- a/docs/api/file/src/js/videojs.wavesurfer.js.html +++ b/docs/api/file/src/js/videojs.wavesurfer.js.html @@ -222,10 +222,6 @@ if (this.player.options_.fluid === true) { // give wave element a classname so it can be styled this.surfer.drawer.wrapper.className = wavesurferClassName; - // listen for window resize events - this.responsiveWave = WaveSurfer.util.debounce( - this.onResizeChange.bind(this), 150); - window.addEventListener(Event.RESIZE, this.responsiveWave); } } @@ -813,18 +809,6 @@ }, 100); } - /** - * Fired when the video.js player is resized. - * - * @private - */ - onResizeChange() { - if (this.surfer !== undefined) { - // redraw waveform - this.redrawWaveform(); - } - } - /** * Redraw waveform. * diff --git a/docs/api/index.json b/docs/api/index.json index 31bad75..1441812 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 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};", + "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 }\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 * 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", @@ -1265,23 +1265,6 @@ }, { "__docId__": 85, - "kind": "member", - "name": "responsiveWave", - "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", - "static": false, - "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#responsiveWave", - "access": "public", - "description": null, - "lineNumber": 183, - "undocument": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 86, "kind": "method", "name": "parseOptions", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1291,7 +1274,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#parseOptions", "access": "private", "description": "Initializes the waveform options.", - "lineNumber": 196, + "lineNumber": 192, "unknown": [ { "tagName": "@returns", @@ -1320,7 +1303,7 @@ } }, { - "__docId__": 87, + "__docId__": 86, "kind": "member", "name": "originalWidth", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1328,7 +1311,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#originalWidth", "access": "public", "description": null, - "lineNumber": 198, + "lineNumber": 194, "undocument": true, "type": { "types": [ @@ -1337,7 +1320,7 @@ } }, { - "__docId__": 88, + "__docId__": 87, "kind": "member", "name": "originalHeight", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1345,7 +1328,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#originalHeight", "access": "public", "description": null, - "lineNumber": 199, + "lineNumber": 195, "undocument": true, "type": { "types": [ @@ -1354,7 +1337,7 @@ } }, { - "__docId__": 90, + "__docId__": 89, "kind": "method", "name": "setupPlaybackEvents", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1364,7 +1347,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#setupPlaybackEvents", "access": "private", "description": "Starts or stops listening to events related to audio-playback.", - "lineNumber": 252, + "lineNumber": 248, "params": [ { "nullable": null, @@ -1380,7 +1363,7 @@ "return": null }, { - "__docId__": 91, + "__docId__": 90, "kind": "method", "name": "load", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1390,7 +1373,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#load", "access": "public", "description": "Start loading waveform data.", - "lineNumber": 276, + "lineNumber": 272, "params": [ { "nullable": null, @@ -1419,7 +1402,7 @@ "return": null }, { - "__docId__": 92, + "__docId__": 91, "kind": "method", "name": "loadPeaks", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1429,7 +1412,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#loadPeaks", "access": "public", "description": "Start loading waveform data.", - "lineNumber": 304, + "lineNumber": 300, "params": [ { "nullable": null, @@ -1458,7 +1441,7 @@ "return": null }, { - "__docId__": 93, + "__docId__": 92, "kind": "method", "name": "play", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1468,12 +1451,12 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#play", "access": "public", "description": "Start/resume playback or microphone.", - "lineNumber": 344, + "lineNumber": 340, "params": [], "return": null }, { - "__docId__": 94, + "__docId__": 93, "kind": "method", "name": "pause", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1483,12 +1466,12 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#pause", "access": "public", "description": "Pauses playback or microphone visualization.", - "lineNumber": 382, + "lineNumber": 378, "params": [], "return": null }, { - "__docId__": 96, + "__docId__": 95, "kind": "method", "name": "dispose", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1498,12 +1481,12 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#dispose", "access": "private", "description": "", - "lineNumber": 411, + "lineNumber": 407, "params": [], "return": null }, { - "__docId__": 97, + "__docId__": 96, "kind": "method", "name": "isDestroyed", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1513,7 +1496,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#isDestroyed", "access": "public", "description": "Indicates whether the plugin is destroyed or not.", - "lineNumber": 429, + "lineNumber": 425, "return": { "nullable": null, "types": [ @@ -1525,7 +1508,7 @@ "params": [] }, { - "__docId__": 98, + "__docId__": 97, "kind": "method", "name": "destroy", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1535,12 +1518,12 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#destroy", "access": "public", "description": "Remove the player and waveform.", - "lineNumber": 436, + "lineNumber": 432, "params": [], "return": null }, { - "__docId__": 99, + "__docId__": 98, "kind": "method", "name": "setVolume", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1550,7 +1533,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#setVolume", "access": "public", "description": "Set the volume level.", - "lineNumber": 445, + "lineNumber": 441, "params": [ { "nullable": null, @@ -1566,7 +1549,7 @@ "return": null }, { - "__docId__": 100, + "__docId__": 99, "kind": "method", "name": "exportImage", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1576,7 +1559,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": 472, + "lineNumber": 468, "params": [ { "nullable": null, @@ -1625,7 +1608,7 @@ } }, { - "__docId__": 101, + "__docId__": 100, "kind": "method", "name": "setAudioOutput", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1635,7 +1618,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#setAudioOutput", "access": "public", "description": "Change the audio output device.", - "lineNumber": 481, + "lineNumber": 477, "params": [ { "nullable": null, @@ -1651,7 +1634,7 @@ "return": null }, { - "__docId__": 102, + "__docId__": 101, "kind": "method", "name": "getCurrentTime", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1661,7 +1644,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": 502, + "lineNumber": 498, "unknown": [ { "tagName": "@returns", @@ -1679,7 +1662,7 @@ "params": [] }, { - "__docId__": 103, + "__docId__": 102, "kind": "method", "name": "setCurrentTime", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1689,7 +1672,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#setCurrentTime", "access": "private", "description": "Updates the player's element displaying the current time.", - "lineNumber": 517, + "lineNumber": 513, "params": [ { "nullable": null, @@ -1715,7 +1698,7 @@ "return": null }, { - "__docId__": 104, + "__docId__": 103, "kind": "method", "name": "getDuration", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1725,7 +1708,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": 553, + "lineNumber": 549, "unknown": [ { "tagName": "@returns", @@ -1743,7 +1726,7 @@ "params": [] }, { - "__docId__": 105, + "__docId__": 104, "kind": "method", "name": "setDuration", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1753,7 +1736,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#setDuration", "access": "private", "description": "Updates the player's element displaying the duration time.", - "lineNumber": 566, + "lineNumber": 562, "params": [ { "nullable": null, @@ -1769,7 +1752,7 @@ "return": null }, { - "__docId__": 106, + "__docId__": 105, "kind": "method", "name": "onWaveReady", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1779,7 +1762,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onWaveReady", "access": "private", "description": "Audio is loaded, decoded and the waveform is drawn.", - "lineNumber": 588, + "lineNumber": 584, "unknown": [ { "tagName": "@fires", @@ -1790,7 +1773,7 @@ "return": null }, { - "__docId__": 110, + "__docId__": 109, "kind": "method", "name": "onWaveFinish", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1800,7 +1783,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onWaveFinish", "access": "private", "description": "Fires when audio playback completed.", - "lineNumber": 635, + "lineNumber": 631, "unknown": [ { "tagName": "@fires", @@ -1811,7 +1794,7 @@ "return": null }, { - "__docId__": 112, + "__docId__": 111, "kind": "method", "name": "onWaveProgress", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1821,7 +1804,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onWaveProgress", "access": "private", "description": "Fires continuously during audio playback.", - "lineNumber": 678, + "lineNumber": 674, "params": [ { "nullable": null, @@ -1837,7 +1820,7 @@ "return": null }, { - "__docId__": 113, + "__docId__": 112, "kind": "method", "name": "onWaveSeek", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1847,12 +1830,12 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onWaveSeek", "access": "private", "description": "Fires during seeking of the waveform.", - "lineNumber": 687, + "lineNumber": 683, "params": [], "return": null }, { - "__docId__": 114, + "__docId__": 113, "kind": "method", "name": "onWaveError", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1862,7 +1845,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onWaveError", "access": "private", "description": "Waveform error.", - "lineNumber": 697, + "lineNumber": 693, "params": [ { "nullable": null, @@ -1878,7 +1861,7 @@ "return": null }, { - "__docId__": 115, + "__docId__": 114, "kind": "method", "name": "onPlayToggle", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1888,12 +1871,12 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onPlayToggle", "access": "private", "description": "Fired when the play toggle is clicked.", - "lineNumber": 714, + "lineNumber": 710, "params": [], "return": null }, { - "__docId__": 116, + "__docId__": 115, "kind": "method", "name": "onVolumeChange", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1903,12 +1886,12 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onVolumeChange", "access": "private", "description": "Fired when the volume in the video.js player changes.", - "lineNumber": 730, + "lineNumber": 726, "params": [], "return": null }, { - "__docId__": 117, + "__docId__": 116, "kind": "method", "name": "onScreenChange", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1918,27 +1901,12 @@ "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": 745, - "params": [], - "return": null - }, - { - "__docId__": 118, - "kind": "method", - "name": "onResizeChange", - "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", - "generator": false, - "async": false, - "static": false, - "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#onResizeChange", - "access": "private", - "description": "Fired when the video.js player is resized.", - "lineNumber": 778, + "lineNumber": 741, "params": [], "return": null }, { - "__docId__": 119, + "__docId__": 117, "kind": "method", "name": "redrawWaveform", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1948,7 +1916,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#redrawWaveform", "access": "private", "description": "Redraw waveform.", - "lineNumber": 792, + "lineNumber": 776, "params": [ { "nullable": null, @@ -1974,7 +1942,7 @@ "return": null }, { - "__docId__": 120, + "__docId__": 118, "kind": "method", "name": "log", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -1984,7 +1952,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#log", "access": "private", "description": "Log message to console (if the debug option is enabled).", - "lineNumber": 831, + "lineNumber": 815, "params": [ { "nullable": null, @@ -2010,7 +1978,7 @@ "return": null }, { - "__docId__": 121, + "__docId__": 119, "kind": "method", "name": "setFormatTime", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -2020,7 +1988,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#setFormatTime", "access": "public", "description": "Replaces the default `formatTime` implementation with a custom implementation.", - "lineNumber": 842, + "lineNumber": 826, "params": [ { "nullable": null, @@ -2036,7 +2004,7 @@ "return": null }, { - "__docId__": 122, + "__docId__": 120, "kind": "member", "name": "_formatTime", "memberof": "src/js/videojs.wavesurfer.js~Wavesurfer", @@ -2044,7 +2012,7 @@ "longname": "src/js/videojs.wavesurfer.js~Wavesurfer#_formatTime", "access": "private", "description": null, - "lineNumber": 843, + "lineNumber": 827, "undocument": true, "type": { "types": [ @@ -2062,7 +2030,7 @@ }, { "kind": "packageJSON", - "content": "{\n \"name\": \"videojs-wavesurfer\",\n \"version\": \"3.6.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.6.0\"\n },\n \"devDependencies\": {\n \"@babel/core\": \"^7.13.8\",\n \"@babel/preset-env\": \"^7.13.9\",\n \"@babel/register\": \"^7.13.8\",\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.1.1\",\n \"css-minimizer-webpack-plugin\": \"^1.2.0\",\n \"date-fns\": \"^2.19.0\",\n \"docsify-cli\": \"^4.4.2\",\n \"esdoc\": \"^1.1.0\",\n \"esdoc-standard-plugin\": \"^1.0.0\",\n \"eslint\": \"^7.21.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\",\n \"mini-css-extract-plugin\": \"^1.3.9\",\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.8\",\n \"sass-loader\": \"^11.0.1\",\n \"style-loader\": \"^2.0.0\",\n \"webpack\": \"^5.24.3\",\n \"webpack-cli\": \"^4.5.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", + "content": "{\n \"name\": \"videojs-wavesurfer\",\n \"version\": \"3.7.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.6.0\"\n },\n \"devDependencies\": {\n \"@babel/core\": \"^7.13.10\",\n \"@babel/preset-env\": \"^7.13.10\",\n \"@babel/register\": \"^7.13.8\",\n \"@chiragrupani/karma-chromium-edge-launcher\": \"^2.1.0\",\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.1.3\",\n \"css-minimizer-webpack-plugin\": \"^1.3.0\",\n \"date-fns\": \"^2.19.0\",\n \"docsify-cli\": \"^4.4.3\",\n \"esdoc\": \"^1.1.0\",\n \"esdoc-standard-plugin\": \"^1.0.0\",\n \"eslint\": \"^7.22.0\",\n \"htmlhint\": \"^0.14.2\",\n \"in-publish\": \"^2.0.1\",\n \"jasmine-core\": \"^3.7.1\",\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\",\n \"mini-css-extract-plugin\": \"^1.3.9\",\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.8\",\n \"sass-loader\": \"^11.0.1\",\n \"style-loader\": \"^2.0.0\",\n \"webpack\": \"^5.27.1\",\n \"webpack-cli\": \"^4.5.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.1\"\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 8dca1ed..137633d 100644 --- a/docs/api/script/search_index.js +++ b/docs/api/script/search_index.js @@ -461,12 +461,6 @@ window.esdocSearchIndex = [ "src/js/videojs.wavesurfer.js~Wavesurfer#onPlayToggle", "method" ], - [ - "src/js/videojs.wavesurfer.js~wavesurfer#onresizechange", - "class/src/js/videojs.wavesurfer.js~Wavesurfer.html#instance-method-onResizeChange", - "src/js/videojs.wavesurfer.js~Wavesurfer#onResizeChange", - "method" - ], [ "src/js/videojs.wavesurfer.js~wavesurfer#onscreenchange", "class/src/js/videojs.wavesurfer.js~Wavesurfer.html#instance-method-onScreenChange", @@ -545,12 +539,6 @@ window.esdocSearchIndex = [ "src/js/videojs.wavesurfer.js~Wavesurfer#redrawWaveform", "method" ], - [ - "src/js/videojs.wavesurfer.js~wavesurfer#responsivewave", - "class/src/js/videojs.wavesurfer.js~Wavesurfer.html#instance-member-responsiveWave", - "src/js/videojs.wavesurfer.js~Wavesurfer#responsiveWave", - "member" - ], [ "src/js/videojs.wavesurfer.js~wavesurfer#setaudiooutput", "class/src/js/videojs.wavesurfer.js~Wavesurfer.html#instance-method-setAudioOutput", diff --git a/docs/api/source.html b/docs/api/source.html index 89c97f4..6241120 100644 --- a/docs/api/source.html +++ b/docs/api/source.html @@ -40,7 +40,7 @@
-

Source 36/60

+

Source 35/58

@@ -77,7 +77,7 @@ - + @@ -96,13 +96,13 @@ - + - - - - + + + +
100 %1/1 1691 byte 502020-05-04 13:42:22 (UTC)2021-03-02 21:40:39 (UTC)
src/js/utils/format-time.js2019-08-05 12:59:58 (UTC)
src/js/videojs.wavesurfer.jssrc/js/videojs.wavesurfer.js Plugin Wavesurfer58 %31/5328450 byte8652021-02-04 20:39:17 (UTC)58 %30/5127981 byte8492021-03-02 21:39:45 (UTC)
diff --git a/package-lock.json b/package-lock.json index b39bbf1..c7ba210 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "videojs-wavesurfer", - "version": "3.6.0", + "version": "3.7.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index f76ca0f..5d391da 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "videojs-wavesurfer", - "version": "3.6.0", + "version": "3.7.0", "description": "video.js plugin that adds a navigable waveform for audio and video files.", "author": "Collab", "license": "MIT",